/* ======================================================
   CSS uporzadkowany: usuniete duplikaty identycznych regul,
   zachowane placeholdery url(''), bez dodawania nowych klas do HTML.
   UWAGA: strony inne niz glowna sa skopowane przez klasy na <body>.
   Klasy <body>:
   - home
   - przewodnik
   - stacja
   - galeria
   - historia-wystaw
   - mapa-wystaw
   - podcasty
   ====================================================== */

/* ======================================================
   0) RESET + ZMIENNE (KANONICZNE — z pierwszego bloku / home)
   ====================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest:        #1c3326;
  --forest-mid:    #254535;
  --forest-light:  #2e5540;
  --forest-pale:   #3a6b50;
  --gold:          #bccc39;
  --gold-light:    #d4aa55;
  --gold-dim:      #7a6130;
  --gold-rgb:      184, 148, 60;  /* do rgba() */
  --cream:         #f7f0e4;
  --cream-mid:     #ede3d0;
  --cream-dark:    #70695b;
  --text-body:     #c8bda5;
  --text-mid:      #4a5a50;
  --text-dim:      #8b927c;
  --white:         #fdfaf5;
}

/* ── KONTRAST: override zmiennych tekstowych na ciemnych tłach ── */
body.galeria,
body.historia-wystaw,
body.mapa-wystaw,
body.podcasty,
body.przewodnik {
  --text-mid: #8faa96;   /* było #4a5a50 → kontrast 1.85:1 → teraz 5.39:1 AA */
  --text-dim: #a89e8c;   /* było #7a7060 → kontrast 2.78:1 → teraz 5.12:1 AA */
}
/* ── Non-home: nadpisanie wartości specyficznych dla strony głównej ── */
body.galeria, body.galeria-single, body.historia-wystaw, body.mapa-wystaw,
body.podcasty, body.przewodnik, body.stacja {
  --gold:       #b8943c;
  --cream-dark: #d4c8b0;
}


html { scroll-behavior: smooth; }

/* Bazowy body (home + domyślny look) */
body {
  background: var(--forest);
  color: var(--cream);
  font-family: "Lora", Georgia, serif;
  overflow-x: hidden;
}

/* ======================================================
   1) KOMPONENTY WSPÓLNE (przeniesione z home)
   ====================================================== */

/* Buttons */
.btn {
  font-family: "Cinzel", serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.6rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--gold);
  color: var(--forest);
  border-color: var(--gold);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(var(--gold-rgb),.3);
}

.btn-secondary {
  background: transparent;
  color: var(--cream-mid);
  border-color: rgba(212,198,176,0.35);
}
.btn-secondary:hover {
  border-color: var(--cream-mid);
  background: rgba(247,240,228,0.06);
  transform: translateY(-2px);
}

/* Scroll reveal (wspólne) */
.reveal { opacity: 0; transition: opacity 0.7s ease; }
.reveal.visible { opacity: 1; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ======================================================
   2) HOME (strona główna — nadrzędne)
   ====================================================== */

/* ─── NAV (home) ─────────────────────────────────────── */
body.home nav,
body:not(.galeria):not(.galeria-single):not(.historia-wystaw):not(.mapa-wystaw):not(.stacja):not(.podcasty):not(.przewodnik) nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 3rem;
  background: linear-gradient(to bottom, rgba(28,51,38,0.97) 0%, rgba(28,51,38,0.0) 100%);
  backdrop-filter: blur(4px);
}

.nav-logo {
  font-family: "Cinzel", serif;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }

/* ─── HERO (home) ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 5rem;
  overflow: hidden;
}

/* Background image layer */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../wystawa-tlo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--forest);
  opacity: 0.65;
}

.hero-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-bg { position: absolute; inset: 0; z-index: 2; }

.hero-bg::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(55,100,70,0.45) 0%,
    rgba(37,69,53,0.25) 40%,
    transparent 70%
  );
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 250px 250px;
  pointer-events: none;
}

.hero-arc {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb),.12);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
}
.hero-arc:nth-child(1) { width: 520px; height: 520px; }
.hero-arc:nth-child(2) { width: 720px; height: 720px; border-color: rgba(var(--gold-rgb),.07); }
.hero-arc:nth-child(3) { width: 960px; height: 960px; border-color: rgba(var(--gold-rgb),.04); }

.hero-content { position: relative; z-index: 10; max-width: 820px; }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}
.ornament-line {
  width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim));
}
.ornament-line.r { background: linear-gradient(to left, transparent, var(--gold-dim)); }
.ornament-diamond { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.ornament-text {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
}

.hero-logo {
  width: 110px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.48s;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.5));
}

.hero-eyebrow {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.38em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  white-space: nowrap;
  margin-bottom: 0.4rem;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.55s;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-subtitle {
  font-family: "Lora", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.7s;
  letter-spacing: 0.03em;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  color: var(--text-body);
  max-width: 580px;
  margin: 0 auto 3.2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.85s;
}

.cta-group {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1s;
}

/* ─── STATS (home) ────────────────────────────────────── */
.stats-wrap {
  position: relative;
  z-index: 10;
  margin-top: 5.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1.2s;
  width: 100%;
  max-width: 640px;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(var(--gold-rgb),.2);
  background: rgba(28,51,38,0.5);
  backdrop-filter: blur(6px);
}

.stat-item {
  padding: 2rem 1.2rem;
  text-align: center;
  position: relative;
}
.stat-item + .stat-item { border-left: 1px solid rgba(var(--gold-rgb),.15); }

.stat-number {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}

.stat-label {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards 2s;
}

.scroll-hint span {
  font-family: "Cinzel", serif;
  font-size: 0.60rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.scroll-arrow {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─── SECTION: EXHIBIT HIGHLIGHTS (home) ─────────────── */
.section-exhibits {
  background: var(--cream);
  color: var(--forest);
  padding: 7rem 2rem;
}
.section-exhibits .inner { max-width: 1100px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 5rem; }
.section-tag {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.2rem;
}
.section-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  color: var(--forest);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.section-header p {
  font-family: "Lora", serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5a50;
  max-width: 580px;
  margin: 0 auto;
}

/* Exhibit cards */
.exhibits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.exhibit-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 2.8rem 2.5rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  overflow: hidden;
}
.exhibit-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--forest-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.exhibit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(28,51,38,0.12);
  border-color: var(--cream-dark);
}
.exhibit-card:hover::before { transform: scaleX(1); }

.exhibit-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  margin-bottom: 1.8rem;
  position: relative;
}
.exhibit-icon svg {
  width: 26px; height: 26px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.exhibit-num {
  position: absolute;
  top: -8px; right: -8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
}
.exhibit-card h3 {
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.9rem;
}
.exhibit-card p {
  font-family: "Lora", serif;
  font-size: 0.97rem;
  line-height: 1.8;
  color: #4a5a50;
}
.exhibit-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest-pale);
  border-bottom: 1px solid var(--cream-dark);
  padding-bottom: 2px;
}

/* ─── SECTION: WHY VISIT (home) ──────────────────────── */
.section-why { background: var(--forest-mid); padding: 7rem 2rem; }
.section-why .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-text .section-tag { color: var(--gold); }
.why-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 1.8rem;
}
.why-text h2 em { font-style: italic; color: var(--gold-light); }

.why-text p {
  font-family: "Lora", serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1.2rem;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-item { display: flex; gap: 1.4rem; align-items: flex-start; }

.why-bullet {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: rgba(var(--gold-rgb),.12);
  border: 1px solid rgba(var(--gold-rgb),.3);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.why-bullet svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-item-text strong {
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-mid);
  display: block;
  margin-bottom: 0.3rem;
}
.why-item-text span {
  font-family: "Lora", serif;
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ─── SECTION: REVIEWS (home) ────────────────────────── */
.section-reviews { background: var(--cream); padding: 7rem 2rem; overflow: hidden; }
.section-reviews .inner { max-width: 860px; margin: 0 auto; }
.reviews-header { text-align: center; margin-bottom: 4rem; }

.reviews-slider { position: relative; }
.reviews-track { overflow: hidden; }
.reviews-list { display: flex; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.review-slide { flex: 0 0 100%; padding: 0 0.5rem; }

.review-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 3.5rem 4rem;
  text-align: center;
  position: relative;
}

.review-quote-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 7rem;
  color: var(--gold-dim);
  line-height: 0.4;
  margin-bottom: 2rem;
  display: block;
  opacity: 0.6;
}

.review-text {
  font-family: "Lora", serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  line-height: 1.8;
  color: var(--forest);
  margin-bottom: 2.2rem;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.review-divider {
  width: 40px;
  height: 1px;
  background: var(--gold-dim);
  margin: 0 auto 1.5rem;
}

.review-author {
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  display: block;
  margin-bottom: 0.3rem;
}

.review-meta {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dark);
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.review-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--forest-light);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.review-btn:hover { background: var(--forest); border-color: var(--forest); }
.review-btn:hover svg { stroke: var(--cream); }

.review-btn svg {
  width: 18px; height: 18px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}

.reviews-dots { display: flex; gap: 0.6rem; align-items: center; }
.reviews-dot {
  width: 7px; height: 7px;
  background: var(--cream-dark);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.reviews-dot.active { background: var(--gold); transform: scale(1.3); }

/* ─── SECTION: GALLERY CAROUSEL (home) ───────────────── */
.section-gallery { background: var(--forest-mid); padding: 7rem 2rem; overflow: hidden; }
.section-gallery .inner { max-width: 1200px; margin: 0 auto; }
.gallery-header { text-align: center; margin-bottom: 3.5rem; }
.gallery-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.25;
}

.gallery-carousel { position: relative; }
.gallery-track-wrap { overflow: hidden; cursor: grab; user-select: none; }
.gallery-track-wrap:active { cursor: grabbing; }

.gallery-track {
  display: flex;
  gap: 1.2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.gallery-item {
  flex: 0 0 calc(33.333% - 0.8rem);
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--forest-light);
}

@media (max-width: 900px) { .gallery-item { flex: 0 0 calc(50% - 0.6rem); } }
@media (max-width: 560px) { .gallery-item { flex: 0 0 calc(85% - 0.6rem); } }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--forest-light) 0%, var(--forest) 100%);
  border: 1px solid rgba(var(--gold-rgb),.15);
  transition: border-color 0.3s;
}
.gallery-placeholder svg {
  width: 36px; height: 36px;
  stroke: rgba(var(--gold-rgb),.4);
  fill: none;
  stroke-width: 1.2;
}
.gallery-placeholder span {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212,200,176,0.35);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-placeholder { border-color: rgba(var(--gold-rgb),.35); }
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,51,38,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-label {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-mid);
}

.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}
.gallery-dots { display: flex; gap: 0.6rem; }
.gallery-dot {
  width: 6px; height: 6px;
  background: rgba(212,200,176,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.gallery-dot.active { background: var(--gold); transform: scale(1.4); }

.gallery-arrows { display: flex; gap: 0.8rem; }
.gallery-btn {
  width: 44px; height: 44px;
  border: 1px solid rgba(var(--gold-rgb),.3);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.gallery-btn:hover { background: rgba(var(--gold-rgb),.12); border-color: var(--gold); }
.gallery-btn svg {
  width: 16px; height: 16px;
  stroke: var(--cream-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}
.gallery-btn:hover svg { stroke: var(--gold-light); }

.gallery-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}

.btn-slideshow {
  background: transparent;
  color: var(--gold);
  border-color: rgba(var(--gold-rgb),.45);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.btn-slideshow:hover {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb),.08);
  transform: translateY(-2px);
}
.btn-slideshow svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ─── STATS STRIP (home) ─────────────────────────────── */
.stats-strip { background: var(--forest); padding: 5rem 2rem; }
.stats-strip .inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(var(--gold-rgb),.2);
}
.strip-stat { padding: 2.5rem 1.5rem; text-align: center; position: relative; }
.strip-stat + .strip-stat { border-left: 1px solid rgba(var(--gold-rgb),.15); }
.strip-stat .n {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}
.strip-stat .l {
  font-family: "Cinzel", serif;
  font-size: 0.80rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ─── CTA (home) ─────────────────────────────────────── */
.section-cta {
  background: var(--forest-mid);
  padding: 8rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(var(--gold-rgb),.15);
}
.section-cta h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.section-cta h2 em { font-style: italic; color: var(--gold-light); }
.section-cta p {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 3.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.logistics {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3.5rem auto 0;
  max-width: 680px;
}
.logistic-item { text-align: center; }
.logistic-item .li-label {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.logistic-item .li-val {
  font-family: "Lora", serif;
  font-size: 1rem;
  color: var(--cream-mid);
}
.logistic-item .li-val a {
  color: var(--cream-mid);
  text-decoration: none;
  transition: color 0.3s;
}
.logistic-item .li-val a:hover { color: var(--gold-light); }

/* ─── MINI TIMELINE (home) ───────────────────────────── */
.section-timeline { background: var(--forest); padding: 7rem 2rem 8rem; overflow: hidden; }
.section-timeline .inner { max-width: 1100px; margin: 0 auto; }

.timeline-header { text-align: center; margin-bottom: 5rem; }
.timeline-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 0.8rem;
}
.timeline-header p {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-body);
}

.timeline-track { position: relative; padding-bottom: 2rem; }
.timeline-line {
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--gold-dim) 5%,
    var(--gold-dim) 95%,
    transparent 100%
  );
  z-index: 0;
}
.timeline-line-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dim));
  transition: height 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-line.animated .timeline-line-fill { height: 100%; }

.timeline-nodes { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0; }

.timeline-node {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: start;
  gap: 0;
  min-height: 120px;
  margin-bottom: -1rem;
}

.timeline-node:nth-child(odd)  .tl-content { grid-column: 1; text-align: right; padding-right: 2.5rem; }
.timeline-node:nth-child(odd)  .tl-dot     { grid-column: 2; }
.timeline-node:nth-child(odd)  .tl-empty   { grid-column: 3; }

