/* ============================================================
   Wektor Polska — main.css
   Compiled from SCSS. Do not edit manually — use npm run build:css
   ============================================================ */

/* ── Fonts (Inter self-hosted) ──────────────────────────────────────────── */
/* latin-ext (polskie znaki: ą ę ó ś ź ż ć ń ł) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-ext-400.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-ext-700.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --wp-red:        #e52329;
  --wp-red-dark:   #bd171d;
  --wp-black:      #111111;
  --wp-dark:       #202020;
  --wp-gray:       #666666;
  --wp-light:      #f7f7f6;
  --wp-border:     #dededb;
  --wp-white:      #ffffff;
  --wp-footer-bg:  #141414;

  --wp-container:      1200px;
  --wp-container-wide: 1360px;
  --wp-gutter:         24px;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 8rem;
  --section-padding: clamp(4rem, 8vw, 9rem);

  --font-inter: Inter, Arial, Helvetica, sans-serif;

  --text-sm:      13px;
  --text-body:    17px;
  --text-lead:    clamp(17px, 1.6vw, 20px);
  --text-h3:      clamp(20px, 2vw, 28px);
  --text-h2:      clamp(26px, 2.8vw, 42px);
  --text-h1:      clamp(34px, 4.5vw, 60px);
  --text-hero-h1: clamp(38px, 4.8vw, 66px);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  --header-height: 88px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-height); }

/* Bloki z kotwicą — offset pod sticky header */
[id] { scroll-margin-top: var(--header-height); }

body {
  font-family: var(--font-inter);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--wp-black);
  background: var(--wp-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--wp-red); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Skip link ─────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--wp-red);
  color: var(--wp-white);
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 0; }

/* ── Layout helpers ────────────────────────────────────────────────────── */
.container {
  max-width: var(--wp-container);
  margin-inline: auto;
  padding-inline: var(--wp-gutter);
}
.container-wide {
  max-width: var(--wp-container-wide);
  margin-inline: auto;
  padding-inline: var(--wp-gutter);
}
.section-pad {
  padding-block: var(--section-padding);
}

/* ── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-inter);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--wp-black);
}
h1 { font-size: var(--text-h1); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: var(--text-h2); line-height: 1.1;  letter-spacing: -0.025em; }
h3 { font-size: var(--text-h3); line-height: 1.2;  letter-spacing: -0.015em; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { line-height: 1.65; }
p + p { margin-top: 1em; }

.eyebrow {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp-red);
  margin-bottom: 1rem;
}

.text-lead { font-size: var(--text-lead); line-height: 1.6; color: var(--wp-dark); }
.text-gray  { color: var(--wp-gray); }
.text-red   { color: var(--wp-red); }

/* WP block styles */
.is-style-lead    { font-size: var(--text-lead); line-height: 1.6; color: var(--wp-gray); }
.is-style-eyebrow { font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp-red); }
.is-style-large-heading { font-size: var(--text-h1); font-weight: 700; line-height: 1.05; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 2px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--wp-red); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

.btn__arrow { transition: transform var(--transition-fast); font-style: normal; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--wp-red);
  color: var(--wp-white);
  border-color: var(--wp-red);
}
.btn--primary:hover {
  background: var(--wp-red-dark);
  border-color: var(--wp-red-dark);
  color: var(--wp-white);
}

.btn--secondary {
  background: transparent;
  color: var(--wp-black);
  border-color: var(--wp-red);
}
.btn--secondary:hover {
  background: var(--wp-red);
  color: var(--wp-white);
}

