/*
Theme Name: FanFuel
Author: David Walker Designs
Author URI: https://davidwalkerdesigns.com
Description: Theme for FanFuel Network, local sports events. Requires the FanFuel Core plugin for events, venues, teams, local businesses, ads, and forms.
Version: 0.1.0
Requires PHP: 8.1
Text Domain: fanfuel
*/

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
	--ink: #0d1726;          /* header, hero, footer */
	--ink-2: #16243a;
	--ink-3: #22344f;
	--flame: #ff5a1f;        /* primary action */
	--flame-dark: #e0470f;
	--amber: #ffb020;        /* highlights */
	--bg: #f4f5f7;
	--card: #ffffff;
	--text: #1b2330;
	--muted: #5d6878;
	--border: #e2e6ec;
	--success: #1f8a4c;
	--warning: #b26a00;
	--danger: #c62828;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(13, 23, 38, .06), 0 4px 16px rgba(13, 23, 38, .06);
	--font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	--max: 1200px;
}

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); text-transform: uppercase; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose a { color: var(--flame-dark); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.narrow { max-width: 760px; }
.section { padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 900px) { .section { padding-top: 56px; padding-bottom: 56px; } }
.section-alt { background: #e9ecf1; }

.icon { width: 18px; height: 18px; flex: none; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto;
	z-index: 1000; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: var(--radius-sm);
}
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Buttons & chips ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: none;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
	white-space: nowrap;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-flame { background: var(--flame); border-color: var(--flame); color: #fff; }
.btn-flame:hover { background: var(--flame-dark); border-color: var(--flame-dark); color: #fff; }
.btn-primary { background: var(--flame); border-color: var(--flame); color: #fff; }
.btn-primary:hover { background: var(--flame-dark); border-color: var(--flame-dark); }
.btn-outline { background: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
.btn-block { width: 100%; }

.chip {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: #e8ebf0;
	color: var(--ink-3);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.7;
}
a.chip:hover { background: #dbe0e7; }
.chip-sport { background: #ffe7dc; color: #b13a0c; }
.chip-light { background: rgba(255, 255, 255, .12); color: #fff; }

.status {
	display: inline-block; padding: 2px 10px; border-radius: 999px;
	font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.7;
}
.status-postponed { background: #fff1d6; color: var(--warning); }
.status-cancelled { background: #fde3e3; color: var(--danger); }
.status-final { background: #dff3e7; color: var(--success); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	margin-bottom: 10px;
	color: var(--amber);
	font-family: var(--font-head);
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.more {
	display: inline-flex; align-items: center; gap: 4px;
	color: var(--flame-dark);
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
}
.more:hover { text-decoration: underline; }
.more .icon { width: 16px; height: 16px; }
.empty-state {
	padding: 28px;
	border: 2px dashed var(--border);
	border-radius: var(--radius);
	color: var(--muted);
	text-align: center;
	background: #fff;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--ink);
	color: #fff;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }

.wordmark {
	display: inline-flex; align-items: center; gap: 2px;
	font-family: var(--font-head);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	line-height: 1;
}
.wordmark .icon { width: 28px; height: 28px; color: var(--flame); fill: var(--flame); stroke: var(--flame); margin-right: 4px; }
.wm-fuel { color: var(--flame); }
.logo .custom-logo { max-height: 48px; width: auto; }
/* Flex-center the logo so the line box doesn't push it off-center or onto a half pixel. */
.site-header .logo, .site-header .wordmark { display: flex; align-items: center; }
.wordmark-img { display: block; width: 259px; height: 30px; }
.site-footer .wordmark-img { width: 225px; height: 26px; }
@media (max-width: 420px) { .site-header .wordmark-img { width: 207px; height: 24px; } }

.menu-toggle {
	display: none;
	margin-left: auto;
	padding: 10px;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
}
.menu-toggle-bars { display: grid; gap: 5px; width: 24px; }
.menu-toggle-bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle.is-active .menu-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-menu-wrap { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.primary-menu-wrap .menu { display: flex; gap: 4px; }
.primary-menu-wrap .menu > li { position: relative; }
.primary-menu-wrap .menu a {
	display: block;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	color: rgba(255, 255, 255, .85);
}
.primary-menu-wrap .menu a:hover,
.primary-menu-wrap .current-menu-item > a,
.primary-menu-wrap .current-menu-ancestor > a { color: #fff; background: rgba(255, 255, 255, .08); }
.primary-menu-wrap .sub-menu {
	display: none;
	position: absolute; top: 100%; left: 0; min-width: 200px;
	padding: 8px;
	background: var(--ink-2);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
}
.primary-menu-wrap .menu > li:hover > .sub-menu,
.primary-menu-wrap .menu > li:focus-within > .sub-menu { display: block; }
.submenu-toggle { display: none; }

@media (max-width: 960px) {
	.menu-toggle { display: block; }
	.primary-menu-wrap {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 12px;
		padding: 12px 16px 20px;
		background: var(--ink);
		border-top: 1px solid rgba(255, 255, 255, .08);
		max-height: calc(100vh - 68px);
		overflow-y: auto;
	}
	.primary-menu-wrap.is-open { display: flex; }
	.primary-menu-wrap .menu { flex-direction: column; gap: 0; }
	.primary-menu-wrap .menu a { padding: 12px 8px; font-size: 1.2rem; }
	.primary-menu-wrap .sub-menu { position: static; box-shadow: none; padding: 0 0 0 16px; background: none; }
	.primary-menu-wrap .menu > li:hover > .sub-menu { display: none; }
	/* !important: must beat the hover/focus rules above on touch devices */
	.primary-menu-wrap .submenu-open > .sub-menu { display: block !important; }
	.submenu-toggle {
		display: block; position: absolute; right: 0; top: 4px;
		padding: 10px 14px; border: 0; background: none; color: #fff; cursor: pointer;
	}
	.header-cta { align-self: flex-start; }
}

/* ---------- Ad zones ---------- */
.leaderboard-wrap { background: #e9ecf1; padding: 12px 0; }
.footer-ad-wrap { padding: 24px 0 32px; }
.ff-ad {
	position: relative;
	width: 100%;
	margin: 0 auto;
}
.ff-ad:not(.is-ready) { display: none; }
.ff-ad-label {
	display: block;
	margin-bottom: 4px;
	color: var(--muted);
	font-size: .65rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: center;
}
.ff-ad-item { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.ff-ad-item[hidden], .ff-ad-house[hidden] { display: none; }
.ff-ad-item img { width: 100%; height: auto; aspect-ratio: var(--ad-ratio); object-fit: cover; }
.ff-ad-house {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	aspect-ratio: var(--ad-ratio);
	padding: 12px;
	border: 2px dashed #c4cbd6;
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--ink);
	text-align: center;
	text-decoration: none;
	transition: border-color .15s;
}
.ff-ad-house:hover { border-color: var(--flame); }
.ff-ad-house strong { font-family: var(--font-head); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.ff-ad-house span { color: var(--muted); font-size: .85rem; }
.ff-ad-leaderboard .ff-ad-house, .ff-ad-in_feed .ff-ad-house, .ff-ad-footer .ff-ad-house { flex-direction: row; gap: 12px; }
@media (max-width: 600px) {
	/* 728×90 banners get very short on phones; give the house ad room to read */
	.ff-ad-leaderboard .ff-ad-house, .ff-ad-in_feed .ff-ad-house, .ff-ad-footer .ff-ad-house { aspect-ratio: auto; min-height: 70px; flex-direction: column; gap: 0; }
}
.ff-ad.in-feed { margin: 16px auto; }

/* ==========================================================================
   HERO & PAGE HEADERS
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 60% 80% at 85% 10%, rgba(255, 90, 31, .35), transparent 60%),
		radial-gradient(ellipse 50% 60% at 10% 100%, rgba(255, 176, 32, .18), transparent 60%),
		var(--ink);
	color: #fff;
	padding: 56px 0 64px;
}
.hero::after {
	/* subtle yard-line stripes */
	content: '';
	position: absolute; inset: 0;
	background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(255, 255, 255, .035) 119px 120px);
	pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); margin-bottom: 16px; }
.accent { color: var(--flame); }
.hero-sub { max-width: 620px; color: rgba(255, 255, 255, .8); font-size: 1.1rem; margin-bottom: 28px; }
.hero-compact { padding: 48px 0; }

/* Homepage: AI-generated generic stadium (no real teams, logos, or players). Dark fade on the left keeps the headline readable. */
.hero-photo {
	background:
		radial-gradient(ellipse 60% 80% at 85% 10%, rgba(255, 90, 31, .22), transparent 60%),
		linear-gradient(90deg, rgba(13, 23, 38, .92) 0%, rgba(13, 23, 38, .7) 45%, rgba(13, 23, 38, .25) 100%),
		linear-gradient(0deg, rgba(13, 23, 38, .6), transparent 40%),
		url(img/hero-stadium-1536.webp) center 40% / cover no-repeat,
		var(--ink);
}
.hero-photo::after { display: none; }
@media (max-width: 700px) {
	.hero-photo {
		background:
			linear-gradient(180deg, rgba(13, 23, 38, .55) 0%, rgba(13, 23, 38, .85) 70%),
			url(img/hero-stadium-900.webp) center top / cover no-repeat,
			var(--ink);
	}
}

.hero-search {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: 8px;
	padding: 8px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}
.hero-search select {
	width: 100%;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	color: var(--text);
}
@media (max-width: 720px) {
	.hero-search { grid-template-columns: 1fr; }
}

.page-hero {
	background:
		radial-gradient(ellipse 50% 90% at 95% 0%, rgba(255, 90, 31, .28), transparent 60%),
		var(--ink);
	color: #fff;
	padding: 40px 0 36px;
}
.page-hero h1 { margin-bottom: 8px; }
.page-hero .hero-sub { margin-bottom: 0; }
.hero-address { color: rgba(255, 255, 255, .75); margin-bottom: 18px; }

.sport-strip { background: #fff; border-bottom: 1px solid var(--border); }
.sport-strip .container {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
	padding-top: 14px; padding-bottom: 14px;
}
/* Phones: the sport dropdown in the hero search right above already lists every sport */
@media (max-width: 600px) {
	.home .sport-strip { display: none; }
}
.sport-pill {
	flex: none;
	padding: 7px 16px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
	font-size: .9rem;
	text-decoration: none;
	white-space: nowrap;
}
.sport-pill:hover, .sport-pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sport-pill-alt { color: var(--muted); }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.sidebar { display: grid; gap: 24px; position: sticky; top: 92px; }
@media (max-width: 960px) {
	.with-sidebar { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; }
}
.block { margin-bottom: 40px; }
.block:last-child { margin-bottom: 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.block-head h2 { margin: 0; }
/* Phones: a side link (".more") drops under a long heading instead of squeezing it; short headings keep it beside them */
@media (max-width: 600px) {
	.block-head { flex-wrap: wrap; row-gap: 6px; }
	.block-head .more { white-space: nowrap; }
}
.block-intro { color: var(--muted); margin-top: -6px; }

.side-card {
	padding: 22px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.side-card h3 { display: flex; align-items: center; gap: 8px; }
.side-card p { color: var(--muted); font-size: .95rem; }
.cta-card { background: var(--ink); color: #fff; }
.cta-card p { color: rgba(255, 255, 255, .75); }

/* ==========================================================================
   EVENTS
   ========================================================================== */
.day-heading {
	margin: 28px 0 10px;
	font-size: 1rem;
	color: var(--muted);
	letter-spacing: .06em;
	text-transform: uppercase;
}
.day-heading:first-child { margin-top: 0; }
.event-list { display: grid; gap: 10px; }
.event-list > .day-heading + .event-row { margin-top: 0; }
.event-row { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.event-row:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(13, 23, 38, .08), 0 8px 24px rgba(13, 23, 38, .1); }
.event-row-link {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 14px 18px 14px 14px;
	text-decoration: none;
}
.event-date {
	display: flex; flex-direction: column; align-items: center;
	padding: 6px 0;
	border-radius: 10px;
	background: var(--ink);
	color: #fff;
	font-family: var(--font-head);
	line-height: 1.05;
	text-transform: uppercase;
}
.event-date .dow { font-size: .7rem; letter-spacing: .1em; color: var(--amber); }
.event-date .day { font-size: 1.6rem; font-weight: 600; }
.event-date .mon { font-size: .7rem; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
.event-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.event-title {
	display: flex; align-items: center; gap: 10px;
	margin: 0 0 2px;
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
}
.event-title .at { color: var(--muted); font-weight: 500; }
.event-title .badges { display: inline-flex; flex: none; }
.event-title .badges .team-badge + .team-badge { margin-left: -8px; }
.event-meta { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: .9rem; }
.event-meta .icon { width: 15px; height: 15px; }
.event-side { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.event-time { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; white-space: nowrap; }
.event-score { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; white-space: nowrap; }
.event-time-sub { color: var(--muted); font-size: .8rem; max-width: 150px; }
.event-cancelled .event-title > span:last-child, .event-postponed .event-time { text-decoration: line-through; color: var(--muted); }
@media (max-width: 600px) {
	.event-row-link { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.event-date .day { font-size: 1.35rem; }
	.event-side { grid-column: 2; flex-direction: row; align-items: baseline; gap: 8px; text-align: left; }
	.event-time { font-size: 1.05rem; }
	.event-title .badges { display: none; }
}

/* Team badges (logo or monogram) */
.team-badge {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--team-bg, hsl(var(--team-hue, 210) 55% 32%));
	color: var(--team-ink, #fff);
	border: 2px solid #fff;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .95rem;
	letter-spacing: .02em;
	overflow: hidden;
}
.team-badge.has-logo { background: #fff; }
.team-badge.has-logo img { width: 100%; height: 100%; object-fit: contain; }
.team-badge-sm { width: 30px; height: 30px; font-size: .7rem; }
.team-badge-lg { width: 84px; height: 84px; font-size: 1.8rem; border-width: 3px; }
.team-badge-xl { width: 112px; height: 112px; font-size: 2.4rem; border-width: 4px; }
.team-badge-empty { background: #c4cbd6; }

/* Filters */
.filters-bar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 68px; z-index: 20; }
.admin-bar .filters-bar { top: 100px; }
@media (max-width: 960px) { .filters-bar { position: static; } }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.filter select {
	padding: 9px 32px 9px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6878' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	appearance: none;
	font: inherit;
	font-size: .9rem;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
}
.view-toggle { display: inline-flex; margin-left: auto; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.view-toggle a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.view-toggle a.is-active { background: var(--ink); color: #fff; }
.view-toggle .icon { width: 16px; height: 16px; }
.clear-filters { font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) {
	.filter { flex: 1 1 calc(50% - 8px); }
	.filter select { width: 100%; }
	.view-toggle { margin-left: 0; }
}

.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.pagination a, .pagination span { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; box-shadow: var(--shadow); }
.pagination .current { background: var(--ink); color: #fff; }

/* Calendar */
.calendar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.calendar-head h2 { margin: 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.cal-dow { padding: 8px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.cal-day { min-height: 116px; padding: 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.cal-day.is-out { background: #fafbfc; color: #a6aeba; }
.cal-day.is-today .cal-num { background: var(--flame); color: #fff; }
.cal-num { align-self: flex-start; padding: 0 7px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.cal-num-dow { display: none; }
.cal-event { display: block; padding: 3px 6px; border-radius: 6px; background: #fff1ea; border-left: 3px solid var(--flame); font-size: .75rem; line-height: 1.3; text-decoration: none; overflow: hidden; }
.cal-event:hover { background: #ffe1d2; }
.cal-time { display: block; font-weight: 700; color: var(--flame-dark); }
.cal-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cal-cancelled, .cal-postponed { opacity: .55; text-decoration: line-through; }
.cal-final { background: #eef7f1; border-left-color: var(--success); }
.cal-final .cal-time { color: var(--success); }
.cal-more { font-size: .75rem; font-weight: 600; color: var(--muted); }
@media (max-width: 760px) {
	.calendar { padding: 14px; }
	.calendar-grid { display: block; border: 0; }
	.cal-dow, .cal-day.is-empty, .cal-day.is-out { display: none; }
	.cal-day { min-height: 0; border: 0; border-bottom: 1px solid var(--border); padding: 12px 0; }
	.cal-num-dow { display: inline; }
	.cal-num { font-size: 1rem; padding: 0; }
	.cal-day.is-today .cal-num { padding: 0 10px; }
	.cal-event { font-size: .9rem; padding: 8px 10px; }
	.cal-title { -webkit-line-clamp: 3; }
}

/* Single event */
.event-hero {
	background:
		radial-gradient(ellipse 60% 90% at 50% 0%, rgba(255, 90, 31, .3), transparent 65%),
		var(--ink);
	color: #fff;
	padding: 36px 0 40px;
	text-align: center;
}
.event-hero .event-chips { justify-content: center; margin-bottom: 20px; }
.event-hero .chip { background: rgba(255, 255, 255, .12); color: #fff; }
.event-hero .chip-sport { background: var(--flame); }
.matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto 24px; }
.matchup-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.matchup-name { font-family: var(--font-head); font-size: clamp(1.3rem, 3.5vw, 2rem); font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.matchup-role { color: rgba(255, 255, 255, .55); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.matchup-score { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--amber); line-height: 1; }
.matchup-vs { font-family: var(--font-head); font-size: 1.3rem; color: rgba(255, 255, 255, .55); text-transform: uppercase; }
.event-h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); max-width: 860px; margin: 0 auto 8px; }
.event-sub { color: rgba(255, 255, 255, .75); }
.event-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 0 0 24px; }
.event-facts li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.event-facts .icon { color: var(--amber); }
.event-facts a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.event-alert { display: inline-block; padding: 10px 16px; border-radius: var(--radius-sm); background: rgba(255, 176, 32, .15); color: var(--amber); font-weight: 600; }
.event-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.event-hero .event-actions { justify-content: center; }
.event-hero .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.event-hero .btn-outline:hover { background: #fff; color: var(--ink); }
.add-cal { position: relative; }
.add-cal summary { list-style: none; }
.add-cal summary::-webkit-details-marker { display: none; }
.add-cal-menu {
	position: absolute; z-index: 10; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
	display: grid; min-width: 220px; padding: 6px;
	background: #fff; border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); text-align: left;
}
.add-cal-menu a { padding: 10px 12px; border-radius: 6px; color: var(--text); text-decoration: none; font-weight: 500; }
.add-cal-menu a:hover { background: var(--bg); }
.presented-by {
	display: inline-flex; align-items: center; gap: 12px;
	margin-top: 24px; padding: 10px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	text-decoration: none;
}
.presented-by span { color: rgba(255, 255, 255, .6); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.presented-by strong { font-family: var(--font-head); font-size: 1.15rem; text-transform: uppercase; color: var(--amber); }
.presented-by img { max-height: 36px; width: auto; }
@media (max-width: 600px) {
	.matchup { gap: 8px; }
	.team-badge-lg { width: 64px; height: 64px; font-size: 1.4rem; }
	.matchup-score { font-size: 2rem; }
	.event-actions .btn { flex: 1 1 auto; }
}

.venue-box { padding: 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.venue-box-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.venue-box h3 a { text-decoration: none; }
.venue-box .address { color: var(--muted); }
.parking { display: flex; gap: 8px; font-size: .92rem; }
.parking .icon { margin-top: 3px; color: var(--muted); }
@media (max-width: 700px) { .venue-box-grid { grid-template-columns: 1fr; } }

/* Maps */
.ff-map { width: 100%; border-radius: var(--radius); overflow: hidden; background: #dde3ea; z-index: 0; }
.map-sm { height: 240px; }
.map-lg { height: clamp(300px, 45vw, 440px); margin-bottom: 40px; box-shadow: var(--shadow); }
.ff-pin span {
	display: block; width: 26px; height: 26px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	background: var(--flame);
	border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.ff-pin-business span { background: var(--ink-3); width: 22px; height: 22px; }
.leaflet-popup-content a { color: var(--ink); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; transition: transform .15s; }
.card:hover { transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 18px; }
.card-body h3 { margin-bottom: 6px; }
.card-meta { display: flex; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.card-meta .icon { width: 16px; height: 16px; margin-top: 3px; }
.card-next { margin: 0; padding-top: 10px; border-top: 1px solid var(--border); font-size: .88rem; }
.card-next span { color: var(--flame-dark); font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.team-card { display: flex; align-items: center; gap: 14px; padding: 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; }
.team-card:hover { box-shadow: 0 2px 4px rgba(13, 23, 38, .08), 0 8px 24px rgba(13, 23, 38, .1); }
.team-card .team-badge { width: 52px; height: 52px; font-size: 1.1rem; }
.team-card-body { display: grid; }
.team-card-body span { color: var(--muted); font-size: .85rem; }
.team-hero-inner { display: flex; align-items: center; gap: 28px; }
.team-hero h1 { margin-bottom: 12px; }
.team-hero .event-actions { margin-top: 18px; }
@media (max-width: 600px) { .team-hero-inner { flex-direction: column; align-items: flex-start; gap: 16px; } .team-badge-xl { width: 84px; height: 84px; font-size: 1.8rem; } }

.score-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.score-card { display: grid; gap: 6px; padding: 14px 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; }
.score-meta { color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.score-line { display: flex; align-items: center; gap: 10px; }
.score-line .team { flex: 1; font-weight: 600; font-size: .95rem; }
.score-line strong { font-family: var(--font-head); font-size: 1.3rem; }

/* Businesses */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.featured-label { display: inline-block; margin-bottom: 4px; padding: 1px 8px; border-radius: 999px; background: #fff3d6; color: #8a5a00; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.biz-hero { display: flex; align-items: center; gap: 24px; }
.biz-hero-logo { flex: none; width: 112px; height: 112px; border-radius: 16px; background: #fff; padding: 8px; }
.biz-hero-logo img { width: 100%; height: 100%; object-fit: contain; }
.offer-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; padding: 18px 22px; border-radius: var(--radius); background: linear-gradient(90deg, #fff1ea, #fff8e6); border: 1px solid #ffd2bd; }
.offer-banner .icon { width: 32px; height: 32px; color: var(--flame); }
.offer-banner span { display: block; color: var(--flame-dark); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.offer-banner strong { font-size: 1.15rem; }
@media (max-width: 600px) { .biz-hero { flex-direction: column; align-items: flex-start; } }

/* CTA blocks */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-card { padding: 32px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-card p { color: var(--muted); }
.split-card-dark { background: var(--ink); color: #fff; }
.split-card-dark p { color: rgba(255, 255, 255, .75); }
.list-cta { margin-top: 40px; }
@media (max-width: 760px) { .split-cta { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-icon { display: inline-flex; padding: 12px; margin-bottom: 14px; border-radius: 12px; background: #fff1ea; color: var(--flame); }
.feature-icon .icon { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.ff-form fieldset { margin: 0 0 20px; padding: 0; border: 0; }
.ff-form legend { margin-bottom: 12px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; text-transform: uppercase; }
.ff-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ff-field { margin: 0 0 14px; }
.ff-field-wide, .ff-form-grid > .ff-field:first-child:has(input[name="ff_title"]) { grid-column: 1 / -1; }
.ff-field label { display: block; margin-bottom: 5px; font-size: .9rem; font-weight: 600; }
.ff-field .req { color: var(--flame-dark); }
.ff-field input, .ff-field select, .ff-field textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #ccd3dd;
	border-radius: var(--radius-sm);
	background: #fff;
	font: inherit;
	color: var(--text);
}
.ff-field input:focus, .ff-field select:focus, .ff-field textarea:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 3px rgba(255, 90, 31, .18); }
.ff-form-note { color: var(--muted); font-size: .85rem; }
.ff-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ff-notice { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.ff-notice-success { background: #dff3e7; color: #15603a; }
.ff-notice-error { background: #fde3e3; color: #9b1c1c; }
.ff-report-about { margin-bottom: 18px; padding: 12px 16px; border-left: 4px solid var(--flame); background: var(--bg); border-radius: var(--radius-sm); line-height: 1.45; }
.ff-report-note { margin: 4px 0 12px; color: var(--muted); font-size: .9rem; }
.cf-turnstile { margin-bottom: 14px; }
@media (max-width: 600px) { .ff-form-grid { grid-template-columns: 1fr; } .form-card { padding: 20px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-about p { margin-top: 14px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .footer-disclaimer { flex-basis: 100%; font-size: .78rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* Long button labels ("Home: Ridgeview High School Stadium") must wrap on phones */
.team-hero-inner > div, .biz-hero > div { min-width: 0; max-width: 100%; }
@media (max-width: 600px) { .event-actions .btn { white-space: normal; text-align: center; } }

/* ==========================================================================
   FOLLOW TEAMS & CALENDAR SUBSCRIPTIONS
   ========================================================================== */
.follow-btn .icon { fill: none; }
.follow-btn.is-following { background: #fff; border-color: #fff; color: var(--ink); }
.follow-btn.is-following .icon { fill: var(--amber); stroke: var(--amber); }
.add-cal-note { margin: 4px 8px 6px; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.add-cal-menu button {
	padding: 10px 12px; border: 0; border-radius: 6px; background: none;
	font: inherit; font-weight: 500; color: var(--text); text-align: left; cursor: pointer;
}
.add-cal-menu button:hover { background: var(--bg); }
.team-hero .add-cal-menu { left: 0; transform: none; }
.my-teams h2 { display: inline-flex; align-items: center; gap: 8px; }
.my-teams h2 .icon { width: 24px; height: 24px; color: var(--amber); fill: var(--amber); }
.my-team { margin-bottom: 18px; }
.my-team-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.my-team-head a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.05rem; }
.unfollow { padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--muted); font: inherit; font-size: .8rem; cursor: pointer; }
.unfollow:hover { color: var(--danger); border-color: var(--danger); }

/* ---------- Where to eat nearby (venue + event pages) ---------- */
.nearby-spots .block-head h2 { display: flex; align-items: center; gap: 8px; }
.nearby-spots .block-head h2 .icon { color: var(--flame); flex: none; }
.nearby-intro { color: var(--muted); margin: -4px 0 14px; }
.nearby-empty {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.nearby-empty-main { padding: 24px; }
.nearby-empty-main h3 { margin-bottom: 6px; }
.nearby-empty-main p { color: var(--muted); margin-bottom: 16px; }
.nearby-empty-side { padding: 24px; background: #f6f7f9; border-left: 1px solid var(--border); font-size: .95rem; }
.nearby-empty-side p { color: var(--muted); margin-bottom: 10px; }
.nearby-empty-side strong { color: var(--ink); }
.nearby-tip { margin: 14px 0 0; font-size: .88rem; }
.nearby-empty .btn { white-space: normal; max-width: 100%; text-align: left; }
#where-to-eat, #fan-gear, #road-trips { scroll-margin-top: 90px; }
@media (max-width: 700px) {
	.nearby-empty { grid-template-columns: minmax(0, 1fr); }
	.nearby-empty-side { border-left: 0; border-top: 1px solid var(--border); }
}

/* ---------- Road trips (team pages) + team filter banner ---------- */
.road-trips .block-head h2 { display: flex; align-items: center; gap: 8px; }
.road-trips .block-head h2 .icon { color: var(--flame); }
.trip-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 12px; }
.trip-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.trip-head h3 { margin: 0; }
.trip-head .btn { white-space: normal; }
.trip-when { margin: 0 0 2px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--flame); }
.trip-games { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.trip-games li { border-bottom: 1px solid var(--border); }
.trip-games li:last-child { border-bottom: 0; }
.trip-games a { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 12px; padding: 9px 0; text-decoration: none; color: inherit; }
.trip-games a:hover .trip-match { text-decoration: underline; }
.trip-date { grid-row: span 2; font-weight: 700; font-size: .9rem; }
.trip-match { font-weight: 600; }
.trip-meta { color: var(--muted); font-size: .85rem; }
.trip-more { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.more-trips summary { cursor: pointer; font-weight: 700; color: var(--flame); margin: 6px 0 12px; }
.road-trip-banner {
	display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 18px;
	background: var(--ink); color: #fff; border-radius: var(--radius); text-decoration: none;
}
.road-trip-banner span { flex: 1; color: rgba(255, 255, 255, .8); }
.road-trip-banner strong { color: #fff; }
.road-trip-banner > .icon { color: var(--flame); flex: none; }
.trip-venues { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: -2px 0 10px; font-size: .9rem; color: var(--muted); }
.trip-venues .icon { color: var(--flame); width: 16px; height: 16px; }
.trip-venues a { font-weight: 700; color: var(--flame); }
.road-trip-banner .team-badge { flex: none; }
/* Stadium pin: round flame badge, drawn above the spot pins */
.ff-pin-venue span {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%; transform: none;
	background: var(--flame); color: #fff; border: 3px solid #fff;
}
.ff-pin-venue svg { width: 20px; height: 20px; }
.map-md { height: clamp(280px, 40vw, 420px); margin: 0 0 20px; box-shadow: var(--shadow); }

/* Spot page: description card */
.biz-about {
	position: relative; padding: 24px 26px 20px; background: #fff; border-radius: var(--radius);
	box-shadow: var(--shadow); border-left: 5px solid var(--flame);
}
.biz-about-label { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--flame); }
.biz-about-label .icon { width: 16px; height: 16px; }
.biz-about-text p { font-size: 1.15rem; line-height: 1.6; color: var(--ink); margin: 0 0 10px; }
.biz-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.biz-fact { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff1ea; color: #b13a0c; font-size: .85rem; font-weight: 700; text-decoration: none; }
.biz-fact .icon { width: 15px; height: 15px; }
a.biz-fact:hover { background: #ffe2d3; }
@media (max-width: 600px) { .biz-about { padding: 18px 18px 16px; } .biz-about-text p { font-size: 1.05rem; } }



/* "Evening glow" page headers (spot, stadium, and team pages): gradients only, no photo.
   --glow is the main glow color (FanFuel orange by default; a team's badge color on team pages).
   Main glow from the lower right, amber from the top, a hint of dusk violet lower left, a dot
   grid that fades in toward the right, and an optional large faint icon (.glow-mark). */
.glow-hero {
	--glow: 255, 90, 31;
	position: relative; overflow: hidden;
	padding-top: 64px; padding-bottom: 64px;
	background:
		radial-gradient(55% 130% at 100% 100%, rgba(var(--glow), .55), transparent 62%),
		radial-gradient(38% 90% at 72% -10%, rgba(255, 176, 32, .26), transparent 70%),
		radial-gradient(45% 100% at -5% 110%, rgba(124, 77, 255, .20), transparent 70%),
		linear-gradient(115deg, #0d1726 0%, #121d31 55%, #1d1a2e 100%);
}
.glow-hero::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.6px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
	mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
}
.glow-hero > .container { position: relative; }
.glow-mark {
	position: absolute; right: -10px; top: 50%; transform: translateY(-50%) rotate(-14deg);
	color: #fff; opacity: .08; pointer-events: none;
}
.glow-mark .icon { width: 230px; height: 230px; stroke-width: 1.2; }
@media (max-width: 700px) {
	.glow-mark { right: -40px; top: 30%; }
	.glow-mark .icon { width: 160px; height: 160px; }
}
/* Team pages: the team-color glow is the point, so it's bigger and stronger */
.team-hero.glow-hero {
	background:
		radial-gradient(70% 170% at 100% 100%, rgba(var(--glow), .72), transparent 62%),
		radial-gradient(40% 120% at 0% 0%, rgba(var(--glow), .22), transparent 70%),
		radial-gradient(38% 90% at 60% -10%, rgba(255, 176, 32, .16), transparent 70%),
		linear-gradient(115deg, #0d1726 0%, #121d31 55%, #1d1a2e 100%);
}

/* Spot description card, light version of the glow look (overrides the card above):
   white card, a gradient line across the top, a faint warm corner glow,
   and a light dot grid fading in at the right. Top line: orange to yellow. */
.biz-about {
	overflow: hidden; border-left: 0; padding-top: 28px;
	background:
		radial-gradient(55% 120% at 100% 100%, rgba(255, 90, 31, .09), transparent 65%),
		radial-gradient(40% 90% at 90% -20%, rgba(255, 176, 32, .08), transparent 70%),
		#fff;
}
.biz-about::after {
	content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: linear-gradient(90deg, #ff5a1f 0%, #ffc61a 100%);
}
.biz-about::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(13, 23, 38, .10) 1px, transparent 1.6px);
	background-size: 16px 16px;
	-webkit-mask-image: linear-gradient(100deg, transparent 55%, #000 100%);
	mask-image: linear-gradient(100deg, transparent 55%, #000 100%);
}
.biz-about > * { position: relative; }
.biz-fact { background: #fff7f2; color: #b13a0c; border: 1px solid #ffd9c7; }
a.biz-fact:hover { background: #ffeadf; }

/* Footer in the glow style: orange-to-yellow line on top, flame glow rising from the lower left,
   a little amber at the upper right, and the dot grid fading in toward the right. */
.site-footer {
	position: relative; overflow: hidden;
	background:
		radial-gradient(50% 120% at 0% 110%, rgba(255, 90, 31, .32), transparent 65%),
		radial-gradient(35% 80% at 100% -10%, rgba(255, 176, 32, .14), transparent 70%),
		linear-gradient(115deg, #1d1a2e 0%, #121d31 45%, #0d1726 100%);
}
.site-footer::before {
	content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: linear-gradient(90deg, #ff5a1f 0%, #ffc61a 100%);
}
.site-footer::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.6px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 95%);
	mask-image: linear-gradient(100deg, transparent 40%, #000 95%);
}
.site-footer > .container { position: relative; z-index: 1; }
.site-footer h4 { color: #ffc61a; }

/* Top bar: the same orange-to-yellow line along its bottom edge */
.site-header::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
	background: linear-gradient(90deg, #ff5a1f 0%, #ffc61a 100%);
}

/* Form dropdowns: match the text inputs (same height and border, custom arrow) */
.ff-field select {
	-webkit-appearance: none; appearance: none;
	min-height: 49.6px; padding-right: 38px; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d6878' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.ff-form-grid > .ff-field:has(select[name="ff_interest"]) { grid-column: 1 / -1; }
.feature-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .82rem; }

/* Advertise page (class names avoid "ad-", which ad blockers hide): the three options ride up over the header and carry the page */
.pitch-hero { padding-bottom: 130px; }
/* Header: iStock 2271293593 (packed sports bar). Poster everywhere; js/pitch-video.js adds the 886 KB loop on desktop only. ::after is the dark fade over both. */
.pitch-hero { background: url(img/pitch-bar-poster-1280.webp) center 35% / cover no-repeat, var(--ink); }
.pitch-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0; transition: opacity .6s ease; }
.pitch-video.is-playing { opacity: 1; }
.pitch-hero::after {
	background:
		radial-gradient(ellipse 60% 80% at 85% 10%, rgba(255, 90, 31, .22), transparent 60%),
		linear-gradient(90deg, rgba(13, 23, 38, .92) 0%, rgba(13, 23, 38, .78) 45%, rgba(13, 23, 38, .45) 100%),
		linear-gradient(0deg, rgba(13, 23, 38, .85), transparent 45%);
}
@media (max-width: 700px) {
	.pitch-hero { background: url(img/pitch-bar-poster-900.webp) center top / cover no-repeat, var(--ink); }
	.pitch-video { display: none; }
	.pitch-hero::after { background: linear-gradient(180deg, rgba(13, 23, 38, .7) 0%, rgba(13, 23, 38, .9) 70%); }
}
.pitch-options { padding-top: 0; }
.pitch-options .feature-grid { position: relative; z-index: 2; margin-top: -88px; gap: 22px; align-items: stretch; }
.pitch-options .feature {
	position: relative; overflow: hidden; display: flex; flex-direction: column;
	padding: 34px 28px 26px; box-shadow: 0 18px 40px rgba(13, 23, 38, .16);
	transition: transform .15s, box-shadow .15s;
}
.pitch-options .feature:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(13, 23, 38, .2); }
.pitch-options .feature::before {
	content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: linear-gradient(90deg, #ff5a1f 0%, #ffc61a 100%);
}
.pitch-options .feature-icon {
	width: 56px; height: 56px; padding: 0; align-items: center; justify-content: center;
	border-radius: 50%; color: #fff; margin-bottom: 18px;
	background: linear-gradient(135deg, #ff5a1f 0%, #ff8a1f 60%, #ffc61a 100%);
	box-shadow: 0 6px 16px rgba(255, 90, 31, .3);
}
.pitch-options .feature-icon .icon { width: 26px; height: 26px; }
.pitch-options .feature h3 { font-size: 1.35rem; margin-bottom: 10px; }
.pitch-options .feature p { font-size: .98rem; line-height: 1.6; flex: 1; }
.feature-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; color: var(--flame); text-decoration: none; }
.feature-cta:hover { text-decoration: underline; }
.feature-cta .icon { width: 16px; height: 16px; }

/* The lead option: dark glow card */
.pitch-options .feature-lead {
	color: #fff;
	background:
		radial-gradient(70% 120% at 100% 100%, rgba(255, 90, 31, .45), transparent 65%),
		radial-gradient(50% 90% at 90% -20%, rgba(255, 176, 32, .2), transparent 70%),
		linear-gradient(115deg, #0d1726 0%, #131e33 60%, #1d1a2e 100%);
}
.pitch-options .feature-lead h3 { color: #fff; }
.pitch-options .feature-lead p { color: rgba(255, 255, 255, .8); }
.pitch-options .feature-lead .feature-cta { color: #ffc61a; }
.feature-tag {
	position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px;
	background: rgba(255, 198, 26, .16); color: #ffc61a; border: 1px solid rgba(255, 198, 26, .35);
	font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
@media (max-width: 860px) {
	.pitch-hero { padding-bottom: 110px; }
	.pitch-options .feature-grid { margin-top: -70px; }
}

/* Advertise page: the two "why it works" points as simple cards */
.pitch-proof { gap: 22px; }
.proof-card { padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.proof-card h2 { font-size: 1.4rem; margin: 0 0 8px; }
.proof-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.proof-icon {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	margin-bottom: 14px; border-radius: 12px; background: #fff1ea; color: var(--flame);
}
.proof-icon .icon { width: 22px; height: 22px; }

/* Advertise page: big "Let's talk." with the orange-to-yellow gradient on "talk." */
.pitch-talk .eyebrow { color: var(--flame); }
.pitch-talk h2 {
	font-size: clamp(3.2rem, 7vw, 5.5rem); line-height: .92; letter-spacing: -.01em;
	margin: 6px 0 18px; color: var(--ink);
}
.talk-word {
	display: inline-block; padding-right: .06em;
	background: linear-gradient(90deg, #ff5a1f 0%, #ff8a1f 45%, #ffc61a 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	font-style: italic; transform: skewX(-4deg);
}
.pitch-talk > p:not(.eyebrow) { font-size: 1.15rem; line-height: 1.6; max-width: 380px; }

/* Advertise page: the three option cards bounce in, one after another.
   fill-mode "backwards" keeps them hidden until their turn and then hands transform back,
   so the hover lift still works afterward. */
@keyframes pitch-bounce-in {
	0%   { opacity: 0; transform: translateY(70px) scale(.96); }
	55%  { opacity: 1; transform: translateY(-14px) scale(1.01); }
	75%  { transform: translateY(6px) scale(1); }
	90%  { transform: translateY(-2px); }
	100% { opacity: 1; transform: translateY(0); }
}
.pitch-options .feature { animation: pitch-bounce-in 1.3s cubic-bezier(.22, .9, .3, 1) backwards; }
.pitch-options .feature:nth-child(1) { animation-delay: .2s; }
.pitch-options .feature:nth-child(2) { animation-delay: .5s; }
.pitch-options .feature:nth-child(3) { animation-delay: .8s; }
@media (prefers-reduced-motion: reduce) { .pitch-options .feature { animation: none; } }

/* Road trips sport filter (team pages); pills scroll sideways on phones instead of wrapping into a tall block */
.trip-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.trip-filter .sport-pill { cursor: pointer; font-family: inherit; color: var(--ink); }
.trip-filter .sport-pill.is-active { color: #fff; }
.pill-count { margin-left: 4px; font-size: .8rem; font-weight: 700; opacity: .55; }
.trip-show-more { width: 100%; justify-content: center; }
.trip-show-more[hidden] { display: none; } /* .btn display would override the hidden attribute */
@media (max-width: 600px) {
	.trip-filter {
		flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
		margin-left: -16px; margin-right: -16px; padding: 0 16px 2px;
	}
	.trip-filter::-webkit-scrollbar { display: none; }
}
.trip-venue:not([hidden]) ~ .trip-venue:not([hidden])::before { content: "·"; margin-right: 6px; color: var(--muted); }

/* ---------- Spot cards ("guide card": type strip, name, blurb, actions) ---------- */
.biz-grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.biz-card {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
	transition: transform .15s, box-shadow .15s;
}
.biz-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(13, 23, 38, .06), 0 10px 28px rgba(13, 23, 38, .1); }
.biz-strip {
	display: flex; align-items: center; gap: 10px; padding: 12px 16px;
	background: linear-gradient(110deg, #fff4ec 0%, #ffe3d2 100%);
	color: #a3360b;
}
.biz-type-icon, .biz-logo {
	flex: none; width: 34px; height: 34px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #fff; color: var(--flame); box-shadow: 0 1px 3px rgba(163, 54, 11, .15); overflow: hidden;
}
.biz-type-icon .icon { width: 19px; height: 19px; }
.biz-logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-type { flex: 1; min-width: 0; font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.biz-distance {
	flex: none; display: inline-flex; align-items: center; gap: 4px;
	padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff;
	font-size: .8rem; font-weight: 700; white-space: nowrap;
}
.biz-distance .icon { width: 13px; height: 13px; color: var(--amber); }
.biz-card.is-featured { box-shadow: 0 0 0 2px var(--amber), var(--shadow); }
.biz-card.is-featured .biz-strip { background: linear-gradient(110deg, var(--flame) 0%, #ff8a2a 60%, var(--amber) 100%); color: #fff; }
.biz-body { flex: 1; padding: 14px 16px 12px; }
.biz-body h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin: 0 0 6px; }
.biz-link { color: var(--ink); text-decoration: none; }
.biz-link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card opens the spot page */
.biz-card:hover .biz-link { color: #b13a0c; }
.biz-blurb {
	margin: 0 0 8px; color: #3c4757; font-size: .92rem; line-height: 1.5;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.biz-meta { margin: 0; color: var(--muted); font-size: .82rem; }
.biz-offer { display: flex; gap: 6px; margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: #fff7f2; color: #b13a0c; font-size: .85rem; font-weight: 600; }
.biz-offer .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.biz-actions { position: relative; z-index: 2; display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--border); }
.biz-action {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--border);
	color: var(--ink); font-size: .88rem; font-weight: 700; text-decoration: none; background: #fff;
}
.biz-action .icon { width: 17px; height: 17px; }
.biz-action:hover { border-color: var(--ink); }
.biz-action-main { flex: 1 1 auto; min-width: 0; padding: 0 12px; background: var(--flame); border-color: var(--flame); color: #fff; }
.biz-action-main:hover { background: #e94a12; border-color: #e94a12; }
.biz-action-icon { width: 40px; padding: 0; }

/* Homepage "Own a spot near a stadium?" card: iStock 2260441225 (fans at a sports bar) behind a dark fade. Below the first screen and lazy-loaded; 32 KB phone / 66 KB desktop. */
.split-card-photo { position: relative; overflow: hidden; }
.split-card-photo > * { position: relative; z-index: 1; }
.split-card-photo > .split-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.split-card-photo::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(13, 23, 38, .9) 0%, rgba(13, 23, 38, .72) 60%, rgba(13, 23, 38, .5) 100%); }

/* Fan gear (team gear shops): sidebar list on team pages */
.gear-list { list-style: none; margin: 10px 0 0; padding: 0; }
.gear-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.gear-list li:first-child { border-top: 0; }
.gear-list a { font-weight: 600; }
.gear-list span { color: var(--muted); font-size: .9rem; white-space: nowrap; }
