/*
Theme Name: Ariana Strategic
Theme URI: https://example.com
Author: Ariana Strategic Think Tank
Description: قالب اختصاصی، مدرن و راست‌چین اندیشکده استراتژیک آریانا.
Version: 1.4.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: ariana-strategic
*/

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-1000: #020610;
  --navy-950: #050b16;
  --navy-900: #081321;
  --navy-850: #0c192a;
  --navy-800: #10233a;
  --navy-700: #173451;
  --gold-600: #a97820;
  --gold-500: #c99a3b;
  --gold-400: #ddb85f;
  --gold-300: #f0d58b;
  --ice: #edf4fb;
  --text: #d8e1eb;
  --muted: #8e9bac;
  --line: rgb(236 205 125 / 13%);
  --glass: rgb(13 27 44 / 72%);
  --shadow: 0 28px 80px rgb(0 0 0 / 34%);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--navy-950);
  font-family: "IRANSans", "Estedad", "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}
body::selection { color: var(--navy-1000); background: var(--gold-300); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease, border-color .2s ease, transform .2s ease, background-color .2s ease; }
a:hover { color: var(--gold-300); }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.screen-reader-text:focus { width: auto; height: auto; padding: 12px; clip: auto; z-index: 9999; color: var(--navy-950); background: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 12px;
  background: linear-gradient(to bottom, rgb(2 6 16 / 92%), rgb(2 6 16 / 15%));
  backdrop-filter: blur(12px);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 9px 12px 9px 20px;
  background: rgb(10 22 37 / 78%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 15px 45px rgb(0 0 0 / 18%);
}
.brand { min-width: 236px; display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 54px; height: 54px; object-fit: contain; border-radius: 15px; box-shadow: 0 8px 24px rgb(0 0 0 / 25%); }
.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--navy-1000);
  background: linear-gradient(145deg, #ffe6a2, var(--gold-500) 70%);
  border-radius: 15px;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 9px 28px rgb(201 154 59 / 22%);
}
.brand-title { display: block; color: var(--ice); font-weight: 700; line-height: 1.5; }
.brand-tagline { display: block; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.primary-menu { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { display: block; padding: 8px 13px; color: #b9c5d2; border-radius: 10px; font-size: .9rem; }
.primary-menu .current-menu-item > a, .primary-menu a:hover { color: var(--gold-300); background: rgb(236 205 125 / 7%); }
.header-search {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--gold-300);
  border: 1px solid rgb(236 205 125 / 22%);
  border-radius: 14px;
  background: rgb(236 205 125 / 5%);
}
.header-search:hover { color: var(--navy-950); background: var(--gold-300); transform: translateY(-2px); }
.header-search svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.hero {
  position: relative;
  min-height: calc(100svh - 98px);
  display: grid;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(115deg, rgb(2 6 16 / 12%), rgb(2 6 16 / 78%)),
    radial-gradient(circle at 70% 40%, #153d61 0, transparent 34%),
    linear-gradient(145deg, var(--navy-800), var(--navy-1000) 70%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgb(240 213 139 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(240 213 139 / 7%) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to left, #000, transparent 82%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 52%;
  bottom: -360px;
  width: 720px;
  height: 720px;
  border: 1px solid rgb(240 213 139 / 10%);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgb(240 213 139 / 2%), 0 0 0 180px rgb(240 213 139 / 1.5%);
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(12px); pointer-events: none; }
.hero-glow-one { top: 8%; right: -180px; width: 430px; height: 430px; background: rgb(25 99 151 / 22%); }
.hero-glow-two { left: 4%; bottom: 2%; width: 260px; height: 260px; background: rgb(201 154 59 / 10%); }
.hero-inner {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 82px;
  padding-block: 72px 104px;
}
.hero-content { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--gold-400); font-size: .82rem; font-weight: 700; letter-spacing: .035em; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: linear-gradient(to left, var(--gold-300), transparent); }
.hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--ice);
  font-size: clamp(2.65rem, 5.5vw, 5.45rem);
  line-height: 1.24;
  letter-spacing: -.045em;
}
.hero h1::first-line { color: var(--gold-300); }
.hero-copy { max-width: 670px; margin: 0; color: #aab8c7; font-size: 1.08rem; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  color: var(--navy-1000);
  background: linear-gradient(135deg, #f1d78d, #bc852b);
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgb(190 137 44 / 17%);
  font-weight: 700;
}
.button::after { content: "←"; margin-right: 10px; font-size: 1.15em; }
.button:hover { color: var(--navy-1000); transform: translateY(-3px); box-shadow: 0 18px 42px rgb(190 137 44 / 27%); }
.button-secondary { color: var(--ice); background: rgb(255 255 255 / 4%); border-color: rgb(255 255 255 / 13%); box-shadow: none; backdrop-filter: blur(10px); }
.button-secondary:hover { color: var(--gold-300); background: rgb(255 255 255 / 7%); border-color: rgb(240 213 139 / 32%); box-shadow: none; }
.hero-insights { max-width: 650px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 50px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 16px; }
.hero-insights > span { display: grid; gap: 1px; padding: 15px 18px; background: rgb(7 18 31 / 82%); }
.hero-insights strong { color: var(--ice); font-size: .92rem; }
.hero-insights small { color: var(--muted); font-size: .7rem; }
.hero-emblem { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-emblem::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(205 159 63 / 18%), rgb(8 19 33 / 4%) 62%, transparent 66%);
  border-radius: 50%;
  filter: blur(8px);
}
.hero-emblem img {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 28px;
  filter: drop-shadow(0 35px 55px rgb(0 0 0 / 45%));
}
.hero-symbol {
  position: relative;
  z-index: 2;
  width: 310px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--gold-300);
  background: radial-gradient(circle at 35% 25%, rgb(255 255 255 / 8%), transparent 44%), rgb(9 23 39 / 60%);
  border: 1px solid rgb(240 213 139 / 22%);
  border-radius: 38%;
  box-shadow: inset 0 0 75px rgb(201 154 59 / 10%), 0 35px 80px rgb(0 0 0 / 32%);
  font-family: Georgia, serif;
  font-size: 7rem;
  transform: rotate(-4deg);
}
.hero-symbol::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgb(240 213 139 / 16%); border-radius: inherit; }
.orbit { position: absolute; border: 1px solid rgb(240 213 139 / 17%); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; top: 12%; right: 12%; width: 8px; height: 8px; background: var(--gold-300); border-radius: 50%; box-shadow: 0 0 20px var(--gold-400); }
.orbit-one { width: 410px; height: 410px; animation: ariana-spin 28s linear infinite; }
.orbit-two { width: 500px; height: 500px; opacity: .45; animation: ariana-spin 42s linear infinite reverse; }

