/* City of Palms Classic — header & footer chrome.
   Values below are transcribed verbatim from the approved prototype's own
   component source (ui_kits/site-desktop/SiteHeader.jsx, decompiled out of
   handoff/05-standalone), not estimated off a screenshot. Kept as hand-written
   CSS rather than theme.json presets because the spec's exact px values
   (31px wordmark, 11.5px subline, 28px bar gap, 22px nav gap…) don't line up
   with the preset spacing/font-size scale. */

/* ===== Score Strip (sitewide ticker) ===== */

/* Outer wrapper — holds the scrolling strip + the "Updated at" meta line */
.cop-score-strip-container {
	display: flex;
	flex-direction: column;
}

.cop-score-strip {
	display: flex;
	gap: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	background: var(--grad-chyron);
	border-top: 1px solid var(--border-subtle);
	border-bottom: 1px solid var(--border-subtle);
}
.cop-score-strip::-webkit-scrollbar { display: none; }

.cop-score-tile {
	flex: 0 0 auto;
	min-width: 132px;
	padding: 6px var(--sp-2, 16px) 6px var(--sp-1, 8px);
	display: flex;
	flex-direction: column;
	gap: 2px;
	align-items: stretch;
	background: none;
	border: none;
	border-right: 1px solid var(--border-subtle);
	cursor: pointer;
	text-align: left;
	text-decoration: none;
	color: inherit;
	transition: background .12s;
}
.cop-score-tile:hover { background: rgba(255,255,255,.04); }
.cop-score-tile--live {
	border-left: 2px solid var(--accent-500);
	box-shadow: var(--shadow-live-glow);
}

.cop-score-tile__status {
	display: flex;
	align-items: center;
	gap: 4px;
	font-family: var(--font-body);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--text-muted);
	white-space: nowrap;
}
.cop-score-tile__status--live { color: var(--accent-500); }
.cop-score-tile__status--live svg { animation: cop-live-pulse 1.2s ease-in-out infinite; }

.cop-score-tile__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.cop-score-tile__name {
	font-family: var(--font-display);
	font-size: 13px;
	line-height: 15px;
	font-weight: 500;
	color: var(--text-primary);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 82px;
}
.cop-score-tile__name--winner { font-weight: 700; }
.cop-score-tile__name[data-dim="1"] { color: var(--text-muted); }

.cop-score-tile__score {
	font-family: var(--font-display);
	font-size: 14px;
	line-height: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums lining-nums;
	color: var(--text-primary);
	white-space: nowrap;
}
.cop-score-tile__score--winner { font-weight: 900; }
.cop-score-tile__score[data-dim="1"] { color: var(--text-muted); }

/* Radio icon — always in DOM, only visible on live tiles */
.cop-score-tile__status svg { display: none; }
.cop-score-tile--live .cop-score-tile__status svg { display: inline-block; }

/* Updated-at meta line */
.cop-score-strip__meta {
	background: var(--grad-chyron);
	border-bottom: 1px solid var(--border-subtle);
	padding: 2px var(--sp-2, 16px);
	text-align: right;
}
.cop-score-strip__updated {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .08em;
	color: var(--text-muted);
	font-family: var(--font-body);
}
.cop-score-strip__updated.is-stale {
	color: var(--gold-500);
}

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

.cop-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--grad-chyron);
	border-bottom: 1px solid var(--border-default);
	box-shadow: var(--shadow-sticky);
	margin-top: 0 !important;
	padding: 0 !important;
}

.cop-bar {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--sp-2) var(--gutter-desktop);
	display: flex;
	align-items: center !important;
	gap: 28px;
}
.cop-bar > .cop-nav,
.cop-bar > .cop-actions {
	align-self: center;
}
/* WP's layout-support "render_block" filter injects the Group block's
   layout classes onto whatever raw element is first inside the block's
   content — here that lands on .cop-bar (since this part's markup is
   hand-authored HTML, not the block editor's own output) — which brings
   along core's `:where(.is-layout-flow) > * { margin-block-start: ... }`
   rule and pushes the nav/actions down out of vertical center. */
.cop-bar > * {
	margin-block-start: 0;
}

.cop-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	text-decoration: none !important;
	border-bottom: none !important;
	color: inherit;
}

