/* ============================================
   Conecta Cidadão BR — Editorial v2
   Paleta: Bordô profundo + Creme + Mostarda
   ============================================ */

:root {
  --bg: #f5f1e8;
  --bg-alt: #ebe5d6;
  --bg-paper: #fbf8f1;
  --ink: #1a1614;
  --ink-soft: #4a4136;
  --ink-mute: #8a7f6e;

  --brand: #6b1d2e;            /* bordô profundo */
  --brand-dark: #4a1320;
  --brand-soft: #f3e6e9;
  --brand-hover: #8a2940;

  --accent: #c89938;            /* mostarda/dourado */
  --accent-soft: #f5ead0;
  --accent-dark: #a17a26;

  --line: #d8d0bf;
  --line-soft: #e5dfd0;

  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "DM Mono", "JetBrains Mono", ui-monospace, monospace;

  --max-content: 1280px;
  --shadow-sm: 0 1px 2px rgba(26,22,20,0.04), 0 1px 3px rgba(26,22,20,0.06);
  --shadow-md: 0 4px 12px rgba(26,22,20,0.06), 0 2px 4px rgba(26,22,20,0.04);
  --shadow-lg: 0 12px 32px rgba(26,22,20,0.08), 0 4px 8px rgba(26,22,20,0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--brand); color: var(--bg); }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============ TOP BAR ============ */
.topbar {
  background: var(--ink);
  color: #c8b8a3;
  font-size: 12.5px;
  padding: 9px 0;
  letter-spacing: 0.02em;
}
.topbar-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-date { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; }
.topbar-links { display: flex; gap: 24px; }
.topbar-links a { opacity: 0.85; transition: color .2s, opacity .2s; }
.topbar-links a:hover { opacity: 1; color: var(--accent); }

/* ============ HEADER ============ */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 24px;
  position: relative;
}
.header-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}
.brand-mark {
  width: 52px; height: 52px;
  background: var(--brand);
  color: var(--bg-paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  font-style: italic;
  letter-spacing: -0.04em;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--brand);
  pointer-events: none;
}
.brand-text { line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand);
  font-weight: 500;
  margin-top: 4px;
}

.search-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  justify-self: center;
}
.search-wrap input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  border: 1px solid var(--line);
  background: var(--bg-paper);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.search-wrap input::placeholder { color: var(--ink-mute); }
.search-wrap input:focus { border-color: var(--brand); }
.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--ink-mute);
}

.header-cta { justify-self: end; display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-weight: 500;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  border-radius: 2px;
}
.btn-primary { background: var(--brand); color: var(--bg-paper); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg-paper); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark); color: var(--bg-paper); }

/* ============ NAV ============ */
.nav { background: var(--bg); border-bottom: 2px solid var(--ink); }
.nav-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
}
.nav-link {
  padding: 16px 22px 16px 0;
  margin-right: 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  position: relative;
  transition: color .2s;
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--brand); }
.nav-link.active { color: var(--brand); font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: calc(100% - 22px);
  height: 2px;
  background: var(--brand);
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  max-width: var(--max-content);
  margin: 28px auto 0;
  padding: 0 32px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 10px; }
.breadcrumb .current { color: var(--ink); }

/* ============ HERO HOME ============ */
.hero {
  max-width: var(--max-content);
  margin: 36px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
}
@media (max-width: 920px) { .hero { grid-template-columns: 1fr; gap: 36px; } }

.hero-main { display: block; position: relative; overflow: hidden; background: var(--ink); }
.hero-main-img-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(135deg, #2d1418 0%, #4a1320 50%, #6b1d2e 100%);
}
.hero-main-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.hero-main:hover .hero-main-img-wrap img { transform: scale(1.03); }
.hero-main-img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,8,8,0.88) 0%, rgba(10,8,8,0.35) 45%, transparent 70%);
  pointer-events: none;
}
.hero-main-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 44px 44px 40px;
  color: var(--bg-paper);
  z-index: 2;
}
@media (max-width: 600px) { .hero-main-content { padding: 28px 24px 24px; } }

.tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-main h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin-bottom: 16px;
}
.hero-main-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-side { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.side-card {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .2s;
}
.side-card:hover { padding-left: 6px; }
.side-card-text { display: flex; flex-direction: column; gap: 8px; }
.side-card .eyebrow { color: var(--brand); }
.side-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.side-card .date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  margin-top: auto;
}
.side-card-img { width: 100px; height: 100px; object-fit: cover; background: var(--bg-alt); }

