:root {
  --green-950: #032d27;
  --green-900: #063f35;
  --green-800: #075447;
  --green-700: #08705c;
  --green-100: #dff3ed;
  --green-50: #f1faf7;
  --gold-500: #f0b90b;
  --gold-400: #ffd34e;
  --gold-100: #fff4c7;
  --ink: #17211f;
  --muted: #64716e;
  --line: #e4e9e7;
  --surface: #ffffff;
  --canvas: #f6f8f7;
  --danger: #b52b35;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 12px 36px rgba(6, 63, 53, .08);
  --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }
button, input { font: inherit; }
.shell { width: min(calc(100% - 32px), var(--shell)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 10px 16px; background: #fff; color: var(--green-900); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 100; top: 0; color: #fff; background: rgba(3, 45, 39, .97); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.admin-bar .site-header { top: 32px; }
.header-main { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.brand { flex: 0 0 auto; }
.site-logo { display: flex; align-items: center; }
.site-logo-image { width: 136px; height: auto; max-height: 58px; object-fit: contain; }
.custom-logo { width: auto; max-height: 48px; }
.brand-mark { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.brand-mark:hover { color: #fff; }
.brand-symbol { display: grid; place-items: center; width: 39px; height: 39px; color: var(--green-950); background: linear-gradient(145deg, var(--gold-400), var(--gold-500)); border-radius: 12px 5px 12px 5px; font-size: 23px; font-weight: 900; font-style: italic; line-height: 1; transform: skew(-5deg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.42); }
.brand-name { color: #fff; font-size: 23px; font-weight: 900; letter-spacing: -.7px; line-height: 1; }
.brand-name span { color: var(--gold-400); }
.primary-nav { flex: 1; }
.primary-nav ul, .footer-menu, .site-footer .menu { list-style: none; padding: 0; margin: 0; }
.primary-nav .menu { display: flex; align-items: center; justify-content: center; gap: 2px; }
.primary-nav a { display: block; padding: 10px 12px; color: rgba(255,255,255,.88); font-size: 14px; font-weight: 650; border-radius: 8px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--gold-400); background: rgba(255,255,255,.06); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 17px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 800; line-height: 1.2; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.34); }
.button-ghost:hover { color: #fff; background: rgba(255,255,255,.08); }
.button-gold { color: var(--green-950); background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); box-shadow: 0 6px 18px rgba(240,185,11,.18); }
.button-gold:hover { color: var(--green-950); background: var(--gold-400); }
.menu-toggle { display: none; margin-left: auto; padding: 8px; color: #fff; background: transparent; border: 0; cursor: pointer; }
.menu-toggle-lines { display: grid; gap: 5px; width: 25px; }
.menu-toggle-lines i { display: block; height: 2px; background: currentColor; border-radius: 4px; transition: .2s; }
.menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--green-950); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 18%, rgba(240,185,11,.24), transparent 28%), linear-gradient(120deg, transparent 52%, rgba(255,255,255,.055) 52% 53%, transparent 53% 60%, rgba(255,255,255,.035) 60% 61%, transparent 61%); }
.hero-inner { position: relative; min-height: 460px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; padding-block: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--gold-400); font-size: 12px; font-weight: 850; letter-spacing: 1.4px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { max-width: 680px; margin: 0 0 18px; font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -2px; }
.hero h1 span { color: var(--gold-400); }
.hero-copy > p:not(.eyebrow) { max-width: 620px; margin: 0 0 28px; color: rgba(255,255,255,.76); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .button { min-height: 48px; padding-inline: 22px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: rgba(255,255,255,.78); font-size: 13px; }
.trust-list span { display: flex; align-items: center; gap: 6px; }
.trust-list span::before { content: "✓"; display: grid; place-items: center; width: 19px; height: 19px; color: var(--gold-400); background: rgba(255,255,255,.1); border-radius: 50%; font-weight: 900; }
.hero-panel { position: relative; padding: 26px; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.055)); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.hero-panel-label { margin: 0 0 15px; color: var(--gold-400); font-size: 12px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-card { min-height: 104px; padding: 17px; color: #fff; background: rgba(3,45,39,.6); border: 1px solid rgba(255,255,255,.11); border-radius: 13px; }
.quick-card:hover { color: #fff; border-color: rgba(255,211,78,.6); background: rgba(3,45,39,.9); }
.quick-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 9px; color: var(--green-950); background: var(--gold-400); border-radius: 8px; font-size: 17px; font-weight: 900; }
.quick-card strong { display: block; font-size: 14px; }
.quick-card small { color: rgba(255,255,255,.58); font-size: 12px; }

.section { padding-block: 64px; }
.section-white { background: var(--surface); }
.home-intro { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.home-intro::after { content: 'K'; position: absolute; right: -18px; bottom: -105px; color: var(--green-50); font-size: 290px; font-weight: 900; line-height: 1; pointer-events: none; }
.home-intro-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: clamp(42px, 7vw, 90px); align-items: start; }
.home-intro-heading { position: sticky; top: 104px; }
.home-intro-heading h2 { max-width: 440px; margin: 0; color: var(--green-950); font-size: clamp(28px, 4vw, 42px); line-height: 1.18; letter-spacing: -1px; }
.home-intro-heading::after { content: ''; display: block; width: 68px; height: 4px; margin-top: 22px; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); border-radius: 4px; }
.home-intro-content { position: relative; max-width: 720px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; padding: 26px 30px; background: var(--green-50); border: 1px solid #dceee8; border-radius: var(--radius); scrollbar-width: thin; scrollbar-color: var(--green-700) #dceee8; }
.home-intro-content:focus { outline: 3px solid rgba(8,112,92,.15); outline-offset: 3px; }
.home-intro-content::-webkit-scrollbar { width: 8px; }
.home-intro-content::-webkit-scrollbar-track { background: #dceee8; border-radius: 8px; }
.home-intro-content::-webkit-scrollbar-thumb { background: var(--green-700); border: 2px solid #dceee8; border-radius: 8px; }
.home-intro-content::-webkit-scrollbar-thumb:hover { background: var(--green-900); }
.home-intro-content p:last-child { margin-bottom: 0; }
.home-intro-content h2:first-child, .home-intro-content h3:first-child { margin-top: 0; }
.faq-section { background: var(--canvas); }
.faq-wrap { max-width: 920px; }
.faq-heading { margin-bottom: 28px; text-align: center; }
.faq-heading .eyebrow { justify-content: center; }
.faq-heading .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; }
.faq-heading h2 { margin: 0; color: var(--green-950); font-size: clamp(28px, 4vw, 38px); line-height: 1.2; letter-spacing: -.8px; }
.faq-heading > p:last-child { margin: 9px auto 0; color: var(--muted); }
.faq-list { display: grid; gap: 11px; }
.faq-item { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; transition: border-color .18s ease, box-shadow .18s ease; }
.faq-item[open] { border-color: #c4ded6; box-shadow: 0 10px 28px rgba(6,63,53,.06); }
.faq-item summary { position: relative; display: flex; min-height: 62px; align-items: center; padding: 16px 58px 16px 20px; color: var(--green-950); font-size: 16px; font-weight: 800; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 18px; display: grid; width: 28px; height: 28px; place-items: center; color: var(--green-900); background: var(--gold-100); border-radius: 8px; font-size: 20px; font-weight: 500; line-height: 1; transition: transform .2s ease, background .2s ease; }
.faq-item[open] summary::after { color: #fff; background: var(--green-800); transform: rotate(45deg); }
.faq-answer { padding: 0 58px 18px 20px; color: var(--muted); font-size: 15px; }
.faq-answer p { margin: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2, .archive-header h1 { margin: 0; color: var(--green-950); font-size: clamp(26px, 4vw, 36px); line-height: 1.2; letter-spacing: -.8px; }
.section-heading p, .archive-description { max-width: 610px; margin: 7px 0 0; color: var(--muted); }
.text-link { flex: 0 0 auto; color: var(--green-700); font-size: 14px; font-weight: 800; }
.text-link::after { content: " →"; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-grid > .empty-state { grid-column: 1 / -1; }
.post-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-3px); border-color: #cbdad5; box-shadow: var(--shadow); }
.post-card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--green-900), var(--green-700)); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card-media img { transform: scale(1.025); }
.placeholder-mark { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.16); font-size: 56px; font-weight: 900; }
.category-pill { display: inline-flex; padding: 5px 9px; color: var(--green-900); background: var(--gold-100); border-radius: 999px; font-size: 11px; font-weight: 850; line-height: 1.2; text-transform: uppercase; }
.post-card .category-pill { position: absolute; left: 14px; bottom: 14px; }
.post-card-body { padding: 19px; }
.post-card h2, .post-card h3 { margin: 0 0 9px; color: var(--ink); font-size: 19px; line-height: 1.4; letter-spacing: -.25px; }
.post-card h2 a, .post-card h3 a { color: inherit; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--green-700); }
.post-card p { margin: 0 0 15px; color: var(--muted); font-size: 14px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; color: #7c8885; font-size: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-meta span + span::before { content: "•"; margin-right: 6px; color: #bdc5c3; }

.feature-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; }
.feature-main { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--radius-lg); background: var(--green-900); }
.feature-main img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.feature-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(3,45,39,.96)); }
.feature-content { position: absolute; z-index: 1; inset: auto 30px 28px; color: #fff; }
.feature-content h2 { max-width: 680px; margin: 12px 0 9px; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; }
.feature-content h2 a { color: #fff; }
.feature-content .post-meta { color: rgba(255,255,255,.68); }
.feature-side { display: grid; gap: 14px; }
.mini-post { display: grid; grid-template-columns: 116px 1fr; gap: 14px; align-items: center; min-width: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.mini-post:hover { border-color: #bed1cb; box-shadow: 0 8px 22px rgba(6,63,53,.06); }
.mini-post-thumb { aspect-ratio: 1.2; overflow: hidden; background: var(--green-900); border-radius: 10px; }
.mini-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-post h3 { margin: 4px 0 7px; font-size: 15px; line-height: 1.4; }
.mini-post h3 a { color: var(--ink); }
.mini-post time { color: var(--muted); font-size: 11px; }

.breadcrumbs { display: flex; gap: 8px; align-items: center; overflow: hidden; padding-block: 18px; color: #89938f; font-size: 13px; white-space: nowrap; }
.breadcrumbs a { color: var(--green-700); }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; padding-bottom: 64px; }
.article-column { min-width: 0; display: grid; gap: 24px; }
.article { min-width: 0; padding: clamp(22px, 4vw, 42px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.article-header { margin-bottom: 26px; }
.article-header h1 { margin: 11px 0 13px; color: var(--green-950); font-size: clamp(30px, 5vw, 46px); line-height: 1.18; letter-spacing: -1.2px; }
.article-lead { color: var(--muted); font-size: 18px; }
.article-featured { width: calc(100% + clamp(44px, 8vw, 84px)); max-width: none; margin: 0 calc(clamp(22px, 4vw, 42px) * -1) 30px; }
.article-featured img { width: 100%; max-height: 520px; object-fit: cover; }
.entry-content { color: #26312f; font-size: 17px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.25em; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--green-950); line-height: 1.3; letter-spacing: -.4px; }
.entry-content h2 { margin: 1.6em 0 .65em; font-size: 28px; }
.entry-content h3 { margin: 1.45em 0 .6em; font-size: 23px; }
.entry-content a { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 24px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { margin: 28px 0; padding: 18px 22px; color: var(--green-900); background: var(--green-50); border-left: 4px solid var(--gold-500); border-radius: 0 12px 12px 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 11px 13px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--green-50); }
.entry-content img { border-radius: 12px; }
.entry-content h2[id], .entry-content h3[id] { scroll-margin-top: 105px; }
.article-toc { margin: 28px 0 30px; overflow: hidden; background: var(--green-50); border: 1px solid #cfe7df; border-radius: 13px; }
.article-toc summary { position: relative; display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 54px 14px 18px; color: var(--green-950); font-size: 16px; font-weight: 850; line-height: 1.35; list-style: none; cursor: pointer; user-select: none; }
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc summary::after { content: '+'; position: absolute; right: 17px; display: grid; width: 27px; height: 27px; place-items: center; color: var(--green-950); background: var(--gold-400); border-radius: 7px; font-size: 20px; font-weight: 500; line-height: 1; transition: transform .2s ease; }
.article-toc[open] summary::after { transform: rotate(45deg); }
.article-toc summary small { color: var(--muted); font-size: 11px; font-weight: 650; }
.article-toc nav { padding: 0 18px 17px; border-top: 1px solid #d8ebe5; }
.article-toc ol { display: grid; gap: 7px; margin: 14px 0 0; padding-left: 21px; }
.article-toc li { margin: 0; color: var(--green-700); font-size: 14px; }
.article-toc .toc-level-3 { margin-left: 18px; font-size: 13px; }
.article-toc a { color: #40534f; text-decoration: none; }
.article-toc a:hover { color: var(--green-700); text-decoration: underline; }
.article-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-tags a { padding: 6px 10px; color: var(--muted); background: var(--canvas); border-radius: 7px; font-size: 12px; font-weight: 650; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 25px; }
.post-navigation a { display: block; height: 100%; padding: 15px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 700; }
.related-posts { padding: clamp(22px, 3vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.related-heading { margin-bottom: 20px; }
.related-heading .eyebrow { margin-bottom: 7px; }
.related-heading h2 { margin: 0; color: var(--green-950); font-size: clamp(23px, 3vw, 29px); line-height: 1.25; letter-spacing: -.5px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card { min-width: 0; overflow: hidden; background: var(--canvas); border: 1px solid var(--line); border-radius: 12px; transition: transform .18s ease, border-color .18s ease; }
.related-card:hover { transform: translateY(-2px); border-color: #c1d8d1; }
.related-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--green-900), var(--green-700)); }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.related-card:hover .related-thumb img { transform: scale(1.025); }
.related-card-body { padding: 13px; }
.related-card time { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.related-card h3 { margin: 0; font-size: 14px; line-height: 1.42; }
.related-card h3 a { color: var(--ink); }
.related-card h3 a:hover { color: var(--green-700); }
.related-empty { margin: 0; padding: 18px; color: var(--muted); background: var(--canvas); border-radius: 10px; font-size: 14px; }

.sidebar { position: sticky; top: 94px; display: grid; gap: 18px; }
.admin-bar .sidebar { top: 126px; }
.sidebar-card { margin: 0; padding: 21px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.sidebar-title { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--green-950); font-size: 18px; line-height: 1.3; }
.sidebar-title::before { content: ""; width: 4px; height: 19px; background: var(--gold-500); border-radius: 4px; }
.search-form { display: flex; gap: 7px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 43px; padding: 9px 12px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 9px; outline: none; }
.search-field:focus { background: #fff; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(8,112,92,.1); }
.search-submit { min-width: 45px; padding: 0 13px; color: var(--green-950); background: var(--gold-400); border: 0; border-radius: 9px; font-weight: 900; cursor: pointer; }
.popular-list { display: grid; gap: 14px; }
.popular-item { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 11px; align-items: center; }
.popular-thumb { position: relative; aspect-ratio: 1.15; overflow: hidden; background: var(--green-900); border-radius: 9px; }
.popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-rank { position: absolute; top: 4px; left: 4px; display: grid; place-items: center; width: 20px; height: 20px; color: var(--green-950); background: var(--gold-400); border-radius: 5px; font-size: 11px; font-weight: 900; }
.popular-item h3 { margin: 0 0 3px; font-size: 13px; line-height: 1.38; }
.popular-item h3 a { color: var(--ink); }
.popular-item small { color: #89938f; font-size: 11px; }

.archive-hero { padding: 44px 0 36px; color: #fff; background: linear-gradient(135deg, var(--green-950), var(--green-800)); }
.archive-hero .breadcrumbs { padding-top: 0; color: rgba(255,255,255,.58); }
.archive-hero .breadcrumbs a { color: var(--gold-400); }
.archive-header h1 { color: #fff; }
.archive-description { color: rgba(255,255,255,.68); }
.archive-main { padding-block: 42px 68px; }
.archive-main .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pagination { margin-top: 34px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.page-numbers { display: grid; min-width: 40px; height: 40px; place-items: center; padding: 0 10px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 700; }
.page-numbers.current, .page-numbers:hover { color: #fff; background: var(--green-800); border-color: var(--green-800); }
.empty-state { padding: 50px 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state h2 { margin-top: 0; color: var(--green-950); }
.not-found { min-height: 56vh; display: grid; place-items: center; padding-block: 60px; text-align: center; }
.not-found-code { margin: 0; color: var(--gold-500); font-size: clamp(80px, 15vw, 150px); font-weight: 900; line-height: .9; }
.not-found h1 { margin: 20px 0 8px; color: var(--green-950); }
.not-found p { color: var(--muted); }

.cta-strip { color: #fff; background: var(--green-800); }
.cta-inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 24px; }
.cta-inner h2 { margin: 0 0 5px; font-size: clamp(22px, 3vw, 30px); }
.cta-inner p { margin: 0; color: rgba(255,255,255,.7); }
.cta-inner .button { min-width: 150px; min-height: 48px; }

.site-footer { color: rgba(255,255,255,.68); background: #022720; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .85fr .85fr 1fr; gap: 42px; padding-block: 54px 42px; }
.footer-brand p { max-width: 350px; }
.footer-logo { display: inline-flex; margin-bottom: 10px; }
.footer-logo img { width: 190px; height: auto; }
.site-footer h2 { margin: 5px 0 17px; color: #fff; font-size: 16px; }
.footer-menu, .site-footer .menu { display: grid; gap: 8px; }
.footer-menu a, .site-footer .menu a { color: rgba(255,255,255,.67); font-size: 14px; }
.footer-menu a:hover, .site-footer .menu a:hover { color: var(--gold-400); }
.footer-keywords { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-keywords a { padding: 5px 9px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 7px; font-size: 12px; line-height: 1.4; }
.footer-keywords a:hover { color: var(--green-950); background: var(--gold-400); border-color: var(--gold-400); }
.responsible { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 12px; }
.responsible strong { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; border: 2px solid #d95c65; border-radius: 50%; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); font-size: 12px; }
.back-top { display: grid; width: 36px; height: 36px; place-items: center; color: var(--green-950); background: var(--gold-400); border-radius: 9px; font-size: 20px; }

@media (max-width: 1020px) {
  .header-main { gap: 15px; }
  .primary-nav a { padding-inline: 8px; font-size: 13px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
  .footer-grid { grid-template-columns: 1.25fr .75fr; gap: 34px; }
}

@media (max-width: 860px) {
  .admin-bar .site-header { top: 46px; }
  .header-main { min-height: 64px; }
  .site-logo-image { width: 108px; max-height: 47px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 64px 0 auto; display: none; max-height: calc(100vh - 64px); overflow-y: auto; padding: 14px 16px 22px; background: var(--green-950); border-top: 1px solid rgba(255,255,255,.09); box-shadow: 0 20px 30px rgba(0,0,0,.25); }
  .admin-bar .primary-nav { inset-block-start: 110px; }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu { display: grid; }
  .primary-nav a { padding: 12px; font-size: 15px; }
  .header-actions .button-ghost { display: none; }
  .header-actions .button { min-height: 38px; padding-inline: 13px; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 38px; padding-block: 56px; }
  .hero-panel { max-width: 600px; }
  .home-intro-inner { grid-template-columns: 1fr; gap: 24px; }
  .home-intro-heading { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar .sidebar-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .archive-main .post-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .brand-name { font-size: 20px; }
  .brand-symbol { width: 34px; height: 34px; font-size: 20px; }
  .header-actions .button { min-height: 36px; padding: 8px 10px; font-size: 12px; }
  .hero-inner { padding-block: 44px; }
  .hero h1 { letter-spacing: -1.2px; }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-panel { padding: 16px; }
  .home-intro-content { max-height: 240px; padding: 21px 18px; }
  .home-intro::after { display: none; }
  .faq-heading { text-align: left; }
  .faq-heading .eyebrow { justify-content: flex-start; }
  .faq-heading .eyebrow::after { display: none; }
  .faq-item summary { min-height: 58px; padding: 14px 52px 14px 16px; font-size: 15px; }
  .faq-item summary::after { right: 14px; }
  .faq-answer { padding: 0 16px 16px; font-size: 14px; }
  .quick-card { min-height: 94px; padding: 13px; }
  .section { padding-block: 44px; }
  .section-heading { align-items: start; }
  .section-heading p { display: none; }
  .feature-main { min-height: 370px; }
  .feature-content { inset: auto 19px 19px; }
  .feature-side { grid-template-columns: 1fr; }
  .archive-main .post-grid, .post-grid { grid-template-columns: 1fr; }
  .archive-main { padding-block: 30px 48px; }
  .article { padding: 22px 18px; border-radius: var(--radius); }
  .article-featured { width: calc(100% + 36px); margin-inline: -18px; }
  .article-header h1 { letter-spacing: -.7px; }
  .entry-content { font-size: 16px; }
  .entry-content h2 { font-size: 24px; }
  .entry-content table { display: block; overflow-x: auto; }
  .article-toc { margin-block: 22px 25px; }
  .article-toc summary { padding-left: 15px; font-size: 15px; }
  .article-toc summary small { display: none; }
  .article-toc nav { padding-inline: 15px; }
  .post-navigation { grid-template-columns: 1fr; }
  .related-posts { padding: 20px 16px; border-radius: var(--radius); }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: center; }
  .related-thumb { aspect-ratio: 1.2; height: 100%; }
  .sidebar { grid-template-columns: 1fr; }
  .sidebar .sidebar-card:last-child:nth-child(odd) { grid-column: auto; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; padding-block: 18px; }
}

@media (max-width: 380px) {
  .header-actions { display: none; }
  .quick-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
