/* =========================================================
   TRANS-NZOIA AHP - News Article Reading Page
   ========================================================= */

/* ── Reading Progress Bar ── */
.reading-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--lime, #9fe870) 0%, #c8f08a 100%);
  transition: width .08s linear;
  pointer-events: none; border-radius: 0 3px 3px 0;
}

/* ── Article Hero ── */
.article-hero {
  background-color: #091800;
  padding-top: calc(var(--navbar-height, 72px) + var(--ticker-height, 40px) + 2.5rem);
  padding-bottom: 0; position: relative; overflow: hidden;
}
.article-hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(
    108deg,
    rgba(9,24,0,0.98)  0%,
    rgba(9,24,0,0.96)  38%,
    rgba(9,24,0,0.72)  62%,
    rgba(9,24,0,0.28)  100%
  );
}
.article-hero-glow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 260px;
  pointer-events: none; z-index: 0;
  background: linear-gradient(to top, rgba(9,24,0,0.82) 0%, transparent 100%);
}

/* Container z-index ensures text sits above the overlay */
.article-hero > .container { position: relative; z-index: 1; }

/* Breadcrumb */
.article-hero .breadcrumb { margin-bottom: 1.25rem; }
.article-hero .breadcrumb-link { color: rgba(255,255,255,.58) !important; text-decoration: none; }
.article-hero .breadcrumb-link:hover { color: #fff !important; }
.article-hero .breadcrumb-sep { color: rgba(255,255,255,.3) !important; font-size: .62rem; }
.article-hero .breadcrumb-current {
  color: rgba(255,255,255,.48) !important;
  max-width: 40ch; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; display: inline-block; vertical-align: bottom;
}

.article-hero-inner { position: relative; z-index: 1; max-width: none; }

/* ── Two-column hero layout ── */
.article-hero-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  padding-bottom: 0;
}
.article-hero-content { display: flex; flex-direction: column; padding-bottom: 3rem; }
.article-hero-content > .news-cat-badge {
  position: static;
  align-self: flex-start;
  margin-bottom: 1rem;
}

/* RIGHT: Image media */
.article-hero-media {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.07);
  position: relative; align-self: stretch;
}
.article-hero-img-frame {
  position: relative; height: 100%; min-height: 420px;
  overflow: hidden;
  background: linear-gradient(155deg, #1c4000 0%, #0b2500 30%, #163300 55%, #091a00 100%);
}
.article-hero-img-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  position: absolute; inset: 0; z-index: 2; transition: transform .5s ease;
}
.article-hero-media:hover .article-hero-img-frame img { transform: scale(1.03); }
/* Placeholder when image is missing */
.article-hero-img-ph {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(60,110,0,.5) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 65%, rgba(20,55,0,.7) 0%, transparent 50%),
    linear-gradient(155deg, #1c4000 0%, #0b2500 30%, #163300 55%, #091a00 100%);
}
.article-hero-img-ph::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(159,232,112,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,232,112,.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.article-hero-img-ph-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 2rem; position: relative; z-index: 1;
}
.article-hero-img-ph-inner i { font-size: 5rem; color: rgba(159,232,112,.14); }
.article-hero-img-ph-inner span {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: rgba(255,255,255,.18); text-align: center; line-height: 1.7;
}
/* Image caption bar */
.article-hero-media-caption {
  background: rgba(0,0,0,.58); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: .6rem 1.25rem;
  font-size: .71rem; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: .5em;
  border-top: 1px solid rgba(255,255,255,.08);
}
.article-hero-media-caption i { color: rgba(255,255,255,.28); font-size: .65rem; }

/* Back to news */
.article-back-btn {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .42rem 1.05rem; border-radius: 100px;
  font-size: .76rem; font-weight: 700;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.24);
  color: #fff; text-decoration: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .15s; margin-bottom: 1.5rem; cursor: pointer;
}
.article-back-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); transform: translateX(-2px); }

/* Category + badge row */
.article-hero-top {
  display: flex; align-items: center; gap: .75rem;
  flex-wrap: wrap; margin-bottom: 1.25rem;
}

