/*
Theme Name: BBNaija Today
Theme URI: https://bbnaijatoday.com
Author: BBNaija Today
Author URI: https://bbnaijatoday.com
Description: Independent fan news theme for BBNaija Today — season trackers, housemate profiles, eviction coverage.
Version: 1.4.0
Requires at least: 6.4
Requires PHP: 8.0
Tested up to: 7.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bbnt
*/

/* ==========================================================================
   BBNT Design Tokens
   Palette: ink #141216, surface #FFFFFF, paper #FAF6EF, amber #FFB300, red #E0322C, muted #6B6570
   Type: Barlow Condensed (display), Public Sans (body)
   ========================================================================== */

:root {
	--bbnt-ink: #141216;
	--bbnt-surface: #ffffff;
	--bbnt-paper: #faf6ef;
	--bbnt-amber: #ffb300;
	--bbnt-red: #e0322c;
	--bbnt-muted: #6b6570;
	--bbnt-border: #e7e0d3;
	--bbnt-ink-70: rgba(20, 18, 22, 0.7);
	--bbnt-white-85: rgba(255, 255, 255, 0.85);

	--bbnt-font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--bbnt-font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--bbnt-radius: 4px;
	--bbnt-container: 1180px;
}

@font-face {
	font-family: "Barlow Condensed";
	src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bbnt-paper);
	color: var(--bbnt-ink);
	font-family: var(--bbnt-font-body);
	font-size: 1rem;
	line-height: 1.55;
	font-weight: 400;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--bbnt-ink);
	text-decoration-color: var(--bbnt-amber);
	text-decoration-thickness: 2px;
}

a:hover {
	color: var(--bbnt-red);
}

h1,
h2,
h3,
h4 {
	font-family: var(--bbnt-font-display);
	font-weight: 700;
	line-height: 1.08;
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1.1em;
}

ul,
ol {
	padding-left: 1.25em;
}

button,
input,
textarea,
select {
	font-family: inherit;
	font-size: 1rem;
}

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--bbnt-amber);
	color: var(--bbnt-ink);
	padding: 10px 16px;
	z-index: 10000;
	font-weight: 600;
}

.skip-link:focus {
	top: 0;
}

.bbnt-container {
	max-width: var(--bbnt-container);
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================================================
   Spotlight motif — amber underline bars
   ========================================================================== */

.bbnt-heading {
	position: relative;
	display: inline-block;
	padding-bottom: 10px;
	font-family: var(--bbnt-font-display);
	font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.bbnt-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 4px;
	background: var(--bbnt-amber);
}

.bbnt-section {
	padding: 36px 0;
}

/* LIVE / breaking badge */
.bbnt-badge-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bbnt-red);
	color: #fff;
	font-family: var(--bbnt-font-body);
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 10px 4px 8px;
	border-radius: 999px;
}

.bbnt-badge-live::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	animation: bbnt-pulse 1.6s infinite;
}

@keyframes bbnt-pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.35;
	}
}

.bbnt-badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--bbnt-ink);
	color: #fff;
}

.bbnt-badge-amber {
	background: var(--bbnt-amber);
	color: var(--bbnt-ink);
}

/* ==========================================================================
   Header
   ========================================================================== */

.bbnt-topbar {
	background: var(--bbnt-ink);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 500;
	border-bottom: 3px solid var(--bbnt-amber);
}

.bbnt-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 20px;
	min-height: 44px;
}

.bbnt-logo {
	font-family: var(--bbnt-font-display);
	font-weight: 700;
	font-size: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.bbnt-logo:hover {
	color: #fff;
}

.bbnt-logo .bbnt-logo-accent {
	color: var(--bbnt-amber);
}

.bbnt-nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	border-radius: var(--bbnt-radius);
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
}

.bbnt-primary-nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.bbnt-primary-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	color: var(--bbnt-white-85);
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	border-bottom: 3px solid transparent;
}

.bbnt-primary-nav a:hover,
.bbnt-primary-nav a:focus {
	color: #fff;
	border-bottom-color: var(--bbnt-amber);
}

