/* ============================================================
   MADKHAL — news.css  (shared by news.html + article.html)
   ============================================================ */

/* ── DARK (default) ──────────────────────────────────────── */
:root {
  --bg:          #0b0d11;
  --surface:     #12151c;
  --surface-2:   #181c26;
  --surface-3:   #1e2230;
  --border:      rgba(255,255,255,0.07);
  --accent:      #2267e8;
  --accent-dim:  rgba(34, 64, 232, 0.12);
  --accent-glow: rgba(34, 54, 232, 0.35);
  --text:        #e8eaf0;
  --muted:       #7a8099;
  --faint:       #424866;
  --danger:      #ef4444;
  --success:     #22c55e;
  --info:        #60a5fa;
  --header-bg:   rgba(11,13,17,0.88);
  --grid-line:   rgba(255,255,255,0.025);
  --nav-hover:   rgba(255,255,255,0.06);
  --mob-hover:   rgba(255,255,255,0.04);
  --shadow:      rgba(0,0,0,0.45);
  --font-h: 'Cairo',   sans-serif;
  --font-b: 'Tajawal', sans-serif;
  --r-sm:8px; --r-md:14px; --r-lg:22px; --r-xl:32px; --r-full:999px;
  --ease:   cubic-bezier(0.4,0,0.2,1);
  --spring: cubic-bezier(0.34,1.56,0.64,1);
  --dur:    0.28s;
  --theme-dur: 0.4s;
}

/* ── LIGHT ───────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:          #f4f6fb;
  --surface:     #ffffff;
  --surface-2:   #eef0f7;
  --surface-3:   #e6e9f4;
  --border:      rgba(0,0,0,0.08);
  --accent:      #0a61c4;
  --accent-dim:  rgba(10, 84, 196, 0.1);
  --accent-glow: rgba(10, 69, 196, 0.28);
  --text:        #0f1117;
  --muted:       #4a5068;
  --faint:       #9aa0bc;
  --danger:      #dc2626;
  --success:     #16a34a;
  --info:        #2563eb;
  --header-bg:   rgba(244,246,251,0.92);
  --grid-line:   rgba(0,0,0,0.04);
  --nav-hover:   rgba(0,0,0,0.05);
  --mob-hover:   rgba(0,0,0,0.03);
  --shadow:      rgba(0,0,0,0.10);
}

/* ── TRANSITIONS ─────────────────────────────────────────── */
body, .header, .news-card, .article-body, .tag,
.mobile-nav, footer, .survey-banner, .filter-btn,
.search-input, .article-container {
  transition:
    background var(--theme-dur) var(--ease),
    border-color var(--theme-dur) var(--ease),
    color var(--theme-dur) var(--ease);
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--bg); color: var(--text);
  direction: rtl; overflow-x: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,4vw,2rem); }

/* ── HEADER ──────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background var(--theme-dur) var(--ease),
              border-color var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease);
}
.header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.header__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,4vw,2rem);
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
/* ── LOGO ────────────────────────────────────────────────── */
/* ضبط مقاس الشعار */
.header__logo img {
  height: 45px; 
  width: auto;
}

/* الوضع الفاتح (الافتراضي): إخفاء شعار الدارك وإظهار شعار اللايت */
.logo-dark {
  display: none;
}
.logo-light {
  display: block;
}

/* الوضع الليلي: إخفاء شعار اللايت وإظهار شعار الدارك */
/* ضفت لك أشهر الكلاسات اللي تستخدمها سكربتات التبديل عشان يضبط معك مباشرة */
body.dark .logo-light,
body.dark-mode .logo-light,
[data-theme="dark"] .logo-light {
  display: none !important;
}

body.dark .logo-dark,
body.dark-mode .logo-dark,
[data-theme="dark"] .logo-dark {
  display: block !important;
}
.header__nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .42rem .85rem; border-radius: var(--r-full);
  font-family: var(--font-h); font-size: .88rem; font-weight: 500;
  color: var(--muted); background: none; border: none; cursor: pointer;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--nav-hover); }
