/*
 * 99Bitcoins Crypto Hub — front-end styles
 * ---------------------------------------------------------------------------
 * The brand is INHERITED, not restated. Every colour and font below resolves
 * to the theme's own theme.json custom property first and only falls back to a
 * literal if the theme is ever swapped out:
 *
 *   red-500 #e50123   brand / primary action
 *   red-600 #D00120   negative values
 *   green-500 #008868 positive values
 *   neutral-500 #031129 ink        neutral-300 #46556F secondary ink
 *   neutral-100 #ADB9CE muted      neutral-50 #D9DFEB hairline
 *   neutral-25 #F0F3FA surface
 *   Outfit headings · DM Sans body · Lexend UI labels
 *
 * SHAPES ARE TAKEN FROM 99BITCOINS' OWN COMPONENTS, not from the third-party
 * Cryptify widgets that also happen to sit on /tools/:
 *
 *   • card      = theme .nnbtc-card__inner — white, 1px #D9DFEB, radius 24px
 *   • data tile = the first-party Bitcoin Halving widget — a tinted #FFEEF0
 *                 panel with a #FBC6CE border at radius 16px, wrapping white
 *                 tiles at radius 8px whose numbers are Outfit 600 in brand red
 *   • band      = theme .trust-us .container — linear-gradient(53deg,#F0F3FA
 *                 75%,#FFF 90%), radius 24px, 40px padding. NOT its 1120px
 *                 max-width: bands sit at the theme's normal .container width.
 *   • button    = halving CTA — brand red, radius 8px, hover #C70120 with a
 *                 1px lift and an rgba(229,1,35,.3) shadow
 *
 * The Cryptify look (grey hairline + 8px bottom rule, Noto Sans) is a vendor
 * style, so it is deliberately NOT copied.
 * ---------------------------------------------------------------------------
 */