.btn--text {
  background: transparent;
  color: var(--wp-red);
  border-color: transparent;
  padding-inline: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.btn--text:hover { color: var(--wp-red-dark); }

.btn--white {
  background: var(--wp-white);
  color: var(--wp-black);
  border-color: var(--wp-white);
}
.btn--white:hover { background: var(--wp-light); border-color: var(--wp-light); }

/* ── Site Header ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--wp-white);
  border-bottom: 1px solid var(--wp-border);
  transition: box-shadow var(--transition-base);
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.site-header.is-scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.site-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-header__logo { flex-shrink: 0; }
.site-header__logo-img { height: 44px; width: auto; display: block; }
.site-header__logo-text { font-size: 1.0625rem; font-weight: 700; color: var(--wp-black); }
.site-header__divider {
  display: block;
  width: 1px;
  height: 30px;
  background: var(--wp-border);
  margin-inline: 1.25rem;
  flex-shrink: 0;
}
.site-header__tagline {
  font-size: 0.8125rem;
  color: var(--wp-gray);
  line-height: 1.35;
  max-width: 17ch;
  font-weight: 400;
}

/* Primary nav — zajmuje całą wolną przestrzeń, menu wyśrodkowane */
.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu--primary { display: flex; align-items: center; gap: 0; }
.menu--primary .menu__item { position: relative; }
.menu--primary .menu__link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--wp-dark);
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.menu--primary .menu__link:hover,
.menu--primary .menu__item--current .menu__link,
.menu--primary .menu__item.current-menu-item .menu__link,
.menu--primary .menu__item.current-menu-ancestor .menu__link {
  color: var(--wp-red);
}

.site-header__pzpb-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 1.5rem;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--wp-red);
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}
.site-header__pzpb-link:hover { opacity: 0.75; }
.site-header__pzpb-link svg { flex-shrink: 0; }

/* Hamburger */
.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 2px;
}
.burger__bar {
  display: block;
  height: 2px;
  background: var(--wp-black);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), width var(--transition-base);
  transform-origin: center;
}
.site-header__burger[aria-expanded="true"] .burger__bar--1 { transform: translateY(7px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] .burger__bar--2 { opacity: 0; }
.site-header__burger[aria-expanded="true"] .burger__bar--3 { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--wp-white);
  overflow-y: auto;
  padding: 2rem var(--wp-gutter) 3rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
  z-index: 999;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.menu--mobile { display: flex; flex-direction: column; gap: 0; }
.menu--mobile .menu__link {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--wp-black);
  border-bottom: 1px solid var(--wp-border);
  transition: color var(--transition-fast);
}
.menu--mobile .menu__link:hover,
.menu--mobile .menu__item--current .menu__link { color: var(--wp-red); }
.mobile-menu__pzpb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--wp-red);
}

/* ── Site Footer ────────────────────────────────────────────────────────── */
/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--wp-footer-bg);
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
}

/* Pasek główny */
.site-footer__main {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* 5-kolumnowy układ: brand | sep | info | sep | nav | sep | ext */
.site-footer__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-block: 2rem;
  min-height: 88px;
}

/* Pionowe separatory między kolumnami */
.site-footer__sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
  align-self: stretch;
  margin-inline: clamp(1.5rem, 3vw, 3rem);
}

/* Kol. 1 — logo + tagline */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.375rem;
  flex-shrink: 0;
}
.site-footer__logo-link { display: inline-block; }
.site-footer__logo { 
  filter: brightness(0) invert(1);
  opacity: 0.9;
  display: block;
  max-height: 40px;
  width: auto;
}
.site-footer__logo-text {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--wp-white);
  letter-spacing: -0.01em;
}
.site-footer__brand-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
  line-height: 1.4;
}

/* Kol. 2 — opis + email */
.site-footer__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.375rem;
  min-width: 220px;
  max-width: 300px;
}
.site-footer__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.5;
}
.site-footer__email {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
  text-decoration: none;
}
.site-footer__email:hover { color: var(--wp-white); }

/* Kol. 3 — nawigacja (Polityka prywatności) */
.site-footer__nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.footer-nav li { margin: 0; padding: 0; }
.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.footer-nav a:hover { color: var(--wp-white); }

/* Kol. 4+5 — PZPB + LinkedIn */
.site-footer__ext {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.375rem;
  flex-shrink: 0;
  margin-left: auto; /* przesuwa do prawej */
}
.site-footer__ext-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.site-footer__ext-link:hover { color: var(--wp-white); }
.site-footer__ext-link svg { opacity: 0.7; }

