/*
Theme Name: Milos Football Academy
Theme URI: https://milosfootballacademy.com
Author: Milos Football Academy
Author URI: https://milosfootballacademy.com
Description: Custom WordPress theme for Milos Football Academy — a youth football development academy in Kampala, Uganda. Built from a bespoke homepage design; inner pages use a shared brand-consistent layout since no additional designs were supplied yet.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: milos
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
	--navy: #0b1f4d;
	--navy-dark: #071433;
	--navy-light: #14295e;
	--red: #e2231a;
	--red-dark: #b8181d;
	--blue: #1a56db;
	--green: #1e8449;
	--bg-light: #f4f6fa;
	--white: #ffffff;
	--text: #1c1f2b;
	--text-light: #5c6270;
	--border: #e3e7ef;

	--font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
	--font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

	--radius: 8px;
	--radius-lg: 16px;
	--shadow: 0 10px 30px rgba(11, 31, 77, 0.12);
	--container: 1180px;
}

/* =========================================================
   2. Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text);
	background: var(--white);
	line-height: 1.6;
	font-size: 16px;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--navy);
	margin: 0 0 0.5em;
	line-height: 1.2;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--navy);
	color: var(--white);
	padding: 12px 20px;
	z-index: 10000;
}
.skip-link:focus { top: 0; }

/* =========================================================
   3. Buttons
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 6px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border: 2px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--red {
	background: var(--red);
	color: var(--white);
	box-shadow: 0 8px 20px rgba(226, 35, 26, 0.35);
}
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--navy {
	background: var(--navy);
	color: var(--white);
	box-shadow: 0 8px 20px rgba(11, 31, 77, 0.3);
}
.btn--navy:hover { background: var(--navy-light); color: var(--white); }
.btn--outline-navy {
	background: transparent;
	border-color: var(--navy);
	color: var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: 10px 18px; font-size: 12px; }

/* =========================================================
   4. Section headings
   ========================================================= */
.section-heading {
	font-size: 28px;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 0.02em;
	position: relative;
	padding-bottom: 14px;
	margin-bottom: 24px;
}
.section-heading::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 56px; height: 4px;
	background: var(--red);
	border-radius: 2px;
}
.section-heading--center { text-align: center; }
.section-heading--center::after { left: 50%; transform: translateX(-50%); }
.eyebrow {
	color: var(--red);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 13px;
	margin-bottom: 6px;
	display: block;
}
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--light { background: var(--bg-light); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }

/* =========================================================
   5. Site header
   ========================================================= */
.site-header {
	background: var(--white);
	position: sticky;
	top: 0;
	z-index: 999;
	box-shadow: 0 2px 12px rgba(11, 31, 77, 0.08);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	padding-bottom: 14px;
}
.site-logo {
	display: flex;
	align-items: center;
	gap: 10px;
}
.site-logo svg { width: 42px; height: 42px; flex-shrink: 0; }
.site-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.site-logo__text strong {
	font-family: var(--font-heading);
	color: var(--navy);
	font-weight: 800;
	font-size: 21px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.1;
}
.site-logo__text small {
	color: var(--navy);
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.custom-logo-link img { max-height: 52px; width: auto; }

.main-navigation .nav-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: wrap;
}
.main-navigation .nav-menu a {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--navy);
	padding: 6px 0;
	position: relative;
}
.main-navigation .nav-menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	width: 0; height: 2px;
	background: var(--red);
	transition: width 0.2s ease;
}
.main-navigation .nav-menu a:hover::after { width: 100%; }
.main-navigation .nav-menu .current-menu-item > a,
.main-navigation .nav-menu .current_page_item > a { color: var(--red); }
.main-navigation .nav-menu .current-menu-item > a::after,
.main-navigation .nav-menu .current_page_item > a::after { width: 100%; }

/* Dropdown sub-menus — intentional (e.g. Gallery/FAQ nested under About) so
   the top-level nav stays short. Desktop: hover/focus reveal; mobile: see
   the ≤720px block below, where they're always expanded instead. */