.section { position: relative; padding-block: 108px; }
.section-editorial { background: linear-gradient(180deg, var(--navy-950), #091526 55%, var(--navy-950)); }
.section-news { background: radial-gradient(circle at 10% 30%, rgb(25 76 116 / 18%), transparent 28%), var(--navy-900); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-title { max-width: 720px; margin: 0; color: var(--ice); font-size: clamp(1.9rem, 3.8vw, 3.25rem); line-height: 1.4; letter-spacing: -.03em; }
.section-description { margin: 10px 0 0; color: var(--muted); }
.text-link { padding-bottom: 4px; color: #cbd5df; border-bottom: 1px solid rgb(240 213 139 / 25%); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.text-link::after { content: " ←"; color: var(--gold-400); }
.text-link:hover { border-color: var(--gold-400); }

.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 20px; }
.post-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(145deg, rgb(18 37 59 / 88%), rgb(7 17 30 / 96%));
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 46px rgb(0 0 0 / 16%);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.post-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, transparent 50%, rgb(240 213 139 / 5%)); }
.post-card:hover { transform: translateY(-7px); border-color: rgb(240 213 139 / 28%); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(circle at 25% 20%, var(--navy-700), var(--navy-950)); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(4 10 19 / 38%), transparent 58%); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.post-card:hover .card-media img { transform: scale(1.055); filter: saturate(1.08); }
.card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgb(240 213 139 / 72%); font-family: Georgia, serif; font-size: 3.8rem; }
.card-body { position: relative; z-index: 1; padding: 25px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; color: var(--muted); font-size: .75rem; }
.post-type-label { color: var(--gold-400); font-weight: 700; }
.card-title { margin: 12px 0 10px; color: var(--ice); font-size: 1.15rem; line-height: 1.7; }
.card-excerpt { margin: 0; color: #93a1b2; font-size: .88rem; line-height: 1.95; }
.feature-card { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 410px; }
.feature-card .card-media { height: 100%; aspect-ratio: auto; }
.feature-card .card-body { align-self: end; padding: 35px; }
.feature-card .card-title { margin-block: 16px 13px; font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.feature-card .card-excerpt { font-size: .95rem; }

.topics { overflow: hidden; background: var(--navy-1000); }
.topics::before { content: ""; position: absolute; top: 0; right: 50%; width: 1px; height: 100%; background: linear-gradient(transparent, rgb(240 213 139 / 15%), transparent); }
.topics .section-description { color: var(--muted); }
.topic-grid { counter-reset: topics; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic-link {
  counter-increment: topics;
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 3px;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(145deg, rgb(20 46 72 / 60%), rgb(8 18 31 / 35%));
  border: 1px solid rgb(240 213 139 / 12%);
  border-radius: var(--radius-lg);
}
.topic-link::before { content: "0" counter(topics); position: absolute; top: 10px; left: 18px; color: rgb(240 213 139 / 10%); font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; transition: color .25s ease, transform .25s ease; }
.topic-link::after { content: "↗"; position: absolute; top: 20px; right: 22px; color: var(--gold-400); font-size: 1.15rem; }
.topic-link:hover { color: var(--gold-300); background: linear-gradient(145deg, rgb(27 59 90 / 72%), rgb(10 24 40 / 60%)); border-color: rgb(240 213 139 / 35%); transform: translateY(-5px); }
.topic-link:hover::before { color: rgb(240 213 139 / 18%); transform: translateY(-4px); }
.topic-link strong { position: relative; z-index: 1; color: var(--ice); font-size: 1rem; }
.topic-link small { position: relative; z-index: 1; color: var(--muted); }

.page-header { position: relative; overflow: hidden; padding-block: 105px 70px; background: radial-gradient(circle at 72% 10%, rgb(24 83 128 / 34%), transparent 33%), linear-gradient(135deg, var(--navy-800), var(--navy-1000)); }
.page-header::after { content: ""; position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgb(240 213 139 / 8%) 1px, transparent 1px), linear-gradient(90deg, rgb(240 213 139 / 8%) 1px, transparent 1px); background-size: 55px 55px; mask-image: linear-gradient(to left, #000, transparent); }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { max-width: 900px; margin: 0; color: var(--ice); font-size: clamp(2.15rem, 4.8vw, 4.2rem); line-height: 1.4; letter-spacing: -.035em; }
.page-header p { max-width: 720px; margin: 14px 0 0; color: #a9b6c4; }
.page-header .post-meta { margin-top: 20px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.article-content { padding: clamp(25px, 5vw, 58px); color: #c9d3df; background: linear-gradient(145deg, rgb(16 33 53 / 90%), rgb(8 18 31 / 96%)); border: 1px solid rgb(255 255 255 / 7%); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.article-content > *:first-child { margin-top: 0; }
.article-content h1, .article-content h2, .article-content h3 { margin-top: 1.8em; color: var(--ice); line-height: 1.55; }
.article-content a { color: var(--gold-300); text-decoration: underline; text-decoration-color: rgb(240 213 139 / 35%); text-underline-offset: 4px; }
.article-content blockquote { margin-inline: 0; padding: 20px 25px; color: #e5d5ae; background: rgb(240 213 139 / 6%); border-right: 3px solid var(--gold-400); border-radius: 12px 0 0 12px; }
.article-content figure { margin-inline: 0; }
.article-content figure img { border-radius: var(--radius-md); }
.article-content figcaption { color: var(--muted); font-size: .78rem; text-align: center; }
.article-sidebar { position: sticky; top: 112px; padding: 26px; background: rgb(14 29 47 / 78%); border: 1px solid rgb(255 255 255 / 7%); border-radius: var(--radius-lg); backdrop-filter: blur(12px); }
.article-sidebar h2 { margin-top: 0; color: var(--ice); font-size: 1rem; }
.meta-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; }
.pagination { margin-top: 42px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding-inline: 9px; background: var(--navy-850); border: 1px solid rgb(255 255 255 / 8%); border-radius: 12px; }
.page-numbers.current { color: var(--navy-1000); background: var(--gold-300); border-color: var(--gold-300); }
/* ---------- online meetings ---------- */
.meeting-card .card-body { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.meeting-card .card-title { margin: 0; }
.meeting-card .card-excerpt { flex: 1; }

.meeting-status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: 0; }
.meeting-status-upcoming { color: var(--gold-300); background: rgb(240 213 139 / 12%); border: 1px solid rgb(240 213 139 / 28%); }
.meeting-status-live { color: #ffe9e9; background: rgb(198 58 58 / 26%); border: 1px solid rgb(233 96 96 / 55%); }
.meeting-status-ended { color: var(--muted); background: rgb(142 155 172 / 12%); border: 1px solid rgb(142 155 172 / 26%); }
.meeting-status-unscheduled { color: var(--muted); background: rgb(142 155 172 / 10%); border: 1px dashed rgb(142 155 172 / 32%); }

.meeting-pulse { width: 8px; height: 8px; background: #ff6b6b; border-radius: 50%; box-shadow: 0 0 0 0 rgb(255 107 107 / 65%); animation: ariana-pulse 1.8s ease-out infinite; }
@keyframes ariana-pulse {
  70% { box-shadow: 0 0 0 9px rgb(255 107 107 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(255 107 107 / 0%); }
}
@media (prefers-reduced-motion: reduce) { .meeting-pulse { animation: none; } }

.meeting-platform { color: var(--gold-400); font-weight: 600; }
.meeting-schedule { margin: 0; color: var(--ice); font-size: .93rem; font-weight: 700; }
.meeting-host { margin: 0; color: var(--muted); font-size: .82rem; }
.meeting-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.meeting-actions .button { padding: 11px 22px; font-size: .84rem; }
.meeting-actions .button::after { content: none; }

.meeting-join-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin: 0 0 32px; padding: 26px 28px; background: linear-gradient(135deg, rgb(23 52 81 / 82%), rgb(8 19 33 / 88%)); border: 1px solid rgb(240 213 139 / 22%); border-radius: var(--radius-lg); }
.meeting-join-panel h2 { margin: 0 0 8px; color: var(--ice); font-size: 1.12rem; }
.meeting-join-panel p { margin: 0; color: var(--muted); font-size: .87rem; }
.meeting-join-panel > div:first-child { flex: 1 1 300px; }
.meeting-join-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.meeting-join-live { border-color: rgb(233 96 96 / 45%); }
.meeting-join-ended { border-style: dashed; border-color: rgb(142 155 172 / 30%); }

@media (max-width: 640px) {
  .meeting-join-panel { padding: 22px; }
  .meeting-join-actions { width: 100%; }
  .meeting-join-actions .button { flex: 1; text-align: center; justify-content: center; }
}

.empty-state { grid-column: 1 / -1; padding: 65px 28px; text-align: center; background: linear-gradient(145deg, rgb(17 35 56 / 82%), rgb(7 17 30 / 88%)); border: 1px dashed rgb(240 213 139 / 25%); border-radius: var(--radius-xl); }
.empty-state h2, .empty-state h3 { color: var(--ice); }
.search-form { display: flex; gap: 8px; padding: 8px; background: rgb(15 31 50 / 75%); border: 1px solid rgb(255 255 255 / 8%); border-radius: 16px; }
.search-field { width: 100%; min-height: 47px; padding: 8px 14px; color: var(--ice); background: transparent; border: 0; outline: none; }
.search-field::placeholder { color: var(--muted); }
.search-submit { padding: 8px 20px; color: var(--navy-1000); background: var(--gold-300); border: 0; border-radius: 11px; cursor: pointer; font-weight: 700; }
.search-results-grid { margin-top: 34px; }

.site-footer { position: relative; overflow: hidden; padding-block: 72px 30px; color: #98a6b6; background: #02060e; border-top: 1px solid var(--line); }
.site-footer::before { content: "آ"; position: absolute; left: 5%; bottom: -110px; color: rgb(240 213 139 / 3%); font-family: Georgia, serif; font-size: 27rem; line-height: 1; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 55px; }
.footer-title { margin: 0 0 15px; color: var(--gold-300); font-size: 1.05rem; }
.footer-menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer .primary-menu { display: grid; width: auto; }
.footer-bottom { position: relative; z-index: 1; margin-top: 50px; padding-top: 24px; color: #667487; border-top: 1px solid rgb(255 255 255 / 7%); font-size: .78rem; }

@keyframes ariana-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 3px; }
  .primary-menu { width: max-content; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding-block: 70px 95px; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-insights { margin-inline: auto; text-align: right; }
  .hero-emblem { order: -1; min-height: 360px; }
  .hero-emblem img { width: 320px; }
  .hero-symbol { width: 240px; font-size: 5rem; }
  .orbit-one { width: 310px; height: 310px; }
  .orbit-two { width: 365px; height: 365px; }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card { grid-column: span 2; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .admin-bar .site-header { top: 46px; }
  .site-header { padding-block: 8px; }
  .header-inner { min-height: 66px; padding: 7px 9px 7px 13px; border-radius: 17px; }
  .brand { min-width: 0; }
  .brand-title { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
  .brand-tagline, .header-search { display: none; }
  .brand-mark, .brand-logo { width: 45px; height: 45px; border-radius: 12px; }
  .primary-menu a { padding: 7px 10px; font-size: .82rem; }
  .hero-inner { padding-block: 48px 72px; }
  .hero-emblem { min-height: 275px; }
  .hero-emblem img { width: 235px; }
  .hero-symbol { width: 185px; font-size: 4rem; }
  .orbit-one { width: 235px; height: 235px; }
  .orbit-two { width: 280px; height: 280px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-copy { font-size: .96rem; }
  .hero-insights { grid-template-columns: 1fr; }
  .hero-insights > span { grid-template-columns: 90px 1fr; align-items: center; }
  .section { padding-block: 75px; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .posts-grid { grid-template-columns: 1fr; }
  .feature-card { grid-column: auto; grid-template-columns: 1fr; min-height: 0; }
  .feature-card .card-media { min-height: 235px; }
  .feature-card .card-body { padding: 25px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-link { min-height: 145px; }
  .page-header { padding-block: 78px 55px; }
  .article-content { padding: 25px 20px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