/* Pasek dolny: copyright */
.site-footer__bottom { padding-block: 1rem; }
.site-footer__copy {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ── Hero section ───────────────────────────────────────────────────────── */
.wp-block-wektor-wektor-hero,
.section-hero {
  display: grid;
  grid-template-columns: 52fr 48fr;
  min-height: clamp(480px, 60vw, 680px);
  overflow: hidden;
  background: var(--wp-white);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--section-padding);
  padding-left: clamp(var(--wp-gutter), 6vw, 120px);
  padding-right: clamp(2rem, 4vw, 60px);
}
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__title {
  font-size: var(--text-hero-h1);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
  color: var(--wp-black);
}
.hero__title .dot { color: var(--wp-red); }
.hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--wp-gray);
  max-width: 48ch;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--wp-white);
}
.hero__media-img,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.wektor-picture { display: contents; }
.hero__media .wektor-picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── About section ──────────────────────────────────────────────────────── */
.wp-block-wektor-wektor-about,
.section-about {
  padding-block: var(--section-padding);
  background: var(--wp-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 6rem;
  align-items: start;
  max-width: var(--wp-container);
  margin-inline: auto;
  padding-inline: var(--wp-gutter);
}

.about__text { }
.about__title { margin-block: 1rem 1.5rem; }
.about__desc { color: var(--wp-gray); max-width: 48ch; }
.about__cta  { margin-top: 2rem; }

/* 6-column grid: row 1 = col 1-2, 3-4, 5-6; row 2 = col 2-4, 4-6 (centered) */
.about__areas {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
/* Row 1: border-right between cells + border-bottom = horizontal separator */
.about__area--1 { grid-column: 1 / 3; border-right: 1px solid var(--wp-border); border-bottom: 1px solid var(--wp-border); }
.about__area--2 { grid-column: 3 / 5; border-right: 1px solid var(--wp-border); border-bottom: 1px solid var(--wp-border); }
.about__area--3 { grid-column: 5 / 7; border-bottom: 1px solid var(--wp-border); }
/* Row 2: centered, border-right between 04 and 05 */
.about__area--4 { grid-column: 2 / 4; border-right: 1px solid var(--wp-border); }
.about__area--5 { grid-column: 4 / 6; }

.about__area {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2rem 1.5rem;
}

.about__area-num {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--wp-red);
  letter-spacing: 0.12em;
  line-height: 1;
  align-self: flex-start;
  margin-bottom: 1.25rem;
}
.about__area-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  color: var(--wp-red);
  margin-bottom: 1.25rem;
}
.about__area-icon svg,
.about__area-icon img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  stroke-width: 1.25;
  object-fit: contain;
}
.about__area-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--wp-dark);
  line-height: 1.35;
  text-align: center;
  max-width: 100%;
}

/* ── Initiatives section ────────────────────────────────────────────────── */
.wp-block-wektor-wektor-initiatives,
.section-initiatives {
  padding-block: var(--section-padding);
  background: var(--wp-light);
}

.initiatives__grid {
  display: grid;
  grid-template-columns: 38fr 62fr;
  gap: 4rem 6rem;
  align-items: start;
  max-width: var(--wp-container);
  margin-inline: auto;
  padding-inline: var(--wp-gutter);
}

.initiatives__intro { }
.initiatives__title { margin-block: 1rem 1.5rem; }
.initiatives__desc { color: var(--wp-gray); max-width: 42ch; margin-bottom: 2rem; }

.document-card {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem 1rem 1.125rem;
  background: var(--wp-white);
  border: 1.5px solid var(--wp-red);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}
.document-card:hover { background: #fdf2f2; box-shadow: 0 4px 16px rgba(229,35,41,0.1); }
.document-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--wp-red);
}
.document-card__icon svg { width: 36px; height: 36px; }
.document-card__body { display: flex; flex-direction: column; gap: 0; }
.document-card__prefix { font-size: 0.75rem; color: var(--wp-gray); line-height: 1.4; }
.document-card__title { font-size: 0.9375rem; font-weight: 700; color: var(--wp-black); line-height: 1.3; }
.document-card__meta { font-size: var(--text-sm); color: var(--wp-gray); }

.initiatives__list { display: flex; flex-direction: column; }
.initiatives__item { display: block; }
.initiatives__item:first-child .initiatives__item-inner { border-top: 1px solid var(--wp-border); }

.initiatives__item-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--wp-border);
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
a.initiatives__item-inner { cursor: pointer; }
a.initiatives__item-inner:hover .initiatives__label { color: var(--wp-red); }
a.initiatives__item-inner:hover .initiatives__arrow { transform: translateX(6px); }
.initiatives__item--link .initiatives__label { text-decoration: none; }

