/* ============================================================
   Napa Tribune — style.css v4
   Wine & tourism newspaper — Napa Valley's Paper of Record
   Forest Green #1e4d2b · Vivid Green #2a7d42 · Copper #b87333
   Cream #f7f3ec · Ink #111
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --green:      #1e4d2b;
  --green-dk:   #122e19;
  --green-md:   #2a7d42;
  --green-lt:   #3a8a52;
  --copper:     #b87333;
  --copper-lt:  #d4924a;
  --copper-dk:  #8a5220;
  --ink:        #111111;
  --charcoal:   #2c2c2c;
  --mid:        #5a5a5a;
  --muted:      #909090;
  --rule:       #d8d3c8;
  --bg:         #f7f3ec;
  --bg-white:   #ffffff;
  --serif:      'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:       'Libre Franklin', Arial, Helvetica, sans-serif;
  --max-w:      1260px;
  --r:          3px;
  --nav-h:      44px;
}

/* ── 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(--bg);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Copper accent bar at very top ─────────────────────────── */
.accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--green-dk) 0%, var(--copper) 40%, var(--copper-lt) 65%, var(--green-md) 100%);
}

/* ── Topbar ────────────────────────────────────────────────── */
.topbar {
  background: var(--green-dk);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  align-items: center;
}
.topbar-date {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .02em;
  margin-right: auto;
}
.topbar-tagline {
  font-size: 0.68rem;
  font-style: italic;
  color: var(--copper-lt);
  letter-spacing: .05em;
}
.topbar-links {
  display: flex;
  gap: 18px;
  margin-left: 24px;
}
.topbar-links a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transition: color .15s;
}
.topbar-links a:hover { color: var(--copper-lt); }

/* ── Masthead ──────────────────────────────────────────────── */
.masthead {
  background: var(--bg-white);
  padding: 18px 20px 14px;
  border-bottom: 3px solid var(--green);
}
.masthead-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.masthead-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark svg { display: block; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--green);
  letter-spacing: -1.5px;
  line-height: 1;
}
.logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: 4px;
}
/* Masthead weather — id=masthead-weather, class=masthead-wx */
.masthead-wx {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  padding-right: 12px;
}
.wx-mast-temp {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}
.wx-mast-cond {
  font-size: 0.72rem;
  color: var(--mid);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 0;
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--green); border-radius: 1px; }

/* ── Ticker ────────────────────────────────────────────────── */
.ticker-bar {
  background: var(--green);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 36px;
}
.ticker-label {
  background: var(--copper);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 0 18px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  border-right: 2px solid rgba(0,0,0,.15);
}
/* Scrolling container — class=ticker-wrap in HTML */
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  animation: ticker-scroll 70s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.ticker-track:empty  { animation: none; }
.ticker-track:hover  { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-item::after {
  content: '◆';
  margin-left: 28px;
  color: var(--copper-lt);
  font-size: 0.45rem;
}
.ticker-item a { color: rgba(255,255,255,.88); transition: color .15s; }
.ticker-item a:hover { color: var(--copper-lt); }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Main Nav ──────────────────────────────────────────────── */
.main-nav {
  background: var(--green-dk);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: box-shadow .2s;
}
.main-nav.scrolled { box-shadow: 0 3px 20px rgba(0,0,0,.35); }
/* class=nav-inner in HTML */
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
}
.nav-menu {
  display: flex;
  align-items: stretch;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-menu li { flex-shrink: 0; }
.nav-menu li a {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 15px;
  color: rgba(255,255,255,.72);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  color: #fff;
  border-bottom-color: var(--copper);
}

/* ══════════════════════════════════════════════════════════
   HERO — full-bleed image with gradient text overlay
   ══════════════════════════════════════════════════════════ */
.hero-section {
  background: var(--ink);
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.hero-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  min-height: 490px;
}

/* Left column: big image with overlay text */
.hero-lead {
  position: relative;
  overflow: hidden;
}
.hero-img-wrap {
  position: relative;
  height: 100%;
  min-height: 490px;
  overflow: hidden;
  display: block;
  background: var(--green-dk);
}
.hero-img-wrap.no-img {
  background: linear-gradient(135deg, #1e4d2b 0%, #0a1f10 100%);
}
.hero-img-wrap.no-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 18px,
    rgba(255,255,255,.025) 18px, rgba(255,255,255,.025) 19px
  );
}
.hero-img-wrap.no-img .hero-noimg-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-wrap.no-img .hero-noimg-bg span { font-size: 6rem; opacity: .1; }
.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.hero-img-wrap:hover .hero-main-img { transform: scale(1.03); }

