/* ===================================================================
   e-zabava.net — Prague chic
   Tokens : --vino #6D1A1A | --or-prg #C9A84C | --creme #F5EDE0
            --encre #1E1410 | --moldau #2C4A7C
   Fonts  : Playfair Display (display) | Source Serif 4 (body) | Inter (UI)
   =================================================================== */

/* ── 1. TOKENS ─────────────────────────────────────────────────── */
:root {
  --vino:      #6D1A1A;
  --or-prg:    #C9A84C;
  --creme:     #F5EDE0;
  --encre:     #1E1410;
  --moldau:    #2C4A7C;

  --vino-10:   rgba(109,26,26,0.10);
  --vino-20:   rgba(109,26,26,0.20);
  --vino-30:   rgba(109,26,26,0.30);
  --or-60:     rgba(201,168,76,0.60);
  --creme-95:  rgba(245,237,224,0.95);
  --encre-80:  rgba(30,20,16,0.80);
  --encre-65:  rgba(30,20,16,0.65);
  --encre-20:  rgba(30,20,16,0.20);
  --encre-10:  rgba(30,20,16,0.10);

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Source Serif 4', Georgia, serif;
  --ff-ui:      'Inter', system-ui, sans-serif;

  --measure:   700px;
  --wide:      1280px;
  --hero-w:    1440px;
  --gutter:    clamp(1rem, 4vw, 2rem);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --dur:       400ms;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
}

/* ── 2. RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--encre);
  background: var(--creme);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vino); text-decoration: underline; text-decoration-color: var(--or-60); text-underline-offset: 3px; }
a:hover { color: var(--or-prg); text-decoration-color: var(--vino); }
ul, ol { list-style: none; }

/* ── 3. CONTAINER ───────────────────────────────────────────────── */
.container {
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── 4. HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--creme-95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--or-prg);
  box-shadow: 0 2px 12px var(--encre-10);
}
.header-inner {
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-z {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--vino);
  line-height: 1;
  background: var(--or-prg);
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.logo-text {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--encre);
}
.logo-net {
  font-style: normal;
  font-weight: 400;
  color: var(--vino);
}

/* Nav */
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-link {
  font-family: var(--ff-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--encre);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-link:hover {
  background: var(--vino-10);
  color: var(--vino);
  text-decoration: none;
}
.nav-link--blog {
  background: var(--vino);
  color: var(--creme);
  font-weight: 600;
}
.nav-link--blog:hover {
  background: var(--encre);
  color: var(--or-prg);
}

/* Language switcher (header) */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--ff-ui);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--encre);
  transition: background var(--dur) var(--ease);
}
.lang-btn:hover { background: var(--vino-10); color: var(--vino); text-decoration: none; }
.lang-btn--active { background: var(--vino); color: var(--creme) !important; }
.lang-sep { color: var(--or-prg); font-size: 0.9rem; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--encre);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}