.main-navigation .nav-menu li { position: relative; }
.main-navigation .nav-menu .menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
}
.main-navigation .nav-menu .menu-item-has-children > a::before {
	content: "";
	order: 2;
	width: 6px; height: 6px;
	margin-left: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	flex-shrink: 0;
}
.main-navigation .nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 200px;
	margin-top: 14px;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 8px 0;
}
.main-navigation .nav-menu li:hover > .sub-menu,
.main-navigation .nav-menu li:focus-within > .sub-menu {
	display: block;
}
.main-navigation .nav-menu .sub-menu a {
	display: block;
	padding: 10px 20px;
	white-space: nowrap;
}
.main-navigation .nav-menu .sub-menu a::after { display: none; }
.main-navigation .nav-menu .sub-menu a:hover { color: var(--red); background: var(--bg-light); }

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--navy);
	padding: 6px;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* =========================================================
   6. Hero
   ========================================================= */
.hero {
	position: relative;
	background: var(--navy);
	overflow: hidden;
}
.hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11,31,77,0.92) 0%, rgba(11,31,77,0.6) 45%, rgba(11,31,77,0.1) 75%);
}
.hero__inner {
	position: relative;
	z-index: 2;
	min-height: 620px;
	display: flex;
	align-items: center;
	padding: 64px 0 120px;
}
.hero__content { max-width: 620px; color: var(--white); }
.hero__eyebrow {
	color: var(--red);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 13px;
	display: block;
	margin-bottom: 10px;
}
.hero__title {
	font-size: clamp(36px, 6vw, 58px);
	font-weight: 800;
	color: var(--white);
	line-height: 1.05;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.hero__title span { display: block; }
.hero__tagline {
	font-family: 'Georgia', serif;
	font-style: italic;
	color: var(--red);
	font-size: 22px;
	margin-bottom: 20px;
}
.hero__badges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--white);
}
.hero__badge--blue { background: var(--blue); }
.hero__badge--green { background: var(--green); }
.hero__meta {
	color: var(--white);
	font-weight: 700;
	letter-spacing: 0.03em;
	margin-bottom: 24px;
	font-size: 14px;
}
.hero__meta .dot { color: var(--red); margin: 0 6px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Info bar overlapping bottom of hero */
.info-bar {
	position: relative;
	z-index: 3;
	margin-top: -56px;
}
.info-bar__inner {
	background: var(--navy-dark);
	border-radius: var(--radius);
	display: flex;
	flex-wrap: wrap;
	box-shadow: var(--shadow);
}
.info-bar__item {
	flex: 1 1 220px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 24px;
	border-right: 1px solid rgba(255,255,255,0.12);
	color: var(--white);
}
.info-bar__item:last-child { border-right: none; }
.info-bar__icon {
	width: 38px; height: 38px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--red);
	display: flex;
	align-items: center;
	justify-content: center;
}
.info-bar__icon svg { width: 18px; height: 18px; color: var(--white); }
.info-bar__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(255,255,255,0.65);
	margin-bottom: 2px;
}
.info-bar__value { font-weight: 700; font-size: 14px; }

/* =========================================================
   7. About section
   ========================================================= */
.about { padding-top: 88px; }
.about__grid {
	display: grid;
	grid-template-columns: 300px 1fr 1.7fr;
	gap: 40px;
	/* stretch (grid default) so the image panel fills the row's full
	   height like a background image, matching whichever of the text/
	   programs columns ends up tallest */
}
.about__image {
	height: 100%;
	min-height: 280px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.about__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__text { display: flex; flex-direction: column; justify-content: center; }
.about__text p { color: var(--text-light); }
.about__programs-inline { display: flex; flex-direction: column; justify-content: center; }

/* =========================================================
   8. Programs
   ========================================================= */
.programs__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	margin-top: 8px;
}
.program-card { text-align: center; }
.program-card__icon {
	width: 76px; height: 76px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: var(--bg-light);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}
.program-card__icon svg { width: 34px; height: 34px; color: var(--navy); }
.program-card:hover .program-card__icon { background: var(--red); transform: translateY(-4px); }
.program-card:hover .program-card__icon svg { color: var(--white); }
.program-card__code {
	font-weight: 800;
	color: var(--navy);
	font-size: 18px;
	letter-spacing: 0.02em;
}
.program-card__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-light);
}