@media (max-width: 780px) {
	.bbnt-nav-toggle {
		display: inline-flex;
	}
	.bbnt-primary-nav {
		display: none;
		width: 100%;
		order: 3;
	}
	.bbnt-primary-nav.is-open {
		display: block;
	}
	.bbnt-primary-nav ul {
		flex-direction: column;
		gap: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.15);
	}
	.bbnt-primary-nav a {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	.bbnt-topbar-inner {
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   Hero / breaking strip
   ========================================================================== */

.bbnt-hero {
	background: var(--bbnt-ink);
	color: #fff;
	padding: 28px 0 34px;
}

.bbnt-hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.bbnt-hero-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 20px;
}

.bbnt-hero-main a {
	color: #fff;
	text-decoration: none;
}

.bbnt-hero-main h1,
.bbnt-hero-main h2 {
	font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
	margin: 10px 0;
}

.bbnt-hero-thumb {
	aspect-ratio: 16 / 10;
	background: #232025;
	border-radius: var(--bbnt-radius);
	overflow: hidden;
	margin-bottom: 12px;
}

.bbnt-hero-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bbnt-hero-excerpt {
	color: var(--bbnt-white-85);
	font-size: 1.02rem;
}

.bbnt-hero-side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	border-left: 1px solid rgba(255, 255, 255, 0.15);
	padding-left: 20px;
}

.bbnt-hero-side-item a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.98rem;
	display: block;
}

.bbnt-hero-side-item a:hover {
	color: var(--bbnt-amber);
}

@media (max-width: 780px) {
	.bbnt-hero-grid {
		grid-template-columns: 1fr;
	}
	.bbnt-hero-side {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.15);
		padding-top: 14px;
	}
}

/* Trackers nav strip */
.bbnt-trackers {
	background: var(--bbnt-surface);
	border-bottom: 1px solid var(--bbnt-border);
}

.bbnt-trackers-inner {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	padding: 12px 0;
}

.bbnt-tracker-chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	background: var(--bbnt-paper);
	border: 1px solid var(--bbnt-border);
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.85rem;
	text-decoration: none;
	color: var(--bbnt-ink);
}

.bbnt-tracker-chip:hover {
	background: var(--bbnt-amber);
	border-color: var(--bbnt-amber);
	color: var(--bbnt-ink);
}

/* ==========================================================================
   Content layout — two column
   ========================================================================== */

.bbnt-layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	padding: 36px 0 60px;
	align-items: start;
}

.bbnt-layout.bbnt-layout-full {
	grid-template-columns: 1fr;
}

@media (max-width: 900px) {
	.bbnt-layout {
		grid-template-columns: 1fr;
	}
}

