/*
Theme Name: The Mountaineer Tailgate
Theme URI: https://themountaineertailgate.com
Author: WV Sports Nation
Author URI: https://www.wvsportsnation.com
Description: Site theme for The Mountaineer Tailgate, the fans' pregame show for WVU football, presented by WV Sports Nation. Live player, episodes, game-week schedule with show times, WVSN football stories, and a Fan Zone for questions, predictions and tailgate photos. Settings are under Appearance > Tailgate Settings; the schedule is under Games; fan submissions are under Fan Mail.
Version: 1.7.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: Proprietary
Text Domain: mountaineer-tailgate
*/

/* ---------- Fonts (self-hosted, SIL Open Font License: assets/fonts/OFL.txt) ---------- */
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--navy: #0b2041;
	--navy-2: #132c55;
	--navy-deep: #06142b;
	--gold: #f6b429;
	--gold-dark: #d4960f;
	--paper: #f4f1ea;
	--white: #ffffff;
	--ink: #0e1a30;
	--muted: #5a6478;
	--line: rgba(11, 32, 65, 0.14);
	--line-light: rgba(255, 255, 255, 0.16);
	--radius: 10px;
	--display: "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif;
	--body: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--wrap: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
[hidden] { display: none !important; }
.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Live / off-air swaps (script adds .is-live to <html> during the show) */
html:not(.is-live) .on-air { display: none !important; }
.is-live .on-air { display: inline-flex; align-items: center; gap: .45em; }
.is-live .off-air { display: none !important; }
.live-dot {
	width: .6em; height: .6em; border-radius: 50%; background: #e23b2e;
	box-shadow: 0 0 0 0 rgba(226, 59, 46, .6); animation: pulse 1.6s infinite; flex: none;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 .5em rgba(226, 59, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 59, 46, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
	padding: 14px 22px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--white); color: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- WVSN strip ---------- */
.wvsn-strip { background: var(--navy-deep); color: rgba(255,255,255,.82); font-size: 14px; }
.wvsn-strip__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; flex-wrap: wrap; padding-block: 6px; }
.wvsn-strip a { color: inherit; text-decoration: none; }
.wvsn-strip a:hover { color: var(--gold); }
.wvsn-strip strong { color: var(--white); }
.wvsn-strip__next { margin: 0; font-weight: 600; }
.wvsn-strip__next .on-air { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 96px; }
.site-header__logo { display: block; flex: none; padding-block: 8px; }
.site-logo { height: 80px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list a {
	display: block; padding: 10px 12px; font-family: var(--display); font-weight: 700; font-size: 14px;
	letter-spacing: .06em; text-transform: uppercase; color: var(--navy); text-decoration: none; border-radius: 6px;
}
.nav-list a:hover { background: var(--paper); color: var(--navy); }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { box-shadow: inset 0 -3px 0 var(--gold); }
.site-nav__cta { padding: 11px 18px; font-size: 13px; }
.site-nav__cta:hover { background: var(--navy); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	position: absolute; left: 10px; width: 24px; height: 3px; background: var(--navy); border-radius: 2px; content: ""; transition: transform .2s;
}
.nav-toggle__bars { top: 20px; }
.nav-toggle__bars::before { top: -8px; left: 0; }
.nav-toggle__bars::after { top: 8px; left: 0; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
	.site-header__inner { min-height: 72px; }
	.site-logo { height: 56px; }
	.nav-toggle { display: block; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--white); border-bottom: 1px solid var(--line);
		flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 20px 20px;
		box-shadow: 0 12px 24px rgba(11,32,65,.12);
	}
	.nav-open .site-nav { display: flex; }
	.nav-list { flex-direction: column; }
	.nav-list a { padding: 12px 8px; font-size: 16px; }
}

