/* ============================================================
   #TacySami — Szablon strony WordPress-ready CSS
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* —— RESET & BASE ————————————————————————————————————————— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:   #111820;
  --navy2:  #161c24;
  --navy3:  #0e1218;
  --navy4:  #0a0e13;
  --cream:  #FCFBF8;
  --ink:    #1B2A4A;
  --rainbow: linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787);
  --font-head: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--navy4);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: #fff!important; }

/* —— HELPERS ————————————————————————————————————————————— */
.label-mono {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
}
.section-eyebrow .label-mono { color: rgba(248,246,241,0.28); white-space: nowrap; }
.section-eyebrow .line { flex: 1; height: 1px; background: rgba(248,246,241,0.07); }
.section-eyebrow--light .label-mono { color: rgba(27,42,74,0.4); }
.section-eyebrow--light .line { background: rgba(27,42,74,0.1); }
.rainbow-hash {
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  z-index: 0;
}
.grain > * { position: relative; z-index: 1; }

/* —— FIXED MAIN NAV ———————————————————————————————— */
:root {
  --site-nav-height: 88px;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--site-nav-height);
  background: rgba(10, 14, 19, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(248,246,241,0.08);
}

.site-nav__inner {
  height: 100%;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Logo #TacySami — spójne z hero */
.site-nav__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  white-space: nowrap;
}

.site-nav__logo:hover {
  color: var(--cream);
}

.site-nav__logo-hash {
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 2px;
}

.site-nav__logo-text {
  color: var(--cream);
}

/* Menu główne */
.site-nav__menu-wrap {
  display: flex;
  align-items: center;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__menu .menu-item {
  position: relative;
  margin: 0;
  padding: 0;
}

.site-nav__menu .menu-item a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.52);
  transition: color 0.2s ease;
}

.site-nav__menu .menu-item a:hover,
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current_page_item > a {
  color: var(--cream);
}

/* Dropdown, jeśli menu ma podpozycje */
.site-nav__menu .sub-menu {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  min-width: 220px;
  padding: 14px 0;
  list-style: none;
  background: rgba(10, 14, 19, 0.98);
  border: 1px solid rgba(248,246,241,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-nav__menu .menu-item:hover > .sub-menu,
.site-nav__menu .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__menu .sub-menu a {
  display: block;
  padding: 10px 18px;
  white-space: nowrap;
}

/* Pasek admina WordPressa */
.admin-bar .site-nav {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-nav {
    top: 46px;
  }
}

/* —— HERO ———————————————————————————————————————————————— */
/* Pełnoekranowy hero — tekst jako overlay na zdjęciu */
.hero {
  position: relative;
  height: calc(90svh - var(--global-nav-height));
  min-height: calc(90svh - var(--global-nav-height));
  max-height: none;
  background: var(--navy);
  overflow: hidden;
}

/* Zdjęcie — pełne tło */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo-placeholder {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      to right,
      rgba(17,24,32,0.92) 0%,
      rgba(17,24,32,0.75) 30%,
      rgba(17,24,32,0.35) 65%,
      rgba(17,24,32,0.15) 100%
    ),
    var(--hero-image);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero__photo-fade-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17,24,32,0.5) 0%, transparent 40%);
  pointer-events: none;
}
.hero__photo-scrim {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 280px;
  background: linear-gradient(to top, rgba(17,24,32,0.88) 0%, transparent 100%);
  pointer-events: none;
}

/* Tekst — overlay po lewej */
.hero__text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 56px;
  max-width: 680px;
}
.hero__nav-top { padding-top: 34px; }
.hero__bottom { padding-bottom: 52px; }

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.28);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-head);
  font-size: 136px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-bottom: 26px;
  white-space: nowrap;
}
.hero__tagline {
  font-size: 30px;
  font-weight: 400;
  color: rgba(248,246,241,0.75);
  line-height: 1.65;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero__links-nav {
  margin-bottom: 24px;
}

.hero__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__links .menu-item {
  margin: 0;
  padding: 0;
}

.hero__links .menu-item a {
  font-size: 16px;
  font-weight: 400;
  color: rgba(248,246,241,0.5);
  transition: color 0.2s ease;
}

.hero__links .menu-item a:hover,
.hero__links .current-menu-item > a,
.hero__links .current_page_item > a {
  color: rgba(248,246,241,0.9);
}

.hero__scroll { display: flex; align-items: center; gap: 14px; }
.hero__scroll-line { width: 24px; height: 1px; background: rgba(248,246,241,0.18); }
.hero__scroll-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.22);
}

/* Podpis — prawy dolny róg */
.hero__caption {
  position: absolute;
  bottom: 36px; right: 40px;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 16px;
}
.hero__caption-quote {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}
.hero__caption-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.38);
}
.hero__caption-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.18);
  writing-mode: vertical-rl;
}

/* —— MANIFEST ———————————————————————————————————————————— */
.manifest {
  background: var(--cream);
  color: var(--ink);
  padding: 80px 120px 96px;
}
.manifest .section-eyebrow { margin-bottom: 56px; }
.manifest__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
}
.manifest__text p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.82;
  color: #2a2a2a;
  margin-bottom: 1.4em;
  text-wrap: pretty;
}
.manifest__text p:first-of-type::first-letter {
  font-family: var(--font-head);
  font-size: 5.2em;
  font-weight: 700;
  line-height: 0.78;
  float: left;
  margin-right: 0.08em;
  margin-top: 0.06em;
  color: var(--ink);
}
.manifest__pullquote {
  border-left: 2.5px solid var(--ink);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}
.manifest__signature {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(27,42,74,0.12);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(27,42,74,0.45);
  text-transform: uppercase;
}
.manifest__bottom-accent {
  height: 1px;
  margin: 0 120px;
  background: rgba(27,42,74,0.1);
  position: relative;
}
.manifest__bottom-accent::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 120px; height: 1px;
  background: var(--rainbow);
}

