/* ==========================================================================
   Cardinals Modern — Design System
   ========================================================================== */

:root {
	--color-cardinal: #c41e3a;
	--color-cardinal-dark: #9a1830;
	--color-cardinal-light: #e8354f;
	--color-navy: #0d1b2a;
	--color-navy-light: #1b2838;
	--color-gold: #d4a843;
	--color-white: #ffffff;
	--color-gray-50: #f8f9fa;
	--color-gray-100: #f1f3f5;
	--color-gray-200: #e9ecef;
	--color-gray-300: #dee2e6;
	--color-gray-500: #868e96;
	--color-gray-700: #495057;
	--color-gray-900: #212529;

	--font-display: 'Bebas Neue', 'Impact', sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;

	--container-max: 1200px;
	--header-height: 72px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-gray-900);
	background: var(--color-gray-50);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--color-cardinal);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--color-cardinal-dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.02em;
	margin: 0 0 0.5em;
}

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

.container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 1.25rem;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--color-navy);
	box-shadow: var(--shadow-md);
}

.header-top {
	border-bottom: 3px solid var(--color-cardinal);
}

.header-top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
}

.site-branding {
	flex: 1;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: var(--color-white);
}

.site-logo:hover {
	color: var(--color-white);
}

.logo-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--color-cardinal);
	border-radius: var(--radius-sm);
	font-family: var(--font-display);
	font-size: 1.75rem;
	color: var(--color-white);
	flex-shrink: 0;
}

.logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.logo-name {
	font-family: var(--font-display);
	font-size: 1.5rem;
	letter-spacing: 0.04em;
	color: var(--color-white);
}

.logo-tagline {
	font-size: 0.75rem;
	color: var(--color-gray-300);
	font-weight: 400;
	letter-spacing: 0.02em;
}

.custom-logo-link img {
	max-height: 60px;
	width: auto;
}

/* Mobile menu toggle */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 8px;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.menu-toggle-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-white);
	border-radius: 1px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Navigation */
.main-navigation {
	background: var(--color-navy-light);
}

.nav-menu {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.nav-menu > li {
	position: relative;
}

.nav-menu > li > a {
	display: block;
	padding: 0.875rem 1.125rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
	background: var(--color-cardinal);
	color: var(--color-white);
}

.nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: var(--color-white);
	box-shadow: var(--shadow-lg);
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	z-index: 100;
}

.nav-menu li:hover > .sub-menu {
	display: block;
}

.nav-menu .sub-menu a {
	display: block;
	padding: 0.625rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
	color: var(--color-gray-700);
}

.nav-menu .sub-menu a:hover {
	background: var(--color-gray-100);
	color: var(--color-cardinal);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-color: var(--color-navy);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(13, 27, 42, 0.92) 0%,
		rgba(196, 30, 58, 0.75) 100%
	);
}

.hero-content {
	position: relative;
	z-index: 1;
	padding: 4rem 0;
	color: var(--color-white);
}

.hero-eyebrow {
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-gold);
	margin: 0 0 0.5rem;
}

.hero-title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	color: var(--color-white);
	margin: 0 0 0.75rem;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
	font-size: 1.125rem;
	max-width: 540px;
	opacity: 0.9;
	margin: 0 0 2rem;
	line-height: 1.5;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
	border: 2px solid transparent;
}

.btn-primary {
	background: var(--color-cardinal);
	color: var(--color-white);
	border-color: var(--color-cardinal);
}

.btn-primary:hover {
	background: var(--color-cardinal-dark);
	border-color: var(--color-cardinal-dark);
	color: var(--color-white);
}

.btn-outline {
	background: transparent;
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
	background: var(--color-white);
	color: var(--color-navy);
	border-color: var(--color-white);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-content {
	padding: 2.5rem 0 4rem;
}

.homepage-grid,
.content-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 2rem;
	align-items: start;
}

.content-area,
.homepage-main,
.sidebar {
	min-width: 0;
}

.homepage-main {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

/* ==========================================================================
   Next Game Widget
   ========================================================================== */

.next-game-widget {
	display: flex;
	flex-direction: column;
	background: linear-gradient(135deg, var(--color-navy) 0%, #1a2f4a 55%, var(--color-cardinal-dark) 100%);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	color: var(--color-white);
}

.next-game-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	padding: 1.25rem 1.75rem;
}

.next-game-row--matchup {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.next-game-row--engage {
	align-items: stretch;
	background: rgba(0, 0, 0, 0.14);
}

.next-game-row--complete {
	border-bottom: none;
}

.next-game-matchup {
	flex: 1 1 18rem;
	min-width: 0;
}

.next-game-matchup-body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.next-game-prediction {
	flex: 1 1 22rem;
	min-width: 0;
	display: flex;
}

.next-game-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-bottom: 0.625rem;
}

.next-game-label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.next-game-badge {
	display: inline-block;
	padding: 0.25rem 0.625rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: var(--color-gold);
	color: var(--color-navy);
	border-radius: 999px;
}

.next-game-kicker {
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.65);
}