.initiatives__num {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--wp-red);
  min-width: 2.25rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  line-height: 1;
}
.initiatives__label {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--wp-dark);
  line-height: 1.4;
}
.initiatives__arrow {
  flex-shrink: 0;
  color: var(--wp-red);
  transition: transform var(--transition-fast);
  font-size: 1rem;
  opacity: 0.7;
}

/* ── Manifesto / CTA banner ─────────────────────────────────────────────── */
.wp-block-wektor-wektor-manifesto,
.section-manifesto {
  background: var(--wp-white);   /* białe otoczenie karty */
  padding-block: 1rem 4rem;
  padding-inline: var(--wp-gutter);
}

/* Ciemna karta z zaokrągleniami */
.manifesto__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: var(--wp-container);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(2rem, 5vw, 5rem);
  border-radius: 16px;
  background-color: var(--wp-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Fallback diagonal pattern — widoczny tylko gdy brak grafiki */
.manifesto__inner:not(.manifesto__inner--has-bg)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
}

/* Przyciemniający overlay gdy jest grafika */
.manifesto__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

/* Treść nad overlayem */
.manifesto__text,
.manifesto__cta { position: relative; z-index: 1; }

.manifesto__bg { display: none; }

.manifesto__text { max-width: 40ch; }
.manifesto__title { color: var(--wp-white); font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.manifesto__cta { flex-shrink: 0; }
.manifesto__cta .btn--primary {
  font-size: 1rem;
  padding: 0.875rem 2rem;
  white-space: nowrap;
}

/* ── Join + Contact (połączona sekcja) ─────────────────────────────────────── */
.wp-block-wektor-wektor-join,
.section-join {
  padding-block: var(--section-padding);
  background: var(--wp-light);
  border-top: 1px solid var(--wp-border);
}

/* Zewnętrzny 2-kolumnowy układ: Dołącz | Kontakt */
.join__combined {
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* lewa | separator | prawa */
  gap: 0 0;
  max-width: var(--wp-container);
  margin-inline: auto;
  padding-inline: var(--wp-gutter);
  align-items: start;
}

/* Pionowy separator między join i contact */
.join__sep {
  width: 1px;
  background: var(--wp-border);
  align-self: stretch;
  margin-inline: clamp(2rem, 4vw, 5rem);
}

/* ── Lewa: opcje dołączenia ── */
.join__left {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.join__left > .eyebrow { margin-bottom: 1.75rem; }

/* Rząd opcji: tekst po lewej, karta PDF po prawej */
.join__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: start;
  padding-block: 1.75rem;
}
.join__row:first-of-type { padding-top: 0; }
.join__divider {
  border: none;
  border-top: 1px solid var(--wp-border);
  margin: 0;
}
.join__row-title {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  color: var(--wp-black);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.join__row-desc { font-size: 0.9375rem; color: var(--wp-gray); line-height: 1.55; }
.join__row-doc { flex-shrink: 0; }

/* ── Prawa: kontakt + formularz ── */
.join__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.join__right > .eyebrow { margin-bottom: 1.75rem; }

.join__contact-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: start;
}
.join__contact-title {
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--wp-black);
  margin-bottom: 0;
}

/* ── Founders section ─────────────────────────────────────────────────────── */
.wp-block-wektor-wektor-founders,
.section-founders {
  padding-block: var(--section-padding);
  background: var(--wp-white);
}

.founders__inner {
  max-width: var(--wp-container);
  margin-inline: auto;
  padding-inline: var(--wp-gutter);
}

.founders__header { text-align: left; margin-bottom: 3rem; }
.founders__title { margin-top: 0.75rem; }

.founders__grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
}
.founders__member {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
  min-height: 80px;
  border-right: 1px solid #e0e0e0;
}
.founders__member:last-child {
  border-right: none;
}
.founders__logo {
  max-height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.founders__logo:hover { opacity: 0.8; }
.founders__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--wp-gray);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}
.founders__name:hover { color: var(--wp-dark); }


/* ── Contact section (standalone) ──────────────────────────────────────── */
.wp-block-wektor-wektor-contact,
.section-contact {
  padding-block: var(--section-padding);
  background: var(--wp-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 44fr 56fr;
  gap: 3rem 6rem;
  max-width: var(--wp-container);
  margin-inline: auto;
  padding-inline: var(--wp-gutter);
  align-items: start;
}

.contact__header { margin-bottom: 2rem; }
.contact__title { margin-block: 0.75rem 0; }

.contact__info { display: flex; flex-direction: column; gap: 0.875rem; }
.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--wp-dark);
}
.contact__info-item a { transition: color var(--transition-fast); }
.contact__info-item a:hover { color: var(--wp-red); }
.contact__info-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--wp-red); margin-top: 2px; }
.contact__info-icon svg { width: 20px; height: 20px; }