/* Single Program (details page) */
.program-single { display: flex; gap: 40px; align-items: flex-start; }
.program-single__photo { flex: 0 0 220px; }
.program-single__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.program-single__icon {
	flex: 0 0 140px;
	width: 140px; height: 140px;
	border-radius: 50%;
	background: var(--bg-light);
	display: flex;
	align-items: center;
	justify-content: center;
}
.program-single__icon svg { width: 60px; height: 60px; color: var(--navy); }
.program-single__body { flex: 1 1 auto; }
.program-single__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 640px) {
	.program-single { flex-direction: column; align-items: center; text-align: center; }
	.program-single__actions { justify-content: center; }
}

/* Single Tournament reuses .program-single* for the photo/icon + body
   layout above; these two are tournament-specific. */
.tournament-single__date {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--red);
	font-weight: 700;
	margin-bottom: 16px;
}
.tournament-single__date svg { width: 18px; height: 18px; }
.tournament-single__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 24px;
	margin-bottom: 20px;
}
.tournament-single__list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.tournament-single__list svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
@media (max-width: 640px) {
	.tournament-single__list { grid-template-columns: 1fr; justify-items: center; }
}

/* =========================================================
   9. Tournament banner
   ========================================================= */
.tournament {
	background: var(--navy);
	color: var(--white);
	overflow: hidden;
}
.tournament__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}
.tournament__content { padding: 56px 48px; }
.tournament__icon { display: flex; width: 56px; height: 56px; color: var(--red); margin-bottom: 12px; }
.tournament__icon svg { width: 100%; height: 100%; }
.tournament__eyebrow {
	color: var(--red);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 13px;
	margin-bottom: 6px;
	display: block;
}
.tournament__title {
	color: var(--white);
	font-size: 34px;
	text-transform: uppercase;
	font-weight: 800;
	margin-bottom: 10px;
}
.tournament__date {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	margin-bottom: 22px;
	font-size: 15px;
}
.tournament__date svg { width: 18px; height: 18px; color: var(--red); }
.tournament__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 24px;
	margin-bottom: 28px;
}
.tournament__list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
}
.tournament__list svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.tournament__media { position: relative; min-height: 320px; }
.tournament__media img { width: 100%; height: 100%; object-fit: cover; }
.tournament__badge {
	position: absolute;
	right: 24px; bottom: 24px;
	width: 90px; height: 90px;
	background: var(--white);
	border-radius: 50%;
	box-shadow: var(--shadow);
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.tournament__badge img { width: 100%; height: 100%; object-fit: contain; }

/* =========================================================
   12. Partners strip
   ========================================================= */
/* Light background (not navy) is deliberate: this strip sits directly
   between the navy Tournament banner above and the navy-dark Footer
   below — back-to-back navy sections with no break between them read as
   one continuous block and bury this section's own boundary. A light
   band gives the page a dark/light/dark rhythm and makes "In Partnership
   With" its own clearly separate section. */
.partners {
	background: var(--bg-light);
	padding: 40px 0;
}
.partners__label {
	color: var(--red);
	text-align: center;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 12px;
	margin-bottom: 20px;
}
.partners__grid {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	gap: 16px;
	flex-wrap: wrap;
}
/* Fixed-size square tile for every logo, regardless of the source PNG's
   own aspect ratio/internal padding — otherwise a wide logo (e.g. a text
   wordmark) ends up in a much wider box than a compact circular badge,
   and the row reads as uneven. `object-fit: contain` scales each logo to
   fit inside without cropping or stretching it. */
.partners__grid a, .partners__grid span {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	width: 120px;
	height: 90px;
	padding: 14px 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.partners__grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.partners__grid img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* =========================================================
   13. Footer
   ========================================================= */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.85); }