.next-game-opponent {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	color: var(--color-white);
	margin: 0;
	line-height: 1.05;
	flex: 0 1 auto;
}

.next-game-at {
	display: block;
	font-size: 0.8125rem;
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 0.2rem;
}

.next-game-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	flex: 1 1 12rem;
}

.next-game-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4375rem;
	padding: 0.4375rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	min-width: 0;
}

.next-game-chip-label {
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.5);
	flex-shrink: 0;
}

.next-game-chip-value {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-white);
	line-height: 1.2;
}

.next-game-chip--site .site-badge {
	padding: 0.0625rem 0.4375rem;
	font-size: 0.75rem;
}

.meta-label {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.5);
}

.meta-value {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-white);
}

.site-badge {
	display: inline-block;
	padding: 0.125rem 0.5rem;
	border-radius: var(--radius-sm);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	width: fit-content;
}

.site-badge--home {
	background: rgba(255, 255, 255, 0.15);
	color: var(--color-white);
}

.site-badge--away {
	background: rgba(212, 168, 67, 0.25);
	color: var(--color-gold);
}

.next-game-countdown {
	flex-shrink: 0;
	margin: 0;
	padding: 0.4375rem 0.875rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--color-navy);
	background: var(--color-gold);
	border-radius: 999px;
	line-height: 1.3;
	text-align: center;
}

.next-game-countdown--message {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0 0 1rem;
	padding: 0;
	font-size: 0.9375rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.75);
	background: transparent;
	border-radius: 0;
	text-align: left;
}

.next-game-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	flex: 0 1 auto;
	align-self: center;
}

.next-game-actions .btn {
	margin: 0;
	white-space: nowrap;
	font-size: 0.8125rem;
	padding: 0.5625rem 0.875rem;
}

.btn-discuss {
	background: var(--color-gold);
	color: var(--color-navy);
	border: 2px solid var(--color-gold);
}

.btn-discuss:hover {
	background: #e0bc5a;
	border-color: #e0bc5a;
	color: var(--color-navy);
}

.btn-gofan {
	background: #00a896;
	color: var(--color-white);
	border: 2px solid #00a896;
}

.btn-gofan:hover {
	background: #008f7f;
	border-color: #008f7f;
	color: var(--color-white);
}

.next-game-reply-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	height: 1.5rem;
	margin-left: 0.5rem;
	padding: 0 0.4375rem;
	border-radius: 999px;
	background: rgba(13, 27, 42, 0.15);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
}

.game-prediction-widget {
	margin: 0 0 1.5rem;
	padding: 1.125rem 1.25rem;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.game-prediction-widget--card {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0.875rem 1rem;
	gap: 0.875rem 1.25rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-md);
}

.game-prediction-widget--card .game-prediction-header {
	flex: 1 1 10rem;
	margin: 0;
	min-width: 0;
}

.game-prediction-widget--card .game-prediction-average {
	font-size: 0.8125rem;
}

.game-prediction-widget--card .game-prediction-form {
	flex: 1 1 14rem;
	margin: 0;
	min-width: 0;
}

.game-prediction-widget--card .game-prediction-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: end;
	gap: 0.5rem;
}

.game-prediction-widget--card .game-prediction-field {
	min-width: 0;
	flex: initial;
}

.game-prediction-widget--card .game-prediction-field-label {
	font-size: 0.6875rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.game-prediction-widget--card .game-prediction-field input {
	font-size: 1rem;
	padding: 0.4375rem 0.5rem;
}

.game-prediction-widget--card .game-prediction-separator {
	padding-bottom: 0.4375rem;
	font-size: 1.125rem;
}

.game-prediction-widget--card .btn-predict {
	width: auto;
	min-width: 6.5rem;
}

.game-prediction-widget--card .game-prediction-yours {
	margin: 0.5rem 0 0;
	font-size: 0.75rem;
	width: 100%;
}

.game-prediction-widget--card .game-prediction-share {
	flex: 1 1 10rem;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	border-top: none;
	min-width: 0;
}

.game-prediction-widget--card .game-prediction-share-link {
	font-size: 0.75rem;
}

.game-prediction-widget--card .game-prediction-notice {
	width: 100%;
	margin: 0;
}

.game-prediction-header {
	margin-bottom: 0.875rem;
}

.game-prediction-title {
	margin: 0 0 0.375rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-gold);
}

.game-prediction-average {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.375rem 0.625rem;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.game-prediction-average--empty {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.875rem;
}

.game-prediction-average-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.55);
}

.game-prediction-average-score {
	font-weight: 700;
	color: var(--color-white);
}

.game-prediction-count {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.65);
}

.game-prediction-notice {
	margin: 0 0 0.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius-sm);
	font-size: 0.8125rem;
	font-weight: 600;
}

.game-prediction-notice--success {
	background: rgba(43, 138, 62, 0.25);
	color: #b8f0c8;
}

.game-prediction-notice--error {
	background: rgba(196, 30, 58, 0.25);
	color: #ffc2cb;
}

.game-prediction-form {
	display: grid;
	gap: 0.875rem;
}

