/*
Theme Name: ACE Hoops
Theme URI: https://acehoops.net
Description: Modern basketball league & academy theme for ACE Hoops — Vernon youth basketball. Dark, gold-accented, mobile-first. Built on the CourtClok League framework.
Version: 1.0.0
Author: ACE Hoops
Author URI: https://acehoops.net
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: courtclok-league
Tags: sports, basketball, league, academy, responsive, custom-logo, custom-menu
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
	/* ACE Hoops brand — dark chrome + gold accent.
	   Variable names kept (--navy/--orange) so all templates inherit the
	   rebrand automatically; only the values changed to the Ace palette. */
	--navy:   #1a1f26;   /* dark chrome (header/footer/hero)        */
	--navy-light: #29303a; /* raised dark surface                   */
	--navy-mid: #3a4250;  /* mid dark / borders on dark             */
	--orange: #d0992e;    /* Ace gold (accent, buttons, links)      */
	--orange-dark: #b8852a;
	--orange-light: #e6b659;
	--white:  #ffffff;
	--gray:   #f5f5f5;
	--gray-mid: #e0e0e0;
	--gray-dark: #9e9e9e;
	--text:   #1f242b;
	--text-light: #515b66;

	/* Semantic aliases used by some templates */
	--gold: var(--orange);
	--gold-dark: var(--orange-dark);
	--dark: var(--navy);
	--color-primary: var(--navy);
	--color-accent: var(--orange);

	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-display: 'Montserrat', var(--font-sans);
	--font-mono: 'Courier New', Courier, monospace;

	--radius-sm: 4px;
	--radius:    8px;
	--radius-lg: 16px;
	--radius-xl: 24px;

	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
	--shadow:    0 4px 12px rgba(0, 0, 0, 0.15);
	--shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.20);
	--shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);

	--transition: 0.25s ease;
	--transition-slow: 0.45s ease;

	--max-width: 1200px;
	--header-height: 68px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-sans);
	color: var(--text);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: var(--orange);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover,
a:focus {
	color: var(--orange-dark);
	text-decoration: underline;
}

ul, ol {
	list-style: none;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

button {
	cursor: pointer;
}

/* ============================================================
   SKIP LINK (ACCESSIBILITY)
   ============================================================ */
.skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	background: var(--orange);
	color: var(--white);
	padding: 12px 24px;
	font-weight: 700;
	font-size: 0.875rem;
	z-index: 9999;
	border-radius: 0 0 var(--radius) 0;
	transition: top var(--transition);
}

.skip-link:focus {
	top: 0;
	color: var(--white);
	text-decoration: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1rem;
	color: var(--text-light);
	line-height: 1.75;
}

p:last-child {
	margin-bottom: 0;
}

strong { color: var(--text); }

blockquote {
	border-left: 4px solid var(--orange);
	padding-left: 1.5rem;
	margin: 1.5rem 0;
	font-style: italic;
	color: var(--text-light);
}

code {
	font-family: var(--font-mono);
	background: var(--gray);
	padding: 2px 6px;
	border-radius: var(--radius-sm);
	font-size: 0.875em;
}

pre {
	background: var(--navy);
	color: var(--white);
	padding: 1.5rem;
	border-radius: var(--radius);
	overflow-x: auto;
	margin-bottom: 1.5rem;
}

pre code {
	background: none;
	padding: 0;
	color: inherit;
}

hr {
	border: none;
	border-top: 1px solid var(--gray-mid);
	margin: 2rem 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
	width: 100%;
	max-width: var(--max-width);
	margin-inline: auto;
	padding-inline: 1.25rem;
}

@media (min-width: 768px) {
	.container { padding-inline: 2rem; }
}

@media (min-width: 1280px) {
	.container { padding-inline: 2.5rem; }
}

