@font-face {
  font-family: Cinzel;
  src: url("assets/fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url("assets/fonts/lato-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url("assets/fonts/lato-bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --header-height: 76px;
  --heading: Cinzel, Georgia, serif;
  --body: Lato, Arial, sans-serif;
  --surface: #101822;
  --separator: #293644;
  --soft-gold: #efd0a0;
  --display: clamp(2.55rem, 5.35vw, 4.75rem);
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 18px); -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 1rem/1.65 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--azure); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--azure); }
.container { width: min(100%, 1560px); margin-inline: auto; padding-inline: max(var(--gutter),env(safe-area-inset-left)) max(var(--gutter),env(safe-area-inset-right)); }
.page { overflow-wrap: anywhere; padding-bottom: clamp(56px,7.5vw,100px); min-height: 62vh; }
.page:focus { outline: 0; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 12px; padding: 10px 18px; color: var(--ink); background: var(--gold); }
.skip-link:not(:focus), .sr-only { clip-path: inset(50%); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 5; background: #0b1018; border-bottom: 1px solid var(--separator); padding-top: env(safe-area-inset-top); }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-height); gap: 24px; }
.brand { display: block; width: 173px; max-width: 100%; justify-self: start; }
.brand img { height: auto; }
#nav { display: flex; align-items: stretch; align-self: stretch; gap: clamp(18px,3.3vw,54px); }
#nav a { position: relative; display: grid; place-items: center; color: var(--muted); font-size: .9rem; font-weight: 700; }
#nav a[aria-current] { color: var(--ivory); }
#nav a::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform var(--motion-fast) var(--ease-out); }
#nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.search-trigger, .icon-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; min-width: 44px; gap: 10px; padding: 0 12px; border: 1px solid var(--separator); border-radius: 7px; background: var(--surface); font-size: .85rem; font-weight: 700; transition: transform var(--motion-fast) var(--ease-out); }
.search-trigger kbd { margin-left: 5px; padding: 1px 6px; background: #0b1018; border: 1px solid var(--separator); border-radius: 4px; color: var(--muted); font: .71rem/1.6 var(--body); white-space: nowrap; }
.menu-button { display: none; }
.icon { position: relative; display: inline-block; flex: none; width: 15px; height: 15px; pointer-events: none; }
.icon-search::before { position: absolute; width: 9px; height: 9px; border: 1.5px solid currentColor; border-radius: 50%; top: 0; left: 0; content: ""; }
.icon-search::after { position: absolute; top: 11px; left: 9px; width: 6px; height: 1.5px; background: currentColor; transform: rotate(45deg); border-radius: 1px; content: ""; }
.icon-menu { height: 10px; border-block: 1.5px solid currentColor; }
.icon-close::before, .icon-close::after { position: absolute; inset: 7px auto auto -1px; width: 17px; height: 1.5px; background: currentColor; transform: rotate(45deg); content: ""; }
.icon-close::after { transform: rotate(-45deg); }

.page-heading { padding-block: clamp(35px,5vw,78px) clamp(25px,3.3vw,46px); }
.page-heading h1, .article-heading h1 { font-size: var(--display); line-height: .99; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; }
.page-heading h1 em { color: var(--soft-gold); font-style: normal; }
.page-heading p { color: var(--muted); font-size: clamp(1rem,1.45vw,1.13rem); margin-top: 16px; }
.home-heading { padding-block: clamp(32px,4vw,60px) clamp(21px,2.7vw,36px); display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.home-heading .journal-date { border-left: 1px solid var(--line); padding: 4px 0 4px 13px; margin-bottom: 4px; color: var(--muted); font-size: .77rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
[data-enter] { animation: enter 450ms var(--ease-out) both; }
.lead-story[data-enter] { animation-delay: 55ms; }
@keyframes enter { from { opacity: .42; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.lead-story, .lead-link { min-width: 0; }
.lead-link { display: grid; position: relative; isolation: isolate; align-content: center; overflow: clip; min-height: clamp(309px,27vw,380px); border-radius: 10px; border: 1px solid #7b776450; background: var(--surface); }
.lead-visual { position: absolute; z-index: -2; inset: 0 0 0 35%; }
.lead-visual picture { display: block; height: 100%; }
.lead-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; transition: transform 380ms var(--ease-out); }
.lead-link::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg,#111a25 29%,#111a25f5 35%,#111a25bd 46%,#080b1220 72%),linear-gradient(0deg,#080b1255,transparent 64%); }
.lead-copy { max-width: 720px; padding: clamp(22px,3.55vw,50px); }
.feature-label { display: flex; align-items: center; gap: 9px; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
.diamond { flex: none; width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; }
.lead-copy h2 { font-size: clamp(2.15rem,3.65vw,3.45rem); line-height: 1.07; letter-spacing: -.048em; margin-block: 10px 12px; max-width: 18ch; text-wrap: balance; }
.lead-summary { max-width: 48ch; color: #ccd6e2; font-size: clamp(.98rem,1.22vw,1.1rem); line-height: 1.55; }
.lead-read { display: inline-flex; align-items: center; gap: 11px; margin-top: 19px; color: var(--soft-gold); font-size: .9rem; font-weight: 700; }
.chevron { display: inline-block; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }

[data-edition="wow-forever"] { --edition-accent: var(--gold); }
[data-edition="world-of-warcraft"] { --edition-accent: var(--azure); }
.home-edition-shortcuts { display: none; }
.feature-label[data-edition] { color: var(--edition-accent); overflow-wrap: anywhere; flex-wrap: wrap; }
.edition-feeds { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: clamp(18px,2.4vw,32px); }
.edition-feed { min-width: 0; border: 1px solid var(--separator); border-top: 2px solid var(--edition-accent); border-radius: 9px; padding: clamp(12px,2.2vw,24px); background: var(--surface); }
.edition-feed .story-meta strong, .edition-page .story-meta strong, .edition-page .page-heading h1, .edition-feed h2 { color: var(--edition-accent); }
.edition-feed .text-link { flex: none; color: var(--edition-accent); }
.edition-feed .text-link:hover { color: var(--ivory); }
.brief-head { display: flex; gap: 8px 18px; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--separator); }
.brief-head h2, .related h2 { font-size: clamp(1.45rem,2.2vw,1.9rem); line-height: 1.2; letter-spacing: -.034em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; width: fit-content; color: var(--soft-gold); font-size: .88rem; line-height: 1.3; font-weight: 700; text-decoration: underline; text-decoration-color: #e8bb737d; text-underline-offset: 4px; }
.edition-feed ul, .related ul { margin: 0; padding: 0; list-style: none; }
.edition-feed li + li, .related li + li { border-top: 1px solid var(--separator); }
.brief-link { display: grid; grid-template-columns: minmax(56px, min(20%,64px)) minmax(0,1fr); gap: 13px; align-items: center; padding-block: 12px; min-height: 81px; }
.brief-image { aspect-ratio: 1; background: var(--slate); border-radius: 5px; overflow: hidden; }
.brief-image img, .story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms var(--ease-out); }
.brief-copy h3 { font-size: clamp(1.15rem,1.65vw,1.45rem); line-height: 1.14; letter-spacing: -.022em; overflow-wrap: anywhere; margin-top: 6px; }
.story-meta { display: flex; gap: 7px; flex-wrap: wrap; align-items: baseline; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.story-meta strong { color: var(--gold); font-size: .74rem; }


.news-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: clamp(22px,3.25vw,46px) clamp(14px,2vw,28px); }
.story-card { min-width: 0; min-height: 100%; }
.story-link { display: grid; height: 100%; align-content: start; border-bottom: 1px solid var(--separator); padding-bottom: 18px; transition: transform var(--motion-fast) var(--ease-out); }
.story-image { aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--separator); border-radius: 8px; background: var(--surface); }
.story-copy { padding-top: 14px; }
.story-copy h2 { font-size: clamp(1.55rem,2.3vw,2.04rem); line-height: 1.12; letter-spacing: -.036em; margin-top: 7px; overflow-wrap: anywhere; }
.story-copy > p:last-child { color: var(--muted); margin-top: 7px; line-height: 1.55; }




.contact-panel h2 { font-size: clamp(1.45rem,2.5vw,2.2rem); line-height: 1.15; letter-spacing: -.035em; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); gap: clamp(15px,2.25vw,30px); }
.contact-panel { min-width: 0; border: 1px solid var(--separator); border-radius: 10px; background: var(--surface); padding: clamp(20px,3.4vw,45px); }
.contact-seal { margin-bottom: 16px; }
.contact-email { display: inline; line-height: 2; font-size: clamp(1rem,1.6vw,1.15rem); overflow-wrap: anywhere; }
.contact-panel p { margin-block: 8px 16px; color: var(--muted); }
.social-links { list-style: none; margin: 18px 0 0; padding: 0; }
.social-links .chevron { color: var(--soft-gold); }
.social-links li + li { border-top: 1px solid var(--separator); }
.social-links a { display: flex; align-items: center; justify-content: space-between; min-height: 51px; gap: 16px; color: var(--ivory); font-weight: 700; }

.article { max-width: 1120px; margin-inline: auto; }
.article-heading { padding-block: clamp(28px,4.5vw,74px) 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--muted); font-size: .84rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft-gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-heading h1 { max-width: 21ch; }
.article-deck { max-width: 55ch; margin-top: 17px; font-size: clamp(1.05rem,1.7vw,1.3rem); color: #cbd5e0; line-height: 1.52; }
.article-date { margin-top: 14px; color: var(--muted); font-size: .85rem; }
.player-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--separator); border-left: 3px solid var(--edition-accent,var(--gold)); border-radius: 8px; background: var(--surface); margin-bottom: clamp(21px,3vw,34px); overflow: hidden; }
.player-summary > div { padding: clamp(16px,2.2vw,27px); }
.player-summary > div + div { border-left: 1px solid var(--separator); }
.player-summary h2 { color: var(--edition-accent,var(--gold)); font-family: var(--body); font-weight: 700; font-size: 1rem; }
.player-summary p { color: #d5dde7; margin-top: 6px; line-height: 1.55; }
.player-summary .text-link { grid-column: 1 / -1; width: 100%; padding-inline: clamp(16px,2.2vw,27px); border-top: 1px solid var(--separator); }
.article-art { aspect-ratio: 2.75; overflow: hidden; border: 1px solid var(--separator); border-radius: 9px; background: var(--surface); }
.article-art img { width: 100%; height: 100%; object-fit: cover; }
.article-columns { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(230px,1fr); gap: clamp(30px,5vw,76px); margin-top: clamp(28px,4vw,52px); }
.article-body { max-width: 67ch; }
.article-body p { font-size: clamp(1.08rem,1.6vw,1.19rem); line-height: 1.72; color: #e0e4eb; }
.article-body p + p { margin-top: 1em; }
.related { border-top: 1px solid var(--separator); padding-top: 14px; }
.related .brief-link { grid-template-columns: 61px minmax(0,1fr); padding-block: 12px; }
.related .brief-copy h3 { font-size: 1.14rem; }

footer { background: #0a0e15; border-top: 1px solid var(--separator); padding-block: 24px max(24px,env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 142px 1fr auto; align-items: center; gap: clamp(15px,4vw,56px); }
.footer-note { color: var(--muted); font-size: .81rem; }
.footer-note p + p { margin-top: 4px; }
footer .text-link { white-space: nowrap; }

.search-dialog { color: var(--ivory); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; width: min(568px,calc(100% - 28px)); max-height: min(72dvh,640px); margin: min(13dvh,105px) auto auto; padding: clamp(15px,3vw,24px); overflow-y: auto; overscroll-behavior: contain; }
.search-dialog::backdrop { background: #05080bda; }
.search-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.search-header h2 { font-size: clamp(1.45rem,5vw,1.95rem); line-height: 1.15; letter-spacing: -.02em; }
.search-field { display: flex; align-items: center; gap: 13px; padding: 0 13px; margin-top: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--ink); color: var(--muted); }
.search-field:focus-within { outline: 2px solid var(--azure); outline-offset: 2px; }
.search-field input { background: transparent; border: 0; color: var(--ivory); width: 100%; min-width: 0; min-height: 50px; font-size: 1rem; outline: none; }
.search-status { margin-top: 12px; color: var(--muted); font-size: .82rem; }
.search-results { overflow-wrap: anywhere; list-style: none; margin: 2px 0 0; padding: 0; }
.search-results a { display: grid; align-content: center; min-height: 56px; border-bottom: 1px solid var(--separator); padding: 7px 4px; font-size: .95rem; }
.search-results a span { color: var(--gold); font-size: .74rem; }

.search-trigger:active, .icon-button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  #nav a:hover, .text-link:hover { color: var(--ivory); }
  #nav a:hover::after { transform: scaleX(1); }
  .search-trigger:hover, .icon-button:hover { border-color: var(--gold); }
  .lead-link:hover img, .story-link:hover img, .brief-link:hover img { transform: scale(1.03); }
  .brief-link:hover h3, .story-link:hover h2, .search-results a:hover { color: var(--soft-gold); }
  .story-link:hover { transform: translateY(-2px); }
  .social-links a:hover { color: var(--soft-gold); }
}

@media (max-width: 1000px) {
  .lead-copy { max-width: 64%; }
}
@media (max-width: 850px) {
  :root { --header-height: 64px; --display: clamp(2.35rem,8.1vw,4.15rem); }
  .masthead { gap: 10px; grid-template-columns: 1fr auto; }
  .brand { width: 156px; }
  .search-label, .search-trigger kbd { display: none; }
  .menu-button { display: inline-flex; }
  #nav { display: none; position: absolute; inset: 100% 0 auto; z-index: 1; padding: 6px var(--gutter) 12px; background: var(--ink); border-bottom: 1px solid var(--separator); }
  #nav[data-open] { display: grid; gap: 1px; }
  #nav a { justify-content: start; min-height: 44px; }
  #nav a::after { right: auto; width: 20px; }
  #nav a[aria-current] { color: var(--soft-gold); }
  .home-heading .journal-date { display: none; }
  .brief-link { grid-template-columns: 66px minmax(0,1fr); }
  .article-art { aspect-ratio: 1.95; }
  .article-columns { grid-template-columns: 1fr; }
  .article-heading h1 { max-width: 22ch; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-note { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 620px) {
  .home-edition-shortcuts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 14px; }
  .home-edition-shortcuts a { display: grid; place-items: center; min-height: 44px; padding: 5px; color: var(--edition-accent); border: 1px solid var(--separator); border-radius: 6px; background: var(--surface); font-size: .9rem; font-weight: 700; text-align: center; }
  .contact-grid, .edition-feeds, .player-summary { grid-template-columns: minmax(0,1fr); }
  .lead-visual { inset: 0; }
  .lead-link { min-height: 365px; align-content: end; }
  .lead-link::after { background: linear-gradient(0deg,#080b12 0%,#080b12ed 28%,#080b1260 69%,#080b1210 100%); }
  .lead-copy { max-width: 100%; }
  .lead-copy h2 { font-size: clamp(2rem,7.8vw,3rem); }
  .player-summary > div + div { border-left: 0; border-top: 1px solid var(--separator); }
}
@media (max-width: 520px) {
  .home-heading h1 { text-wrap: wrap; }
  .page-heading p { margin-top: 11px; }
  .lead-visual img { object-position: center 40%; }
  .lead-copy { padding-inline: 17px; }
  .lead-copy h2 { text-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.front-page { display: grid; min-width: 0; gap: clamp(12px, 1.7vw, 24px); }
.front-page.has-dispatches { grid-template-columns: minmax(0, 1fr) minmax(270px, .43fr); }
.front-page .lead-link { height: 100%; min-height: clamp(345px, 34vw, 470px); }
.front-page .lead-copy { max-width: min(74%, 39rem); }
.dispatches { min-width: 0; border: 1px solid var(--separator); border-radius: 10px; background: var(--surface); padding: clamp(12px, 1.55vw, 22px); }
.dispatches h2, .home-section-title {
  font-size: clamp(1.5rem, 2.35vw, 2.22rem); letter-spacing: -.04em; line-height: 1.18; text-wrap: balance;
}
.dispatches h2 { border-bottom: 1px solid var(--separator); padding-bottom: 10px; }
.dispatches ul { margin: 0; padding: 0; list-style: none; }
.dispatches li + li { border-top: 1px solid var(--separator); }
.dispatches .brief-link { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
.dispatches .brief-copy h3 { font-size: clamp(1rem, 1.4vw, 1.28rem); }
.home-section { margin-top: clamp(28px, 4.9vw, 69px); }
.home-section-title { margin-bottom: clamp(11px, 1.55vw, 22px); }
.home-section .edition-feeds { margin-top: 0; }
.edition-feed .brief-head h3 { color: var(--edition-accent); font-size: clamp(1.36rem, 2.06vw, 1.85rem); line-height: 1.22; }
.briefing-grid, .edition-trails { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.7vw, 24px); }
.briefing-card {
  padding: clamp(14px, 2.2vw, 29px); min-width: 0; background: var(--surface);
  border: 1px solid var(--separator); border-left: 2px solid var(--edition-accent, var(--gold)); border-radius: 8px;
}
.briefing-card .story-meta strong { color: var(--edition-accent, var(--gold)); }
.briefing-card h3 { margin-top: 5px; font-size: clamp(1.27rem, 2.25vw, 1.95rem); line-height: 1.17; letter-spacing: -.03em; }
.briefing-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.briefing-card dl { display: grid; gap: 10px; margin: 15px 0 0; }
.briefing-card dt { color: var(--ivory); font-weight: 700; font-size: .9rem; }
.briefing-card dd { margin: 2px 0 0; color: var(--muted); line-height: 1.46; }
.edition-trail {
  position: relative; isolation: isolate; min-height: 228px; display: grid; align-items: end; border-radius: 9px;
  overflow: clip; border: 1px solid var(--separator); background: var(--surface);
}
.edition-trail-art, .edition-trail::after { position: absolute; inset: 0; z-index: -2; }
.edition-trail-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms var(--ease-out); }
.edition-trail::after { content: ''; z-index: -1; background: linear-gradient(0deg,#0a111af7 0%,#0a111aee 33%,#0a111a85 77%,#0a111a38 100%); }
.edition-trail-copy { padding: clamp(14px, 2.7vw, 34px); }
.edition-trail h3 { color: var(--edition-accent, var(--gold)); font-size: clamp(1.46rem, 2.45vw, 2.25rem); line-height: 1.16; }
.edition-trail p { max-width: 42ch; margin: 6px 0 12px; color: #d4deed; line-height: 1.46; }
.edition-trail-link { display: inline-flex; align-items: center; gap: 9px; color: var(--edition-accent, var(--gold)); font-size: .87rem; font-weight: 700; }
.home-social { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); align-items: end; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--separator); }
.home-social .home-section-title { margin: 0 0 5px; }
.home-social p { color: var(--muted); }
.home-social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; list-style: none; }
.home-social-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 8px 11px; border: 1px solid var(--separator); border-radius: 6px; background: var(--surface); font-weight: 700; }
.home-social-links span { color: var(--soft-gold); }
@media (hover: hover) {
  .edition-trail:hover img, .dispatches .brief-link:hover img { transform: scale(1.035); }
  .home-social-links a:hover { border-color: var(--line); color: var(--soft-gold); }
}
@media (max-width: 1000px) {
  .front-page.has-dispatches { grid-template-columns: minmax(0, 1fr); }
  .dispatches ul { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
  .dispatches li + li { border-top: 0; }
}
@media (max-width: 620px) {
  .front-page .lead-copy { max-width: 100%; }
  .dispatches ul, .briefing-grid, .edition-trails, .home-social { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dispatches li + li { border-top: 1px solid var(--separator); }
  .briefing-grid, .edition-trails, .home-social { gap: 10px; }
}

.footer-controls { display: grid; align-items: start; gap: 0 12px; }
.analytics-settings { background: none; border: 0; padding: 0; text-align: left; }
.analytics-consent {
  position: fixed; left: 50%; bottom: max(13px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 8; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 9px 17px; width: min(calc(100% - 22px), 710px); padding: 13px 15px; border: 1px solid var(--line);
  background: #101a26; border-radius: 8px; box-shadow: 0 16px 37px #0008; overflow-wrap: anywhere;
}
.analytics-consent h2 { color: var(--ivory); font: 700 .95rem/1.22 var(--body); }
.analytics-consent p { color: #bccbdb; font: .84rem/1.4 var(--body); margin-top: 4px; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.analytics-actions button {
  min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: #172437;
  color: var(--ivory); font: 700 .83rem/1.2 var(--body); transition: transform var(--motion-fast) var(--ease-out);
}
.analytics-actions button:last-child { background: var(--gold); color: #171514; border-color: var(--gold); }
.analytics-actions button:active { transform: scale(.98); }

.nav-edition { position: relative; display: flex; align-items: center; min-width: 0; }
.nav-guide-links {
  position: absolute; z-index: 5; top: calc(100% + 5px); left: 0; width: 224px; padding: 6px;
  background: #111b28; border: 1px solid var(--separator); border-radius: 6px; box-shadow: 0 13px 26px #0005;
}
#nav .nav-guide-links a { display: flex; justify-content: start; min-height: 44px; padding: 7px 10px; }
#nav .nav-guide-links a::after { display: none; }
#nav .nav-guide-links a:hover { color: var(--soft-gold); background: var(--surface); }
.edition-resource-links,.guide-nav {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 clamp(23px,3vw,44px);
  padding: 7px; background: var(--surface); border: 1px solid var(--separator); border-radius: 7px;
}
.edition-resource-links a,.guide-nav a { min-height: 42px; display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 5px; color: var(--muted); font-size: .86rem; font-weight: 700; }
.edition-resource-links a:first-child,.guide-nav a[aria-current] { background: #e8bb731b; color: var(--soft-gold); }
.edition-resource-links a:hover,.guide-nav a:hover { color: var(--soft-gold); }

.guide-banner { position: relative; isolation: isolate; margin: clamp(14px,2vw,38px) 0 12px; min-height: clamp(205px,28vw,348px); display: grid; align-items: end; border: 1px solid var(--separator); border-radius: 9px; overflow: clip; background: var(--surface); }
.guide-banner-art,.guide-banner::after { position: absolute; inset: 0; z-index: -2; }
.guide-banner-art img { width: 100%; height: 100%; object-fit: cover; }
.guide-banner::after { content: ''; z-index: -1; background: linear-gradient(90deg,#101a25 3%,#101a25ee 30%,#101a2595 64%,#101a2555 92%),linear-gradient(0deg,#0a111ccb,transparent 72%); }
.guide-banner-copy { padding: clamp(16px,4vw,49px); max-width: 880px; }
.guide-kicker { display: inline-block; padding-block: 7px; color: var(--edition-accent,var(--gold)); font-size: .9rem; font-weight: 700; }
.guide-banner h1,.guide-article-header h1 { font-size: clamp(2.1rem,5vw,4.65rem); line-height: 1.05; letter-spacing: -.045em; }
.guide-banner p,.guide-article-header > p:last-child { color: #cbd9e7; margin-top: 8px; max-width: 62ch; }
.guide-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.guide-category { display: flex; flex-direction: column; gap: 7px; min-width: 0; min-height: 165px; padding: clamp(14px,2.3vw,28px); background: var(--surface); border: 1px solid var(--separator); border-top: 2px solid var(--edition-accent,var(--gold)); border-radius: 7px; }
.guide-category h2,.guide-directory h2 { font-size: clamp(1.32rem,2.1vw,1.85rem); line-height: 1.15; }
.guide-category p,.guide-count,.guide-list p { color: var(--muted); line-height: 1.45; }
.guide-category > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; color: var(--edition-accent,var(--gold)); font-size: .84rem; font-weight: 700; }
.guide-category:hover { background: #172433; }
.guide-directory { max-width: 1100px; margin-inline: auto; }
.guide-directory-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 18px; }
.guide-search input { min-height: 42px; padding: 7px 9px; border: 1px solid var(--separator); border-radius: 5px; color: var(--ivory); background: #111b28; font: 1rem var(--body); color-scheme: dark; }
.guide-search input::placeholder { color: var(--muted); }
.guide-count { margin: 8px 0; font-size: .87rem; }
.guide-list,.guide-sources,.guide-toc ul { margin: 0; padding: 0; list-style: none; }
.guide-list { display: grid; gap: 7px; }
.guide-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--separator); background: var(--surface); border-radius: 6px; }
.guide-list a:hover { border-color: var(--line); }
.guide-list h3 { color: var(--ivory); font-size: clamp(1.15rem,1.75vw,1.48rem); }
.guide-list p { margin-top: 3px; }
.guide-list .chevron { color: var(--soft-gold); }
.guide-article { max-width: 1160px; margin-inline: auto; }
.guide-article-header { padding-block: clamp(18px,4vw,58px) clamp(20px,3vw,41px); }
.guide-article-header h1 { max-width: 25ch; }
.guide-reading { display: grid; grid-template-columns: minmax(160px,.53fr) minmax(0,1.5fr); gap: clamp(13px,4vw,51px); align-items: start; }
.guide-toc { position: sticky; top: calc(var(--header-height) + 18px); padding: 13px; border: 1px solid var(--separator); border-radius: 6px; background: var(--surface); }
.guide-toc h2 { font: 700 .91rem var(--body); color: var(--edition-accent); }
.guide-toc a { display: inline-flex; align-items: center; min-height: 41px; color: #c6d4e3; font-size: .87rem; }
.guide-toc a:hover { color: var(--soft-gold); }
.guide-text section + section { margin-top: 25px; padding-top: 17px; border-top: 1px solid var(--separator); }
.guide-text h2 { margin-bottom: 7px; font-size: clamp(1.35rem,2.7vw,2.05rem); line-height: 1.17; }
.guide-text p { max-width: 69ch; color: #d6dfed; line-height: 1.65; }
.guide-text p + p { margin-top: 9px; }
@media (max-width: 850px) {
  .nav-edition { display: grid; grid-template-columns: 1fr auto; }
  .nav-guide-links { position: static; grid-column: 1/-1; width: auto; margin-left: 9px; box-shadow: none; }
  .guide-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .guide-categories,.guide-reading { grid-template-columns: minmax(0,1fr); }
  .guide-toc { position: static; }
  .guide-category { min-height: 130px; }
  .guide-banner::after { background: linear-gradient(0deg,#101a25 2%,#101a25dd 60%,#101a2555); }
}

/* Illustrated guide navigation */
#nav { gap: clamp(14px,2.5vw,38px); }
#nav a, .guide-nav a, .edition-resource-links a { text-transform: uppercase; letter-spacing: .065em; font-size: .75rem; }
.nav-guide-toggle { display: grid; place-items: center; width: 34px; height: 44px; border: 0; background: transparent; color: var(--muted); border-radius: 6px; }
.nav-guide-toggle .chevron { transform: rotate(135deg); }
.nav-guide-toggle[aria-expanded=true] { color: var(--gold); background: var(--surface); }
.nav-guide-toggle[aria-expanded=true] .chevron { transform: rotate(-45deg); }
.nav-guide-links { width: min(580px, calc(100vw - 36px)); display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; top: 100%; left: 50%; transform: translateX(-37%); padding: 10px; border-radius: 12px; box-shadow: 0 22px 55px #000a; border-color: #435062; }
#nav .nav-guide-feature { padding: 0; overflow: hidden; min-height: 190px; position: relative; isolation: isolate; align-items: end; color: #e3c48a; background: #182436; border-radius: 7px; }
.nav-guide-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.nav-guide-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent,#080e18 94%); }
.nav-guide-feature > span { padding: 13px; }
.nav-guide-feature strong { display: block; font: 700 1.28rem/1.2 var(--heading); color: var(--ivory); }
.nav-guide-grid { display: grid; align-content: stretch; gap: 5px; }
#nav .nav-guide-grid a { justify-content: space-between; padding: 8px 12px; border: 1px solid #ffffff16; background: #172433; border-radius: 6px; }
#nav .nav-guide-grid a:hover { border-color: var(--edition-accent,var(--gold)); color: var(--edition-accent,var(--gold)); }

.guide-roster { margin: 0 0 clamp(25px,4.8vw,60px); }
.guide-roster header { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; margin-bottom: 12px; }
.guide-roster h2 { font-size: clamp(1.6rem,3vw,2.5rem); }
.class-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:14px; list-style:none; margin:0; padding:0; }
.class-card { position:relative; display:grid; align-content:end; isolation:isolate; min-height:246px; overflow:hidden; height:100%; border:1px solid #465163; border-radius:10px; background:#17263a; }
.class-card-art,.class-card::after { position:absolute; inset:0; z-index:-2; }
.class-card-art img { height:100%; width:100%; object-fit:cover; object-position:center 32%; transition:transform 260ms var(--ease-out); }
.class-card::after { content:""; z-index:-1; background:linear-gradient(180deg,#08101b04 25%,#08101bb9 65%,#08101b 99%); }
.class-card-copy { padding:14px; }
.class-card h3 { color:#fff4dc; font-size:clamp(1.35rem,2vw,1.85rem); line-height:1.2; }
.class-card p { font-size:.82rem; color:#e0e7f2; }
.class-card-copy > span { color:var(--soft-gold); display:inline-flex; gap:9px; align-items:center; margin-top:8px; font-size:.79rem; font-weight:700; }
.class-card:hover,.class-card:focus-visible { border-color:var(--gold); }
.class-card:hover img { transform:scale(1.035); }
.guide-category-illustrated { position:relative; isolation:isolate; overflow:hidden; min-height:195px; justify-content:end; }
.guide-category-illustrated img,.guide-category-illustrated::after { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 35%; z-index:-2; }
.guide-category-illustrated::after { content:""; z-index:-1; background:linear-gradient(0deg,#0b1420 2%,#0b1420e8 33%,#0b142033); }
.guide-category-illustrated p { color:#e0e7f2; }
.guide-category-illustrated > span { margin-top:5px; }
.guide-card-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:12px; }
.guide-card-grid a { height:100%; min-height:120px; border-top:2px solid #c0a16a; background:linear-gradient(145deg,#18283b,#101923 80%); align-items:start; }
.guide-card-grid .chevron { margin-top:10px; }
.guide-class-header { position:relative; isolation:isolate; min-height:330px; padding:clamp(18px,4vw,46px); margin-block:28px; display:flex; flex-direction:column; justify-content:end; overflow:hidden; border-radius:12px; border:1px solid var(--separator); background:#142033; }
.guide-class-art { position:absolute; inset:0 0 0 40%; z-index:-2; }
.guide-class-art img { width:100%; height:100%; object-fit:cover; object-position:center 28%; }
.guide-class-header::after { position:absolute; inset:0; content:""; z-index:-1; background:linear-gradient(90deg,#101a29 35%,#101a29d9 52%,#101a2925),linear-gradient(0deg,#101a29,transparent 65%); }
.guide-class-header h1 { text-wrap:balance; }
.guide-text { padding:clamp(13px,3vw,30px); border:1px solid var(--separator); border-radius:9px; background:#101923; }


@media(max-width:850px) {
  #nav { max-height:calc(100dvh - var(--header-height)); overflow-y:auto; }
  #nav .nav-edition { display:flex; justify-content:space-between; }
  .nav-guide-toggle { width:44px; }
  .nav-guide-links { position:fixed; inset:calc(var(--header-height) + 100px) 11px auto; width:auto; max-height:calc(100dvh - var(--header-height) - 113px); overflow-y:auto; transform:none; z-index:8; }
}
@media(max-width:580px) {
  .nav-guide-links { grid-template-columns:1fr; }
  #nav .nav-guide-feature { min-height:86px; }
  .class-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .class-card { min-height:200px; }
  .class-card-copy { padding:9px; }
  .class-card h3 { font-size:1.1rem; }
  .class-card p { font-size:.74rem; }
  .guide-class-art { inset:0; }
  .guide-class-header::after { background:linear-gradient(0deg,#101a29 17%,#101a29bd 50%,#101a2955 92%); }
}
@media(prefers-reduced-motion:reduce) { .class-card-art img { transition:none; } }

@media(min-width:851px) { .nav-edition { position:static; } .nav-guide-links { left:50%; transform:translateX(-50%); } }

.guide-art-credit { margin: 12px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.guide-art-credit a { text-decoration: underline; text-underline-offset: .18em; }
.profession-guide .guide-class-header {
  background: #101a29;
  border: 1px solid var(--separator);
  border-radius: 12px;
}
.profession-checklist {
  margin: 0 0 26px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--separator);
  border-radius: 10px;
  background: linear-gradient(135deg, #1d2936, #101923 64%);
}
.profession-checklist header { display:flex; flex-wrap:wrap; gap:12px; align-items:start; justify-content:space-between; }
.profession-checklist h2, .profession-related h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); }
.profession-checklist header p { margin-top:5px; color:var(--muted); }
.profession-checklist output { color:var(--soft-gold); font-weight:700; font-size:.85rem; }
.profession-checklist ul, .profession-related ul { padding:0; list-style:none; }
.profession-checklist ul { margin:15px 0 8px; }
.profession-checklist li + li { border-top:1px solid var(--separator); }
.profession-checklist label { display:flex; gap:12px; align-items:center; min-height:44px; cursor:pointer; padding-block:8px; }
.profession-checklist input { inline-size:19px; block-size:19px; flex:none; accent-color:var(--gold); }
.profession-checklist input:checked + span { color:var(--muted); text-decoration:line-through; }
.profession-checklist button { min-height:44px; padding:0 9px; border:1px solid var(--separator); border-radius:5px; background:var(--surface); }
.profession-checklist button:disabled { color:var(--muted); cursor:default; }
.profession-related { margin-top:26px; }
.profession-related ul { display:grid; gap:8px; margin-top:12px; }

.class-card p.portrait-race {
  margin: 0 0 3px;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #edce91;
}
.class-portraits { margin-top:27px; }
.class-portraits ul {
  display:grid;
  grid-template-columns: repeat(auto-fill,minmax(min(100%,190px),1fr));
  gap:12px;
  list-style:none;
  margin:12px 0 0;
  padding:0;
}
.class-portraits figure { margin:0; overflow:hidden; border:1px solid var(--separator); border-radius:8px; background:var(--surface); }
.class-portraits img { display:block; width:100%; aspect-ratio:1; object-fit:cover; }
.class-portraits figcaption { padding:10px; color:var(--soft-gold); }

#nav .nav-edition > a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 4px 7px 4px 4px;
  border-radius: 8px;
  color: #dbe1e9;
}
#nav .nav-edition > a::after { display:none; }
.nav-edition-emblem {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 38px;
  border: 1px solid #60523a;
  border-radius: 7px;
  background: radial-gradient(ellipse at 45% 30%,#223d5a,#111b28 80%);
}
.nav-edition-mark { width:36px; height:30px; object-fit:contain; }
#nav .nav-edition > a[aria-current="page"],
#nav .nav-edition:has(.nav-guide-toggle[aria-expanded="true"]) > a,
#nav .nav-edition > a:focus-visible { color:#fae1b4; background:#192638; }
#nav .nav-edition > a[aria-current="page"] .nav-edition-emblem { border-color:var(--gold); }
@media (hover:hover) {
  #nav .nav-edition > a:hover { color:#fae1b4; background:#192638; }
  #nav .nav-edition > a:hover .nav-edition-emblem { border-color:var(--gold); }
}
@media (max-width:850px) {
  #nav[data-open] { gap:4px; }
  #nav .nav-edition > a { flex:1; min-width:0; }
  #nav .nav-edition { gap:4px; }
}

.specialization-directory { margin-top: 28px; }
.specialization-directory h2 { margin-bottom: 12px; }
.guide-article > .guide-nav { margin-bottom: 18px; }

/* Chronicles of Azeroth: portrait artwork and news navigation */
/* Portrait artwork and edition navigation */
:root { --editorial-portrait: 4 / 5; }

.brief-image,
.story-image,
.lead-visual,
.article-art,
.edition-trail-art,
.guide-banner-art,
.guide-class-art,
.guide-category-illustrated img,
.class-card {
  aspect-ratio: var(--editorial-portrait);
}

.news-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.story-image { width: 100%; }

.front-page .lead-link {
  grid-template-columns: minmax(0, 1fr) minmax(134px, 40%);
  grid-template-areas: "copy art";
  align-items: center;
  align-content: center;
  min-height: 0;
}
.lead-link::after,
.edition-trail::after,
.guide-banner::after,
.guide-class-header::after,
.guide-category-illustrated::after { content: none; }
.lead-visual,
.edition-trail-art,
.guide-banner-art,
.guide-class-art {
  grid-area: art;
  position: relative;
  inset: auto;
  z-index: auto;
  align-self: center;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  background: var(--slate);
}
.front-page .lead-copy { grid-area: copy; max-width: none; }
.lead-visual img,
.edition-trail-art img,
.guide-banner-art img,
.guide-class-art img { position: absolute; inset: 0; }

.article-art { width: min(100%, 360px); margin-inline: auto; }
.edition-trail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(94px, 33%);
  grid-template-areas: "copy art";
  align-items: center;
  min-height: 0;
}
.edition-trail-copy { grid-area: copy; }

.guide-banner {
  grid-template-columns: minmax(0, 1fr) clamp(105px, 27%, 228px);
  grid-template-areas: "copy art";
  align-items: center;
  min-height: 0;
}
.guide-banner-copy { grid-area: copy; }

.guide-class-header:has(.guide-class-art) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(105px, 26%, 248px);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". art" "breadcrumb art" "title art" "description art";
  column-gap: clamp(12px, 4vw, 46px);
  min-height: 0;
  padding: 0 0 0 clamp(13px, 4vw, 46px);
}
.guide-class-header:has(.guide-class-art) > .breadcrumb { grid-area: breadcrumb; align-self: end; }
.guide-class-header:has(.guide-class-art) > h1 { grid-area: title; }
.guide-class-header:has(.guide-class-art) > p:last-child { grid-area: description; align-self: start; padding-bottom: 12px; }
.guide-class-art { align-self: start; }

.guide-category-illustrated {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(54px, 31%);
  grid-template-areas: "title art" "description art" "links art";
  align-content: center;
  align-items: center;
  padding: clamp(12px, 1.8vw, 22px);
  min-height: 0;
}
.guide-category-illustrated img {
  grid-area: art;
  position: relative;
  inset: auto;
  z-index: auto;
  height: auto;
  border-radius: 5px;
}
.guide-category-illustrated h2 { grid-area: title; }
.guide-category-illustrated p { grid-area: description; }
.guide-category-illustrated > span { grid-area: links; margin-top: 0; }

.class-card { min-height: 0; height: auto; }
.class-card-art img { object-position: center; }
.class-card-art img,
.guide-class-art img { filter: brightness(1.07) contrast(1.07) saturate(.86); }
.class-card-art img[src*="/class-cards/forever/"],
.guide-class-art img[src*="/class-cards/forever/"] { filter: brightness(1.045) contrast(1.08) saturate(.84); }
.class-card::after {
  background:
    linear-gradient(180deg, transparent 34%, #0b12231a 56%, #0b1223b8 81%, #08101b 100%),
    radial-gradient(ellipse at 52% 38%, transparent 44%, #1017264d 100%);
}
.class-card h3 { overflow-wrap: normal; }
.footer-note .guide-art-credit a { color: var(--soft-gold); text-decoration: underline; text-underline-offset: .15em; }

.nav-guide-links {
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  grid-template-areas: "art links";
  align-items: stretch;
}
#nav .nav-guide-feature { grid-area: art; width: 100%; min-height: 0; overflow-wrap: anywhere; }
.nav-guide-grid { grid-area: links; align-content: start; min-width: 0; }
#nav .nav-guide-grid a.edition-news-link {
  color: var(--edition-accent, var(--soft-gold));
  border-color: var(--edition-accent, var(--line));
}
.guide-nav a.edition-news-link { color: var(--edition-accent, var(--soft-gold)); }
#nav .nav-edition > a[data-current-edition] { color: #fae1b4; background: #192638; }
#nav .nav-edition > a[data-current-edition] .nav-edition-emblem { border-color: var(--gold); }
.edition-resource-links a[aria-current="page"] { color: var(--soft-gold); }

@media (max-width: 850px) {
  #nav .nav-edition { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  #nav .nav-edition > a { grid-column: 1; }
  #nav .nav-guide-links {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    grid-template-columns: minmax(58px, 34%) minmax(0, 1fr);
    max-height: none;
    overflow: visible;
    margin: 0 0 7px;
  }
}

@media (max-width: 620px) {
  .front-page .lead-link {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "art" "copy";
    height: auto;
  }
  .front-page .lead-visual { justify-self: center; width: min(100%, 300px); }
  .news-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .story-link {
    grid-template-columns: minmax(90px, 29%) minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 14px;
  }
  .story-copy { padding-top: 0; }
  .story-copy h2 { font-size: clamp(1.15rem, 4.5vw, 1.5rem); }
  .story-copy > p:last-child { line-height: 1.4; }
  .guide-class-header:has(.guide-class-art) {
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "breadcrumb breadcrumb" "title art" "description art";
    padding: 10px;
  }
  .guide-class-header:has(.guide-class-art) > .breadcrumb { margin-bottom: 0; }
  .guide-class-header:has(.guide-class-art) > p:last-child { padding-bottom: 0; }
  .guide-class-art { border-radius: 5px; }
  #nav .nav-guide-feature > span { padding: 8px; }
  .nav-guide-feature strong { font-size: 1rem; }
}
/* End portrait artwork and news navigation */

/* Class guide filters and direct specialization links */
.guide-filters {
  display: grid;
  grid-template-columns: minmax(150px, 1.35fr) repeat(4, minmax(110px, 1fr)) auto;
  align-items: end;
  gap: 12px;
  margin-block: 16px 10px;
}
.guide-filters label { display: grid; gap: 6px; min-width: 0; }
.guide-filters label > span { color: var(--muted); font-size: .86rem; font-weight: 700; }
.guide-filters input,.guide-filters select,.guide-filters button {
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--separator);
  border-radius: 5px;
  background: #111b28;
  color: var(--ivory);
  color-scheme: dark;
  font: 1rem var(--body);
}
.guide-filters button { background: var(--surface); color: var(--soft-gold); }
.guide-filters button:enabled:hover,.guide-filters select:hover { border-color: var(--line); }
.guide-filters button:disabled { opacity: .55; cursor: default; }
.guide-specialization-card { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; }
.guide-specialization-card > a { min-height: 0; }
.guide-mode-links { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.guide-card-grid .guide-mode-links a {
  min-height: 40px;
  padding: 6px 9px;
  border: 1px solid var(--separator);
  background: #111b28;
  color: var(--soft-gold);
  font-size: .83rem;
  line-height: 1.2;
}
.guide-card-grid .guide-mode-links a:hover { border-color: var(--soft-gold); }
@media (max-width: 940px) {
  .guide-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .guide-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .guide-filter-query { grid-column: 1 / -1; }
  .guide-filters button { justify-self: start; }
}