.cop-logo {
	height: 80px;
	width: auto;
	display: block;
}

.cop-wordmark {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cop-wordmark__title {
	font-family: var(--font-display);
	/* Fluid between 19px at a 360px viewport and 31px at 1200px (the width
	   where the header switches back to its full desktop layout — see the
	   nav breakpoint below) instead of jumping between two fixed sizes. */
	font-size: clamp(19px, calc(19px + 12 * (100vw - 360px) / 840), 31px);
	line-height: clamp(20px, calc(20px + 8 * (100vw - 360px) / 840), 28px);
	font-weight: 800;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cop-wordmark__accent {
	color: var(--gold-400);
}

.cop-subline {
	display: block;
	font-family: var(--font-body);
	font-size: clamp(10px, calc(10px + 1.5 * (100vw - 360px) / 840), 11.5px);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase !important;
	color: var(--text-muted);
	margin-top: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform: none;
}

/* -- Navigation (core/navigation, restyled to spec) -- */

.cop-header .cop-nav {
	flex: 1 1 auto;
	min-width: 0;
}
.cop-header .cop-nav .wp-block-navigation__container {
	display: flex;
	align-items: center;
	gap: 18px;
	justify-content: flex-end;
}
.cop-header .cop-nav .wp-block-navigation-item {
	position: relative;
}
.cop-header .cop-nav .wp-block-navigation-item__content,
.cop-header .cop-nav .wp-block-navigation-submenu__toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	padding: 8px 0 !important;
	border-bottom: 2px solid transparent;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	transition: var(--transition-control);
}
.cop-header .cop-nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.cop-header .cop-nav .wp-block-navigation-item:hover > .wp-block-navigation-submenu__toggle,
.cop-header .cop-nav .wp-block-navigation-item__content:focus,
.cop-header .cop-nav .wp-block-navigation-submenu__toggle:focus {
	color: #fff;
	text-decoration: none;
}
.cop-header .cop-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.cop-header .cop-nav .wp-block-navigation-item.current-menu-parent > .wp-block-navigation-submenu__toggle,
.cop-header .cop-nav .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-submenu__toggle {
	color: #fff;
	border-bottom-color: var(--gold-500);
}

/* chevron (WP's own submenu icon — same down-chevron shape as the spec's Lucide icon) */
.cop-header .cop-nav .wp-block-navigation__submenu-icon {
	width: 14px;
	height: 14px;
}
.cop-header .cop-nav .wp-block-navigation__submenu-icon svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
}

/* dropdown panel */
.cop-header .cop-nav .wp-block-navigation__submenu-container {
	top: 100%;
	left: -12px;
	margin-top: 10px;
	min-width: 196px;
	padding: 6px;
	background: var(--surface-raised);
	border: 1px solid var(--border-default);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-raised);
}
/* Transparent bridge fills the 10px gap so the mouse never leaves the nav
   item's hover area while travelling down to the panel. */
.cop-header .cop-nav .wp-block-navigation__submenu-container::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
}
.cop-header .cop-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 9px 12px !important;
	border-bottom: none;
	border-radius: var(--radius-xs);
	color: var(--text-secondary);
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}
.cop-header .cop-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
	color: #fff;
	text-decoration: none;
	background: var(--state-hover);
}

/* mobile overlay drawer, restyled to brand colors (WP's own slide-out, not the
   prototype's custom chip-wrap drawer — see build notes) */
.cop-header .cop-nav .wp-block-navigation__responsive-container-open,
.cop-header .cop-nav .wp-block-navigation__responsive-container-close {
	color: #fff;
}
/* !important required: core's own inline style
   `.wp-block-navigation:not(.has-background) .wp-block-navigation__
   responsive-container.is-menu-open:not(.disable-default-overlay)` uses two
   :not() pseudo-classes, which each count toward specificity — giving core
   one more specificity point than this selector and silently forcing the
   overlay back to its default white background (text stayed our light
   --text-primary from a separate, lower-specificity core rule, so the menu
   rendered as invisible light text on white — the "blank page" symptom). */
.cop-header .cop-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--surface-raised) !important;
}
.cop-header .cop-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.cop-header .cop-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle {
	font-family: var(--font-display);
	/* Fluid 16px (a 360px phone) up to 20px (700px, where the overlay's own
	   layout settles into its largest comfortable size). */
	font-size: clamp(16px, calc(16px + 4 * (100vw - 360px) / 340), 20px);
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--text-primary);
}