.game-prediction-fields {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.625rem 0.75rem;
}

.game-prediction-field {
	display: grid;
	gap: 0.3125rem;
	min-width: 5.5rem;
	flex: 1 1 5.5rem;
}

.game-prediction-field-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.2;
}

.game-prediction-field input {
	width: 100%;
	padding: 0.5rem 0.625rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.95);
	color: var(--color-navy);
	font: inherit;
	font-weight: 700;
	font-size: 1.125rem;
	text-align: center;
}

.game-prediction-field input:focus {
	outline: 2px solid var(--color-gold);
	outline-offset: 1px;
	border-color: var(--color-gold);
}

.game-prediction-separator {
	font-size: 1.25rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.55);
	padding-bottom: 0.5rem;
}

.btn-predict {
	margin: 0;
	width: fit-content;
	background: transparent;
	color: var(--color-white);
	border: 2px solid rgba(255, 255, 255, 0.45);
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

.btn-predict:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--color-white);
	color: var(--color-white);
}

.game-prediction-yours {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.7);
}

.game-prediction-share {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-facebook {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	background: #1877f2;
	border: none;
	color: var(--color-white);
	padding: 0.5rem 1rem;
	border-radius: var(--radius-sm);
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	cursor: pointer;
}

.btn-facebook:hover {
	background: #146cdf;
	color: var(--color-white);
}

.btn-facebook--compact {
	font-size: 0.8125rem;
	padding: 0.4375rem 0.875rem;
}

.game-prediction-share-link {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.game-prediction-share-link:hover {
	color: var(--color-white);
	text-decoration: underline;
}

.prediction-share-kicker {
	margin: 0 0 0.375rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-cardinal);
}

.prediction-share-meta {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.375rem;
	color: var(--color-gray-700);
}

.prediction-share-stats {
	margin: 0 0 1.5rem;
	padding: 1.5rem;
	border-radius: var(--radius-md);
	background: linear-gradient(135deg, var(--color-navy) 0%, #1a2f4a 100%);
	color: var(--color-white);
	text-align: center;
}

.prediction-share-stats--empty {
	background: var(--color-gray-100);
	color: var(--color-gray-700);
}

.prediction-share-stats-label {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-gold);
}

.prediction-share-score {
	margin: 0 0 0.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.75rem;
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.1;
}

.prediction-share-team {
	font-size: 0.9375rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
}

.prediction-share-numbers {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3rem);
	letter-spacing: 0.02em;
}

.prediction-share-count {
	margin: 0;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.75);
}

.prediction-share-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.last-result-card {
	flex: 0 1 13rem;
	background: rgba(0, 0, 0, 0.18);
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	padding: 0.75rem 0 0.75rem 1.25rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.25rem;
	min-width: 0;
}

.last-result-title {
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.55);
	margin: 0 0 0.75rem;
}

.last-result-matchup {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.375rem;
	color: rgba(255, 255, 255, 0.85);
}

.last-result-score {
	font-family: var(--font-display);
	font-size: 2rem;
	color: var(--color-gold);
	margin: 0 0 0.375rem;
	letter-spacing: 0.02em;
}

.last-result-date {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}

.btn-outline-dark {
	background: transparent;
	color: var(--color-navy);
	border-color: var(--color-gray-300);
}

.btn-outline-dark:hover {
	background: var(--color-navy);
	color: var(--color-white);
	border-color: var(--color-navy);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	padding: 1.75rem;
	border: 1px solid var(--color-gray-200);
}

.section-title {
	font-size: 1.75rem;
	color: var(--color-navy);
	margin: 0 0 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 3px solid var(--color-cardinal);
}

/* ==========================================================================
   Video Embed
   ========================================================================== */

.video-embed {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--color-navy);
}

.video-embed iframe,
.video-embed object,
.video-embed embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;
	color: var(--color-gray-300);
}

/* ==========================================================================
   Homepage Widgets
   ========================================================================== */

.homepage-widgets {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.widget-area .widget {
	margin-bottom: 0;
}

.widget-area .widget-title,
.widget-area h4 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--color-navy);
	margin: 0 0 1rem;
}

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

.widget-area li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--color-gray-200);
}

.widget-area li:last-child {
	border-bottom: none;
}

.widget-area img {
	border-radius: var(--radius-sm);
}

/* ==========================================================================
   News Grid
   ========================================================================== */

.homepage-news-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.homepage-news-header .section-title {
	margin-bottom: 0.25rem;
	padding-bottom: 0;
	border-bottom: none;
}

.section-subtitle {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--color-gray-500);
}

.news-source-link {
	flex-shrink: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-cardinal);
	text-decoration: none;
	padding-top: 0.375rem;
}

.news-source-link:hover {
	color: var(--color-cardinal-dark);
}

.news-fallback {
	text-align: center;
	padding: 2rem 1rem;
	color: var(--color-gray-500);
}

.news-fallback .btn {
	margin-top: 1rem;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.news-card {
	background: var(--color-gray-50);
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--color-gray-200);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.news-card-image img {
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.news-card-body {
	padding: 1.25rem;
}

.news-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.375rem;
}

.news-source {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-gray-500);
	white-space: nowrap;
}

