/* ==========================================================================
   SB Pass Theme
   Stadium at night: navy ground, trophy-silver detail, one gold accent.
   The scoreboard countdown is the signature; everything else stays quiet.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--sbpt-night: #0B1F3A;
	--sbpt-deep: #13294B;
	--sbpt-board: #061430;
	--sbpt-gold: #F2B705;
	--sbpt-gold-ink: #0B1F3A;
	--sbpt-silver: #C9D2E1;

	--sbpt-paper: #F5F7FA;
	--sbpt-surface: #FFFFFF;
	--sbpt-ink: #0B1F3A;
	--sbpt-muted: #4A5A75;
	--sbpt-line: #D5DBE5;
	--sbpt-soft: #E9EEF5;

	--sbpt-display: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', sans-serif;
	--sbpt-body: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;

	--sbpt-wrap: 1240px;
	--sbpt-read: 720px;
	--sbpt-radius: 6px;
	--sbpt-gutter: clamp(1rem, 4vw, 2rem);

	/* GeneratePress global colors follow ours. */
	--contrast: var(--sbpt-ink);
	--contrast-2: var(--sbpt-muted);
	--contrast-3: var(--sbpt-line);
	--base: var(--sbpt-soft);
	--base-2: var(--sbpt-paper);
	--base-3: var(--sbpt-surface);
	--accent: var(--sbpt-night);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--sbpt-paper: #081428;
		--sbpt-surface: #0E2140;
		--sbpt-ink: #EEF2F8;
		--sbpt-muted: #AAB7CC;
		--sbpt-line: #24406A;
		--sbpt-soft: #13294B;
		--accent: var(--sbpt-gold);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--sbpt-paper: #081428;
	--sbpt-surface: #0E2140;
	--sbpt-ink: #EEF2F8;
	--sbpt-muted: #AAB7CC;
	--sbpt-line: #24406A;
	--sbpt-soft: #13294B;
	--accent: var(--sbpt-gold);
	color-scheme: dark;
}

/* ---------- Base ---------- */
body {
	background: var(--sbpt-paper);
	color: var(--sbpt-ink);
	font-family: var(--sbpt-body);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.entry-content a,
.sbpt-author__link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4,
.entry-title {
	font-family: var(--sbpt-display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: .005em;
	color: var(--sbpt-ink);
}
.entry-title { font-size: clamp(2.4rem, 5vw, 3.6rem); text-transform: uppercase; }
.entry-content h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 2.4em 0 .5em; }
.entry-content h3 { font-size: 1.5rem; margin: 1.8em 0 .4em; }

:focus-visible {
	outline: 3px solid var(--sbpt-gold);
	outline-offset: 2px;
	border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Header (GeneratePress) ---------- */
.site-header,
.main-navigation,
.main-navigation ul ul {
	background: var(--sbpt-night);
	color: #fff;
}
.inside-header { padding-block: .9rem; }
.main-title a,
.site-title a {
	font-family: var(--sbpt-display);
	font-weight: 900;
	font-size: 1.75rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #fff;
}
.site-description { color: var(--sbpt-silver); }
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
}
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus-within > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: var(--sbpt-gold);
	background: transparent;
}
.main-navigation .menu-bar-items { gap: .5rem; align-items: center; }

.sbpt-pill {
	display: inline-flex;
	align-items: baseline;
	gap: .4rem;
	padding: .3rem .8rem;
	border: 1px solid #36507A;
	border-radius: 999px;
	font-size: .9rem;
	white-space: nowrap;
}
.sbpt-pill__label { color: var(--sbpt-silver); }
.sbpt-pill__value { font-family: var(--sbpt-display); font-size: 1.15rem; color: var(--sbpt-gold); letter-spacing: .02em; }

.sbpt-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #36507A;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.sbpt-theme-toggle:hover { color: var(--sbpt-gold); border-color: var(--sbpt-gold); background: transparent; }
@media (max-width: 768px) { .sbpt-pill { display: none; } }