/* ── 5. HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--creme);
}
.hero--full   { min-height: clamp(380px, 56vh, 640px); }
.hero--medium { min-height: clamp(260px, 38vh, 420px); }
.hero--compact { min-height: 200px; }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--vino-30) 0%, var(--encre-65) 100%);
}
.hero-bg--gradient {
  background: linear-gradient(135deg, var(--vino) 0%, var(--encre) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 3rem var(--gutter);
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px var(--encre-80);
}
.hero-subtitle {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
}
.hero-cta { margin-top: 1rem; }

/* ── 6. BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.925rem;
  font-weight: 600;
  background: var(--or-prg);
  color: var(--encre);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn-primary:hover {
  background: var(--vino);
  color: var(--creme);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-secondary {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
  color: var(--vino);
  border: 2px solid var(--vino);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.btn-secondary:hover {
  background: var(--vino);
  color: var(--creme);
  text-decoration: none;
}

/* ── 7. HOMEPAGE ────────────────────────────────────────────────── */
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--vino);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--or-prg);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* Category cards grid */
.home-categories { padding: 4rem 0; background: white; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--creme);
  border: 1px solid var(--encre-10);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--encre);
  transition: all var(--dur) var(--ease);
  text-align: center;
}
.cat-card:hover {
  background: var(--vino);
  color: var(--creme);
  border-color: var(--vino);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--vino-20);
  text-decoration: none;
}
.cat-card-icon { font-size: 2rem; line-height: 1; }
.cat-card-label {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Latest articles */
.home-latest { padding: 4rem 0; }
.home-cta-wrap { text-align: center; margin-top: 2.5rem; }

/* Bilingual block */
.home-bilingual { padding: 4rem 0; background: var(--encre); color: var(--creme); }
.bilingual-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.bilingual-fr, .bilingual-cs { display: flex; flex-direction: column; gap: 1rem; }
.bilingual-fr h2, .bilingual-cs h2 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--or-prg);
}
.bilingual-fr p, .bilingual-cs p { color: rgba(245,237,224,0.85); }
.bilingual-fr .btn-secondary, .bilingual-cs .btn-secondary {
  color: var(--or-prg);
  border-color: var(--or-prg);
  align-self: flex-start;
  margin-top: 0.5rem;
}
.bilingual-fr .btn-secondary:hover, .bilingual-cs .btn-secondary:hover {
  background: var(--or-prg);
  color: var(--encre);
}

/* ── 8. BLOG GRID ───────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* ── 9. BLOG CARD (signature visuelle #5) ───────────────────────── */
.blog-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--encre-10);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--encre-20);
}
.blog-card-img-wrap {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.blog-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur) var(--ease);
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--vino);
  color: var(--creme);
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-card-body { flex: 1; display: flex; flex-direction: column; padding: 1.5rem; }
.blog-card-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.blog-card-title a { color: var(--encre); text-decoration: none; }
.blog-card-title a:hover { color: var(--vino); }
.blog-card-summary {
  font-size: 0.9rem;
  color: var(--encre-65);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--encre-10);
  padding-top: 0.75rem;
}
.blog-card-date {
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  color: var(--encre-65);
}
.blog-card-read {
  font-family: var(--ff-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vino);
  text-decoration: none;
}
.blog-card-read:hover { color: var(--or-prg); text-decoration: underline; }

/* ── 10. BLOG LISTING ───────────────────────────────────────────── */
.blog-main-listing { padding: 3rem 0 5rem; }
.blog-listing-header { text-align: center; margin-bottom: 3rem; }
.blog-listing-title {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--vino);
  margin-bottom: 0.75rem;
}
.blog-listing-desc { color: var(--encre-65); font-size: 1.1rem; }
.blog-empty {
  text-align: center;
  padding: 4rem;
  color: var(--encre-65);
  font-style: italic;
  font-size: 1.1rem;
}

/* ── 11. CATEGORY FILTER ────────────────────────────────────────── */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.cat-btn {
  font-family: var(--ff-ui);
  font-size: 0.8rem;
  font-weight: 500;
  background: white;
  color: var(--encre);
  border: 1.5px solid var(--encre-20);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.cat-btn:hover { border-color: var(--vino); color: var(--vino); }
.cat-btn--active { background: var(--vino); color: var(--creme); border-color: var(--vino); }

/* ── 12. PAGE / PILIER LAYOUT ───────────────────────────────────── */
.page-main { padding: 3rem 0 5rem; }
.page-article {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-header { margin-bottom: 2.5rem; }
.page-category {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--or-prg);
  margin-bottom: 0.75rem;
}
.page-h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--vino);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-summary {
  font-size: 1.15rem;
  color: var(--encre-65);
  font-style: italic;
  line-height: 1.7;
}
.page-content { padding-top: 1rem; }