.nav-cta {
  padding: .42rem 1.1rem; background: var(--accent-dim); color: var(--accent);
  border: 1px solid rgba(34, 97, 232, 0.3); border-radius: var(--r-full);
  font-family: var(--font-h); font-size: .88rem; font-weight: 600;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav-cta:hover { background: var(--accent); color: #fff; box-shadow: 0 4px 18px var(--accent-glow); }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); border: 1.5px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease);
}
.theme-toggle:hover { transform: scale(1.1) rotate(15deg); border-color: var(--accent); box-shadow: 0 0 14px var(--accent-glow); }
.theme-toggle__icon { display: block; line-height: 1; }
.header__burger { display: none; flex-direction: column; gap: 5px; width: 32px; background: none; border: none; cursor: pointer; padding: 4px; }
.header__burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background var(--theme-dur) var(--ease); }
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; background: var(--surface); border-top: 1px solid var(--border); overflow: hidden; max-height: 0; transition: max-height .4s var(--ease), background var(--theme-dur) var(--ease); }
.mobile-nav.is-open { max-height: 360px; }
.mobile-nav__link { display: block; padding: .85rem 1.5rem; font-family: var(--font-h); font-size: .95rem; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--border); transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.mobile-nav__link:hover { color: var(--text); background: var(--mob-hover); }
.mobile-nav__cta { color: var(--accent); font-weight: 700; }
.mobile-nav__theme { display: flex; align-items: center; gap: .7rem; padding: .85rem 1.5rem; font-family: var(--font-h); font-size: .9rem; color: var(--muted); cursor: pointer; background: none; border: none; width: 100%; text-align: right; transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.mobile-nav__theme:hover { color: var(--accent); background: var(--mob-hover); }

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero { position: relative; padding: calc(68px + 3rem) 0 2.5rem; text-align: center; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); }
.blob--1 { width: 500px; height: 500px; top: -140px; right: -80px; background: radial-gradient(circle,rgba(34, 126, 232, 0.13) 0%,transparent 70%); }
.blob--2 { width: 360px; height: 360px; bottom: -60px; left: -60px; background: radial-gradient(circle,rgba(90,110,210,.10) 0%,transparent 70%); }
[data-theme="light"] .blob--1 { background: radial-gradient(circle,rgba(10, 60, 196, 0.11) 0%,transparent 70%); }
[data-theme="light"] .blob--2 { background: radial-gradient(circle,rgba(70,90,200,.07) 0%,transparent 70%); }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px,transparent 1px), linear-gradient(90deg,var(--grid-line) 1px,transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%,black 0%,transparent 100%); }
.page-hero__inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,4vw,2rem); }
.hero-badge { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; padding: .35rem .95rem; background: var(--accent-dim); border: 1px solid rgba(34, 103, 232, 0.25); border-radius: var(--r-full); font-family: var(--font-h); font-size: .78rem; font-weight: 600; color: var(--accent); }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 var(--accent-glow); } 50% { box-shadow: 0 0 0 6px transparent; } }
.page-hero__title { font-family: var(--font-h); font-size: clamp(1.8rem,5vw,3rem); font-weight: 900; color: var(--text); margin-bottom: .6rem; }
.page-hero__title span { color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); }
.page-hero__sub { font-size: .97rem; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ── CONTROLS BAR ────────────────────────────────────────── */
.controls-wrap { max-width: 1200px; margin: 0 auto; padding: 1.5rem clamp(1rem,4vw,2rem) 0; display: flex; flex-direction: column; gap: 1rem; }
.search-wrap { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; right: 1.1rem; font-size: 1rem; color: var(--muted); pointer-events: none; }
.search-input {
  width: 100%; padding: .85rem 2.8rem .85rem 1.2rem;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-family: var(--font-h); font-size: .95rem; font-weight: 500; color: var(--text);
  outline: none; direction: rtl;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--theme-dur) var(--ease), color var(--theme-dur) var(--ease);
}
.search-input::placeholder { color: var(--faint); }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.filter-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.filter-label { font-family: var(--font-h); font-size: .78rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.filter-btn {
  padding: .42rem 1rem; border-radius: var(--r-full);
  font-family: var(--font-h); font-size: .82rem; font-weight: 600;
  color: var(--muted); background: var(--surface); border: 1.5px solid var(--border);
  cursor: pointer; transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: rgba(34, 103, 232, 0.3); }
.filter-btn.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); box-shadow: 0 2px 12px var(--accent-glow); }
.results-meta { max-width: 1200px; margin: .6rem auto 0; padding: 0 clamp(1rem,4vw,2rem); font-family: var(--font-h); font-size: .82rem; color: var(--faint); }
.results-meta strong { color: var(--accent); }