/* ---------- Kicker / section heads ---------- */
.kicker {
	display: flex; align-items: center; gap: .5em;
	font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--gold-dark); margin: 0 0 12px;
}
.section { padding-block: 56px; }
.section--tight { padding-block: 32px 64px; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; border-bottom: 3px solid var(--navy); padding-bottom: 10px; }
.section--navy .section__head { border-color: var(--gold); }
.section__title { font-size: clamp(22px, 3vw, 30px); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.section__more { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.section__more::after { content: " \2192"; }
.section--navy .section__more { color: var(--gold); }
.section--navy .section__more:hover { color: var(--white); }
.empty { color: var(--muted); }
.section--navy .empty { color: rgba(255,255,255,.75); }
.section--navy .empty a, .section--navy a { color: var(--gold); }
.fineprint { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* ---------- Game week hero ---------- */
.gameweek {
	background:
		linear-gradient(180deg, rgba(6,20,43,0) 60%, rgba(6,20,43,.5) 100%),
		var(--navy);
	color: var(--white); padding-block: 48px 56px; position: relative;
}
.gameweek::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--gold); }
.gameweek__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.gameweek .kicker { color: var(--gold); }
.gameweek__matchup { font-size: clamp(34px, 5.2vw, 60px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 24px; }
.gameweek__times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.gameweek__times > div { border: 1px solid var(--line-light); border-radius: var(--radius); padding: 14px 16px; background: rgba(255,255,255,.04); }
.gameweek__times dt { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.gameweek__times dd { margin: 0; font-size: 16px; line-height: 1.4; color: rgba(255,255,255,.85); }
.gameweek__times strong { color: var(--white); font-size: 19px; }
.countdown { margin: 18px 0 0; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .04em; color: rgba(255,255,255,.85); }
.countdown b { color: var(--gold); font-weight: 900; }
.livescore {
	margin: 18px 0 0; display: inline-flex; gap: .6em; align-items: center;
	background: var(--gold); color: var(--navy); border-radius: 8px; padding: 8px 14px;
	font-family: var(--display); font-weight: 800; font-size: 16px;
}
.lede { font-size: 20px; color: rgba(255,255,255,.85); }

.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); max-width: 100%; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__caption { margin: 12px 0 0; font-size: 15px; color: rgba(255,255,255,.75); }
.player__caption .on-air { color: var(--gold); font-weight: 700; }
.player__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 14px 0 0; font-size: 15px; }
.player__tools a.btn { color: var(--navy); }
.player__tools a.btn:hover { color: var(--navy); }
.player__tools a, .player__tools .linkbtn { color: rgba(255,255,255,.8); }
.player__tools a:hover, .player__tools .linkbtn:hover { color: var(--gold); }
.player__live {
	position: absolute; inset: 0; z-index: 2; flex-direction: column; justify-content: center; align-items: center !important; gap: 12px !important;
	text-align: center; text-decoration: none; color: var(--white);
	background: radial-gradient(ellipse at center, var(--navy-2) 0%, var(--navy-deep) 75%);
	border-bottom: 8px solid var(--gold);
}
.is-live .player__live { display: flex; }
.player--episode .player__live { display: none !important; }
.player__live-kicker { display: inline-flex; align-items: center; gap: .5em; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.player__live-title { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 3.4vw, 40px); text-transform: uppercase; line-height: 1.05; padding-inline: 16px; }
.player__live-go { margin-top: 6px; background: var(--gold); color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 12px 22px; border-radius: 999px; }
.player__live:hover { color: var(--white); }
.player__live:hover .player__live-go { background: var(--white); }

@media (max-width: 900px) {
	.gameweek { padding-block: 32px 44px; }
	.gameweek__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
	.gameweek__times { grid-template-columns: 1fr; }
}

/* ---------- Page heads ---------- */
.pagehead { background: var(--paper); padding-block: 48px; border-bottom: 1px solid var(--line); }
.pagehead--navy { background: var(--navy); color: var(--white); border: 0; }
.pagehead--navy .kicker { color: var(--gold); }
.pagehead__title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; text-transform: uppercase; margin-bottom: 14px; }
.pagehead__lede { font-size: 20px; color: var(--muted); max-width: 46em; }
.pagehead--navy .pagehead__lede { color: rgba(255,255,255,.82); }
.pagehead--navy .player--big { margin-top: 12px; }
.pagehead__split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .pagehead__split { grid-template-columns: 1fr; gap: 28px; } }
.prose { font-size: 19px; max-width: 42em; }
.prose p:last-child { margin-bottom: 0; }

.when { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 28px; border-bottom: 6px solid var(--gold); }
.when__title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: 8px; }
.when__big { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1.15; text-transform: uppercase; }
.when p { color: rgba(255,255,255,.85); }
.when strong { color: var(--white); }