/* —— GALLERY ————————————————————————————————————————————— */
.gallery {
  background: var(--navy3);
  padding: 80px 80px 96px;
}
.gallery .section-eyebrow .eyebrow-count {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: rgba(248,246,241,0.25);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__col:nth-child(2) { margin-top: 48px; }
.portrait-card {
  background: #1a1e24;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  cursor: pointer;
}
.portrait-card:last-child { margin-bottom: 0; }
.portrait-card__placeholder {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 20px
  );
}
.portrait-card__silhouette {
  position: absolute;
  top: 35%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
}
.portrait-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 50px 24px 20px;
  background: linear-gradient(to top, rgba(17,24,32,0.97) 0%, rgba(17,24,32,0.6) 60%, transparent 100%);
}
.portrait-card__role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.4);
  margin-bottom: 6px;
}
.portrait-card__name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}
.portrait-card__quote {
  font-size: 14px;
  font-weight: 400;
  color: rgba(248,246,241,0.55);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 14px;
}
.portrait-card__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.35);
  display: flex;
  align-items: center;
  gap: 8px;
}
.portrait-card__link:hover { color: rgba(248,246,241,0.7); transition: color 0.2s; }
.portrait-card:hover .portrait-card__overlay {
  background: linear-gradient(to top, rgba(17,24,32,0.99) 0%, rgba(17,24,32,0.75) 60%, transparent 100%);
  transition: background 0.3s;
}

/* —— FEATURED INTERVIEW ————————————————————————————————— */
.interview {
  background: var(--cream);
  color: var(--ink);
  padding: 88px 120px 96px;
}
.interview .section-eyebrow .label-mono { color: rgba(27,42,74,0.4); }
.interview .section-eyebrow .line { background: rgba(27,42,74,0.1); }
.interview .section-eyebrow .eyebrow-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.35);
}
.interview .section-eyebrow .eyebrow-link:hover { color: var(--ink); transition: color 0.2s; }
.interview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.interview__photo {
  background: #1e2530;
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.interview__photo-placeholder {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 22px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.1;
}
.interview__photo-scrim {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to top, rgba(17,24,32,0.95) 0%, transparent 100%);
}
.interview__photo-caption {
  position: absolute;
  bottom: 28px; left: 32px;
}
.interview__photo-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.35);
  margin-bottom: 6px;
}
.interview__photo-name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  color: var(--cream);
}
.interview__content {
  background: #FCFBF8;
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.interview__title {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 28px;
}
.interview__body {
  font-size: 16px;
  font-weight: 400;
  color: rgba(27,42,74,1);
  line-height: 1.8;
  margin-bottom: 20px;
}
.interview__pullquote {
  border-left: 2px solid rgba(27,42,74,0.2);
  padding-left: 20px;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  color: rgba(27,42,74,1);
  line-height: 1.7;
}
.interview__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(27,42,74,0.25);
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.6)!important;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-light:hover { border-color: var(--ink); color: var(--ink); }
.interview__read-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.3);
}

/* —— PILLARS ————————————————————————————————————————————— */
.pillars {
  background: var(--cream);
  color: var(--ink);
  padding: 88px 120px 96px;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.pillar-card {
  border: 1px solid rgba(27,42,74,0.12);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  border-left: none;
}
.pillar-card:first-child { border-left: 1px solid rgba(27,42,74,0.12); }
.pillar-card__num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: rgba(27,42,74,0.3);
  margin-bottom: 28px;
}
.pillar-card__title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
  color: #111820;
  margin-bottom: 14px;
  line-height: 1.2;
}
.pillar-card__body {
  font-size: 16px;
  font-weight: 400;
  color: rgba(27,42,74,1);
  line-height: 1.75;
  flex: 1;
}
.pillar-card__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.45);
  cursor: pointer;
  transition: color 0.2s;
}
.pillar-card__cta:hover { color: var(--ink); }

/* —— CTA / JOIN ————————————————————————————————————————— */
.join {
  background: var(--navy);
  color: var(--cream);
  padding: 96px 120px 104px;
}
.join .section-eyebrow .label-mono { color: rgba(248,246,241,0.28); }
.join .section-eyebrow .line { background: rgba(248,246,241,0.07); }
.join__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.join__title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.join__body {
  font-size: 18px;
  font-weight: 400;
  color: rgba(248,246,241,0.55);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 420px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111820;
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  border: none;
}
.btn-primary::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rainbow);
}
.btn-primary:hover { background: #1e2733; }
.join__form-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(248,246,241,0.3);
  margin-top: 12px;
}
.join__how {
  border-left: 1px solid rgba(248,246,241,0.1);
  padding-left: 64px;
}
.join__how-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.35);
  margin-bottom: 32px;
}
.join__step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}
.join__step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(248,246,241,0.25);
  flex-shrink: 0;
  padding-top: 2px;
}
.join__step-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}
.join__step-body {
  font-size: 16px;
  font-weight: 400;
  color: rgba(248,246,241,1);
  line-height: 1.7;
}

/* —— FOOTER ————————————————————————————————————————————— */
.site-footer { background: var(--navy4); }
.footer__rainbow { height: 1px; background: var(--rainbow); }
.footer__main {
  padding: 52px 120px 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}