.news-date {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-cardinal);
	margin-bottom: 0.375rem;
}

.news-title {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 0.5rem;
}

.news-title a {
	color: var(--color-navy);
	text-decoration: none;
}

.news-title a:hover {
	color: var(--color-cardinal);
}

.news-excerpt {
	font-size: 0.875rem;
	color: var(--color-gray-500);
	margin: 0;
	line-height: 1.5;
}

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

.sidebar .widget {
	background: var(--color-white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--color-gray-200);
}

.sidebar .widget-title {
	font-size: 1.25rem;
	color: var(--color-navy);
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--color-cardinal);
}

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

.sidebar li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--color-gray-200);
	font-size: 0.9375rem;
}

.sidebar li:last-child {
	border-bottom: none;
}

.recent-posts-list a {
	color: var(--color-gray-700);
}

.recent-posts-list a:hover {
	color: var(--color-cardinal);
}

.red-helmet-widget .red-helmet-tagline {
	margin: -0.25rem 0 1rem;
	font-size: 0.875rem;
	color: var(--color-gray-700);
	line-height: 1.5;
}

.red-helmet-preview {
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--color-gray-200);
	background: var(--color-navy);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.red-helmet-preview:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.red-helmet-preview-media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
}

.red-helmet-preview-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.red-helmet-play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: rgba(196, 30, 58, 0.92);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.red-helmet-play::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 0.625rem 0 0.625rem 1rem;
	border-color: transparent transparent transparent var(--color-white);
}

.red-helmet-preview-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 9rem;
	padding: 1.5rem 1rem;
	text-align: center;
	background: linear-gradient(145deg, var(--color-navy) 0%, #1a2f4a 100%);
}

.red-helmet-yt-icon {
	display: block;
	width: 3rem;
	height: 2.125rem;
	border-radius: 0.5rem;
	background: var(--color-cardinal);
	position: relative;
}

.red-helmet-yt-icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 0.4375rem 0 0.4375rem 0.75rem;
	border-color: transparent transparent transparent var(--color-white);
}

.red-helmet-channel-name {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--color-white);
	line-height: 1.3;
}

.red-helmet-preview-label {
	display: block;
	padding: 0.625rem 0.875rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-align: center;
	color: var(--color-white);
	background: var(--color-cardinal);
}

.red-helmet-preview:hover .red-helmet-preview-label {
	background: var(--color-cardinal-dark);
}

.red-helmet-video-title {
	display: block;
	padding: 0.625rem 0.875rem 0;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--color-white);
	background: var(--color-navy);
}

.red-helmet-channel-link {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	text-align: center;
}

.red-helmet-channel-link a {
	color: var(--color-cardinal);
	font-weight: 600;
	text-decoration: none;
}

.red-helmet-channel-link a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Page & Post Content
   ========================================================================== */

.page-card .entry-title {
	font-size: 2.25rem;
	color: var(--color-navy);
	margin-bottom: 1.5rem;
}

.entry-date {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-cardinal);
	margin-bottom: 0.5rem;
}

.entry-content {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--color-gray-700);
}

.entry-content h2,
.entry-content h3 {
	font-family: var(--font-display);
	color: var(--color-navy);
	margin-top: 2rem;
}

.entry-content p {
	margin: 0 0 1.25rem;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.25rem;
	padding-left: 1.5rem;
}

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

.entry-content th,
.entry-content td {
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-gray-200);
	text-align: left;
}

.entry-content th {
	background: var(--color-navy);
	color: var(--color-white);
	font-weight: 600;
}

.entry-content tr:nth-child(even) {
	background: var(--color-gray-50);
}

.entry-thumbnail {
	margin-bottom: 1.5rem;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.edit-link a {
	font-size: 0.8125rem;
	color: var(--color-gray-500);
}

/* ==========================================================================
   Schedule Page
   ========================================================================== */

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

.schedule-intro {
	color: var(--color-gray-500);
	margin: 0 0 1.5rem;
	font-size: 0.9375rem;
}

.page-share-actions {
	margin: 0 0 1.5rem;
}

.page-share-actions .btn-facebook {
	box-shadow: none;
}

.schedule-admin-link {
	margin: -0.75rem 0 1.5rem;
	font-size: 0.875rem;
}

.schedule-admin-link a {
	color: var(--color-primary);
	font-weight: 600;
}

.schedule-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--color-gray-200);
}

.schedule-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4rem;
	padding: 0.5rem 0.875rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-gray-700);
	background: var(--color-gray-100);
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: all 0.2s ease;
}

.schedule-tab:hover {
	background: var(--color-white);
	border-color: var(--color-cardinal);
	color: var(--color-cardinal);
}

.schedule-tab.is-active {
	background: var(--color-cardinal);
	border-color: var(--color-cardinal);
	color: var(--color-white);
}

.schedule-tab.is-active:hover {
	background: var(--color-cardinal-dark);
	border-color: var(--color-cardinal-dark);
	color: var(--color-white);
}

