/* ==========================================================================
   Region and topic hubs: /pakistan, /regions(/:key), /topics(/:slug) and
   the admin hub editor. Newsreader for headlines, Inter for the interface,
   in the editorial style of the issue and explainer pages.
   Prefixes: hb- hub pages, hm- maps, hd- directory, ha- admin.
   ========================================================================== */

.hb {
  --hb-paper: #FBFAF7;
  --hb-tint: #F4F0F8;
  --hb-rule: #E3DFE8;
  --hb-text: #23202A;
  --hb-grey: #6A6672;
  --hb-pak: #01411C;
  --hb-pak-soft: #D9E8DF;
  background: var(--hb-paper);
  color: var(--hb-text);
}
.hb-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hb-i { display: inline-block; vertical-align: -2px; flex-shrink: 0; }
.hb-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-3); }
.hb-serif { font-family: var(--font-serif); }
.hb a { color: inherit; }

.hb-label {
  display: block; margin: 0 0 0.9rem;
  font-family: var(--font); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dark);
}

/* ------------------------------------------------------------------ Hero */

.hb-hero { background: #fff; border-bottom: 1px solid var(--hb-rule); padding: var(--s-4) 0 var(--s-5); }
.hb-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: center; }
.hb-hero.has-figure .hb-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }

.hb-crumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0 0 var(--s-3); padding: 0; list-style: none; font-size: 0.84rem; color: var(--hb-grey); }
.hb-crumbs li::after { content: "/"; margin-left: 0.4rem; color: #B9B4C2; }
.hb-crumbs a { color: var(--hb-grey); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color 0.15s; }
.hb-crumbs a:hover { color: var(--accent-dark); text-decoration-color: currentColor; }

.hb-kicker {
  display: flex; align-items: center; gap: 0.6em; margin: 0 0 var(--s-2);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dark);
}
.hb-kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.hb-pakistan .hb-kicker::before, .hd-feature .hb-kicker::before { display: none; }
.hb-flagmark {
  width: 1.5em; height: 1em; border-radius: 1px; flex-shrink: 0;
  background: linear-gradient(90deg, #fff 0 25%, var(--hb-pak, #01411C) 25% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.hb-title {
  margin: 0 0 var(--s-3); max-width: 18ch;
  font-family: var(--font-serif); font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.022em;
  color: var(--ink);
}
.hb-intro { max-width: 60ch; font-family: var(--font-serif); font-size: clamp(1.14rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--hb-text); }
.hb-intro p { margin: 0 0 0.8em; }
.hb-intro p:last-child { margin-bottom: 0; }
.hb-intro a, .hb-why-text a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

.hb-tally { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.hb-tally a {
  display: inline-flex; align-items: baseline; gap: 0.35em; padding: 0.38em 0.85em; border: 1px solid var(--hb-rule); border-radius: 99px;
  font-size: 0.86rem; color: var(--hb-grey); background: #fff; transition: border-color 0.15s, color 0.15s;
}
.hb-tally strong { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hb-tally a:hover { border-color: var(--accent); color: var(--accent-dark); }

.hb-figure { margin: 0; }
.hb-map { position: relative; }
.hb-map .hm-svg { display: block; width: 100%; height: auto; aspect-ratio: 1.25; border-radius: 3px; box-shadow: 0 0 0 1px var(--hb-rule); }
.hb-map figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.5rem; margin-top: 0.7rem; font-size: 0.8rem; color: var(--hb-grey); }
.hb-key { display: inline-block; width: 0.85rem; height: 0.85rem; border-radius: 2px; vertical-align: -1px; }
.hb-key + .hb-key, .hb-map figcaption .hb-key:not(:first-child) { margin-left: 0.8rem; }
.hb-key-rel { background: #E2D6F0; box-shadow: inset 0 0 0 1.5px var(--accent); }
.hb-key-pak { background: var(--hb-pak, #01411C); }
.hb-key-disp { background: repeating-linear-gradient(45deg, #6F9A7E 0 3px, #fff 3px 4.5px); box-shadow: inset 0 0 0 1px #01411C; }
.hb-cover { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: linear-gradient(135deg, var(--hb-tint), #E6DDF1); }
.hb-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------------------------- Maps */

.hm-svg { display: block; width: 100%; height: 100%; }
.hm-sea { fill: #E4E8EE; }
.hm-land, .hm-rel, .hm-pak { stroke-linejoin: round; vector-effect: non-scaling-stroke; fill-rule: evenodd; }
.hm-land { fill: #F7F6F2; stroke: #BBBEC5; stroke-width: 0.6px; }
.hm-rel { fill: #E2D6F0; stroke: #6E42A6; stroke-width: 1px; }
.hm-pak { fill: #01411C; stroke: #01411C; stroke-width: 1px; }
.hm-disputed-base { fill: #6F9A7E; stroke: #01411C; stroke-width: 0.6px; vector-effect: non-scaling-stroke; fill-rule: evenodd; }
.hm-disputed { stroke: none; fill-rule: evenodd; }
.hm-hatch-line { stroke: #fff; stroke-opacity: 0.75; }
.hm-line { fill: none; stroke: #01411C; stroke-width: 1px; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; }
.hm-label { font-family: var(--font); font-weight: 500; letter-spacing: 0.06em; fill: #5E5A66; text-anchor: middle; paint-order: stroke; stroke: rgba(247, 246, 242, 0.9); stroke-width: 3px; stroke-linejoin: round; }
.hm-label.is-pak { fill: #fff; font-weight: 700; stroke: rgba(1, 65, 28, 0.85); }

/* ---------------------------------------------------- Pakistan quick links */

.hb-quick { background: var(--ink); color: #fff; }
.hb-quick .hb-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); align-items: center; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.hb-quick-h { margin: 0; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-soft); }
.hb-quick ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.12); }
.hb-quick a { display: flex; flex-direction: column; gap: 0.1rem; height: 100%; padding: 0.7rem 0.9rem; background: var(--ink); color: #fff; transition: background 0.15s; }
.hb-quick a:hover { background: var(--ink-2); }
.hb-quick strong { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hb-quick span { font-size: 0.8rem; color: var(--on-ink); }

/* --------------------------------------------------------------- Layout */

.hb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: var(--s-5); padding-top: var(--s-4); padding-bottom: var(--s-6); align-items: start; }
.hb-main { min-width: 0; }
.hb-rail { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: var(--s-3); }

.hb-why {
  margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-3) var(--s-3) calc(var(--s-3) + 2px);
  background: var(--hb-tint); border-left: 4px solid var(--accent); border-radius: 0 3px 3px 0;
}
.hb-pakistan .hb-why { border-left-color: var(--hb-pak); background: #EEF4F0; }
.hb-pakistan .hb-why .hb-label { color: var(--hb-pak); }
.hb-why-text { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.55; }
.hb-why-text p { margin: 0 0 0.7em; }
.hb-why-text p:last-child { margin: 0; }

.hb-facts { margin: 0 0 var(--s-4); border-top: 3px solid var(--ink); padding-top: var(--s-2); }
.hb-facts dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0; margin: 0; }
.hb-fact { padding: var(--s-2) var(--s-2) var(--s-2) 0; border-bottom: 1px solid var(--hb-rule); }
.hb-fact dt { margin: 0 0 0.3rem; font-size: 0.8rem; font-weight: 600; color: var(--hb-grey); }
.hb-fact dd { margin: 0; }
.hb-fact-v { display: block; font-family: var(--font-serif); font-size: 1.55rem; font-weight: 500; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }
.hb-fact-src { display: block; margin-top: 0.35rem; font-size: 0.76rem; color: var(--hb-grey); }
.hb-fact-src a { text-decoration: underline; text-underline-offset: 2px; }
.hb-fact-src a:hover { color: var(--accent-dark); }

.hb-band { margin: 0 0 var(--s-4); }
.hb-band img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 3px; }

/* ------------------------------------------------------------- Sections */

.hb-sec { margin: 0 0 var(--s-5); }
.hb-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1.5rem; margin-bottom: var(--s-2); padding-top: 0.75rem; border-top: 3px solid var(--ink); }
.hb-h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(1.6rem, 2.4vw, 2.05rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.hb-h2-n { font-family: var(--font); font-size: 0.85rem; font-weight: 600; color: var(--hb-grey); vertical-align: 0.35em; margin-left: 0.2rem; }
.hb-more { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.88rem; font-weight: 600; color: var(--accent-dark); }
.hb-more:hover { color: var(--accent); }

.hb-grid2, .hb-grid3, .hb-stack, .hb-people, .hb-latest, .hb-picks { list-style: none; margin: 0; padding: 0; }
.hb-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-4); }
.hb-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s-3); }
.hb-grid2 > li, .hb-grid3 > li, .hb-stack > li { padding: var(--s-2) 0 var(--s-3); border-bottom: 1px solid var(--hb-rule); }

.hb-t { margin: 0 0 0.35rem; font-family: var(--font); font-size: 1.06rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.hb-t.hb-serif { font-family: var(--font-serif); font-size: 1.32rem; font-weight: 500; line-height: 1.22; letter-spacing: -0.005em; }
.hb-t a { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.25s ease; }
.hb-t a:hover { background-size: 100% 1px; color: var(--accent-dark); }
.hb-meta { margin: 0; font-size: 0.84rem; color: var(--hb-grey); }
.hb-teaser { margin: 0 0 0.5rem; font-size: 0.95rem; line-height: 1.55; color: #4A4652; }
.hb-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin: 0 0 0.45rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); }

/* Issues */
.hb-issue { position: relative; padding-left: 1rem !important; }
.hb-issue::before { content: ""; position: absolute; left: 0; top: var(--s-2); bottom: var(--s-3); width: 3px; border-radius: 2px; background: var(--status); }
.hb-pill {
  display: inline-flex; align-items: center; gap: 0.45em; margin-bottom: 0.55rem; padding: 0.15em 0.7em 0.15em 0.6em; border-radius: 99px;
  font-size: 0.76rem; font-weight: 500; line-height: 1.4; color: #15171A; white-space: nowrap;
  background: color-mix(in srgb, var(--status) 18%, #fff); border: 1px solid var(--status);
}
.hb-pill::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--status); }

/* Explainers */
.hb-xp { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: var(--s-2); }
.hb-qmark { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; }

/* Trackers */
.hb-live { width: 0.55rem; height: 0.55rem; margin-right: 0.3rem; border-radius: 50%; background: #2F9E6A; box-shadow: 0 0 0 3px rgba(47, 158, 106, 0.18); }

/* Events */
.hb-event { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: var(--s-2); align-items: start; }
.hb-cal { display: grid; justify-items: center; padding: 0.4rem 0 0.45rem; border: 1px solid var(--hb-rule); border-top: 4px solid var(--accent); border-radius: 3px; background: #fff; line-height: 1; }
.hb-cal-d { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 500; color: var(--ink); }
.hb-cal-m { margin-top: 0.2rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hb-grey); }

/* People */
.hb-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-2); }
.hb-person a { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem; border: 1px solid var(--hb-rule); border-radius: 3px; background: #fff; transition: border-color 0.15s; }
.hb-person a:hover { border-color: var(--accent); }
.hb-person img, .hb-initials { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.hb-initials { display: grid; place-items: center; background: var(--hb-tint); color: var(--accent-dark); font-weight: 600; }
.hb-name { display: block; font-weight: 600; color: var(--ink); }
.hb-role { display: block; font-size: 0.82rem; color: var(--hb-grey); line-height: 1.35; }

/* Latest and picks */
.hb-latest { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: var(--s-4); }
.hb-latest > li { padding: var(--s-2) 0; border-bottom: 1px solid var(--hb-rule); }
.hb-latest > .is-lead { grid-row: span 4; padding-right: var(--s-2); border-bottom: 0; }
.hb-latest > .is-lead .hb-t { font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.12; margin-bottom: 0.7rem; }
.hb-latest > .is-lead .hb-teaser { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.55; color: var(--hb-text); }
.hb-latest > li:not(.is-lead) .hb-t { font-size: 1rem; }
.hb-type { color: var(--accent-dark); }
.hb-eyebrow time { color: var(--hb-grey); font-weight: 500; letter-spacing: 0.06em; }

.hb-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-3); }
.hb-picks > li { padding: var(--s-3); background: #fff; border: 1px solid var(--hb-rule); border-top: 3px solid var(--accent); border-radius: 0 0 3px 3px; }
.hb-picks .hb-t { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; line-height: 1.2; }

.hb-empty { padding: var(--s-4); border: 1px dashed #CFC9D9; border-radius: 4px; background: #fff; text-align: center; }
.hb-empty h2 { margin: 0 0 0.6rem; font-size: 1.6rem; font-weight: 500; color: var(--ink); }
.hb-empty p { max-width: 54ch; margin: 0.5rem auto; color: var(--hb-grey); }
.hb-empty a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }

/* ----------------------------------------------------------------- Rail */

.hb-toc ol, .hb-related ul { list-style: none; margin: 0; padding: 0; }
.hb-toc { padding-top: 0.75rem; border-top: 3px solid var(--ink); }
.hb-toc li a { display: block; padding: 0.38rem 0; font-size: 0.92rem; color: var(--hb-text); border-bottom: 1px solid var(--hb-rule); }
.hb-toc li a:hover { color: var(--accent-dark); }
.hb-related { padding-top: 0.75rem; border-top: 1px solid var(--ink); }
.hb-related a { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; padding: 0.38rem 0; font-size: 0.92rem; border-bottom: 1px solid var(--hb-rule); }
.hb-related a:hover { color: var(--accent-dark); }
.hb-n { min-width: 1.6rem; padding: 0 0.45rem; border-radius: 99px; background: var(--hb-tint); color: var(--accent-dark); font-size: 0.75rem; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }

.hb-signup { padding: var(--s-3); background: var(--ink); color: var(--on-ink); border-radius: 3px; }
.hb-signup-h { margin: 0 0 0.4rem; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; color: #fff; }
.hb-signup p { margin: 0 0 var(--s-2); font-size: 0.9rem; line-height: 1.5; }
.hb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.7rem 1.1rem; border-radius: 2px;
  font-size: 0.9rem; font-weight: 600; color: #fff !important; background: var(--accent); transition: background 0.15s;
}
.hb-btn:hover { background: var(--accent-dark); }
.hb-btn-light { color: var(--ink) !important; background: #fff; }
.hb-btn-light:hover { background: var(--accent-soft); }

/* ------------------------------------------------- Pakistan in the world */

.hb-world { padding: var(--s-5) 0; background: #fff; border-top: 1px solid var(--hb-rule); }
.hb-world-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: var(--s-3); padding-top: 0.75rem; border-top: 3px solid var(--ink); }
.hb-world-h { margin: 0; font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; color: var(--ink); }
.hb-world-head p { max-width: 46ch; margin: 0; color: var(--hb-grey); }
.hb-world-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3) var(--s-3); margin: 0; padding: 0; list-style: none; }
.hb-world-grid a { display: block; }
.hb-thumb { display: block; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px var(--hb-rule); aspect-ratio: 1.6; transition: box-shadow 0.15s; }
.hb-world-grid a:hover .hb-thumb { box-shadow: 0 0 0 2px var(--accent); }
.hb-world-name { display: block; margin-top: 0.6rem; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.hb-world-n { display: block; margin-top: 0.15rem; font-size: 0.82rem; color: var(--hb-grey); }

.hb-cta { background: var(--ink); color: var(--on-ink); padding: var(--s-4) 0; }
.hb-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.hb-cta-h { margin: 0 0 0.4rem; font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; color: #fff; }
.hb-cta p { max-width: 56ch; margin: 0; }

/* ------------------------------------------------------------ Directory */

.hd-hero { padding-bottom: var(--s-4); }
.hd-lede { max-width: 62ch; margin: 0; font-family: var(--font-serif); font-size: clamp(1.14rem, 1.6vw, 1.32rem); line-height: 1.55; }
.hd-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--s-3) 0 0; }
.hd-jump a { padding: 0.4em 0.95em; border: 1px solid var(--hb-rule); border-radius: 99px; font-size: 0.88rem; font-weight: 500; background: #fff; }
.hd-jump a:hover { border-color: var(--accent); color: var(--accent-dark); }
.hd-wrap { padding-top: var(--s-4); padding-bottom: var(--s-6); }

.hb .hd-feature {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: stretch; margin-bottom: var(--s-5);
  background: var(--ink); color: var(--on-ink); border-radius: 3px; overflow: hidden;
}
.hb .hd-feature-text { color: var(--on-ink); }
.hd-feature-text { display: flex; flex-direction: column; gap: 0.6rem; padding: var(--s-4); }
.hd-feature .hb-kicker { color: var(--accent-soft); margin: 0; }
.hd-feature-name { font-family: var(--font-serif); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 400; line-height: 1.05; color: #fff; }
.hd-feature-intro { max-width: 52ch; font-size: 1rem; line-height: 1.6; }
.hd-feature .hd-tally { color: var(--accent-soft); }
.hd-feature-go { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 0.4rem; font-weight: 600; color: #fff; }
.hd-feature:hover .hd-feature-go { text-decoration: underline; text-underline-offset: 3px; }
.hd-feature-map { position: relative; display: block; min-height: 240px; background: #E4E8EE; }
.hd-feature-map .hm-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hd-sec { margin-bottom: var(--s-5); }
.hd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.hd-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--hb-rule); border-radius: 3px; overflow: hidden; transition: border-color 0.15s, transform 0.15s; }
.hd-card a:hover { border-color: var(--accent); }
.hd-thumb, .hd-photo { display: block; aspect-ratio: 1.6; overflow: hidden; background: var(--hb-tint); }
.hd-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.hd-card a:hover .hd-photo img { transform: scale(1.03); }
.hd-body { display: flex; flex-direction: column; gap: 0.45rem; padding: var(--s-2) var(--s-2) var(--s-3); flex: 1; }
.hd-name { font-family: var(--font-serif); font-size: 1.32rem; font-weight: 500; line-height: 1.15; color: var(--ink); }
.hd-intro { font-size: 0.88rem; line-height: 1.5; color: #4A4652; }
.hd-tally { margin-top: auto; padding-top: 0.3rem; font-size: 0.78rem; font-weight: 600; color: var(--accent-dark); }

/* ------------------------------------------------------------ Responsive */

@media (max-width: 1100px) {
  .hb-quick .hb-wrap { grid-template-columns: 1fr; gap: 0.7rem; }
  .hd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hb-hero.has-figure .hb-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hb-hero-grid .hb-figure { max-width: 620px; }
  .hb-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .hb-rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-toc { display: none; }
  .hb-quick ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hb-world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb .hd-feature { grid-template-columns: 1fr; }
  .hd-feature-map { min-height: 0; aspect-ratio: 1.6; order: -1; }
  .hd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .hb-wrap { padding-left: var(--s-2); padding-right: var(--s-2); }
  .hb-hero { padding: var(--s-3) 0 var(--s-4); }
  .hb-grid2, .hb-grid3, .hb-latest { grid-template-columns: minmax(0, 1fr); }
  .hb-latest > .is-lead { grid-row: auto; padding-right: 0; border-bottom: 1px solid var(--hb-rule); }
  .hb-rail { grid-template-columns: minmax(0, 1fr); }
  .hb-quick ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-world-grid { gap: var(--s-2); }
  .hb-world-name { font-size: 1.05rem; }
  .hd-grid { grid-template-columns: minmax(0, 1fr); }
  .hd-feature-text { padding: var(--s-3); }
  .hb-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------- Admin */

.ha-held { display: flex; flex-wrap: wrap; gap: 0.3rem 0.4rem; max-width: 30rem; }
.ha-held span { padding: 0.1rem 0.5rem; border-radius: 99px; background: #F2EEF7; font-size: 0.82rem; white-space: nowrap; color: #3A3346; }
.ha-held strong { font-variant-numeric: tabular-nums; }
.ha-counts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin: 0 0 0.8rem; }
.ha-counts span { font-size: 0.95rem; color: #3A3346; }
.ha-counts span.is-zero { color: #9C96A8; }
.ha-counts strong { font-variant-numeric: tabular-nums; }
.ha-rules summary { cursor: pointer; font-weight: 600; color: #5A3689; }
.ha-rules ul { margin: 0.6rem 0; padding-left: 1.2rem; line-height: 1.55; }
.ha-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88rem; }
.ha-errors { margin: 0.4rem 0 0; padding-left: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  .hb *, .hd-photo img { transition: none !important; }
}

.hb-picks .hb-teaser, .hb-latest > .is-lead .hb-teaser { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