/* ---------- Buttons ---------- */
.sbpt-btn {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: .7rem 1.5rem;
	border-radius: var(--sbpt-radius);
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background-color .15s, color .15s;
}
.sbpt-btn--gold { background: var(--sbpt-gold); color: var(--sbpt-gold-ink); }
.sbpt-btn--gold:hover { background: #FFCB2E; color: var(--sbpt-gold-ink); }
.sbpt-btn--ghost { border-color: currentColor; color: #fff; }
.sbpt-btn--ghost:hover { background: #fff; color: var(--sbpt-night); }
.sbpt-btn--navy { background: var(--sbpt-night); color: #fff; }
.sbpt-btn--navy:hover { background: var(--sbpt-deep); color: #fff; }

/* ---------- Front page frame ---------- */
.sbpt-home .site.grid-container { max-width: none; padding: 0; }
.sbpt-home .site-content { display: block; padding: 0; }
.sbpt-front { padding-bottom: 5rem; }

/* ---------- Hero ---------- */
.sbpt-hero {
	position: relative;
	overflow: hidden;
	background: var(--sbpt-night);
	color: #fff;
	padding: clamp(2.5rem, 6vw, 5rem) var(--sbpt-gutter) 6.5rem;
}
.sbpt-hero::before {
	content: "LXI";
	position: absolute;
	right: -2vw;
	top: 50%;
	transform: translateY(-55%);
	font-family: var(--sbpt-display);
	font-weight: 900;
	font-size: clamp(14rem, 34vw, 30rem);
	line-height: .8;
	color: transparent;
	-webkit-text-stroke: 2px rgba(201, 210, 225, .09);
	pointer-events: none;
}
.sbpt-hero__wrap {
	position: relative;
	max-width: var(--sbpt-wrap);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}
.sbpt-hero__copy { flex: 1 1 520px; min-width: 0; }
.sbpt-hero__board { flex: 1 1 400px; min-width: 0; }
.sbpt-hero__date {
	margin: 0 0 1rem;
	display: inline-block;
	padding: .25rem .7rem;
	background: var(--sbpt-gold);
	color: var(--sbpt-gold-ink);
	font-weight: 700;
	border-radius: 3px;
}
.sbpt-hero__title {
	margin: 0;
	font-family: var(--sbpt-display);
	font-weight: 900;
	font-size: clamp(3.8rem, 10vw, 8rem);
	line-height: .88;
	text-transform: uppercase;
	color: #fff;
}
.sbpt-hero__sub {
	margin: 1.4rem 0 2rem;
	max-width: 34em;
	font-size: 1.2rem;
	line-height: 1.55;
	color: #D3DCEB;
}
.sbpt-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Yard lines along the bottom of the hero. */
.sbpt-hero__field {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 28px;
	background:
		repeating-linear-gradient(90deg, rgba(201, 210, 225, .35) 0 2px, transparent 2px 64px),
		repeating-linear-gradient(90deg, rgba(201, 210, 225, .18) 0 1px, transparent 1px 12.8px);
	-webkit-mask-image: linear-gradient(to top, #000, transparent);
	mask-image: linear-gradient(to top, #000, transparent);
}

/* ---------- Scoreboard (the signature) ---------- */
.sbpt-board {
	background: var(--sbpt-board);
	border: 1px solid #22406E;
	border-radius: 10px;
	padding: clamp(1.25rem, 3vw, 2rem);
	box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .02);
}
.sbpt-board__head { margin: 0 0 1rem; color: var(--sbpt-silver); font-weight: 600; }
.sbpt-board__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.sbpt-board__cell {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem .25rem .7rem;
	background: #0A1D3D;
	border-radius: 6px;
}
.sbpt-board__cell::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 44%;
	height: 1px;
	background: rgba(0, 0, 0, .55);
}
.sbpt-board__num {
	font-family: var(--sbpt-display);
	font-weight: 800;
	font-size: clamp(2.6rem, 6vw, 4.2rem);
	line-height: 1;
	color: var(--sbpt-gold);
	font-variant-numeric: tabular-nums;
	text-shadow: 0 0 18px rgba(242, 183, 5, .25);
}
.sbpt-board__unit { margin-top: .4rem; font-size: .9rem; color: var(--sbpt-silver); }
.sbpt-board__foot { margin: 1rem 0 0; color: #fff; font-weight: 600; }

/* ---------- Facts strip ---------- */
.sbpt-facts-strip {
	position: relative;
	max-width: var(--sbpt-wrap);
	margin: -3.25rem auto 0;
	padding: 0 var(--sbpt-gutter);
}
.sbpt-facts-strip__list {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	background: var(--sbpt-surface);
	border: 1px solid var(--sbpt-line);
	border-radius: 10px;
	overflow: hidden;
}
.sbpt-fact { padding: 1.1rem 1.25rem; border-right: 1px solid var(--sbpt-line); border-bottom: 1px solid var(--sbpt-line); margin-right: -1px; margin-bottom: -1px; }
.sbpt-fact dt { font-size: .9rem; color: var(--sbpt-muted); font-weight: 600; }
.sbpt-fact dd { margin: .2rem 0 0; font-family: var(--sbpt-display); font-weight: 800; font-size: 1.45rem; line-height: 1.15; }

/* ---------- Sections ---------- */
.sbpt-section {
	max-width: var(--sbpt-wrap);
	margin: clamp(3rem, 7vw, 5rem) auto 0;
	padding: 0 var(--sbpt-gutter);
}
.sbpt-section--dark {
	max-width: none;
	background: var(--sbpt-night);
	color: #fff;
	padding: clamp(3rem, 6vw, 4.5rem) max(var(--sbpt-gutter), calc((100% - var(--sbpt-wrap)) / 2 + var(--sbpt-gutter)));
}
.sbpt-section--dark .sbpt-h2 { color: #fff; }
.sbpt-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.sbpt-h2 {
	margin: 0 0 1.5rem;
	font-family: var(--sbpt-display);
	font-weight: 900;
	font-size: clamp(2rem, 4vw, 3rem);
	text-transform: uppercase;
	line-height: 1;
}
.sbpt-section__head .sbpt-h2 { margin: 0; }
.sbpt-more { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- News cards ---------- */
.sbpt-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.sbpt-card { background: var(--sbpt-surface); border: 1px solid var(--sbpt-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.sbpt-card__media { display: block; aspect-ratio: 16 / 9; background: var(--sbpt-deep); }
.sbpt-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sbpt-card__ph {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	font-family: var(--sbpt-display);
	font-weight: 900;
	font-size: 3.5rem;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(201, 210, 225, .45);
}
.sbpt-card__body { padding: 1rem 1.15rem 1.25rem; }
.sbpt-card__meta { margin: 0; display: flex; gap: .8rem; font-size: .9rem; color: var(--sbpt-muted); font-weight: 600; }
.sbpt-card__title { margin: .35rem 0 0; font-family: var(--sbpt-body); font-weight: 700; font-size: 1.15rem; line-height: 1.35; }
.sbpt-card__title a { text-decoration: none; }
.sbpt-card__title a:hover { text-decoration: underline; }

/* ---------- Topics (yard markers, not boxes) ---------- */
.sbpt-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem 2.5rem; }
.sbpt-topic {
	display: flex;
	flex-direction: column;
	gap: .4rem;
	padding-top: 1rem;
	border-top: 3px solid var(--sbpt-gold);
	text-decoration: none;
	color: #fff;
}
.sbpt-topic__title { font-family: var(--sbpt-display); font-weight: 800; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.sbpt-topic__text { color: #C3CEE0; font-size: 1.02rem; line-height: 1.5; }
.sbpt-topic:hover .sbpt-topic__title { color: var(--sbpt-gold); }

/* ---------- Road to the Super Bowl ---------- */
.sbpt-road {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: center;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--sbpt-surface);
	border: 1px solid var(--sbpt-line);
	border-radius: 10px;
}
.sbpt-road__copy { flex: 1 1 340px; min-width: 0; }
.sbpt-road__copy p { color: var(--sbpt-muted); margin: 0 0 1.25rem; }
.sbpt-road__copy .sbpt-h2 { margin-bottom: .75rem; }
.sbpt-road__data, .sbpt-matchup { flex: 1 1 440px; min-width: 0; }
.sbpt-matchup {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--sbpt-soft);
	border-radius: 8px;
	text-align: center;
}
.sbpt-matchup__team { display: flex; flex-direction: column; gap: .3rem; padding: 1.25rem .5rem; background: var(--sbpt-surface); border-radius: 6px; }
.sbpt-matchup__conf { font-size: .9rem; color: var(--sbpt-muted); font-weight: 600; }
.sbpt-matchup__name { font-family: var(--sbpt-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; }
.sbpt-matchup__vs { font-family: var(--sbpt-display); font-weight: 900; font-size: 1.5rem; color: var(--sbpt-muted); }

/* ---------- Tools ---------- */
.sbpt-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.sbpt-tool { padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: 10px; }
.sbpt-tool p { margin: .5rem 0 1.25rem; font-size: 1.1rem; }
.sbpt-tool__title { margin: 0; font-family: var(--sbpt-display); font-weight: 900; font-size: 2.2rem; text-transform: uppercase; line-height: 1; }
.sbpt-tool--gold { background: var(--sbpt-gold); color: var(--sbpt-gold-ink); }
.sbpt-tool--gold .sbpt-tool__title { color: var(--sbpt-gold-ink); }
.sbpt-tool--navy { background: var(--sbpt-night); color: #fff; }
.sbpt-tool--navy .sbpt-tool__title { color: #fff; }
.sbpt-tool--navy p { color: #D3DCEB; }

.sbpt-home-content { max-width: var(--sbpt-read); }

/* ---------- Ads (reserved height = no layout shift) ---------- */
.sbpt-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 2rem auto;
	min-height: 100px;
	max-width: 100%;
	overflow: hidden;
}
.sbpt-ad::before { content: "Advertisement"; font-size: .75rem; color: var(--sbpt-muted); margin-bottom: .3rem; }
.sbpt-ad--content { min-height: 280px; }
.sbpt-ad--wide { max-width: var(--sbpt-wrap); padding: 0 var(--sbpt-gutter); }
@media (min-width: 769px) {
	.sbpt-ad--top, .sbpt-ad--wide { min-height: 110px; }
}

/* ---------- Articles ---------- */
.separate-containers .inside-article,
.one-container .site-content { background: var(--sbpt-surface); }
.inside-article { border-radius: 10px; }
.entry-content > * { max-width: var(--sbpt-read); }
.entry-content > .alignwide, .entry-content > .alignfull { max-width: none; }

.sbpt-crumbs { font-size: .9rem; color: var(--sbpt-muted); margin: 0 0 1rem; }
.sbpt-crumbs a { text-decoration: underline; text-underline-offset: 2px; }

.sbpt-byline { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: .75rem 0 1.5rem; font-size: .95rem; color: var(--sbpt-muted); }
.sbpt-byline a { font-weight: 700; color: var(--sbpt-ink); text-decoration: none; }
.sbpt-updated { display: inline-block; margin-right: .35rem; padding: .05rem .5rem; background: var(--sbpt-gold); color: var(--sbpt-gold-ink); border-radius: 3px; font-weight: 700; font-size: .85rem; }

/* Answer box: the paragraph AI Overviews quote. */
.sbpt-answer {
	margin: 0 0 2rem;
	padding: 1.25rem 1.5rem 1.4rem;
	background: var(--sbpt-night);
	color: #fff;
	border-radius: 8px;
	border-top: 5px solid var(--sbpt-gold);
}
.sbpt-answer p { margin: 0; }
.sbpt-answer .sbpt-answer__label { font-weight: 700; color: var(--sbpt-gold); font-size: .95rem; margin-bottom: .35rem; }
.sbpt-answer .sbpt-answer__text { font-size: 1.2rem; line-height: 1.55; }
.entry-content .sbpt-answer a { color: var(--sbpt-gold); }

/* Facts table */
.sbpt-facts table { border-collapse: collapse; width: 100%; border: 1px solid var(--sbpt-line); }
.sbpt-facts th, .sbpt-facts td { padding: .75rem 1rem; border-bottom: 1px solid var(--sbpt-line); text-align: left; vertical-align: top; }
.sbpt-facts th { width: 34%; background: var(--sbpt-soft); font-weight: 700; }

/* Comparison table */
.sbpt-compare { overflow-x: auto; }
.sbpt-compare table { border-collapse: collapse; width: 100%; min-width: 560px; }
.sbpt-compare thead th { background: var(--sbpt-night); color: #fff; text-align: left; padding: .75rem 1rem; }
.sbpt-compare td { padding: .75rem 1rem; border-bottom: 1px solid var(--sbpt-line); }
.sbpt-compare tbody tr:nth-child(even) td { background: var(--sbpt-soft); }

/* Timeline (a real sequence, so numbered) */
.sbpt-timeline { list-style: none; counter-reset: sbpt; padding-left: 0; margin-left: 0; }
.sbpt-timeline li { counter-increment: sbpt; position: relative; padding: 0 0 1.1rem 3rem; }
.sbpt-timeline li::before {
	content: counter(sbpt);
	position: absolute;
	left: 0;
	top: .1rem;
	width: 2rem;
	height: 2rem;
	display: grid;
	place-items: center;
	background: var(--sbpt-night);
	color: var(--sbpt-gold);
	font-family: var(--sbpt-display);
	font-weight: 800;
	border-radius: 50%;
}
.sbpt-timeline li:not(:last-child)::after { content: ""; position: absolute; left: calc(1rem - 1px); top: 2.3rem; bottom: .2rem; width: 2px; background: var(--sbpt-line); }
.sbpt-timeline strong { display: block; }

/* Sources + note */
.sbpt-sources { margin-top: 3rem; padding-top: 1.25rem; border-top: 2px solid var(--sbpt-ink); font-size: .95rem; }
.entry-content .sbpt-sources__title { font-size: 1.3rem; margin: 0 0 .5rem; }
.sbpt-note { padding: 1rem 1.25rem; background: var(--sbpt-soft); border-radius: 8px; }
.sbpt-note p { margin: 0; }

/* Rank Math FAQ block */
.rank-math-faq-item { border-bottom: 1px solid var(--sbpt-line); padding: 1rem 0; }
.rank-math-faq-item .rank-math-question { margin: 0 0 .35rem; font-family: var(--sbpt-body); font-weight: 700; font-size: 1.15rem; line-height: 1.4; text-transform: none; }
.rank-math-faq-item .rank-math-answer p { margin: 0; color: var(--sbpt-muted); }

/* Author box */
.sbpt-author { display: flex; gap: 1rem; align-items: flex-start; margin-top: 3rem; padding: 1.25rem 0; border-top: 1px solid var(--sbpt-line); border-bottom: 1px solid var(--sbpt-line); }
.sbpt-author__img { border-radius: 50%; flex: none; }
.sbpt-author__name { margin: 0; font-weight: 700; }
.sbpt-author__bio { margin: .25rem 0 .5rem; color: var(--sbpt-muted); font-size: .98rem; }

/* ---------- Footer ---------- */
.site-footer, .site-info, .footer-widgets { background: var(--sbpt-night); color: #C3CEE0; }
.site-info a, .footer-widgets a { color: #fff; }
.site-info { font-size: .9rem; }

/* ---------- Mobile bottom bar ---------- */
.sbpt-mobile-bar { display: none; }
@media (max-width: 768px) {
	.sbpt-mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		background: var(--sbpt-deep);
		border-top: 1px solid #2C4570;
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.sbpt-mobile-bar a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: .15rem;
		min-height: 60px;
		color: #fff;
		font-size: .8rem;
		font-weight: 700;
		text-decoration: none;
	}
	.sbpt-mobile-bar a:hover, .sbpt-mobile-bar a:focus-visible { color: var(--sbpt-gold); }
	body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }

	body { font-size: 17px; }
	.sbpt-hero { padding-bottom: 5.5rem; }
	.sbpt-facts-strip { margin-top: -2.75rem; }
	.sbpt-fact dd { font-size: 1.25rem; }
	.sbpt-matchup { grid-template-columns: 1fr; }
}