.timeline-node:nth-child(even) .tl-empty   { grid-column: 1; }
.timeline-node:nth-child(even) .tl-dot     { grid-column: 2; }
.timeline-node:nth-child(even) .tl-content { grid-column: 3; text-align: left; padding-left: 2.5rem; }

.tl-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
  position: relative;
}

.tl-dot-outer {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: border-color 0.35s, background 0.35s;
  cursor: default;
}
.timeline-node:hover .tl-dot-outer {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb),.1);
  box-shadow: 0 0 0 6px rgba(var(--gold-rgb),.07);
}
.tl-dot-inner {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-dim);
  transition: background 0.35s, transform 0.35s;
}
.timeline-node:hover .tl-dot-inner {
  background: var(--gold-light);
  transform: scale(1.4);
}

.tl-icon {
  position: absolute;
  top: -8px; right: -8px;
  width: 20px; height: 20px;
  background: var(--forest-mid);
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

.tl-content { padding-top: 14px; padding-bottom: 2.5rem; }
.tl-year {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}
.tl-title {
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-mid);
  display: block;
  margin-bottom: 0.6rem;
}
.tl-desc {
  font-family: "Lora", serif;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--text-body);
  margin-bottom: 0.8rem;
}
.tl-link {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.8;
  transition: opacity 0.3s, gap 0.3s;
}
.tl-link:hover { opacity: 1; gap: 0.65rem; }
.tl-link svg {
  width: 10px; height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-cta { text-align: center; margin-top: 3rem; }

@media (max-width: 700px) {
  .timeline-line { left: 24px; }
  .timeline-node {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto;
    min-height: auto;
    margin-bottom: 0;
  }
  .timeline-node:nth-child(odd) .tl-content,
  .timeline-node:nth-child(even) .tl-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 0;
  }
  .timeline-node:nth-child(odd) .tl-dot,
  .timeline-node:nth-child(even) .tl-dot {
    grid-column: 1;
    grid-row: 1;
  }
  .tl-empty { display: none; }
}

/* ─── FOOTER (home) ─────────────────────────────────── */
body.home footer,
body:not(.galeria):not(.galeria-single):not(.historia-wystaw):not(.mapa-wystaw):not(.stacja):not(.podcasty):not(.przewodnik) footer {
  background: #111e18;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
body.home footer span,
body:not(.galeria):not(.galeria-single):not(.historia-wystaw):not(.mapa-wystaw):not(.stacja):not(.podcasty):not(.przewodnik) footer span {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.footer-logo {
  font-family: "Cinzel", serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-decoration: none;
}

/* Home responsive */
@media (max-width: 900px) {
  .section-why .inner { grid-template-columns: 1fr; gap: 3rem; }
  .stats-strip .inner { grid-template-columns: repeat(2, 1fr); }
  .strip-stat:nth-child(3) { border-left: none; border-top: 1px solid rgba(var(--gold-rgb),.15); }
  .strip-stat:nth-child(4) { border-top: 1px solid rgba(var(--gold-rgb),.15); }
}
@media (max-width: 600px) {
  body.home nav { padding: 1.1rem 1.5rem; }
  body.home .nav-links { display: none; }
  .stats-wrap { max-width: 100%; }
  .logistics { gap: 2rem; }
}

/* ======================================================
   3) KOMPONENT: Aktualna Wystawa (bez nadpisywania body/html)
   ====================================================== */

/* ======================================================
   4) STRONA: Gallery (masonry) — body.galeria
   ====================================================== */
body.galeria {
  background: var(--forest);
  color: var(--text-body);
  font-family: "Lora", serif;
  min-height: 100vh;
}



body.galeria nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  height: 64px;
  background: rgba(28,51,38,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--gold-rgb),.18);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
}

body.galeria .nav-links a { color: var(--text-body); }
body.galeria .nav-links a:hover,
body.galeria .nav-links a.active { color: var(--gold-light); }

body.galeria .page-hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.galeria .page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%,
    rgba(var(--gold-rgb),.08) 0%, transparent 65%);
  pointer-events: none;
}
body.galeria .hero-eyebrow {
  font-family: "Cinzel", serif;
  font-size: 0.75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
body.galeria .hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 300; color: var(--cream); line-height: 1.05;
  margin-bottom: .5rem;
}
body.galeria .hero-title em { font-style: italic; color: var(--gold-light); }
body.galeria .hero-sub {
  font-family: "Lora", serif; font-style: italic;
  font-size: 1rem; color: var(--text-body); margin-bottom: 3rem;
}
body.galeria .hero-rule {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 3rem;
}
body.galeria .filters { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
body.galeria .yr-btn {
  font-family: "Cinzel", serif; font-size: .6rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem 1rem;
  border: 1px solid rgba(var(--gold-rgb),.28); border-radius: 99px;
  background: transparent; color: var(--text-body);
  cursor: pointer; transition: all .2s;
}
body.galeria .yr-btn:hover { border-color: var(--gold); color: var(--gold-light); }
body.galeria .yr-btn.active {
  background: rgba(var(--gold-rgb),.12);
  border-color: var(--gold); color: var(--gold-light);
}

body.galeria .gallery-section {
  max-width: 1280px; margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
}
body.galeria .gallery-info {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.4rem;
  flex-wrap: wrap; gap: .5rem;
}
body.galeria .gallery-count {
  font-family: "Lora", serif; font-style: italic;
  font-size: .82rem; color: var(--text-dim);
}
body.galeria .gallery-count strong { color: var(--gold-light); font-style: normal; }

body.galeria .gallery-grid { columns: 4 280px; column-gap: 12px; }

body.galeria .gallery-card {
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
  cursor: pointer;
  display: block;
  text-decoration: none;

  opacity: 0;
  transition: opacity .5s ease, transform .5s cubic-bezier(.25,.46,.45,.94);
  transform: translateY(16px);
}
body.galeria .gallery-card.revealed { opacity: 1; transform: translateY(0); }

body.galeria .gallery-card .card-img {
  display: block;
  width: 100%;
  background: var(--forest-mid);
  position: relative;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
body.galeria .card-placeholder {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg,
      rgba(var(--gold-rgb),.05) 0%,
      transparent 50%,
      rgba(var(--gold-rgb),.03) 100%),
    var(--forest-mid);
  display: flex; align-items: center; justify-content: center;
}
body.galeria .card-placeholder-icon {
  width: 32px; height: 32px;
  stroke: rgba(var(--gold-rgb),.2); fill: none;
  stroke-width: 1; stroke-linecap: round;
}
body.galeria .card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(12,28,18,.95) 0%,
    rgba(12,28,18,.6) 45%,
    transparent 100%);
  opacity: 0;
  transition: opacity .35s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.2rem 1rem 1rem;
}

body.galeria .gallery-card:hover .card-overlay { opacity: 1; }
body.galeria .gallery-card:hover .card-img { transform: scale(1.04); }

body.galeria .ov-city {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--cream); line-height: 1.2;
  transform: translateY(8px);
  transition: transform .35s ease;
}
body.galeria .gallery-card:hover .ov-city { transform: translateY(0); }

body.galeria .ov-venue {
  font-family: "Lora", serif;
  font-size: 0.82rem; color: var(--text-body);
  margin-top: .15rem;
  transform: translateY(8px);
  transition: transform .35s .04s ease;
  opacity: 0;
}
body.galeria .gallery-card:hover .ov-venue { transform: translateY(0); opacity: 1; }

body.galeria .ov-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: .5rem;
  transform: translateY(8px);
  transition: transform .35s .08s ease;
  opacity: 0;
}
body.galeria .gallery-card:hover .ov-meta { transform: translateY(0); opacity: 1; }

body.galeria .ov-date {
  font-family: "Lora", serif; font-style: italic;
  font-size: 0.82rem; color: var(--gold-light);
}
body.galeria .ov-visitors {
  font-family: "Cormorant Garamond", serif;
  font-size: .9rem; font-weight: 600;
  color: var(--gold-light);
}
body.galeria .ov-link {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .65rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-dim);
  transform: translateY(8px);
  transition: transform .35s .12s ease, color .2s;
  opacity: 0;
}
body.galeria .gallery-card:hover .ov-link { transform: translateY(0); opacity: 1; }
body.galeria .gallery-card:hover .ov-link:hover { color: var(--gold-light); }

body.galeria .ov-link svg {
  width: 10px; height: 10px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

body.galeria .gallery-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold-dim), var(--gold-light), var(--gold-dim));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
  z-index: 2;
}
body.galeria .gallery-card:hover::before { transform: scaleY(1); }
body.galeria .gallery-card.hidden { display: none; }

body.galeria .no-results {
  text-align: center; padding: 5rem 1rem;
  font-family: "Lora", serif; font-style: italic;
  color: var(--text-dim); display: none;
}

body.galeria footer {
  border-top: 1px solid rgba(var(--gold-rgb),.12);
  padding: 2rem;
  text-align: center;
  font-family: "Cinzel", serif; font-size: .6rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim);
}
body.galeria footer a { color: var(--gold-dim); text-decoration: none; }
body.galeria footer a:hover { color: var(--gold); }

@media (max-width: 900px) {
  body.galeria .gallery-grid { columns: 3 220px; }
}
@media (max-width: 600px) {
  body.galeria .gallery-grid { columns: 2 160px; column-gap: 8px; }
  body.galeria .gallery-card { margin-bottom: 8px; }
  body.galeria .nav-links { display: none; }
  body.galeria .hero-title { font-size: 2.2rem; }
}
@media (max-width: 380px) {
  body.galeria .gallery-grid { columns: 1; }
}

/* ======================================================
   5) STRONA: Table — body.historia-wystaw
   ====================================================== */
body.historia-wystaw { background: var(--forest); color: var(--text-body); font-family: "Lora", serif; min-height: 100vh; }
body.historia-wystaw { font-size: 18px; } /* z oryginału */

body.historia-wystaw nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  background: rgba(28,51,38,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--gold-rgb),.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}

body.historia-wystaw .nav-logo {
  font-family: "Cinzel", serif;
  font-size: .95rem;
  letter-spacing: .08em;
  color: var(--gold-light);
  text-decoration: none;
}

body.historia-wystaw .nav-links { display: flex; gap: 2rem; list-style: none; }
body.historia-wystaw .nav-links a {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-body);
  text-decoration: none;
  transition: color .2s;
}
body.historia-wystaw .nav-links a:hover,
body.historia-wystaw .nav-links a.active { color: var(--gold-light); }

body.historia-wystaw .page-hero {
  background: var(--forest-mid);
  border-bottom: 1px solid rgba(var(--gold-rgb),.15);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.historia-wystaw .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(var(--gold-rgb),.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(var(--gold-rgb),.05) 0%, transparent 60%);
  pointer-events: none;
}

body.historia-wystaw .breadcrumb {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
body.historia-wystaw .breadcrumb a { color: inherit; text-decoration: none; }
body.historia-wystaw .breadcrumb a:hover { color: var(--gold-light); }
body.historia-wystaw .breadcrumb span { color: var(--gold-light); }

body.historia-wystaw .page-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: .5rem;
}
body.historia-wystaw .page-subtitle {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 2.5rem;
}

body.historia-wystaw .hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
body.historia-wystaw .hstat {
  padding: 1.2rem 2.2rem;
  border-right: 1px solid rgba(var(--gold-rgb),.2);
  text-align: center;
}
body.historia-wystaw .hstat:last-child { border-right: none; }
body.historia-wystaw .hstat-val {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: .25rem;
}
body.historia-wystaw .hstat-label {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
body.historia-wystaw .gold-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.8rem auto 0;
}

body.historia-wystaw .table-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

body.historia-wystaw .filters-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.8rem;
}

body.historia-wystaw .filter-group { display: flex; gap: .4rem; flex-wrap: wrap; }
body.historia-wystaw .filter-label {
  font-family: "Cinzel", serif;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  align-self: center;
  margin-right: .2rem;
  white-space: nowrap;
}
body.historia-wystaw .filter-btn {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border: 1px solid rgba(var(--gold-rgb),.3);
  border-radius: 99px;
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  transition: all .2s;
}
body.historia-wystaw .filter-btn:hover { border-color: var(--gold); color: var(--gold-light); }
body.historia-wystaw .filter-btn.active {
  background: rgba(var(--gold-rgb),.1);
  border-color: var(--gold);
  color: var(--gold-light);
}
body.historia-wystaw .filter-divider {
  width: 1px;
  height: 24px;
  background: rgba(var(--gold-rgb),.2);
  align-self: center;
}

body.historia-wystaw .search-wrap { margin-left: auto; position: relative; }
body.historia-wystaw .search-input {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(var(--gold-rgb),.25);
  border-radius: 8px;
  padding: .5rem 1rem .5rem 2.2rem;
  color: var(--cream);
  font-family: "Lora", serif;
  font-size: .85rem;
  width: 220px;
  outline: none;
  transition: border-color .2s;
}
body.historia-wystaw .search-input::placeholder { color: var(--text-dim); }
body.historia-wystaw .search-input:focus { border-color: var(--gold); }

body.historia-wystaw .search-icon {
  position: absolute;
  left: .7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: var(--text-dim);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}

body.historia-wystaw .results-info {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: .82rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
body.historia-wystaw .results-info strong { color: var(--gold-light); font-style: normal; }

body.historia-wystaw .table-wrap {
  border: 1px solid rgba(var(--gold-rgb),.18);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(37,69,53,.35);
}

body.historia-wystaw table { width: 100%; border-collapse: collapse; }
body.historia-wystaw thead {
  background: rgba(28,51,38,.8);
  border-bottom: 1px solid rgba(var(--gold-rgb),.25);
}
body.historia-wystaw th {
  font-family: "Cinzel", serif;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  padding: .9rem 1rem;
  text-align: left;
  white-space: nowrap;
  user-select: none;
}
body.historia-wystaw th.sortable { cursor: pointer; transition: color .2s; }
body.historia-wystaw th.sortable:hover { color: var(--gold-light); }
body.historia-wystaw th.sorted-asc::after  { content: " ↑"; color: var(--gold); }
body.historia-wystaw th.sorted-desc::after { content: " ↓"; color: var(--gold); }

body.historia-wystaw tr.year-row td {
  background: rgba(28,51,38,.6);
  border-top: 1px solid rgba(var(--gold-rgb),.2);
  border-bottom: 1px solid rgba(var(--gold-rgb),.1);
  padding: .55rem 1rem;
}
body.historia-wystaw .year-badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
}
body.historia-wystaw .year-badge::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--gold-dim);
}
body.historia-wystaw .year-summary {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-left: .5rem;
}

