/*
Theme Name: Nothing But Geek
Theme URI: https://nothingbutgeek.com
Author: TORINITI
Author URI: https://nothingbutgeek.com
Description: Custom editorial WordPress theme for NothingButGeek.com — a design-first, breaking-news front page for games, music, film, TV and tech. Built to Magoo DeLeon's October 2026 spec: nine real categories (News, Movies, TV, Trailers, Video Games, Comics, Books, Reviews, Board Games/Toys), review score badges, a weekly Dispatch newsletter block and no page builders. Design: ESPN x Billboard structure (black masthead, headlines ticker, scorebug metadata, chart-ranked lists) in the NBG Brand Essentials skin — Electric Blue, Signal Cyan, Graphite, Ice, Space Grotesk display type.
Version: 1.3.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nothing-but-geek
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ============ Design tokens (v1.3: ESPN x Billboard structure, Brand Essentials skin) ============ */
:root {
	--paper: #ffffff;
	--ice: #f1f6fa;
	--ink: #101820;
	--ink-2: #1a2634;
	--muted: #6b6f74;
	--meta-on-dark: #a7abb0;
	--line: #dde4ea;
	--line-dark: #2a3644;
	--blue: #145cff;
	--cyan: #00d4ff;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-display: "Space Grotesk", "Inter", -apple-system, sans-serif;
	--wrap: 1280px;
	--radius: 6px;
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.nbg-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto;
	background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000;
}