.footer__brand-tagline {
  font-size: 14px;
  font-weight: 400;
  color: rgba(248,246,241,0.35);
  line-height: 1.6;
  max-width: 280px;
}
.footer__nav {
  display: flex;
  gap: 40px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(248,246,241,0.35);
  align-items: flex-start;
  padding-top: 6px;
}
.footer__nav a:hover { color: rgba(248,246,241,0.7); transition: color 0.2s; }
.footer__social { display: flex; gap: 12px; }
.footer__social-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(248,246,241,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(248,246,241,0.3);
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.footer__social-icon:hover { border-color: rgba(248,246,241,0.4); color: rgba(248,246,241,0.6); }
.footer__bottom {
  border-top: 1px solid rgba(248,246,241,0.06);
  padding: 16px 120px;
  display: flex;
  justify-content: space-between;
}
.footer__bottom span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(248,246,241,0.18);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Bootstrap 5 breakpoints
   xl  < 1200px
   lg  < 992px
   md  < 768px
   sm  < 576px
══════════════════════════════════════════════════════════ */

/* —— XL (do 1200px) ——————————————————————————————————— */
@media (max-width: 1199px) {
  .hero__title { font-size: 100px; }
  .hero__text { padding: 0 40px; max-width: 580px; }

  .manifest { padding: 72px 80px 88px; }
  .manifest__bottom-accent { margin: 0 80px; }
  .interview { padding: 72px 80px 88px; }
  .pillars { padding: 72px 80px 88px; }
  .join { padding: 80px 80px 96px; }
  .footer__main { padding: 52px 80px 44px; }
  .footer__bottom { padding: 16px 80px; }
}

/* —— LG (do 992px) ———————————————————————————————————— */
@media (max-width: 991px) {

  /* HERO — tekst dalej na zdjęciu, ale mniejszy */
  .hero { height: 80vh; min-height: 560px; }
  .hero__text { padding: 0 40px; max-width: 100%; }
  .hero__title { font-size: 80px; white-space: normal; }
  .hero__tagline { font-size: 19px; }
  .hero__photo-placeholder {
    background-image:
      linear-gradient(
        to bottom,
        rgba(17,24,32,0.55) 0%,
        rgba(17,24,32,0.3) 40%,
        rgba(17,24,32,0.7) 100%
      ),
      linear-gradient(
        to right,
        rgba(17,24,32,0.7) 0%,
        rgba(17,24,32,0.2) 60%,
        rgba(17,24,32,0.1) 100%
      ),
      url("http://srv42257.seohost.com.pl/tacysami/wp-content/uploads/2026/04/hero-image-scaled.jpeg");
    background-blend-mode: normal;
  }

  /* MANIFEST */
  .manifest { padding: 64px 40px 80px; }
  .manifest__grid { grid-template-columns: 1fr; gap: 0; }
  .manifest__bottom-accent { margin: 0 40px; }

  /* GALLERY */
  .gallery { padding: 64px 40px 80px; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__col:nth-child(3) { display: none; }
  .gallery__col:nth-child(2) { margin-top: 32px; }

  /* INTERVIEW */
  .interview { padding: 64px 40px 80px; }
  .interview__grid { grid-template-columns: 1fr; }
  .interview__photo { min-height: 320px; }

  /* PILLARS */
  .pillars { padding: 64px 40px 80px; }
  .pillars__grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .pillar-card:nth-child(1) { border-left: 1px solid rgba(27,42,74,0.12); }
  .pillar-card:nth-child(2) { border-left: none; }
  .pillar-card:nth-child(3) { border-left: 1px solid rgba(27,42,74,0.12); border-top: none; }
  .pillar-card:nth-child(4) { border-left: none; border-top: none; }

  /* JOIN */
  .join { padding: 64px 40px 80px; }
  .join__grid { grid-template-columns: 1fr; gap: 48px; }
  .join__how {
    border-left: none;
    border-top: 1px solid rgba(248,246,241,0.1);
    padding-left: 0;
    padding-top: 48px;
  }
  .join__title { font-size: 40px; }

  /* FOOTER */
  .footer__main { padding: 48px 40px 40px; flex-direction: column; gap: 40px; }
  .footer__nav { flex-wrap: wrap; gap: 20px 32px; }
  .footer__bottom { padding: 16px 40px; flex-direction: column; gap: 8px; }
}

/* —— MD (do 768px) ———————————————————————————————————— */
@media (max-width: 767px) {

  /* HERO */
  .site-nav { padding: 20px 24px; }
  .hero { height: 60vh; min-height: 520px; }
  .hero__text { padding: 0 24px; }
  .hero__bottom { padding-bottom: 40px; }
  .hero__title { font-size: 62px; }
  .hero__tagline { font-size: 16px; margin-bottom: 28px; }
  
	.hero__links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .hero__links .menu-item a {
    font-size: 14px;
  }
}
	
  /* Podpis ukryty na mobile */
  .hero__caption { display: none; }

  /* MANIFEST */
  .manifest { padding: 56px 24px 64px; }
  .manifest__text p { font-size: 16px; }
  .manifest__text p:first-of-type::first-letter { font-size: 4em; }
  .manifest__pullquote { font-size: 18px; }
  .manifest__bottom-accent { margin: 0 24px; }
  .section-eyebrow { margin-bottom: 36px; }

  /* GALLERY */
  .gallery { padding: 56px 24px 64px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__col:nth-child(2) { margin-top: 0; }
  .gallery__col:nth-child(3) { display: block; }

  /* INTERVIEW */
  .interview { padding: 56px 24px 64px; }
  .interview__content { padding: 32px 24px; }
  .interview__title { font-size: 24px; }

  /* PILLARS */
  .pillars { padding: 56px 24px 64px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar-card { border-left: 1px solid rgba(27,42,74,0.12) !important; border-top: none; }
  .pillar-card:first-child { border-top: 1px solid rgba(27,42,74,0.12); }

  /* JOIN */
  .join { padding: 56px 24px 64px; }
  .join__title { font-size: 34px; }
  .join__body { font-size: 16px; max-width: 100%; }

  /* FOOTER */
  .footer__main { padding: 40px 24px 32px; }
  .footer__bottom { padding: 14px 24px; }
  .footer__nav { gap: 14px 24px; font-size: 14px; }
}

/* —— SM (do 576px) ———————————————————————————————————— */
@media (max-width: 575px) {
  .hero__title { font-size: 48px; }
  .hero__tagline { font-size: 16px; }
  .hero__scroll { display: none; }

  .join__title { font-size: 28px; }
  .btn-primary { width: 100%; justify-content: center; }

  .interview__footer { flex-direction: column; align-items: flex-start; gap: 12px; }

  .footer__nav { flex-direction: column; gap: 12px; }
  .footer__social { margin-top: 8px; }
}

.top-bar {
  background-color: var(--navy2);
  padding: 10px 24px;
	position: fixed;
  top: 0;
  left: 0;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar__logo {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  display: flex;
  align-items: center;
}

.top-bar__hash {
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 8px;
}

.top-bar__menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.top-bar__menu-list a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.7);
  transition: color 0.2s;
}

.top-bar__menu-list a:hover {
  color: var(--cream);
}

@media (max-width: 991px) {
  :root {
    --site-nav-height: 78px;
  }

  .site-nav__inner {
    padding: 0 40px;
    gap: 28px;
  }

  .site-nav__logo {
    font-size: 24px;
  }

  .site-nav__menu {
    gap: 22px;
  }
}

@media (max-width: 767px) {
  :root {
    --site-nav-height: auto;
  }

  .site-nav {
    min-height: 76px;
    height: auto;
  }

  .site-nav__inner {
    padding: 18px 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-nav__logo {
    font-size: 24px;
  }

  .site-nav__menu {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 20px;
  }

  .site-nav__menu .menu-item a {
    font-size: 11px;
  }

  .site-nav__menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    padding: 8px 0 0;
  }

  .site-nav__menu .sub-menu a {
    padding: 6px 0;
  }
}

/* ============================================================
   GLOBAL NAV — HEADER.PHP
============================================================ */

:root {
  --global-nav-height: 74px;
}

body {
  padding-top: var(--global-nav-height);
}

.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  height: var(--global-nav-height);
  background: #0a0e13;
  border-bottom: 1px solid rgba(248,246,241,0.08);
}

.global-nav__inner {
  height: 100%;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.global-nav__logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--cream);
  white-space: nowrap;
  text-decoration: none;
}