/* Contact form — selektory obejmują też formularz w bloku join */
.contact__form-wrap,
.join__contact-form { }
.contact__form-wrap .wpcf7,
.contact__form-wrap form,
.join__contact-form .wpcf7,
.join__contact-form form {  }

/* CF7 / Fluent / Gravity form shared reset */
.contact__form-wrap input[type="text"],
.contact__form-wrap input[type="email"],
.contact__form-wrap input[type="tel"],
.contact__form-wrap textarea,
.contact__form-wrap select,
.join__contact-form input[type="text"],
.join__contact-form input[type="email"],
.join__contact-form input[type="tel"],
.join__contact-form textarea,
.join__contact-form select {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-inter);
  color: var(--wp-black);
  background: var(--wp-white);
  border: 1px solid var(--wp-border);
  border-radius: 2px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.contact__form-wrap input:focus,
.contact__form-wrap textarea:focus,
.contact__form-wrap select:focus,
.join__contact-form input:focus,
.join__contact-form textarea:focus,
.join__contact-form select:focus {
  outline: none;
  border-color: var(--wp-red);
  box-shadow: 0 0 0 3px rgba(229,35,41,0.08);
}
.contact__form-wrap textarea,
.join__contact-form textarea { resize: vertical; min-height: 120px; }
.contact__form-wrap label,
.join__contact-form label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--wp-dark); margin-bottom: 0.375rem; }
.contact__form-wrap .form-row,
.contact__form-wrap p,
.join__contact-form .form-row,
.join__contact-form p { margin-bottom: 1rem; }

.contact__form-wrap input[type="submit"],
.contact__form-wrap .wpcf7-submit,
.join__contact-form input[type="submit"],
.join__contact-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--wp-red);
  color: var(--wp-white);
  border: 2px solid var(--wp-red);
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.contact__form-wrap input[type="submit"]:hover,
.contact__form-wrap .wpcf7-submit:hover,
.join__contact-form input[type="submit"]:hover,
.join__contact-form .wpcf7-submit:hover {
  background: var(--wp-red-dark);
  border-color: var(--wp-red-dark);
}

/* ── Page Hero ──────────────────────────────────────────────────────────── */
.wp-block-wektor-wektor-page-hero,
.section-page-hero {
  background: var(--wp-light);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--wp-border);
}
.page-hero__inner {
  max-width: var(--wp-container);
  margin-inline: auto;
  padding-inline: var(--wp-gutter);
}
.page-hero__title { font-size: var(--text-h1); margin-block: 1rem 0; }
.page-hero__desc  { font-size: var(--text-lead); color: var(--wp-gray); margin-top: 1rem; max-width: 60ch; }

/* ── Person / przewodnicząca ────────────────────────────────────────────── */
.wp-block-wektor-wektor-person,
.section-person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-block: 3rem;
  border-top: 1px solid var(--wp-border);
}
.person__photo { width: clamp(120px, 15vw, 180px); aspect-ratio: 1; border-radius: 2px; overflow: hidden; background: var(--wp-light); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__name  { font-size: var(--text-h3); font-weight: 700; margin-bottom: 0.25rem; }
.person__role  { font-size: 0.9375rem; color: var(--wp-red); font-weight: 600; margin-bottom: 1rem; }
.person__bio   { color: var(--wp-gray); max-width: 60ch; }

/* ── Process steps ──────────────────────────────────────────────────────── */
.wp-block-wektor-wektor-process-steps,
.section-process {
  padding-block: var(--section-padding);
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--wp-border);
  border: 1px solid var(--wp-border);
  max-width: var(--wp-container);
  margin-inline: auto;
}
.process__step {
  background: var(--wp-white);
  padding: 2rem 1.5rem;
}
.process__num   { font-size: 2rem; font-weight: 700; color: var(--wp-red); margin-bottom: 0.75rem; }
.process__label { font-size: 0.9375rem; font-weight: 600; color: var(--wp-dark); }