/* ---------- Episodes ---------- */
.episodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.episode { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.episode__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--navy); }
.episode__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.episode:hover .episode__thumb img { transform: scale(1.04); }
.episode__play {
	position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--gold);
}
.episode__play::after { content: ""; position: absolute; left: 15px; top: 11px; border-left: 14px solid var(--navy); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.episode__title { font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1.25; }
.episode:hover .episode__title { color: var(--gold-dark); }
.episode__date { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .episodes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .episodes { grid-template-columns: 1fr; } }

/* ---------- Stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(11,32,65,.08); border: 1px solid var(--line); }
.story--lead { grid-column: span 2; grid-row: span 2; }
.story__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.story__img { display: block; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__tile { display: flex; height: 100%; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 40px; letter-spacing: .04em; color: var(--gold); font-style: italic; }
.story__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
.story__meta { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.story__title { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.25; }
.story--lead .story__title { font-size: clamp(22px, 2.6vw, 30px); }
.story--lead .story__img { flex: 1 1 260px; aspect-ratio: auto; min-height: 260px; position: relative; }
.story--lead .story__img img { position: absolute; inset: 0; }
@media (max-width: 900px) { .story--lead .story__img { flex: none; aspect-ratio: 16 / 9; min-height: 0; } }
.story__dek { color: var(--muted); font-size: 17px; }
.story__link:hover .story__title { color: var(--gold-dark); }
@media (max-width: 900px) {
	.stories { grid-template-columns: repeat(2, 1fr); }
	.story--lead { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
	.stories { grid-template-columns: 1fr; }
	.story--lead { grid-column: auto; }
}

/* ---------- Fan band ---------- */
.fanband__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.fancard {
	display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius);
	background: var(--navy-2); border-top: 5px solid var(--gold); color: var(--white); text-decoration: none; transition: transform .15s, background .15s;
}
.section--navy a.fancard { color: var(--white); }
.fancard:hover { transform: translateY(-2px); background: #19386b; }
.fancard__title { font-family: var(--display); font-weight: 900; font-size: 20px; text-transform: uppercase; }
.fancard__title::after { content: " \2192"; color: var(--gold); }
.fancard__text { color: rgba(255,255,255,.8); font-size: 16px; }
@media (max-width: 760px) { .fanband__cards { grid-template-columns: 1fr; } }

/* ---------- Tailgate Wall ---------- */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.wall__item { margin: 0; position: relative; border-radius: 8px; overflow: hidden; background: var(--navy-2); }
.wall__item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.wall__item figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 10px 10px; font-size: 14px; line-height: 1.3;
	background: linear-gradient(transparent, rgba(6,20,43,.9)); color: var(--white); display: flex; flex-direction: column; gap: 2px;
}
.wall__who { font-weight: 700; color: var(--gold); }

