/* =====================================================
   NAPA CHRONICLE — style.css v3
   ===================================================== */

/* ── Variables ── */
:root {
  --red:       #c8102e;
  --red-dark:  #a50d24;
  --ink:       #111111;
  --charcoal:  #222222;
  --gray-700:  #444444;
  --gray-500:  #777777;
  --gray-300:  #bbbbbb;
  --smoke:     #f0eeea;
  --paper:     #faf9f7;
  --white:     #ffffff;
  --gold:      #c9922a;
  --border:    #e2dfd9;

  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --max-w: 1280px;
  --pad:   clamp(14px, 3vw, 24px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -40px; left: 16px;
  padding: 6px 12px; background: var(--red); color: #fff;
  font-size: .85rem; font-weight: 700; border-radius: 0 0 4px 4px;
  z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ══════════════════════════════════════
   TOPBAR
══════════════════════════════════════ */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6px var(--pad);
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-date { color: rgba(255,255,255,.45); }
.topbar-tagline { flex: 1; text-align: center; color: rgba(255,255,255,.5); }
.topbar-links { display: flex; gap: 12px; }
.topbar-links a { color: rgba(255,255,255,.65); transition: color .15s; }
.topbar-links a:hover { color: #fff; }
.topbar-sep { color: rgba(255,255,255,.2); }

/* ══════════════════════════════════════
   MASTHEAD
══════════════════════════════════════ */
.masthead {
  background: var(--white);
  border-bottom: 4px solid var(--red);
  padding: 14px var(--pad);
}
.masthead-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.masthead-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-icon { flex: none; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
}
.logo-sub {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ══════════════════════════════════════
   TICKER
══════════════════════════════════════ */
.ticker-wrap {
  background: var(--red);
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 36px;
  border-bottom: 2px solid var(--red-dark);
}
.ticker-label {
  flex: none;
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.ticker-label .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: nc-pulse 1.4s ease-in-out infinite;
}
@keyframes nc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-items {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: nc-scroll 50s linear infinite;
}
.ticker-items:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 0 22px;
  border-right: 1px solid rgba(255,255,255,.25);
  line-height: 1.3;
}
.ticker-item a { color: #fff; }
.ticker-item a:hover { text-decoration: underline; }
.ticker-placeholder { color: rgba(255,255,255,.75); font-size: .78rem; padding: 0 20px; }
@keyframes nc-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   PRIMARY NAV
══════════════════════════════════════ */
.primary-nav {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.primary-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
}
.nav-menu { display: flex; flex-wrap: wrap; }
.nav-menu li a {
  display: block;
  padding: 12px 14px;
  color: rgba(255,255,255,.88);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .15s, color .15s;
  border-bottom: 3px solid transparent;
}
.nav-menu li a:hover {
  background: rgba(0,0,0,.18);
  color: #fff;
  border-bottom-color: rgba(255,255,255,.6);
}
.nav-menu li a.active {
  background: rgba(0,0,0,.22);
  color: #fff;
  border-bottom-color: #fff;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .25s;
}

/* ══════════════════════════════════════
   HERO — FOX-NEWS-STYLE SPLIT
══════════════════════════════════════ */
.hero-split {
  background: var(--ink);
  border-bottom: 3px solid var(--red);
}
.hero-split-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 500px;
}

/* LEFT: image column */
.hero-img-col {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 400px;
}
.hero-img-col > a {
  display: block;
  height: 100%;
  position: relative;
}
.hero-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s ease;
}
.hero-img-col > a:hover img { transform: scale(1.04); }
.hero-cat-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
}

/* LEFT: no-image editorial treatment */
.hero-img-col.no-image {
  background: #07080c;
  display: flex;
  align-items: stretch;
}
.hero-img-col.no-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200,16,46,.15) 0%, transparent 58%),
    repeating-linear-gradient(
      -55deg,
      transparent, transparent 50px,
      rgba(255,255,255,.018) 50px, rgba(255,255,255,.018) 51px
    );
  pointer-events: none;
}
.hero-img-col.no-image > a {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 48px 44px;
  text-decoration: none;
}
.hero-noimg-eyebrow {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-noimg-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--red);
  flex: none;
}
.hero-noimg-watermark {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  font-style: italic;
  color: rgba(255,255,255,.05);
  line-height: .95;
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
  word-break: break-word;
}