.schedule-season-title {
	font-size: 1.5rem;
	color: var(--color-navy);
	margin: 0 0 1.25rem;
}

.schedule-content table {
	width: 100%;
}

.schedule-content .tablepress {
	border-collapse: collapse;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.schedule-content .tablepress thead th {
	background: var(--color-cardinal);
	color: var(--color-white);
	font-weight: 600;
	text-align: left;
	border-bottom: 2px solid var(--color-cardinal-dark);
}

.schedule-content .tablepress tbody tr {
	background: var(--color-white);
	color: var(--color-gray-900);
}

.schedule-content .tablepress tbody tr:nth-child(even) {
	background: var(--color-gray-100);
}

.schedule-content .tablepress tbody tr:hover {
	background: var(--color-gray-200);
}

.schedule-content .tablepress td,
.schedule-content .tablepress th {
	padding: 0.625rem 0.75rem;
	border-bottom: 1px solid var(--color-gray-200);
	vertical-align: top;
}

.schedule-content .tablepress a {
	color: var(--color-cardinal);
	font-weight: 600;
	text-decoration: none;
}

.schedule-content .tablepress a:hover {
	color: var(--color-cardinal-dark);
	text-decoration: underline;
}

.schedule-discuss-col {
	white-space: nowrap;
	width: 1%;
	text-align: center;
}

.schedule-discuss-link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.625rem;
	border-radius: var(--radius-sm);
	background: var(--color-gold);
	color: var(--color-navy) !important;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none !important;
	line-height: 1.2;
}

.schedule-discuss-link:hover {
	background: #e0bc5a;
	color: var(--color-navy) !important;
}

.schedule-discuss-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.3125rem;
	border-radius: 999px;
	background: rgba(13, 27, 42, 0.15);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
}

.schedule-content .win {
	color: #2b8a3e;
	font-weight: 600;
}

.schedule-content .loss {
	color: var(--color-cardinal);
	font-weight: 600;
}

@media (max-width: 768px) {
	.schedule-page {
		padding: 1.25rem;
		width: 100%;
		max-width: 100%;
		overflow-x: clip;
	}

	.schedule-page .entry-title {
		font-size: 1.75rem;
		margin-bottom: 1rem;
		word-wrap: break-word;
	}

	.schedule-panel,
	.schedule-content {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.schedule-tabs {
		flex-wrap: nowrap;
		gap: 0.375rem;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.schedule-tabs::-webkit-scrollbar {
		display: none;
	}

	.schedule-tab {
		flex-shrink: 0;
		min-width: 3.25rem;
		padding: 0.4375rem 0.625rem;
		font-size: 0.8125rem;
	}

	.schedule-season-title {
		font-size: 1.25rem;
	}

	.schedule-content {
		overflow-x: visible;
	}

	.schedule-content.entry-content table {
		margin: 0;
	}

	.schedule-content .tablepress,
	.schedule-content .tablepress tbody,
	.schedule-content .tablepress tbody tr {
		display: block;
		width: 100%;
		max-width: 100%;
	}

	.schedule-content .tablepress {
		overflow: visible;
		border-radius: 0;
		border-collapse: separate;
	}

	.schedule-content .tablepress thead {
		display: none;
	}

	.schedule-content .tablepress tbody tr {
		margin-bottom: 0.875rem;
		padding: 0.875rem 1rem;
		border: 1px solid var(--color-gray-200);
		border-radius: var(--radius-sm);
		background: var(--color-white);
		box-shadow: var(--shadow-sm);
	}

	.schedule-content .tablepress tbody tr:nth-child(even) {
		background: var(--color-white);
	}

	.schedule-content .tablepress tbody tr:hover {
		background: var(--color-gray-50);
	}

	.schedule-content .tablepress tbody td {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 0.75rem;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		padding: 0.4375rem 0;
		border: none;
		border-bottom: 1px solid var(--color-gray-100);
		font-size: 0.875rem;
		text-align: right;
		box-sizing: border-box;
	}

	.schedule-content .tablepress tbody td:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.schedule-content .tablepress tbody td:empty {
		display: none;
	}

	.schedule-content .tablepress tbody td::before {
		content: attr(data-label);
		font-weight: 600;
		color: var(--color-gray-500);
		font-size: 0.6875rem;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		flex: 0 0 auto;
		max-width: 42%;
		text-align: left;
		padding-top: 0.125rem;
	}

	.schedule-content .tablepress tbody td:nth-child(2) {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
		padding-top: 0;
		padding-bottom: 0.625rem;
		margin-bottom: 0.25rem;
		border-bottom: 2px solid var(--color-gray-200);
		font-size: 1.125rem;
		font-weight: 700;
		color: var(--color-navy);
		text-align: left;
	}

	.schedule-content .tablepress tbody td:nth-child(2)::before {
		font-size: 0.6875rem;
		padding-top: 0;
		max-width: none;
	}

	.schedule-content .schedule-discuss-col {
		width: auto;
		max-width: 100%;
		white-space: normal;
		justify-content: space-between;
	}
}

/* ==========================================================================
   Class 2A Rankings
   ========================================================================== */

.rankings-intro {
	margin: 0 0 0.75rem;
	color: var(--color-gray-600);
	font-size: 1rem;
	line-height: 1.55;
}

.rankings-attribution {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem 1.25rem;
	margin: 0 0 1rem;
	font-size: 0.875rem;
	color: var(--color-gray-500);
}

.rankings-page .page-share-actions {
	margin: 0 0 1.75rem;
}

.rankings-attribution a {
	font-weight: 600;
	color: var(--color-cardinal);
	text-decoration: none;
}

.rankings-attribution a:hover {
	color: var(--color-cardinal-dark);
	text-decoration: underline;
}

.rankings-updated {
	color: var(--color-gray-500);
}

.rankings-empty {
	padding: 1.5rem 0;
	color: var(--color-gray-600);
}

.rankings-content {
	overflow-x: auto;
}

.rankings-table {
	width: 100%;
	border-collapse: collapse;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.rankings-table thead th {
	background: var(--color-cardinal);
	color: var(--color-white);
	font-weight: 600;
	text-align: left;
	padding: 0.625rem 0.75rem;
	border-bottom: 2px solid var(--color-cardinal-dark);
}

.rankings-table tbody tr {
	background: var(--color-white);
	color: var(--color-gray-900);
}

.rankings-table tbody tr:nth-child(even) {
	background: var(--color-gray-100);
}

.rankings-table tbody tr:hover {
	background: var(--color-gray-200);
}

.rankings-table tbody tr.is-mayfield {
	background: rgba(139, 21, 56, 0.1);
	box-shadow: inset 3px 0 0 var(--color-cardinal);
}

.rankings-table tbody tr.is-mayfield:nth-child(even),
.rankings-table tbody tr.is-mayfield:hover {
	background: rgba(139, 21, 56, 0.14);
}

.rankings-table tbody tr.is-mayfield td {
	font-weight: 600;
}

.rankings-table td,
.rankings-table th {
	padding: 0.625rem 0.75rem;
	border-bottom: 1px solid var(--color-gray-200);
	vertical-align: top;
}

.rankings-table a {
	color: var(--color-cardinal);
	font-weight: 600;
	text-decoration: none;
}

.rankings-table a:hover {
	color: var(--color-cardinal-dark);
	text-decoration: underline;
}

.rankings-teaser {
	margin: 0 0 2rem;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--color-gray-200);
}

.rankings-teaser-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.rankings-teaser-header .section-title {
	margin-bottom: 0.25rem;
	padding-bottom: 0;
	border-bottom: none;
}

.rankings-teaser-link {
	flex-shrink: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-cardinal);
	text-decoration: none;
	padding-top: 0.375rem;
}

.rankings-teaser-link:hover {
	color: var(--color-cardinal-dark);
}

.rankings-teaser-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.rankings-teaser-item {
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr) auto auto;
	align-items: baseline;
	gap: 0.75rem 1rem;
	padding: 0.625rem 0;
	border-bottom: 1px solid var(--color-gray-200);
	font-size: 0.975rem;
}

