/* Fundacja Tarcza przed Rakiem — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');

:root{
  --green: #56952f;
  --green-dark: #457726;
  --green-darker: #35591e;
  --gold: #eaac01;
  --gold-dark: #c89400;
  --ink: #262b24;
  --ink-soft: #4b5247;
  --cream: #fbfaf6;
  --white: #ffffff;
  --border-soft: #e3e6dd;

  --font-heading: 'Quicksand', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;

  --container: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --shadow-card: 0 14px 30px -14px rgba(30, 50, 20, 0.28);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--ink);
}

p{ margin: 0 0 1em; }

ul{ margin: 0; padding: 0; list-style: none; }

button{ font-family: inherit; cursor: pointer; }

.icon{ width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.125em; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: 72px 0; }
.section--tight{ padding: 48px 0; }
.section--cream{ background: var(--cream); }
.brand-banner-section{ padding-top: 0; }

.eyebrow{
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--green);
  font-size: 1.15rem;
  margin-bottom: .3em;
}

.section-title{
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}

.section-subtitle{
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--green);
  font-size: 1.25rem;
  margin-bottom: .6em;
}

.lede{
  max-width: 780px;
  color: var(--ink-soft);
}

.center{ text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

.btn--white{
  background: var(--white);
  color: var(--green);
  box-shadow: var(--shadow-card);
}
.btn--white:hover{ background: var(--cream); }

.btn--green{
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn--green:hover{ background: var(--green-dark); }

.btn--outline{
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover{ background: rgba(255,255,255,.15); }

.btn--pill-sm{
  padding: 11px 26px;
  font-size: .92rem;
}

/* ===== Header ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.brand{ display: flex; align-items: center; }
.brand img{ height: 46px; width: auto; }

.main-nav{ display: flex; }
.main-nav ul{ display: flex; align-items: center; gap: 36px; }
.main-nav a{
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  transition: color .15s ease;
}
.main-nav a:hover, .main-nav a.is-active{ color: var(--green); }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  border-radius: 10px;
}
.nav-toggle .icon{ width: 26px; height: 26px; }
.nav-toggle .icon-close{ display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu{ display: none; }
.nav-toggle[aria-expanded="true"] .icon-close{ display: inline-block; }

/* ===== Hero ===== */
.hero{ position: relative; }
.hero-media{
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.hero-panel{
  position: absolute;
  right: 6%;
  bottom: -70px;
  width: min(480px, 90%);
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.hero-panel-top{ padding: 26px 34px 18px; text-align: center; }
.hero-panel-top .eyebrow{ font-size: 1.1rem; margin-bottom: .1em; }
.hero-panel-top h1{
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--green);
  margin-bottom: .25em;
}
.hero-panel-top .tagline{
  font-size: .82rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0;
}
.hero-panel-body{
  background: linear-gradient(180deg, rgba(86,149,47,.88), rgba(69,119,38,.92));
  color: var(--white);
  padding: 22px 34px 30px;
  font-size: .95rem;
  text-align: center;
}
.hero-panel-body p{ margin: 0 0 .6em; }
.hero-panel-body p:last-child{ margin-bottom: 0; }

.hero-spacer{ height: 110px; background: var(--white); }

/* ===== Action band (green) with speech icon art ===== */
.band-green{
  background: var(--green);
  color: var(--white);
  position: relative;
}
.band-green h2, .band-green .section-subtitle{ color: var(--white); }
.band-green .section-subtitle{ opacity: .95; }
.band-green .lede{ color: rgba(255,255,255,.92); }

.band-grid{
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
}
.cta-row{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.cta-arrow{
  width: 74px;
  height: auto;
  flex-shrink: 0;
}
.handshake-badge{
  justify-self: center;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--white);
  border: 10px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}
.handshake-badge .icon{ width: 62%; height: 62%; color: var(--green); }
.handshake-badge img{ width: 68%; height: 68%; object-fit: contain; }

/* ===== Speech bubble banner ===== */
.bubble-banner{
  position: relative;
  background: linear-gradient(160deg, #f3c53a, var(--gold) 55%, var(--gold-dark));
  padding: 90px 0 70px;
}
.bubble-row{
  position: relative;
  display: flex;
  gap: 5%;
  justify-content: center;
  flex-wrap: wrap;
}
.bubble{
  background: var(--white);
  color: var(--green-darker);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  text-align: center;
  padding: 34px 30px 44px;
  border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  width: 300px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.bubble:nth-child(2){ margin-top: 46px; }

/* ===== Testimonial ===== */
.testimonial{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}
.testimonial-photo{
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--green);
  box-shadow: var(--shadow-card);
}
.testimonial-photo img{ width: 100%; height: 100%; object-fit: cover; }
.testimonial-body p{ color: var(--ink-soft); }
.testimonial-signature{ margin-top: 1.4em; }
.testimonial-signature strong{
  display: block;
  font-family: var(--font-heading);
  color: var(--green);
  font-size: 1.05rem;
}
.testimonial-signature span{ color: var(--ink-soft); font-size: .92rem; }

/* ===== Pillars grid ===== */
.pillars-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 32px;
  margin-top: 44px;
}
.pillar{ text-align: center; }
.pillar .icon-wrap{
  width: 78px; height: 78px;
  margin: 0 auto 16px;
  color: var(--green);
}
.pillar .icon-wrap .icon,
.pillar .icon-wrap img{ width: 100%; height: 100%; object-fit: contain; }
.pillar h3{ font-size: 1.2rem; margin-bottom: .3em; }
.pillar p{ color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ===== Decorative backgrounds behind risk-factors + screening ===== */
.risk-band{
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.risk-band::before,
.risk-band::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  background-image: url('../img/bg-side-tile.svg');
  background-repeat: repeat-y;
  background-size: 160px auto;
  pointer-events: none;
}
.risk-band::before{ left: 0; background-position: left top; }
.risk-band::after{ right: 0; background-position: right top; transform: scaleX(-1); }
.risk-band .section{ position: relative; }

.screening-band{
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.screening-band::before{
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; max-width: none;
  aspect-ratio: 1/1;
  transform: translate(-50%,-50%);
  background-image: url('../img/shield-watermark.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .05;
  filter: brightness(0);
  pointer-events: none;
}
.screening-band .section{ position: relative; }

/* ===== Risk factor accordopen-style cards ===== */
.factor-list{
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
}
.factor-card{
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 22px 34px;
  text-align: center;
}
.factor-card--gold{ border-color: var(--gold); }
.factor-card h3{
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: .35em;
}
.factor-card p{ color: var(--ink-soft); margin: 0; font-size: .96rem; }
.factor-card .note{
  margin-top: .6em;
  font-size: .88rem;
  color: var(--ink-soft);
}
.factor-card .note b{ color: var(--green-dark); }

/* ===== Screening checklist ===== */
.screening-list{
  max-width: 820px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.screening-item{
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.screening-item .icon{ width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px; color: var(--green); }
.screening-item img{ width: 26px; height: auto; flex-shrink: 0; margin-top: 2px; }
.screening-item p{ margin: 0; }

.callout-box{
  max-width: 820px;
  margin: 44px auto 0;
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 26px 36px;
  text-align: center;
}
.callout-box h3{ color: var(--green); margin-bottom: .3em; }
.callout-box p{ margin: 0; color: var(--ink-soft); }

/* ===== Knowledge / carousel section ===== */
.knowledge-band{
  background: var(--green);
  color: var(--white);
  padding: 30px 0;
  text-align: center;
}
.knowledge-band h2{ color: var(--white); margin: 0; }

.knowledge-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.carousel{ position: relative; }
.carousel-track{
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: linear-gradient(135deg, #eef3e9, #dfe8d7);
}
.carousel-slide{
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s ease;
  flex-direction: column;
  gap: 10px;
  color: var(--green-dark);
  text-align: center;
  padding: 24px;
}
.carousel-slide.is-active{ opacity: 1; }
.carousel-slide .icon{ width: 64px; height: 64px; opacity: .55; }
.carousel-slide span{ font-family: var(--font-heading); font-weight: 600; }
.carousel-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}
.carousel-nav{
  position: absolute;
  top: 50%;
  left: -22px; right: -22px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.carousel-btn{
  pointer-events: all;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  box-shadow: var(--shadow-card);
  transition: opacity .15s ease, transform .15s ease;
}
.carousel-btn .icon{ width: 18px; height: 18px; }
.carousel-btn:hover{ transform: scale(1.06); }
.carousel-btn[disabled]{ opacity: .35; pointer-events: none; }

.knowledge-copy h3{ font-size: 1.15rem; }
.knowledge-copy .lead-bold{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: .6em;
}
.knowledge-list{ display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.knowledge-list li{ display: flex; align-items: baseline; gap: 10px; }
.knowledge-list li::before{
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* ===== People sections (team / consultants) ===== */
.people-band{
  background: var(--green);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.people-band--watermark::before{
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%,-50%);
  background: url('../img/shield-watermark.png') center/contain no-repeat;
  opacity: .1;
  pointer-events: none;
}
.team-columns{ margin-top: 44px; gap: 28px; align-items: flex-end; }
.people-band .section-inner{ position: relative; }
.people-band h2{ color: var(--white); text-align: center; }
.people-band .intro{
  max-width: 640px;
  margin: 0 auto 8px;
  text-align: center;
  color: rgba(255,255,255,.92);
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 44px;
}
.team-grid .person-card:nth-child(2){ margin-top: -34px; }

.person-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 14px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.person-card .photo{
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/5;
  margin-bottom: 14px;
}
.person-card .photo img{ width: 100%; height: 100%; object-fit: cover; }
.person-card h3{ color: var(--green); font-size: 1.1rem; margin-bottom: .15em; }
.person-card .role{ color: var(--ink-soft); font-size: .88rem; margin-bottom: 16px; }

.people-caption{
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding-top: 8px;
}
.people-caption h3{ color: var(--white); font-size: 1.5rem; }
.people-caption p{ color: rgba(255,255,255,.9); font-size: .92rem; }
.people-caption b{ color: var(--white); }

.section-icon-heading{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 4px;
}
.section-icon-heading .icon{ width: 40px; height: 40px; color: var(--gold); }
.section-icon-heading img{ height: 40px; width: auto; }
.section-icon-heading h2{ margin: 0; }

/* ===== Final CTA ===== */
.final-cta{ text-align: center; }
.final-cta .cta-row{ justify-content: center; margin-top: 30px; }

/* ===== Brand banner (logo + gold message) ===== */
.brand-banner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.brand-banner .logo-block{ text-align: center; }
.brand-banner .logo-block img{ margin: 0 auto; width: 190px; }
.gold-panel{
  background: var(--gold);
  border-radius: 4px;
  padding: 34px 40px;
}
.gold-panel h3{ font-size: 1.4rem; margin-bottom: .2em; }
.gold-panel p{ font-family: var(--font-heading); font-weight: 500; font-size: 1.15rem; margin: 0 0 .15em; color: var(--ink); }
.gold-panel .fine{ font-family: var(--font-body); font-weight: 400; font-size: .85rem; margin-top: .6em; color: var(--ink-soft); }

.social-row{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  justify-content: center;
}
.social-row span{ font-family: var(--font-heading); font-weight: 600; color: var(--green); }
.social-row a{ color: var(--green); width: 40px; height: 40px; display: inline-flex; }
.social-row .icon{ width: 40px; height: 40px; }
.social-row a:hover{ color: var(--green-dark); }
.social-arrow{ width: 64px; height: auto; margin-left: 6px; }

/* ===== Footer / contact ===== */
.site-footer{
  background: var(--green);
  color: var(--white);
  padding: 60px 0 40px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
}
.field{
  width: 100%;
  border: none;
  border-radius: var(--radius-pill);
  padding: 15px 22px;
  background: rgba(255,255,255,.35);
  color: var(--green-darker);
  font-family: var(--font-body);
  font-size: .96rem;
}
.field::placeholder{ color: var(--green-darker); opacity: .85; }
textarea.field{ border-radius: var(--radius-md); resize: vertical; min-height: 130px; }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form{ display: flex; flex-direction: column; }
.form-disclaimer{ font-size: .78rem; color: rgba(255,255,255,.85); margin: 16px 0 0; max-width: 520px; }
.form-submit-row{ margin-top: 18px; }

.org-details h3{ color: var(--white); font-size: 1.15rem; margin-bottom: .6em; }
.org-details p{ margin: 0 0 1.1em; font-size: .92rem; color: rgba(255,255,255,.92); }
.org-details .account{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
}

/* ===== Poznaj Nas page specific ===== */
.page-title{ text-align: center; padding: 56px 0 10px; }

.profile-row{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
  padding: 44px 0;
}
.profile-row.reverse{ grid-template-columns: 1fr 320px; }
.profile-row.reverse .profile-photo{ order: 2; }
.profile-row .profile-photo img{
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.profile-badge{ margin-bottom: 10px; }
.profile-badge .icon{ width: 44px; height: 44px; color: var(--gold); }
.profile-badge img{ height: 48px; width: auto; }
.profile-copy h2{ color: var(--green); margin-bottom: .1em; }
.profile-copy .role{ color: var(--gold-dark); font-family: var(--font-heading); font-weight: 600; margin-bottom: .8em; }
.profile-copy p{ color: var(--ink-soft); }
.profile-icon-side{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.profile-icon-side .icon{ width: 60px; height: 60px; color: var(--gold); }

.consultant-band{ background: var(--green); color: var(--white); }
.consultant-row{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: center;
  padding: 36px 0;
}
.consultant-row .profile-photo img{
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}
.consultant-row h3{ color: var(--white); margin-bottom: .1em; font-size: 1.3rem; }
.consultant-row .role{ color: #ffe28a; font-family: var(--font-heading); font-weight: 600; margin-bottom: .7em; }
.consultant-row p{ color: rgba(255,255,255,.9); }

hr.divider{
  border: none;
  border-top: 1px solid rgba(255,255,255,.25);
  margin: 0;
}
.profile-row + .profile-row{ border-top: 1px solid var(--border-soft); }

/* ===== Responsive ===== */
@media (max-width: 1300px){
  .risk-band::before, .risk-band::after{ width: 90px; opacity: .6; }
}

@media (max-width: 980px){
  .risk-band::before, .risk-band::after{ display: none; }
  .band-grid, .knowledge-grid, .brand-banner{ grid-template-columns: 1fr; }
  .handshake-badge{ margin-top: 20px; }
  .testimonial{ grid-template-columns: 1fr; text-align: center; }
  .testimonial-photo{ width: 220px; margin: 0 auto; }
  .pillars-grid{ grid-template-columns: repeat(2, 1fr); }
  .team-grid{ grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
  .team-grid .person-card:nth-child(2){ margin-top: 0; }
  .footer-grid{ grid-template-columns: 1fr; }
  .profile-row, .profile-row.reverse{ grid-template-columns: 1fr; text-align: center; }
  .profile-row.reverse .profile-photo{ order: 0; }
  .profile-row .profile-photo img{ max-width: 320px; margin: 0 auto; }
  .profile-icon-side{ flex-direction: row; justify-content: center; }
  .consultant-row{ grid-template-columns: 1fr; text-align: center; }
  .consultant-row .profile-photo img{ max-width: 260px; margin: 0 auto; aspect-ratio: 4/5; }
}

@media (max-width: 760px){
  .main-nav{
    position: fixed;
    top: 88px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    transform: translateX(100%);
    transition: transform .25s ease;
    padding: 20px 24px;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav ul{ flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-toggle{ display: flex; }
  .hero-panel{ position: static; width: 100%; margin-top: -60px; }
  .hero-spacer{ height: 40px; }
  .bubble-row{ flex-direction: column; align-items: center; }
  .bubble:nth-child(2){ margin-top: 0; }
  .pillars-grid{ grid-template-columns: 1fr 1fr; }
  .field-row{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .section{ padding: 52px 0; }
  .pillars-grid{ grid-template-columns: 1fr; }
  .cta-row{ justify-content: center; text-align: center; }
  .cta-arrow{ display: none; }
}

/* --- PNG icons (rasterized from the icon set) --- */
/* Icons converted to Image blocks render as <figure class="wp-block-image ...">;
   keep the original wrapper sizing/margins on the figure. */
.icon-wrap.wp-block-image{ margin: 0 auto 16px; }
.profile-badge.wp-block-image{ margin: 0 0 10px; }
.handshake-badge.wp-block-image{ margin: 0; }
.section-icon-heading .wp-block-image{ margin: 0; }
/* Icons kept inline as <img> inside buttons/links. */
.carousel-btn img{ width: 20px; height: 20px; object-fit: contain; }
.social-row a img{ width: 100%; height: 100%; object-fit: contain; }

/* --- Header Site Logo block (replaces the old .brand <a>) --- */
.site-header .wp-block-site-logo{ display: flex; align-items: center; margin: 0; }
.site-header .wp-block-site-logo a{ display: flex; }

/* --- Contact Form 7 in the footer (mirrors the old .contact-form) --- */
.site-footer .wpcf7{ margin: 0; }
.site-footer .wpcf7-form{ display: flex; flex-direction: column; }
.site-footer .wpcf7-form .field-row .wpcf7-form-control-wrap{ display: block; }
.site-footer .wpcf7-spinner{ margin: 0 0 0 12px; }
.site-footer .wpcf7-not-valid-tip{ color: #ffe3e3; font-size: .78rem; margin-top: 6px; }
.site-footer .wpcf7-response-output{ color: #fff; border-color: rgba(255,255,255,.5); margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; }

/* --- Native Button block styles (Tarcza — zielony / biały), mirroring .btn --- */
.wp-block-button.is-style-tarcza-green .wp-block-button__link,
.wp-block-button.is-style-tarcza-white .wp-block-button__link{
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  padding: 16px 34px; border-radius: var(--radius-pill); border: 2px solid transparent;
  box-shadow: var(--shadow-card);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.wp-block-button.is-style-tarcza-green .wp-block-button__link:hover,
.wp-block-button.is-style-tarcza-white .wp-block-button__link:hover{ transform: translateY(-2px); }
.wp-block-button.is-style-tarcza-green .wp-block-button__link{ background: var(--green); color: var(--white); }
.wp-block-button.is-style-tarcza-green .wp-block-button__link:hover{ background: var(--green-dark); }
.wp-block-button.is-style-tarcza-white .wp-block-button__link{ background: var(--white); color: var(--green); }
.wp-block-button.is-style-tarcza-white .wp-block-button__link:hover{ background: var(--cream); }
/* Small pill variant via additional class btn--pill-sm on the button block */
.wp-block-button.btn--pill-sm .wp-block-button__link{ padding: 11px 26px; font-size: .92rem; }
/* Buttons block sitting inside a person card / cta-row */
.person-card .wp-block-buttons{ justify-content: center; }
.cta-row .wp-block-buttons{ margin: 0; }
/* CTA arrows as Image blocks */
.wp-block-image.cta-arrow{ width: 74px; margin: 0; flex-shrink: 0; }
.wp-block-image.cta-arrow img{ width: 100%; height: auto; }
/* Eyebrow on the green band */
.band-green .eyebrow{ color: var(--white); margin-top: 1.6em; }