/* Post grid / cards */
.bbnt-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 900px) {
	.bbnt-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

.bbnt-card {
	background: var(--bbnt-surface);
	border: 1px solid var(--bbnt-border);
	border-radius: var(--bbnt-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.bbnt-card-thumb {
	aspect-ratio: 16 / 10;
	background: #ece5d6;
	overflow: hidden;
}

.bbnt-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bbnt-card-body {
	padding: 14px 16px 18px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.bbnt-card-cat {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bbnt-red);
	margin-bottom: 6px;
}

.bbnt-card h3 {
	font-size: 1.15rem;
	margin: 0 0 8px;
}

.bbnt-card h3 a {
	color: var(--bbnt-ink);
	text-decoration: none;
}

.bbnt-card-meta {
	margin-top: auto;
	padding-top: 10px;
	font-size: 0.8rem;
	color: var(--bbnt-muted);
}

/* Article */
.bbnt-article-header {
	margin-bottom: 20px;
}

.bbnt-article-header .bbnt-badge,
.bbnt-article-header .bbnt-badge-live {
	margin-bottom: 10px;
}

.bbnt-article-header h1 {
	font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
}

.bbnt-article-meta {
	color: var(--bbnt-muted);
	font-size: 0.9rem;
	margin-top: 8px;
}

.bbnt-article-thumb {
	aspect-ratio: 16 / 9;
	background: #ece5d6;
	border-radius: var(--bbnt-radius);
	overflow: hidden;
	margin-bottom: 24px;
}

.bbnt-article-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bbnt-entry-content {
	font-size: 1.05rem;
}

.bbnt-entry-content h2 {
	font-size: 1.5rem;
	margin-top: 1.4em;
}

.bbnt-entry-content h3 {
	font-size: 1.2rem;
	margin-top: 1.2em;
}

.bbnt-entry-content blockquote {
	margin: 1.4em 0;
	padding: 4px 0 4px 18px;
	border-left: 4px solid var(--bbnt-amber);
	font-style: italic;
	color: var(--bbnt-muted);
}

.bbnt-entry-content img {
	border-radius: var(--bbnt-radius);
}

.bbnt-breadcrumb {
	font-size: 0.8rem;
	color: var(--bbnt-muted);
	margin-bottom: 16px;
}

.bbnt-breadcrumb a {
	color: var(--bbnt-muted);
	text-decoration: none;
}

.bbnt-breadcrumb a:hover {
	color: var(--bbnt-red);
}

.bbnt-tags {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bbnt-tags a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	background: var(--bbnt-paper);
	border: 1px solid var(--bbnt-border);
	border-radius: 999px;
	font-size: 0.8rem;
	text-decoration: none;
	color: var(--bbnt-ink);
}

/* Pagination */
.bbnt-pagination {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 30px;
}

.bbnt-pagination a,
.bbnt-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 10px;
	border: 1px solid var(--bbnt-border);
	border-radius: var(--bbnt-radius);
	text-decoration: none;
	color: var(--bbnt-ink);
	font-weight: 600;
	font-size: 0.85rem;
}

.bbnt-pagination .current {
	background: var(--bbnt-amber);
	border-color: var(--bbnt-amber);
}

.bbnt-pagination a:hover {
	border-color: var(--bbnt-ink);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.bbnt-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.bbnt-widget {
	background: var(--bbnt-surface);
	border: 1px solid var(--bbnt-border);
	border-radius: var(--bbnt-radius);
	padding: 18px;
}

.bbnt-widget-title {
	font-family: var(--bbnt-font-display);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.05rem;
	letter-spacing: 0.02em;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--bbnt-amber);
}

.bbnt-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbnt-widget li + li {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--bbnt-border);
}

.bbnt-widget li a {
	text-decoration: none;
	color: var(--bbnt-ink);
	font-weight: 600;
	font-size: 0.92rem;
}

.bbnt-widget li a:hover {
	color: var(--bbnt-red);
}

.bbnt-search-form {
	display: flex;
	gap: 8px;
}

.bbnt-search-form input[type="search"] {
	flex: 1;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--bbnt-border);
	border-radius: var(--bbnt-radius);
	background: var(--bbnt-paper);
}

.bbnt-search-form button {
	min-width: 44px;
	min-height: 44px;
	background: var(--bbnt-ink);
	color: #fff;
	border: none;
	border-radius: var(--bbnt-radius);
	font-weight: 600;
	cursor: pointer;
}

.bbnt-search-form button:hover {
	background: var(--bbnt-red);
}

.bbnt-vote-promo {
	background: var(--bbnt-ink);
	color: #fff;
	border: none;
}

.bbnt-vote-promo .bbnt-widget-title {
	color: #fff;
	border-bottom-color: var(--bbnt-amber);
}

.bbnt-vote-promo p {
	color: var(--bbnt-white-85);
	font-size: 0.9rem;
}

.bbnt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	background: var(--bbnt-amber);
	color: var(--bbnt-ink);
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--bbnt-radius);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-size: 0.88rem;
}

.bbnt-btn:hover {
	background: #ffc636;
	color: var(--bbnt-ink);
}

.bbnt-eeat-card p {
	font-size: 0.88rem;
	color: var(--bbnt-muted);
}

/* ==========================================================================
   Housemate CPT
   ========================================================================== */

.bbnt-housemate-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