/* ---------- Schedule ---------- */
.table-scroll { overflow-x: auto; }
.schedule { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 620px; }
.schedule th {
	text-align: left; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--navy);
}
.schedule td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule__date { white-space: nowrap; font-weight: 700; }
.schedule__game strong { display: block; font-family: var(--display); font-weight: 800; }
.schedule__game span { font-size: 14px; color: var(--muted); }
.schedule__show { font-weight: 700; color: var(--navy); white-space: nowrap; }
.schedule tr.is-past td { color: var(--muted); }
.schedule tr.is-past .schedule__show { color: var(--muted); font-weight: 400; }
.schedule tr.is-next td { background: #fff8e6; }
.schedule tr.is-next td:first-child { box-shadow: inset 5px 0 0 var(--gold); }

/* ---------- Listen ---------- */
.listen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.listen__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.listen__type { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.listen__name { font-family: var(--display); font-weight: 800; font-size: 18px; }
.listen__name a { text-decoration: none; color: var(--navy); }
.listen__name a:hover { color: var(--gold-dark); }
.listen__detail { font-size: 15px; color: var(--muted); }

/* ---------- Hosts ---------- */
.hosts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.host { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.host__badge {
	flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold);
	display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 22px;
}
.host__name { font-size: 22px; font-weight: 900; text-transform: uppercase; }
.host__role { font-weight: 700; color: var(--gold-dark); margin: 4px 0 8px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.host__bio { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 400px) { .hosts { grid-template-columns: 1fr; } }

/* ---------- Fan form ---------- */
.fanform { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(11,32,65,.10); border-top: 6px solid var(--gold); }
.fanform form { display: flex; flex-direction: column; gap: 18px; }
.kind-picker { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kind-picker legend { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.kind-picker__opt { position: relative; }
.kind-picker__opt input { position: absolute; opacity: 0; }
.kind-picker__opt span {
	display: block; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: 15px; cursor: pointer; color: var(--navy);
}
.kind-picker__opt input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.kind-picker__opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; color: var(--navy); flex: 1; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field textarea {
	font: inherit; font-weight: 400; font-size: 17px; color: var(--ink); padding: 12px 14px; border: 1.5px solid #c9cfd9; border-radius: 8px; background: #fbfbfd; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(246,180,41,.45); background: var(--white); }
.field input[type="file"] { font: inherit; font-weight: 400; font-size: 15px; }
.field-row { display: flex; gap: 14px; }
.field-row--scores .field { max-width: 180px; }
.field-group { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--paper); border-radius: 8px; }
.field-group__label { margin: 0; font-family: var(--display); font-weight: 800; font-size: 15px; text-transform: uppercase; color: var(--navy); }
.hint { font-weight: 400; font-size: 14px; color: var(--muted); }
.req { color: #b3261e; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.fanform .btn { align-self: flex-start; }
.fanform .btn--gold:hover { background: var(--navy); color: var(--white); }
.notice { padding: 14px 16px; border-radius: 8px; font-weight: 600; margin-bottom: 18px; }
.notice--ok { background: #e7f5ea; color: #1d5e2c; }
.notice--err { background: #fdecea; color: #8c1d18; }
/* Show only the fields for the chosen type (the script sets data-kind). */
[data-fanform][data-kind] .field-group,
[data-fanform][data-kind] [data-label-for] { display: none; }
[data-fanform][data-kind="prediction"] .field-group[data-for="prediction"],
[data-fanform][data-kind="photo"] .field-group[data-for="photo"] { display: flex; }
[data-fanform][data-kind="question"] [data-label-for="question"],
[data-fanform][data-kind="prediction"] [data-label-for="prediction"],
[data-fanform][data-kind="photo"] [data-label-for="photo"] { display: inline; }
[data-fanform]:not([data-kind]) [data-label-for]:not([data-label-for="question"]) { display: none; }
@media (max-width: 520px) {
	.fanform { padding: 20px; }
	.field-row { flex-direction: column; }
	.field-row--scores { flex-direction: row; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); font-size: 16px; }
.tailgate-stripe { height: 8px; background: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-block: 48px 32px; }
.site-footer__logo { height: 120px; width: auto; margin-bottom: 16px; background: var(--paper); padding: 10px 14px; border-radius: 10px; }
.footer-head { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.footer-head:not(:first-child) { margin-top: 24px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list span { display: block; font-size: 14px; color: rgba(255,255,255,.6); }
.site-footer a { color: var(--white); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--gold); }
.site-footer__legal { border-top: 1px solid var(--line-light); padding-block: 18px 28px; font-size: 13px; color: rgba(255,255,255,.55); }
.site-footer__legal p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Guests & Booking ---------- */
.booking-types { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 42em; }
.booking-types li { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 8px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.booking-types__title { font-family: var(--display); font-weight: 800; font-size: 16px; text-transform: uppercase; color: var(--navy); }
.booking-types__text { color: var(--muted); font-size: 16px; }
.booking-direct { margin-top: 20px; font-size: 17px; }
.booking-direct a { font-weight: 700; }

/* ---------- Social feeds ---------- */
.social-feeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.social-feed { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.social-feed__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--navy); color: var(--white); }
.social-feed__name { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.social-feed__head a { color: var(--gold); font-weight: 700; font-size: 15px; text-decoration: none; }
.social-feed__head a:hover { color: var(--white); }
.social-feed__body { padding: 12px; min-height: 200px; }
.social-feed__body--fb { display: flex; justify-content: center; }
.social-feed__body--fb iframe { border: 0; width: 100%; max-width: 500px; height: 620px; }
.social-feed__fallback { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; text-decoration: none; }
.social-feed__fallback-handle { display: none; }
/* Facebook feed beside the list of WVSN accounts. */
.social-feeds--fb { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); align-items: start; }
.social-links { padding: 8px 4px; }
.social-links__lede { font-size: 19px; color: var(--ink); max-width: 28em; }
.social-links__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.social-links__list a {
	display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: var(--radius);
	background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold);
	font-family: var(--display); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); text-decoration: none;
}
.social-links__list a::after { content: "\2192"; color: var(--gold-dark); }
.social-links__list a:hover { background: var(--navy); color: var(--white); }
@media (max-width: 860px) { .social-feeds--fb { grid-template-columns: 1fr; } }
/* (Kept for any link panel use.) */
.social-feed.is-fallback .social-feed__body { display: none; }
.social-feed.is-fallback .social-feed__fallback {
	flex: 1; justify-content: center; align-items: center; text-align: center; border-top: 0; padding: 48px 20px; gap: 14px;
	background: radial-gradient(ellipse at center, #f7f5f0 0%, var(--white) 70%);
}
.social-feed.is-fallback .social-feed__fallback-handle { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 3vw, 34px); color: var(--navy); }
.social-feed.is-fallback .social-feed__fallback-text { background: var(--navy); color: var(--white); padding: 12px 22px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.social-feed.is-fallback .social-feed__fallback:hover .social-feed__fallback-text { background: var(--gold); color: var(--navy); }

/* Six menu items: tighten the header before the mobile menu takes over. */
@media (max-width: 1240px) and (min-width: 961px) {
	.site-nav { gap: 12px; }
	.nav-list a { padding: 10px 8px; font-size: 13px; letter-spacing: .04em; }
	.site-nav__cta { padding: 10px 14px; font-size: 12px; }
	.site-logo { height: 68px; }
}
@media (max-width: 1100px) and (min-width: 961px) {
	.site-nav__cta { display: none; }
}

/* ---------- Fan predictions board (left column of Fan Zone) ---------- */
.predictions { margin-top: 36px; max-width: 42em; }
.predictions__title { font-size: 24px; font-weight: 900; text-transform: uppercase; margin: 0; padding-bottom: 8px; border-bottom: 3px solid var(--navy); }
.predictions__game { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin: 12px 0 6px; }
.predictions__summary { font-size: 17px; margin: 0 0 16px; }
.predictions__summary strong { font-family: var(--display); font-weight: 800; color: var(--navy); }
.predictions__list { list-style: none; margin: 0; padding: 0 4px 0 0; display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; }
.prediction { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--radius); padding: 12px 16px; display: flex; flex-direction: column; gap: 3px; }
.prediction:has(.is-win) { border-left-color: var(--gold); }
.prediction__score { font-family: var(--display); font-weight: 900; font-size: 19px; color: var(--navy); }
.prediction__who { font-weight: 700; font-size: 15px; color: var(--gold-dark); }
.prediction__why { color: var(--muted); font-size: 16px; line-height: 1.45; }

/* Sponsors (1.7.0): rail (three cards, right), banner (under header), footer (above footer). */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 336px; column-gap: 48px; align-items: start; }
.with-sidebar__main > .section > .wrap, .with-sidebar__main > .pagehead > .wrap { padding-inline: 0; max-width: none; }
.with-sidebar__main .pagehead__split { grid-template-columns: 1fr; gap: 28px; }
.with-sidebar__main > .pagehead, .with-sidebar__main > .section--paper, .with-sidebar__main > .section--navy { padding-inline: 28px; border-radius: var(--radius); }
.with-sidebar__main > .pagehead { margin-top: 24px; border-bottom: 0; }
.with-sidebar > .sidebar { display: flex; flex-direction: column; gap: 20px; padding-block: 48px; }
@media (max-width: 1023px) {
	.with-sidebar { grid-template-columns: minmax(0, 1fr); }
	.with-sidebar > .sidebar { padding-block: 0 48px; flex-direction: row; flex-wrap: wrap; justify-content: center; }
	.with-sidebar > .sidebar > .sponsor-ad { width: 336px; max-width: 100%; }
}
.ad-label { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sponsor-ad { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: 0 1px 2px rgba(11,32,65,.08); }
.ad-slot { background: var(--paper); border-bottom: 1px solid var(--line); }
.ad-slot--footer { border-top: 1px solid var(--line); border-bottom: 0; }
.ad-slot__inner { display: flex; flex-direction: column; align-items: center; padding-block: 18px 22px; }
.ad-slot__inner .ad-label { align-self: center; }
.ad-rotator { position: relative; width: 100%; border-radius: 8px; overflow: hidden; background: var(--paper); }
.ad-rotator--banner, .ad-rotator--footer { max-width: 970px; }
.ad-rotator__slide { position: absolute; inset: 0; display: block; line-height: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.ad-rotator__slide.is-active { opacity: 1; pointer-events: auto; }
.ad-rotator__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