body.historia-wystaw tr.data-row {
  border-bottom: 1px solid rgba(var(--gold-rgb),.08);
  transition: background .15s;
}
body.historia-wystaw tr.data-row:last-child { border-bottom: none; }
body.historia-wystaw tr.data-row:hover { background: rgba(var(--gold-rgb),.06); }
body.historia-wystaw tr.data-row.hidden { display: none; }

body.historia-wystaw td {
  padding: .75rem 1rem;
  font-size: .9rem;
  color: var(--text-body);
  vertical-align: middle;
}

body.historia-wystaw td.col-date {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: var(--cream);
  white-space: nowrap;
  min-width: 120px;
}
body.historia-wystaw td.col-city {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
}
body.historia-wystaw td.col-venue { color: var(--text-body); font-size: .85rem; }

body.historia-wystaw .venue-tag {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 0.60rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .15rem .5rem;
  border-radius: 99px;
  border: 1px solid;
  margin-top: .25rem;
}
body.historia-wystaw .tag-biblioteka  { border-color: rgba(100,160,220,.4); color: #7ab0d8; }
body.historia-wystaw .tag-muzeum      { border-color: rgba(var(--gold-rgb),.4);  color: var(--gold); }
body.historia-wystaw .tag-szkola      { border-color: rgba(140,200,140,.4); color: #8ec890; }
body.historia-wystaw .tag-dk          { border-color: rgba(200,140,200,.4); color: #c88ec8; }
body.historia-wystaw .tag-kosciol     { border-color: rgba(220,180,120,.4); color: #dcc07a; }
body.historia-wystaw .tag-inne        { border-color: rgba(180,180,180,.3); color: #aaa; }

body.historia-wystaw td.col-visitors { text-align: right; white-space: nowrap; }
body.historia-wystaw .visitors-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
}
body.historia-wystaw .visitors-bar-wrap {
  height: 3px;
  background: rgba(var(--gold-rgb),.15);
  border-radius: 99px;
  margin-top: .3rem;
  overflow: hidden;
}
body.historia-wystaw .visitors-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  border-radius: 99px;
  transition: width .4s ease;
}

body.historia-wystaw td.col-km {
  text-align: right;
  white-space: nowrap;
  font-family: "Lora", serif;
  font-size: .82rem;
  color: var(--text-dim);
}

body.historia-wystaw .no-results {
  text-align: center;
  padding: 3rem 1rem;
  font-family: "Lora", serif;
  font-style: italic;
  color: var(--text-dim);
  display: none;
}

body.historia-wystaw footer {
  border-top: 1px solid rgba(var(--gold-rgb),.15);
  padding: 2rem;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
body.historia-wystaw footer a { color: var(--gold-dim); text-decoration: none; }
body.historia-wystaw footer a:hover { color: var(--gold); }

@media (max-width: 800px) {
  body.historia-wystaw nav.site-nav { padding: 0 1.2rem; }
  body.historia-wystaw .nav-links { display: none; }
  body.historia-wystaw .hstat { padding: .9rem 1.2rem; }
  body.historia-wystaw .table-section { padding: 2rem .75rem 4rem; }

  body.historia-wystaw .filters-bar { gap: .6rem; }
  body.historia-wystaw .search-wrap { margin-left: 0; width: 100%; }
  body.historia-wystaw .search-input { width: 100%; }

  body.historia-wystaw th.col-km, body.historia-wystaw td.col-km { display: none; }
  body.historia-wystaw th.col-visitors, body.historia-wystaw td.col-visitors { min-width: 80px; }
}
@media (max-width: 560px) {
  body.historia-wystaw th.col-venue, body.historia-wystaw td.col-venue { display: none; }
  body.historia-wystaw .page-title { font-size: 2rem; }
}

/* ======================================================
   6) STRONA: Map (aplikacja) — body.mapa-wystaw
   ====================================================== */
body.mapa-wystaw {
  height: 100%;
  overflow: hidden;
  background: var(--forest);
  color: var(--text-body);
  font-family: "Lora", serif;
  display: flex;
  flex-direction: column;
}
html.mapa-wystaw, body.mapa-wystaw { height: 100%; }

body.mapa-wystaw nav.site-nav {
  flex-shrink: 0;
  height: 62px;
  background: rgba(28,51,38,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--gold-rgb),.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  position: relative;
}

body.mapa-wystaw .app-body {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* Sidebar */
body.mapa-wystaw .sidebar {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--forest-mid);
  border-right: 1px solid rgba(var(--gold-rgb),.18);
  z-index: 10;
  overflow: hidden;
}

body.mapa-wystaw .sidebar-head {
  flex-shrink: 0;
  padding: 1.4rem 1.4rem 1rem;
  border-bottom: 1px solid rgba(var(--gold-rgb),.15);
  background: rgba(28,51,38,.6);
}

body.mapa-wystaw .sidebar-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .15rem;
}

body.mapa-wystaw .sidebar-subtitle {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: .8rem;
  color: var(--text-dim);
}

/* Sidebar stats */
body.mapa-wystaw .sidebar-stats { display: flex; gap: 0; margin-top: .9rem; }
body.mapa-wystaw .sstat {
  flex: 1;
  text-align: center;
  padding: .5rem .3rem;
  border-right: 1px solid rgba(var(--gold-rgb),.15);
}
body.mapa-wystaw .sstat:last-child { border-right: none; }

body.mapa-wystaw .sstat-val {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
body.mapa-wystaw .sstat-lbl {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 0.60rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: .2rem;
}

/* Year filters */
body.mapa-wystaw .filters-wrap {
  flex-shrink: 0;
  padding: .8rem 1.4rem;
  border-bottom: 1px solid rgba(var(--gold-rgb),.12);
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
body.mapa-wystaw .filter-lbl {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-right: .2rem;
}
body.mapa-wystaw .yr-btn {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .28rem .7rem;
  border: 1px solid rgba(var(--gold-rgb),.3);
  border-radius: 99px;
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
body.mapa-wystaw .yr-btn:hover { border-color: var(--gold); color: var(--gold-light); }
body.mapa-wystaw .yr-btn.active {
  background: rgba(var(--gold-rgb),.1);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* List */
body.mapa-wystaw .sidebar-list {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--gold-rgb),.2) transparent;
}
body.mapa-wystaw .sidebar-list::-webkit-scrollbar { width: 4px; }
body.mapa-wystaw .sidebar-list::-webkit-scrollbar-thumb { background: rgba(var(--gold-rgb),.2); border-radius: 99px; }

body.mapa-wystaw .list-year-head {
  padding: .55rem 1.4rem .35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(28,51,38,.5);
  border-top: 1px solid rgba(var(--gold-rgb),.15);
  border-bottom: 1px solid rgba(var(--gold-rgb),.08);
  display: flex;
  align-items: center;
  gap: .6rem;
  position: sticky;
  top: 0;
  z-index: 2;
}
body.mapa-wystaw .list-year-count {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: .08em;
  color: var(--text-dim);
}

body.mapa-wystaw .list-item {
  padding: .7rem 1.4rem;
  border-bottom: 1px solid rgba(var(--gold-rgb),.07);
  cursor: pointer;
  transition: background .15s;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  position: relative;
}
body.mapa-wystaw .list-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform .2s;
  transform-origin: center;
}
body.mapa-wystaw .list-item:hover { background: rgba(var(--gold-rgb),.06); }
body.mapa-wystaw .list-item.active { background: rgba(var(--gold-rgb),.1); }
body.mapa-wystaw .list-item.active::before { transform: scaleY(1); }
body.mapa-wystaw .list-item.hidden { display: none; }

body.mapa-wystaw .li-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  margin-top: .35rem;
  transition: background .2s;
}
body.mapa-wystaw .list-item.active .li-dot,
body.mapa-wystaw .list-item:hover .li-dot { background: var(--gold); }

body.mapa-wystaw .li-content { flex: 1; min-width: 0; }
body.mapa-wystaw .li-city {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}
body.mapa-wystaw .li-venue {
  font-size: .78rem;
  color: var(--text-dim);
  margin-top: .1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.mapa-wystaw .li-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .3rem;
  flex-wrap: wrap;
}
body.mapa-wystaw .li-date {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text-dim);
}
body.mapa-wystaw .li-visitors {
  font-family: "Cormorant Garamond", serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-light);
}

/* Map */
body.mapa-wystaw .map-wrap { flex: 1; position: relative; overflow: hidden; }
body.mapa-wystaw #map { width: 100%; height: 100%; }

/* Leaflet tweaks */
body.mapa-wystaw .leaflet-container .popup-gallery-link { color: var(--gold-light); }
body.mapa-wystaw .leaflet-container .popup-gallery-link:hover { color: var(--cream); }

/* Marker */
body.mapa-wystaw .gold-pin { position: relative; cursor: pointer; }
body.mapa-wystaw .gold-pin .pin-inner {
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--gold);
  border: 2px solid var(--gold-light);
  box-shadow: 0 0 6px rgba(var(--gold-rgb),.5);
  transition: all .2s;
}
body.mapa-wystaw .gold-pin.active .pin-inner,
body.mapa-wystaw .gold-pin:hover .pin-inner {
  background: var(--gold-light);
  box-shadow: 0 0 14px rgba(212,170,85,.8);
  transform: rotate(-45deg) scale(1.3);
}
body.mapa-wystaw .gold-pin.visited .pin-inner {
  background: var(--gold-dim);
  border-color: var(--gold);
}

/* Popup */
body.mapa-wystaw .leaflet-popup-content-wrapper {
  background: var(--forest-mid);
  border: 1px solid rgba(var(--gold-rgb),.4);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  padding: 0;
  overflow: hidden;
}
body.mapa-wystaw .leaflet-popup-tip-container { display: none; }
body.mapa-wystaw .leaflet-popup-close-button {
  color: var(--gold-dim) !important;
  font-size: 18px !important;
  top: 8px !important;
  right: 10px !important;
}
body.mapa-wystaw .leaflet-popup-close-button:hover { color: var(--gold-light) !important; }
body.mapa-wystaw .leaflet-popup-content { margin: 0 !important; width: 240px !important; }

body.mapa-wystaw .popup-inner { padding: 1rem 1.1rem; }
body.mapa-wystaw .popup-top {
  border-bottom: 1px solid rgba(var(--gold-rgb),.2);
  padding-bottom: .7rem;
  margin-bottom: .7rem;
}
body.mapa-wystaw .popup-city {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}
body.mapa-wystaw .popup-venue {
  font-family: "Lora", serif;
  font-size: .78rem;
  color: var(--text-dim);
  margin-top: .15rem;
}
body.mapa-wystaw .popup-row { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .4rem; }
body.mapa-wystaw .popup-icon { flex-shrink: 0; margin-top: 2px; opacity: .5; }
body.mapa-wystaw .popup-icon svg {
  width: 12px; height: 12px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
body.mapa-wystaw .popup-val { font-family: "Lora", serif; font-size: .8rem; color: var(--text-body); line-height: 1.4; }
body.mapa-wystaw .popup-visitors {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
}
body.mapa-wystaw .popup-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .6rem;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  transition: color .2s;
}
body.mapa-wystaw .popup-gallery-link:hover { color: var(--gold-light); }
body.mapa-wystaw .popup-gallery-link svg {
  width: 11px; height: 11px;
  stroke: currentColor; fill: none;
  stroke-width: 2;
}

/* Legend + reset */
body.mapa-wystaw .map-legend {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  background: rgba(28,51,38,.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--gold-rgb),.25);
  border-radius: 10px;
  padding: .8rem 1rem;
}
body.mapa-wystaw .legend-title {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: .6rem;
}
body.mapa-wystaw .legend-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .4rem;
  font-family: "Lora", serif;
  font-size: 0.82rem;
  color: var(--text-body);
}
body.mapa-wystaw .legend-item:last-child { margin-bottom: 0; }

body.mapa-wystaw .legend-dot {
  width: 10px; height: 10px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  flex-shrink: 0;
}
body.mapa-wystaw .leg-gold    { background: var(--gold);     border: 1.5px solid var(--gold-light); }
body.mapa-wystaw .leg-dim     { background: var(--gold-dim); border: 1.5px solid var(--gold); }
body.mapa-wystaw .leg-active  { background: var(--gold-light); border: 1.5px solid #fff; box-shadow: 0 0 6px rgba(212,170,85,.8); }

body.mapa-wystaw .map-reset-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 500;
  background: rgba(28,51,38,.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--gold-rgb),.3);
  border-radius: 8px;
  padding: .45rem .9rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-body);
  cursor: pointer;
  transition: all .2s;
}
body.mapa-wystaw .map-reset-btn:hover { border-color: var(--gold); color: var(--gold-light); }

body.mapa-wystaw .mobile-toggle {
  display: none;
  position: absolute;
  top: .8rem;
  left: .8rem;
  z-index: 600;
  background: rgba(28,51,38,.95);
  border: 1px solid rgba(var(--gold-rgb),.4);
  border-radius: 8px;
  padding: .5rem .8rem;
  font-family: "Cinzel", serif;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  cursor: pointer;
}

@media (max-width: 860px) {
  body.mapa-wystaw .sidebar { width: 300px; }
}