/* Gradient overlay with text */
.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.92)  0%,
    rgba(0,0,0,.65)  38%,
    rgba(0,0,0,.12)  68%,
    transparent      100%
  );
  padding: 48px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  text-decoration: none;
}
.hero-cat-badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--green-md);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 10px 3px;
  border-radius: 2px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  font-weight: 900;
  line-height: 1.17;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-meta .src { font-weight: 700; color: rgba(255,255,255,.7); }

/* Right rail — top stories */
.hero-rail {
  background: var(--bg-white);
  border-left: 1px solid var(--rule);
  padding: 20px 18px 20px 20px;
  display: flex;
  flex-direction: column;
}
.hero-rail-head {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  margin-bottom: 0;
}
.hero-rail-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.hero-rail-item:last-child { border-bottom: none; }
.hero-rail-thumb {
  width: 72px;
  height: 54px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: #e0ddd5;
}
.hero-rail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-rail-nothumb {
  width: 72px; height: 54px;
  flex-shrink: 0;
  border-radius: var(--r);
  background: var(--green-dk);
  display: flex; align-items: center; justify-content: center;
}
.hero-rail-nothumb-cat {
  font-size: 0.45rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.3); writing-mode: vertical-rl;
}
.hero-rail-body { flex: 1; min-width: 0; }
.hero-rail-cat {
  font-size: 0.56rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--copper); margin-bottom: 4px;
}
.hero-rail-title {
  font-family: var(--serif);
  font-size: 0.86rem; font-weight: 700; line-height: 1.3; color: var(--ink);
}
.hero-rail-title a:hover { color: var(--green); }
.hero-rail-meta { font-size: 0.65rem; color: var(--muted); margin-top: 4px; }

/* ── Secondary Strip ───────────────────────────────────────── */
.secondary-strip {
  background: var(--bg-white);
  border-bottom: 2px solid var(--rule);
}
.secondary-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 18px 16px 18px 0;
  border-right: 1px solid var(--rule);
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child  { border-right: none; padding-right: 0; }
.strip-num {
  font-family: var(--serif);
  font-size: 2rem; font-weight: 900;
  color: var(--rule); line-height: 1;
  flex-shrink: 0; width: 28px; margin-top: -4px;
}
.strip-cat {
  font-size: 0.56rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--copper); margin-bottom: 5px;
}
.strip-title {
  font-family: var(--serif);
  font-size: 0.88rem; font-weight: 700; line-height: 1.3; color: var(--ink);
}
.strip-title a:hover { color: var(--green); }
.strip-meta { font-size: 0.65rem; color: var(--muted); margin-top: 5px; }

/* ── Content + Sidebar Layout ──────────────────────────────── */
.content-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ── Section Head ──────────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 1.2rem; font-weight: 900; color: var(--green); white-space: nowrap;
}
.section-head-rule { flex: 1; height: 1px; background: var(--rule); }
.section-head-more {
  font-size: 0.68rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--copper); white-space: nowrap;
}
.section-head-more:hover { color: var(--green); }

/* ── Article Grid ──────────────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.article-card {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.article-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.card-img-wrap {
  height: 168px;
  overflow: hidden;
  position: relative;
  background: #e0ddd5;
  flex-shrink: 0;
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .35s, transform .4s; display: block;
}
.card-img-wrap img.loaded { opacity: 1; }
.article-card:hover .card-img-wrap img { transform: scale(1.05); }

/* No-image card — rich dark-green vineyard treatment */
.card-img-wrap.no-img {
  background: linear-gradient(155deg, #1e4d2b 0%, #0d2414 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.card-img-wrap.no-img::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 10px,
    rgba(255,255,255,.025) 10px, rgba(255,255,255,.025) 11px
  );
}
.card-img-wrap.no-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper-dk), var(--copper-lt), var(--copper-dk));
}
.card-noimg-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.card-noimg-icon { font-size: 2.2rem; opacity: .22; }
.card-noimg-label {
  font-family: var(--serif);
  font-size: 0.65rem; font-weight: 900;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
}

