/*
Theme Name: Kenzal Media — الوزاري الفخم
Description: Ministerial-letterhead skin of the Kenzal Media statements archive — Amiri serif, emerald + antique gold, document-style cards.
Author: Yassin
Version: 0.1.0
Text Domain: kenzalmedia-ministerial
*/

:root {
  --bg-deep: #f3ecdc;
  --bg-mid: #faf7f0;
  --surface: #fbf8f1;
  --surface-2: #f1ead9;
  --surface-3: #e9e1cf;
  --border: rgba(176,141,87,0.35);
  --border-strong: rgba(176,141,87,0.6);
  --gold: #b08d57;
  --gold-bright: #d9bd88;
  --gold-dim: #8a6d3f;
  --brand: #0f3d2e;
  --brand-bright: #17573f;
  --brand-dim: #0a2b20;
  --ink: #1b2a22;
  --ink-soft: #3f5348;
  --muted: #74857a;
  --ok: #0f7a4d;
  --ok-bg: rgba(15,122,77,0.10);
  --pending: #b6791f;
  --pending-bg: rgba(182,121,31,0.10);
  --bad: #a3312a;
  --bad-bg: rgba(163,49,42,0.10);
  --font-display: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  --font-body: 'Cairo', 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --shadow-card: 0 6px 24px -8px rgba(15,61,46,0.12), 0 2px 8px -2px rgba(15,61,46,0.06);
  --shadow-pop: 0 16px 40px -12px rgba(15,61,46,0.18), 0 4px 14px -3px rgba(15,61,46,0.08);
  --input-bg: #ffffff;
  --nav-bg: rgba(251, 248, 241, 0.92);
  --border-soft: rgba(176,141,87,0.22);
  --hero-bg-2: #eee4cd;
  --whatsapp: #25D366;
  --heading: var(--brand);
}

:root[data-theme="dark"] {
  --bg-deep: #0c1712;
  --bg-mid: #0f1c16;
  --surface: #13221b;
  --surface-2: #182a21;
  --surface-3: #21382c;
  --border: rgba(217,189,136,0.22);
  --border-strong: rgba(217,189,136,0.4);
  --gold: #d9bd88;
  --gold-bright: #ecd8ab;
  --gold-dim: #c2a06a;
  --brand: #2f8a63;
  --brand-bright: #3ea77a;
  --brand-dim: #06120d;
  --ink: #f1ede1;
  --ink-soft: #cfd8cd;
  --muted: #8aa094;
  --shadow-card: 0 6px 24px -8px rgba(0,0,0,0.5), 0 2px 8px -2px rgba(0,0,0,0.35);
  --shadow-pop: 0 18px 44px -14px rgba(0,0,0,0.6), 0 4px 14px -3px rgba(0,0,0,0.4);
  --input-bg: #182a21;
  --nav-bg: rgba(12, 23, 18, 0.92);
  --border-soft: rgba(217,189,136,0.16);
  --hero-bg-2: #0a1610;
  --heading: var(--gold-bright);
}

* { box-sizing: border-box; }
html { direction: rtl; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  font-size: 16px;
  background: var(--bg-deep);
  transition: background-color 0.25s ease, color 0.25s ease;
}
a { color: inherit; }

/* ---------------- Scroll-reveal (see js/main.js) ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------- Theme toggle ---------------- */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; padding: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--ink);
  font-size: 17px; cursor: pointer; transition: all 0.2s ease;
}
.theme-toggle:hover { border-color: var(--gold); transform: translateY(-1px); }

/* ---------------- Top navbar ---------------- */
.main-navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-strong);
}
.main-navbar::after { content: ""; display: block; height: 1px; background: var(--border-soft); margin-top: 3px; }
.nav-container { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-seal {
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--heading); background: #f6f1e6; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.nav-seal img { width: 44px; height: 44px; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--heading); line-height: 1.2; }
.nav-subtitle { font-size: 11px; color: var(--gold-dim); font-weight: 600; letter-spacing: 0.06em; }

/* ---------------- Hero ---------------- */
.index-hero { position: relative; padding: 60px 24px 0; text-align: center; overflow: hidden; }
.hero-content { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.hero-eyebrow { font-size: 12px; letter-spacing: 3px; color: var(--gold); margin-bottom: 18px; font-weight: 700; }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5.6vw, 52px); color: var(--heading); line-height: 1.35;
  margin: 0 0 18px;
}
.hero-rule { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 22px; }
.hero-rule span { width: 70px; height: 1px; background: var(--gold); }
.hero-rule svg { width: 11px; height: 11px; }
.hero-subtitle { font-size: clamp(14px, 2.2vw, 16.5px); color: var(--ink-soft); margin: 0 auto 34px; max-width: 640px; line-height: 2; }