.nch,
.nch-band,
.nch-main {
	--nch-brand:   var(--wp--preset--color--red-500, #e50123);
	--nch-brand-d: var(--wp--preset--color--red-600, #D00120);
	--nch-brand-l: var(--wp--preset--color--red-50, #FFEEF0);
	--nch-up:      var(--wp--preset--color--green-500, #008868);
	--nch-up-l:    var(--wp--preset--color--green-100, #C4E9E0);
	--nch-down:    var(--wp--preset--color--red-600, #D00120);
	--nch-down-l:  var(--wp--preset--color--red-50, #FFEEF0);
	--nch-ink:     var(--wp--preset--color--neutral-500, #031129);
	--nch-ink-2:   var(--wp--preset--color--neutral-300, #46556F);
	--nch-muted:   var(--wp--preset--color--neutral-200, #7989A1);
	--nch-line:    var(--wp--preset--color--neutral-50, #D9DFEB);
	--nch-line-2:  #EEF1F8;
	--nch-surface: var(--wp--preset--color--neutral-25, #F0F3FA);
	--nch-white:   var(--wp--preset--color--white, #FFFFFF);

	--nch-btc: #F7931A;
	--nch-eth: #2E83A7;
	--nch-stb: #7989A1;
	--nch-oth: #ADB9CE;

	--nch-font:    var(--wp--preset--font-family--dm-sans, "DM Sans", sans-serif);
	--nch-display: var(--wp--preset--font-family--outfit, Outfit, sans-serif);
	--nch-ui:      var(--wp--preset--font-family--lexend, Lexend, sans-serif);

	/* Radii taken from the theme + the first-party halving widget:
	   24px cards (theme .nnbtc-card__inner), 16px data panels, 8px inner tiles. */
	--nch-r:    1.5rem;
	--nch-r-lg: 1.5rem;
	--nch-r-md: 1rem;
	--nch-r-sm: 0.5rem;

	/* Brand surfaces, straight from the theme bundle + halving widget. */
	--nch-tint:        #FFEEF0;
	--nch-tint-border: #FBC6CE;
	--nch-band-grad:   linear-gradient(53deg, #F0F3FA 75%, #FFF 90%);
	--nch-tint-grad:   linear-gradient(46deg, #FFEEF0 60%, #FFF);
	--nch-wrap: var(--wp--style--global--content-size, 1392px);
	--nch-pad:  clamp(1rem, 3vw, 1.5rem);

	font-family: var(--nch-font);
	color: var(--nch-ink);
	box-sizing: border-box;
}

.nch *,
.nch-main *,
.nch-band * {
	box-sizing: border-box;
}

.nch-wrap {
	max-width: var(--nch-wrap);
	margin-inline: auto;
	padding-inline: clamp(1rem, 3vw, 2rem);
}

/* ===========================================================================
   1. Section furniture
   ======================================================================== */

.nch-section {
	margin-block: clamp(2rem, 5vw, 3.25rem);
}

/*
 * The band is a THEME-WIDTH section, not a .trust-us-width one.
 *
 * The gradient panel shape is borrowed from the theme's `.trust-us .container`,
 * but that block also carries `max-width:1120px` — an inset feature width that
 * is 232px narrower than every other homepage section (`.container` =
 * content-size 1392px + 20px root padding). Copying the shape AND the width
 * made "Crypto Market Today" visibly step in from the sections above and below
 * it. So `.nch-band` now reproduces the theme's plain `.container` and the
 * gradient panel fills it edge to edge.
 */
.nch-band {
	margin-block: 40px;
	max-width: var(--nch-wrap);
	margin-inline: auto;
	padding-inline: var(--wp--style--root--padding-left, 1.25rem);
}

/* Panel shape from .trust-us .container — gradient, 24px radius, 40px padding. */
.nch-band > .nch-wrap {
	background: var(--nch-band-grad);
	border-radius: 24px;
	max-width: none;
	padding: 40px;
}

@media (max-width: 782px) {
	.nch-band > .nch-wrap { padding: 24px; }
}

.nch-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.nch-head__title {
	font-family: var(--nch-display);
	font-weight: 700;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.375;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--nch-ink);
}

.nch-head__sub {
	margin: 0.4rem 0 0;
	font-size: 0.9375rem;
	color: var(--nch-ink-2);
	max-width: 62ch;
	line-height: 1.5;
}

.nch-head__link {
	font-family: var(--nch-ui);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--nch-brand);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	white-space: nowrap;
	padding-bottom: 2px;
	border-bottom: 2px solid transparent;
	transition: border-color 0.15s ease;
}

.nch-head__link:hover {
	border-bottom-color: var(--nch-brand);
	color: var(--nch-brand);
}

.nch-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	font-size: 0.8125rem;
	color: var(--nch-muted);
	font-family: var(--nch-ui);
}

.nch-crumbs li + li::before {
	content: "/";
	margin-right: 0.5rem;
	color: var(--nch-line);
}

.nch-crumbs a {
	color: var(--nch-ink-2);
	text-decoration: none;
}

.nch-crumbs a:hover { color: var(--nch-brand); }

/* ===========================================================================
   2. Grids
   ======================================================================== */

.nch-grid {
	display: grid;
	gap: 0.875rem;
	margin-bottom: 0.875rem;
	align-items: stretch;
}

/* Cards in a row must line up regardless of how much content each holds —
   otherwise a gauge card and an index card end at different depths. */
.nch-grid > * { height: 100%; }

.nch-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.nch-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.nch-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

.nch-grid--sentiment {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

@media (min-width: 1100px) {
	.nch-grid--sentiment { grid-template-columns: 1fr 1fr 1.35fr 1fr; }
}

/* ===========================================================================
   3. Stat tiles
   ======================================================================== */

/* A group of stats renders as one tinted panel holding white tiles — the
   signature 99Bitcoins data-widget shape, lifted from the halving countdown. */
.nch-panel {
	background: var(--nch-tint);
	border: 1px solid var(--nch-tint-border);
	border-radius: var(--nch-r-md);
	padding: 0.5rem;
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
	margin-bottom: 0.75rem;
}

.nch-panel--label {
	grid-template-columns: 1fr;
	justify-items: stretch;
}

.nch-panel__label {
	font-family: var(--nch-font);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.75rem;
	color: var(--nch-brand);
	text-align: center;
	margin: 0;
	grid-column: 1 / -1;
}

.nch-panel__tiles {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
	grid-column: 1 / -1;
}

.nch-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 0.15rem;
	background: var(--nch-white);
	border: 0;
	border-radius: var(--nch-r-sm);
	padding: 0.875rem 0.75rem;
	min-height: 80px;
	text-decoration: none;
	color: inherit;
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.nch-stat:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(229, 1, 35, 0.18);
}

/* Standalone tiles (outside a panel) keep the theme card border so they do not
   float on a white page with no edge. */
.nch-grid > .nch-stat {
	border: 1px solid var(--nch-line);
	border-radius: var(--nch-r-md);
	padding: 1.125rem 1rem;
}

/* Any grid that holds stat tiles IS a data panel — this gives every hub
   template the house shape without rewriting each one. Browsers without :has()
   fall back to bordered white tiles, which is a degradation, not a break. */
.nch-grid:has(> .nch-stat) {
	background: var(--nch-tint);
	border: 1px solid var(--nch-tint-border);
	border-radius: var(--nch-r-md);
	padding: 0.5rem;
	gap: 0.5rem;
}

.nch-grid:has(> .nch-stat) > .nch-stat {
	border: 0;
	border-radius: var(--nch-r-sm);
	padding: 0.875rem 0.75rem;
}

.nch-stat__label {
	font-family: var(--nch-font);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25rem;
	color: var(--nch-brand);
	order: -1;
}

.nch-stat__value {
	font-family: var(--nch-display);
	font-weight: 600;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.375;
	color: var(--nch-brand);
	font-variant-numeric: tabular-nums;
}

/* Accents tint the number, not a border rule — the theme has no bottom-rule
   card anywhere; that shape came from the vendor plugin. */
.nch-stat--neutral .nch-stat__value { color: var(--nch-ink); }
.nch-stat--up   .nch-stat__value { color: var(--nch-up); }
.nch-stat--down .nch-stat__value { color: var(--nch-down); }
.nch-stat--btc  .nch-stat__value { color: var(--nch-btc); }
.nch-stat--eth  .nch-stat__value { color: var(--nch-eth); }

.nch-stat__foot {
	font-family: var(--nch-font);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.25rem;
	color: var(--nch-brand-d);
	margin-top: auto;
}

.nch-stat--neutral .nch-stat__foot,
.nch-stat--up .nch-stat__foot,
.nch-stat--down .nch-stat__foot,
.nch-stat--btc .nch-stat__foot,
.nch-stat--eth .nch-stat__foot { color: var(--nch-muted); }

.nch-stat .nch-spark {
	margin-top: 0.35rem;
	display: block;
	width: 100%;
}

.nch-stat .nch-spark svg { width: 100%; height: 28px; }

/* ===========================================================================
   4. Deltas, badges
   ======================================================================== */

.nch-delta {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	font-family: var(--nch-display);
	font-weight: 700;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.nch-delta--up   { color: var(--nch-up); }
.nch-delta--down { color: var(--nch-down); }
.nch-delta--flat { color: var(--nch-muted); }

.nch-delta__icon { font-size: 0.6em; line-height: 1; }

.nch-badge {
	display: inline-block;
	font-family: var(--nch-ui);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 0.2rem 0.5rem;
	border-radius: 0.3rem;
	background: var(--nch-surface);
	color: var(--nch-ink-2);
	white-space: nowrap;
}

.nch-badge--up      { background: var(--nch-up-l); color: #005c46; }
.nch-badge--down    { background: var(--nch-down-l); color: var(--nch-down); }
.nch-badge--brand   { background: var(--nch-brand-l); color: var(--nch-brand-d); }
.nch-badge--info    { background: #E7EEFB; color: #2C4B85; }
.nch-badge--warn    { background: #FFF3D9; color: #8A6100; }

/* ===========================================================================
   5. Sparklines
   ======================================================================== */

.nch-spark {
	display: inline-block;
	line-height: 0;
	color: var(--nch-muted);
}

.nch-spark--up   { color: var(--nch-up); }
.nch-spark--down { color: var(--nch-down); }
.nch-spark--empty {
	width: 110px;
	height: 32px;
	border-bottom: 1px dashed var(--nch-line);
	display: inline-block;
}

/* ===========================================================================
   6. Cards
   ======================================================================== */

.nch-card {
	background: var(--nch-white);
	border: 1px solid var(--nch-line);
	border-radius: var(--nch-r);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

/* The head pins to the top and the note to the bottom, so cards of differing
   content still align on both edges. */
.nch-card__head { flex: none; }
.nch-card > .nch-card__note:last-child { margin-top: auto; }

.nch-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* Theme .nnbtc-card-title: Outfit 600, 1.25rem, neutral-400. */
.nch-card__head h3 {
	font-family: var(--nch-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
	color: var(--wp--preset--color--neutral-400, #25334b);
}

/* Theme .nnbtc-card-label: brand red, DM Sans 700, 0.875rem. */
.nch-card__tag {
	font-family: var(--nch-font);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25rem;
	color: var(--nch-brand);
	background: none;
	padding: 0;
}

.nch-card__note {
	font-size: 0.75rem;
	line-height: 1.5;
	color: var(--nch-muted);
	margin: 0;
	margin-top: auto;
}

.nch-card__note--warn {
	background: #FFF8E8;
	border-left: 3px solid #E8B23A;
	padding: 0.55rem 0.75rem;
	border-radius: 0 var(--nch-r-sm) var(--nch-r-sm) 0;
	color: #7A5A12;
}

.nch-card__price {
	font-family: var(--nch-display);
	font-weight: 700;
	font-size: 1.125rem;
	font-variant-numeric: tabular-nums;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.nch-card__price--lg { font-size: 2rem; letter-spacing: -0.025em; }

/* The gauge and index cards are the "hero data" cards, so they take the tinted
   panel treatment rather than a plain white surface. */
.nch-card--gauge,
.nch-card--index {
	background: var(--nch-tint-grad);
	border-color: var(--nch-tint-border);
}

a.nch-card,
a.nch-card:hover { text-decoration: none; }
a.nch-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }

/* Affordance that a data card is clickable. */
.nch-card__go {
	font-family: var(--nch-font);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--nch-brand);
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: auto;
}

a.nch-card:hover .nch-card__go { color: var(--nch-brand-d); }
a.nch-card:hover .nch-card__go span { transform: translateX(2px); }
.nch-card__go span { transition: transform 0.2s ease; display: inline-block; }
a.nch-card:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(229, 1, 35, 0.18);
}

.nch-solo { margin-block: 1.75rem; }

/* ===========================================================================
   7. Gauge
   ======================================================================== */

.nch-gauge {
	position: relative;
	text-align: center;
	color: var(--nch-ink-2);
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.nch-gauge--vlow  { color: var(--nch-down); }
.nch-gauge--low   { color: #E2703A; }
.nch-gauge--mid   { color: #C79A16; }
.nch-gauge--high  { color: #3E9E6B; }
.nch-gauge--vhigh { color: var(--nch-up); }

.nch-gauge__svg { width: 100%; max-width: 200px; height: auto; display: block; margin-inline: auto; }

.nch-gauge__readout { margin-top: -0.5rem; }

.nch-gauge__score {
	display: block;
	font-family: var(--nch-display);
	font-weight: 700;
	font-size: 2.25rem;
	line-height: 1;
	color: var(--nch-ink);
	font-variant-numeric: tabular-nums;
}

.nch-gauge__label {
	display: block;
	font-family: var(--nch-ui);
	font-size: 0.8125rem;
	font-weight: 600;
	color: currentColor;
	margin-top: 0.2rem;
}

.nch-gauge__bands {
	display: flex;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 0.5rem;
	font-size: 0.6875rem;
	color: var(--nch-muted);
}

.nch-gauge--empty {
	padding: 2rem 0;
	color: var(--nch-muted);
	font-size: 0.875rem;
}

/* ===========================================================================
   8. Index card + dominance bar
   ======================================================================== */

.nch-card--index .nch-chart { margin-top: auto; }

.nch-index__value {
	font-family: var(--nch-display);
	font-weight: 700;
	font-size: 2rem;
	line-height: 1;
	letter-spacing: -0.025em;
	font-variant-numeric: tabular-nums;
}

.nch-index__delta {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	font-size: 0.75rem;
	color: var(--nch-muted);
}

.nch-index__delta > span { font-family: var(--nch-ui); }

.nch-dom { margin-top: 0.25rem; }

.nch-dom__bar {
	display: flex;
	height: 10px;
	border-radius: 999px;
	overflow: hidden;
	background: var(--nch-line-2);
}

.nch-dom__seg--btc { background: var(--nch-btc); }
.nch-dom__seg--eth { background: var(--nch-eth); }
.nch-dom__seg--stb { background: var(--nch-stb); }
.nch-dom__seg--oth { background: var(--nch-oth); }

.nch-dom__key {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.85rem;
	margin-top: 0.55rem;
	font-size: 0.75rem;
	color: var(--nch-ink-2);
}

.nch-dom__item { display: inline-flex; align-items: center; gap: 0.3rem; }
.nch-dom__item b { font-family: var(--nch-display); font-variant-numeric: tabular-nums; }

.nch-dom__dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.nch-dom__dot--btc { background: var(--nch-btc); }
.nch-dom__dot--eth { background: var(--nch-eth); }
.nch-dom__dot--stb { background: var(--nch-stb); }
.nch-dom__dot--oth { background: var(--nch-oth); }

/* ===========================================================================
   9. Movers
   ======================================================================== */

.nch-movers__group + .nch-movers__group { margin-top: 0.5rem; }

.nch-movers__label {
	font-family: var(--nch-ui);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--nch-muted);
}

.nch-movers__list {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
}

.nch-movers__list li + li { border-top: 1px solid var(--nch-line-2); }

.nch-movers__list a {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0;
	text-decoration: none;
	color: inherit;
	font-size: 0.8125rem;
}

.nch-movers__list a:hover .nch-movers__sym { color: var(--nch-brand); }

.nch-movers__sym {
	font-family: var(--nch-display);
	font-weight: 700;
	letter-spacing: 0.01em;
}

.nch-movers__px {
	font-variant-numeric: tabular-nums;
	color: var(--nch-ink-2);
	font-size: 0.75rem;
}

.nch-movers__empty { font-size: 0.75rem; color: var(--nch-muted); padding: 0.35rem 0; }

/* ===========================================================================
   10. Breadth strip
   ======================================================================== */

.nch-breadth {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	background: var(--nch-white);
	border: 1px solid var(--nch-line);
	border-radius: var(--nch-r);
	padding: 0.875rem 1.25rem;
	margin-top: 0.875rem;
}

.nch-breadth__bar {
	flex: 1 1 180px;
	height: 8px;
	border-radius: 999px;
	background: var(--nch-down-l);
	overflow: hidden;
	min-width: 140px;
}

.nch-breadth__up {
	display: block;
	height: 100%;
	background: var(--nch-up);
	border-radius: 999px;
}

.nch-breadth__text {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--nch-ink-2);
	flex: 2 1 320px;
}

.nch-breadth__pct {
	font-family: var(--nch-display);
	font-weight: 700;
	color: var(--nch-up);
	margin-left: 0.35rem;
}

.nch-breadth__cta { flex: 0 0 auto; }

/* ===========================================================================
   11. Buttons
   ======================================================================== */

/* Lifted from the first-party halving-widget CTA. */
.nch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--nch-font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.75rem;
	padding: 0.5rem 1rem;
	border-radius: var(--nch-r-sm);
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.nch-btn--primary {
	background: var(--nch-brand);
	color: #fff;
}

.nch-btn--primary:hover,
.nch-btn--primary:focus {
	background: #C70120;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(229, 1, 35, 0.3);
}

.nch-btn--primary:active { transform: translateY(0); }

.nch-btn--ghost {
	background: var(--nch-white);
	color: var(--nch-brand);
	border-color: var(--nch-tint-border);
}

.nch-btn--ghost:hover {
	background: var(--nch-tint);
	color: var(--nch-brand-d);
	transform: translateY(-1px);
}

/* ===========================================================================
   12. Provenance strip
   ======================================================================== */

.nch-prov {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-top: 0.875rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--nch-line-2);
	font-size: 0.75rem;
	color: var(--nch-muted);
	font-family: var(--nch-ui);
}

.nch-prov__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--nch-up);
	flex: none;
	box-shadow: 0 0 0 3px rgba(0, 136, 104, 0.15);
	animation: nch-pulse 2.4s ease-in-out infinite;
}

.nch-prov--stale .nch-prov__dot {
	background: #E8B23A;
	box-shadow: 0 0 0 3px rgba(232, 178, 58, 0.18);
	animation: none;
}

@keyframes nch-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(0, 136, 104, 0.15); }
	50%      { box-shadow: 0 0 0 6px rgba(0, 136, 104, 0.04); }
}

@media (prefers-reduced-motion: reduce) {
	.nch-prov__dot { animation: none; }
}

.nch-prov__text { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.nch-prov__sep { color: var(--nch-line); }
.nch-prov__stale { color: #8A6100; }
.nch-prov__method { margin-left: auto; color: var(--nch-ink-2); text-decoration: underline; text-underline-offset: 2px; }
.nch-prov__method:hover { color: var(--nch-brand); }

/* ===========================================================================
   13. Ticker
   ======================================================================== */

.nch-ticker {
	background: var(--nch-ink);
	color: #fff;
	border-block: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.nch-ticker__inner {
	max-width: var(--nch-wrap);
	margin-inline: auto;
	display: flex;
	align-items: stretch;
	gap: 0;
	padding-inline: clamp(0.75rem, 2vw, 2rem);
}

.nch-ticker__globals {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 0.55rem 1.25rem 0.55rem 0;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	flex: none;
}

.nch-ticker__stat {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35rem;
	font-size: 0.75rem;
	white-space: nowrap;
}

.nch-ticker__label {
	font-family: var(--nch-ui);
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.6875rem;
	letter-spacing: 0.03em;
}

.nch-ticker__value {
	font-family: var(--nch-display);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #fff;
}

.nch-ticker .nch-delta--up   { color: #4FD1A5; }
.nch-ticker .nch-delta--down { color: #FF7D8F; }
.nch-ticker .nch-delta--flat { color: rgba(255, 255, 255, 0.5); }
.nch-ticker .nch-delta { font-size: 0.75rem; }

.nch-ticker__marquee {
	flex: 1 1 auto;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-width: 0;
	mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.nch-ticker__track {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding-left: 1.5rem;
	flex: none;
	animation: nch-marquee 70s linear infinite;
}

.nch-ticker__marquee:hover .nch-ticker__track { animation-play-state: paused; }

@keyframes nch-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
	.nch-ticker__track { animation: none; }
	.nch-ticker__marquee { overflow-x: auto; }
}

.nch-ticker__coin {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35rem;
	text-decoration: none;
	color: #fff;
	font-size: 0.75rem;
	white-space: nowrap;
	padding-block: 0.55rem;
}

.nch-ticker__sym { font-family: var(--nch-display); font-weight: 700; letter-spacing: 0.02em; }
.nch-ticker__px  { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.78); }
.nch-ticker__coin:hover .nch-ticker__sym { color: #FF8093; }

@media (max-width: 900px) {
	.nch-ticker__globals {
		gap: 0.9rem;
		overflow-x: auto;
		border-right: 0;
		padding-right: 0;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.nch-ticker__globals::-webkit-scrollbar { display: none; }
	.nch-ticker__inner { flex-direction: column; }
	.nch-ticker__marquee { border-top: 1px solid rgba(255, 255, 255, 0.12); }
}

/* ===========================================================================
   14. Tables
   ======================================================================== */

.nch-tablewrap {
	background: var(--nch-white);
	border: 1px solid var(--nch-line);
	border-radius: var(--nch-r);
	padding: 1.5rem;
}

@media (max-width: 600px) {
	.nch-tablewrap { padding: 1rem; }
}

.nch-livetable__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-inline: -0.25rem;
	padding-inline: 0.25rem;
}

.nch-livetable__scroll::-webkit-scrollbar { height: 6px; }
.nch-livetable__scroll::-webkit-scrollbar-track { background: var(--nch-line-2); border-radius: 999px; }
.nch-livetable__scroll::-webkit-scrollbar-thumb { background: var(--nch-line); border-radius: 999px; }

.nch-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	min-width: 620px;
}

.nch-table thead th {
	font-family: var(--nch-ui);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--nch-muted);
	text-align: left;
	padding: 0.6rem 0.65rem;
	border-bottom: 1px solid var(--nch-line);
	white-space: nowrap;
	background: var(--nch-white);
	position: sticky;
	top: 0;
	z-index: 1;
}

.nch-table tbody td {
	padding: 0.7rem 0.65rem;
	border-bottom: 1px solid var(--nch-line-2);
	vertical-align: middle;
}

.nch-table tbody tr:hover { background: var(--nch-surface); }
.nch-table tbody tr:last-child td { border-bottom: 0; }

.nch-num { text-align: right; font-variant-numeric: tabular-nums; }
.nch-num--px { font-family: var(--nch-display); font-weight: 600; }
.nch-nowrap { white-space: nowrap; }
.nch-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; }
.nch-mono a { color: var(--nch-ink-2); text-decoration: none; border-bottom: 1px dotted var(--nch-line); }
.nch-mono a:hover { color: var(--nch-brand); }

.nch-th--rank { width: 44px; color: var(--nch-muted); font-size: 0.75rem; }
.nch-th--name { min-width: 180px; }
.nch-td--spark { width: 120px; }

.nch-table__loading { color: var(--nch-muted); font-size: 0.875rem; }
.nch-table__loading td { padding: 1.5rem 0.65rem; text-align: center; }

.nch-tablewrap__foot { margin-top: 0.875rem; display: flex; justify-content: center; }

@media (max-width: 782px) { .nch-hide-md { display: none; } }
@media (max-width: 600px) { .nch-hide-sm { display: none; } .nch-table { min-width: 420px; } }

/* Coin identity cell */
.nch-coin { display: inline-flex; align-items: center; gap: 0.55rem; }

.nch-coin__rank {
	font-size: 0.75rem;
	color: var(--nch-muted);
	font-variant-numeric: tabular-nums;
	min-width: 1.5em;
}

.nch-coin__link { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: inherit; }
.nch-coin__link:hover .nch-coin__name { color: var(--nch-brand); }

.nch-coin__logo {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: contain;
	background: var(--nch-surface);
	flex: none;
}

.nch-coin__logo--text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--nch-display);
	font-size: 0.5625rem;
	font-weight: 700;
	color: var(--nch-ink-2);
	letter-spacing: -0.02em;
}

.nch-coin__text { display: inline-flex; flex-direction: column; line-height: 1.25; min-width: 0; }

.nch-coin__name {
	font-weight: 600;
	color: var(--nch-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 15ch;
}

.nch-coin__symbol {
	font-family: var(--nch-ui);
	font-size: 0.6875rem;
	color: var(--nch-muted);
	letter-spacing: 0.03em;
}

/* Live table shell */
.nch-livetable__tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	flex-wrap: wrap;
}

.nch-search__input {
	font-family: var(--nch-font);
	font-size: 0.8125rem;
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--nch-line);
	border-radius: 999px;
	min-width: 240px;
	background: var(--nch-white);
	color: var(--nch-ink);
}

.nch-search__input:focus { outline: 2px solid var(--nch-brand); outline-offset: 1px; border-color: transparent; }

.nch-livetable__count { font-size: 0.75rem; color: var(--nch-muted); font-family: var(--nch-ui); }

/* Pager. Replaces the old cumulative "Load more" — paging is client-side over
   rows already in memory, so these are buttons and the URL never changes. */
.nch-livetable__pager {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin-top: 0.875rem;
}

.nch-livetable__pager[hidden] { display: none; }

.nch-pager__num,
.nch-pager__step {
	font-family: var(--nch-ui);
	font-size: 0.8125rem;
	line-height: 1;
	min-width: 2.25rem;
	padding: 0.5rem 0.625rem;
	border: 1px solid var(--nch-line);
	border-radius: 999px;
	background: var(--nch-white);
	color: var(--nch-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.nch-pager__num:hover:not(.is-current),
.nch-pager__step:hover:not([disabled]) {
	border-color: var(--nch-brand);
	color: var(--nch-brand);
}

.nch-pager__num:focus-visible,
.nch-pager__step:focus-visible { outline: 2px solid var(--nch-brand); outline-offset: 1px; }

.nch-pager__num.is-current {
	background: var(--nch-brand);
	border-color: var(--nch-brand);
	color: var(--nch-white);
	cursor: default;
}

.nch-pager__step[disabled] { opacity: 0.4; cursor: default; }

.nch-table th[data-sort] { cursor: pointer; user-select: none; }
.nch-table th[data-sort]:hover { color: var(--nch-ink); }
.nch-table th[aria-sort] { color: var(--nch-ink); }
.nch-table th[data-sort]::after { content: ""; }
.nch-table th[aria-sort="descending"]::after { content: " ↓"; }
.nch-table th[aria-sort="ascending"]::after { content: " ↑"; }

/* ===========================================================================
   15. Charts
   ======================================================================== */

.nch-chart { width: 100%; }

.nch-chart__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
	flex-wrap: wrap;
}

.nch-chart__title {
	font-family: var(--nch-ui);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--nch-ink-2);
}

.nch-chart__ranges {
	display: inline-flex;
	gap: 0.15rem;
	border-bottom: 1px solid var(--nch-line);
}

.nch-range {
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	font-family: var(--nch-ui);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--nch-muted);
	padding: 0.3rem 0.6rem;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
	border-radius: 0;
}

.nch-range:hover { color: var(--nch-ink); background: transparent; }

.nch-range--active {
	color: var(--nch-ink);
	border-bottom-color: var(--nch-brand);
}

.nch-chart__canvas { width: 100%; position: relative; }

.nch-chart__skeleton {
	position: absolute;
	inset: 0;
	border-radius: var(--nch-r-sm);
	background: linear-gradient(100deg, var(--nch-line-2) 30%, #f8fafd 50%, var(--nch-line-2) 70%);
	background-size: 220% 100%;
	animation: nch-shimmer 1.4s linear infinite;
}

@keyframes nch-shimmer {
	from { background-position: 140% 0; }
	to   { background-position: -40% 0; }
}

@media (prefers-reduced-motion: reduce) {
	.nch-chart__skeleton { animation: none; }
}

.nch-chart__error {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--nch-muted);
	font-size: 0.8125rem;
}

/* ===========================================================================
   16. Baskets, drops, mini stats
   ======================================================================== */

.nch-basket {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	background: var(--nch-white);
	border: 1px solid var(--nch-line);
	border-left: 4px solid var(--nch-line);
	border-radius: var(--nch-r-md);
	padding: 1rem 1.125rem;
	text-decoration: none;
	color: inherit;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.nch-basket:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(229, 1, 35, 0.18); }
.nch-basket--up   { border-left-color: var(--nch-up); }
.nch-basket--down { border-left-color: var(--nch-down); }
.nch-basket--flat { border-left-color: var(--nch-muted); }

.nch-basket__name {
	font-family: var(--nch-display);
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--nch-ink);
}

.nch-basket__cap {
	font-family: var(--nch-display);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.nch-basket__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.nch-basket__count { font-size: 0.6875rem; color: var(--nch-muted); font-family: var(--nch-ui); }
.nch-basket__top { font-size: 0.6875rem; color: var(--nch-muted); font-family: var(--nch-ui); }

.nch-drop {
	background: var(--nch-white);
	border: 1px solid var(--nch-line);
	border-radius: var(--nch-r-md);
	padding: 1.125rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.nch-drop__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

.nch-drop__link {
	font-family: var(--nch-ui);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--nch-brand);
	text-decoration: none;
	margin-top: auto;
}

.nch-drop__link:hover { text-decoration: underline; }

.nch-ministats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
	gap: 0.5rem;
	margin: 0;
}

.nch-ministats dt {
	font-family: var(--nch-ui);
	font-size: 0.625rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nch-muted);
	margin: 0;
}

.nch-ministats dd {
	margin: 0.1rem 0 0;
	font-family: var(--nch-display);
	font-weight: 700;
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
	color: var(--nch-ink);
}

/* ===========================================================================
   17. Prediction card
   ======================================================================== */

.nch-pred__signals {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 0.75rem;
}

.nch-pred__signal { display: flex; flex-direction: column; gap: 0.25rem; }

.nch-pred__signal span {
	font-family: var(--nch-ui);
	font-size: 0.625rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nch-muted);
}

.nch-pred__signal strong {
	font-family: var(--nch-display);
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}

.nch-pred__split {
	display: flex;
	height: 8px;
	border-radius: 999px;
	overflow: hidden;
	background: var(--nch-line-2);
}

.nch-pred__seg--buy  { background: var(--nch-up); }
.nch-pred__seg--neu  { background: var(--nch-line); }
.nch-pred__seg--sell { background: var(--nch-down); }

.nch-pred__legend {
	display: flex;
	gap: 0.85rem;
	margin: 0;
	font-size: 0.75rem;
	color: var(--nch-muted);
	font-family: var(--nch-ui);
}

.nch-pred__legend .up   { color: var(--nch-up); font-weight: 600; }
.nch-pred__legend .down { color: var(--nch-down); font-weight: 600; }

.nch-table--pred { min-width: 320px; }

/* ===========================================================================
   18. Whales
   ======================================================================== */

.nch-whale--mega .nch-num--px { color: var(--nch-brand); }
.nch-whale--mega td { background: rgba(229, 1, 35, 0.035); }
.nch-whale--big .nch-num--px { color: var(--nch-ink); font-weight: 700; }

.nch-whales__total {
	margin: 0.875rem 0 0;
	font-size: 0.8125rem;
	color: var(--nch-ink-2);
}

/* ===========================================================================
   19. Tabs
   ======================================================================== */

.nch-tabs { margin-bottom: 1.5rem; border-bottom: 1px solid var(--nch-line); }

.nch-tabs ul {
	display: flex;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.nch-tabs ul::-webkit-scrollbar { display: none; }

.nch-tab {
	display: inline-block;
	font-family: var(--nch-ui);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--nch-muted);
	text-decoration: none;
	padding: 0.6rem 0.9rem;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.nch-tab:hover { color: var(--nch-ink); }
.nch-tab--active { color: var(--nch-ink); border-bottom-color: var(--nch-brand); }

/* ===========================================================================
   20. Hero, promo, empty states, misc
   ======================================================================== */

.nch-hero {
	background: var(--nch-tint-grad);
	color: var(--nch-ink);
	border: 1px solid var(--nch-tint-border);
	border-radius: var(--nch-r-lg);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	margin-bottom: 1.25rem;
	position: relative;
	overflow: hidden;
}

.nch-hero::after {
	content: "";
	position: absolute;
	inset-inline-end: -12%;
	inset-block-start: -40%;
	width: 46%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(229, 1, 35, 0.12), transparent 62%);
	pointer-events: none;
}

.nch-hero h1 {
	font-family: var(--nch-display);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 600;
	line-height: 1.375;
	margin: 0 0 0.6rem;
	color: var(--nch-ink);
	max-width: 22ch;
}

.nch-hero p {
	margin: 0;
	color: var(--wp--preset--color--neutral-400, #25334b);
	max-width: 68ch;
	font-size: 1rem;
	line-height: 1.55;
}

.nch-hero__meta {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-top: 1.25rem;
	position: relative;
	z-index: 1;
}

.nch-hero__meta > div { display: flex; flex-direction: column; gap: 0.15rem; }

.nch-hero__meta dt,
.nch-hero__meta .k {
	font-family: var(--nch-font);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25rem;
	color: var(--nch-brand);
}

.nch-hero__meta dd,
.nch-hero__meta .v {
	margin: 0;
	font-family: var(--nch-display);
	font-weight: 600;
	font-size: 1.75rem;
	line-height: 2.25rem;
	font-variant-numeric: tabular-nums;
	color: var(--nch-ink);
}

/* Hero stats sit on white tiles, matching the halving widget. */
.nch-hero__meta > div {
	background: var(--nch-white);
	border-radius: var(--nch-r-sm);
	padding: 0.75rem 1rem;
	min-width: 150px;
}

.nch-promo {
	background: var(--nch-band-grad);
	color: var(--nch-ink);
	border-radius: var(--nch-r-lg);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	margin-block: 2.5rem;
}

.nch-promo h3 {
	font-family: var(--nch-display);
	font-size: 2rem;
	font-weight: 600;
	line-height: 2.75rem;
	margin: 0 0 0.75rem;
	color: var(--nch-ink);
}

.nch-promo p { color: var(--wp--preset--color--neutral-400, #25334b); margin: 0 0 1.25rem; max-width: 60ch; }

.nch-promo__stats {
	display: flex;
	gap: 1.75rem;
	flex-wrap: wrap;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.nch-promo__stats strong {
	display: block;
	font-family: var(--nch-display);
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--nch-brand);
	font-variant-numeric: tabular-nums;
}

.nch-promo__stats span { font-size: 0.875rem; color: var(--nch-ink-2); font-family: var(--nch-font); }

.nch-promo__stats li {
	background: var(--nch-white);
	border-radius: var(--nch-r-sm);
	padding: 0.75rem 1rem;
}

.nch-empty {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	background: var(--nch-surface);
	border: 1px dashed var(--nch-line);
	border-radius: var(--nch-r);
	padding: 1.5rem;
	text-align: center;
	color: var(--nch-ink-2);
	font-size: 0.875rem;
}

.nch-empty strong { font-family: var(--nch-display); color: var(--nch-ink); }

.nch-adminnote {
	position: fixed;
	inset-block-end: 12px;
	inset-inline-start: 12px;
	z-index: 9999;
	max-width: 420px;
	background: #23282d;
	color: #fff;
	font: 400 12px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	padding: 10px 14px;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nch-home--snapshot { margin-block: 0; }

/* Prose blocks inside hub templates */
.nch-prose { max-width: 72ch; font-size: 0.9375rem; line-height: 1.65; color: var(--nch-ink-2); }
.nch-prose h3 { font-family: var(--nch-display); color: var(--nch-ink); margin: 1.5rem 0 0.5rem; font-size: 1.0625rem; }
.nch-prose p { margin: 0 0 0.75rem; }
.nch-prose ul { margin: 0 0 0.75rem; padding-left: 1.1rem; }
.nch-prose li { margin-bottom: 0.3rem; }
.nch-prose a { color: var(--nch-brand); }

.nch-cols {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

@media (min-width: 1024px) {
	.nch-cols--sidebar { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Job health list on the methodology page */
.nch-jobs { display: grid; gap: 0.5rem; }

.nch-job {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 0.75rem;
	align-items: center;
	background: var(--nch-white);
	border: 1px solid var(--nch-line);
	border-left: 4px solid var(--nch-up);
	border-radius: var(--nch-r-sm);
	padding: 0.6rem 0.9rem;
	font-size: 0.8125rem;
}

.nch-job--error { border-left-color: var(--nch-down); }
.nch-job__name { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; color: var(--nch-ink); }
.nch-job__meta { color: var(--nch-muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
	.nch-job { grid-template-columns: 1fr auto; }
}

/* ===========================================================================
   21. Host-theme adjustments on hub routes
   ---------------------------------------------------------------------------
   Scoped to body.nch-hub-route, so nothing here can affect an ordinary page.
   ======================================================================== */

/*
 * The theme's header.php always renders .nnbtc-header__wrapper, which contains
 * the page title block. A hub URL has no WP_Post behind it, so that block comes
 * out empty — but the wrapper keeps its 24px top / 40px bottom padding, leaving
 * a ~64px blank gap between the navigation and the page content.
 *
 * WP 7.0's get_template_part() exposes only an action, not a filter that can
 * short-circuit the load, so this is collapsed in CSS rather than in PHP.
 */
.nch-hub-route .nnbtc-header__wrapper {
	display: none;
}

/* The breadcrumb bar is kept — Seo::yoast_breadcrumb_links() populates it with
   the hub trail — but it should sit tight against the content below it. */
.nch-hub-route .nnbtc-breadcrumbs__wrapper {
	padding-bottom: 0;
}

.nch-hub-route .nnbtc-breadcrumbs {
	padding-bottom: 0.5rem;
}

/* Our own <main> then owns the top spacing, at a normal section rhythm. */
.nch-hub-route .nch-main {
	padding-top: 1.5rem;
}

.nch-hub-route .nch-main > .nch-wrap > .nch-section:first-of-type,
.nch-hub-route .nch-main > .nch-wrap > .nch-hero:first-child {
	margin-top: 0;
}