/* RIGHT: text panel */
.hero-text-col {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255,255,255,.07);
}
.hero-text-inner {
  padding: 30px 28px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero-source-kicker {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 14px;
  flex: 1;
}
.hero-headline a { color: var(--white); }
.hero-headline a:hover { color: rgba(255,255,255,.82); }
.hero-excerpt-text {
  font-size: .87rem;
  line-height: 1.65;
  color: rgba(255,255,255,.62);
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-meta-line {
  font-size: .69rem;
  font-weight: 600;
  color: rgba(255,255,255,.36);
  letter-spacing: .05em;
  text-transform: uppercase;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Sub-stories */
.hero-sub-list { border-top: 1px solid rgba(255,255,255,.07); }
.hero-sub-label {
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.27);
  padding: 11px 28px 7px;
}
.hero-sub-item { border-top: 1px solid rgba(255,255,255,.05); }
.hero-sub-item a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 28px;
  text-decoration: none;
  transition: background .15s;
}
.hero-sub-item a:hover { background: rgba(255,255,255,.04); }
.hero-sub-num {
  font-family: var(--serif);
  font-size: .9rem;
  font-weight: 900;
  color: var(--red);
  flex: none;
  min-width: 18px;
  margin-top: 1px;
  line-height: 1;
}
.hero-sub-title {
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255,255,255,.82);
}
.hero-sub-item a:hover .hero-sub-title { color: #fff; }
.hero-sub-src {
  font-size: .64rem;
  color: rgba(255,255,255,.28);
  margin-top: 4px;
  letter-spacing: .04em;
}

/* ══════════════════════════════════════
   SECONDARY STRIP
══════════════════════════════════════ */
.secondary-strip {
  background: var(--smoke);
  border-bottom: 2px solid var(--border);
}
.secondary-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.secondary-item {
  border-right: 1px solid var(--border);
  transition: background .15s;
}
.secondary-item:last-child { border-right: none; }
.secondary-item:hover { background: rgba(0,0,0,.03); }
.secondary-item a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  text-decoration: none;
  width: 100%;
  height: 100%;
}
.secondary-img {
  flex: none;
  width: 70px;
  height: 58px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--border);
}
.secondary-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.secondary-item:hover .secondary-img img { transform: scale(1.08); }
.secondary-body { flex: 1; min-width: 0; }
.secondary-cat {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 4px;
}
.secondary-title {
  font-family: var(--serif);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.secondary-item:hover .secondary-title { color: var(--red); }
.secondary-src { font-size: .65rem; color: var(--gray-500); margin-top: 5px; }

/* ══════════════════════════════════════
   CONTENT LAYOUT
══════════════════════════════════════ */
.content-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}
.main-col {}
.sidebar-col { position: sticky; top: 58px; }

/* Page wrap for category/legal pages */
.page-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* Section blocks */
.section-block {
  padding: 30px 0 26px;
  border-bottom: 1px solid var(--border);
}
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.section-header h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  position: relative;
  padding-left: 14px;
}
.section-header h2::before {
  content: '';
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 4px;
  background: var(--red);
  border-radius: 2px;
}
.section-header .more-link {
  margin-left: auto;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--red);
  padding: 5px 12px;
  border: 1.5px solid var(--red);
  border-radius: 2px;
  transition: background .15s, color .15s;
  flex: none;
  white-space: nowrap;
}
.section-header .more-link:hover { background: var(--red); color: #fff; }

/* Grids */
.article-grid { display: grid; gap: 18px; }
.article-grid--3 { grid-template-columns: repeat(3, 1fr); }
.article-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ══════════════════════════════════════
   ARTICLE CARDS
══════════════════════════════════════ */
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.article-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.11);
  transform: translateY(-2px);
}
.article-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