/* -- Off-canvas content (parts/menu-mobile.html, via Ollie Menu Designer's
   mobileMenuSlug on the Navigation block) --
   Entirely separate markup from the desktop inline nav above, injected by
   the plugin and swapped in for the nested-submenu content core would
   otherwise render — see patterns/menu-mobile.php for why. Plain <details>/
   <summary>: closed by default, opens on click or Enter/Space, no JS. */
.cop-mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
}
.cop-mobile-nav__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 14px 4px;
	font-family: var(--font-display);
	font-size: clamp(16px, calc(16px + 4 * (100vw - 360px) / 340), 20px);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--text-primary);
	text-decoration: none;
	border-bottom: 1px solid var(--border-subtle);
	cursor: pointer;
	list-style: none;
}
.cop-mobile-nav__link::-webkit-details-marker {
	display: none;
}
.cop-mobile-nav__chevron {
	flex: 0 0 auto;
	transition: transform 0.15s ease;
	color: var(--text-muted);
}
.cop-mobile-nav__group[open] > .cop-mobile-nav__link .cop-mobile-nav__chevron {
	transform: rotate(180deg);
}
.cop-mobile-nav__sublist {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 4px 0 10px 16px;
}
.cop-mobile-nav__sublist a {
	padding: 10px 4px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--text-secondary);
	text-decoration: none;
}
.cop-mobile-nav__sublist a:hover,
.cop-mobile-nav__sublist a:focus-visible {
	color: var(--text-primary);
}

/* -- Actions: search + tickets -- */

.cop-actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.cop-iconbtn {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	background: transparent;
	border: 1px solid transparent;
	color: var(--text-secondary);
	cursor: pointer;
	transition: var(--transition-control);
}
.cop-iconbtn:hover {
	background: var(--state-hover);
	color: var(--text-primary);
}

.cop-search {
	position: relative;
}

.cop-search__panel {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
	width: 280px;
	padding: 6px;
	background: var(--surface-raised);
	border: 1px solid var(--border-default);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-raised);
	z-index: 1;
}
.cop-search__panel[hidden] {
	display: none;
}

.cop-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 36px;
	padding: 0 10px;
	/* !important: the Ollie parent theme's base form-field rule
	   (input:not([type="submit"]):not([type="radio"]) in
	   themes/ollie/style.css) outranks a single class selector and forces
	   background-color:#fff + color:var(--wp--preset--color--main) (which
	   resolves to white here) — white-on-white, invisible while typing.
	   Same conflict already fixed the same way on .cop-alumni-search__input
	   in page-about.css. */
	background: var(--surface-inset) !important;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-xs);
	color: var(--text-primary) !important;
	font-family: var(--font-body);
	font-size: 14px;
}
.cop-search__input::placeholder {
	color: var(--text-muted);
}
.cop-search__input:focus-visible {
	outline: none;
	border-color: var(--focus-ring);
}

.cop-search__submit {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	border-radius: var(--radius-xs);
	color: var(--text-secondary);
	cursor: pointer;
	transition: var(--transition-control);
}
.cop-search__submit:hover {
	background: var(--state-hover);
	color: var(--text-primary);
}

.cop-btn-gold {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: var(--radius-sm);
	background: var(--gold-500);
	color: var(--text-on-gold);
	border: 1px solid var(--gold-500);
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: var(--transition-control);
}
.cop-btn-gold:hover {
	background: var(--gold-400);
	border-color: var(--gold-400);
	color: var(--text-on-gold);
	box-shadow: var(--shadow-gold-glow);
}

/* "Gold (CTA)" core/button style (inc/block-styles.php registers the name
   only — WordPress doesn't generate any visual CSS for a custom block
   style on its own, so without this a page editor's button with this
   style applied would render unstyled). Matches .cop-btn-gold above. */