@media (max-width: 640px) {
  body.mapa-wystaw { overflow: auto; }
  body.mapa-wystaw .app-body { flex-direction: column; overflow: auto; }

  body.mapa-wystaw .sidebar {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    border-right: none;
    border-bottom: 1px solid rgba(var(--gold-rgb),.2);
  }
  body.mapa-wystaw .sidebar.open { max-height: 500px; overflow-y: auto; }
  body.mapa-wystaw .map-wrap { height: 60vmin; min-height: 320px; flex: none; }
  body.mapa-wystaw .mobile-toggle { display: block; }
  body.mapa-wystaw .map-reset-btn { top: .8rem; right: .8rem; }
  body.mapa-wystaw .nav-links { display: none; }
}

/* ======================================================
   8) STRONA: Article — body.stacja
   ====================================================== */
body.stacja nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 3rem;
  background: rgba(28,51,38,0.97);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(var(--gold-rgb),.1);
}
body.stacja .site-nav .nav-links { display: flex; gap: 2.5rem; list-style: none; }
body.stacja .site-nav .nav-links a {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4c8b0;
  text-decoration: none;
  transition: color 0.3s;
}
body.stacja .nav-links a:hover,
body.stacja .nav-links a.active { color: var(--gold-light); }

body.stacja .article-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 8rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
  background: var(--forest);
}

body.stacja .article-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("");
  background-size: cover;
  background-position: center;
}

body.stacja .article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,51,38,0.55) 0%,
    rgba(28,51,38,0.75) 60%,
    rgba(28,51,38,0.97) 100%
  );
}

body.stacja .article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 250px 250px;
  pointer-events: none;
  z-index: 3;
}

body.stacja .article-hero-content { position: relative; z-index: 4; max-width: 760px; }

body.stacja .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

body.stacja .breadcrumb a,
body.stacja .breadcrumb span {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-dim);
  transition: color 0.3s;
}
body.stacja .breadcrumb a:hover { color: var(--gold); }
body.stacja .breadcrumb .sep { color: rgba(var(--gold-rgb),.3); font-size: 0.60rem; }
body.stacja .breadcrumb .current { color: var(--gold); }

body.stacja .station-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(var(--gold-rgb),.3);
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.5rem;
}
body.stacja .station-badge span {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
body.stacja .station-badge .station-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  font-weight: 300;
}

body.stacja .epoch-tag {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

body.stacja .article-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.8rem;
}

/* ornament w hero już jest wspólny (.ornament...) */

body.stacja .article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 7rem;
  align-items: start;
}

body.stacja .article-body { min-width: 0; }

body.stacja .article-lead {
  font-family: "Lora", serif;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.85;
  color: var(--forest);
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--cream-dark);
  font-style: italic;
}

body.stacja .article-body p {
  font-family: "Lora", serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #4a5a50;
  margin-bottom: 1.6rem;
}

body.stacja .article-body h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--forest);
  margin: 3rem 0 1.2rem;
  line-height: 1.3;
}

body.stacja .article-body h3 {
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest-pale);
  margin: 2.2rem 0 0.9rem;
}

body.stacja .pullquote {
  border-left: 3px solid var(--gold);
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to right, rgba(var(--gold-rgb),.06), transparent);
}
body.stacja .pullquote p {
  font-family: "Cormorant Garamond", serif !important;
  font-size: 1.4rem !important;
  font-style: italic;
  color: var(--forest) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

body.stacja .exhibit-note {
  background: var(--forest);
  color: var(--cream);
  padding: 2rem 2.2rem;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
body.stacja .exhibit-note::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dim));
}
body.stacja .exhibit-note-label {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}
body.stacja .exhibit-note p {
  font-family: "Lora", serif;
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  color: #c8bda5 !important;
  margin: 0 !important;
}

body.stacja .article-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--forest-light), var(--forest));
  border: 1px solid rgba(var(--gold-rgb),.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 2.5rem 0;
}
body.stacja .article-image svg {
  width: 40px; height: 40px;
  stroke: rgba(var(--gold-rgb),.35);
  fill: none;
  stroke-width: 1;
}
body.stacja .article-image figcaption {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212,200,176,0.3);
  margin-top: 0.3rem;
}
body.stacja .img-caption {
  font-family: "Lora", serif;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-dim);
  text-align: center;
  margin-top: -1.8rem;
  margin-bottom: 2.5rem;
}

body.stacja .article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 3rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
}
body.stacja .tag {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--cream-dark);
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
body.stacja .tag:hover { border-color: var(--gold-dim); color: var(--forest); }

/* Sticky post nav bar */
body.stacja .post-nav-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(28,51,38,0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(var(--gold-rgb),.15);
  padding: 0;
}
body.stacja .post-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  transition: background 0.25s;
  min-width: 0;
}
body.stacja .post-nav-item:hover { background: rgba(var(--gold-rgb),.07); }
body.stacja .post-nav-item.next { justify-content: flex-end; text-align: right; }

body.stacja .post-nav-arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid rgba(var(--gold-rgb),.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s;
}
body.stacja .post-nav-item:hover .post-nav-arrow { border-color: var(--gold); }
body.stacja .post-nav-arrow svg {
  width: 12px; height: 12px;
  stroke: var(--gold-dim);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s;
}
body.stacja .post-nav-item:hover .post-nav-arrow svg { stroke: var(--gold-light); }
body.stacja .post-nav-text { min-width: 0; }
body.stacja .post-nav-dir {
  font-family: "Cinzel", serif;
  font-size: 0.60rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 0.1rem;
}
body.stacja .post-nav-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 300;
  color: #d4c8b0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: 1.2;
}
body.stacja .post-nav-center {
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
body.stacja .post-nav-center span {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: rgba(var(--gold-rgb),.4);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Push footer above sticky bar */
body.stacja { padding-bottom: 56px; }

@media (max-width: 600px) {
  body.stacja .post-nav-center { display: none; }
  body.stacja .post-nav-item { padding: 0.85rem 1.2rem; }
  body.stacja .post-nav-title { font-size: 0.88rem; }
}

/* Sidebar */
body.stacja .article-sidebar { position: sticky; top: 6rem; }
body.stacja .sidebar-timeline {
  background: var(--forest);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
body.stacja .sidebar-tl-label {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}
body.stacja .sidebar-tl-list { list-style: none; position: relative; }
body.stacja .sidebar-tl-list::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-dim), rgba(122,97,48,0.2));
}
body.stacja .sidebar-tl-item { position: relative; padding: 0 0 1.2rem 2rem; }
body.stacja .sidebar-tl-item::before {
  content: "";
  position: absolute;
  left: 3px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: var(--forest);
  transition: background 0.3s, border-color 0.3s;
}
body.stacja .sidebar-tl-item.active::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb),.2);
}
body.stacja .sidebar-tl-item a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
body.stacja .sidebar-tl-year {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 300;
}
body.stacja .sidebar-tl-name {
  font-family: "Lora", serif;
  font-size: 0.82rem;
  color: #c8bda5;
  transition: color 0.3s;
  line-height: 1.4;
}
body.stacja .sidebar-tl-item:hover .sidebar-tl-name,
body.stacja .sidebar-tl-item.active .sidebar-tl-name { color: var(--cream); }
body.stacja .sidebar-tl-item.active .sidebar-tl-year { color: var(--gold); }

body.stacja .sidebar-info {
  border: 1px solid var(--cream-dark);
  background: var(--white);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}
body.stacja .sidebar-info-label {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 1.2rem;
}
body.stacja .sidebar-info dl { display: flex; flex-direction: column; gap: 0.9rem; }
body.stacja .sidebar-info dt {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}
body.stacja .sidebar-info dd {
  font-family: "Lora", serif;
  font-size: 0.92rem;
  color: var(--forest);
}
body.stacja .sidebar-back {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}
body.stacja .sidebar-back:hover { color: var(--forest); }
body.stacja .sidebar-back svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.stacja footer {
  background: #111e18;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
body.stacja footer span {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: #7a7060;
}

@media (max-width: 900px) {
  body.stacja .article-layout { grid-template-columns: 1fr; }
  body.stacja .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }
  body.stacja .sidebar-timeline { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body.stacja nav.site-nav { padding: 1.1rem 1.5rem; }
  body.stacja .site-nav .nav-links { display: none; }
  body.stacja .article-sidebar { grid-template-columns: 1fr; }
}
/* ---- 2) PRZEWODNIK ------------------------------------------------------ */

body.przewodnik {
  --text-body: #4a5a50;
  --text-dim:  #7a7060;  /* override bloku kontrastowego */
  background: var(--cream);
  color: var(--forest);
  font-family: "Lora", Georgia, serif;
  overflow-x: hidden;
}

body.przewodnik nav.site-nav {
position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.3rem 3rem;
      background: rgba(28,51,38,0.97);
      backdrop-filter: blur(4px);
      border-bottom: 1px solid rgba(var(--gold-rgb),.1);
}

body.przewodnik .nav-logo {
font-family: "Cinzel", serif;
      font-size: 0.9rem;
      letter-spacing: 0.22em;
      color: var(--gold-light);
      text-decoration: none;
      text-transform: uppercase;
}

body.przewodnik .site-nav .nav-links {
display: flex;
      gap: 2.5rem;
      list-style: none;
}

body.przewodnik .site-nav .nav-links a {
font-family: "Cinzel", serif;
      font-size: 0.75rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #d4c8b0;
      text-decoration: none;
      transition: color 0.3s;
}

body.przewodnik .site-nav .nav-links a:hover,
body.przewodnik .site-nav .nav-links a.active {
color: var(--gold-light);
}

body.przewodnik .page-hero {
position: relative;
      background: var(--forest);
      padding: 10rem 2rem 6rem;
      text-align: center;
      overflow: hidden;
}

body.przewodnik .page-hero::before {
content: "";
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 600px; height: 600px;
      border-radius: 50%;
      background: radial-gradient(ellipse at center,
        rgba(55,100,70,0.4) 0%, transparent 70%);
      pointer-events: none;
}

body.przewodnik .page-hero-content {
position: relative;
      z-index: 2;
      max-width: 700px;
      margin: 0 auto;
}

body.przewodnik .page-tag {
font-family: "Cinzel", serif;
      font-size: 0.75rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--gold);
      display: block;
      margin-bottom: 1.2rem;
}

body.przewodnik .page-title {
font-family: "Cormorant Garamond", serif;
      font-size: clamp(2.8rem, 7vw, 5rem);
      font-weight: 300;
      line-height: 1.05;
      color: var(--white);
      margin-bottom: 1.2rem;
}

body.przewodnik .page-title em {
font-style: italic;
      color: var(--gold-light);
}

body.przewodnik .page-desc {
font-family: "Lora", serif;
      font-size: 1.05rem;
      font-style: italic;
      line-height: 1.75;
      color: #c8bda5;
      max-width: 520px;
      margin: 0 auto 2.5rem;
}

body.przewodnik .epoch-filters {
display: flex;
      gap: 0.6rem;
      justify-content: center;
      flex-wrap: wrap;
}

body.przewodnik .epoch-btn {
font-family: "Cinzel", serif;
      font-size: 0.6rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--cream-dark);
      border: 1px solid rgba(212,200,176,0.25);
      background: transparent;
      padding: 0.55rem 1.2rem;
      cursor: pointer;
      transition: all 0.3s;
}

body.przewodnik .epoch-btn:hover {
border-color: var(--gold-dim);
      color: var(--gold-light);
}

body.przewodnik .epoch-btn.active {
background: var(--gold);
      border-color: var(--gold);
      color: var(--forest);
}

body.przewodnik .page-body {
max-width: 1000px;
      margin: 0 auto;
      padding: 6rem 2rem 8rem;
}

body.przewodnik .tl-track {
position: relative;
}

body.przewodnik .tl-track::before {
content: "";
      position: absolute;
      left: 23px;
      top: 8px;
      bottom: 0;
      width: 1px;
      background: linear-gradient(
        to bottom,
        var(--gold-dim) 0%,
        rgba(122,97,48,0.2) 100%
      );
}

body.przewodnik .epoch-group {
margin-bottom: 4rem;
}

body.przewodnik .epoch-group[data-epoch] {
transition: opacity 0.4s;
}

body.przewodnik .epoch-group.hidden {
display: none;
}

body.przewodnik .epoch-heading {
display: flex;
      align-items: center;
      gap: 1.5rem;
      margin-bottom: 2rem;
      padding-left: 56px;
      position: relative;
}

body.przewodnik .epoch-heading::before {
content: "";
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--forest);
      border: 2px solid var(--gold);
      box-shadow: 0 0 0 5px rgba(var(--gold-rgb),.12);
}

body.przewodnik .epoch-heading-inner {
border-bottom: 1px solid var(--cream-dark);
      padding-bottom: 0.8rem;
      flex: 1;
}

body.przewodnik .epoch-name {
font-family: "Cinzel", serif;
      font-size: 0.75rem;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--gold);
      display: block;
      margin-bottom: 0.25rem;
}

body.przewodnik .epoch-range {
font-family: "Cormorant Garamond", serif;
      font-size: 1.6rem;
      font-weight: 300;
      color: var(--forest);
      font-style: italic;
}

body.przewodnik .station-item {
display: flex;
      gap: 0;
      padding-left: 56px;
      position: relative;
      margin-bottom: 1rem;
}

body.przewodnik .station-item::before {
content: "";
      position: absolute;
      left: 17px;
      top: 28px;
      width: 13px; height: 13px;
      border-radius: 50%;
      background: var(--cream);
      border: 1px solid var(--gold-dim);
      transition: background 0.3s, border-color 0.3s;
      z-index: 1;
}

body.przewodnik .station-item:hover::before {
background: var(--gold);
      border-color: var(--gold);
}

body.przewodnik .station-item::after {
content: "";
      position: absolute;
      left: 30px;
      top: 34px;
      width: 26px;
      height: 1px;
      background: var(--cream-dark);
      transition: background 0.3s;
}

body.przewodnik .station-item:hover::after {
background: var(--gold-dim);
}

body.przewodnik .station-card {
flex: 1;
      background: var(--white);
      border: 1px solid var(--cream-dark);
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 0;
      text-decoration: none;
      color: inherit;
      transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
      position: relative;
      overflow: hidden;
}