.global-nav__logo:hover {
  color: var(--cream);
}

.global-nav__logo-hash {
  margin-right: 2px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.global-nav__logo-text {
  color: var(--cream);
}

.global-nav__menu-wrap {
  display: flex;
  align-items: center;
}

.global-nav__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav__menu .menu-item {
  margin: 0;
  padding: 0;
}

.global-nav__menu .menu-item a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.62);
  text-decoration: none;
  transition: color 0.2s ease;
}

.global-nav__menu .menu-item a:hover,
.global-nav__menu .current-menu-item > a,
.global-nav__menu .current_page_item > a {
  color: var(--cream);
}

.admin-bar .global-nav {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .global-nav {
    top: 46px;
  }
}

@media (max-width: 767px) {
  :root {
    --global-nav-height: 112px;
  }

  .global-nav {
    height: var(--global-nav-height);
  }

  .global-nav__inner {
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
  }

  .global-nav__logo {
    font-size: 28px;
  }

  .global-nav__menu {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .global-nav__menu .menu-item a {
    font-size: 10px;
  }
}

/* ============================================================
   FIX — TWARZE KAMPANII GRID
============================================================ */

section.gallery {
  background: var(--navy3);
  padding: 80px 80px 96px;
}

section.gallery .gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

section.gallery .gallery__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

section.gallery .gallery__col:nth-child(2) {
  margin-top: 48px;
}

section.gallery .portrait-card {
  width: 100%;
  margin-bottom: 0;
}

/* Tablet — 2 kolumny */
@media (max-width: 991px) {
  section.gallery {
    padding: 64px 40px 80px;
  }

  section.gallery .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  section.gallery .gallery__col:nth-child(2) {
    margin-top: 32px;
  }

  section.gallery .gallery__col:nth-child(3) {
    display: none;
  }
}

/* Mobile — 1 kolumna */
@media (max-width: 767px) {
  section.gallery {
    padding: 56px 24px 64px;
  }

  section.gallery .gallery__grid {
    grid-template-columns: 1fr;
  }

  section.gallery .gallery__col:nth-child(2) {
    margin-top: 0;
  }

  section.gallery .gallery__col:nth-child(3) {
    display: flex;
  }
}

/* ============================================================
   SINGLE STORY — szczegóły wpisu
============================================================ */

.single-story {
  background: var(--cream);
  color: var(--ink);
}

.single-story__article {
  background: var(--cream);
}

/* HERO wpisu */
.single-story__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 2px;
  min-height: 560px;
  background: var(--navy);
  color: var(--cream);
}

.single-story__hero-content {
  padding: clamp(64px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.single-story__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-bottom: 28px;
}

.single-story__eyebrow .label-mono {
  color: rgba(248,246,241,0.32);
}

.single-story__categories {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.42);
}

.single-story__categories a {
  color: rgba(248,246,241,0.42);
}

.single-story__categories a:hover {
  color: var(--cream);
}

.single-story__title {
  font-family: var(--font-head);
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--cream);
  max-width: 900px;
  margin: 0 0 28px;
}

.single-story__lead {
  max-width: 680px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  color: rgba(248,246,241,0.72);
  margin: 0 0 32px;
}

.single-story__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.32);
}

.single-story__hero-media {
  position: relative;
  min-height: 560px;
  background: #1a1e24;
  overflow: hidden;
}

.single-story__hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(17,24,32,0.58) 0%,
      rgba(17,24,32,0.14) 56%,
      rgba(17,24,32,0.02) 100%
    );
  pointer-events: none;
}

.single-story__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-story__image-placeholder {
  height: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248,246,241,0.16);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.018) 0px,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 22px
  );
}

/* Treść wpisu */
.single-story__body {
  padding: clamp(56px, 7vw, 96px) clamp(24px, 8vw, 120px);
}

.single-story__content {
  max-width: 1140px;
  margin: 0 auto!important;
  font-size: 19px;
  line-height: 1.86;
  color: #202833;
}

.single-story__content > * {
  margin-bottom: 1.45em;
}

.single-story__content > *:last-child {
  margin-bottom: 0;
}

.single-story__content p {
  color: #202833;
}

.single-story__content h2,
.single-story__content h3,
.single-story__content h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin-top: 1.6em;
  margin-bottom: 0.7em;
}

.single-story__content h2 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.03em;
}

.single-story__content h3 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
}

.single-story__content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.single-story__content blockquote {
  margin: 2.4em 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--ink);
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.single-story__content blockquote p {
  color: inherit;
}

.single-story__content img {
  max-width: 100%;
  height: auto;
}

.single-story__content .wp-block-image,
.single-story__content figure {
  margin-top: 2.4em;
  margin-bottom: 2.4em;
}

.single-story__content figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.42);
}

/* Footer wpisu */
.single-story__footer {
  padding: 0 clamp(24px, 8vw, 120px) clamp(56px, 7vw, 96px);
  background: var(--cream);
}

.single-story__footer-inner {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid rgba(27,42,74,0.12);
  padding-top: 36px;
}

.single-story__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.single-story__tags .label-mono {
  color: rgba(27,42,74,0.42);
}

.single-story__tags a {
  display: inline-flex;
  margin: 0 8px 8px 0;
  padding: 8px 12px;
  border: 1px solid rgba(27,42,74,0.14);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.68);
}

.single-story__tags a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Nawigacja między wpisami */
.single-story__post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.single-story__post-nav-item a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
  padding: 28px;
  border: 1px solid rgba(27,42,74,0.12);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.single-story__post-nav-item a:hover {
  border-color: rgba(27,42,74,0.35);
  background: #f0ede6;
}

.single-story__post-nav-item span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.42);
}

.single-story__post-nav-item strong {
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.single-story__post-nav-item--next {
  text-align: right;
}

/* Powiązane wpisy */
.single-story__related {
  padding: clamp(56px, 7vw, 96px) clamp(24px, 8vw, 120px);
  background: var(--navy3);
  color: var(--cream);
}

.single-story__related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.single-story__related-card {
  background: #171d25;
}

.single-story__related-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1e24;
}

.single-story__related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-story__related-placeholder {
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.018) 0px,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 22px
  );
}

.single-story__related-content {
  padding: 28px;
}

.single-story__related-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.32);
  margin-bottom: 14px;
}

