/*
Theme Name: The Wise Pilot — Astra Child
Theme URI: https://thewisepilot.com/
Author: The Wise Pilot
Author URI: https://thewisepilot.com/
Description: Astra child theme providing The Wise Pilot's custom homepage, coordinated content and course-catalogue pages while inheriting Astra and plugin functionality.
Version: 1.5.140
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Template: astra
Text Domain: wise-pilot
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * The front page plus the About and Contact page templates load this base
 * stylesheet. Astra remains authoritative everywhere else.
 */

.wpilot-site--home {
	--wpilot-navy: #07294d;
	--wpilot-navy-deep: #041d36;
	--wpilot-blue: #0071dc;
	--wpilot-yellow: #ffc221;
	--wpilot-cloud: #f4f7fa;
	--wpilot-paper: #fffdf8;
	--wpilot-ink: #101c2b;
	--wpilot-muted: #526376;
	--wpilot-line: #cbd5df;
	--wpilot-white: #ffffff;
	--wpilot-width: 1180px;
	--wpilot-gutter: clamp(1rem, 4vw, 2rem);
	--wpilot-shadow: 0 20px 50px rgba(7, 41, 77, 0.12);
}

.wpilot-site--home .site-content,
.wpilot-site--home .site-content > .ast-container {
	display: block;
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
}

/* Shared header presentation lives in assets/css/navigation.css. */

.wpilot-site--home .wpilot-home {
	width: 100%;
	max-width: none;
	margin: 0;
	background: var(--wpilot-paper);
	color: var(--wpilot-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

.wpilot-site--home .wpilot-home *,
.wpilot-site--home .wpilot-home *::before,
.wpilot-site--home .wpilot-home *::after {
	box-sizing: border-box;
}

.wpilot-site--home .wpilot-home img {
	display: block;
	max-width: 100%;
	height: auto;
}

.wpilot-site--home .wpilot-home :focus-visible {
	outline: 3px solid var(--wpilot-yellow);
	outline-offset: 4px;
}

.wpilot-site--home .wpilot-container {
	width: min(calc(100% - (2 * var(--wpilot-gutter))), var(--wpilot-width));
	max-width: var(--wpilot-width);
	margin-inline: auto;
}

.wpilot-site--home .wpilot-button-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.35rem;
}

.wpilot-site--home .wpilot-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0.8rem 1.25rem;
	border: 2px solid transparent;
	border-radius: 0;
	font-size: 0.8rem;
	font-weight: 850;
	letter-spacing: 0.075em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.wpilot-site--home .wpilot-button:hover {
	transform: translateY(-2px);
}

.wpilot-site--home .wpilot-button--signal {
	background: var(--wpilot-yellow);
	color: var(--wpilot-navy);
}

.wpilot-site--home .wpilot-button--signal:hover {
	background: var(--wpilot-white);
	color: var(--wpilot-navy);
}

.wpilot-site--home .wpilot-button--navy {
	background: var(--wpilot-navy);
	color: var(--wpilot-white);
}

.wpilot-site--home .wpilot-button--navy:hover {
	background: var(--wpilot-blue);
	color: var(--wpilot-white);
}

.wpilot-site--home .wpilot-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 44px;
	color: var(--wpilot-navy);
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.wpilot-site--home .wpilot-text-link:hover {
	color: var(--wpilot-blue);
}

.wpilot-site--home .wpilot-text-link--light {
	color: var(--wpilot-white);
}

.wpilot-site--home .wpilot-text-link--light:hover {
	color: var(--wpilot-yellow);
}

.wpilot-site--home .wpilot-eyebrow {
	margin: 0 0 1rem;
	color: var(--wpilot-blue);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.wpilot-site--home .wpilot-eyebrow--light {
	color: var(--wpilot-yellow);
}

@media (prefers-reduced-motion: reduce) {
	.wpilot-site--home .wpilot-home *,
	.wpilot-site--home .wpilot-home *::before,
	.wpilot-site--home .wpilot-home *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