/* ── NEWS GRID ───────────────────────────────────────────── */
.news-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 1.5rem clamp(1rem,4vw,2rem) 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.2rem;
  flex: 1;
}

/* ── NEWS CARD ───────────────────────────────────────────── */
.news-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer; text-decoration: none;
  animation: card-in .4s var(--ease) both;
  transition: transform var(--dur) var(--spring), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--theme-dur) var(--ease);
}
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.news-card:hover { transform: translateY(-4px); border-color: rgba(34, 120, 232, 0.35); box-shadow: 0 12px 40px var(--shadow); }

/* cover image */
.news-card__cover {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--surface-2);
  transition: filter var(--dur) var(--ease);
}
.news-card:hover .news-card__cover { filter: brightness(1.06); }
.news-card__cover-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}

/* card content */
.news-card__content { padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center;
  padding: .18rem .65rem; border-radius: var(--r-full);
  font-family: var(--font-h); font-size: .7rem; font-weight: 700;
}
.tag--default { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(232,169,34,.2); }
.tag--news     { background: rgba(96,165,250,.12); color: var(--info); border: 1px solid rgba(96,165,250,.2); }
.tag--announce { background: rgba(34,197,94,.12); color: var(--success); border: 1px solid rgba(34,197,94,.2); }
.tag--rcjy      { background: rgba(250, 150, 92, 0.12); color: var(--muted); border: 1px solid rgba(128,128,128,.2); }
.tag--awareness { background: rgba(251,193,37,.12); color: var(--warning); border: 1px solid rgba(251,193,37,.2); }
.tag--alert    { background: rgba(239,68,68,.10); color: var(--danger); border: 1px solid rgba(239,68,68,.2); }
.news-card__date { font-family: var(--font-h); font-size: .72rem; color: var(--faint); }
.news-card__title { font-family: var(--font-h); font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.news-card__excerpt { font-size: .85rem; color: var(--muted); line-height: 1.65; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__author { display: flex; align-items: center; gap: .4rem; padding-top: .5rem; border-top: 1px solid var(--border); margin-top: auto; }
.news-card__avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-size: .75rem; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.news-card__author-name { font-family: var(--font-h); font-size: .78rem; font-weight: 600; color: var(--muted); }
.news-card__read-more { font-family: var(--font-h); font-size: .75rem; color: var(--accent); margin-right: auto; }

/* featured card (first item) */
.news-card--featured {
  grid-column: 1 / -1;
  flex-direction: row; gap: 0;
  max-height: 280px;
}
.news-card--featured .news-card__cover,
.news-card--featured .news-card__cover-placeholder {
  width: 40%; flex-shrink: 0; aspect-ratio: unset; height: 100%;
}
.news-card--featured .news-card__title { font-size: 1.2rem; }
.news-card--featured .news-card__excerpt { -webkit-line-clamp: 4; }

/* ── LOADING / EMPTY ─────────────────────────────────────── */
.loading-state {
  grid-column: 1/-1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  padding: 4rem 1rem; color: var(--muted);
}
.spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { grid-column: 1/-1; text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state__icon { font-size: 3rem; margin-bottom: .75rem; }
.empty-state__title { font-family: var(--font-h); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }

/* ── SKELETON ────────────────────────────────────────────── */
.skeleton-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.skel { background: linear-gradient(90deg,var(--surface-2) 25%,var(--surface-3) 50%,var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── SURVEY BANNER ───────────────────────────────────────── */
.survey-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,4vw,2rem) 3rem; }
.survey-banner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.8rem 2.5rem; position: relative; overflow: hidden; }
.survey-banner::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 200px; background: radial-gradient(ellipse at right,var(--accent-dim) 0%,transparent 80%); pointer-events: none; }
.survey-banner__title { font-family: var(--font-h); font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.survey-banner__sub { font-size: .85rem; color: var(--muted); }
.btn-primary { display: inline-flex; align-items: center; gap: .4rem; padding: .75rem 1.6rem; border-radius: var(--r-full); background: var(--accent); color: #fff; font-family: var(--font-h); font-size: .92rem; font-weight: 700; border: none; cursor: pointer; transition: transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease); }
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 28px var(--accent-glow); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); background: var(--surface); padding: 1.4rem 0; margin-top: auto; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.footer__brand { display: flex; align-items: center; gap: .5rem; }
.footer__copy { font-size: .8rem; color: var(--faint); font-family: var(--font-h); }
.footer__link { font-family: var(--font-h); font-size: .8rem; color: var(--muted); border-bottom: 1px solid var(--faint); padding-bottom: 1px; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.footer__link:hover { color: var(--accent); border-color: var(--accent); }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; border: none; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease); box-shadow: 0 4px 20px var(--accent-glow); }
.back-to-top.is-visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px var(--accent-glow); }