.hero-stats-band { background: var(--brand); color: #f6f1e6; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.hero-stat { text-align: center; padding: 26px 16px; border-left: 1px solid rgba(217,189,136,0.28); }
.hero-stat:last-child { border-left: none; }
.hero-stat-val { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 36px); color: var(--gold-bright); line-height: 1.2; }
.hero-stat-lbl { font-size: 12px; letter-spacing: 0.5px; opacity: 0.88; margin-top: 4px; }

/* ---------------- Filter panel ---------------- */
.index-main { max-width: 1200px; margin: 0 auto; padding: 0 24px 60px; }
.filter-panel-card { background: transparent; padding: 44px 0 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--border-soft); margin-bottom: 30px; }
.filter-panel-heading { }
.filter-eyebrow { font-size: 11px; letter-spacing: 2px; color: var(--gold); margin-bottom: 6px; font-weight: 700; }
.filter-heading { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3.2vw, 30px); color: var(--heading); }
.search-filter-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-box-wrap { position: relative; min-width: 220px; }
.search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: flex; }
.search-icon svg { width: 15px; height: 15px; }
.search-box-wrap input {
  padding: 11px 40px 11px 14px; margin: 0; border-radius: 0;
  border: 1px solid var(--border); background: var(--input-bg); font-size: 13.5px; font-weight: 500; color: var(--ink);
  transition: all 0.25s ease; width: 220px;
}
.search-box-wrap input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,0.15); outline: none; }
.clear-search-btn {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  background: transparent; color: var(--muted); border: none; border-radius: 50%;
  width: 20px; height: 20px; font-size: 11px; padding: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.select-filter-wrap select {
  padding: 11px 14px; border-radius: 0; border: 1px solid var(--border);
  background-color: var(--input-bg); font-size: 13.5px; font-weight: 600; color: var(--ink);
}

/* Custom-styled ministry dropdown, replacing the browser's native <select>
   popup — its option list can't be themed consistently across browsers
   (Windows Chrome/Edge force their own OS colors on hover/selection).
   The real <select id="filter"> stays in the DOM (visually hidden, see
   .kz-select-native) as the source of truth main.js already reads/writes,
   so the search+filter logic in js/main.js needed no changes at all. */
.kz-select { position: relative; }
.kz-select-native {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.kz-select-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 0; border: 1px solid var(--border);
  background-color: var(--input-bg); font-size: 13.5px; font-weight: 600; color: var(--ink);
  font-family: inherit; cursor: pointer; min-width: 220px; transition: border-color 0.2s ease;
}
.kz-select-trigger:hover { border-color: var(--gold); }
.kz-select-trigger:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,0.15); }
.kz-select.is-open .kz-select-trigger { border-color: var(--gold); }
.kz-select-caret { width: 15px; height: 15px; flex-shrink: 0; color: var(--muted); transition: transform 0.2s ease; }
.kz-select.is-open .kz-select-caret { transform: rotate(180deg); color: var(--gold); }
.kz-select-menu {
  position: absolute; top: calc(100% + 6px); right: 0; left: 0; z-index: 30;
  margin: 0; padding: 6px; list-style: none; max-height: 320px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-pop);
}
.kz-select-option {
  padding: 9px 12px; font-size: 13px; font-weight: 500; color: var(--ink-soft);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  transition: background 0.12s ease, color 0.12s ease;
}
.kz-select-option:hover, .kz-select-option.is-highlighted { background: var(--surface-2); color: var(--heading); }
.kz-select-option.is-active { color: var(--brand); font-weight: 700; }
.kz-select-option.is-active::after { content: "\2713"; color: var(--gold); font-weight: 700; }
.quick-pills-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 0 0 20px; }
.quick-pill-item {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 0;
  background: transparent; color: var(--ink-soft); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; user-select: none;
}
.quick-pill-item:hover { border-color: var(--gold); color: var(--heading); }
.quick-pill-item.active { background: var(--brand); color: #f6f1e6; border-color: var(--brand); }
.filter-results-info { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 24px; }
.count-badge { font-size: 12.5px; font-weight: 700; color: var(--gold-dim); }

/* ---------------- Cards grid ---------------- */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; align-items: stretch; }

@keyframes cardReveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.card-animated { animation: cardReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) both; }

.card {
  display: flex; flex-direction: column; height: 100%; min-height: 340px;
  text-decoration: none; color: inherit; cursor: pointer;
  background: var(--surface); padding: 6px; border-radius: 0; border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: var(--gold); }