body.przewodnik .station-card::before {
content: "";
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 3px;
      background: linear-gradient(to bottom, var(--gold), var(--gold-dim));
      transform: scaleY(0);
      transform-origin: top;
      transition: transform 0.35s ease;
}

body.przewodnik .station-card:hover {
border-color: rgba(var(--gold-rgb),.4);
      box-shadow: 0 8px 30px rgba(28,51,38,0.1);
      transform: translateX(4px);
}

body.przewodnik .station-card:hover::before {
transform: scaleY(1);
}

body.przewodnik .station-num-col {
padding: 1.4rem 1.4rem 1.4rem 1.8rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      border-right: 1px solid var(--cream-dark);
      min-width: 64px;
      gap: 0.3rem;
}

body.przewodnik .station-num {
font-family: "Cormorant Garamond", serif;
      font-size: 1.6rem;
      font-weight: 300;
      color: var(--gold-light);
      line-height: 1;
}

body.przewodnik .station-num-label {
font-family: "Cinzel", serif;
      font-size: 0.60rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--text-dim);
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      margin-top: 0.4rem;
}

body.przewodnik .station-content {
padding: 1.4rem 1.8rem;
      min-width: 0;
}

body.przewodnik .station-year {
font-family: "Cormorant Garamond", serif;
      font-size: 0.95rem;
      font-style: italic;
      color: var(--gold);
      display: block;
      margin-bottom: 0.25rem;
}

body.przewodnik .station-title {
font-family: "Cormorant Garamond", serif;
      font-size: 1.45rem;
      font-weight: 300;
      color: var(--forest);
      line-height: 1.2;
      margin-bottom: 0.6rem;
}

body.przewodnik .station-desc {
font-family: "Lora", serif;
      font-size: 0.9rem;
      line-height: 1.7;
      color: var(--text-body);
}

body.przewodnik .station-tags {
display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin-top: 0.8rem;
}

body.przewodnik .station-tag {
font-family: "Cinzel", serif;
      font-size: 0.60rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--text-dim);
      background: var(--cream-mid);
      padding: 0.25rem 0.6rem;
}

body.przewodnik .station-arrow-col {
padding: 1.4rem 1.4rem 1.4rem 0.8rem;
      display: flex;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s;
}

body.przewodnik .station-card:hover .station-arrow-col {
opacity: 1;
}

body.przewodnik .station-arrow-col svg {
width: 16px; height: 16px;
      stroke: var(--gold);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
}

body.przewodnik .summary-strip {
background: var(--forest);
      padding: 3.5rem 2rem;
      margin-bottom: 0;
}

body.przewodnik .summary-strip .inner {
max-width: 1000px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
      flex-wrap: wrap;
}

body.przewodnik .summary-text {
font-family: "Lora", serif;
      font-style: italic;
      font-size: 1rem;
      color: #c8bda5;
      max-width: 500px;
}

body.przewodnik .summary-stats {
display: flex;
      gap: 2.5rem;
}

body.przewodnik .summary-stat {
text-align: center;
}

body.przewodnik .summary-stat .n {
font-family: "Cormorant Garamond", serif;
      font-size: 2.2rem;
      font-weight: 300;
      color: var(--gold-light);
      display: block;
      line-height: 1;
}

body.przewodnik .summary-stat .l {
font-family: "Cinzel", serif;
      font-size: 0.68rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--cream-dark);
}

body.przewodnik footer {
background: #111e18;
      padding: 2.5rem 3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
}

body.przewodnik footer span {
font-family: "Cinzel", serif;
      font-size: 0.6rem;
      letter-spacing: 0.18em;
      color: #7a7060;
}

body.przewodnik .footer-logo {
font-family: "Cinzel", serif;
      font-size: 0.85rem;
      letter-spacing: 0.2em;
      color: var(--gold-dim);
      text-decoration: none;
}

@media (max-width: 700px) {
body.przewodnik nav.site-nav {
padding: 1.1rem 1.5rem;
}

body.przewodnik .site-nav .nav-links {
display: none;
}

body.przewodnik .station-card {
grid-template-columns: auto 1fr;
}

body.przewodnik .station-arrow-col {
display: none;
}

body.przewodnik .station-num-col {
min-width: 52px; padding: 1.2rem 1rem 1.2rem 1.4rem;
}

body.przewodnik .station-content {
padding: 1.2rem 1.2rem 1.2rem 1.4rem;
}

body.przewodnik .epoch-heading {
padding-left: 50px;
}

body.przewodnik .station-item {
padding-left: 50px;
}

body.przewodnik .tl-track::before {
left: 19px;
}

body.przewodnik .station-item::after {
left: 26px; width: 24px;
}

body.przewodnik .station-item::before {
left: 13px;
}

body.przewodnik .epoch-heading::before {
left: 6px; width: 26px; height: 26px;
}
}
	

/* ======================================================
   body.stacja
   ====================================================== */

body.stacja {
  --text-body: #4a5a50;
  --text-dim:  #7a7060;
  background: var(--cream);
  color: var(--forest);
  font-family: "Lora", Georgia, serif;
  overflow-x: hidden;
  padding-bottom: 56px;
}

/* ─── NAV ──────────────────────────────────────────────── */


body.stacja .nav-logo {
      font-family: "Cinzel", serif;
      font-size: 0.9rem;
      letter-spacing: 0.22em;
      color: var(--gold-light);
      text-decoration: none;
      text-transform: uppercase;
    }

body.stacja .station-num {
      font-family: "Cormorant Garamond", serif;
      font-size: 1.1rem;
      color: var(--gold-light);
      font-weight: 300;
    }

/* Epoch tag */


/* Article title */


body.stacja .ornament {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }

body.stacja .ornament-line {
      width: 60px; height: 1px;
      background: linear-gradient(to right, transparent, var(--gold-dim));
    }

body.stacja .ornament-line.r { background: linear-gradient(to left, transparent, var(--gold-dim)); }