.card-body {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; flex: 1;
}
.card-cat {
  font-size: 0.56rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--copper); margin-bottom: 7px;
}
.card-title {
  font-family: var(--serif);
  font-size: 0.97rem; font-weight: 700; line-height: 1.35;
  color: var(--ink); flex: 1; margin-bottom: 10px;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--green); }
.card-excerpt {
  font-size: 0.79rem; color: var(--mid); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px;
}
.card-meta { font-size: 0.67rem; color: var(--muted); margin-top: auto; }
.card-meta .src { font-weight: 700; color: var(--charcoal); }

/* ── Sidebar (sticky — follows scroll) ────────────────────── */
.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 8px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-height: calc(100vh - var(--nav-h) - 20px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sidebar::-webkit-scrollbar { display: none; }

/* ── Widgets ───────────────────────────────────────────────── */
.widget {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
}
.widget-head {
  background: var(--green);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.85rem; font-weight: 700;
  padding: 9px 16px; letter-spacing: .02em;
  border-bottom: 2px solid var(--copper);
}
.widget-body { padding: 16px; }

/* Trending */
.trending-list { display: flex; flex-direction: column; }
.trending-item {
  display: flex; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--rule); align-items: flex-start;
}
.trending-item:last-child { border-bottom: none; padding-bottom: 0; }
.trending-n {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 900;
  color: var(--rule); line-height: 1; flex-shrink: 0; width: 24px;
}
.trending-title {
  font-size: 0.83rem; font-weight: 600; line-height: 1.35; color: var(--charcoal);
}
.trending-title a:hover { color: var(--green); }
.trending-meta { font-size: 0.66rem; color: var(--muted); margin-top: 3px; }

/* Weather widget outer — houses weatherwidget.io embed */
.weather-widget-outer .widget-head { background: var(--green-dk); }
.weather-widget-body { padding: 0; }
.weather-widget-body .weatherwidget-io { display: block; }

/* Sections nav */
.sections-nav { display: flex; flex-direction: column; }
.sections-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--rule);
  font-size: 0.83rem; font-weight: 600; color: var(--charcoal); transition: color .15s;
}
.sections-nav a:last-child { border-bottom: none; }
.sections-nav a:hover { color: var(--green); }
.sections-nav a::after { content: '→'; color: var(--copper); font-size: 0.7rem; }

/* ── Category Page ─────────────────────────────────────────── */
.cat-banner {
  background: var(--green-dk);
  border-bottom: 3px solid var(--copper);
  padding: 32px 20px;
}
.cat-banner-inner { max-width: var(--max-w); margin: 0 auto; }
.cat-banner h1 {
  font-family: var(--serif); font-size: 2rem; font-weight: 900; color: #fff;
}
.cat-banner p { color: rgba(255,255,255,.6); margin-top: 6px; font-size: 0.9rem; }
.cat-grid-wrap { max-width: var(--max-w); margin: 0 auto; padding: 32px 20px; }
.cat-article-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span {
  padding: 8px 14px; background: var(--bg-white); border: 1px solid var(--rule);
  border-radius: var(--r); font-size: 0.82rem; font-weight: 600; color: var(--charcoal);
}
.pagination span.current { background: var(--green); color: #fff; border-color: var(--green); }
.pagination a:hover { background: var(--bg); }

/* ── Static Pages ──────────────────────────────────────────── */
.page-banner   { background: var(--green-dk); border-bottom: 3px solid var(--copper); padding: 36px 20px; }
.page-banner-inner { max-width: var(--max-w); margin: 0 auto; }
.page-banner-inner h1 { font-family: var(--serif); font-size: 2rem; font-weight: 900; color: #fff; }
.page-banner-inner p  { color: rgba(255,255,255,.6); margin-top: 6px; font-size: 0.9rem; }
.page-hero       { background: var(--green-dk); border-bottom: 3px solid var(--copper); }
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 36px 20px; }
.page-hero-inner h1 { font-family: var(--serif); font-size: 2rem; font-weight: 900; color: #fff; }
.page-hero-inner p  { color: rgba(255,255,255,.6); margin-top: 6px; font-size: 0.9rem; }
.page-content { max-width: 820px; margin: 0 auto; padding: 48px 20px 72px; }
.page-content h2 {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 900; color: var(--green);
  margin: 36px 0 12px; border-bottom: 2px solid var(--rule); padding-bottom: 8px;
}
.page-content h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--charcoal); margin: 24px 0 8px; }
.page-content p  { margin-bottom: 16px; line-height: 1.75; }
.page-content ul { margin: 0 0 16px 24px; list-style: disc; }
.page-content ul li { margin-bottom: 8px; line-height: 1.65; }
.page-content a  { color: var(--green); text-decoration: underline; }
.page-content a:hover { color: var(--copper); }