.site-footer__top { padding: 56px 0 32px; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand svg { width: 46px; height: 46px; flex-shrink: 0; }
.footer-brand__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	background: var(--white);
	border-radius: 50%;
	padding: 4px;
	overflow: hidden;
}
.footer-brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand__text strong {
	display: block;
	color: var(--white);
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 16px;
}
.footer-brand__text span {
	display: block;
	color: var(--red);
	font-style: italic;
	font-size: 12px;
	font-family: 'Georgia', serif;
}
.footer-col h4 {
	color: var(--white);
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.05em;
	margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
	width: 34px; height: 34px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 16px; height: 16px; color: var(--white); }
.footer-map { border-radius: var(--radius); overflow: hidden; margin-top: 10px; }
.footer-map iframe { width: 100%; height: 140px; border: 0; display: block; }
.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 18px 0;
	font-size: 13px;
	color: rgba(255,255,255,0.55);
}
.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 24px;
	text-align: center;
}
.footer-legal-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}
.footer-legal-menu a { color: rgba(255,255,255,0.55); }
.footer-legal-menu a:hover { color: var(--white); }

/* Floating WhatsApp */
.whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	z-index: 1000;
	transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); }

/* =========================================================
   14. Generic inner-page layout (no bespoke design supplied)
   ========================================================= */
.page-header {
	background: var(--navy);
	background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
	padding: 64px 0;
	text-align: center;
}
.page-header__title {
	color: var(--white);
	font-size: 36px;
	text-transform: uppercase;
	font-weight: 800;
}
.page-header__breadcrumb {
	color: rgba(255,255,255,0.6);
	font-size: 13px;
	margin-top: 8px;
}
.page-header__breadcrumb a { color: var(--red); }
.page-content { padding: 64px 0; }
.page-content .container { max-width: 880px; }
.page-content .container--wide { max-width: var(--container); }
.page-content h2 { margin-top: 1.6em; }
.page-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.page-content ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1em; }
.page-content img { border-radius: var(--radius); margin: 1.2em 0; }
.page-content blockquote {
	border-left: 4px solid var(--red);
	padding: 4px 20px;
	color: var(--text-light);
	font-style: italic;
	margin: 1.4em 0;
}

.entry-meta { color: var(--text-light); font-size: 13px; margin-bottom: 20px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.archive-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.archive-card__image { aspect-ratio: 4/3; overflow: hidden; }
.archive-card__image img { width: 100%; height: 100%; object-fit: cover; }
.archive-card__body { padding: 18px; }
.archive-card__title { font-size: 16px; margin-bottom: 8px; }
.archive-card__excerpt { color: var(--text-light); font-size: 14px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
	padding: 8px 14px;
	border-radius: 4px;
	border: 1px solid var(--border);
	font-weight: 600;
	font-size: 14px;
}
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Core WP search form (get_search_form(), used on search.php + 404.php) —
   otherwise renders as an unstyled native input/button. */
.search-form {
	display: flex;
	gap: 10px;
	max-width: 420px;
	margin: 24px auto 0;
}
.search-form label { flex: 1 1 auto; display: block; margin: 0; }
.search-field {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: 6px;
	font-family: var(--font-body);
	font-size: 14px;
}
.search-field:focus { outline: none; border-color: var(--navy); }
.search-submit {
	background: var(--red);
	color: var(--white);
	border: none;
	border-radius: 6px;
	padding: 0 22px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background 0.15s ease;
}
.search-submit:hover { background: var(--red-dark); }

/* Core WP comments (comments_template(), single.php + page.php when
   comments are open on a post) — same baseline-styling reasoning. */
.comment-list { margin: 0 0 32px; }
/* Beats .page-content ol's specificity (list-style: decimal for numbered
   lists in post/page content) — comments render inside .page-content too. */
.page-content .comment-list,
.page-content .comment-list .children { list-style: none; }
.comment-list .children { margin-left: 40px; padding-left: 20px; border-left: 1px solid var(--border); }
.comment-list > li + li,
.comment-list .children > li + li { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.comment-body { display: flow-root; }
.comment-author img { border-radius: 50%; float: left; margin-right: 14px; }
.comment-author .fn { font-weight: 700; font-style: normal; }
.comment-metadata { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.comment-metadata a { color: inherit; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-reply-link {
	display: inline-block;
	margin-top: 8px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--red);
}
.comment-respond { margin-top: 32px; }
.comment-reply-title { margin-bottom: 16px; }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 6px;
	font-family: var(--font-body);
	font-size: 14px;
	margin-bottom: 16px;
}
.comment-form textarea { min-height: 120px; }
.comment-form .form-submit { margin-bottom: 0; }
.comment-form #submit {
	background: var(--red);
	color: var(--white);
	border: none;
	border-radius: 6px;
	padding: 12px 24px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
}
.comment-form #submit:hover { background: var(--red-dark); }

/* =========================================================
   16. Contact page
   ========================================================= */
.contact-intro { margin-bottom: 32px; }
.contact-grid {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 32px;
	align-items: start;
}
.contact-info {
	background: var(--navy);
	background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
	color: rgba(255,255,255,0.85);
	border-radius: var(--radius-lg);
	padding: 40px 32px;
}
.contact-info h2 { color: var(--white); margin-bottom: 10px; }
.contact-info__list { margin: 24px 0; }
.contact-info__list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 20px;
}
.contact-info__icon {
	width: 40px; height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
}
.contact-info__icon svg { width: 18px; height: 18px; color: var(--white); }