/* ============ Buttons / kickers / chips / scorebug ============ */
.nbg-btn {
	display: inline-block; padding: 12px 24px; border-radius: 2px;
	font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
	letter-spacing: 0.08em; text-transform: uppercase;
	border: 2px solid transparent; cursor: pointer;
}
.nbg-btn:hover { text-decoration: none; }
.nbg-btn-primary { background: var(--blue); color: #fff; }
.nbg-btn-primary:hover { background: var(--ink); color: #fff; }
.nbg-btn-ink { background: var(--ink); color: #fff; }
.nbg-btn-ink:hover { background: var(--blue); color: #fff; }

.nbg-kicker {
	display: inline-block; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
	margin-bottom: 8px;
}
.nbg-kicker-small { font-size: 0.78rem; margin-bottom: 4px; }
a.nbg-kicker:hover { color: var(--ink); text-decoration: none; }

.nbg-new-chip {
	display: inline-block; vertical-align: middle; margin-left: 10px;
	background: var(--blue); color: #fff; padding: 3px 8px 2px;
	font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
	letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2;
}

/* Scorebug: black box, white numeral, cyan edge. */
.nbg-score-badge {
	display: inline-flex; align-items: stretch; gap: 0;
	background: var(--ink); color: #fff; border-left: 5px solid var(--cyan);
	border-radius: 2px; overflow: hidden;
}
.nbg-score-value {
	font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1;
	padding: 7px 10px 5px; color: #fff;
}
.nbg-score-label {
	display: flex; align-items: center; padding: 0 12px 0 2px;
	font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
	letter-spacing: 0.11em; text-transform: uppercase; color: var(--blue);
}

/* ============ Header ============ */
.nbg-site-header { background: var(--paper); border-bottom: 3px solid var(--ink); position: relative; z-index: 50; }

.nbg-topbar { background: var(--ink); color: #e8e8e6; font-size: 0.78rem; }
.nbg-topbar-inner { display: flex; align-items: center; gap: 18px; padding-top: 8px; padding-bottom: 8px; }
.nbg-topbar-date { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; }
.nbg-topbar-tag { color: var(--meta-on-dark); }
.nbg-socials { margin-left: auto; }
.nbg-socials ul { display: flex; gap: 14px; }
.nbg-socials a { color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; }
.nbg-socials a:hover { color: var(--blue); text-decoration: none; }

.nbg-masthead-inner { display: flex; align-items: center; gap: 28px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.nbg-branding .custom-logo { max-height: 56px; width: auto; }
.nbg-site-name {
	font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 700;
	letter-spacing: 0.01em; color: var(--ink); text-transform: uppercase; line-height: 0.95;
}
.nbg-site-name:hover { color: var(--blue); text-decoration: none; }

.nbg-menu-toggle { display: none; background: var(--ink); border: 0; border-radius: 2px; padding: 10px 12px; cursor: pointer; margin-left: auto; }
.nbg-menu-toggle-bar { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; }

.nbg-primary-nav { margin-left: auto; }
.nbg-nav-list { display: flex; gap: 2px; flex-wrap: wrap; }
.nbg-nav-list > li > a {
	display: block; padding: 8px 13px; color: var(--ink);
	font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
	letter-spacing: 0.06em; text-transform: uppercase;
}
.nbg-nav-list > li > a:hover { background: var(--ink); color: #fff; text-decoration: none; }
.nbg-nav-list > li.current-menu-item > a { background: var(--blue); color: #fff; text-decoration: none; }
.nbg-nav-list .sub-menu {
	display: none; position: absolute; background: var(--paper); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 8px; min-width: 200px; box-shadow: 0 18px 40px rgba(16, 24, 32, 0.14);
}
.nbg-nav-list li { position: relative; }
.nbg-nav-list li:hover > .sub-menu, .nbg-nav-list li:focus-within > .sub-menu { display: block; }
.nbg-nav-list .sub-menu a { display: block; padding: 8px 12px; border-radius: 4px; color: var(--ink); font-weight: 600; }
.nbg-nav-list .sub-menu a:hover { background: var(--ice); color: var(--blue); text-decoration: none; }

.nbg-header-search .search-form { display: flex; gap: 6px; }
.nbg-header-search .search-field {
	border: 1px solid var(--line); border-radius: 2px; padding: 9px 14px; font: inherit; font-size: 0.9rem; background: var(--ice);
}
.nbg-header-search .search-submit {
	border: 0; border-radius: 2px; background: var(--blue); color: #fff;
	font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 9px 16px; cursor: pointer;
}
.nbg-header-search .search-submit:hover { background: var(--ink); }

/* Ticker (ESPN): black bar, blue label chip, cyan separators. */
.nbg-ticker { background: var(--ink); color: #fff; border-top: 3px solid var(--cyan); }
.nbg-ticker-inner { display: flex; align-items: stretch; gap: 0; }
.nbg-ticker-label {
	background: var(--blue); color: #fff; flex: 0 0 auto; z-index: 2;
	display: flex; align-items: center; padding: 8px 14px;
	font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase;
}
.nbg-ticker-viewport { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; }
.nbg-ticker-track {
	display: flex; align-items: center; width: max-content;
	animation: nbg-ticker-scroll 32s linear infinite;
}
.nbg-ticker:hover .nbg-ticker-track { animation-play-state: paused; }
.nbg-ticker-track li { display: flex; align-items: center; }
.nbg-ticker-track a {
	color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
	letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; padding: 8px 0;
}
.nbg-ticker-track a:hover { color: var(--cyan); text-decoration: none; }
.nbg-ticker-track li::after { content: "///"; color: var(--cyan); font-weight: 700; margin: 0 20px; }
@keyframes nbg-ticker-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ============ Sections, shared ============ */
.nbg-main { display: block; }
.nbg-section { padding: 56px 0; }
.nbg-section-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.nbg-section-title {
	font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; margin: 0;
}
.nbg-section-title::after { content: "."; color: var(--blue); }
.nbg-section-sub { color: var(--muted); font-size: 1rem; margin: 0; }
.nbg-empty-note { color: var(--muted); font-style: italic; }
.nbg-empty { background: var(--ice); border: 1px dashed var(--line); border-radius: var(--radius); padding: 36px; text-align: center; }

.nbg-grid { display: grid; gap: 26px; }
.nbg-grid-4 { grid-template-columns: repeat(4, 1fr); }
.nbg-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.nbg-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.nbg-card:hover { border-color: var(--ink); box-shadow: 0 8px 22px rgba(16, 24, 32, 0.08); }
.nbg-card-media img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.nbg-card-body { padding: 18px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.nbg-card-title {
	font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
	text-transform: uppercase; line-height: 1.02; letter-spacing: 0.01em; margin: 0 0 6px;
}
.nbg-card-title a { color: var(--ink); }
.nbg-card-title a:hover { color: var(--blue); text-decoration: none; }
.nbg-card-meta { color: var(--muted); font-size: 0.8rem; margin: 0; }
.nbg-card .nbg-score-badge { margin-top: 10px; transform: scale(0.82); transform-origin: left center; }

/* ============ Hero (Billboard cover story + scorebug meta) ============ */
.nbg-hero { background: var(--paper); color: var(--ink); padding: 44px 0 52px; border-bottom: 1px solid var(--line); }
.nbg-hero-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 40px; }
/* Scorebug row: blue category chip + black timestamp block. */
.nbg-hero-meta { display: flex; align-items: stretch; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.nbg-hero-chip {
	background: var(--blue); color: #fff; padding: 6px 12px 4px;
	font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
	letter-spacing: 0.11em; text-transform: uppercase; line-height: 1.25;
}
.nbg-hero-chip:hover { background: var(--ink); color: #fff; text-decoration: none; }
.nbg-hero-timeblock {
	background: var(--ink); color: #fff; padding: 6px 12px 4px;
	display: inline-flex; align-items: center;
	font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
	letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.25;
}
.nbg-hero-timeblock time { color: #fff; }
.nbg-hero-title {
	font-family: var(--font-display); font-size: clamp(2.9rem, 6.2vw, 5.2rem); font-weight: 700;
	text-transform: uppercase; line-height: 0.92; letter-spacing: 0.005em; margin-bottom: 16px;
}
.nbg-hero-title a { color: var(--ink); }
.nbg-hero-title a:hover { color: var(--blue); text-decoration: none; }
.nbg-hero-excerpt { color: #333436; font-size: 1.13rem; max-width: 56ch; }
.nbg-hero-media { display: block; margin-top: 26px; border-radius: var(--radius); overflow: hidden; }
.nbg-hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nbg-empty-hero { background: var(--ice); border-color: var(--line); }
.nbg-empty-hero p { color: var(--muted); }
.nbg-empty-hero .nbg-hero-title { color: var(--ink); }

.nbg-hero-rail { border-left: 1px solid var(--line); padding-left: 28px; }
.nbg-rail-title {
	font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.nbg-rail-list { display: flex; flex-direction: column; }
.nbg-rail-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.nbg-rail-item:first-child { border-top: 0; padding-top: 0; }
.nbg-rail-thumb img { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; }
.nbg-rail-link {
	color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
	text-transform: uppercase; line-height: 1.08; display: block;
}
.nbg-rail-link:hover { color: var(--blue); text-decoration: none; }
.nbg-rail-time { color: var(--muted); font-size: 0.76rem; margin: 4px 0 0; }

/* ============ On the Radar (alt gray band) ============ */
.nbg-radar { background: var(--ice); }

/* ============ THE CHART (Billboard ranked rows) ============ */
.nbg-picks { background: var(--paper); }
.nbg-chart-kicker { font-size: 0.95rem; letter-spacing: 0.18em; margin-bottom: 6px; }
.nbg-picks-list { border-bottom: 1px solid var(--line); }
.nbg-pick { display: flex; gap: 22px; padding: 18px 12px; border-top: 1px solid var(--line); align-items: flex-start; }
.nbg-pick:hover { background: var(--ice); }
.nbg-pick-number {
	font-family: var(--font-display); font-size: 3.1rem; font-weight: 700; color: var(--blue);
	line-height: 0.85; min-width: 62px;
}
.nbg-pick-link {
	color: var(--ink); font-family: var(--font-display); font-size: 1.55rem; font-weight: 600;
	text-transform: uppercase; line-height: 1.02; display: inline;
}
.nbg-pick-link:hover { color: var(--blue); text-decoration: none; }
.nbg-pick-meta { color: var(--muted); font-size: 0.8rem; margin: 5px 0 0; }

/* ============ Category tiles (black, blue index numbers) ============ */
.nbg-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nbg-tile {
	background: var(--ink); border: 1px solid var(--ink); border-radius: 4px;
	padding: 20px 22px; display: flex; align-items: center; gap: 14px; color: #fff;
}
.nbg-tile:hover { background: var(--blue); color: #fff; text-decoration: none; border-color: var(--blue); }
.nbg-tile-number { font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: 1.05rem; }
.nbg-tile:hover .nbg-tile-number { color: #fff; }
.nbg-tile-name {
	font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
	text-transform: uppercase; letter-spacing: 0.03em; flex: 1; line-height: 1;
}
.nbg-tile-arrow { font-size: 1.3rem; color: #fff; }

/* ============ Feed ============ */
.nbg-feed { background: var(--ice); }
.nbg-feed-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.nbg-filter {
	display: inline-block; padding: 7px 16px 5px; border-radius: 2px; border: 1px solid var(--line);
	background: var(--paper); color: var(--ink);
	font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
	text-transform: uppercase; letter-spacing: 0.08em;
}
.nbg-filter:hover { border-color: var(--ink); color: var(--blue); text-decoration: none; }
.nbg-filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.nbg-card.is-filtered-out { display: none; }

/* ============ Geek Lab ============ */
.nbg-lab { background: var(--paper); }
.nbg-lab-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.nbg-lab-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.nbg-lab-body .nbg-score-badge { margin-bottom: 18px; }
.nbg-lab-title {
	font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
	text-transform: uppercase; line-height: 0.95;
}
.nbg-lab-title a { color: var(--ink); }
.nbg-lab-title a:hover { color: var(--blue); text-decoration: none; }
.nbg-lab-excerpt { color: #333436; }
.nbg-lab-meta { color: var(--muted); font-size: 0.82rem; }

/* ============ Press Play ============ */
.nbg-play-card .nbg-play-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.nbg-play-media img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.nbg-play-icon {
	position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%;
	background: rgba(20, 92, 255, 0.92);
}
.nbg-play-icon::after {
	content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
	border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.nbg-play-title {
	font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
	text-transform: uppercase; line-height: 1.05; margin: 12px 0 4px;
}
.nbg-play-title a { color: var(--ink); }
.nbg-play-title a:hover { color: var(--blue); text-decoration: none; }
.nbg-play-meta { color: var(--muted); font-size: 0.8rem; margin: 0; }

/* ============ Dispatch ============ */
.nbg-dispatch { background: var(--ink); color: #fff; }
.nbg-dispatch-inner { max-width: 760px; }
.nbg-dispatch-title {
	font-family: var(--font-display); font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700;
	text-transform: uppercase; line-height: 0.92;
}
.nbg-dispatch-sub { color: #c9c9c7; font-size: 1.1rem; }
.nbg-dispatch-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.nbg-dispatch-form input[type="email"] {
	flex: 1 1 320px; padding: 14px 18px; border-radius: 2px; border: 0; font: inherit;
}
.nbg-dispatch-note {
	background: var(--ink-2); color: #fff; border-left: 5px solid var(--blue);
	padding: 14px 18px; border-radius: 2px; font-weight: 600;
}

/* ============ Archives / index / search ============ */
.nbg-archive-wrap { padding: 48px 24px 64px; }
.nbg-archive-head { margin-bottom: 30px; }
.nbg-archive-title {
	font-family: var(--font-display); font-size: clamp(2.4rem, 5.2vw, 3.8rem); font-weight: 700;
	text-transform: uppercase; line-height: 0.95;
}
.nbg-archive-desc { color: var(--muted); max-width: 65ch; }
.nbg-search-term { color: var(--blue); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	padding: 9px 15px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper);
	color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1rem;
	letter-spacing: 0.05em;
}
.pagination .page-numbers:hover { border-color: var(--ink); color: var(--blue); text-decoration: none; }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.nbg-empty-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0; }
.nbg-empty-cats a {
	padding: 8px 15px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--ink);
	font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.nbg-empty-cats a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* ============ Single post ============ */
.nbg-single-wrap { padding: 48px 24px 64px; max-width: 900px; }
.nbg-single-title {
	font-family: var(--font-display); font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 700;
	text-transform: uppercase; line-height: 0.95;
}
.nbg-single-meta { color: var(--muted); font-size: 0.88rem; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nbg-single-media { margin: 28px 0; }
.nbg-single-media img { width: 100%; border-radius: var(--radius); }
.nbg-single-media figcaption { color: var(--muted); font-size: 0.82rem; margin-top: 8px; }
.nbg-single-content { font-size: 1.08rem; }
.nbg-single-content a { color: var(--blue); }
.nbg-single-content img { border-radius: 4px; }
.nbg-single-content blockquote {
	border-left: 5px solid var(--blue); margin: 24px 0; padding: 6px 0 6px 20px;
	font-size: 1.2rem; font-weight: 600; color: var(--ink-2);
}
.nbg-single-content table { border-collapse: collapse; width: 100%; margin: 22px 0; background: var(--paper); }
.nbg-single-content th, .nbg-single-content td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.nbg-single-content th { background: var(--ink); color: #fff; }
.nbg-tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.nbg-tag-list a {
	background: var(--paper); border: 1px solid var(--line); color: var(--ink); padding: 6px 13px; border-radius: 2px;
	font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.nbg-tag-list a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.post-navigation { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 24px; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 24px; }
.nbg-postnav-label {
	display: block; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
	letter-spacing: 0.11em; text-transform: uppercase; color: var(--blue);
}
.nbg-postnav-title { font-weight: 800; color: var(--ink); }
.nbg-page-links { margin: 20px 0; display: flex; gap: 8px; }

/* ============ 404 ============ */
.nbg-404-wrap { padding: 64px 24px 80px; }
.nbg-404 { text-align: center; max-width: 680px; margin: 0 auto; }
.nbg-404-code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 12rem); font-weight: 700; color: var(--blue); line-height: 0.9; margin: 0; }
.nbg-404-title {
	font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 700; text-transform: uppercase;
}
.nbg-404 .search-form { display: flex; gap: 8px; justify-content: center; margin: 22px 0; }
.nbg-404 .search-field { border: 1px solid var(--line); border-radius: 2px; padding: 12px 18px; font: inherit; min-width: 280px; }
.nbg-404 .search-submit {
	border: 0; border-radius: 2px; background: var(--blue); color: #fff;
	font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 12px 20px; cursor: pointer;
}
.nbg-404 .search-submit:hover { background: var(--ink); }

/* ============ Footer ============ */
.nbg-site-footer { background: var(--ink); color: #c9c9c7; padding: 56px 0 0; }
.nbg-footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 36px; }
.nbg-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.nbg-site-footer h3 {
	color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
	letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 14px;
}
.nbg-site-name-footer { color: #fff; }
.nbg-site-name-footer:hover { color: var(--blue); }
.nbg-footer-tag { color: var(--meta-on-dark); }
.nbg-footer-cats ul, .nbg-footer-menu-list, .nbg-footer-socials ul { display: flex; flex-direction: column; gap: 9px; }
.nbg-site-footer a { color: #c9c9c7; font-weight: 600; }
.nbg-site-footer a:hover { color: var(--blue); text-decoration: none; }
.nbg-footer-bottom { border-top: 1px solid var(--line-dark); padding: 18px 0; font-size: 0.85rem; color: var(--meta-on-dark); }
.nbg-footer-bottom p { margin: 0; }
.nbg-footer-credit {
	font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
	letter-spacing: 0.13em; text-transform: uppercase; color: var(--meta-on-dark);
	margin-top: 6px !important;
}
.widget-title { font-size: 1rem; font-weight: 800; }

/* ============ Comments (basic) ============ */
.comments-area { margin-top: 44px; }
.comment-list .comment { border-top: 1px solid var(--line); padding: 18px 0; }
.comment-reply-title, .comments-title { font-weight: 900; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
	.nbg-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.nbg-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.nbg-hero-grid { grid-template-columns: 1fr; }
	.nbg-hero-rail { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
	.nbg-lab-card { grid-template-columns: 1fr; }
	.nbg-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.nbg-menu-toggle { display: block; }
	.nbg-primary-nav { display: none; width: 100%; margin-left: 0; }
	.nbg-primary-nav.is-open { display: block; }
	.nbg-nav-list { flex-direction: column; gap: 2px; padding: 10px 0; }
	.nbg-nav-list .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding-left: 16px; }
	.nbg-header-search { width: 100%; }
	.nbg-tiles { grid-template-columns: 1fr 1fr; }
	.nbg-topbar-tag { display: none; }
	.nbg-ticker-label { padding: 8px 10px; font-size: 0.85rem; }
	.nbg-pick-number { font-size: 2.4rem; min-width: 48px; }
	.nbg-pick-link { font-size: 1.3rem; }
}
@media (max-width: 520px) {
	body { font-size: 16px; }
	.nbg-grid-4, .nbg-grid-3, .nbg-tiles { grid-template-columns: 1fr; }
	.nbg-footer-grid, .nbg-footer-widgets { grid-template-columns: 1fr; }
	.nbg-section { padding: 40px 0; }
	.nbg-dispatch-form { flex-direction: column; }
	.nbg-dispatch-form .nbg-btn { width: 100%; }
}

/* ============ Reduced motion: ticker becomes a static wrapped list ============ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.nbg-ticker-viewport { overflow: visible; }
	.nbg-ticker-track { animation: none; flex-wrap: wrap; width: auto; }
	.nbg-ticker-track a { white-space: normal; }
}