.card::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--border-soft); pointer-events: none; z-index: 1; }
.card-link-inner { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; flex: 1; overflow: hidden; padding: 20px 20px 16px; position: relative; z-index: 2; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); flex-shrink: 0; }
.ministry-pill { font-size: 11px; font-weight: 700; color: var(--gold-dim); letter-spacing: 0.2px; }
.card-date { font-size: 10.5px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.card h2, .card h3 {
  font-family: var(--font-display); font-weight: 700; margin: 0 0 8px 0; font-size: 18px; line-height: 1.6;
  color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.card:hover h2, .card:hover h3 { color: var(--heading); }
.card-media-wrapper {
  position: relative; width: 100%; height: 170px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  overflow: hidden; border-radius: 0;
  background: var(--surface-3);
  margin: 4px 0 12px; border: 1px solid var(--border-soft);
}
.card-media-wrapper:empty { display: none; }
.card-media-wrapper img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.card:hover .card-media-wrapper img { transform: scale(1.04); }
.media-badge-overlay { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; z-index: 2; }
.media-badge-pill { background: rgba(15,61,46,0.85); backdrop-filter: blur(6px); color: #ffffff; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border: 1px solid rgba(255,255,255,0.2); }
.card-media-wrapper .media-flag { margin: 0; padding: 4px 12px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: var(--ink); }
.card-snippet { font-size: 13px; color: var(--muted); line-height: 1.85; margin: 0 0 12px 0; }
.card .read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--heading); flex-shrink: 0; transition: transform 0.2s ease; text-decoration: none; }
.card:hover .read-more { transform: translateX(-4px); color: var(--brand-bright); }
.card-footer-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; padding-top: 6px; position: relative; z-index: 2; padding-inline: 20px; padding-bottom: 18px; }

/* ---------------- Share buttons (brand-true colors + logos) ---------------- */
.share-btn {
  border: none; padding: 8px 14px; font-size: 12px; font-weight: 700;
  border-radius: 6px; margin: 0; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
}
.share-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.share-btn.wa { background: var(--whatsapp); color: #ffffff; box-shadow: 0 3px 10px rgba(37, 211, 102, 0.32); }
.share-btn.wa:hover { box-shadow: 0 6px 16px rgba(37, 211, 102, 0.42); }
.share-btn.icon-only { padding: 8px; width: 34px; height: 34px; justify-content: center; }
.share-btn.icon-only svg { width: 16px; height: 16px; }

/* ---------------- Footer ---------------- */
.gov-footer-modern { background: var(--brand); color: #f6f1e6; padding: 40px 20px 32px; text-align: center; margin-top: 70px; }
.footer-content { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-seal {
  color: var(--gold-bright); width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f6f1e6; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.footer-seal img { width: 44px; height: 44px; object-fit: contain; }
.gov-footer-modern p { color: rgba(246,241,230,0.82); font-size: 12.5px; margin: 0; line-height: 1.8; }
.footer-rule { width: 60px; height: 1px; background: var(--gold-bright); opacity: 0.5; }

.state-box { text-align: center; padding: 46px 14px; color: var(--muted); border: 1px dashed var(--border); background: var(--surface); }
.state-box .state-icon { display: flex; justify-content: center; margin-bottom: 10px; color: var(--gold); }
.state-box .state-icon svg { width: 30px; height: 30px; }
.state-box strong { display: block; color: var(--ink); margin-bottom: 2px; font-size: 14px; }

/* ---------------- Single statement (letterhead) page ---------------- */
.editorial-article-wrapper { max-width: 880px; margin: 0 auto; padding: 40px 16px 70px; }
.letterhead-band { background: var(--brand); color: #f6f1e6; padding: 22px 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.letterhead-band .lh-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--gold-bright); }
.letterhead-band .lh-brand img {
  width: 22px; height: 22px; object-fit: contain;
  background: #f6f1e6; border-radius: 50%; padding: 5px;
  box-sizing: content-box; box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.editorial-header-card { background: var(--surface); border: 1px solid var(--border); border-top: none; padding: 34px 32px; margin-bottom: 24px; box-shadow: var(--shadow-card); position: relative; }
.editorial-header-card::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--border-soft); pointer-events: none; }
.editorial-meta-strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; position: relative; z-index: 1; }
.editorial-ministry-pill { color: var(--gold-dim); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.editorial-date-pill { color: var(--muted); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.editorial-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.8vw, 38px); color: var(--heading); line-height: 1.5; margin: 0 0 22px; position: relative; z-index: 1; }
.editorial-actions-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border-soft); position: relative; z-index: 1; }
.editorial-btn { padding: 10px 18px; border-radius: 6px; font-size: 12.5px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: all 0.2s ease; border: 1px solid var(--border); text-decoration: none; background: var(--surface); color: var(--ink-soft); }
.editorial-btn:hover { border-color: var(--gold); color: var(--heading); transform: translateY(-1px); }
.editorial-btn svg { width: 14px; height: 14px; }
.btn-copy-modern { }
.editorial-body-flow { background: var(--surface); border: 1px solid var(--border); padding: 38px 34px; box-shadow: var(--shadow-card); position: relative; }
.editorial-body-flow::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--border-soft); pointer-events: none; }
.render-block-text { font-size: 17.5px; line-height: 2.15; color: var(--ink); margin-bottom: 0; white-space: pre-wrap; word-break: break-word; position: relative; z-index: 1; }