/* Headline */
.article-headline {
  font-family: var(--font-display, 'Syne', sans-serif) !important;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem) !important;
  font-weight: 900 !important; color: #ffffff !important;
  line-height: 1.07; letter-spacing: -.045em; margin-bottom: .9rem;
  text-shadow: 0 2px 28px rgba(0,0,0,.45), 0 0 80px rgba(0,0,0,.2);
}

/* Deck */
.article-deck {
  font-size: 1.08rem; color: rgba(255,255,255,.92);
  line-height: 1.76; max-width: 680px; margin-bottom: 1.6rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

/* Meta row */
.article-meta {
  display: flex; align-items: center; gap: .55rem;
  flex-wrap: wrap; margin-bottom: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.article-meta-item {
  display: inline-flex; align-items: center; gap: .42em;
  font-size: .82rem; color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px; padding: .38rem .9rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.article-meta-item i { font-size: .74rem; color: var(--lime, #9fe870); }
.article-meta-item.is-author {
  color: #fff; font-weight: 700;
  background: rgba(159,232,112,.1); border-color: rgba(159,232,112,.22);
}
.article-meta-divider { display: none; }

/* Share strip in hero */
.article-share-hero {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 0;
  padding-top: 1.1rem;
}
.article-share-label {
  font-size: .65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(255,255,255,.38); margin-right: .2rem;
  align-self: center;
}
.article-share-btn {
  display: inline-flex; align-items: center; gap: .42em;
  padding: .46rem 1.05rem; border-radius: 100px;
  font-size: .76rem; font-weight: 700;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  color: #fff; cursor: pointer;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  text-decoration: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.article-share-btn:hover {
  background: rgba(159,232,112,.2); border-color: rgba(159,232,112,.5);
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
/* Platform-specific accent colours on hover */
[data-action="share-x"]:hover    { background: rgba(255,255,255,.18) !important; border-color: rgba(255,255,255,.4) !important; }
[data-action="share-fb"]:hover   { background: rgba(24,119,242,.25) !important; border-color: rgba(24,119,242,.55) !important; }
[data-action="share-wa"]:hover   { background: rgba(37,211,102,.2) !important; border-color: rgba(37,211,102,.5) !important; }
[data-action="copy-link"]:hover  { background: rgba(159,232,112,.2) !important; border-color: rgba(159,232,112,.5) !important; }
.article-share-btn.is-copied { background: rgba(159,232,112,.25); color: #c8f08a; border-color: rgba(159,232,112,.6); }
.article-headline,
.article-deck,
.article-prose,
.sidebar-card,
.key-fact-value,
.article-related-link {
  overflow-wrap: anywhere;
}

/* ── Hero Image Caption Bar (image is now the hero background) ── */
.article-hero-img-outer { margin-top: 0; position: relative; z-index: 1; }
.article-hero-img-wrap {
  border-radius: 0; overflow: hidden; position: relative;
  background: transparent; max-height: none;
}
.article-hero-img-placeholder { display: none !important; }
.article-hero-img-wrap img { display: none !important; }
.article-hero-img-wrap:hover img { transform: none; }
.article-hero-img-caption {
  background: rgba(0,0,0,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: .6rem 1.4rem;
  font-size: .72rem; color: rgba(255,255,255,.52);
  display: flex; align-items: center; gap: .5em;
  border-top: 1px solid rgba(255,255,255,.09);
}
.article-hero-img-caption i { color: rgba(255,255,255,.3); font-size: .67rem; }

/* ── Article Body Layout ── */
.article-body-wrap { padding: 3.5rem 0 5rem; }
.article-layout {
  display: grid; grid-template-columns: 1fr 310px;
  gap: 3.5rem; align-items: start;
}

/* ── Prose ── */
.article-prose {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.02rem; line-height: 1.84; color: var(--neutral-800, #1c2e12);
  min-width: 0;
}
/* Drop cap on first paragraph */
.article-prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 3.75rem; font-weight: 900; line-height: .86;
  color: var(--primary-700, #163300); margin: .06em .13em -.04em 0; letter-spacing: -.03em;
}
.article-prose p { margin-bottom: 1.55rem; }
.article-prose h2 {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif) !important;
  font-size: 1.32rem !important; font-weight: 700 !important;
  color: var(--neutral-900, #0f1a08) !important;
  letter-spacing: -.025em; margin: 2.5rem 0 .85rem;
  padding-top: .6rem; border-top: 1.5px solid var(--neutral-100, #eef7e6);
}
.article-prose h3 {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif) !important;
  font-size: 1.08rem !important; font-weight: 700 !important;
  color: var(--neutral-800, #1c2e12) !important;
  letter-spacing: -.02em; margin: 1.8rem 0 .65rem;
}
.article-prose ul, .article-prose ol { padding-left: 1.6rem; margin-bottom: 1.5rem; }
.article-prose li { margin-bottom: .55rem; }
.article-prose strong { font-weight: 700; color: var(--neutral-900, #0f1a08); }
.article-prose a { color: var(--primary-600, #1e4d00); text-decoration: underline; text-underline-offset: 3px; }
.article-prose a:hover { color: var(--primary-400, #3d8c00); }

/* Pull Quote */
.article-pullquote {
  margin: 2.25rem 0; padding: 1.5rem 1.75rem;
  border-left: 5px solid var(--lime, #9fe870);
  background: var(--primary-50, #edfbd6);
  border-radius: 0 16px 16px 0;
}
.article-pullquote p {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.12rem !important; font-weight: 700;
  color: var(--primary-800, #0f2d07) !important;
  line-height: 1.55; margin-bottom: .55rem;
}
.article-pullquote-attr {
  font-size: .78rem; color: var(--neutral-500, #6b8f58);
  display: flex; align-items: center; gap: .4em;
}
.article-pullquote-attr i { color: var(--lime, #9fe870); font-size: .7rem; }

/* Callout Box */
.article-callout {
  margin: 2.25rem 0; border: 1.5px solid var(--neutral-100, #eef7e6);
  border-radius: 18px; overflow: hidden;
}
.article-callout-head {
  display: flex; align-items: center; gap: .6em;
  padding: .8rem 1.3rem;
  background: var(--primary-700, #163300); color: #fff;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: .78rem; font-weight: 700; letter-spacing: .01em;
}
.article-callout-head i { color: var(--lime, #9fe870); }
.article-callout-body { padding: 1.25rem 1.5rem; background: var(--neutral-50, #f6faf2); }
.article-callout-body p { font-size: .9rem; margin-bottom: .55rem; color: var(--neutral-700, #2e4a1e); }
.article-callout-body p:last-child { margin-bottom: 0; }
.article-callout-body ul { padding-left: 1.3rem; }
.article-callout-body li { font-size: .9rem; margin-bottom: .4rem; color: var(--neutral-700, #2e4a1e); }

/* Stat Highlight Strip */
.article-stats-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin: 2.25rem 0;
}
.article-stat-card {
  background: #fff; border: 1.5px solid var(--neutral-100, #eef7e6);
  border-radius: 16px; padding: 1.3rem 1rem; text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.article-stat-num {
  display: block; font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.8rem; font-weight: 900;
  color: var(--primary-700, #163300); letter-spacing: -.04em; line-height: 1;
}
.article-stat-lbl {
  display: block; font-size: .7rem; font-weight: 700;
  color: var(--neutral-500, #6b8f58);
  text-transform: uppercase; letter-spacing: .08em; margin-top: .38rem;
}

/* Inline Figure */
.article-figure {
  margin: 2.25rem 0; border-radius: 18px; overflow: hidden;
  border: 1.5px solid var(--neutral-100, #eef7e6);
}
.article-figure img { width: 100%; height: auto; display: block; }
.article-figure figcaption {
  padding: .65rem 1.15rem;
  font-size: .74rem; color: var(--neutral-500, #6b8f58);
  background: var(--neutral-50, #f6faf2);
  border-top: 1px solid var(--neutral-100, #eef7e6);
  display: flex; align-items: center; gap: .45em;
}
.article-figure figcaption i { color: var(--neutral-300, #b8d4a2); }

/* Data Table */
.article-table-wrap {
  margin: 2.25rem 0; border-radius: 14px; overflow: hidden;
  border: 1.5px solid var(--neutral-100, #eef7e6);
  overflow-x: auto;
}
.article-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.article-table thead tr { background: var(--primary-700, #163300); color: #fff; }
.article-table th {
  padding: .78rem 1.1rem; text-align: left;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap;
}
.article-table td {
  padding: .72rem 1.1rem; border-bottom: 1px solid var(--neutral-100, #eef7e6);
  color: var(--neutral-700, #2e4a1e); white-space: nowrap;
}
.article-table tbody tr:nth-child(even) { background: var(--neutral-50, #f6faf2); }
.article-table tbody tr:last-child td { border-bottom: none; font-weight: 700; color: var(--neutral-900, #0f1a08); background: var(--neutral-100, #eef7e6); }

/* ── End-of-article zone ── */

/* Tags */
.article-tags-wrap {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  margin: 2.75rem 0 2rem; padding-top: 2rem;
  border-top: 1.5px solid var(--neutral-100, #eef7e6);
}
.article-tags-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--neutral-400, #96b482); margin-right: .2rem;
}
.article-tag {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .28rem .75rem; border-radius: 100px;
  font-size: .74rem; font-weight: 600;
  background: var(--neutral-100, #eef7e6); color: var(--neutral-700, #2e4a1e);
  text-decoration: none; border: 1.5px solid var(--neutral-200, #ddeece);
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  transition: background .18s, border-color .18s, color .18s;
}
.article-tag:hover { background: var(--primary-50, #edfbd6); border-color: var(--primary-300, #5db800); color: var(--primary-700, #163300); }

/* Author Block */
.article-author-block {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.5rem 1.4rem; border-radius: 18px;
  background: var(--neutral-50, #f6faf2);
  border: 1.5px solid var(--neutral-100, #eef7e6);
  margin: 2rem 0;
}
.article-author-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary-700, #163300);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.3rem; color: var(--lime, #9fe870);
}
.article-author-role {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--neutral-400, #96b482); margin-bottom: .2rem;
}
.article-author-name {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: .95rem; font-weight: 700; color: var(--neutral-900, #0f1a08); margin-bottom: .3rem;
}
.article-author-desc { font-size: .83rem; color: var(--neutral-600, #4a6b36); line-height: 1.65; }

/* Feedback Widget */
.article-feedback {
  padding: 1.6rem; border-radius: 18px;
  border: 1.5px solid var(--neutral-100, #eef7e6);
  background: #fff; text-align: center; margin: 2rem 0;
}
.article-feedback-q {
  font-size: .9rem; font-weight: 600;
  color: var(--neutral-700, #2e4a1e); margin-bottom: 1.1rem;
}
.article-feedback-btns { display: flex; align-items: center; justify-content: center; gap: .65rem; }
.article-feedback-btn {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .58rem 1.5rem; border-radius: 100px;
  font-size: .83rem; font-weight: 700;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  cursor: pointer; border: 1.5px solid var(--neutral-200, #ddeece);
  background: transparent; color: var(--neutral-600, #4a6b36); transition: all .2s;
}
.article-feedback-btn:hover { border-color: var(--primary-300, #5db800); background: var(--primary-50, #edfbd6); color: var(--primary-700, #163300); }
.article-feedback-btn.is-yes.voted { background: rgba(159,232,112,.15); border-color: var(--lime, #9fe870); color: var(--primary-700, #163300); }
.article-feedback-btn.is-no.voted  { background: rgba(239,68,68,.07); border-color: rgba(239,68,68,.3); color: #dc2626; }
.article-feedback-thanks { font-size: .88rem; color: var(--primary-600, #1e4d00); font-weight: 600; display: none; }
.article-feedback-thanks.is-visible { display: block; }

/* Article Actions */
.article-actions {
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin: 1.75rem 0;
}
.article-action-btn {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .52rem 1.15rem; border-radius: 10px;
  font-size: .8rem; font-weight: 700;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  cursor: pointer; border: 1.5px solid var(--neutral-200, #ddeece);
  background: transparent; color: var(--neutral-600, #4a6b36); transition: all .2s;
  text-decoration: none;
}
.article-action-btn:hover { background: var(--neutral-100, #eef7e6); border-color: var(--primary-300, #5db800); color: var(--primary-700, #163300); }
.article-action-btn.is-copied { background: rgba(159,232,112,.1); color: var(--primary-600, #1e4d00); border-color: rgba(159,232,112,.4); }

/* Prev / Next Navigation */
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.5rem 0 0; }
.article-nav-card {
  display: flex; flex-direction: column; gap: .4rem;
  padding: 1.1rem 1.3rem; border-radius: 14px;
  border: 1.5px solid var(--neutral-100, #eef7e6);
  background: var(--neutral-50, #f6faf2); text-decoration: none;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.article-nav-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,.07); border-color: var(--neutral-200, #ddeece); transform: translateY(-2px); }
.article-nav-dir {
  font-size: .67rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--neutral-400, #96b482);
  display: flex; align-items: center; gap: .4em;
}
.article-nav-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: .88rem; font-weight: 700; color: var(--neutral-800, #1c2e12); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-nav-cat { font-size: .7rem; color: var(--neutral-400, #96b482); }
.article-nav-card.is-next { text-align: right; }
.article-nav-card.is-next .article-nav-dir { justify-content: flex-end; }

/* ── Sidebar ── */
.article-sidebar {
  position: sticky;
  top: calc(var(--navbar-height, 72px) + var(--ticker-height, 40px) + 1.5rem);
}
.sidebar-card {
  background: #fff; border: 1.5px solid var(--neutral-100, #eef7e6);
  border-radius: 18px; overflow: hidden; margin-bottom: 1.5rem;
}
.sidebar-card-head {
  display: flex; align-items: center; gap: .55em;
  padding: .9rem 1.25rem;
  background: var(--primary-700, #163300);
  border-bottom: none;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .09em; color: #fff;
}
.sidebar-card-head i { color: var(--lime, #9fe870); font-size: .85rem; }
.sidebar-card-body { padding: 1.1rem 1.2rem; }

/* Key Facts */
.key-fact-row {
  display: flex; align-items: center; gap: .85rem;
  padding: .82rem 0; border-bottom: 1px solid var(--neutral-100, #eef7e6);
  transition: background .18s; border-radius: 8px;
  margin-left: -.25rem; margin-right: -.25rem;
  padding-left: .25rem; padding-right: .25rem;
}
.key-fact-row:last-child { border-bottom: none; padding-bottom: .5rem; }
.key-fact-row:hover { background: var(--neutral-50, #f6faf2); }
.key-fact-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #e0fabc, #c8f08a);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-700, #163300); font-size: .9rem;
  flex-shrink: 0; box-shadow: 0 2px 6px rgba(22,51,0,.12);
}
.key-fact-label {
  font-size: .63rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .09em; color: var(--neutral-400, #96b482); margin-bottom: .2rem;
}
.key-fact-value { font-size: .94rem; font-weight: 700; color: var(--neutral-900, #0f1a08); line-height: 1.38; }
/* Key Facts CTA button */
.sidebar-key-facts-cta {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: .45em;
  margin-top: 1rem; padding: .65rem 1rem; border-radius: 10px;
  font-size: .8rem; font-weight: 700;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  background: var(--primary-700, #163300); color: #fff;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 3px 12px rgba(22,51,0,.2);
}
.sidebar-key-facts-cta:hover {
  background: var(--primary-600, #1e4d00); transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22,51,0,.28);
}
.sidebar-key-facts-cta i { color: var(--lime, #9fe870); font-size: .78rem; }
.sidebar-card > .sidebar-key-facts-cta { margin: 0 1.2rem 1.25rem; width: calc(100% - 2.4rem); }

/* Sidebar Share */
.sidebar-share-btns { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-share-btn {
  display: flex; align-items: center; gap: .6em;
  padding: .6rem 1rem; border-radius: 10px;
  font-size: .8rem; font-weight: 700;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: opacity .18s, transform .15s;
}
.sidebar-share-btn:hover { opacity: .88; transform: translateY(-1px); }
.sidebar-share-btn.is-x    { background: #000;      color: #fff; border-color: #000; }
.sidebar-share-btn.is-fb   { background: #1877f2;   color: #fff; border-color: #1877f2; }
.sidebar-share-btn.is-wa   { background: #25d366;   color: #fff; border-color: #25d366; }
.sidebar-share-btn.is-copy {
  background: transparent; color: var(--neutral-600, #4a6b36);
  border-color: var(--neutral-200, #ddeece);
}
.sidebar-share-btn.is-copy:hover { background: var(--neutral-100, #eef7e6); color: var(--primary-700, #163300); border-color: var(--primary-300, #5db800); transform: none; opacity: 1; }

/* Sidebar Related */
.sidebar-related-item {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .78rem 0; border-bottom: 1px solid var(--neutral-50, #f6faf2);
  text-decoration: none;
}
.sidebar-related-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-related-thumb {
  width: 62px; height: 62px; border-radius: 10px; flex-shrink: 0;
  background: var(--primary-700, #163300); overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-related-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; z-index: 1; display: block;
}
.sidebar-related-thumb i { font-size: 1.15rem; color: rgba(255,255,255,.18); z-index: 0; }
.sidebar-related-cat {
  font-size: .62rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .07em; color: var(--primary-600, #1e4d00); margin-bottom: .22rem;
  display: flex; align-items: center; gap: .38em;
}
.sidebar-related-cat::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime, #9fe870); flex-shrink: 0;
}
.sidebar-related-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: .85rem; font-weight: 700; color: var(--neutral-800, #1c2e12);
  line-height: 1.38; transition: color .18s;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-related-item:hover .sidebar-related-title { color: var(--primary-600, #1e4d00); }
.sidebar-related-thumb { transition: box-shadow .22s, transform .22s; }
.sidebar-related-item:hover .sidebar-related-thumb {
  box-shadow: 0 4px 14px rgba(0,0,0,.18); transform: scale(1.04);
}

/* ── Related Articles (full-width section) ── */
.article-related-section {
  padding: 3.5rem 0 5rem;
  background: var(--neutral-50, #f6faf2);
  border-top: 1.5px solid var(--neutral-100, #eef7e6);
}
.article-related-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap;
}
.article-related-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif) !important;
  font-size: 1.25rem !important; font-weight: 700 !important;
  color: var(--neutral-900, #0f1a08) !important; letter-spacing: -.025em;
}
.article-related-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .8rem; font-weight: 700;
  color: var(--primary-600, #1e4d00); text-decoration: none;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  transition: gap .2s, color .2s;
}
.article-related-link:hover { color: var(--primary-400, #3d8c00); gap: .65em; }
.article-related-empty {
  font-size: .8rem;
  color: var(--neutral-500, #6b8f58);
  line-height: 1.5;
  margin: 0 0 .75rem;
}
.article-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── Print Styles ── */
@media print {
  .reading-progress, .article-back-btn, .article-share-hero,
  .article-actions, .article-nav, .article-sidebar,
  .article-feedback, .article-related-section,
  .navbar, .ticker-bar, .footer, .back-to-top, .navbar-mobile { display: none !important; }
  .article-layout { grid-template-columns: 1fr !important; }
  .article-hero { background: #fff; padding-top: 1rem; }
  .article-headline { color: #000 !important; }
  .article-deck { color: #333 !important; }
  .article-meta-item { color: #555 !important; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .article-hero-layout { grid-template-columns: 1fr 360px; gap: 2.5rem; }
  .article-hero-img-frame { min-height: 380px; }
}
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .sidebar-share-btns { flex-direction: row; flex-wrap: wrap; }
  .sidebar-share-btn { flex: 1; min-width: 130px; justify-content: center; }
  .article-related-grid { grid-template-columns: repeat(2, 1fr); }
  .article-stats-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .article-hero-layout { grid-template-columns: 1fr; }
  .article-hero-media { display: none; }
  .article-hero-content { padding-bottom: 2.5rem; }
}
@media (max-width: 768px) {
  .article-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .article-nav { grid-template-columns: 1fr; }
  .article-body-wrap { padding: 2.5rem 0 4rem; }
  .article-share-hero { gap: .35rem; }
  .article-share-btn { padding: .3rem .7rem; font-size: .7rem; }
}
@media (max-width: 540px) {
  .article-related-grid { grid-template-columns: 1fr; }
  .article-headline { font-size: 1.75rem !important; }
  .article-pullquote p { font-size: .98rem !important; }
  .article-meta { padding: .42rem .9rem; gap: .65rem; }
  .article-share-btn { padding: .35rem .75rem; font-size: .7rem; }
}

/* ── Vertical Share Bar (fixed right) ── */
.article-share-vertical {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 98;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.article-share-vertical-label {
  font-size: .56rem; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; color: var(--neutral-400, #96b482);
  writing-mode: vertical-rl; text-orientation: mixed;
  transform: rotate(180deg);
  margin-bottom: .5rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
}
.article-share-vertical::after {
  content: ''; display: block; width: 1.5px; height: 40px;
  background: linear-gradient(to bottom, var(--neutral-200, #ddeece), transparent);
  margin-top: .3rem;
}
.article-share-vertical-btn {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--neutral-100, #eef7e6);
  color: var(--neutral-500, #6b8f58);
  cursor: pointer; font-size: .95rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: all .22s; position: relative;
  font-family: inherit;
}
/* Tooltip to the right */
.article-share-vertical-btn::before {
  content: attr(data-label);
  position: absolute; left: calc(100% + .75rem); top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: var(--primary-800, #0f2d07); color: #fff;
  font-size: .71rem; font-weight: 700;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  padding: .32rem .82rem; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.article-share-vertical-btn:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
/* Hover lift */
.article-share-vertical-btn:hover { transform: translateY(-2px); }
/* Platform brand colours */
.article-share-vertical-btn[data-action="share-x"]:hover    { background: #000;    border-color: #000;    color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.article-share-vertical-btn[data-action="share-fb"]:hover   { background: #1877f2; border-color: #1877f2; color: #fff; box-shadow: 0 6px 18px rgba(24,119,242,.32); }
.article-share-vertical-btn[data-action="share-wa"]:hover   { background: #25d366; border-color: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.32); }
.article-share-vertical-btn[data-action="copy-link"]:hover  { background: var(--primary-700, #163300); border-color: var(--lime, #9fe870); color: var(--lime, #9fe870); box-shadow: 0 6px 18px rgba(22,51,0,.22); }
.article-share-vertical-btn[data-action="copy-link"].is-copied { background: rgba(159,232,112,.15); border-color: var(--lime, #9fe870); color: var(--primary-700, #163300); }
/* Hide on narrower viewports where it would overlap content */
@media (max-width: 1280px) { .article-share-vertical { display: none; } }

/* ── Bottom Related Cards ── */
.rel-card {
  background: #fff; border: 1.5px solid var(--neutral-100, #eef7e6);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .22s; position: relative;
}
.rel-card:hover { box-shadow: 0 12px 34px rgba(0,0,0,.09); transform: translateY(-4px); }
.rel-card-img {
  height: 185px; position: relative; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-700, #163300), var(--primary-600, #1e4d00));
}
.rel-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; z-index: 1; display: block; transition: transform .42s;
}
.rel-card:hover .rel-card-img img { transform: scale(1.06); }
.rel-card-img-ph {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
}
.rel-card-img-ph i { font-size: 2.25rem; color: rgba(255,255,255,.1); }
.rel-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.rel-card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.rel-card-date { font-size: .71rem; color: var(--neutral-400, #96b482); display: flex; align-items: center; gap: .3em; }
.rel-card-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: .97rem; font-weight: 700; color: var(--neutral-900, #0f1a08);
  line-height: 1.45; margin-bottom: .55rem; letter-spacing: -.015em;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rel-card-excerpt {
  font-size: .82rem; color: var(--neutral-600, #4a6b36); line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: .9rem;
}
.rel-card-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .78rem; font-weight: 700; color: var(--primary-600, #1e4d00);
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  text-decoration: none; margin-top: auto; transition: gap .2s, color .2s;
}
.rel-card:hover .rel-card-link { color: var(--primary-400, #3d8c00); gap: .65em; }