.register-whatsapp-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--white);
	font-weight: 700;
}
.register-whatsapp-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-info__label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(255,255,255,0.55);
	margin-bottom: 2px;
}
.contact-info__list a { color: var(--white); font-weight: 600; }
.contact-info__list a:hover { color: var(--red); }
.contact-info .footer-social a { background: rgba(255,255,255,0.1); }
.contact-info .footer-social a:hover { background: var(--red); }

.contact-form-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 40px;
	box-shadow: var(--shadow);
}
.contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 6px;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--text);
	background: var(--white);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(11, 31, 77, 0.12);
}
.contact-form textarea { resize: vertical; }
.contact-form select { appearance: auto; cursor: pointer; }
.contact-form .btn { border: none; }
.contact-form__heading {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--red);
	margin: 28px 0 14px;
}
.contact-form__heading:first-child { margin-top: 0; }

/* Honeypot — hidden from sighted users, present for bots */
.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

.form-notice {
	padding: 16px 20px;
	border-radius: var(--radius);
	margin-bottom: 24px;
	font-size: 14px;
	font-weight: 600;
}
.form-notice--success { background: #e6f6ec; color: var(--green); border: 1px solid #bfe6cc; }
.form-notice--error { background: #fdecec; color: var(--red-dark); border: 1px solid #f6c7c5; }
.form-notice--error ul { list-style: disc; padding-left: 1.2em; }
.form-notice--error li { margin-bottom: 4px; }

@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; }
	.contact-form .form-row { grid-template-columns: 1fr; }
	.contact-form-card { padding: 28px 22px; }
}

/* Core Gallery block, used inside single Photo Gallery albums */
.page-content .wp-block-gallery { margin: 0 0 1.5em; }
.page-content .wp-block-image img,
.page-content .wp-block-gallery img { border-radius: var(--radius); }

/* =========================================================
   15. Responsive
   ========================================================= */
@media (max-width: 960px) {
	.about__grid { grid-template-columns: 1fr; text-align: center; }
	.about__image { height: 280px; min-height: 0; max-width: 420px; margin: 0 auto; }
	.programs__grid { grid-template-columns: repeat(3, 1fr); }
	.tournament__grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.main-navigation {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--white);
		box-shadow: var(--shadow);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
	}
	.main-navigation.toggled { max-height: 600px; }
	.main-navigation .nav-menu { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; }
	.main-navigation .nav-menu li { width: 100%; }
	.main-navigation .nav-menu a { display: flex; padding: 12px 0; }
	.menu-toggle { display: block; }
	/* Touch can't hover — sub-menus stay expanded inline instead, indented
	   under their parent, rather than needing a tap-to-reveal dropdown. */
	.main-navigation .nav-menu .menu-item-has-children > a { display: flex; }
	.main-navigation .nav-menu .menu-item-has-children > a::before { display: none; }
	.main-navigation .nav-menu .sub-menu {
		display: block;
		position: static;
		margin: 0 0 0 16px;
		padding: 0;
		box-shadow: none;
		border-left: 2px solid var(--border);
	}
	.main-navigation .nav-menu .sub-menu a { padding: 10px 0 10px 14px; }
	.hero__inner { padding-bottom: 140px; }
	.info-bar__inner { flex-direction: column; }
	.info-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
	.info-bar__item:last-child { border-bottom: none; }
	.programs__grid { grid-template-columns: repeat(2, 1fr); }
	.tournament__list { grid-template-columns: 1fr; }
	.tournament__content { padding: 40px 24px; }
	.footer-grid { grid-template-columns: 1fr; }
	.archive-grid { grid-template-columns: 1fr; }
	.section { padding: 48px 0; }
}