/* "البيان الأصلي" box, when it holds just a link out to the source instead
   of the full reproduced text (see single-statement.php). */
.editorial-body-flow--link { display: flex; justify-content: center; padding: 30px 34px; }
.original-source-link {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 26px; border-radius: 6px; border: 1px solid var(--gold);
	background: var(--surface-2); color: var(--heading); text-decoration: none;
	font-family: var(--font-display); font-weight: 700; font-size: 15px;
	position: relative; z-index: 1; transition: all 0.2s ease;
}
.original-source-link:hover { background: var(--gold); color: var(--surface); transform: translateY(-1px); }
.original-source-link svg { width: 17px; height: 17px; flex-shrink: 0; }

.editorial-angles-section { margin-top: 44px; }
.editorial-angles-grid { display: flex; flex-direction: column; gap: 28px; }
.editorial-angle-box { background: var(--surface); border: 1px solid var(--border); border-inline-start: 4px solid var(--gold); padding: 28px 30px; box-shadow: var(--shadow-card); transition: all 0.25s ease; }
.editorial-angle-box:hover { border-inline-start-color: var(--brand); box-shadow: var(--shadow-pop); }
.editorial-angle-box-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--border-soft); }
.angle-badge-and-title { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 240px; }
.angle-order-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-dim); font-family: var(--font-display); font-weight: 700; font-size: 14px; width: fit-content; }
.angle-box-title { margin: 0; font-family: var(--font-display); font-size: clamp(19px, 2.8vw, 25px); font-weight: 700; color: var(--heading); line-height: 1.5; }
.angle-header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.editorial-angle-box-body { font-size: 17px; line-height: 2.1; color: var(--ink); }
.render-block-image { margin: 20px 0 0; overflow: hidden; background: var(--input-bg); border: 1px solid var(--border-soft); }
.render-block-image img { width: 100%; height: auto; object-fit: contain; display: block; }
.render-media-footer { padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.render-media-caption { font-size: 13px; color: var(--muted); font-weight: 600; }
.render-block-video { margin: 20px 0 0; overflow: hidden; background: #000000; border: 1px solid var(--border-soft); }
.render-block-video video { width: 100%; height: auto; display: block; }
.render-block-audio { margin: 20px 0 0; padding: 14px; background: var(--input-bg); border: 1px solid var(--border-soft); }
.render-block-audio audio { width: 100%; display: block; }
.render-block-video .render-media-footer, .render-block-audio .render-media-footer { background: var(--input-bg); }
.render-block-heading { font-family: var(--font-display); font-size: clamp(19px, 2.8vw, 25px); font-weight: 700; color: var(--heading); margin: 22px 0 16px; border-right: 3px solid var(--gold); padding-right: 14px; line-height: 1.6; }

@media (max-width: 640px) {
  .nav-container { padding: 10px 16px; }
  .nav-title { font-size: 17px; }
  .index-hero { padding: 40px 16px 0; }
  .hero-stat { padding: 18px 10px; }
  .filter-panel-card { padding: 30px 0 18px; flex-direction: column; align-items: flex-start; }
  .search-box-wrap input { width: 100%; }
  .articles-grid { grid-template-columns: 1fr; gap: 16px; }
  .editorial-article-wrapper { padding: 20px 10px 44px; }
  .letterhead-band { padding: 16px 18px; }
  .editorial-header-card { padding: 22px 18px; margin-bottom: 16px; }
  .editorial-title { font-size: 22px; line-height: 1.5; margin-bottom: 16px; }
  .editorial-actions-bar { gap: 8px; padding-top: 14px; }
  .editorial-btn { flex: 1 1 calc(50% - 8px); justify-content: center; padding: 10px 10px; font-size: 12px; }
  .editorial-body-flow { padding: 24px 18px; }
  .editorial-angle-box { padding: 20px 18px; }
}