body.stacja .ornament-diamond { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* ─── LAYOUT: ARTICLE + SIDEBAR ───────────────────────── */


/* ─── ARTICLE CONTENT ──────────────────────────────────── */


/* Lead paragraph */


/* Body text */
body.stacja .article-body p {
      font-family: "Lora", serif;
      font-size: 1.05rem;
      line-height: 1.9;
      color: var(--text-body);
      margin-bottom: 1.6rem;
    }


/* Push footer above sticky bar */
body.stacja footer { margin-bottom: 0; }

/* ─── FOOTER ───────────────────────────────────────────── */

body.stacja .footer-logo {
      font-family: "Cinzel", serif;
      font-size: 0.85rem;
      letter-spacing: 0.2em;
      color: var(--gold-dim);
      text-decoration: none;
    }

/* ─── RESPONSIVE ───────────────────────────────────────── */


@media (max-width: 600px) {
  body.stacja nav.site-nav { padding: 1.1rem 1.5rem; }
  body.stacja .site-nav .nav-links { display: none; }
  body.stacja .article-sidebar { grid-template-columns: 1fr; }
  body.stacja .post-nav { grid-template-columns: 1fr; }
}


/* ======================================================
   body.podcasty
   ====================================================== */

    /* ======================================================
       10) STRONA: Podcasts — body.podcasty
       ====================================================== */

    body.podcasty {
      background: var(--forest);
      color: var(--text-body);
      font-family: "Lora", serif;
      min-height: 100vh;
      padding-bottom: 88px; /* sticky player */
    }

    /* ── NAV ── */
    body.podcasty nav.site-nav {
      position: sticky; top: 0; z-index: 100;
      height: 64px;
      background: rgba(28,51,38,.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(var(--gold-rgb),.18);
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 2.5rem;
    }
    body.podcasty .nav-logo {
      font-family: "Cinzel", serif;
      font-size: 0.75rem; letter-spacing: .22em; text-transform: uppercase;
      color: var(--gold); text-decoration: none;
    }
    body.podcasty .nav-links {
      display: flex; gap: 2.5rem; list-style: none;
    }
    body.podcasty .nav-links a {
      font-family: "Cinzel", serif;
      font-size: 0.75rem; letter-spacing: .2em; text-transform: uppercase;
      color: var(--text-body); text-decoration: none; transition: color .25s;
    }
    body.podcasty .nav-links a:hover,
    body.podcasty .nav-links a.active { color: var(--gold-light); }

    /* ── HERO ── */
    body.podcasty .page-hero {
      position: relative;
      padding: 6rem 2rem 5rem;
      text-align: center;
      overflow: hidden;
    }
    body.podcasty .page-hero::before {
      content: "";
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(var(--gold-rgb),.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 20%, rgba(37,69,53,.6) 0%, transparent 60%);
      pointer-events: none;
    }
    /* dekoracyjne fale w tle */
    body.podcasty .page-hero::after {
      content: "";
      position: absolute; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,100 Q100,60 200,100 Q300,140 400,100 Q500,60 600,100 Q700,140 800,100' fill='none' stroke='rgba(var(--gold-rgb),.04)' stroke-width='1'/%3E%3Cpath d='M0,120 Q100,80 200,120 Q300,160 400,120 Q500,80 600,120 Q700,160 800,120' fill='none' stroke='rgba(var(--gold-rgb),.03)' stroke-width='1'/%3E%3C/svg%3E");
      background-size: 800px 200px;
      background-repeat: repeat-x;
      background-position: 0 60%;
      opacity: .7;
      pointer-events: none;
    }

    body.podcasty .hero-eyebrow {
      position: relative;
      font-family: "Cinzel", serif;
      font-size: .6rem; letter-spacing: .25em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 1.2rem;
      display: flex; align-items: center; justify-content: center; gap: .7rem;
    }
    body.podcasty .hero-eyebrow::before,
    body.podcasty .hero-eyebrow::after {
      content: "";
      display: inline-block; width: 24px; height: 1px;
      background: var(--gold-dim); opacity: .5;
    }

    body.podcasty .hero-title {
      position: relative;
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2.8rem, 7vw, 5rem);
      font-weight: 300; line-height: 1.05;
      color: var(--cream); margin-bottom: .6rem;
    }
    body.podcasty .hero-title em {
      font-style: italic; color: var(--gold-light);
    }

    body.podcasty .hero-sub {
      position: relative;
      font-family: "Lora", serif; font-style: italic;
      font-size: clamp(.9rem, 2vw, 1.05rem);
      color: var(--text-body); max-width: 560px;
      margin: 0 auto 3rem; line-height: 1.7;
    }

    /* stats w hero */
    body.podcasty .hero-stats {
      position: relative;
      display: inline-flex; align-items: stretch;
      border: 1px solid rgba(var(--gold-rgb),.2);
      margin-bottom: 3.2rem;
    }
    body.podcasty .hs-item {
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      padding: .7rem 1.8rem; gap: .15rem;
    }
    body.podcasty .hs-item + .hs-item {
      border-left: 1px solid rgba(var(--gold-rgb),.15);
    }
    body.podcasty .hs-val {
      font-family: "Cormorant Garamond", serif;
      font-size: 1.6rem; font-weight: 300;
      color: var(--gold-light); line-height: 1;
    }
    body.podcasty .hs-label {
      font-family: "Cinzel", serif;
      font-size: 0.80rem; letter-spacing: .18em; text-transform: uppercase;
      color: var(--gold);
    }

    /* filtry */
    body.podcasty .filters {
      position: relative;
      display: flex; justify-content: center;
      gap: .35rem; flex-wrap: wrap;
    }
    body.podcasty .f-btn {
      font-family: "Cinzel", serif;
      font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase;
      padding: .4rem 1.1rem;
      border: 1px solid rgba(var(--gold-rgb),.25); border-radius: 99px;
      background: transparent; color: var(--text-body);
      cursor: pointer; transition: all .2s;
      display: flex; align-items: center; gap: .4rem;
    }
    body.podcasty .f-btn:hover { border-color: var(--gold); color: var(--gold-light); }
    body.podcasty .f-btn.active {
      background: rgba(var(--gold-rgb),.1);
      border-color: var(--gold); color: var(--gold-light);
    }
    body.podcasty .f-btn .f-dot {
      display: inline-block; width: 5px; height: 5px; border-radius: 50%;
    }
    body.podcasty .f-btn[data-filter="przewodnik"] .f-dot { background: #7ab8a0; }
    body.podcasty .f-btn[data-filter="rozmowy"] .f-dot { background: var(--gold); }
    body.podcasty .f-btn[data-filter="specjalne"] .f-dot { background: #a07ab8; }

    /* ── SEKCJA EPIZODÓW ── */
    body.podcasty .episodes-section {
      max-width: 1180px; margin: 0 auto;
      padding: 2.5rem 1.5rem 5rem;
    }

    body.podcasty .section-info {
      display: flex; align-items: baseline;
      justify-content: space-between;
      margin-bottom: 1.8rem; flex-wrap: wrap; gap: .5rem;
    }
    body.podcasty .ep-count {
      font-family: "Lora", serif; font-style: italic;
      font-size: .82rem; color: var(--text-dim);
    }
    body.podcasty .ep-count strong {
      color: var(--gold-light); font-style: normal;
    }

    body.podcasty .episodes-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.2rem;
    }

    /* ── KARTA EPIZODU ── */
    body.podcasty .ep-card {
      background: var(--forest-mid);
      border: 1px solid rgba(var(--gold-rgb),.1);
      border-radius: 3px;
      overflow: hidden;
      cursor: pointer;
      transition: border-color .3s, transform .3s cubic-bezier(.25,.46,.45,.94);
      position: relative;
      opacity: 0; transform: translateY(16px);
      transition: opacity .5s ease, transform .5s cubic-bezier(.25,.46,.45,.94),
                  border-color .3s;
    }
    body.podcasty .ep-card.revealed {
      opacity: 1; transform: translateY(0);
    }
    body.podcasty .ep-card:hover {
      border-color: rgba(var(--gold-rgb),.35);
      transform: translateY(-3px);
    }
    body.podcasty .ep-card.playing {
      border-color: var(--gold);
      box-shadow: 0 0 0 1px rgba(var(--gold-rgb),.2), 0 16px 48px rgba(0,0,0,.3);
    }

    /* złota kreska lewa */
    body.podcasty .ep-card::before {
      content: "";
      position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
      background: linear-gradient(to bottom, var(--gold-dim), var(--gold-light), var(--gold-dim));
      transform: scaleY(0); transform-origin: bottom;
      transition: transform .4s cubic-bezier(.25,.46,.45,.94);
    }
    body.podcasty .ep-card:hover::before,
    body.podcasty .ep-card.playing::before { transform: scaleY(1); }

    /* miniatura */
    body.podcasty .ep-thumb {
      position: relative;
      background: var(--forest);
      aspect-ratio: 3 / 2;
      overflow: hidden;
      display: flex; align-items: center; justify-content: center;
    }
    body.podcasty .ep-thumb img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform .5s cubic-bezier(.25,.46,.45,.94);
    }
    body.podcasty .ep-card:hover .ep-thumb img { transform: scale(1.05); }

    /* placeholder miniatury */
    body.podcasty .ep-thumb-placeholder {
      width: 100%; height: 100%;
      background: linear-gradient(135deg, rgba(var(--gold-rgb),.06) 0%, transparent 60%, rgba(37,69,53,1) 100%);
      display: flex; align-items: center; justify-content: center;
      position: relative;
    }
    /* animowane fale w placeholderze */
    body.podcasty .wave-icon {
      display: flex; align-items: center; gap: 3px; height: 28px;
    }
    body.podcasty .wave-bar {
      width: 3px; border-radius: 99px;
      background: rgba(var(--gold-rgb),.3);
      animation: wavePulse 1.4s ease-in-out infinite;
    }
    body.podcasty .wave-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
    body.podcasty .wave-bar:nth-child(2) { height: 70%; animation-delay: .1s; }
    body.podcasty .wave-bar:nth-child(3) { height: 100%; animation-delay: .2s; }
    body.podcasty .wave-bar:nth-child(4) { height: 55%; animation-delay: .3s; }
    body.podcasty .wave-bar:nth-child(5) { height: 80%; animation-delay: .15s; }
    body.podcasty .wave-bar:nth-child(6) { height: 45%; animation-delay: .05s; }
    body.podcasty .wave-bar:nth-child(7) { height: 65%; animation-delay: .25s; }
    @keyframes wavePulse {
      0%, 100% { transform: scaleY(.4); opacity: .4; }
      50%       { transform: scaleY(1);  opacity: 1; }
    }

    /* overlay play na miniaturze */
    body.podcasty .ep-play-overlay {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      background: rgba(10,22,15,.4);
      opacity: 0; transition: opacity .25s;
    }
    body.podcasty .ep-card:hover .ep-play-overlay { opacity: 1; }
    body.podcasty .ep-card.playing .ep-play-overlay { opacity: 1; }

    body.podcasty .ep-play-btn {
      width: 44px; height: 44px;
      border: 1.5px solid rgba(var(--gold-rgb),.7);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      background: rgba(28,51,38,.8);
      transition: border-color .2s, background .2s, transform .2s;
    }
    body.podcasty .ep-card:hover .ep-play-btn {
      border-color: var(--gold-light);
      background: rgba(28,51,38,.95);
      transform: scale(1.08);
    }
    body.podcasty .ep-play-btn svg {
      width: 14px; height: 14px;
      fill: var(--gold-light); stroke: none;
    }
    /* ikona pause gdy gra */
    body.podcasty .ep-card.playing .ep-play-btn .icon-play { display: none; }
    body.podcasty .ep-play-btn .icon-pause { display: none; }
    body.podcasty .ep-card.playing .ep-play-btn .icon-pause { display: block; }

    /* typ (YouTube / MP3) badge */
    body.podcasty .ep-type-badge {
      position: absolute; top: .6rem; right: .6rem;
      font-family: "Cinzel", serif;
      font-size: 0.60rem; letter-spacing: .12em; text-transform: uppercase;
      padding: .25rem .55rem;
      border-radius: 2px;
      backdrop-filter: blur(4px);
    }
    body.podcasty .ep-type-badge.yt {
      background: rgba(255,60,40,.75);
      color: #fff;
    }
    body.podcasty .ep-type-badge.mp3 {
      background: rgba(28,51,38,.85);
      border: 1px solid rgba(var(--gold-rgb),.35);
      color: var(--gold-light);
    }

    /* treść karty */
    body.podcasty .ep-body {
      padding: 1.1rem 1.2rem 1.2rem;
    }
    body.podcasty .ep-meta-row {
      display: flex; align-items: center;
      justify-content: space-between;
      margin-bottom: .5rem;
    }
    body.podcasty .ep-cat {
      display: flex; align-items: center; gap: .35rem;
      font-family: "Cinzel", serif;
      font-size: 0.60rem; letter-spacing: .14em; text-transform: uppercase;
      color: var(--gold-dim);
    }
    body.podcasty .ep-cat .cat-dot {
      display: inline-block; width: 4px; height: 4px; border-radius: 50%;
    }
    body.podcasty .ep-cat[data-cat="przewodnik"] .cat-dot { background: #7ab8a0; }
    body.podcasty .ep-cat[data-cat="rozmowy"]    .cat-dot { background: var(--gold); }
    body.podcasty .ep-cat[data-cat="specjalne"]  .cat-dot { background: #a07ab8; }

    body.podcasty .ep-duration {
      font-family: "Cinzel", serif;
      font-size: 0.60rem; letter-spacing: .1em;
      color: var(--text-dim);
    }
    body.podcasty .ep-num {
      font-family: "Cormorant Garamond", serif;
      font-size: .78rem; font-style: italic;
      color: var(--gold-dim); margin-bottom: .25rem;
    }
    body.podcasty .ep-title {
      font-family: "Cormorant Garamond", serif;
      font-size: 1.15rem; font-weight: 400;
      color: var(--cream); line-height: 1.3;
      margin-bottom: .6rem;
    }
    body.podcasty .ep-desc {
      font-family: "Lora", serif;
      font-size: .95rem; line-height: 1.65;
      color: var(--cream);
      margin-bottom: .9rem;
    }
    body.podcasty .ep-footer {
      display: flex; align-items: center;
      justify-content: space-between;
      padding-top: .8rem;
      border-top: 1px solid rgba(var(--gold-rgb),.1);
    }
    body.podcasty .ep-related-link {
      font-family: "Cinzel", serif;
      font-size: 0.60rem; letter-spacing: .12em; text-transform: uppercase;
      color: var(--gold-dim); text-decoration: none;
      display: flex; align-items: center; gap: .35rem;
      transition: color .2s;
    }
    body.podcasty .ep-related-link:hover { color: var(--gold-light); }
    body.podcasty .ep-related-link svg {
      width: 10px; height: 10px;
      stroke: currentColor; fill: none;
      stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    }
    body.podcasty .ep-platforms {
      display: flex; gap: .4rem;
    }
    body.podcasty .ep-platform-ico {
      width: 24px; height: 24px;
      border: 1px solid rgba(var(--gold-rgb),.2);
      display: flex; align-items: center; justify-content: center;
      transition: border-color .2s;
      text-decoration: none;
      color: var(--gold-dim);
    }
    body.podcasty .ep-platform-ico:hover { border-color: var(--gold-light); color: var(--gold-light); }
    body.podcasty .ep-platform-ico svg {
      width: 11px; height: 11px;
      fill: currentColor; stroke: none;
    }

    /* ── BRAK WYNIKÓW ── */
    body.podcasty .no-results {
      grid-column: 1/-1;
      text-align: center; padding: 5rem 1rem;
      font-family: "Lora", serif; font-style: italic;
      color: var(--text-dim); display: none;
    }

    /* ── STICKY PLAYER ── */
    body.podcasty .audio-player {
      position: fixed; bottom: 0; left: 0; right: 0;
      z-index: 200;
      height: 88px;
      background: rgba(14,28,20,.97);
      backdrop-filter: blur(16px);
      border-top: 1px solid rgba(var(--gold-rgb),.2);
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 1.5rem;
      padding: 0 2rem;
      transform: translateY(100%);
      transition: transform .4s cubic-bezier(.25,.46,.45,.94);
    }
    body.podcasty .audio-player.visible {
      transform: translateY(0);
    }

    /* lewa — info o odcinku */
    body.podcasty .player-info {
      display: flex; align-items: center; gap: .9rem;
      min-width: 0;
    }
    body.podcasty .player-thumb {
      width: 48px; height: 48px; flex-shrink: 0;
      background: var(--forest-mid);
      border: 1px solid rgba(var(--gold-rgb),.2);
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }
    body.podcasty .player-thumb img {
      width: 100%; height: 100%; object-fit: cover;
    }
    body.podcasty .player-thumb .mini-wave {
      display: flex; align-items: center; gap: 2px; height: 18px;
    }
    body.podcasty .player-thumb .wave-bar {
      width: 2px;
    }

    body.podcasty .player-meta { min-width: 0; }
    body.podcasty .player-cat {
      font-family: "Cinzel", serif;
      font-size: 0.60rem; letter-spacing: .15em; text-transform: uppercase;
      color: var(--gold-dim); display: block; margin-bottom: .15rem;
    }
    body.podcasty .player-title {
      font-family: "Cormorant Garamond", serif;
      font-size: 1rem; font-weight: 400;
      color: var(--cream);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      display: block;
    }

    /* środek — kontrolki */
    body.podcasty .player-controls {
      display: flex; flex-direction: column;
      align-items: center; gap: .55rem;
      flex-shrink: 0;
    }
    body.podcasty .player-btns {
      display: flex; align-items: center; gap: 1rem;
    }
    body.podcasty .p-btn {
      background: none; border: none; cursor: pointer;
      color: var(--gold-dim); transition: color .2s;
      display: flex; align-items: center; justify-content: center;
      padding: 0;
    }
    body.podcasty .p-btn:hover { color: var(--gold-light); }
    body.podcasty .p-btn svg {
      width: 16px; height: 16px;
      stroke: currentColor; fill: none;
      stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    }
    body.podcasty .p-btn-play {
      width: 42px; height: 42px;
      border: 1.5px solid rgba(var(--gold-rgb),.4) !important;
      border-radius: 50%;
      color: var(--gold-light) !important;
      transition: border-color .2s, background .2s, transform .2s !important;
    }
    body.podcasty .p-btn-play:hover {
      border-color: var(--gold-light) !important;
      background: rgba(var(--gold-rgb),.08);
      transform: scale(1.05);
    }
    body.podcasty .p-btn-play svg { width: 14px; height: 14px; }
    body.podcasty .icon-pause-p { display: none; fill: currentColor !important; stroke: none !important; }
    body.podcasty .icon-play-p  { fill: currentColor !important; stroke: none !important; }
    body.podcasty .audio-player.is-playing .icon-play-p  { display: none; }
    body.podcasty .audio-player.is-playing .icon-pause-p { display: block; }

    /* pasek postępu */
    body.podcasty .player-progress {
      display: flex; align-items: center; gap: .7rem;
      width: 280px;
    }
    body.podcasty .p-time {
      font-family: "Cinzel", serif;
      font-size: 0.60rem; letter-spacing: .08em;
      color: var(--text-dim); white-space: nowrap;
      min-width: 32px;
    }
    body.podcasty .p-time.total { text-align: right; }
    body.podcasty .progress-track {
      flex: 1; height: 2px;
      background: rgba(var(--gold-rgb),.15);
      border-radius: 99px;
      position: relative; cursor: pointer;
    }
    body.podcasty .progress-fill {
      height: 100%; border-radius: 99px;
      background: linear-gradient(to right, var(--gold-dim), var(--gold-light));
      width: 0%;
      transition: width .1s linear;
      pointer-events: none;
    }
    body.podcasty .progress-track:hover .progress-fill {
      background: var(--gold-light);
    }

    /* prawa — głośność + zamknij */
    body.podcasty .player-right {
      display: flex; align-items: center;
      justify-content: flex-end; gap: 1.2rem;
    }
    body.podcasty .volume-wrap {
      display: flex; align-items: center; gap: .5rem;
    }
    body.podcasty .volume-icon {
      color: var(--text-dim); cursor: pointer;
      transition: color .2s;
      display: flex;
    }
    body.podcasty .volume-icon:hover { color: var(--gold-light); }
    body.podcasty .volume-icon svg {
      width: 14px; height: 14px;
      stroke: currentColor; fill: none;
      stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    }
    body.podcasty .volume-track {
      width: 70px; height: 2px;
      background: rgba(var(--gold-rgb),.15);
      border-radius: 99px;
      position: relative; cursor: pointer;
    }
    body.podcasty .volume-fill {
      height: 100%; border-radius: 99px;
      background: rgba(var(--gold-rgb),.4);
      width: 75%;
    }
    body.podcasty .player-close {
      width: 30px; height: 30px;
      border: 1px solid rgba(var(--gold-rgb),.2);
      background: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: var(--text-dim); transition: all .2s;
    }
    body.podcasty .player-close:hover {
      border-color: var(--gold-dim); color: var(--gold-light);
    }
    body.podcasty .player-close svg {
      width: 12px; height: 12px;
      stroke: currentColor; fill: none;
      stroke-width: 2.5; stroke-linecap: round;
    }

    /* ── YOUTUBE MODAL ── */
    body.podcasty .yt-modal {
      position: fixed; inset: 0; z-index: 300;
      background: rgba(6,14,10,.92);
      backdrop-filter: blur(10px);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none;
      transition: opacity .3s ease;
    }
    body.podcasty .yt-modal.open {
      opacity: 1; pointer-events: all;
    }
    body.podcasty .yt-modal-inner {
      position: relative;
      width: min(840px, calc(100vw - 48px));
    }
    body.podcasty .yt-modal-close {
      position: absolute; top: -44px; right: 0;
      width: 36px; height: 36px;
      border: 1px solid rgba(var(--gold-rgb),.3);
      background: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: var(--gold-dim); transition: all .2s;
    }
    body.podcasty .yt-modal-close:hover { border-color: var(--gold); color: var(--gold-light); }
    body.podcasty .yt-modal-close svg {
      width: 14px; height: 14px;
      stroke: currentColor; fill: none;
      stroke-width: 2.5; stroke-linecap: round;
    }
    body.podcasty .yt-ratio {
      aspect-ratio: 16/9;
    }
    body.podcasty .yt-ratio iframe {
      width: 100%; height: 100%; display: block; border: none;
    }

    /* ── FOOTER ── */
    body.podcasty footer {
      border-top: 1px solid rgba(var(--gold-rgb),.12);
      padding: 2rem;
      text-align: center;
      font-family: "Cinzel", serif; font-size: 0.68rem;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--text-dim);
    }
    body.podcasty footer a { color: var(--gold-dim); text-decoration: none; }
    body.podcasty footer a:hover { color: var(--gold); }

    /* ── RESPONSIVE ── */
    @media (max-width: 960px) {
      body.podcasty .episodes-grid { grid-template-columns: repeat(2, 1fr); }
      body.podcasty .player-progress { width: 200px; }
    }
    @media (max-width: 640px) {
      body.podcasty .episodes-grid { grid-template-columns: 1fr; }
      body.podcasty .nav-links { display: none; }
      body.podcasty .player-right { display: none; }
      body.podcasty .player-progress { width: 160px; }
      body.podcasty .audio-player { grid-template-columns: 1fr auto; padding: 0 1rem; }
    }
  

/* ======================================================
   body.mapa-wystaw
   ====================================================== */

body.mapa-wystaw {
  --forest-light: #2e5440;
  --gold-dim:     #f4c66b;
  --gold-faint:   rgba(var(--gold-rgb),.1);
  --text-mid:     #4a5a50;  /* override bloku kontrastowego */
  --text-dim:     #C2AE8E;
  --nav-h:        62px;
  --sidebar-w:    360px;
  background: var(--forest);
  color: var(--text-body);
  font-family: "Lora", serif;
  display: flex;
  flex-direction: column;
}

body.mapa-wystaw html, body.mapa-wystaw { height: 100%; overflow: hidden; }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
body.mapa-wystaw nav.site-nav {
  flex-shrink: 0;
  height: var(--nav-h);
  background: rgba(28,51,38,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--gold-rgb),.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  position: relative;
}

body.mapa-wystaw .nav-logo {
  font-family: "Cinzel", serif;
  font-size: .9rem;
  letter-spacing: .08em;
  color: var(--gold-light);
  text-decoration: none;
}

body.mapa-wystaw .nav-links { display: flex; gap: 1.8rem; list-style: none; }

body.mapa-wystaw .nav-links a {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-body);
  text-decoration: none;
  transition: color .2s;
}

body.mapa-wystaw .nav-links a:hover, body.mapa-wystaw .nav-links a.active { color: var(--gold-light); }

/* ══════════════════════════════════════
   GŁÓWNY LAYOUT
══════════════════════════════════════ */

/* ══════════════════════════════════════
   SIDEBAR
══════════════════════════════════════ */
body.mapa-wystaw .sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--forest-mid);
  border-right: 1px solid rgba(var(--gold-rgb),.18);
  z-index: 10;
  overflow: hidden;
}