/* ============ SECTION ============ */
.section { max-width: var(--max-content); margin: 80px auto 0; padding: 0 32px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
  gap: 24px;
  flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-style: italic;
}
.section-more {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  border-bottom: 1px solid var(--brand);
  padding-bottom: 2px;
}
.section-more:hover { color: var(--brand-hover); border-color: var(--brand-hover); }

/* ============ NEWS GRID ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
@media (max-width: 920px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .news-grid { grid-template-columns: 1fr; gap: 36px; } }

.news-card { display: flex; flex-direction: column; gap: 16px; }
.news-card .thumb-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.news-card .thumb-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.16,1,0.3,1);
}
.news-card:hover .thumb-wrap img { transform: scale(1.05); }
.news-card .meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cat { color: var(--brand); font-weight: 600; }
.dot { color: var(--ink-mute); }
.news-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color .2s;
}
.news-card:hover h3 { color: var(--brand); }
.news-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.news-card .read-more {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: auto;
  border-bottom: 1px solid var(--brand);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* ============ ARTICLE PAGE ============ */
.article { max-width: 760px; margin: 48px auto 0; padding: 0 32px; }
.article-header { margin-bottom: 40px; }
.article-cats { display: flex; gap: 10px; margin-bottom: 22px; }
.cat-chip {
  font-family: var(--font-mono);
  padding: 5px 12px;
  border: 1px solid var(--ink);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
}
.cat-chip.is-primary { background: var(--brand); color: var(--bg-paper); border-color: var(--brand); }

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  color: var(--ink);
}
.article-sub {
  font-size: 21px;
  color: var(--ink-soft);
  line-height: 1.45;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.byline-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--bg-paper);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-display);
  font-style: italic;
}
.byline-name { font-weight: 600; color: var(--ink); }
.byline-date { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--ink-mute); }

.article-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 16px;
  background: var(--bg-alt);
}
.article-hero-caption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.article-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}
.article-body p { margin-bottom: 24px; }
.article-body p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  float: left;
  line-height: 0.9;
  margin: 6px 10px 0 0;
  color: var(--brand);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 44px 0 18px;
  color: var(--ink);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 14px;
}
.article-body ul, .article-body ol { margin: 0 0 24px 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body a { color: var(--brand); border-bottom: 1px solid var(--brand); }
.article-body a:hover { color: var(--brand-hover); }

.callout {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  padding: 28px 32px;
  margin: 36px 0;
  font-family: var(--font-body);
  font-size: 16px;
}
.callout h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--brand-dark);
}
.callout-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--ink);
}
.callout p { margin: 0; font-family: var(--font-body); }
.callout ul { margin: 0; list-style: none; font-family: var(--font-body); }
.callout ul li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
}
.callout ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 600;
}

.source-note {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--bg-paper);
  padding: 20px 24px;
  margin-top: 40px;
  border-left: 3px solid var(--brand);
  line-height: 1.55;
}
.source-note strong { color: var(--ink); }

/* ============ POLICY PAGES ============ */
.policy { max-width: 820px; margin: 48px auto 0; padding: 0 32px; }
.policy h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--ink);
}
.policy-updated {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
}
.policy h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin: 44px 0 16px;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
}
.policy h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin: 26px 0 12px;
  color: var(--ink);
}
.policy p { margin-bottom: 16px; line-height: 1.7; color: var(--ink); }
.policy ul { margin: 0 0 18px 22px; }
.policy li { margin-bottom: 8px; line-height: 1.6; }
.policy a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.policy a:hover { color: var(--brand-hover); }
.policy .info-box {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 22px 26px;
  margin: 26px 0;
  font-size: 15px;
}

/* ============ CONTACT ============ */
.contact-grid {
  max-width: var(--max-content);
  margin: 48px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--ink);
}
.contact-info > p { font-size: 17px; color: var(--ink-soft); margin-bottom: 32px; line-height: 1.55; max-width: 480px; }
.contact-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-block:first-of-type { border-top: 2px solid var(--ink); }
.contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-value { font-family: var(--font-display); font-size: 22px; color: var(--ink); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.contact-value a { color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-value a:hover { border-color: var(--brand); color: var(--brand); }
.contact-sub { font-size: 13.5px; color: var(--ink-mute); margin-top: 6px; }

.contact-form { background: var(--bg-paper); border: 1px solid var(--line); padding: 36px; }
.contact-form h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.contact-form > p { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--bg);
  outline: none;
  transition: border-color .2s;
  color: var(--ink);
  border-radius: 2px;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--brand); }