.rankings-teaser-item:last-child {
	border-bottom: none;
}

.rankings-teaser-item.is-mayfield {
	background: linear-gradient(90deg, rgba(139, 21, 56, 0.1), transparent 70%);
	margin: 0 -0.5rem;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	border-radius: var(--radius-sm);
}

.rankings-teaser-rank {
	font-family: var(--font-display);
	font-size: 1.25rem;
	letter-spacing: 0.02em;
	color: var(--color-navy);
}

.rankings-teaser-item.is-mayfield .rankings-teaser-rank,
.rankings-teaser-item.is-mayfield .rankings-teaser-name {
	color: var(--color-cardinal);
	font-weight: 700;
}

.rankings-teaser-name {
	font-weight: 600;
	color: var(--color-navy);
	min-width: 0;
}

.rankings-teaser-record,
.rankings-teaser-rating {
	font-variant-numeric: tabular-nums;
	color: var(--color-gray-600);
	white-space: nowrap;
}

.rankings-teaser-rating {
	min-width: 2.5rem;
	text-align: right;
	font-weight: 600;
	color: var(--color-gray-700);
}

@media (max-width: 768px) {
	.rankings-teaser-header {
		flex-direction: column;
		gap: 0.5rem;
	}

	.rankings-teaser-item {
		grid-template-columns: 2.5rem minmax(0, 1fr) auto;
		grid-template-areas:
			"rank name name"
			"rank record rating";
		row-gap: 0.25rem;
	}

	.rankings-teaser-rank { grid-area: rank; }
	.rankings-teaser-name { grid-area: name; }
	.rankings-teaser-record { grid-area: record; }
	.rankings-teaser-rating { grid-area: rating; }

	.rankings-table,
	.rankings-table tbody,
	.rankings-table tbody tr {
		display: block;
		width: 100%;
		max-width: 100%;
	}

	.rankings-table {
		overflow: visible;
		border-radius: 0;
		border-collapse: separate;
	}

	.rankings-table thead {
		display: none;
	}

	.rankings-table tbody tr {
		margin-bottom: 0.875rem;
		padding: 0.875rem 1rem;
		border: 1px solid var(--color-gray-200);
		border-radius: var(--radius-sm);
		background: var(--color-white);
		box-shadow: var(--shadow-sm);
	}

	.rankings-table tbody tr:nth-child(even) {
		background: var(--color-white);
	}

	.rankings-table tbody tr.is-mayfield {
		border-color: var(--color-cardinal);
		background: rgba(139, 21, 56, 0.06);
	}

	.rankings-table tbody td {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 0.75rem;
		width: 100%;
		padding: 0.4375rem 0;
		border-bottom: 1px solid var(--color-gray-100);
	}

	.rankings-table tbody td:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.rankings-table tbody td::before {
		content: attr(data-label);
		font-weight: 600;
		color: var(--color-gray-500);
		font-size: 0.6875rem;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		flex: 0 0 auto;
	}

	.rankings-table tbody td:nth-child(2) {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
		padding-top: 0;
		padding-bottom: 0.625rem;
		margin-bottom: 0.25rem;
		border-bottom: 2px solid var(--color-gray-200);
		font-size: 1.125rem;
		font-weight: 700;
		color: var(--color-navy);
	}
}