.single-story__related-title {
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.single-story__related-title a {
  color: var(--cream);
}

.single-story__related-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(248,246,241,0.56);
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .single-story__hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .single-story__hero-content {
    padding: 72px 40px 56px;
  }

  .single-story__hero-media {
    min-height: 420px;
  }

  .single-story__image-placeholder {
    min-height: 420px;
  }

  .single-story__related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .single-story__hero-content {
    padding: 56px 24px 48px;
  }

  .single-story__hero-media {
    min-height: 340px;
  }

  .single-story__image-placeholder {
    min-height: 340px;
  }

  .single-story__content {
    font-size: 17px;
    line-height: 1.78;
  }

  .single-story__post-nav {
    grid-template-columns: 1fr;
  }

  .single-story__post-nav-item--next {
    text-align: left;
  }

  .single-story__related-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   FIX — SINGLE HERO IMAGE FULL HEIGHT
============================================================ */

.single-story__hero {
  min-height: calc(100svh - var(--global-nav-height));
}

.single-story__hero-media {
  position: relative;
  min-height: calc(100svh - var(--global-nav-height));
  height: 100%;
  overflow: hidden;
}

.single-story__hero-media img,
.single-story__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.single-story__hero-media::after {
  z-index: 1;
}

.single-story__image-placeholder {
  min-height: calc(100svh - var(--global-nav-height));
}

@media (max-width: 991px) {
  .single-story__hero {
    min-height: 0;
  }

  .single-story__hero-media {
    min-height: 420px;
    height: 420px;
  }

  .single-story__image-placeholder {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .single-story__hero-media {
    min-height: 340px;
    height: 340px;
  }

  .single-story__image-placeholder {
    min-height: 340px;
  }
}
/* ============================================================
   SINGLE STORY HERO — szerszy obrazek + miękki blur
============================================================ */

.single-story__hero {
  grid-template-columns: minmax(0, 1fr) minmax(460px, 42vw);
  min-height: calc(100svh - var(--global-nav-height));
  background: var(--navy);
}

.single-story__hero-content {
  padding: clamp(64px, 7vw, 116px);
  justify-content: flex-end;
}

.single-story__hero-media {
  position: relative;
  min-height: calc(100svh - var(--global-nav-height));
  height: auto;
  overflow: hidden;
  background: #151b23;
}

/* Obrazek wypełnia cały panel */
.single-story__hero-media img,
.single-story__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Lekka mgła na zdjęciu */
.single-story__hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(17,24,32,0.88) 0%,
      rgba(17,24,32,0.58) 18%,
      rgba(17,24,32,0.22) 38%,
      rgba(17,24,32,0.06) 62%,
      rgba(17,24,32,0.12) 100%
    );
  pointer-events: none;
}


/* Miękka, rozmyta zasłona przy lewej krawędzi zdjęcia */
.single-story__hero-media::after {
  content: '';
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -18%;
  z-index: 2;
  width: 42%;
  background: rgba(17,24,32,0.95);
  filter: blur(42px);
  pointer-events: none;
}

/* Delikatne przejście między treścią a obrazkiem */
.single-story__hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: minmax(460px, 42vw);
}

/* Tablet */
@media (max-width: 991px) {
  .single-story__hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .single-story__hero-media {
    min-height: 460px;
    height: 460px;
  }

  .single-story__hero-media img,
  .single-story__image {
    position: absolute;
    height: 100% !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .single-story__hero-content {
    padding: 56px 24px 48px;
  }

  .single-story__hero-media {
    min-height: 360px;
    height: 360px;
  }
}

/* ============================================================
   CATEGORY ARCHIVE
============================================================ */

.category-archive {
  background: var(--cream);
  color: var(--ink);
}

/* Header kategorii */
.category-archive__hero {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(72px, 9vw, 128px) clamp(24px, 8vw, 120px) clamp(64px, 8vw, 104px);
  position: relative;
  overflow: hidden;
}

.category-archive__hero::after {
  content: '';
  position: absolute;
  left: -20%;
  bottom: -60%;
  width: 70%;
  height: 90%;
  background: rgba(248,246,241,0.045);
  filter: blur(80px);
  pointer-events: none;
}

.category-archive__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.category-archive__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}

.category-archive__eyebrow .label-mono {
  color: rgba(248,246,241,0.32);
}

.category-archive__count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.38);
}

.category-archive__title {
  font-family: var(--font-head);
  font-size: clamp(52px, 9vw, 126px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin: 0 0 28px;
  color: var(--cream);
}

.category-archive__description {
  max-width: 680px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.62;
  color: rgba(248,246,241,0.68);
}

.category-archive__description p {
  margin: 0;
}

/* Lista wpisów */
.category-archive__list {
  padding: clamp(56px, 7vw, 96px) clamp(24px, 8vw, 120px);
}

.category-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

/* Karta */
.category-card {
  background: #f0ede6;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.category-card__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1e24;
}

.category-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(17,24,32,0.34) 0%,
      rgba(17,24,32,0.04) 58%,
      rgba(17,24,32,0.02) 100%
    );
  pointer-events: none;
}

.category-card__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-card:hover .category-card__image {
  transform: scale(1.045);
}

.category-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248,246,241,0.16);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.018) 0px,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 22px
  );
}

.category-card__content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.42);
}

.category-card__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.category-card__title a {
  color: var(--ink);
}

.category-card__title a:hover {
  color: #111820;
}

.category-card__excerpt {
  font-size: 16px;
  line-height: 1.72;
  color: rgba(27,42,74,0.78);
  margin: 0 0 28px;
  flex: 1;
}

.category-card__link {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.52);
  transition: color 0.2s ease;
}

.category-card__link:hover {
  color: var(--ink);
}

/* Paginacja */
.category-archive__pagination {
  margin-top: 56px;
}

.category-archive__pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.category-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(27,42,74,0.14);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(27,42,74,0.62);
}

.category-archive__pagination .page-numbers.current,
.category-archive__pagination .page-numbers:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: #f0ede6;
}

/* Empty */
.category-archive__empty {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 24px;
}

.category-archive__empty h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.category-archive__empty p {
  font-size: 18px;
  color: rgba(27,42,74,0.68);
}

/* Responsive */
@media (max-width: 1199px) {
  .category-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .category-archive__hero {
    padding: 56px 24px 48px;
  }

  .category-archive__list {
    padding: 48px 24px 64px;
  }

  .category-archive__grid {
    grid-template-columns: 1fr;
  }

  .category-card__content {
    padding: 26px 24px;
  }
}
/* ============================================================
   CATEGORY ARCHIVE — korekty kart
============================================================ */