/* =========================================================
   17. About / Schedule / FAQ / shared CTA band
   ========================================================= */
.about-mission { background: var(--navy); text-align: center; overflow: hidden; }
.about-mission__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}
.about-mission__grid--single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.about-mission__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px; height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--red);
}
.about-mission__icon svg { width: 30px; height: 30px; color: var(--white); }
.about-mission__text {
	max-width: 480px;
	margin: 0 auto;
	font-size: 18px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.value-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px 22px 28px;
	text-align: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--bg-light);
}
.value-card__icon svg { width: 20px; height: 20px; color: var(--red); }
.value-card__title {
	position: relative;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	padding-bottom: 12px;
	margin-bottom: 10px;
}
.value-card__title::after {
	content: "";
	position: absolute;
	left: 50%; bottom: 0;
	transform: translateX(-50%);
	width: 30px; height: 3px;
	background: var(--red);
	border-radius: 2px;
}
.value-card p { color: var(--text-light); font-size: 14px; margin: 0; }

.cta-band {
	background: var(--navy);
	background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.cta-band__inner h2 { color: var(--white); margin-bottom: 4px; }
.cta-band__inner p { color: rgba(255,255,255,0.7); margin: 0; }

.schedule-location {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--bg-light);
	border-radius: var(--radius);
	padding: 14px 18px;
	margin-bottom: 24px;
	font-size: 14px;
}
.schedule-location svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.schedule-table-wrap {
	overflow-x: auto;
	margin-bottom: 16px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
}
.schedule-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.schedule-table th {
	background: var(--navy);
	color: var(--white);
	text-align: left;
	padding: 14px 18px;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.04em;
}
.schedule-table td { padding: 14px 18px; border-top: 1px solid var(--border); }
.schedule-table tbody tr:nth-child(even) { background: var(--bg-light); }
.schedule-note { color: var(--text-light); font-size: 13px; margin-bottom: 16px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 32px; }
.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--white);
}
.faq-item__question {
	list-style: none;
	cursor: pointer;
	padding: 18px 20px;
	font-weight: 700;
	color: var(--navy);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question:hover { color: var(--red); }
.faq-item__toggle { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; position: relative; }
.faq-item__toggle::before,
.faq-item__toggle::after {
	content: "";
	position: absolute;
	background: var(--red);
	border-radius: 2px;
}
.faq-item__toggle::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-item__toggle::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); transition: transform 0.2s ease; }
.faq-item[open] .faq-item__toggle::after { transform: translateX(-50%) scaleY(0); }
.faq-item__answer { padding: 0 20px 20px; color: var(--text-light); font-size: 14px; }
.faq-more { font-size: 14px; }
.faq-more a { color: var(--red); font-weight: 700; }

@media (max-width: 900px) {
	.values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.values-grid { grid-template-columns: 1fr; }
	.about-mission__grid { grid-template-columns: 1fr; gap: 32px; }
	.cta-band__inner { text-align: center; justify-content: center; }
	.schedule-table thead { display: none; }
	.schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td { display: block; width: 100%; }
	.schedule-table tr { border-top: 1px solid var(--border); }
	.schedule-table tr:first-child { border-top: 0; }
	.schedule-table td { display: flex; justify-content: space-between; gap: 12px; border-top: none; padding: 10px 18px; }
	.schedule-table td::before {
		content: attr(data-label);
		font-weight: 700;
		color: var(--text-light);
		text-transform: uppercase;
		font-size: 11px;
		letter-spacing: 0.04em;
	}
}