/* Flex utilities */
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* Grid utilities */
.grid    { display: grid; }
.grid-2  { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3  { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4  { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Text utilities */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.text-white   { color: var(--white) !important; }
.text-orange  { color: var(--orange) !important; }
.text-navy    { color: var(--navy) !important; }
.text-muted   { color: var(--gray-dark); }
.text-sm      { font-size: 0.875rem; }
.text-lg      { font-size: 1.125rem; }
.text-xl      { font-size: 1.375rem; }
.font-bold    { font-weight: 700; }
.font-medium  { font-weight: 500; }
.uppercase    { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.08em; }

/* Spacing utilities */
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mx-auto { margin-inline: auto; }
.p-4   { padding: 1rem; }
.p-6   { padding: 1.5rem; }
.p-8   { padding: 2rem; }
.py-4  { padding-block: 1rem; }
.py-6  { padding-block: 1.5rem; }
.py-8  { padding-block: 2rem; }
.py-12 { padding-block: 3rem; }
.py-16 { padding-block: 4rem; }
.py-20 { padding-block: 5rem; }
.px-4  { padding-inline: 1rem; }
.px-6  { padding-inline: 1.5rem; }
.px-8  { padding-inline: 2rem; }

/* Display utilities */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hidden  { display: none !important; }
.block   { display: block; }
.inline  { display: inline; }
.w-full  { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.75rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: var(--radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: background var(--transition), color var(--transition),
	            border-color var(--transition), transform var(--transition),
	            box-shadow var(--transition);
	text-decoration: none;
	white-space: nowrap;
	line-height: 1;
}

.btn:hover,
.btn:focus {
	text-decoration: none;
	transform: translateY(-1px);
}

.btn:active {
	transform: translateY(0);
}

.btn:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
}

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

.btn-primary:hover,
.btn-primary:focus {
	background: var(--orange-dark);
	border-color: var(--orange-dark);
	color: var(--white);
	box-shadow: 0 6px 20px rgba(244, 124, 32, 0.40);
}

.btn-secondary {
	background: transparent;
	color: var(--white);
	border-color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
	background: var(--white);
	color: var(--navy);
}

.btn-outline {
	background: transparent;
	color: var(--orange);
	border-color: var(--orange);
}

.btn-outline:hover,
.btn-outline:focus {
	background: var(--orange);
	color: var(--white);
	box-shadow: 0 6px 20px rgba(244, 124, 32, 0.30);
}

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

.btn-dark:hover,
.btn-dark:focus {
	background: var(--navy-mid);
	border-color: var(--navy-mid);
	color: var(--white);
	box-shadow: var(--shadow);
}

.btn-sm {
	padding: 0.5rem 1.25rem;
	font-size: 0.875rem;
}

.btn-lg {
	padding: 1rem 2.25rem;
	font-size: 1.125rem;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--navy);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
}

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

/* Site Branding */
.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

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

.site-branding a:hover {
	color: var(--orange-light);
	text-decoration: none;
}

.custom-logo {
	width: auto;
	height: 44px;
	object-fit: contain;
}

.site-title-text {
	font-size: 1.375rem;
	font-weight: 800;
	color: var(--white);
	letter-spacing: -0.02em;
	line-height: 1;
}

.site-title-text span {
	color: var(--orange);
}

/* Primary Navigation */
.main-navigation {
	display: flex;
	align-items: center;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.main-navigation ul li a {
	display: block;
	padding: 0.5rem 0.875rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9375rem;
	font-weight: 500;
	border-radius: var(--radius-sm);
	transition: color var(--transition), background var(--transition);
	text-decoration: none;
}

.main-navigation ul li a:hover,
.main-navigation ul li a:focus,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
	color: var(--orange);
	background: rgba(244, 124, 32, 0.10);
	text-decoration: none;
}

.main-navigation ul li.menu-item-has-children {
	position: relative;
}

.main-navigation ul li.menu-item-has-children > a::after {
	content: ' ▾';
	font-size: 0.75em;
}

.main-navigation ul ul {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 200px;
	background: var(--navy-light);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	flex-direction: column;
	gap: 0;
	padding: 0.5rem 0;
	z-index: 100;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li:focus-within > ul {
	display: flex;
}

.main-navigation ul ul li a {
	padding: 0.625rem 1.25rem;
	border-radius: 0;
	white-space: nowrap;
}

/* Hamburger Toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 28px;
	height: 20px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	flex-shrink: 0;
}

.nav-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--white);
	border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition), width var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
	width: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

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

	.main-navigation {
		display: none;
		position: absolute;
		top: var(--header-height);
		left: 0;
		right: 0;
		background: var(--navy-light);
		padding: 1rem 0;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-navigation ul {
		flex-direction: column;
		gap: 0;
		align-items: stretch;
	}

	.main-navigation ul li a {
		padding: 0.875rem 1.5rem;
		border-radius: 0;
	}

	.main-navigation ul ul {
		position: static;
		display: flex;
		background: rgba(0, 0, 0, 0.15);
		border: none;
		box-shadow: none;
		border-radius: 0;
		padding: 0;
	}

	.main-navigation ul ul li a {
		padding-left: 2.5rem;
	}
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
	position: relative;
	background: var(--navy);
	background-image:
		radial-gradient(ellipse at 70% 50%, rgba(244, 124, 32, 0.12) 0%, transparent 60%),
		radial-gradient(ellipse at 20% 80%, rgba(30, 48, 80, 0.80) 0%, transparent 50%);
	color: var(--white);
	padding-block: clamp(4rem, 10vw, 8rem);
	overflow: hidden;
	min-height: 520px;
	display: flex;
	align-items: center;
}

.hero-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 60px,
			rgba(255, 255, 255, 0.015) 60px,
			rgba(255, 255, 255, 0.015) 61px
		),
		repeating-linear-gradient(
			90deg,
			transparent,
			transparent 60px,
			rgba(255, 255, 255, 0.015) 60px,
			rgba(255, 255, 255, 0.015) 61px
		);
	pointer-events: none;
}

.hero-section .container {
	position: relative;
	z-index: 1;
}

.hero-content {
	max-width: 700px;
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(244, 124, 32, 0.15);
	border: 1px solid rgba(244, 124, 32, 0.30);
	color: var(--orange-light);
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.375rem 0.875rem;
	border-radius: 100px;
	margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
	content: '🏀';
	font-size: 0.875em;
}

.hero-title {
	color: var(--white);
	margin-bottom: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.hero-title .highlight {
	color: var(--orange);
	display: block;
}

.hero-subtitle {
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 2.25rem;
	max-width: 560px;
	line-height: 1.65;
}

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

.hero-badge {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2.5rem;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.875rem;
}

.hero-badge svg {
	display: inline-block;
	flex-shrink: 0;
}

/* Basketball decorative element */
.hero-visual {
	display: none;
}

@media (min-width: 900px) {
	.hero-visual {
		display: block;
		position: absolute;
		right: -2rem;
		top: 50%;
		transform: translateY(-50%);
		width: 380px;
		height: 380px;
		opacity: 0.08;
		pointer-events: none;
	}
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.section-header {
	text-align: center;
	max-width: 640px;
	margin-inline: auto;
	margin-bottom: 3rem;
}

.section-tag {
	display: inline-block;
	background: rgba(244, 124, 32, 0.10);
	color: var(--orange);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 0.35rem 0.875rem;
	border-radius: 100px;
	margin-bottom: 0.875rem;
	border: 1px solid rgba(244, 124, 32, 0.20);
}

.section-title {
	margin-bottom: 0.875rem;
}

.section-desc {
	font-size: 1.0625rem;
	color: var(--text-light);
	margin-bottom: 0;
}

/* Alternating section backgrounds */
.section-light {
	background: var(--gray);
}

.section-dark {
	background: var(--navy);
}

.section-dark .section-title,
.section-dark h1,
.section-dark h2,
.section-dark h3 {
	color: var(--white);
}

.section-dark p,
.section-dark .section-desc {
	color: rgba(255, 255, 255, 0.72);
}

.section-dark .section-tag {
	background: rgba(244, 124, 32, 0.20);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.card {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--gray-mid);
	transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.card-icon {
	width: 56px;
	height: 56px;
	background: rgba(244, 124, 32, 0.10);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	font-size: 1.75rem;
	flex-shrink: 0;
}

.card-title {
	font-size: 1.1875rem;
	color: var(--navy);
	margin-bottom: 0.625rem;
}

.card-desc {
	font-size: 0.9375rem;
	color: var(--text-light);
	margin-bottom: 0;
	line-height: 1.65;
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin-top: 1.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--orange);
	text-decoration: none;
}

.card-link:hover {
	color: var(--orange-dark);
	gap: 0.625rem;
}

/* Dark card variant */
.card-dark {
	background: var(--navy-light);
	border-color: rgba(255, 255, 255, 0.08);
}

.card-dark .card-title {
	color: var(--white);
}

.card-dark .card-desc {
	color: rgba(255, 255, 255, 0.68);
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2rem;
	position: relative;
}

.steps-grid::before {
	content: '';
	position: absolute;
	top: 36px;
	left: 15%;
	right: 15%;
	height: 2px;
	background: linear-gradient(90deg, var(--orange), var(--orange-light));
	z-index: 0;
}

.step {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 0 1rem;
}

.step-number {
	width: 72px;
	height: 72px;
	background: var(--orange);
	color: var(--white);
	font-size: 1.75rem;
	font-weight: 800;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-inline: auto;
	margin-bottom: 1.25rem;
	box-shadow: 0 4px 20px rgba(244, 124, 32, 0.40);
	position: relative;
	z-index: 1;
}

.step-title {
	font-size: 1.125rem;
	color: var(--navy);
	margin-bottom: 0.625rem;
}

.step-desc {
	font-size: 0.9375rem;
	color: var(--text-light);
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.steps-grid::before {
		display: none;
	}
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
	background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
	padding-block: clamp(3rem, 6vw, 4.5rem);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 90% 50%, rgba(0, 0, 0, 0.10) 0%, transparent 50%);
	pointer-events: none;
}

.cta-banner .container {
	position: relative;
	z-index: 1;
}

.cta-banner h2 {
	color: var(--white);
	margin-bottom: 0.875rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-banner p {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.125rem;
	margin-bottom: 2rem;
}

.cta-banner .btn-secondary {
	border-color: rgba(255, 255, 255, 0.80);
}

.cta-banner .btn-secondary:hover {
	background: var(--white);
	color: var(--orange);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.70);
}

.footer-top {
	padding-block: 3.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

@media (min-width: 600px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.footer-grid {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

.footer-col-title {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.10em;
	color: var(--white);
	margin-bottom: 1.25rem;
}

.footer-brand {
	margin-bottom: 0.875rem;
}

.footer-brand .site-title-text {
	font-size: 1.25rem;
}

.footer-desc {
	font-size: 0.9375rem;
	line-height: 1.7;
	margin-bottom: 1.25rem;
	color: rgba(255, 255, 255, 0.62);
}

.footer-nav ul {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.footer-nav ul li a {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.9375rem;
	transition: color var(--transition), padding-left var(--transition);
}

.footer-nav ul li a:hover {
	color: var(--orange);
	text-decoration: none;
	padding-left: 4px;
}

.footer-contact ul {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-contact ul li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.65);
}

.footer-contact ul li .icon {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--orange);
}

.footer-bottom {
	padding-block: 1.25rem;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.footer-copyright {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.45);
}

.footer-powered {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.45);
}

.footer-powered a {
	color: var(--orange);
	font-weight: 600;
}

.footer-powered a:hover {
	color: var(--orange-light);
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
	background: var(--navy);
	background-image: radial-gradient(ellipse at 60% 50%, rgba(244, 124, 32, 0.10) 0%, transparent 60%);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}

.page-hero h1 {
	color: var(--white);
	margin-bottom: 0.625rem;
}

.page-hero .breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.55);
	margin-top: 0.75rem;
}

.page-hero .breadcrumb a {
	color: var(--orange-light);
}

.page-hero .breadcrumb a:hover {
	color: var(--orange);
}

.page-hero .breadcrumb .sep {
	color: rgba(255, 255, 255, 0.30);
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
.content-wrap {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child {
	margin-top: 0;
}

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

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li {
	margin-bottom: 0.375rem;
	color: var(--text-light);
}

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

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

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

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

/* Sidebar layout */
.with-sidebar {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

@media (min-width: 900px) {
	.with-sidebar {
		grid-template-columns: 1fr 320px;
	}
}

.sidebar {
	flex-shrink: 0;
}

.sidebar-widget {
	background: var(--gray);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--gray-mid);
}

.sidebar-widget:last-child {
	margin-bottom: 0;
}

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

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
	margin-bottom: 1.25rem;
}

.form-label {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.5rem;
}

.form-label .required {
	color: var(--orange);
	margin-left: 2px;
}

.form-control {
	display: block;
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	color: var(--text);
	background: var(--white);
	border: 1.5px solid var(--gray-mid);
	border-radius: var(--radius);
	transition: border-color var(--transition), box-shadow var(--transition);
	appearance: none;
	line-height: 1.5;
}

.form-control:focus {
	outline: none;
	border-color: var(--orange);
	box-shadow: 0 0 0 3px rgba(244, 124, 32, 0.15);
}

.form-control::placeholder {
	color: var(--gray-dark);
}

textarea.form-control {
	resize: vertical;
	min-height: 140px;
}

select.form-control {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

.form-hint {
	display: block;
	font-size: 0.8125rem;
	color: var(--gray-dark);
	margin-top: 0.375rem;
}

.form-error {
	color: #d32f2f;
	font-size: 0.8125rem;
	margin-top: 0.375rem;
	display: block;
}

.form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.25rem;
}

/* Contact Form */
.contact-form {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--gray-mid);
}

/* Registration form container */
#registration-form-container {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--gray-mid);
}

/* ============================================================
   NOTICE / ALERT BOXES
   ============================================================ */
.notice {
	padding: 1rem 1.25rem;
	border-radius: var(--radius);
	border-left: 4px solid;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
}

.notice-info {
	background: rgba(13, 27, 42, 0.05);
	border-color: var(--navy);
	color: var(--navy);
}

.notice-success {
	background: rgba(46, 125, 50, 0.07);
	border-color: #2e7d32;
	color: #1b5e20;
}

.notice-warning {
	background: rgba(244, 124, 32, 0.08);
	border-color: var(--orange);
	color: #7a3d00;
}

.notice-error {
	background: rgba(211, 47, 47, 0.07);
	border-color: #d32f2f;
	color: #b71c1c;
}

/* ============================================================
   SCHEDULE PAGE
   ============================================================ */
.schedule-placeholder {
	text-align: center;
	padding: clamp(3rem, 8vw, 6rem) 2rem;
	background: var(--gray);
	border-radius: var(--radius-xl);
	border: 2px dashed var(--gray-mid);
}

.schedule-placeholder .icon-lg {
	font-size: 4rem;
	margin-bottom: 1.25rem;
	display: block;
}

.schedule-placeholder h3 {
	color: var(--navy-mid);
	margin-bottom: 0.75rem;
}

.schedule-placeholder p {
	color: var(--gray-dark);
	max-width: 400px;
	margin-inline: auto;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thank-you-section {
	text-align: center;
	padding-block: clamp(4rem, 10vw, 7rem);
}

.thank-you-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	background: #e8f5e9;
	border-radius: 50%;
	font-size: 2.5rem;
	line-height: 1;
	color: #2e7d32;
	animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.thank-you-form-name {
	font-size: 1.2rem;
	color: var(--text-light);
	margin-bottom: 2rem;
}

@keyframes pop-in {
	from { transform: scale(0.5); opacity: 0; }
	to   { transform: scale(1);   opacity: 1; }
}

.thank-you-section h1 {
	color: var(--navy);
	margin-bottom: 0.875rem;
}

.thank-you-section .lead {
	font-size: 1.125rem;
	color: var(--text-light);
	max-width: 520px;
	margin-inline: auto;
	margin-bottom: 2.5rem;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404-section {
	text-align: center;
	padding-block: clamp(4rem, 10vw, 7rem);
}

.error-code {
	font-size: clamp(5rem, 15vw, 10rem);
	font-weight: 900;
	color: var(--gray-mid);
	line-height: 1;
	margin-bottom: 0;
}

.error-404-section h2 {
	color: var(--navy);
	margin-bottom: 0.75rem;
}

.error-404-section p {
	color: var(--text-light);
	max-width: 440px;
	margin-inline: auto;
	margin-bottom: 2rem;
}

/* ============================================================
   UNSUBSCRIBE PAGE
   ============================================================ */
.unsubscribe-section {
	text-align: center;
	padding-block: clamp(3rem, 7vw, 5rem);
	max-width: 540px;
	margin-inline: auto;
}

.unsubscribe-section h1 {
	margin-bottom: 0.875rem;
}

.unsubscribe-section .lead {
	color: var(--text-light);
	margin-bottom: 2rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-item {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
}

.contact-info-item:last-child {
	margin-bottom: 0;
}

.contact-info-icon {
	width: 40px;
	height: 40px;
	background: rgba(244, 124, 32, 0.10);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.125rem;
	flex-shrink: 0;
}

.contact-info-text strong {
	display: block;
	color: var(--navy);
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.contact-info-text span {
	color: var(--text-light);
}

/* ============================================================
   RULES PAGE
   ============================================================ */
.rules-content {
	max-width: 780px;
}

.rules-content h2 {
	font-size: 1.375rem;
	color: var(--navy);
	padding-top: 1.5rem;
	border-top: 1px solid var(--gray-mid);
	margin-top: 2rem;
}

.rules-content h2:first-child {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}

.rules-content .rule-number {
	color: var(--orange);
	margin-right: 0.5rem;
}

/* ============================================================
   LOOP / POST ARCHIVE
   ============================================================ */
.loop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.75rem;
}

.post-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--gray-mid);
	transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.post-card-thumbnail {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--gray);
}

.post-card-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}

.post-card:hover .post-card-thumbnail img {
	transform: scale(1.04);
}

.post-card-body {
	padding: 1.5rem;
}

.post-card-meta {
	font-size: 0.8125rem;
	color: var(--gray-dark);
	margin-bottom: 0.625rem;
}

.post-card-title {
	font-size: 1.125rem;
	margin-bottom: 0.625rem;
}

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

.post-card-title a:hover {
	color: var(--orange);
}

.post-card-excerpt {
	font-size: 0.9375rem;
	color: var(--text-light);
	margin-bottom: 1.25rem;
}

/* No content message */
.no-results {
	text-align: center;
	padding: 3rem 2rem;
}

/* Pagination */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3rem;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 0.625rem;
	border-radius: var(--radius);
	font-size: 0.9375rem;
	font-weight: 500;
	border: 1.5px solid var(--gray-mid);
	color: var(--text);
	text-decoration: none;
	transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.pagination a:hover,
.pagination .current {
	background: var(--orange);
	border-color: var(--orange);
	color: var(--white);
	text-decoration: none;
}

/* ============================================================
   WIDGETS (sidebar)
   ============================================================ */
.widget {
	margin-bottom: 2rem;
}

.widget-title {
	font-size: 1rem;
	color: var(--navy);
	padding-bottom: 0.625rem;
	border-bottom: 2px solid var(--orange);
	margin-bottom: 1rem;
}

/* ============================================================
   SCROLL ANIMATIONS (progressive enhancement)
   ============================================================ */
.fade-up {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 599px) {
	.hide-xs { display: none !important; }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-actions .btn { text-align: center; }
}

@media (min-width: 600px) {
	.show-xs { display: none !important; }
}

@media (min-width: 768px) {
	.hide-sm-up { display: none !important; }
}

@media (max-width: 767px) {
	.hide-sm { display: none !important; }
}

/* ============================================================
   WORDPRESS CORE CLASSES
   ============================================================ */
.wp-block-image { margin-bottom: 1.5rem; }
.wp-block-image img { border-radius: var(--radius); }
.aligncenter { display: block; margin-inline: auto; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.alignwide { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--gray-dark); margin-top: 0.5rem; text-align: center; }

.sticky { /* WordPress sticky post */ }
.bypostauthor { /* WordPress author highlight */ }

/* Screen reader text */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--gray);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	clip: auto !important;
	clip-path: none;
	color: var(--text);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
	.site-header,
	.site-footer,
	.nav-toggle,
	.hero-section,
	.cta-banner { display: none; }
	body { font-size: 12pt; color: #000; }
	a { color: #000; text-decoration: underline; }
}

/* ============================================================
   THANK YOU PAGE — PAYMENT BOX
   ============================================================ */
.thank-you-payment-box {
	background: #fff8e1;
	border: 1px solid #ffe082;
	border-left: 4px solid var(--color-accent);
	border-radius: 8px;
	padding: 1.75rem 2rem;
	max-width: 520px;
	margin: 0 auto 2rem;
	text-align: left;
}
.thank-you-payment-box .payment-box-icon { font-size: 2rem; margin-bottom: .5rem; }
.thank-you-payment-box h2 { font-size: 1.25rem; color: var(--color-primary); margin: 0 0 .5rem; }
.payment-details-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.payment-details-table td { padding: .5rem .75rem; border-bottom: 1px solid #ffe082; vertical-align: top; }
.payment-details-table tr:last-child td { border-bottom: none; }
.payment-details-table td:first-child { width: 110px; white-space: nowrap; }
.payment-confirmation-note { font-size: .85rem; color: #666; margin: .75rem 0 0; font-style: italic; }