.wp-block-button.is-style-cop-gold .wp-block-button__link {
	background: var(--gold-500);
	color: var(--text-on-gold);
	border: 1px solid var(--gold-500);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.wp-block-button.is-style-cop-gold .wp-block-button__link:hover {
	background: var(--gold-400);
	border-color: var(--gold-400);
	color: var(--text-on-gold);
	box-shadow: var(--shadow-gold-glow);
}
.cop-btn-gold:active {
	background: var(--gold-600);
	border-color: var(--gold-600);
	box-shadow: none;
}

/* The nav-switches-to-toggle-earlier-than-600px override now lives on the
   Navigation block itself (mobileMenuBreakpointEnabled/mobileMenuBreakpoint
   in patterns/header.php) via Ollie Menu Designer, which generates the
   equivalent @media override inline — same 1200px threshold, measured the
   same way (full-size logo+wordmark 387px + all 6 nav items 445px +
   actions 180px + gaps/padding ~92px ≈ 1131px, with a safety margin), just
   generated by the plugin instead of hand-written here. */

/* ===== Header — small screens =====
   SiteHeader.jsx (the approved desktop prototype) has no responsive
   behavior of its own to match — it was designed desktop-only. The
   prototype's only "mobile" reference, ui_kits/site-mobile/AppShell.jsx, is
   a separate native-app-style shell (different screens entirely, not a
   breakpoint of this header), so there's nothing to decompile here. Title/
   subline font-size scale fluidly via clamp() above (reusing that
   component's own proven mobile type scale — 19px title / 10px subline —
   as the fluid range's floor rather than inventing new sizes), so only the
   non-font layout changes live in this breakpoint: the brand/actions
   blocks were both flex: 0 0 auto at full desktop size with nothing to
   give, so below ~660px of combined content width the nav toggle button
   got pushed past the right edge of the viewport instead of the bar
   adapting (the "no cross button" / "menu not responsive" bug). */
@media (max-width: 700px) {
	.cop-bar {
		padding: var(--sp-2) var(--gutter-mobile);
		gap: 10px;
	}
	.cop-brand {
		flex: 1 1 auto;
		min-width: 0;
		gap: 8px;
	}
	.cop-logo {
		height: 36px;
		flex: 0 0 auto;
	}
	.cop-subline {
		margin-top: 2px;
	}
	.cop-header .cop-nav {
		flex: 0 0 auto;
		min-width: auto;
	}
	.cop-actions {
		flex: 0 0 auto;
		gap: 4px;
	}
	.cop-actions .cop-iconbtn {
		width: 36px;
		height: 36px;
	}
	.cop-search__panel {
		width: min(280px, calc(100vw - 2 * var(--gutter-mobile)));
	}
	.cop-btn-gold {
		height: 36px;
		padding: 0 10px;
		font-size: 12px;
		gap: 4px;
	}
}

@media (max-width: 420px) {
	.cop-actions .cop-iconbtn {
		display: none;
	}
}

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

.cop-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.11);
	margin-top: 64px !important;
	background: var(--n-950);
	padding: 0 !important;
}

.cop-footer-grid {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 40px var(--gutter-desktop);
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 32px;
}

.cop-footer-brand p {
	font-size: 12px;
	color: var(--text-muted);
	max-width: 280px;
	margin: 0;
}
.cop-footer-brand img {
	height: 72px;
	width: auto;
	margin-bottom: 12px;
	display: block;
}