/* ==========================================================================
   Game Videos Page
   ========================================================================== */

.game-videos-content {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.5rem;
}

.game-videos-content p {
	margin: 0;
}

.game-videos-content p:has(> b:only-child),
.game-videos-content p:has(> strong:only-child) {
	grid-column: 1 / -1;
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-navy);
}

.game-videos-content a {
	display: block;
	text-decoration: none;
	border-radius: var(--radius-sm);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-videos-content a:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.game-videos-content img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 768px) {
	.game-videos-content {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 1rem;
	}
}

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

.site-footer {
	background: var(--color-navy);
	color: rgba(255, 255, 255, 0.7);
	padding: 3rem 0;
	margin-top: auto;
}

.footer-inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 2rem;
	align-items: start;
}

.footer-brand strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--color-white);
	margin-bottom: 0.5rem;
	letter-spacing: 0.04em;
}

.footer-brand p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.875rem;
	font-weight: 500;
}

.footer-links a:hover {
	color: var(--color-white);
}

.footer-copyright p {
	margin: 0;
	font-size: 0.8125rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 992px) {
	.homepage-grid,
	.content-grid {
		grid-template-columns: 1fr;
	}

	.sidebar {
		order: -1;
	}

	.footer-inner {
		grid-template-columns: 1fr 1fr;
	}

	.next-game-row {
		padding: 1.125rem 1.25rem;
	}

	.next-game-row--matchup {
		flex-direction: column;
		align-items: stretch;
	}

	.next-game-matchup-body {
		flex-direction: column;
		align-items: flex-start;
	}

	.last-result-card {
		flex: 1 1 auto;
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		padding: 1rem 0 0;
	}

	.next-game-row--engage {
		flex-direction: column;
	}

	.next-game-actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.next-game-actions .btn {
		width: 100%;
		justify-content: center;
		white-space: normal;
	}

	.game-prediction-widget--card {
		flex-direction: column;
		align-items: stretch;
	}

	.game-prediction-widget--card .game-prediction-share {
		flex-direction: column;
		align-items: flex-start;
	}

}

@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
	}

	.main-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-navy-light);
		max-height: calc(100vh - var(--header-height));
		overflow-y: auto;
		box-shadow: var(--shadow-lg);
	}

	.main-navigation.toggled {
		display: block;
	}

	.nav-menu {
		flex-direction: column;
	}

	.nav-menu > li > a {
		padding: 1rem 1.25rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.nav-menu .sub-menu {
		display: none;
		position: static;
		box-shadow: none;
		border-radius: 0;
		background: rgba(0, 0, 0, 0.2);
		padding: 0;
	}

	.nav-menu .submenu-open > .sub-menu {
		display: block;
	}

	.nav-menu .sub-menu a {
		color: rgba(255, 255, 255, 0.75);
		padding-left: 2rem;
	}

	.nav-menu .sub-menu a:hover {
		background: rgba(255, 255, 255, 0.05);
		color: var(--color-white);
	}

	body.nav-open {
		overflow: hidden;
	}

	.hero {
		min-height: 320px;
	}

	.hero-content {
		padding: 2.5rem 0;
	}

	.homepage-widgets {
		grid-template-columns: 1fr;
	}

	.next-game-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.next-game-countdown {
		width: 100%;
	}

	.game-prediction-widget--card .game-prediction-fields {
		grid-template-columns: 1fr auto 1fr;
	}

	.btn-predict {
		width: 100%;
		justify-content: center;
	}

	.homepage-news-header {
		flex-direction: column;
	}

	.footer-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-links {
		align-items: center;
	}
}

@media (max-width: 480px) {
	.logo-tagline {
		display: none;
	}

	.hero-actions {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}
}

/* ==========================================================================
   Discussion Forum (bbPress)
   ========================================================================== */