.category-archive__grid {
  gap: 24px;
}

.category-card {
  background: #f0ede6;
}

.category-card__title,
.category-card__title a,
.category-card__title a:visited {
  color: var(--ink) !important;
}

.category-card__title a:hover {
  color: #111820 !important;
}

.category-card__link,
.category-card__link:visited {
  color: rgba(27,42,74,0.58) !important;
}

.category-card__link:hover {
  color: var(--ink) !important;
}

.category-card__excerpt {
  color: rgba(27,42,74,0.78);
}

@media (max-width: 767px) {
  .category-archive__grid {
    gap: 20px;
  }
}
/* ============================================================
   MANIFEST — layout + ACF content
============================================================ */

.manifest {
  padding: clamp(64px, 7vw, 104px) clamp(24px, 6vw, 72px);
}

.manifest__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.manifest__grid {
  gap: clamp(40px, 6vw, 88px);
}

.manifest__text {
  max-width: 100%;
}

.manifest__text p {
  margin-bottom: 1.45em;
}

.manifest__text p:last-child {
  margin-bottom: 0;
}

.manifest__pullquote {
  margin: clamp(28px, 4vw, 44px) 0;
}

.manifest__signature {
  margin-top: clamp(32px, 4vw, 48px);
}

.manifest__bottom-accent {
  margin: clamp(48px, 6vw, 72px) 0 0;
}

@media (max-width: 991px) {
  .manifest {
    padding-inline: 40px;
  }

  .manifest__grid {
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .manifest {
    padding: 56px 24px 64px;
  }

  .manifest__grid {
    gap: 0;
  }

  .manifest__bottom-accent {
    margin-top: 40px;
  }
}
/* ============================================================
   FEATURED INTERVIEW — latest post from category
============================================================ */

.interview {
  padding-inline: clamp(24px, 5vw, 72px);
}

.interview__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.interview__photo {
  display: block;
  color: inherit;
}

.interview__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.interview__title a {
  color: var(--ink) !important;
}

.interview__title a:hover {
  color: #111820 !important;
}

.interview__empty {
  background: #FCFBF8;
  padding: 48px;
  color: rgba(27,42,74,0.72);
  font-size: 18px;
}

@media (max-width: 991px) {
  .interview {
    padding-inline: 40px;
  }
}

@media (max-width: 767px) {
  .interview {
    padding-inline: 24px;
  }
}
/* ============================================================
   FEATURED INTERVIEW — mniejszy układ + tekst wyśrodkowany
============================================================ */

.interview__grid {
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}

.interview__photo {
  min-height: 380px;
  max-height: 460px;
}

.interview__content {
  min-height: 380px;
  padding: clamp(36px, 4vw, 52px);
  justify-content: center;
}

.interview__title {
  font-size: clamp(26px, 2.8vw, 38px);
  margin-bottom: 22px;
}

.interview__body {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.interview__footer {
  margin-top: 32px;
}

@media (max-width: 991px) {
  .interview__grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .interview__photo {
    min-height: 340px;
    max-height: none;
  }

  .interview__content {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .interview__photo {
    min-height: 300px;
  }

  .interview__content {
    padding: 32px 24px;
  }
}
/* ============================================================
   PILLARS — ACF + 4 cards grid
============================================================ */

.pillars {
  padding-inline: clamp(24px, 5vw, 72px);
}

.pillars__inner {
  max-width: 1600px;
  margin: 0 auto;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.pillar-card {
  border: 1px solid rgba(27,42,74,0.12);
  border-left: 1px solid rgba(27,42,74,0.12);
  min-height: 320px;
  background: #FCFBF8;
}

.pillar-card__body p {
  margin: 0 0 1em;
}

.pillar-card__body p:last-child {
  margin-bottom: 0;
}

.pillar-card__button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 11px 18px;
  background: #111820;
  color: var(--cream) !important;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  transition: background 0.2s ease;
}

.pillar-card__button:hover {
  background: #1e2733;
  color: var(--cream) !important;
}

.pillar-card__button::after {
  content: '';
  display: none;
}

/* 2 kolumny na tabletach */
@media (max-width: 1199px) {
  .pillars__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 1 kolumna na mobile */
@media (max-width: 767px) {
  .pillars {
    padding-inline: 24px;
  }

  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pillar-card {
    min-height: 0;
  }
}
/* ============================================================
   PILLARS — rainbow underline on buttons
============================================================ */

.pillar-card__button {
  position: relative;
  overflow: hidden;
  background: #111820;
  color: var(--cream) !important;
}

.pillar-card__button::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--rainbow);
}

.pillar-card__button:hover {
  background: #1e2733;
  color: var(--cream) !important;
}
/* ============================================================
   JOIN — content width + button visibility
============================================================ */

.join {
  padding-inline: clamp(24px, 5vw, 72px);
}

/* Kontener sekcji na desktopie */
.join > .section-eyebrow,
.join__grid {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* Trochę większy oddech między kolumnami */
.join__grid {
  gap: clamp(56px, 7vw, 120px);
}

/* Prawa kolumna — delikatniejszy podział */
.join__how {
  border-left: 1px solid rgba(248,246,241,0.12);
  padding-left: clamp(48px, 5vw, 80px);
}

/* Przycisk w sekcji Dołącz — widoczniejszy, z ramką i tęczowym paskiem */
.join .btn-primary {
  border: 1px solid rgba(248,246,241,0.28);
  background: rgba(17,24,32,0.72);
  color: var(--cream) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,0.18);
}

.join .btn-primary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rainbow);
}

.join .btn-primary:hover {
  border-color: rgba(248,246,241,0.54);
  background: #1e2733;
  color: var(--cream) !important;
}

/* Teksty */
.join__body {
  max-width: 520px;
}

.join__form-note {
  max-width: 520px;
}

/* Tablet */
@media (max-width: 991px) {
  .join {
    padding-inline: 40px;
  }

  .join__grid {
    gap: 56px;
  }

  .join__how {
    border-left: none;
    border-top: 1px solid rgba(248,246,241,0.12);
    padding-left: 0;
    padding-top: 48px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .join {
    padding-inline: 24px;
  }

  .join__grid {
    gap: 44px;
  }

  .join .btn-primary {
    width: 100%;
    justify-content: center;
  }
}
/* ============================================================
   FEATURED INTERVIEW — button like pillars
============================================================ */

.interview .btn-outline-light {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 11px 18px;
  background: #111820;
  border: 1px solid #111820;

  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;

  color: var(--cream) !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.interview .btn-outline-light::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--rainbow);
}