@media (max-width: 900px) {
	.bbnt-housemate-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.bbnt-housemate-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.bbnt-housemate-card {
	position: relative;
	background: var(--bbnt-surface);
	border: 1px solid var(--bbnt-border);
	border-radius: var(--bbnt-radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--bbnt-ink);
	display: block;
}

.bbnt-housemate-thumb {
	aspect-ratio: 3 / 4;
	background: #ece5d6;
	overflow: hidden;
}

.bbnt-housemate-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bbnt-housemate-status {
	position: absolute;
	top: 10px;
	left: 10px;
}

.bbnt-housemate-card-body {
	padding: 10px 12px 14px;
}

.bbnt-housemate-card-body h3 {
	font-size: 1.05rem;
	margin: 0;
}

.bbnt-housemate-card-body .bbnt-hm-meta {
	font-size: 0.78rem;
	color: var(--bbnt-muted);
}

.bbnt-housemate-profile {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 28px;
}

@media (max-width: 700px) {
	.bbnt-housemate-profile {
		grid-template-columns: 1fr;
	}
}

.bbnt-housemate-photo {
	aspect-ratio: 3 / 4;
	background: #ece5d6;
	border-radius: var(--bbnt-radius);
	overflow: hidden;
}

.bbnt-housemate-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bbnt-housemate-facts {
	margin-top: 16px;
	border: 1px solid var(--bbnt-border);
	border-radius: var(--bbnt-radius);
	overflow: hidden;
}

.bbnt-housemate-facts dl {
	display: grid;
	grid-template-columns: 100px 1fr;
	margin: 0;
}

.bbnt-housemate-facts dt {
	padding: 10px 12px;
	background: var(--bbnt-paper);
	font-weight: 600;
	font-size: 0.82rem;
	border-top: 1px solid var(--bbnt-border);
}

.bbnt-housemate-facts dt:first-child {
	border-top: none;
}

.bbnt-housemate-facts dd {
	padding: 10px 12px;
	margin: 0;
	border-top: 1px solid var(--bbnt-border);
	font-size: 0.9rem;
}

.bbnt-housemate-facts dd:first-of-type {
	border-top: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.bbnt-footer {
	background: var(--bbnt-ink);
	color: var(--bbnt-white-85);
	margin-top: 40px;
	padding: 40px 0 28px;
}

.bbnt-footer a {
	color: #fff;
	text-decoration: none;
}

.bbnt-footer a:hover {
	color: var(--bbnt-amber);
}

.bbnt-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 24px;
	margin-bottom: 24px;
}

@media (max-width: 700px) {
	.bbnt-footer-grid {
		grid-template-columns: 1fr;
	}
}

.bbnt-footer h4 {
	font-family: var(--bbnt-font-display);
	text-transform: uppercase;
	font-size: 1rem;
	color: #fff;
	letter-spacing: 0.04em;
}

.bbnt-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbnt-footer li {
	margin-bottom: 8px;
	font-size: 0.9rem;
}

.bbnt-footer-disclaimer {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 18px;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.5;
}

.bbnt-footer-bottom {
	margin-top: 14px;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.5);
}

/* Comments (WP default form) minimal styling */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--bbnt-border);
	border-radius: var(--bbnt-radius);
	background: var(--bbnt-surface);
	font-size: 1rem;
}

.comment-form textarea {
	min-height: 120px;
	padding: 12px;
}