.cop-footer-col__heading {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-400);
	margin-bottom: 10px;
}
.cop-footer-col__links {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.cop-footer-col__links a {
	font-size: 13px;
	color: var(--text-secondary);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: var(--transition-control);
}
.cop-footer-col__links a:hover {
	border-bottom-color: currentColor;
}

.cop-footer-legal-wrap {
	border-top: 1px solid var(--border-subtle);
}
.cop-footer-legal {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 16px var(--gutter-desktop);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.cop-footer-copyright {
	font-size: 11px;
	color: var(--text-muted);
	letter-spacing: 0.04em;
}
.cop-footer-social {
	display: flex;
	gap: 14px;
	color: var(--text-muted);
}
.cop-footer-social a {
	display: inline-flex;
	color: inherit;
}
.cop-footer-social svg {
	width: 16px;
	height: 16px;
}
.cop-footer-social a:hover {
	color: #fff;
}

/* ===== Inner pages — .site-main ===== */

.site-main {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 1280px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	min-height: 60vh;
	padding: var(--sp-8) var(--gutter-desktop) var(--sp-10) !important;
}

/* Generic plain-Gutenberg pages (Hotels, Directions, Coaches & Scouts, etc.)
   with no dedicated pattern/template fall back to this file's page.html,
   which otherwise inherits theme.json's narrow default content width
   (--container-reading, 680px) for post-content's non-wide blocks — visibly
   narrower than the header/every other section on the site (1280px). Widen
   it to match. */
.cop-page--generic {
	--wp--style--global--content-size: var(--container-max);
}

/* .site-main (above) already supplies the page's one horizontal gutter —
   it's what insets the post-title (h1) from the viewport edge. But
   theme.json's useRootPaddingAwareAlignments setting makes WP add a SECOND,
   redundant gutter (.has-global-padding, via --wp--style--root--padding-*)
   to post-content's own wrapper, since it's a top-level constrained-layout
   block. Net effect: post-content renders inset further than the title
   above it. Zero out the redundant inner layer so both sit flush. */
.cop-page--generic .has-global-padding {
	padding-left: 0;
	padding-right: 0;
}

.cop-page__title {
	font-family: var(--font-display);
	font-size: var(--fs-display-lg);
	font-weight: 800;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--text-primary);
	margin: 0 0 var(--sp-6);
}

/* Pages whose content is a complete, self-contained section (a hero band,
   or a .cop-field-style full-bleed block) that manages its own padding AND
   its own horizontal gutter end to end. The generic .site-main padding
   above would double up with that: for team-detail it actually breaks the
   hero band's edge-to-edge bleed (it gets a second, unwanted gutter inset
   on top of its own), and for all of them it stacks an extra 80px/128px
   of dead space right after the header and before the footer. Zero it out
   entirely (not just inline) for these. */
.cop-page--bracket,
.cop-page--scores,
.cop-page--tickets,
.cop-page--about,
.cop-page--team-detail,
.cop-page--premiere,
.cop-page--recruits,
.cop-page--commitments,
.cop-page--watch,
.cop-page--year-2025,
.cop-page--news,
.cop-page--news-single,
.cop-page--sponsors {
	padding: 0 !important;
}

/* Single game/premiere-game pages: the hero game-card is a bordered card,
   not a full-bleed section — it still needs the normal horizontal gutter,
   just not the generic 80px/128px vertical padding meant for plain
   post-content pages (the card supplies its own internal breathing room). */
.cop-page--game-detail {
	padding-block: var(--sp-5) !important;
}

/* 404 / search content cap */
.cop-page--404,
.cop-page--search {
	max-width: var(--container-reading);
}

@media (max-width: 782px) {
	.site-main {
		padding-top: var(--sp-6) !important;
		padding-bottom: var(--sp-8) !important;
		padding-inline: var(--gutter-mobile) !important;
	}
}

/* ===== Team detail (single-cop_team) ===== */
/* Transcribed from ui_kits/site-desktop/TeamDetail.jsx — see render.php's
   header comment for what was intentionally left out (no real data). */

.cop-team-detail__hero {
	position: relative;
	isolation: isolate;
	border-bottom: 1px solid var(--border-subtle);
	background: var(--grad-chyron);
	background-size: cover;
	background-position: center;
}
.cop-team-detail__hero--photo {
	background-size: cover;
	background-position: center;
}
.cop-team-detail__hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(100deg, rgba(23,20,16,.9) 0%, rgba(23,20,16,.8) 42%, rgba(23,20,16,.34) 76%, rgba(23,20,16,.16) 100%);
}
.cop-team-detail__hero--photo .cop-team-detail__hero-overlay { opacity: 1; }
.cop-team-detail__hero:not(.cop-team-detail__hero--photo) .cop-team-detail__hero-overlay { opacity: .35; }
.cop-team-detail__hero-inner {
	position: relative;
	z-index: 2;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 28px var(--gutter-desktop) 44px;
}
.cop-team-detail__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 20px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: var(--fw-semibold);
	letter-spacing: .04em;
	color: var(--text-secondary);
	text-decoration: none;
}
.cop-team-detail__back:hover { color: var(--text-primary); }
.cop-team-detail__hero-row {
	display: flex;
	align-items: flex-end;
	gap: var(--sp-3);
	flex-wrap: wrap;
}
.cop-team-detail__badge {
	flex: 0 0 auto;
	width: 84px;
	height: 84px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--surface-inset);
	border: 1px solid var(--border-default);
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 800;
	color: var(--text-secondary);
	letter-spacing: .02em;
}
.cop-team-detail__badge--logo {
	object-fit: contain;
	padding: 10px;
	background: var(--surface-inset);
}
.cop-team-detail__hero-text {
	flex: 1 1 420px;
	min-width: 0;
}
.cop-team-detail__chips {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.cop-team-detail__title {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(34px, 3.6vw, 54px);
	line-height: .94;
	margin: 0 0 10px;
	color: var(--text-primary);
}
.cop-team-detail__meta-line {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--text-secondary);
}
.cop-team-detail__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.cop-team-detail__meta-item svg { color: var(--text-muted); }
.cop-team-detail__meta-sep { color: var(--border-strong); }
.cop-team-detail__note {
	margin: 12px 0 0;
	font-size: 15px;
	color: var(--text-body, var(--text-primary));
	max-width: 56ch;
}