/* With image */
.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8e5e0;
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.article-card:hover .card-img-wrap img { transform: scale(1.06); }

/* No-image card */
.article-card.no-image { border-top: 4px solid var(--red); }
.article-card.no-image[data-cat="bay-area"]    { border-top-color: #0061b0; }
.article-card.no-image[data-cat="wine"]        { border-top-color: #7b2d8b; }
.article-card.no-image[data-cat="business"]    { border-top-color: #16734a; }
.article-card.no-image[data-cat="real-estate"] { border-top-color: #b36200; }
.article-card.no-image[data-cat="arts"]        { border-top-color: #9c2e00; }
.article-card.no-image[data-cat="sports"]      { border-top-color: #0c5c99; }

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-source-label {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
  display: block;
}
.card-badge-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}
.cat-badge {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 2px 6px;
  border-radius: 1px;
}
.cat-badge--bay-area    { background: #0061b0; }
.cat-badge--wine        { background: #7b2d8b; }
.cat-badge--business    { background: #16734a; }
.cat-badge--real-estate { background: #b36200; }
.cat-badge--arts        { background: #9c2e00; }
.cat-badge--sports      { background: #0c5c99; }

.live-badge {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
}
.live-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: nc-pulse 1.4s ease-in-out infinite;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  margin-bottom: 8px;
  flex: 1;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card:hover .card-title { color: var(--red); }
.card-excerpt {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--gray-700);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  font-size: .68rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: auto;
}
.card-meta .source { font-weight: 600; color: var(--gray-700); }
.read-more {
  margin-left: auto;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}

/* ══════════════════════════════════════
   SIDEBAR
══════════════════════════════════════ */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 22px;
}
.sidebar-widget-head {
  background: var(--ink);
  color: #fff;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.sidebar-widget-body { padding: 0; }
.trending-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
a:hover .trending-item { background: var(--paper); }
.trending-num {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--red);
  flex: none;
  line-height: 1;
  min-width: 22px;
  margin-top: 1px;
}
.trending-title {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a:hover .trending-title { color: var(--red); }
.trending-meta { font-size: .65rem; color: var(--gray-500); margin-top: 4px; }

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 36px 0;
  flex-wrap: wrap;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.page-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.page-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ══════════════════════════════════════
   CATEGORY PAGE HERO
══════════════════════════════════════ */
.cat-page-hero {
  color: #fff;
  padding: 36px var(--pad) 28px;
  border-bottom: 3px solid rgba(0,0,0,.15);
}
.cat-page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.breadcrumb {
  font-size: .71rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,.78); text-decoration: underline; }
.cat-page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.cat-page-hero h1 span { opacity: .55; }
.cat-page-hero p { font-size: .9rem; opacity: .8; max-width: 600px; line-height: 1.65; }
.cat-count { font-size: .75rem; opacity: .52; margin-top: 8px; }

/* ══════════════════════════════════════
   NO RESULTS
══════════════════════════════════════ */
.no-results {
  text-align: center;
  padding: 80px var(--pad);
  color: var(--gray-500);
}
.no-results svg { margin: 0 auto 20px; stroke: var(--gray-300); }
.no-results h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin-bottom: 8px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: #111;
  color: rgba(255,255,255,.7);
  margin-top: 56px;
  border-top: 4px solid var(--red);
}
.footer-main { padding: 48px var(--pad) 36px; }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-logo-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.footer-about { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.footer-address { font-size: .75rem; color: rgba(255,255,255,.33); margin-bottom: 4px; }
.footer-email { font-size: .75rem; color: rgba(255,255,255,.44); text-decoration: underline; }
.footer-email:hover { color: rgba(255,255,255,.78); }
.footer-col {}
.footer-heading {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.33);
  margin-bottom: 14px;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: .83rem; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  background: #000;
  padding: 14px var(--pad);
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { font-size: .7rem; color: rgba(255,255,255,.28); flex: 1; line-height: 1.5; }
.footer-bottom-links { display: flex; gap: 14px; }
.footer-bottom-links a { font-size: .7rem; color: rgba(255,255,255,.36); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.75); }

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  background: var(--red);
  color: #fff;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  z-index: 200;
  transition: background .15s, transform .15s;
}
.back-to-top:hover { background: var(--red-dark); transform: translateY(-2px); }
.back-to-top[hidden] { display: none; }

/* ══════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(14,14,14,.97);
  color: rgba(255,255,255,.82);
  z-index: 9000;
  border-top: 2px solid var(--red);
}
.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: .82rem; line-height: 1.5; flex: 1; }
.cookie-inner p a { color: rgba(255,255,255,.78); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.btn-cookie-accept {
  background: var(--red); color: #fff;
  font-size: .8rem; font-weight: 700;
  padding: 8px 20px; border-radius: 2px;
  cursor: pointer; border: none;
  transition: background .15s;
}
.btn-cookie-accept:hover { background: var(--red-dark); }
.btn-cookie-learn { font-size: .8rem; color: rgba(255,255,255,.55); text-decoration: underline; padding: 8px 0; }

/* ══════════════════════════════════════
   STATIC PAGES
══════════════════════════════════════ */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 48px var(--pad) 40px;
  border-bottom: 3px solid var(--red);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.page-hero p { font-size: .92rem; color: rgba(255,255,255,.65); max-width: 560px; }
.page-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 var(--pad);
}
.page-content h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 32px 0 10px;
  padding-left: 14px;
  border-left: 4px solid var(--red);
}
.page-content h3 { font-size: 1.05rem; font-weight: 700; margin: 22px 0 8px; }
.page-content p { font-size: .92rem; line-height: 1.75; color: #444; margin-bottom: 14px; }
.page-content ul {
  list-style: disc;
  padding-left: 24px;
  font-size: .92rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 14px;
}
.page-content a { color: var(--red); text-decoration: underline; }

/* Contact form */
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  font: inherit;
  font-size: .92rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--red); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }
.form-btn {
  background: var(--red); color: #fff;
  font-size: .88rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 13px 32px; border-radius: 2px;
  cursor: pointer; border: none;
  transition: background .15s;
}
.form-btn:hover { background: var(--red-dark); }
.form-status {
  margin-top: 14px; padding: 12px 16px;
  border-radius: 2px; font-size: .88rem;
}
.form-status.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.form-status.error   { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.info-box {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 0 2px 2px 0;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.info-box h3 { font-family: var(--serif); margin-bottom: 8px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-split-inner { grid-template-columns: 1fr 340px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .content-layout { grid-template-columns: 1fr 260px; }
}
@media (max-width: 900px) {
  .hero-split-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-img-col { min-height: 300px; }
  .hero-text-col { border-left: none; border-top: 1px solid rgba(255,255,255,.07); }
  .secondary-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .secondary-item:nth-child(2) { border-right: none; }
  .secondary-item:nth-child(3),
  .secondary-item:nth-child(4) { border-top: 1px solid var(--border); }
  .secondary-item:nth-child(4) { border-right: none; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar-col { position: static; }
  .article-grid--3,
  .article-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar-tagline { display: none; }
  .secondary-strip-inner { grid-template-columns: 1fr; }
  .secondary-item { border-right: none !important; border-top: 1px solid var(--border) !important; }
  .secondary-item:first-child { border-top: none !important; }
  .article-grid--3,
  .article-grid--4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-text-inner { padding: 20px; }
  .hero-sub-item a { padding: 10px 20px; }
  .hero-sub-label { padding: 10px 20px 6px; }
  .hero-img-col.no-image > a { padding: 32px 24px; }
  .hero-noimg-watermark { font-size: 2.5rem; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--red-dark);
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a {
    border-bottom: 1px solid rgba(0,0,0,.12) !important;
    border-bottom-color: rgba(0,0,0,.12) !important;
  }
  .primary-nav { position: sticky; }
}