/* ── Post grid (index / archive) ────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
  margin-block: 3rem;
}
.post-card { display: flex; flex-direction: column; }
.post-card__thumb { display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--wp-light); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.post-card:hover .post-card__thumb img { transform: scale(1.03); }
.post-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.5rem 0; }
.post-card__title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; line-height: 1.3; }
.post-card__title a:hover { color: var(--wp-red); }
.post-card__excerpt { color: var(--wp-gray); font-size: 0.9375rem; flex: 1; margin-bottom: 1rem; }
.post-card__date { font-size: var(--text-sm); color: var(--wp-gray); margin-top: auto; }

/* ── Post hero header ───────────────────────────────────────────────────── */
.post-hero {
  background: var(--wp-light);
  border-bottom: 1px solid var(--wp-border);
  padding-block: 3rem 2.5rem;
}
.post-hero__inner { max-width: 800px; }
.post-hero .breadcrumbs { margin-bottom: 1.25rem; }

.post-hero__cat {
  display: inline-block;
  margin-bottom: 1rem;
}

.post-hero__title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-block: 0 1.5rem;
  color: var(--wp-black);
}

.post-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--wp-gray);
}
.post-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.post-hero__meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.post-hero__meta-item a { color: var(--wp-gray); }
.post-hero__meta-item a:hover { color: var(--wp-red); }
.post-hero__meta-sep { color: var(--wp-border); font-size: 1rem; }

/* ── Featured image ─────────────────────────────────────────────────────── */
.post-featured,
.page-featured { padding-block: 2rem; }
.post-featured__figure,
.page-featured__figure {
  border-radius: 8px;
  overflow: hidden;
  max-height: 480px;
  line-height: 0;
}
.post-featured__figure img,
.page-featured__figure img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* ── Post article wrap + content ───────────────────────────────────────── */
.post-wrap { padding-block: 2.5rem 1rem; }
.post-article__content {
  max-width: 72ch;
}

/* ── Page hero header ───────────────────────────────────────────────────── */
.page-hero-header {
  background: var(--wp-light);
  border-bottom: 1px solid var(--wp-border);
  padding-block: 3rem 2.5rem;
}
.page-hero-header__inner { max-width: 800px; }
.page-hero-header .breadcrumbs { margin-bottom: 1.25rem; }
.page-hero-header__title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-block: 0 0;
  color: var(--wp-black);
}
.page-hero-header__desc {
  font-size: var(--text-lead);
  color: var(--wp-gray);
  margin-top: 1rem;
  max-width: 60ch;
}

.page-content--inner { padding-block: 2.5rem; }

/* ── Single post (legacy) ───────────────────────────────────────────────── */
.single-post { padding-block: 3rem; }
.single-post__header { margin-bottom: 2rem; }
.single-post__title { margin-block: 1rem 0.5rem; }
.single-post__meta { font-size: var(--text-sm); color: var(--wp-gray); }
.single-post__thumb { margin-bottom: 3rem; border-radius: 2px; overflow: hidden; }
.single-post__content { max-width: 72ch; }

/* ── Entry content ──────────────────────────────────────────────────────── */
.entry-content > * { max-width: 72ch; }
.entry-content > .alignwide { max-width: var(--wp-container); }
.entry-content > .alignfull { max-width: none; }
.entry-content p     { margin-bottom: 1.25em; color: var(--wp-dark); line-height: 1.75; }
.entry-content h2    { margin-top: 2.5em; margin-bottom: 0.75em; }
.entry-content h3    { margin-top: 2em; margin-bottom: 0.5em; }
.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol,
.post-article__content ul,
.post-article__content ol { margin-left: 1.75rem; margin-bottom: 1.25em; }

.entry-content ul,
.page-content ul,
.post-article__content ul { list-style: disc; }

.entry-content ul ul,
.page-content ul ul,
.post-article__content ul ul { list-style: circle; margin-bottom: 0; }

.entry-content ol,
.page-content ol,
.post-article__content ol { list-style: decimal; }

.entry-content ol ol,
.page-content ol ol,
.post-article__content ol ol { list-style: lower-alpha; margin-bottom: 0; }