/* ── 13. ARTICLE LAYOUT ─────────────────────────────────────────── */
.blog-main { padding: 3rem 0 5rem; }
.blog-article {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.article-header { margin-bottom: 2.5rem; }
.article-category-badge {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--vino);
  color: var(--creme);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.article-h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--vino);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.article-summary {
  font-size: 1.15rem;
  color: var(--encre-65);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.article-meta {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  color: var(--encre-65);
  margin-bottom: 1.5rem;
}
.article-hero { margin-bottom: 2.5rem; border-radius: var(--radius); overflow: hidden; }
.article-hero-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: center 30%; }

/* ── 14. ARTICLE CONTENT (typographie Prague chic) ──────────────── */
.article-content h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--encre);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  position: relative;
}
/* Signature visuelle #2 : filet or sous H2 */
.article-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--or-prg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.article-content h2.in-view::after,
.article-content h2:hover::after { transform: scaleX(1); }

.article-content h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--vino);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-content p { margin-bottom: 1.5rem; }

/* Signature visuelle #1 : lettrine bordeaux */
.article-content > p:first-of-type::first-letter,
.article-body > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--vino);
  float: left;
  line-height: 0.8;
  margin-right: 0.15em;
  margin-top: 0.1em;
}

/* Signature visuelle #4 : pull quotes */
.article-content blockquote,
.article-body blockquote {
  position: relative;
  margin: 2.5rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: var(--vino-10);
  border-left: 3px solid var(--vino);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--encre);
}
.article-content blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--or-prg);
  position: absolute;
  top: -0.5rem;
  left: 0.5rem;
  line-height: 1;
  opacity: 0.4;
}

/* Signature visuelle #3 : badge Zajímavost */
.article-content .zajimavost,
.article-content .curiosite {
  background: var(--creme);
  border: 2px solid var(--or-prg);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  max-width: 520px;
  position: relative;
}
.article-content .zajimavost::before {
  content: 'Zajímavost / Curiosité';
  display: block;
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--or-prg);
  margin-bottom: 0.5rem;
}

.article-content ul, .article-content ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.article-content ul { list-style: none; }
.article-content ul li::before {
  content: '•';
  color: var(--or-prg);
  font-weight: 700;
  margin-right: 0.5em;
}
.article-content ol { list-style: decimal; }
.article-content ol li { padding-left: 0.25rem; }

.article-content strong { font-weight: 700; color: var(--encre); }
.article-content em { font-style: italic; color: var(--vino); }

.article-content a {
  color: var(--vino);
  text-decoration: underline;
  text-decoration-color: var(--or-60);
  transition: color var(--dur);
}
.article-content a:hover { color: var(--or-prg); }

.article-content img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  margin: 2rem auto;
  box-shadow: 0 4px 16px var(--encre-10);
  display: block;
}
.article-content p:has(> img:only-child) { margin: 0; }

/* Wrappers anti-distorsion CODEX REGLE 14 */
.img-hero     { aspect-ratio: 16/9; overflow: hidden; }
.img-card     { aspect-ratio: 3/2;  overflow: hidden; }
.img-body     { aspect-ratio: 3/2;  overflow: hidden; }
.img-portrait { aspect-ratio: 1/1;  overflow: hidden; border-radius: 50%; }
.img-hero img, .img-card img, .img-body img, .img-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}

/* ── 15. FAQ ────────────────────────────────────────────────────── */
.faq-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--encre-10);
}
.faq-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vino);
  margin-bottom: 1.5rem;
}
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--encre-10); border-radius: var(--radius); overflow: hidden; }
.faq-question { border: none; }
.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: white;
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--encre);
  text-align: left;
  transition: background var(--dur);
}
.faq-toggle:hover { background: var(--vino-10); }
.faq-toggle[aria-expanded="true"] { background: var(--vino); color: var(--creme); }
.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--or-prg);
}
.faq-toggle[aria-expanded="true"] .faq-icon { color: var(--or-prg); }
.faq-answer { background: var(--creme); }
.faq-answer-inner { padding: 1rem 1.25rem; font-size: 0.95rem; line-height: 1.7; }
.faq-answer[hidden] { display: none; }