body.mapa-wystaw .yr-btn.active {
  background: var(--gold-faint);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ══════════════════════════════════════
   MOBILE TOGGLE
══════════════════════════════════════ */


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 860px) {
  body.mapa-wystaw :root { --sidebar-w: 300px; }
}

@media (max-width: 640px) {
  body.mapa-wystaw html, body.mapa-wystaw { overflow: auto; }
  body.mapa-wystaw .app-body { flex-direction: column; overflow: auto; }
  body.mapa-wystaw .sidebar {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    border-right: none;
    border-bottom: 1px solid rgba(var(--gold-rgb),.2);
  }
  body.mapa-wystaw .sidebar.open { max-height: 500px; overflow-y: auto; }
  body.mapa-wystaw .map-wrap { height: 60vmin; min-height: 320px; flex: none; }
  body.mapa-wystaw .mobile-toggle { display: block; }
  body.mapa-wystaw .map-reset-btn { top: .8rem; right: .8rem; }
  body.mapa-wystaw .nav-links { display: none; }
}


/* ======================================================
   body.galeria
   ====================================================== */

body.galeria {
  --forest-light: #2e5440;
  --text-mid:     #4a5a50;  /* override bloku kontrastowego */
  --text-dim:     #7a7060;  /* override bloku kontrastowego */
  --nav-h:        64px;
  background: var(--forest);
  color: var(--text-body);
  font-family: "Lora", serif;
  min-height: 100vh;
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
body.galeria nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(28,51,38,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--gold-rgb),.18);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
}

body.galeria .nav-logo {
  font-family: "Cinzel", serif; font-size: .9rem;
  letter-spacing: .1em; color: var(--gold-light); text-decoration: none;
}

body.galeria .nav-links { display: flex; gap: 2rem; list-style: none; }

body.galeria .nav-links a {
  font-family: "Cinzel", serif; font-size: 0.75rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-body); text-decoration: none; transition: color .2s;
}


/* każda karta */
body.galeria .gallery-card {
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
  cursor: pointer;
  display: block;
  text-decoration: none;
}


/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
body.galeria .gallery-card {
  opacity: 0;
  transition:
    opacity .5s ease,
    transform .5s cubic-bezier(.25,.46,.45,.94);
  transform: translateY(16px);
}

/* ======================================================
  Aktualna-wystawa
   ====================================================== */
/* ======================================================
   KOMPONENT: Aktualna Wystawa
   Wersja zgodna z działającym układem sekcji
   ====================================================== */

.current-exhibition {
  background-color: var(--cream);
  position: relative;
  overflow: hidden;
}

.current-exhibition::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold-dim) 15%,
    var(--gold) 40%,
    var(--gold-light) 50%,
    var(--gold) 60%,
    var(--gold-dim) 85%,
    transparent 100%
  );
}

.current-exhibition::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 5% 50%, rgba(var(--gold-rgb),.06) 0%, transparent 50%),
    radial-gradient(circle at 95% 50%, rgba(var(--gold-rgb),.06) 0%, transparent 50%);
  pointer-events: none;
}

.current-exhibition .ce-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 3.2rem 2rem 3.4rem;
  display: grid;
  grid-template-columns: auto 1px minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem 3rem;
}

.current-exhibition .ce-label-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.current-exhibition .ce-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

.current-exhibition .ce-badge svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.current-exhibition .ce-label-text {
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-align: center;
  line-height: 1.4;
}

.current-exhibition .ce-sep {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gold-dim) 20%,
    var(--gold-dim) 80%,
    transparent
  );
  opacity: 0.5;
}

.current-exhibition .ce-content {
  min-width: 0;
}

.current-exhibition .ce-city {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.1;
  margin: 0 0 0.25rem;
}

.current-exhibition .ce-city em {
  font-style: italic;
  color: var(--gold);
}

.current-exhibition .ce-venue {
  font-family: "Lora", serif;
  font-size: 1rem;
  color: var(--text-mid);
  margin: 0 0 1rem;
}

.current-exhibition .ce-dates-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.current-exhibition .ce-date-from,
.current-exhibition .ce-date-to {
  display: flex;
  flex-direction: column;
}

.current-exhibition .ce-date-label {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}

.current-exhibition .ce-date-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.1;
}

