/* =====================================================
   Nostalgisch Media Museum — Vintage Theme
   ===================================================== */

:root {
  --bg:        #f0e6cc;
  --bg-card:   rgba(232, 218, 188, 0.88);
  --bg-light:  rgba(220, 205, 172, 0.92);
  --text:      #2c1a08;
  --text-muted:#7a5c35;
  --gold:      #b8720a;
  --gold-light:#d4891a;
  --border:    #c8a878;
  --shadow:    rgba(44,26,8,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  /* ── Gazette / old newspaper texture (fixed, doesn't scroll) ── */
  background-color: #ede0bf;
  background-image:
    /* Faint horizontal text-lines like newsprint */
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 20px,
      rgba(120, 90, 40, 0.055) 20px,
      rgba(120, 90, 40, 0.055) 21px
    ),
    /* Very subtle vertical column guides */
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 180px,
      rgba(120, 90, 40, 0.025) 180px,
      rgba(120, 90, 40, 0.025) 181px
    ),
    /* Paper fibre diagonal noise — layer 1 */
    repeating-linear-gradient(
      47deg,
      transparent 0px,
      transparent 3px,
      rgba(160, 120, 60, 0.018) 3px,
      rgba(160, 120, 60, 0.018) 4px
    ),
    /* Paper fibre diagonal noise — layer 2 */
    repeating-linear-gradient(
      133deg,
      transparent 0px,
      transparent 5px,
      rgba(160, 120, 60, 0.013) 5px,
      rgba(160, 120, 60, 0.013) 6px
    ),
    /* Warm aged-paper gradient base */
    radial-gradient(
      ellipse at 50% 0%,
      #f5ecd4 0%,
      #e8d8b0 55%,
      #dcc898 100%
    );
  background-attachment: fixed;
  background-size: auto, auto, auto, auto, cover;

  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a   { color: var(--gold); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  line-height: 1.25;
}
h2 { font-size: 1.9rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
p  { margin-bottom: 0.9rem; color: var(--text); }

/* ── Top bar ── */
.topbar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 0.45rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lang-switcher { display: flex; gap: 0.3rem; }
.lang-switcher a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.15rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s, border-color 0.2s;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Header ── */
header {
  background: linear-gradient(180deg, rgba(220,200,160,0.6) 0%, rgba(240,230,200,0.4) 100%);
  border-bottom: 2px solid var(--gold);
  text-align: center;
  padding: 2.2rem 1rem 1.8rem;
}
.header-ornament {
  color: var(--gold);
  opacity: 0.5;
  letter-spacing: 0.8rem;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
header h1 {
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 12px rgba(184,114,10,0.3);
}
header .tagline {
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
  margin-top: 0.5rem;
  font-size: 1.25rem;
}

/* ── Nav ── */
nav {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.9rem 1.2rem;
  width: 100%;
  text-align: left;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav ul li a {
  display: block;
  padding: 0.85rem 1.15rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(184,114,10,0.08);
}

/* ── Page wrapper ── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem;
  flex: 1;
}

/* ── Hero section (home) ── */
.hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.hero h2 {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1.8rem;
}

/* Next opening box */
.opening-box {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 1.4rem 2.5rem;
  text-align: center;
  margin: 0 auto 1.5rem;
}
.opening-box .ob-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.opening-box .ob-date {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold-light);
}
.opening-box .ob-time {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}
.badge-free {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1.1rem;
  border-radius: 20px;
  margin-top: 0.8rem;
}

/* ── Cards grid ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.8rem;
  transition: border-color 0.25s, transform 0.2s;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.card-icon { font-size: 2.2rem; margin-bottom: 0.9rem; }
.card p    { color: var(--text-muted); font-size: 0.95rem; }
.card a.btn-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.card a.btn-link:hover { text-decoration: underline; }

/* ── Section heading ── */
.section-heading {
  font-size: 1.9rem;
  color: var(--gold);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.section-date {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  font-style: italic;
}
.section-intro {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  max-width: 680px;
}

/* ── Ornamental divider ── */
.divider {
  text-align: center;
  color: var(--gold);
  opacity: 0.35;
  letter-spacing: 0.6rem;
  margin: 2.5rem 0;
  font-size: 0.9rem;
}

/* ── Info table ── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}
.info-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table td:first-child {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 180px;
  white-space: nowrap;
}

/* ── Notice box ── */
.notice {
  background: rgba(184,114,10,0.1);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.4rem;
  border-radius: 0 6px 6px 0;
  margin: 1.2rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Gallery grid ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
  transition: border-color 0.2s;
  cursor: pointer;
  flex-direction: column;
  gap: 0.5rem;
}
.gallery-item:hover { border-color: var(--gold); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-placeholder-icon { font-size: 2rem; opacity: 0.4; }

/* ── Hero photo ── */
.hero-photo {
  margin: 1.5rem auto;
  max-width: 780px;
  border-radius: 6px;
  overflow: hidden;
  border: 3px solid var(--border);
  box-shadow: 0 6px 24px var(--shadow);
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Category filter */
.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.cat-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-btn:hover, .cat-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,114,10,0.1);
}

/* ── Video grid ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.video-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.video-item iframe,
.video-embed-wrap iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border: none;
  display: block;
}
.video-embed-wrap {
  width: 100%;
  overflow: hidden;
}
.video-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.video-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.35; }
.video-caption {
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── Media page two-column layout with sticky blog sidebar ── */
/* Home page sidebar layout */
.home-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-left: -1.5rem;
}
.home-sidebar {
  position: sticky;
  top: 1.5rem;
}
.home-sticky-card {
  background: linear-gradient(160deg, #f5ecd4 0%, #ede0bf 100%);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 1rem 1rem;
  box-shadow: 0 4px 22px rgba(44,26,8,0.18);
  text-align: center;
}
.home-sticky-card .ob-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.home-sticky-card .ob-date {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.home-sticky-card .ob-time {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.home-content { min-width: 0; }

.media-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.blog-sidebar {
  position: sticky;
  top: 1.5rem;
}
.blog-sticky-card {
  background: linear-gradient(160deg, #f5ecd4 0%, #ede0bf 100%);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 4px 22px rgba(44,26,8,0.18);
}
.blog-card-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(184,114,10,0.25);
  padding-bottom: 0.7rem;
}
.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.blog-card-body {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.blog-card-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.blog-card-link:hover { border-color: var(--gold); }
.media-content { min-width: 0; }
@media (max-width: 860px) {
  .media-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar { position: static; }
  .home-layout {
    grid-template-columns: 1fr;
  }
  .home-sidebar { position: static; }
}

/* ── Video thumbnail (YouTube embedding disabled fallback) ── */
.video-thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.video-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.video-thumb-link:hover img { opacity: 0.75; }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  pointer-events: none;
}
.yt-badge {
  font-size: 0.72rem;
  color: var(--gold);
  font-style: italic;
}

/* ── Links grid ── */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}
.links-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.4rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.links-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44,26,8,0.15);
  color: var(--gold);
}
.links-icon { font-size: 2rem; }
.links-name { font-weight: 700; font-size: 0.95rem; }
.links-url  { font-size: 0.78rem; color: var(--text-muted); word-break: break-all; }

/* ── Press articles ── */
.press-article {
  background: linear-gradient(160deg, #f5ecd4 0%, #ede0bf 100%);
  border: 2px solid #c8a456;
  border-radius: 4px;
  padding: 1.8rem 2rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow:
    inset 0 0 0 4px rgba(184,114,10,0.12),
    0 4px 18px rgba(44,26,8,0.18);
  position: relative;
}
/* Decorative corner lines */
.press-article::before,
.press-article::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--gold);
  border-style: solid;
}
.press-article::before {
  top: 6px; left: 6px;
  border-width: 2px 0 0 2px;
}
.press-article::after {
  bottom: 6px; right: 6px;
  border-width: 0 2px 2px 0;
}
.press-meta {
  width: 100%;
  border-bottom: 1px solid rgba(184,114,10,0.3);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}
.press-pub  {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.press-date {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-style: italic;
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}
.press-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  width: 100%;
}
.press-img {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 1rem auto 0;
  border: 3px solid #c8a456;
  border-radius: 2px;
  box-shadow:
    0 2px 0 #a07830,
    0 6px 22px rgba(44,26,8,0.22);
  cursor: zoom-in;
  transition: box-shadow 0.2s, transform 0.2s;
}
.press-img:hover {
  box-shadow: 0 2px 0 #a07830, 0 10px 32px rgba(44,26,8,0.32);
  transform: scale(1.01);
}

/* ── Map ── */
.map-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: none;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-form .form-group { margin-bottom: 1.1rem; }
.contact-form label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.7rem 1rem;
  border-radius: 5px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.btn {
  background: var(--gold);
  color: #f5edd8;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn:hover { background: var(--gold-light); }

.contact-info-block { display: flex; flex-direction: column; gap: 1.2rem; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { font-size: 1.4rem; margin-top: 0.1rem; flex-shrink: 0; }
.ci-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
.ci-value { color: var(--text); }
.ci-value a { color: var(--gold); text-decoration: none; }
.ci-value a:hover { text-decoration: underline; }

/* ── About page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
.collection-types {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.type-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.type-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.82);
}
.type-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.45);
}
.type-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  opacity: 1;
  background: linear-gradient(to top, rgba(44,26,8,0.55) 0%, transparent 60%);
  transition: background 0.4s ease, font-size 0.3s ease;
  padding: 0.5rem;
  text-align: center;
}
.type-item:hover .type-label {
  background: rgba(44,26,8,0.0);
  font-size: 1.35rem;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

/* ── Footer ── */
footer {
  background: var(--bg-light);
  border-top: 2px solid var(--gold);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: auto;
}
.footer-top {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { opacity: 0.6; font-size: 0.78rem; margin-top: 0.8rem; }

/* ── Visitor counter ── */
.visitor-counter {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem auto 0;
  padding: 0.8rem 2rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: rgba(180,140,80,0.12);
  gap: 0.3rem;
}
.vc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.vc-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
  min-width: 6ch;
  text-align: center;
}
.vc-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── WhatsApp floating button ── */
.wa-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(44,26,8,0.3);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}
.wa-float svg { display: block; }

/* ── Lightbox ── */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(44,26,8,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; cursor: zoom-out;
}
.lightbox-overlay img {
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 92vh;
  min-width: min(600px, 92vw);
  object-fit: contain;
  border: 3px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7);
}

/* ── Facebook top bar ── */
.fb-topbar {
  background: #fff;
  border-bottom: 1px solid #ddd;
  text-align: center;
  padding: 0.45rem 1rem;
}
.fb-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #1877f2;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  transition: opacity 0.2s;
}
.fb-topbar-link:hover { opacity: 0.75; }
.fb-topbar-link svg { flex-shrink: 0; }
.fb-topbar-follow {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}