.cop-team-detail__body {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 40px var(--gutter-desktop) 56px;
}
.cop-team-detail__bio {
	max-width: var(--container-reading);
	color: var(--text-primary);
	line-height: var(--lh-body);
	margin-top: 18px;
}
.cop-team-detail__bio + .cop-section-header { margin-top: 40px; }

.cop-team-detail__players {
	margin-top: 18px;
	border-top: 1px solid var(--border-subtle);
}
.cop-team-detail__player-row {
	display: flex;
	align-items: baseline;
	gap: var(--sp-3);
	padding: 14px 0;
	border-bottom: 1px solid var(--border-subtle);
}
.cop-team-detail__player-name {
	flex: 0 0 auto;
	min-width: 200px;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .01em;
	color: var(--text-primary);
}
.cop-team-detail__player-meta {
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--text-secondary);
}
.cop-team-detail__players + .cop-section-header { margin-top: 40px; }

.cop-team-detail__games {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}
.cop-team-detail__empty {
	margin-top: 18px;
	font-size: 14px;
	color: var(--text-secondary);
}

.cop-team-detail__pending {
	margin-top: 40px;
	padding: var(--sp-4);
	display: grid;
	gap: 10px;
	max-width: 620px;
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
}
.cop-team-detail__pending-title {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--text-primary);
}
.cop-team-detail__pending p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--text-secondary);
}

@media (max-width: 782px) {
	.cop-team-detail__badge { width: 64px; height: 64px; font-size: 22px; }
	.cop-team-detail__player-name { min-width: 0; }
	.cop-team-detail__player-row { flex-direction: column; gap: 4px; }
}

/* ===== Google Maps embed (Visit > Directions page) ===== */

/* Two-column layout (text left, map right): the 50/50 width split and the
   mobile stack are the native Gutenberg Columns block's own job (set in
   the editor, not here) — core already gives equal-width columns that
   stretch to match height and stack under 782px. This only tunes the map
   embed to fill its column's full stretched height. */
.cop-directions-columns .cop-map-embed {
	margin-top: 0;
	height: 100%;
	position: sticky;
	top: 24px;
}
.cop-directions-columns .cop-map-embed iframe {
	height: 100%;
	min-height: 320px;
}

.cop-map-embed {
	max-width: 100%;
	margin-top: 24px;
}
.cop-map-embed iframe {
	width: 100%;
	max-width: 100%;
	height: 450px;
	border: 0;
}

/* ===== Hotel list (page-hotels, plain Gutenberg content) ===== */
/* Two-column card grid instead of one long stacked list of 9 hotels, so the
   page doesn't take a long scroll to see them all. Markup: a wp:group with
   className cop-hotel-grid (native WP grid layout, columnCount 2) wrapping
   one wp:group with className cop-hotel-card per hotel. */

.cop-hotel-grid {
	margin-top: var(--sp-5);
	gap: var(--sp-5) var(--sp-6) !important;
}
.cop-hotel-card {
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: var(--sp-4);
	display: flex;
	flex-direction: column;
}
.cop-hotel-card .wp-block-heading {
	margin-top: 0;
}
.cop-hotel-card .wp-block-buttons {
	margin-top: auto;
	padding-top: var(--sp-3);
}