.entry-content li,
.page-content li,
.post-article__content li { margin-bottom: 0.4em; line-height: 1.65; }
.entry-content a     { color: var(--wp-red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--wp-red-dark); }
.entry-content img   { border-radius: 6px; max-width: 100%; height: auto; }
.entry-content figure { margin-block: 2rem; }
.entry-content figcaption { font-size: var(--text-sm); color: var(--wp-gray); margin-top: 0.75rem; text-align: center; }
.entry-content blockquote {
  border-left: 3px solid var(--wp-red);
  padding: 1.25rem 1.75rem;
  margin-block: 2rem;
  background: var(--wp-light);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--wp-dark);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr {
  border: none;
  border-top: 1px solid var(--wp-border);
  margin-block: 2.5rem;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin-block: 1.5rem;
}
.entry-content th,
.entry-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--wp-border);
  text-align: left;
}
.entry-content th { background: var(--wp-light); font-weight: 600; }

/* ── Post tags ──────────────────────────────────────────────────────────── */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--wp-border);
  max-width: 72ch;
}
.post-tag {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--wp-border);
  border-radius: 100px;
  color: var(--wp-gray);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.post-tag:hover { border-color: var(--wp-red); color: var(--wp-red); }

/* ── Share ──────────────────────────────────────────────────────────────── */
.post-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 72ch;
}
.post-share__label { font-size: 0.875rem; font-weight: 600; color: var(--wp-dark); }
.post-share__links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.post-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid var(--wp-border);
  background: transparent;
  color: var(--wp-dark);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.post-share__btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.post-share__btn:hover { border-color: var(--wp-dark); }
.post-share__btn--linkedin:hover { border-color: #0a66c2; color: #0a66c2; }
.post-share__btn--x:hover       { border-color: #000;    color: #000; }

/* ── Post nav prev/next ─────────────────────────────────────────────────── */
.post-nav {
  padding-block: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--wp-border);
}
.post-nav__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  transition: border-color var(--transition-fast);
}
.post-nav__item:hover { border-color: var(--wp-red); }
.post-nav__item--next { text-align: right; }
.post-nav__dir {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wp-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-nav__item--next .post-nav__dir { justify-content: flex-end; }
.post-nav__dir svg { width: 14px; height: 14px; flex-shrink: 0; }
.post-nav__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--wp-dark);
  line-height: 1.35;
}
.post-nav__item:hover .post-nav__title { color: var(--wp-red); }

/* ── Related posts ──────────────────────────────────────────────────────── */
.related-posts {
  padding-block: 3rem;
  margin-top: 2rem;
  border-top: 1px solid var(--wp-border);
}
.related-posts__heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

/* ── 404 / Error ────────────────────────────────────────────────────────── */
.error-404 { padding-block: 8rem 6rem; text-align: center; }
.error-404__title { margin-bottom: 1rem; }
.error-404__desc  { color: var(--wp-gray); max-width: 42ch; margin: 0 auto 2.5rem; }

/* ── Archive header ─────────────────────────────────────────────────────── */
.archive-header { padding-block: 3rem 1rem; }
.archive-header__title { margin-bottom: 0.5rem; }
.archive-header__desc { color: var(--wp-gray); max-width: 60ch; }