/* ── News ticker ── */
.news-ticker {
  background: var(--gold);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.4rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  animation: ticker-scroll 70s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
.ticker-sep { margin: 0 2rem; opacity: 0.6; }

/* ── Quiz ── */
.quiz-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.quiz-progress-bar {
  background: var(--border);
  border-radius: 20px;
  height: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 20px;
  transition: width 0.4s ease;
}
.quiz-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}
.quiz-question {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.2rem;
}
.quiz-question h3 {
  font-size: 1.25rem;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.quiz-opt {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  text-align: left;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  font-family: 'Lato', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.quiz-opt:hover:not(:disabled) {
  border-color: var(--gold);
  background: rgba(184,114,10,0.07);
}
.quiz-opt.correct  { border-color: #2e7d32; background: rgba(46,125,50,0.12); color: #2e7d32; font-weight: 700; }
.quiz-opt.wrong    { border-color: #c62828; background: rgba(198,40,40,0.1);  color: #c62828; }
.quiz-opt:disabled { cursor: default; }
.quiz-fact {
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(184,114,10,0.1);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: none;
}
.quiz-fact.show { display: block; }
.quiz-next {
  margin-top: 1rem;
  display: none;
}
.quiz-next.show { display: block; }
.quiz-result {
  text-align: center;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: none;
}
.quiz-result.show { display: block; }
.quiz-score-big {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
}
.quiz-score-label { color: var(--text-muted); margin: 0.5rem 0 1.5rem; }
.quiz-share-btns  { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.btn-fb  { background: #1877f2; color: #fff; }
.btn-wa  { background: #25d366; color: #fff; }
.btn-fb:hover { background: #1565c0; }
.btn-wa:hover { background: #1da851; }

/* ── Timeline ── */
.timeline {
  position: relative;
  padding: 1rem 0;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.tl-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
  margin-bottom: 2rem;
  position: relative;
  cursor: pointer;
}
.tl-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2.5rem);
}
.tl-dot {
  position: absolute;
  left: 50%;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border: 3px solid var(--bg);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: transform 0.2s;
  box-shadow: 0 0 0 2px var(--gold);
}
.tl-item:hover .tl-dot { transform: translateX(-50%) scale(1.4); }
.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  max-width: 340px;
  transition: border-color 0.2s, transform 0.2s;
}
.tl-item:hover .tl-card {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.tl-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.tl-title { font-weight: 700; color: var(--text); margin-bottom: 0.3rem; font-size: 0.95rem; }
.tl-desc  { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }
.tl-icon  { font-size: 1.4rem; margin-bottom: 0.4rem; }
.tl-detail {
  display: none;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}
.tl-item.open .tl-detail { display: block; }
.tl-decade {
  text-align: center;
  position: relative;
  margin: 2rem 0 1rem;
  z-index: 1;
}
.tl-decade span {
  background: var(--gold);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  padding: 0.3rem 1.2rem;
  border-radius: 20px;
  letter-spacing: 0.1em;
}
@media (max-width: 640px) {
  .timeline::before { left: 1rem; }
  .tl-item, .tl-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 3rem;
    padding-right: 0;
  }
  .tl-dot { left: 1rem; }
  .tl-card { max-width: 100%; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  header h1 { font-size: 1.9rem; }
  .hamburger { display: block; }
  nav ul { display: none; flex-direction: column; }
  nav ul.open { display: flex; }
  nav ul li a { border-bottom: none; border-top: 1px solid var(--border); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid   { grid-template-columns: 1fr; }
  .press-article { flex-direction: column; gap: 0.8rem; }
  .press-meta { min-width: unset; }
}
@media (max-width: 480px) {
  main { padding: 1.5rem 0.8rem; }
  .opening-box { padding: 1rem 1.2rem; }
}