@media (max-width: 700px) {
	.cop-hotel-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ===== Sponsorship packages (page-sponsors, plain Gutenberg content) =====
   Markup: wp:group className cop-sponsor-grid wrapping one wp:group
   className cop-sponsor-card per package (price as a wp:paragraph
   cop-sponsor-card__price, name as wp:heading h3, optional subtitle as
   wp:paragraph cop-sponsor-card__subtitle, inclusions as a plain wp:list).
   Add is-style-cop-gold-border (className cop-sponsor-card--exec) to mark
   the Executive-tier cards. */

/* Lift the 680px reading-width cap so sponsor content spans the full wide width */
.page-template-page-sponsors .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: var(--container-max);
}

.cop-sponsor-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
	gap: var(--sp-4) var(--sp-5) !important;
	margin-top: var(--sp-4);
}
.cop-sponsor-card {
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: var(--sp-4);
	display: flex;
	flex-direction: column;
}
.cop-sponsor-card--exec {
	border-color: var(--gold-600);
}
.cop-sponsor-card__price {
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: var(--fw-black);
	line-height: 1;
	letter-spacing: var(--ls-tight);
	color: var(--text-accent);
	margin: 0 0 var(--sp-1);
}
.cop-sponsor-card .wp-block-heading {
	margin: 0 0 2px;
}
.cop-sponsor-card__subtitle {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-caps);
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 var(--sp-2);
}
.cop-sponsor-card ul {
	margin: var(--sp-2) 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}
.cop-sponsor-card ul li {
	position: relative;
	padding-left: 20px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--text-secondary);
}
.cop-sponsor-card ul li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--gold-400);
	font-weight: var(--fw-bold);
}
.cop-sponsor-fineprint {
	margin-top: var(--sp-4);
	padding-top: var(--sp-3);
	border-top: 1px solid var(--border-subtle);
	display: grid;
	gap: 4px;
}
.cop-sponsor-fineprint p {
	font-size: 12px;
	line-height: 1.5;
	color: var(--text-muted);
	margin: 0;
}

@media (max-width: 480px) {
	.cop-sponsor-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ===== Sponsors page logo rows ===== */
/* Colors and padding are set in Gutenberg block attributes.
   Only the logo flex layout and image sizing live here. */

.cop-sponsor-logos-gold,
.cop-sponsor-logos-partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.cop-sponsor-logos-gold {
	gap: 16px 24px;
}
.cop-sponsor-logos-partners {
	gap: 12px 16px;
}
.cop-sponsor-logos-gold img {
	height: auto;
	width: 20rem;
}
.cop-sponsor-logos-partners img {
	max-height: 48px;
	width: auto;
	max-width: 160px;
	opacity: 0.9;
}
@media (max-width: 600px) {
	.cop-sponsor-logos-gold,
	.cop-sponsor-logos-partners {
		gap: 10px;
	}
}

/* ===== Gravity Forms ===== */

/* GF inputs must always have dark text — the page body inherits white from
   the site's default dark-theme token scope and would otherwise make typed
   text invisible against the white input background. */
.gform_wrapper input:not([type="submit"]):not([type="button"]):not([type="radio"]):not([type="checkbox"]),
.gform_wrapper textarea,
.gform_wrapper select {
	color: var(--n-950, #171410);
	background-color: #fff;
}

.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
	color: var(--n-700, #453f33);
	opacity: 1;
}
.gform_wrapper .gform_button,
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_previous_button,
.gform_wrapper input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 18px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: var(--radius-sm);
	background: var(--gold-500);
	color: var(--text-on-gold);
	border: 1px solid var(--gold-500);
	cursor: pointer;
	transition: var(--transition-control);
}
.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_next_button:hover,
.gform_wrapper .gform_previous_button:hover,
.gform_wrapper input[type="submit"]:hover {
	background: var(--gold-400);
	border-color: var(--gold-400);
}
.gform_wrapper .gform_button:active,
.gform_wrapper .gform_next_button:active,
.gform_wrapper .gform_previous_button:active,
.gform_wrapper input[type="submit"]:active {
	background: var(--gold-600);
	border-color: var(--gold-600);
}

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

@media (max-width: 782px) {
	.cop-wordmark {
		font-size: 24px;
	}
	.cop-logo {
		height: 56px;
	}
	.cop-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.cop-footer-brand {
		grid-column: 1 / -1;
	}
}