.current-exhibition .ce-date-arrow {
  font-size: 1rem;
  color: var(--gold-dim);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.current-exhibition .ce-progress-wrap {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.current-exhibition .ce-progress-track {
  flex: 0 1 200px;
  width: 200px;
  max-width: 200px;
  height: 3px;
  background: var(--cream-dark);
  border-radius: 99px;
  overflow: hidden;
}

.current-exhibition .ce-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  border-radius: 99px;
  transition: width 0.6s ease;
}

.current-exhibition .ce-progress-label {
  display: none;
}

.current-exhibition .ce-days-left {
  margin: 0.3rem 0 0;
  font-family: "Lora", serif;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--color-muted, #9a8c7a);
}

.current-exhibition .ce-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.current-exhibition .ce-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  border: 1px solid;
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.current-exhibition .ce-status--active {
  border-color: rgba(74,90,80,.3);
  color: var(--text-mid);
  background: rgba(74,90,80,.06);
}

.current-exhibition .ce-status--ended {
  border-color: rgba(154,140,122,.4);
  color: var(--color-muted, #9a8c7a);
  background: transparent;
}

.current-exhibition .ce-status--dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5a9e6e;
  animation: ce-pulse-dot 2s ease-in-out infinite;
}

.current-exhibition .ce-status--ended .ce-status--dot {
  background: var(--color-muted, #9a8c7a);
  animation: none;
}

.current-exhibition .ce-next {
  text-align: left;
}

.current-exhibition .ce-next-label {
  font-family: "Cinzel", serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin: 0 0 0.2rem;
}

.current-exhibition .ce-next-city {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold-dim);
  margin: 0;
}

.current-exhibition .ce-ornament {
  text-align: center;
  padding: 0.6rem 0 0;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.35;
}

.current-exhibition .ce-ornament-line {
  flex: 1;
  height: 1px;
  background: var(--gold-dim);
}

.current-exhibition .ce-ornament-glyph {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: var(--gold-dim);
  letter-spacing: 0.3em;
}

.current-exhibition .reveal-ce {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.current-exhibition .reveal-ce.visible {
  opacity: 1;
}

.current-exhibition .reveal-ce:nth-child(2) {
  transition-delay: 0.12s;
}

.current-exhibition .reveal-ce:nth-child(3) {
  transition-delay: 0.24s;
}

@keyframes ce-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

@media (max-width: 700px) {
  .current-exhibition .ce-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.4rem 1.2rem 2.6rem;
  }

  .current-exhibition .ce-label-col {
    flex-direction: row;
    justify-content: flex-start;
  }

  .current-exhibition .ce-sep {
    display: none;
  }

  .current-exhibition .ce-aside {
    align-items: flex-start;
  }

  .current-exhibition .ce-next {
    text-align: left;
  }

  .current-exhibition .ce-progress-wrap {
    flex-wrap: wrap;
  }

  .current-exhibition .ce-progress-track {
    width: 100%;
    max-width: none;
    flex-basis: 100%;
  }
}
/* ======================================================
       9) STRONA: Single Gallery — body.galeria-single
       ====================================================== */

    body.galeria-single {
      background: var(--forest);
      color: var(--text-body);
      font-family: "Lora", serif;
      min-height: 100vh;
      padding-bottom: 60px; /* sticky nav bar */
    }

    /* ── NAV ── */
    body.galeria-single nav.site-nav {
      position: sticky; top: 0; z-index: 100;
      height: 64px;
      background: rgba(28,51,38,.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(var(--gold-rgb),.18);
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 2.5rem;
    }
    body.galeria-single .nav-logo {
      font-family: "Cinzel", serif;
      font-size: .65rem;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--gold);
      text-decoration: none;
    }
    body.galeria-single .nav-links {
      display: flex; gap: 2.5rem; list-style: none;
    }
    body.galeria-single .nav-links a {
      font-family: "Cinzel", serif;
      font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
      color: var(--text-body); text-decoration: none;
      transition: color .25s;
    }
    body.galeria-single .nav-links a:hover,
    body.galeria-single .nav-links a.active { color: var(--gold-light); }

    /* ── HERO ── */
    body.galeria-single .gallery-hero {
      position: relative;
      min-height: 58vh;
      display: flex; flex-direction: column;
      align-items: center; justify-content: flex-end;
      padding: 6rem 2rem 5rem;
      text-align: center;
      overflow: hidden;
      background: var(--forest-mid);
    }

    /* hero bg image — podmienić */
    body.galeria-single .gallery-hero-bg {
      position: absolute; inset: 0;
      background-image: url('');
      background-size: cover; background-position: center;
    }
    body.galeria-single .gallery-hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(28,51,38,.5)  0%,
        rgba(28,51,38,.72) 55%,
        rgba(28,51,38,.97) 100%
      );
    }
    /* noise tekstura */
    body.galeria-single .gallery-hero::after {
      content: "";
      position: absolute; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
      background-size: 250px;
      pointer-events: none; z-index: 3;
    }

    body.galeria-single .gallery-hero-content {
      position: relative; z-index: 4;
      max-width: 820px;
    }

    body.galeria-single .breadcrumb {
      display: flex; align-items: center; justify-content: center;
      gap: .55rem; margin-bottom: 2.2rem; flex-wrap: wrap;
    }
    body.galeria-single .breadcrumb a,
    body.galeria-single .breadcrumb span {
      font-family: "Cinzel", serif;
      font-size: .70rem; letter-spacing: .22em; text-transform: uppercase;
      text-decoration: none; color: var(--gold-light);
      transition: color .25s;
    }
    body.galeria-single .breadcrumb a:hover { color: var(--gold); }
    body.galeria-single .breadcrumb .sep { color: rgba(var(--gold-rgb),.28); font-size: .5rem; }
    body.galeria-single .breadcrumb .current { color: var(--gold); }

    body.galeria-single .hero-city {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(3rem, 8vw, 6rem);
      font-weight: 300; line-height: 1;
      color: var(--white);
      margin-bottom: .3rem;
      letter-spacing: -.01em;
    }

    body.galeria-single .hero-subtitle {
      font-family: "Lora", serif; font-style: italic;
      font-size: clamp(.95rem, 2vw, 1.15rem);
      color: var(--text-body);
      margin-bottom: 2.2rem;
      line-height: 1.5;
    }

    /* meta row */
    body.galeria-single .hero-meta {
      display: inline-flex; align-items: stretch;
      gap: 0;
      border: 1px solid rgba(var(--gold-rgb),.22);
      overflow: hidden;
    }
    body.galeria-single .meta-item {
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      padding: .85rem 2rem;
      gap: .2rem;
    }
    body.galeria-single .meta-item + .meta-item {
      border-left: 1px solid rgba(var(--gold-rgb),.18);
    }
    body.galeria-single .meta-label {
      font-family: "Cinzel", serif;
      font-size: .52rem; letter-spacing: .2em; text-transform: uppercase;
      color: var(--gold-dim);
    }
    body.galeria-single .meta-value {
      font-family: "Cormorant Garamond", serif;
      font-size: 1.05rem; font-weight: 400;
      color: var(--cream); line-height: 1.2;
    }
    body.galeria-single .meta-value em {
      font-style: italic; color: var(--gold-light);
    }

    /* hero rule */
    body.galeria-single .hero-rule {
      width: 48px; height: 1px; margin: 2.5rem auto 0;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }

    /* ── GRID SECTION ── */
    body.galeria-single .grid-section {
      max-width: 1280px; margin: 0 auto;
      padding: 3rem 1.5rem 5rem;
    }

    body.galeria-single .grid-header {
      display: flex; align-items: baseline; justify-content: space-between;
      margin-bottom: 1.6rem; flex-wrap: wrap; gap: .5rem;
    }
    body.galeria-single .grid-count {
      font-family: "Lora", serif; font-style: italic;
      font-size: .82rem; color: var(--text-dim);
    }
    body.galeria-single .grid-count strong {
      color: var(--gold-light); font-style: normal;
    }
    body.galeria-single .grid-back-link {
      font-family: "Cinzel", serif;
      font-size: .58rem; letter-spacing: .15em; text-transform: uppercase;
      color: var(--gold-dim); text-decoration: none;
      display: flex; align-items: center; gap: .4rem;
      transition: color .25s;
    }
    body.galeria-single .grid-back-link:hover { color: var(--gold-light); }
    body.galeria-single .grid-back-link svg {
      width: 12px; height: 12px;
      stroke: currentColor; fill: none;
      stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    }

    /* masonry */
    body.galeria-single .photo-grid {
      columns: 4 270px; column-gap: 12px;
    }

    body.galeria-single .photo-item {
      break-inside: avoid;
      position: relative; overflow: hidden;
      border-radius: 3px;
      margin-bottom: 12px;
      cursor: pointer;
      opacity: 0;
      transform: translateY(18px);
      transition: opacity .5s ease, transform .5s cubic-bezier(.25,.46,.45,.94);
    }
    body.galeria-single .photo-item.revealed {
      opacity: 1; transform: translateY(0);
    }
    body.galeria-single .photo-item::before {
      content: "";
      position: absolute; left: 0; top: 0; bottom: 0;
      width: 3px;
      background: linear-gradient(to bottom, var(--gold-dim), var(--gold-light), var(--gold-dim));
      transform: scaleY(0); transform-origin: bottom;
      transition: transform .4s cubic-bezier(.25,.46,.45,.94);
      z-index: 2;
    }
    body.galeria-single .photo-item:hover::before { transform: scaleY(1); }

    body.galeria-single .photo-wrap {
      display: block; width: 100%;
      background: var(--forest-mid);
      position: relative; overflow: hidden;
    }
    body.galeria-single .photo-wrap img {
      display: block; width: 100%; height: auto;
      transition: transform .5s cubic-bezier(.25,.46,.45,.94);
    }
    body.galeria-single .photo-item:hover .photo-wrap img {
      transform: scale(1.04);
    }

    /* placeholder gdy brak zdjęcia */
    body.galeria-single .photo-placeholder {
      width: 100%; display: block;
      background: linear-gradient(135deg, rgba(var(--gold-rgb),.06), transparent 60%, rgba(var(--gold-rgb),.04));
      background-color: var(--forest-mid);
      display: flex; align-items: center; justify-content: center;
    }
    body.galeria-single .photo-placeholder svg {
      width: 28px; height: 28px;
      stroke: rgba(var(--gold-rgb),.2); fill: none;
      stroke-width: 1; stroke-linecap: round;
    }

    /* hover overlay */
    body.galeria-single .photo-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top,
        rgba(10,24,16,.9) 0%,
        transparent 55%);
      opacity: 0; transition: opacity .3s ease;
      display: flex; align-items: flex-end;
      padding: .9rem .8rem .75rem;
      pointer-events: none;
    }
    body.galeria-single .photo-item:hover .photo-overlay { opacity: 1; }
    body.galeria-single .photo-num {
      font-family: "Cinzel", serif;
      font-size: .52rem; letter-spacing: .14em;
      color: rgba(212,170,85,.6); text-transform: uppercase;
      flex: 1;
    }
    body.galeria-single .photo-zoom {
      display: flex; align-items: center; justify-content: center;
      width: 24px; height: 24px;
      border: 1px solid rgba(var(--gold-rgb),.4);
    }
    body.galeria-single .photo-zoom svg {
      width: 10px; height: 10px;
      stroke: var(--gold-light); fill: none;
      stroke-width: 2; stroke-linecap: round;
    }

    /* ── LIGHTBOX ── */
    body.galeria-single .lightbox {
      position: fixed; inset: 0; z-index: 1000;
      background: rgba(8,18,12,.96);
      backdrop-filter: blur(8px);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none;
      transition: opacity .3s ease;
    }
    body.galeria-single .lightbox.open {
      opacity: 1; pointer-events: all;
    }

    body.galeria-single .lb-close {
      position: absolute; top: 1.5rem; right: 1.8rem;
      width: 40px; height: 40px;
      border: 1px solid rgba(var(--gold-rgb),.3);
      background: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: border-color .2s, background .2s;
      color: var(--gold-dim);
    }
    body.galeria-single .lb-close:hover {
      border-color: var(--gold); background: rgba(var(--gold-rgb),.08);
      color: var(--gold-light);
    }
    body.galeria-single .lb-close svg {
      width: 14px; height: 14px;
      stroke: currentColor; fill: none;
      stroke-width: 2; stroke-linecap: round;
    }

    body.galeria-single .lb-img-wrap {
      max-width: calc(100vw - 160px);
      max-height: calc(100vh - 100px);
      position: relative;
      display: flex; align-items: center; justify-content: center;
    }
    body.galeria-single .lb-img {
      max-width: 100%; max-height: calc(100vh - 100px);
      display: block;
      border-radius: 2px;
      box-shadow: 0 40px 120px rgba(0,0,0,.6);
      transition: opacity .25s ease;
    }
    body.galeria-single .lb-img.fade { opacity: 0; }

    /* placeholder lightbox */
    body.galeria-single .lb-placeholder {
      width: min(800px, calc(100vw - 160px));
      aspect-ratio: 4/3;
      background: var(--forest-mid);
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; gap: 1rem;
      border-radius: 2px;
      box-shadow: 0 40px 120px rgba(0,0,0,.6);
    }
    body.galeria-single .lb-placeholder-icon {
      width: 48px; height: 48px;
      stroke: rgba(var(--gold-rgb),.25); fill: none;
      stroke-width: 1; stroke-linecap: round;
    }
    body.galeria-single .lb-placeholder-num {
      font-family: "Cinzel", serif;
      font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
      color: var(--gold-dim);
    }

    body.galeria-single .lb-arrow {
      position: absolute; top: 50%; transform: translateY(-50%);
      width: 52px; height: 52px;
      border: 1px solid rgba(var(--gold-rgb),.28);
      background: rgba(28,51,38,.7);
      backdrop-filter: blur(4px);
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: border-color .2s, background .2s;
      z-index: 2;
    }
    body.galeria-single .lb-arrow:hover {
      border-color: var(--gold); background: rgba(28,51,38,.9);
    }
    body.galeria-single .lb-arrow svg {
      width: 14px; height: 14px;
      stroke: var(--gold-dim); fill: none;
      stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
      transition: stroke .2s;
    }
    body.galeria-single .lb-arrow:hover svg { stroke: var(--gold-light); }
    body.galeria-single .lb-prev { left: -72px; }
    body.galeria-single .lb-next { right: -72px; }

    body.galeria-single .lb-counter {
      position: absolute; bottom: -2.4rem; left: 50%; transform: translateX(-50%);
      font-family: "Cinzel", serif;
      font-size: .55rem; letter-spacing: .2em; text-transform: uppercase;
      color: var(--gold-dim); white-space: nowrap;
    }

    /* ── STICKY BOTTOM NAV ── */
    body.galeria-single .gallery-nav-bar {
      position: fixed; bottom: 0; left: 0; right: 0;
      z-index: 90;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: stretch;
      background: rgba(28,51,38,.97);
      backdrop-filter: blur(8px);
      border-top: 1px solid rgba(var(--gold-rgb),.15);
      height: 60px;
    }
    body.galeria-single .gnb-item {
      display: flex; align-items: center;
      gap: .8rem; padding: 0 1.8rem;
      text-decoration: none;
      transition: background .25s;
      min-width: 0;
    }
    body.galeria-single .gnb-item:hover { background: rgba(var(--gold-rgb),.07); }
    body.galeria-single .gnb-item.next { justify-content: flex-end; text-align: right; }

    body.galeria-single .gnb-arrow {
      flex-shrink: 0; width: 26px; height: 26px;
      border: 1px solid rgba(var(--gold-rgb),.28);
      display: flex; align-items: center; justify-content: center;
      transition: border-color .25s;
    }
    body.galeria-single .gnb-item:hover .gnb-arrow { border-color: var(--gold); }
    body.galeria-single .gnb-arrow svg {
      width: 11px; height: 11px;
      stroke: var(--gold-dim); fill: none;
      stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
      transition: stroke .25s;
    }
    body.galeria-single .gnb-item:hover .gnb-arrow svg { stroke: var(--gold-light); }

    body.galeria-single .gnb-text { min-width: 0; }
    body.galeria-single .gnb-dir {
      font-family: "Cinzel", serif;
      font-size: .5rem; letter-spacing: .22em; text-transform: uppercase;
      color: var(--gold-dim); display: block; margin-bottom: .1rem;
    }
    body.galeria-single .gnb-label {
      font-family: "Cormorant Garamond", serif;
      font-size: .95rem; font-weight: 300;
      color: var(--cream-dark);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      display: block; line-height: 1.2;
    }

    body.galeria-single .gnb-center {
      display: flex; align-items: center; justify-content: center;
      padding: 0 1.5rem; border-left: 1px solid rgba(var(--gold-rgb),.1);
      border-right: 1px solid rgba(var(--gold-rgb),.1);
    }
    body.galeria-single .gnb-center a {
      display: flex; flex-direction: column; align-items: center; gap: .18rem;
      text-decoration: none; transition: color .25s;
      color: var(--gold);
    }
    body.galeria-single .gnb-center a:hover { color: var(--gold-light); }
    body.galeria-single .gnb-center svg {
      width: 15px; height: 15px;
      stroke: currentColor; fill: none;
      stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
    }
    body.galeria-single .gnb-center span {
      font-family: "Cinzel", serif;
      font-size: .48rem; letter-spacing: .18em; text-transform: uppercase;
      white-space: nowrap;
    }

    /* ── FOOTER ── */
    body.galeria-single footer {
      border-top: 1px solid rgba(var(--gold-rgb),.12);
      padding: 2rem;
      text-align: center;
      font-family: "Cinzel", serif; font-size: .58rem;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--text-dim);
    }
    body.galeria-single footer a { color: var(--gold-dim); text-decoration: none; }
    body.galeria-single footer a:hover { color: var(--gold); }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      body.galeria-single .photo-grid { columns: 3 200px; }
      body.galeria-single .lb-prev { left: -60px; }
      body.galeria-single .lb-next { right: -60px; }
    }
    @media (max-width: 700px) {
      body.galeria-single .hero-meta { flex-direction: column; }
      body.galeria-single .meta-item + .meta-item {
        border-left: none; border-top: 1px solid rgba(var(--gold-rgb),.18);
      }
      body.galeria-single .lb-img-wrap { max-width: calc(100vw - 100px); }
      body.galeria-single .lb-prev { left: -46px; }
      body.galeria-single .lb-next { right: -46px; }
      body.galeria-single .lb-arrow { width: 40px; height: 40px; }
    }
    @media (max-width: 600px) {
      body.galeria-single .photo-grid { columns: 2 150px; column-gap: 8px; }
      body.galeria-single .photo-item { margin-bottom: 8px; }
      body.galeria-single .nav-links { display: none; }
      body.galeria-single .gnb-center span { display: none; }
      body.galeria-single .lb-img-wrap { max-width: 100vw; }
      body.galeria-single .lb-prev { left: 8px; }
      body.galeria-single .lb-next { right: 8px; }
    }


/* ======================================================
   MOBILE NAV — hamburger button + dropdown menu
   ====================================================== */

/* Hamburger toggle button — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  color: var(--gold-light);
  line-height: 0;
  flex-shrink: 0;
}

.nav-toggle svg { display: block; }

/* Icon states */
.nav-toggle .icon-hamburger { display: block; }
.nav-toggle .icon-close     { display: none; }
.site-nav.open .nav-toggle .icon-hamburger { display: none; }
.site-nav.open .nav-toggle .icon-close     { display: block; }

@media (max-width: 768px) {
  /* Show toggle, hide nav-links by default */
  .nav-toggle { display: flex; align-items: center; }
  .site-nav .nav-links { display: none !important; }

  /* Dropdown container when open */
  .site-nav.open .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(28,51,38,0.98);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(var(--gold-rgb),.15);
    border-bottom: 1px solid rgba(var(--gold-rgb),.2);
    padding: 0.4rem 0;
    z-index: 200;
    animation: navDropdown 0.22s ease;
    list-style: none;
    margin: 0;
  }

  .site-nav.open .nav-links li {
    border-bottom: 1px solid rgba(var(--gold-rgb),.07);
  }

  .site-nav.open .nav-links li:last-child { border-bottom: none; }

  .site-nav.open .nav-links a {
    display: block;
    padding: 0.85rem 2rem;
    font-family: "Cinzel", serif;
    font-size: 0.70rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #d4c8b0;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
  }

  .site-nav.open .nav-links a:hover,
  .site-nav.open .nav-links a.active {
    color: var(--gold-light);
    background: rgba(var(--gold-rgb),.06);
  }
}

@keyframes navDropdown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