.comment-form .form-submit input {
	background: var(--bbnt-amber);
	color: var(--bbnt-ink);
	border: none;
	font-weight: 700;
	min-height: 44px;
	padding: 0 20px;
	border-radius: var(--bbnt-radius);
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Share row */
.bbnt-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:28px 0 8px;padding-top:18px;border-top:2px solid #141216}
.bbnt-share-label{font-family:var(--bbnt-font-display,'Barlow Condensed',sans-serif);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.95rem;color:#141216}
.bbnt-share-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:2px solid #141216;background:#fff;color:#141216;font-weight:600;font-size:.95rem;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}
.bbnt-share-btn:hover,.bbnt-share-btn:focus-visible{background:#141216;color:#ffb300}
.bbnt-share-wa:hover,.bbnt-share-wa:focus-visible{background:#1da851;color:#fff;border-color:#1da851}
.bbnt-share-copy.bbnt-copied{background:#ffb300;border-color:#ffb300;color:#141216}
@media(prefers-color-scheme:dark){}

/* Photo credit */
.bbnt-photo-credit{font-size:.75rem;color:#6b6570;margin:6px 0 0}

/* ---- 404 ---- */
.bbnt-404-code {
	font-family: var(--bbnt-font-display);
	font-size: clamp(96px, 18vw, 180px);
	font-weight: 700;
	line-height: 0.9;
	color: var(--bbnt-amber);
	margin: 8px 0 4px;
	letter-spacing: 0.02em;
	text-shadow: 6px 6px 0 var(--bbnt-ink);
}

.bbnt-404-lead {
	max-width: 56ch;
	color: var(--bbnt-muted);
	margin: 14px 0 20px;
}

.bbnt-404-search {
	max-width: 480px;
	margin-bottom: 20px;
}

.bbnt-404-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.bbnt-404-latest-heading {
	margin-bottom: 20px;
}

/* ==========================================================================
   v1.4.0 — Article authority pass: mobile-first typography, editorial meta,
   responsive data tables (tracker / schedule / any entry content)
   ========================================================================== */

/* Article header — editorial kicker + structured meta */
.bbnt-article-kicker {
	display: inline-block;
	font-family: var(--bbnt-font-display);
	font-weight: 700;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--bbnt-red);
	text-decoration: none;
	margin-bottom: 10px;
}

.bbnt-article-kicker:hover {
	color: var(--bbnt-ink);
}

.bbnt-article-header {
	padding-bottom: 18px;
	border-bottom: 3px solid var(--bbnt-ink);
	margin-bottom: 22px;
}

.bbnt-article-header h1 {
	max-width: 26ch;
}

.bbnt-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-top: 12px;
	font-size: 0.85rem;
}

.bbnt-article-meta .bbnt-meta-author {
	font-weight: 600;
	color: var(--bbnt-ink);
}

.bbnt-article-meta time,
.bbnt-article-meta .bbnt-meta-updated {
	color: var(--bbnt-muted);
}

.bbnt-meta-updated::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--bbnt-amber);
	margin-right: 14px;
	vertical-align: 2px;
}

/* Entry content — reading rhythm */
.bbnt-entry-content {
	line-height: 1.68;
}

.bbnt-entry-content > p,
.bbnt-entry-content > ul,
.bbnt-entry-content > ol {
	max-width: 70ch;
}

.bbnt-entry-content li {
	margin-bottom: 0.4em;
}

.bbnt-entry-content h2 {
	padding-top: 0.35em;
	border-top: 1px solid var(--bbnt-border);
	margin-top: 1.7em;
}

.bbnt-entry-content figure {
	margin: 1.6em 0;
}

.bbnt-entry-content figcaption {
	font-size: 0.8rem;
	color: var(--bbnt-muted);
	margin-top: 8px;
}

.bbnt-entry-content hr {
	border: 0;
	border-top: 1px solid var(--bbnt-border);
	margin: 2em 0;
}

/* Data tables — authoritative, self-scrolling on narrow screens */
.bbnt-table-wrap {
	margin: 1.6em 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--bbnt-border);
	border-radius: var(--bbnt-radius);
	background: var(--bbnt-surface);
}

.bbnt-entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	margin: 0;
}

.bbnt-table-wrap + * {
	margin-top: 1.1em;
}

.bbnt-entry-content thead th {
	background: var(--bbnt-ink);
	color: var(--bbnt-paper);
	font-family: var(--bbnt-font-display);
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-align: left;
	padding: 12px 16px;
	border-bottom: 3px solid var(--bbnt-amber);
	white-space: nowrap;
}

.bbnt-entry-content tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--bbnt-border);
	vertical-align: top;
}

.bbnt-entry-content tbody tr:last-child td {
	border-bottom: 0;
}

.bbnt-entry-content tbody tr:nth-child(even) td {
	background: var(--bbnt-paper);
}

.bbnt-entry-content tbody td:first-child {
	font-weight: 600;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.bbnt-entry-content thead th,
	.bbnt-entry-content tbody td {
		padding: 10px 12px;
		font-size: 0.875rem;
	}

	.bbnt-entry-content {
		font-size: 1rem;
	}

	.bbnt-entry-content h2 {
		font-size: 1.35rem;
	}

	.bbnt-article-header h1 {
		font-size: clamp(1.55rem, 6.4vw, 2rem);
	}

	.bbnt-article-thumb {
		margin-left: -20px;
		margin-right: -20px;
		border-radius: 0;
	}
}