.form-row textarea { resize: vertical; min-height: 130px; font-family: var(--font-body); }
.form-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--ink-soft);
  margin: 14px 0 22px; line-height: 1.5;
}
.form-consent input { margin-top: 3px; accent-color: var(--brand); }
.form-consent a { color: var(--brand); text-decoration: underline; }

/* ============ ABOUT ============ */
.about { max-width: 1000px; margin: 48px auto 0; padding: 0 32px; }
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--ink);
}
.about-hero h1 em { color: var(--brand); font-style: italic; }
.about-hero p {
  font-size: 22px;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.4;
  max-width: 740px;
  letter-spacing: -0.01em;
}
.about-section { margin-top: 64px; }
.about-section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.about-section p { font-size: 17px; line-height: 1.7; margin-bottom: 18px; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 32px; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; gap: 24px; } }
.value-card { padding: 28px 24px; background: var(--bg-paper); border: 1px solid var(--line); position: relative; }
.value-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--brand);
  font-weight: 700;
  font-style: italic;
  line-height: 0.9;
  margin-bottom: 12px;
}
.value-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.value-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

.publisher-box { margin-top: 64px; padding: 40px; background: var(--ink); color: var(--bg-paper); }
.publisher-box h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--accent);
  font-style: italic;
}
.publisher-box > p { font-size: 15px; opacity: 0.85; max-width: 600px; }
.publisher-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin-top: 24px; font-size: 14.5px; }
@media (max-width: 600px) { .publisher-grid { grid-template-columns: 1fr; } }
.publisher-grid dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}
.publisher-grid dd { color: var(--bg-paper); font-weight: 400; }
.publisher-grid dd a { color: var(--bg-paper); border-bottom: 1px solid rgba(245,234,208,0.4); }
.publisher-grid dd a:hover { border-color: var(--accent); }

/* ============ FOOTER ============ */
.footer { margin-top: 110px; background: var(--ink); color: #c8b8a3; padding: 60px 0 32px; }
.footer-inner { max-width: var(--max-content); margin: 0 auto; padding: 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand .brand-mark { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.footer-brand .brand-mark::after { border-color: var(--accent); }
.footer-brand .brand-name { color: var(--bg-paper); font-size: 26px; }
.footer-about { font-size: 14.5px; line-height: 1.6; max-width: 340px; opacity: 0.8; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 11px; font-size: 14px; }
.footer ul li a { transition: color .2s; }
.footer ul li a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(245,234,208,0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #8a7d6b;
}
.footer-bottom .legal { max-width: 760px; line-height: 1.6; text-transform: none; letter-spacing: 0.02em; }
.disclaimer {
  background: var(--brand-dark);
  border: 1px solid var(--brand);
  padding: 18px 22px;
  margin-bottom: 36px;
  font-size: 13.5px;
  color: #f3d4cf;
  line-height: 1.55;
}
.disclaimer strong { color: var(--accent); }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--bg-paper);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  z-index: 999;
  border: 1px solid var(--brand);
}
.cookie-banner p { font-size: 13.5px; line-height: 1.5; flex: 1; min-width: 260px; }
.cookie-banner p a { color: var(--accent); text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: 10px; }
.cookie-banner .btn-ghost { color: var(--bg-paper); border-color: rgba(245,234,208,0.3); }
.cookie-banner .btn-ghost:hover { background: rgba(245,234,208,0.1); border-color: var(--bg-paper); }
.cookie-banner.hidden { display: none; }

/* ============ UTILITIES ============ */
.spacer-lg { height: 60px; }

/* Entrance animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-main, .hero-side, .news-card, .article-header {
  animation: fadeUp .8s cubic-bezier(0.16,1,0.3,1) backwards;
}
.news-card:nth-child(2) { animation-delay: 0.08s; }
.news-card:nth-child(3) { animation-delay: 0.16s; }
.news-card:nth-child(4) { animation-delay: 0.24s; }
.news-card:nth-child(5) { animation-delay: 0.32s; }
.news-card:nth-child(6) { animation-delay: 0.4s; }

/* Fallback gradient for images that don't load */
img.img-fallback { background: linear-gradient(135deg, #2d1418, #6b1d2e, #c89938); }