.interview .btn-outline-light:hover {
  background: #1e2733;
  border-color: #1e2733;
  color: var(--cream) !important;
}
/* ============================================================
   GALLERY — subtle rainbow accent on "Czytaj wywiad"
============================================================ */

section.gallery .portrait-card__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding-bottom: 5px;
  color: rgba(248,246,241,0.48) !important;
  transition: color 0.2s ease;
}

section.gallery .portrait-card__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rainbow);
  opacity: 0.45;
  transform: scaleX(0.55);
  transform-origin: left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

section.gallery .portrait-card__link:hover {
  color: rgba(248,246,241,0.88) !important;
}

section.gallery .portrait-card__link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
/* ============================================================
   MANIFEST — restore pullquote style with WYSIWYG content
============================================================ */

.manifest__pullquote {
  border-left: 2.5px solid var(--ink);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}

/* WYSIWYG dodaje <p>, więc wymuszamy dziedziczenie stylu cytatu */
.manifest__pullquote p {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.manifest__pullquote br {
  display: block;
}
/* ============================================================
   DEFAULT PAGE
============================================================ */

.default-page {
  background: var(--cream);
  color: var(--ink);
}

.default-page__article {
  background: var(--cream);
}

/* Hero zwykłej strony */
.default-page__hero {
  background: var(--navy);
  color: var(--cream);
  display: grid;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.default-page__hero--with-image {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 42vw);
}

.default-page__hero--no-image {
  grid-template-columns: 1fr;
}

.default-page__hero-content {
  padding: clamp(72px, 9vw, 132px) clamp(24px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  position: relative;
  z-index: 2;
}

.default-page__eyebrow {
  margin-bottom: 26px;
}

.default-page__eyebrow .label-mono {
  color: rgba(248,246,241,0.34);
}

.default-page__title {
  max-width: 960px;
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 116px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: var(--cream);
}

.default-page__lead {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  color: rgba(248,246,241,0.68);
}

/* Obrazek wyróżniający strony */
.default-page__hero-media {
  position: relative;
  min-height: 420px;
  background: #171d25;
  overflow: hidden;
}

.default-page__hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(17,24,32,0.82) 0%,
      rgba(17,24,32,0.42) 26%,
      rgba(17,24,32,0.08) 58%,
      rgba(17,24,32,0.12) 100%
    );
  pointer-events: none;
}

.default-page__hero-media::after {
  content: '';
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -18%;
  width: 42%;
  z-index: 2;
  background: rgba(17,24,32,0.72);
  filter: blur(42px);
  pointer-events: none;
}

.default-page__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* Treść strony */
.default-page__body {
  padding: clamp(56px, 7vw, 96px) clamp(24px, 8vw, 120px);
}

.default-page__content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.86;
  color: #202833;
}

.default-page__content > * {
  margin-bottom: 1.45em;
}

.default-page__content > *:last-child {
  margin-bottom: 0;
}

.default-page__content p,
.default-page__content li {
  color: #202833;
}

.default-page__content h2,
.default-page__content h3,
.default-page__content h4,
.default-page__content h5,
.default-page__content h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin-top: 1.6em;
  margin-bottom: 0.7em;
}

.default-page__content h2 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.04em;
}

.default-page__content h3 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.03em;
}

.default-page__content h4 {
  font-size: clamp(22px, 2.4vw, 30px);
}

.default-page__content a {
  color: var(--ink) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.default-page__content a:hover {
  color: #111820 !important;
}

/* Cytaty */
.default-page__content blockquote {
  margin: 2.4em 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--ink);
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.default-page__content blockquote p {
  color: inherit;
  font: inherit;
  margin: 0;
}

/* Obrazki / Gutenberg */
.default-page__content img {
  max-width: 100%;
  height: auto;
}

.default-page__content .wp-block-image,
.default-page__content figure {
  margin-top: 2.4em;
  margin-bottom: 2.4em;
}

.default-page__content figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.42);
}

.default-page__content .alignwide {
  max-width: 1180px;
  margin-left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 48px));
}

.default-page__content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* Listy */
.default-page__content ul,
.default-page__content ol {
  padding-left: 1.4em;
}

.default-page__content li {
  margin-bottom: 0.55em;
}

/* Przyciski Gutenberg */
.default-page__content .wp-block-button__link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  background: #111820;
  border: 1px solid #111820;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--cream) !important;
  text-decoration: none;
}

.default-page__content .wp-block-button__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--rainbow);
}

.default-page__content .wp-block-button__link:hover {
  background: #1e2733;
  border-color: #1e2733;
  color: var(--cream) !important;
}

/* Tabele */
.default-page__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}

.default-page__content th,
.default-page__content td {
  border: 1px solid rgba(27,42,74,0.14);
  padding: 14px 16px;
  text-align: left;
}

.default-page__content th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.58);
  background: #f0ede6;
}

/* Edit link */
.default-page__edit-link {
  margin-top: 48px;
}

.default-page__edit-link a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(27,42,74,0.18);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.62) !important;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
  .default-page__hero--with-image {
    grid-template-columns: 1fr;
  }

  .default-page__hero-content {
    padding: 72px 40px 56px;
    min-height: 360px;
  }

  .default-page__hero-media {
    min-height: 420px;
  }

  .default-page__content {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .default-page__hero-content {
    padding: 56px 24px 48px;
    min-height: 320px;
  }

  .default-page__hero-media {
    min-height: 340px;
  }

  .default-page__body {
    padding: 48px 24px 64px;
  }

  .default-page__content {
    font-size: 17px;
    line-height: 1.78;
  }

  .default-page__content .alignwide,
  .default-page__content .alignfull {
    width: calc(100vw - 0px);
  }
}
/* ============================================================
   POSTS PAGE — strona z wpisami
============================================================ */

.posts-page {
  background: var(--cream);
  color: var(--ink);
}

/* Hero */
.posts-page__hero {
  background: var(--navy);
  color: var(--cream);
  display: grid;
  min-height: 440px;
  position: relative;
  overflow: hidden;
}

.posts-page__hero--with-image {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 42vw);
}

.posts-page__hero--no-image {
  grid-template-columns: 1fr;
}

.posts-page__hero-content {
  padding: clamp(72px, 9vw, 132px) clamp(24px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  position: relative;
  z-index: 2;
}

.posts-page__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}