/* ── Contact ───────────────────────────────────────────────── */
.contact-layout {
  max-width: var(--max-w); margin: 0 auto;
  padding: 48px 20px 72px;
  display: grid; grid-template-columns: 1fr 360px; gap: 48px;
}
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label {
  display: block; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--mid); margin-bottom: 6px;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--rule);
  border-radius: var(--r); font-family: var(--sans); font-size: 0.95rem;
  color: var(--charcoal); background: var(--bg-white);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30,77,43,.1);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.honeypot { display: none !important; }
.btn-submit {
  background: var(--green); color: #fff; border: none;
  padding: 12px 32px; font-family: var(--sans); font-size: 0.9rem;
  font-weight: 700; border-radius: var(--r); cursor: pointer; transition: background .15s;
}
.btn-submit:hover { background: var(--green-lt); }
.form-success { background: #e8f5ec; border: 1px solid #a3d4b0; color: var(--green); padding: 14px 16px; border-radius: var(--r); font-weight: 600; margin-bottom: 20px; }
.form-error   { background: #fdf0f0; border: 1px solid #f5c6c6; color: #c0392b; padding: 14px 16px; border-radius: var(--r); font-weight: 600; margin-bottom: 20px; }
.contact-info h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 900; color: var(--green); margin-bottom: 16px; }
.contact-info p  { font-size: 0.88rem; line-height: 1.7; color: var(--mid); margin-bottom: 14px; }
.contact-info a  { color: var(--green); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.6);
  border-top: 4px solid var(--copper); margin-top: 56px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 52px 20px 36px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.footer-brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 900; color: #fff; }
.footer-brand-tag  { font-size: 0.68rem; color: var(--copper-lt); font-style: italic; margin-top: 2px; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-bottom: 36px; }
.footer-col h4 {
  font-size: 0.65rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--copper); margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 0.83rem; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,.35); line-height: 1.7; }

/* ── Cookie Consent Banner ─────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1a1a1a;
  color: rgba(255,255,255,.82);
  z-index: 9999;
  border-top: 3px solid var(--green);
  box-shadow: 0 -6px 32px rgba(0,0,0,.4);
}
.cookie-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-inner p { flex: 1; font-size: 0.83rem; line-height: 1.5; }
.cookie-inner p a { color: var(--copper-lt); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept  { background: var(--green); color: #fff; border: none; padding: 8px 22px; font-weight: 700; font-size: 0.8rem; border-radius: var(--r); cursor: pointer; }
.btn-cookie-accept:hover  { background: var(--green-lt); }
.btn-cookie-decline { background: transparent; color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.18); padding: 8px 22px; font-weight: 600; font-size: 0.8rem; border-radius: var(--r); cursor: pointer; }
.btn-cookie-decline:hover { background: rgba(255,255,255,.07); }

/* ── Back to Top ───────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 80px; right: 22px;
  background: var(--green); color: #fff; border: none;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1rem; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .25s;
  z-index: 9998; box-shadow: 0 2px 14px rgba(0,0,0,.3);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--green-lt); }

/* ── Utility ───────────────────────────────────────────────── */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-wrap { grid-template-columns: 1fr 260px; }
  .cat-article-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-img-wrap { min-height: 360px; }
  .hero-rail { display: none; }
  .secondary-strip-inner { grid-template-columns: repeat(2,1fr); }
  .content-layout { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { position: static; max-height: none; overflow-y: visible; }
  .contact-layout { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2,1fr); }
  .cat-article-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .topbar-tagline { display: none; }
  .masthead-wx    { display: none; }
  .hero-img-wrap  { min-height: 280px; }
  .hero-overlay   { padding: 32px 18px 22px; }
  .hero-title     { font-size: 1.35rem; }
  .article-grid { grid-template-columns: 1fr; }
  .cat-article-grid { grid-template-columns: 1fr; }
  .secondary-strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 1px solid var(--rule); padding-right: 0; }
  .strip-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--green-dk);
    flex-direction: column; z-index: 300;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
  }
  .nav-menu.open { display: flex; }
  .main-nav { position: relative; }
  .nav-menu li a { height: 46px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
}
@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
}
