:root {
  color-scheme: dark;
  --page: #0b121b;
  --sidebar: #0e1721;
  --surface: #151f2a;
  --surface-raised: #172433;
  --surface-hover: #1c2a38;
  --line: #2b3744;
  --line-soft: rgba(170, 190, 211, .12);
  --gold: #c4a365;
  --gold-bright: #dfc58f;
  --gold-wash: rgba(198, 167, 106, .16);
  --text: #e5e8ed;
  --muted: #aab4c1;
  --quiet: #697988;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sidebar-width: 230px;
  --topbar-height: 58px;
  --radius: 5px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--page); }
body { margin: 0; min-height: 100vh; background: var(--page); color: var(--text); font: 15px/1.65 var(--sans); }
button, input { color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.sr-only, .skip-link:not(:focus) { 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:focus { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: var(--surface-raised); border: 1px solid var(--gold); border-radius: var(--radius); }

.topbar { position: fixed; z-index: 20; inset: 0 0 auto var(--sidebar-width); height: var(--topbar-height); display: flex; align-items: center; gap: 18px; padding: 0 22px; background: rgba(11,18,27,.96); border-bottom: 1px solid rgba(160,180,200,.08); backdrop-filter: blur(14px); }
.search-wrap { position: relative; width: min(330px, 42vw); height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #293847; border-radius: 5px; background: #101923; color: var(--muted); }
.search-wrap:focus-within { border-color: rgba(198,167,106,.74); box-shadow: 0 0 0 2px rgba(198,167,106,.12); }
.search-icon { width: 16px; height: 16px; flex: none; color: #9aaaba; }
.search-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0; background: transparent; color: var(--text); font-size: 13px; }
.search-wrap input::placeholder { color: #8d9aaa; opacity: 1; }
kbd { flex: none; padding: 1px 5px; border: 1px solid #334252; border-radius: 3px; background: #1b2733; color: #9aabba; font: 10px/1.5 var(--sans); white-space: nowrap; }
.topbar-spacer { flex: 1; }
.topbar-caption { color: #718191; font: 12px var(--serif); letter-spacing: .04em; }
.mobile-menu, .mobile-brand { display: none; }

.sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 13px 11px 10px; background: var(--sidebar); border-right: 1px solid #26313c; }
.brand { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 5px; color: #e9d9b8; font: 600 14px/1 var(--serif); letter-spacing: .22em; }
.brand-star { color: var(--gold); font-size: 22px; line-height: 1; text-shadow: 0 0 14px rgba(198,167,106,.3); }
.primary-nav { display: grid; gap: 2px; margin-top: 14px; }
.nav-link { min-height: 31px; width: 100%; display: flex; align-items: center; gap: 9px; padding: 5px 10px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #c2cbd3; text-align: left; font-size: 12px; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.nav-link svg { width: 15px; height: 15px; color: #9ba8b4; }
.nav-link:hover, .nav-link[aria-current="page"] { background: #39342d; color: #f0dfbd; }
.nav-link:hover svg, .nav-link[aria-current="page"] svg { color: var(--gold-bright); }
.nav-link[aria-current="page"] { border-color: rgba(198,167,106,.1); }
.search-shortcut { border: 0; }
.search-shortcut kbd { margin-left: auto; }
.sidebar-divider { height: 1px; margin: 13px 2px 11px; background: #52606d; opacity: .8; }
.sidebar-heading { margin: 0 5px 8px; color: #9bacbb; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.category-nav { min-height: 0; display: flex; flex-direction: column; gap: 2px; overflow: auto; scrollbar-width: thin; scrollbar-color: #354555 transparent; }
.category-link { min-height: 30px; display: flex; align-items: center; gap: 9px; padding: 4px 9px; border: 1px solid transparent; border-radius: 4px; color: #c4cdd5; font-size: 11px; transition: .16s ease; }
.category-link:hover, .category-link[aria-current="page"] { background: #39342d; color: #f0dfbd; }
.category-link[aria-current="page"] { border-color: rgba(198,167,106,.1); }
.category-symbol { width: 15px; height: 17px; display: inline-grid; place-items: center; flex: none; color: #9daab6; }
.category-symbol svg { width: 15px; height: 15px; }
.category-link[aria-current="page"] .category-symbol, .category-link:hover .category-symbol { color: var(--gold-bright); }
.sidebar-bottom { margin-top: auto; padding-top: 10px; }
.all-pages-link { min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #263544; background: #151f2a; color: #d3dbe2; font-size: 11px; transition: .18s ease; }
.all-pages-link:hover { border-color: var(--gold); background: var(--gold-wash); color: #f1dfbd; }

.app-shell { min-height: 100vh; padding: var(--topbar-height) 0 0 var(--sidebar-width); }
.main-content { min-height: calc(100vh - var(--topbar-height)); outline: none; }
.content-wrap { width: min(100%, 1720px); margin: 0 auto; padding: 33px clamp(24px, 3vw, 54px) 52px; }
.home-content { padding-top: 0; }
.hero { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; margin: 0 calc(clamp(24px, 3vw, 54px) * -1) 0; padding: 52px clamp(26px, 4vw, 64px) 48px; background: linear-gradient(90deg, rgba(8,15,23,.96) 0%, rgba(8,15,23,.88) 36%, rgba(8,15,23,.54) 69%, rgba(8,15,23,.25) 100%), linear-gradient(0deg,rgba(8,15,23,.5),transparent 60%), url("/assets/images/home-banner-cover-1800.png") right center/auto 100% no-repeat, linear-gradient(130deg,#122130,#0b121b 61%,#17202a); border-bottom: 1px solid rgba(198,167,106,.18); }
.hero:before, .category-banner:before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 70%, var(--page)), repeating-linear-gradient(120deg, transparent 0 88px, rgba(198,167,106,.025) 89px, transparent 90px 178px); }
.hero:after { content: none; }
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
.eyebrow { color: var(--gold); font-size: 10px; letter-spacing: .46em; text-transform: uppercase; }
.hero h1 { margin: 15px 0 1px; color: #f2e8d7; font: 400 clamp(45px, 4.5vw, 62px)/1.06 var(--serif); letter-spacing: .16em; }
.hero-kicker { color: #c6c9cb; font: 14px/1.6 var(--serif); }
.hero-rule { width: 56px; height: 1px; margin: 14px 0 12px; background: var(--gold); box-shadow: 25px 0 30px rgba(198,167,106,.4); }
.hero-copy p { max-width: 520px; margin: 0; color: #adbac5; font-size: 14px; }
.hero-action { display: inline-flex; align-items: center; gap: 10px; margin-top: 23px; padding: 9px 14px; border: 1px solid rgba(198,167,106,.65); border-radius: 4px; color: #ead9b7; font-size: 12px; transition: background .18s ease, transform .18s ease; }
.hero-action:hover { transform: translateY(-1px); background: var(--gold-wash); }
.hero-action svg { width: 15px; height: 15px; }

.home-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: -5px 0 42px; }
.shortcut-card { min-height: 104px; display: flex; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.shortcut-card:hover { transform: translateY(-2px); border-color: rgba(198,167,106,.7); background: var(--surface-raised); }
.shortcut-icon { display: grid; place-items: center; width: 24px; height: 24px; flex: none; color: #ccd4db; }
.shortcut-icon svg { width: 17px; height: 17px; }
.shortcut-copy { min-width: 0; }
.shortcut-title { display: block; color: #e7dfd3; font: 18px/1.25 var(--serif); }
.shortcut-description { display: block; margin-top: 4px; color: #8293a2; font-size: 11px; }
.shortcut-chevron { margin-left: auto; color: var(--gold); font-size: 18px; }

.section-heading { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; }
.section-heading h2 { margin: 0; color: #e3e8ed; font: 22px/1.3 var(--sans); font-weight: 450; }
.section-heading a { margin-left: auto; color: var(--gold); font-size: 11px; }
.section-heading a:hover { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 4px; }
.category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.category-tile { position: relative; min-height: 172px; display: flex; align-items: end; overflow: hidden; padding: 18px; border: 1px solid #263747; border-radius: 4px; background: radial-gradient(ellipse at 75% 16%, rgba(137,99,50,.18), transparent 37%), linear-gradient(145deg,#1d2b38,#101a24); transition: border-color .18s ease, transform .18s ease, filter .18s ease; }
.category-tile:nth-child(4n+2) { background: radial-gradient(ellipse at 66% 20%, rgba(125,92,143,.16), transparent 40%), linear-gradient(145deg,#1a2637,#101923); }
.category-tile:nth-child(4n+3) { background: radial-gradient(ellipse at 80% 26%, rgba(66,105,119,.19), transparent 41%), linear-gradient(145deg,#182a36,#0e1822); }
.category-tile:nth-child(4n+4) { background: radial-gradient(ellipse at 75% 28%, rgba(153,104,60,.17), transparent 40%), linear-gradient(145deg,#30271e,#151a20); }
.category-tile.tile-characters { background-image: linear-gradient(180deg,rgba(8,14,20,.02) 8%,rgba(8,14,20,.32) 52%,rgba(8,14,20,.85) 100%),url("/assets/images/home-characters-cover-900.png"); background-position:center; background-size:cover; }
.category-tile.tile-realms { background-image: linear-gradient(180deg,rgba(8,14,20,.02) 8%,rgba(8,14,20,.3) 52%,rgba(8,14,20,.85) 100%),url("/assets/images/home-realms-cover-900.png"); background-position:center; background-size:cover; }
.category-tile.tile-panorama { background-image: linear-gradient(180deg,rgba(8,14,20,.05) 8%,rgba(8,14,20,.32) 52%,rgba(8,14,20,.88) 100%),url("/assets/images/home-panorama-1440.png"); background-position:right center; background-size:cover; }
.category-tile.tile-events { background-image: linear-gradient(180deg,rgba(8,14,20,.02) 8%,rgba(8,14,20,.3) 52%,rgba(8,14,20,.85) 100%),url("/assets/images/home-events-cover-900.png"); background-position:center; background-size:cover; }
.category-tile:before { content: ""; position: absolute; inset: 0; opacity: .8; background: linear-gradient(180deg, transparent 10%, rgba(8,14,20,.24) 53%, rgba(8,14,20,.9) 100%), repeating-linear-gradient(135deg, transparent 0 42px, rgba(220,195,150,.035) 43px, transparent 44px 86px); transition: opacity .2s ease; }
.category-tile:hover { transform: translateY(-2px); border-color: rgba(198,167,106,.72); filter: brightness(1.08); }
.category-tile:hover:before { opacity: 1; }
.tile-content { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; color: #e8e3d9; font: 15px var(--serif); }
.tile-content .category-symbol { color: var(--gold-bright); }
.tile-content .tile-arrow { margin-left: 5px; color: #b9a576; font: 12px var(--sans); }

.category-banner { position: relative; min-height: 142px; display: flex; align-items: center; overflow: hidden; margin: -1px calc(clamp(24px, 3vw, 54px) * -1) 0; padding: 24px clamp(26px, 3vw, 38px); background: linear-gradient(90deg,rgba(10,17,25,.96),rgba(10,17,25,.76) 62%,rgba(10,17,25,.38)),url("/assets/images/home-banner-cover-1800.png") right center/auto 100% no-repeat,linear-gradient(125deg,#132130,#0b121b); border-bottom: 1px solid rgba(198,167,106,.12); }
.category-banner:after { content: none; }
.category-banner .content-wrap { position: relative; z-index: 1; width: 100%; padding-top: 0; padding-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 8px; color: #8999a8; font-size: 11px; }
.breadcrumbs a:hover { color: var(--gold-bright); }
.breadcrumbs .crumb-separator { color: #647281; }
.category-banner h1 { position: relative; z-index: 1; margin: 0; font: 400 clamp(30px, 4vw, 44px)/1.16 var(--serif); color: #e8e1d5; }
.category-description { position: relative; z-index: 1; margin: 4px 0 0; color: #a7b2bb; font-size: 12px; }
.page-body { padding-top: 23px; }
.topic-list { width: min(100%, 1320px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.topic-card { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #101923; transition: border-color .18s ease, box-shadow .18s ease; }
.topic-card[open], .topic-card:hover { border-color: rgba(198,167,106,.76); }
.topic-card[open] { box-shadow: 0 0 0 1px rgba(198,167,106,.08); }
.topic-card summary { min-height: 94px; display: flex; align-items: center; gap: 14px; padding: 17px 20px; list-style: none; cursor: pointer; }
.topic-card summary::-webkit-details-marker { display: none; }
.topic-card summary:focus-visible { outline-offset: -4px; }
.topic-mark { width: 3px; height: 24px; flex: none; border-radius: 2px; background: var(--gold); box-shadow: 0 0 14px rgba(198,167,106,.22); }
.topic-title { color: #e8e0d4; font: 22px/1.2 var(--serif); }
.topic-count { margin-left: auto; color: var(--quiet); font-size: 11px; }
.topic-chevron { color: #b79e69; font-size: 13px; transition: transform .18s ease; }
.topic-card[open] .topic-chevron { transform: rotate(180deg); }
.topic-contents { border-top: 1px solid rgba(170,190,211,.1); }
.topic-link { min-height: 40px; display: flex; align-items: center; gap: 12px; padding: 7px 21px 7px 75px; color: #bac5ce; font-size: 12px; transition: background .16s ease, color .16s ease; }
.topic-link + .topic-link { border-top: 1px solid rgba(170,190,211,.07); }
.topic-link:hover { background: #172432; color: #eddfc3; }
.topic-link span:last-child { margin-left: auto; color: #9c895e; }
.empty-category { max-width: 860px; padding: 23px 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--muted); font-size: 13px; }
.empty-category strong { display: block; margin-bottom: 5px; color: #d7dfe5; font: 18px var(--serif); }

.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 272px; gap: clamp(26px,4vw,62px); align-items: start; padding-top: 25px; }
.article-main { min-width: 0; max-width: 920px; }
.article-category { color: var(--gold); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.article-main h1 { margin: 5px 0 10px; color: #eee5d6; font: 400 clamp(36px, 4vw, 50px)/1.13 var(--serif); }
.article-intro { max-width: 74ch; color: #b4c0ca; font: 19px/1.65 var(--serif); }
.article-main p { max-width: 74ch; color: #c4cdd4; font-size: 15px; line-height: 1.85; }
.article-main h2 { margin: 30px 0 7px; padding-top: 6px; color: #e2d6c3; font: 26px/1.25 var(--serif); scroll-margin-top: 80px; }
.article-note { margin: 25px 0 0; padding: 13px 15px; border-left: 2px solid var(--gold); background: rgba(198,167,106,.06); color: #8292a0; font-size: 12px; font-style: italic; }
.article-aside { position: sticky; top: calc(var(--topbar-height) + 22px); display: grid; gap: 14px; }
.aside-card { padding: 18px; border: 1px solid var(--line); border-radius: 4px; background: #121c27; }
.aside-card h2 { margin: 0 0 12px; color: #e5d9c5; font: 20px/1.25 var(--serif); }
.details-list { margin: 0; }
.details-list dt { margin-top: 11px; color: var(--gold); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.details-list dt:first-child { margin-top: 0; }
.details-list dd { margin: 2px 0 0; color: #c4ccd2; font-size: 12px; }
.details-list dd a { color: #d9c396; text-decoration: underline; text-underline-offset: 3px; }
.contents-list, .related-list { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.contents-list a, .related-list a { display: block; padding: 4px 0; color: #9baab6; font-size: 12px; }
.contents-list a:hover, .related-list a:hover { color: var(--gold-bright); }
.related-section { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.related-section h2 { margin: 0 0 12px; color: #e0d5c3; font: 24px var(--serif); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 12px; }
.related-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); transition: .18s ease; }
.related-card:hover { border-color: rgba(198,167,106,.65); background: var(--surface-raised); }
.related-card span { display: block; color: var(--gold); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.related-card strong { display: block; margin-top: 4px; color: #e2d9ca; font: 17px var(--serif); }
.related-card small { display: block; margin-top: 3px; color: #91a0ad; font-size: 11px; }

.search-results { position: absolute; z-index: 60; top: calc(100% + 7px); left: 0; width: min(440px,calc(100vw - 24px)); max-height: min(65vh,480px); overflow: auto; padding: 6px; border: 1px solid #364454; border-radius: 5px; background: #111b26; box-shadow: 0 18px 54px rgba(0,0,0,.5); }
.search-result-heading { padding: 7px 9px 6px; color: #8393a1; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.search-result { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 3px; color: #d8dfe4; }
.search-result:hover, .search-result[aria-selected="true"] { background: #1c2a38; }
.result-symbol { color: var(--gold); text-align: center; }
.result-symbol .category-symbol { width: 22px; height: 22px; }
.result-symbol .category-symbol svg { width: 16px; height: 16px; }
.result-title { font: 15px var(--serif); }
.result-type { color: #8393a1; font-size: 10px; }
.search-empty { padding: 14px 10px; color: #9ba8b2; font-size: 12px; }
.loading-state, .not-found { min-height: 48vh; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; color: var(--muted); }
.loading-mark { color: var(--gold); font-size: 25px; animation: breathe 1.5s ease-in-out infinite; }
.not-found h1 { margin: 0; font: 32px var(--serif); color: #e4dacb; }
.not-found a { margin-top: 5px; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.site-footer { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-left: var(--sidebar-width); padding: 7px clamp(24px,3vw,54px); border-top: 1px solid rgba(170,190,211,.08); color: #6e7c89; font-size: 10px; }
.sidebar-scrim { display: none; }

@keyframes breathe { 0%,100%{opacity:.5;transform:scale(.95)}50%{opacity:1;transform:scale(1.04)} }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 1100px) {
  :root { --sidebar-width: 208px; }
  .content-wrap { padding-right: 26px; padding-left: 26px; }
  .hero, .category-banner { margin-right: -26px; margin-left: -26px; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: minmax(0,1fr) 240px; gap: 26px; }
  .home-shortcuts { gap: 12px; }
}
@media (max-width: 760px) {
  :root { --sidebar-width: 0px; --topbar-height: 56px; }
  .topbar { left: 0; gap: 10px; padding: 0 13px; }
  .mobile-menu { width: 32px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #d1d8de; }
  .mobile-menu:hover { border-color: var(--line); background: var(--surface); }
  .mobile-menu svg { width: 18px; height: 18px; }
  .mobile-brand { display: flex; align-items: center; gap: 4px; color: #e8d9b8; font: 600 11px var(--serif); letter-spacing: .13em; white-space: nowrap; }
  .mobile-brand .brand-star { font-size: 17px; }
  .search-wrap { width: auto; min-width: 0; max-width: 340px; flex: 1; height: 34px; padding: 0 8px; }
  .search-wrap input { font-size: 12px; }
  .search-wrap kbd, .topbar-caption { display: none; }
  .sidebar { z-index: 50; width: min(290px,86vw); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 12px 0 38px rgba(0,0,0,.24); }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar-scrim:not([hidden]) { position: fixed; z-index: 40; inset: 0; display: block; border: 0; background: rgba(0,0,0,.56); }
  .app-shell { padding-left: 0; }
  .content-wrap { padding: 22px 17px 40px; }
  .hero { min-height: 310px; margin: -1px -17px 0; padding: 38px 20px; }
  .hero:after { right: 2%; font-size: 120px; }
  .hero h1 { font-size: clamp(39px,12vw,58px); }
  .hero-copy p { max-width: 87%; font-size: 13px; }
  .home-shortcuts { grid-template-columns: 1fr; gap: 8px; margin: 0 0 32px; }
  .shortcut-card { min-height: 78px; padding: 14px 16px; }
  .shortcut-title { font-size: 17px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .category-tile { min-height: 124px; padding: 12px; }
  .tile-content { font-size: 13px; }
  .section-heading h2 { font-size: 19px; }
  .category-banner { min-height: 128px; margin-right: -17px; margin-left: -17px; padding: 22px 17px; }
  .category-banner .content-wrap { padding: 0; }
  .category-banner:after { right: 0; font-size: 93px; }
  .category-banner h1 { font-size: 33px; }
  .page-body { padding-top: 17px; }
  .topic-list { gap: 11px; }
  .topic-card summary { min-height: 77px; padding: 14px; }
  .topic-title { font-size: 20px; }
  .topic-link { padding-left: 46px; }
  .article-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 20px; }
  .article-aside { position: static; grid-row: 2; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); }
  .article-main { grid-row: 1; }
  .article-main h1 { font-size: 39px; }
  .article-intro { font-size: 17px; }
  .site-footer { margin-left: 0; padding: 8px 17px; }
}
@media (max-width: 560px) {
  .topic-list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .mobile-brand { font-size: 9px; letter-spacing: .08em; }
  .mobile-menu { width: 28px; }
  .search-wrap { gap: 6px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-tile { min-height: 104px; }
  .hero-copy p { max-width: 100%; }
  .section-heading { gap: 8px; }
  .section-heading h2 { font-size: 17px; }
}