.posts-page__eyebrow .label-mono {
  color: rgba(248,246,241,0.34);
}

.posts-page__count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.38);
}

.posts-page__title {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(54px, 9vw, 126px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--cream);
}

.posts-page__lead {
  max-width: 720px;
  margin: 30px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.62;
  color: rgba(248,246,241,0.68);
}

.posts-page__hero-media {
  position: relative;
  min-height: 440px;
  background: #171d25;
  overflow: hidden;
}

.posts-page__hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(17,24,32,0.82) 0%,
      rgba(17,24,32,0.42) 26%,
      rgba(17,24,32,0.08) 58%,
      rgba(17,24,32,0.12) 100%
    );
  pointer-events: none;
}

.posts-page__hero-media::after {
  content: '';
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -18%;
  width: 42%;
  z-index: 2;
  background: rgba(17,24,32,0.72);
  filter: blur(42px);
  pointer-events: none;
}

.posts-page__hero-image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* Lista */
.posts-page__list {
  padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 72px);
}

.posts-page__grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* Karta */
.posts-card {
  background: #f0ede6;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.posts-card__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1e24;
}

.posts-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(17,24,32,0.34) 0%,
      rgba(17,24,32,0.04) 58%,
      rgba(17,24,32,0.02) 100%
    );
  pointer-events: none;
}

.posts-card__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.posts-card:hover .posts-card__image {
  transform: scale(1.045);
}

.posts-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248,246,241,0.16);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.018) 0px,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 22px
  );
}

.posts-card__content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.posts-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.42);
}

.posts-card__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.posts-card__title a,
.posts-card__title a:visited {
  color: var(--ink) !important;
}

.posts-card__title a:hover {
  color: #111820 !important;
}

.posts-card__excerpt {
  font-size: 16px;
  line-height: 1.72;
  color: rgba(27,42,74,0.78);
  margin: 0 0 28px;
  flex: 1;
}

.posts-card__link,
.posts-card__link:visited {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  width: fit-content;
  padding-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.58) !important;
  transition: color 0.2s ease;
}

.posts-card__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rainbow);
  opacity: 0.5;
  transform: scaleX(0.55);
  transform-origin: left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.posts-card__link:hover {
  color: var(--ink) !important;
}

.posts-card__link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Paginacja */
.posts-page__pagination {
  max-width: 1600px;
  margin: 56px auto 0;
}

.posts-page__pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.posts-page__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(27,42,74,0.14);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(27,42,74,0.62) !important;
}

.posts-page__pagination .page-numbers.current,
.posts-page__pagination .page-numbers:hover {
  border-color: var(--ink);
  color: var(--ink) !important;
  background: #f0ede6;
}

.posts-page__empty {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 24px;
}

.posts-page__empty h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.posts-page__empty p {
  font-size: 18px;
  color: rgba(27,42,74,0.68);
}

/* Responsive */
@media (max-width: 1199px) {
  .posts-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .posts-page__hero--with-image {
    grid-template-columns: 1fr;
  }

  .posts-page__hero-content {
    padding: 72px 40px 56px;
    min-height: 360px;
  }

  .posts-page__hero-media {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .posts-page__hero-content {
    padding: 56px 24px 48px;
    min-height: 320px;
  }

  .posts-page__hero-media {
    min-height: 340px;
  }

  .posts-page__list {
    padding: 48px 24px 64px;
  }

  .posts-page__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .posts-card__content {
    padding: 26px 24px;
  }
}

/* ============================================================
   PAGE: WYROKI — calmer document typography
============================================================ */

/* Jeżeli strona używa page.php / default-page */
.default-page__content {
  max-width: 920px;
  font-size: 16px;
  line-height: 1.78;
}

/* Akapity */
.default-page__content p {
  font-size: 16px;
  line-height: 1.78;
  color: rgba(27,42,74,0.82);
  margin-bottom: 1.1em;
}

/* Główny nagłówek w treści, np. "Europejski Trybunał..." */
.default-page__content h2 {
  margin-top: 2.4em;
  margin-bottom: 1.1em;
  padding-top: 1.2em;
  border-top: 1px solid rgba(27,42,74,0.12);

  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* Tytuły spraw, np. "Przybyszewska..." */
.default-page__content h3 {
  margin-top: 2.1em;
  margin-bottom: 0.7em;

  font-family: var(--font-head);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #111820;
}

/* Gdy h3 służy jako "Dowiedz się więcej+" */
.default-page__content h3:has(+ p a) {
  margin-top: 1.6em;
  margin-bottom: 0.75em;

  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27,42,74,0.52);
}

/* Linki źródłowe */
.default-page__content a {
  color: var(--ink) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.default-page__content a:hover {
  color: #111820 !important;
}

/* Listy, jeśli pojawią się później */
.default-page__content ul,
.default-page__content ol {
  font-size: 16px;
  line-height: 1.78;
}

/* Mniejsze odstępy w blokach źródeł po "Dowiedz się więcej" */
.default-page__content h3 + p {
  margin-top: 0;
}

/* Mobile */
@media (max-width: 767px) {
  .default-page__content {
    font-size: 15.5px;
    line-height: 1.72;
  }

  .default-page__content p {
    font-size: 15.5px;
    line-height: 1.72;
  }

  .default-page__content h2 {
    font-size: 28px;
  }

  .default-page__content h3 {
    font-size: 21px;
  }
}
.wp-block-accordion-heading {
	margin-top: 0.5em!important;
    margin-bottom: 1.5em!important;
}
/* ============================================================
   RAINBOW HR
============================================================ */

.default-page__content hr,
.entry-content hr {
  border: 0;
  height: 1px;
  margin: 48px 0;
  background: var(--rainbow);
  opacity: 1;
}

/* Delikatniejsza wersja, jeśli HR ma nie dominować */
.default-page__content hr.is-style-muted,
.entry-content hr.is-style-muted {
  background: rgba(27,42,74,0.14);
}

/* Węższy, ozdobny HR */
.default-page__content hr.is-style-rainbow-short,
.entry-content hr.is-style-rainbow-short {
  width: 160px;
  margin-left: 0;
  margin-right: auto;
  height: 2px;
  background: var(--rainbow);
}
.default-page__content h2 {
  position: relative;
  margin-top: 2.4em;
  margin-bottom: 1.1em;
  padding-top: 1.2em;
  border-top: 0;

  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.default-page__content h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--rainbow);
  opacity: 0.75;
}