.forum-page-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--color-gray-200);
}

.forum-intro {
	margin: 0.5rem 0 0;
	color: var(--color-gray-500);
	font-size: 0.9375rem;
}

.forum-content #bbpress-forums {
	font-family: var(--font-body);
}

.forum-content #bbpress-forums .bbp-forums,
.forum-content #bbpress-forums .bbp-topics,
.forum-content #bbpress-forums .bbp-replies {
	border: 1px solid var(--color-gray-200);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.forum-content #bbpress-forums li.bbp-header,
.forum-content #bbpress-forums li.bbp-footer {
	background: var(--color-cardinal);
	color: var(--color-white);
}

.forum-content #bbpress-forums li.bbp-body ul.forum,
.forum-content #bbpress-forums li.bbp-body ul.topic {
	border-top: 1px solid var(--color-gray-200);
}

.forum-content #bbpress-forums li.bbp-body ul.forum:nth-child(even),
.forum-content #bbpress-forums li.bbp-body ul.topic:nth-child(even) {
	background: var(--color-gray-100);
}

.forum-content #bbpress-forums li.bbp-body ul.forum:hover,
.forum-content #bbpress-forums li.bbp-body ul.topic:hover {
	background: var(--color-gray-200);
}

.forum-content #bbpress-forums .bbp-forum-title a,
.forum-content #bbpress-forums .bbp-topic-title a {
	color: var(--color-navy);
	font-weight: 600;
	text-decoration: none;
}

.forum-content #bbpress-forums .bbp-forum-title a:hover,
.forum-content #bbpress-forums .bbp-topic-title a:hover {
	color: var(--color-cardinal);
}

.forum-content #bbpress-forums .bbp-template-notice {
	border-radius: var(--radius-sm);
}

.forum-content #bbpress-forums fieldset.bbp-form {
	border: 1px solid var(--color-gray-200);
	border-radius: var(--radius-sm);
	padding: 1.25rem;
	background: var(--color-gray-50);
}

.forum-content #bbpress-forums fieldset.bbp-form legend {
	font-weight: 600;
	color: var(--color-navy);
}

.forum-content #bbpress-forums button,
.forum-content #bbpress-forums input[type="submit"] {
	background: var(--color-cardinal);
	border: none;
	color: var(--color-white);
	padding: 0.625rem 1.25rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
	cursor: pointer;
}

.forum-content #bbpress-forums button:hover,
.forum-content #bbpress-forums input[type="submit"]:hover {
	background: var(--color-cardinal-dark);
}

.forum-content #bbpress-forums .bbp-pagination-links a,
.forum-content #bbpress-forums .bbp-pagination-links span {
	border-radius: var(--radius-sm);
}

.forum-content #bbpress-forums .bbp-breadcrumb a {
	color: var(--color-cardinal);
}

.cardinals-forum-auth {
	margin-top: 1.25rem;
	scroll-margin-top: 6rem;
}

.cardinals-forum-auth-card {
	border: 1px solid var(--color-gray-200);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%);
	box-shadow: var(--shadow-sm);
}

.cardinals-forum-auth-title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	color: var(--color-navy);
}

.cardinals-forum-auth-lead {
	margin: 0 0 1.25rem;
	color: var(--color-gray-700);
	font-size: 1rem;
	line-height: 1.5;
}

.cardinals-forum-auth-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.cardinals-forum-auth-btn {
	margin: 0;
	text-decoration: none;
}

.cardinals-forum-auth-note {
	margin: 0;
	font-size: 0.875rem;
	color: var(--color-gray-500);
	line-height: 1.5;
}

.cardinals-join {
	max-width: 32rem;
}

.cardinals-join-intro {
	margin: 0 0 1.25rem;
	color: var(--color-gray-700);
	line-height: 1.6;
}

.cardinals-join-errors {
	margin: 0 0 1.25rem;
	padding: 0.875rem 1rem;
	border-radius: var(--radius-sm);
	background: #fdecea;
	border: 1px solid #f5c2c0;
	color: #842029;
}

.cardinals-join-errors ul {
	margin: 0;
	padding-left: 1.25rem;
}

.cardinals-join-form {
	display: grid;
	gap: 1rem;
}

.cardinals-join-field {
	margin: 0;
	display: grid;
	gap: 0.375rem;
}

.cardinals-join-field label {
	font-weight: 600;
	color: var(--color-navy);
}

.cardinals-join-field input {
	width: 100%;
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--color-gray-300);
	border-radius: var(--radius-sm);
	font: inherit;
}

.cardinals-join-hint {
	font-size: 0.8125rem;
	color: var(--color-gray-500);
}

.cardinals-join-actions {
	margin: 0.25rem 0 0;
}

.cardinals-join-footer {
	margin: 1.25rem 0 0;
	font-size: 0.9375rem;
	color: var(--color-gray-700);
}

.cardinals-join-footer a {
	color: var(--color-cardinal);
	font-weight: 600;
}

@media (max-width: 768px) {
	.forum-content #bbpress-forums {
		overflow-x: auto;
	}
}