/* ── 16. RELATED ARTICLES ───────────────────────────────────────── */
.article-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--encre-10);
}
.related-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vino);
  margin-bottom: 1rem;
}
.related-list { display: flex; flex-direction: column; gap: 0.5rem; }
.related-list a {
  font-size: 0.95rem;
  color: var(--vino);
  text-decoration: none;
}
.related-list a:hover { text-decoration: underline; color: var(--or-prg); }

/* ── 17. CONTACT FORM ───────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--encre);
}
.form-group input, .form-group textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--encre);
  background: white;
  border: 2px solid var(--encre-20);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: border-color var(--dur);
  width: 100%;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--or-prg);
}
.form-group textarea { resize: vertical; }
.contact-alt { font-size: 0.9rem; color: var(--encre-65); }

/* ── 18. FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--encre);
  color: var(--creme);
  padding: 3.5rem 0 2rem;
  margin-top: 5rem;
  border-top: 3px solid var(--or-prg);
}
.footer-inner {
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo-z {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--or-prg);
  line-height: 1;
}
.footer-tagline {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(245,237,224,0.7);
  line-height: 1.5;
  max-width: 260px;
}
.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-nav-list a {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  color: rgba(245,237,224,0.7);
  text-decoration: none;
  transition: color var(--dur);
}
.footer-nav-list a:hover { color: var(--or-prg); }
.footer-lang {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  color: rgba(245,237,224,0.5);
  grid-column: 1 / -1;
}
.footer-lang a { color: rgba(245,237,224,0.6); text-decoration: none; }
.footer-lang a:hover, .footer-lang a.lang-active { color: var(--or-prg); }
.footer-copy {
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  color: rgba(245,237,224,0.4);
  grid-column: 1 / -1;
  border-top: 1px solid rgba(245,237,224,0.1);
  padding-top: 1.5rem;
}

/* ── 19. H2 SCROLL ANIMATION (IntersectionObserver) ────────────── */
/* Handled via JS below */

/* ── 20. RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .bilingual-block { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--creme-95);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--or-prg);
    padding: 1rem var(--gutter);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .header-inner { position: relative; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .bilingual-block { gap: 2rem; }
}

/* ── 21. SCROLL ANIMATION TRIGGER ──────────────────────────────── */

/* ── 22. TABLE OF CONTENTS ─────────────────────────────────────── */
.toc {
  background: #f8f4f0;
  border-left: 4px solid #8B1A1A;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  max-width: 640px;
}
.toc-title {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8B1A1A;
  margin: 0 0 0.75rem;
}
.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.toc li {
  font-size: 0.9rem;
  line-height: 1.4;
}
.toc a {
  color: #3a2a1a;
  text-decoration: none;
  transition: color 0.15s;
}
.toc a:hover { color: #8B1A1A; text-decoration: underline; }

/* ── 23. FOOTER NAV ────────────────────────────────────────────── */
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-nav a { color: inherit; text-decoration: none; opacity: 0.8; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

/* ── 24. BLOG CARD LINK ─────────────────────────────────────────── */
.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.blog-card-link:hover { text-decoration: none; }

/* ── 25. EXPERT ANSWER ──────────────────────────────────────────── */
.expert-answer {
  background: #f9f6f2;
  border-left: 4px solid #C9A84C;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: #3a2a1a;
}
.expert-answer p:last-child { margin-bottom: 0; }

/* ── 26. INTERVIEW BLOCKQUOTE RENDERING ────────────────────────── */
blockquote.expert-answer {
  font-size: 1rem !important;
  font-style: normal !important;
  line-height: 1.7 !important;
}

/* ── 27. INTERVIEW EXPERT CARD ──────────────────────────────────── */
.interview-expert-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #faf7f2;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 2rem 0;
  border-left: 4px solid var(--or-prg);
}
.expert-portrait {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}
.expert-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--encre);
}
.expert-bio strong { display: block; margin-bottom: 0.3rem; color: var(--vino); font-weight: 700; }