/* ── Pagination ─────────────────────────────────────────────────────────── */
.pagination { margin-block: 2rem; }
.pagination__list { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pagination__item a,
.pagination__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 0.75rem;
  border: 1px solid var(--wp-border);
  border-radius: 2px;
  font-size: 0.9375rem;
  color: var(--wp-dark);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.pagination__item a:hover { border-color: var(--wp-red); color: var(--wp-red); }
.pagination__item .current { background: var(--wp-red); border-color: var(--wp-red); color: var(--wp-white); }

/* ── Breadcrumbs ────────────────────────────────────────────────────────── */
.breadcrumbs { margin-bottom: 1.5rem; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; align-items: center; }
.breadcrumbs__item { font-size: var(--text-sm); color: var(--wp-gray); }
.breadcrumbs__item a { color: var(--wp-gray); transition: color var(--transition-fast); }
.breadcrumbs__item a:hover { color: var(--wp-red); }
.breadcrumbs__item + .breadcrumbs__item::before { content: '/'; margin-right: 0.5rem; color: var(--wp-border); }
.breadcrumbs__item--current { color: var(--wp-dark); }

/* ── Fade in animation ──────────────────────────────────────────────────── */
/* Domyślnie widoczne — animacja aktywuje się tylko gdy JS doda .js-enabled do <body> */
.js-enabled .fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.js-enabled .fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ── WP picture helper ──────────────────────────────────────────────────── */
.wektor-picture { display: block; }
.wektor-picture img { display: block; width: 100%; height: auto; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  /* Header: hide nav, show burger */
  .site-nav { display: none; }
  .site-header__pzpb-link { display: none; }
  .site-header__divider, .site-header__tagline { display: none; }
  .site-header__burger { display: flex; margin-left: auto; }
  :root { --header-height: 72px; }

  /* Footer */
  /* Footer: wrap na tablecie */
  .site-footer__inner { flex-wrap: wrap; gap: 1.5rem 0; padding-block: 2rem; }
  .site-footer__sep { display: none; }
  .site-footer__brand { width: 100%; }
  .site-footer__info, .site-footer__nav, .site-footer__ext { margin-left: 0; }
  .site-footer__ext { flex-direction: row; gap: 1.5rem; }

  /* Hero: stack */
  .wp-block-wektor-wektor-hero,
  .section-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__content { order: 1; padding: 3rem var(--wp-gutter); }
  .hero__media   { display: none; }

  /* About */
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  /* About areas: tablet = 3-column grid (5 items w 3 kolumnach) */
  .about__areas { grid-template-columns: repeat(3, 1fr); }
  .about__area--1 { grid-column: 1/2; border-right: 1px solid var(--wp-border); border-bottom: 1px solid var(--wp-border); }
  .about__area--2 { grid-column: 2/3; border-right: 1px solid var(--wp-border); border-bottom: 1px solid var(--wp-border); }
  .about__area--3 { grid-column: 3/4; border-bottom: 1px solid var(--wp-border); }
  .about__area--4 { grid-column: 1/2; border-right: 1px solid var(--wp-border); }
  .about__area--5 { grid-column: 2/3; }

  /* Initiatives */
  .initiatives__grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Manifesto */
  .manifesto__inner { flex-direction: column; align-items: flex-start; gap: 2rem; padding: 2rem 1.75rem; border-radius: 12px; }

  /* Join */
  /* Join + Contact: stack vertically on tablet */
  .join__combined { grid-template-columns: 1fr; }
  .join__sep { display: none; }
  .join__contact-cols { grid-template-columns: 1fr; gap: 2rem; }
  .join__row { grid-template-columns: 1fr; }

  /* Contact standalone */
  .contact__grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Process */
  .process__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --section-padding: 4rem; }

  /* About areas: 1 col on mobile */
  .about__areas { grid-template-columns: 1fr; }
  .about__area--1, .about__area--2, .about__area--3,
  .about__area--4, .about__area--5 {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: 1px solid var(--wp-border);
    padding: 1.5rem 0;
  }
  .about__area--5 { border-bottom: none; }

  /* Founders: 3 per row on mobile */
  .founders__grid { flex-wrap: wrap; }
  .founders__member { flex: 0 0 33.333%; padding: 1rem 0; border-right: none; border-bottom: 1px solid #e0e0e0; }
  .founders__member:nth-child(3n+1),
  .founders__member:nth-child(3n+2) { border-right: 1px solid #e0e0e0; }
  .founders__member:nth-last-child(1),
  .founders__member:nth-last-child(2),
  .founders__member:nth-last-child(3) { border-bottom: none; }

  /* Process: 1 col */
  .process__grid { grid-template-columns: 1fr; }

  /* Person */
  .wp-block-wektor-wektor-person,
  .section-person { grid-template-columns: 1fr; }

  /* Hero actions: stack */
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn--secondary, .btn--primary { width: auto; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet founders: keep vertical lines, smaller padding */
  .founders__member { padding: 1rem 2rem; }
  /* Initiatives tablet */
  .initiatives__item { padding: 1.25rem 0; }
}

/* ── Single / Page — responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .post-hero,
  .page-hero-header { padding-block: 2rem 1.75rem; }

  .post-hero__title,
  .page-hero-header__title { font-size: clamp(24px, 6vw, 34px); }

  .post-featured__figure img,
  .page-featured__figure img { height: 240px; }

  .post-nav__inner { grid-template-columns: 1fr; }
  .post-nav__item--next { text-align: left; }
  .post-nav__item--next .post-nav__dir { justify-content: flex-start; }

  .post-share { flex-direction: column; align-items: flex-start; }
}