/* ═══════════════════════════════════════════════════════════
   ARTICLE PAGE STYLES
═══════════════════════════════════════════════════════════ */

/* ── ARTICLE HERO ────────────────────────────────────────── */
.article-hero {
  position: relative; padding: calc(68px + 2rem) 0 0; overflow: hidden;
}
.article-hero__cover {
  width: 100%; max-height: 480px; object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
}
.article-hero__cover-placeholder {
  width: 100%; height: 300px;
  background: linear-gradient(135deg,var(--surface-2),var(--surface-3));
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
}
.article-hero__overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

/* ── ARTICLE CONTAINER ───────────────────────────────────── */
.article-container {
  max-width: 780px; margin: 0 auto;
  padding: 2.5rem clamp(1rem,4vw,2rem) 5rem;
}

/* back link */
.article-back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-h); font-size: .85rem; font-weight: 600;
  color: var(--muted); margin-bottom: 1.5rem;
  transition: color var(--dur) var(--ease);
}
.article-back:hover { color: var(--accent); }

/* header block */
.article-header { margin-bottom: 1.8rem; }
.article-header__meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .85rem; }
.article-header__title { font-family: var(--font-h); font-size: clamp(1.4rem,4vw,2.2rem); font-weight: 900; color: var(--text); line-height: 1.3; margin-bottom: 1rem; }

/* author strip */
.article-author {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: background var(--theme-dur) var(--ease), border-color var(--theme-dur) var(--ease);
}
.article-author__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-dim); border: 2px solid rgba(34, 113, 232, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 1.1rem; font-weight: 800; color: var(--accent); flex-shrink: 0;
}
.article-author__name { font-family: var(--font-h); font-size: .92rem; font-weight: 700; color: var(--text); }
.article-author__datetime { font-family: var(--font-h); font-size: .75rem; color: var(--muted); margin-top: .1rem; }

/* divider */
.article-divider { height: 1px; background: var(--border); margin: 1.8rem 0; }

/* ── ARTICLE BODY ────────────────────────────────────────── */
.article-body {
  font-family: var(--font-b); font-size: 1.05rem;
  color: var(--text); line-height: 1.95;
}
.article-body p { margin-bottom: 1.2rem; }
.article-body p:last-child { margin-bottom: 0; }

/* inline URL → styled button */
.article-link-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem 1rem; margin: .2rem .1rem;
  border-radius: var(--r-full);
  background: var(--accent-dim); border: 1px solid rgba(34, 87, 232, 0.3);
  color: var(--accent); font-family: var(--font-h); font-size: .85rem; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--spring);
}
.article-link-btn:hover { background: var(--accent); color: #fff; box-shadow: 0 6px 20px var(--accent-glow); transform: translateY(-1px); }

/* ── ARTICLE FOOTER NAV ──────────────────────────────────── */
.article-nav {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-nav__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.2rem; border-radius: var(--r-full);
  background: var(--surface); border: 1.5px solid var(--border);
  font-family: var(--font-h); font-size: .85rem; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.article-nav__btn:hover { border-color: var(--accent); color: var(--accent); }
.article-nav__btn--primary { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.article-nav__btn--primary:hover { background: var(--accent); color: #fff; }

/* ── REVEAL ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 680px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .mobile-nav { display: flex; }
  .news-card--featured { flex-direction: column; max-height: unset; }
  .news-card--featured .news-card__cover,
  .news-card--featured .news-card__cover-placeholder { width: 100%; height: 220px; }
  .news-grid { grid-template-columns: 1fr; }
  .survey-banner { flex-direction: column; text-align: center; }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
  .article-nav { flex-direction: column; }
}
@media (max-width: 420px) {
  .article-hero__cover { max-height: 220px; }
  .article-body { font-size: .97rem; }
}
