/*
Theme Name: Airshow Guide
Template: twentytwentyfive
Description: Child theme of Twenty Twenty-Five for airshowguide.com - aviation look, own header and footer, self-hosted font.
Version: 0.2.0
*/

/* Plus Jakarta Sans (SIL OFL 1.1, see assets/fonts/LICENSE-OFL.txt), served from this site - no request to Google. */
@font-face {
	font-family: "Gelasio";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/gelasio-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body { font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #0f172a; background: #fff; }
h1, h2, h3, .wp-block-post-title { font-family: Gelasio, Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.02em; color: #0f172a; }

/* Header: white bar so the wordmark (logo blue + orange) reads well; a thin blue-orange line underneath. */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 #e2e8f0, 0 6px 18px rgba(0, 51, 102, .08); }
header.wp-block-template-part::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #003366 0%, #1f5fb0 55%, #f86b10 100%); }
.admin-bar header.wp-block-template-part { top: 32px; }
.as-hd-in { max-width: 1200px; margin: 0 auto; padding: 10px clamp(16px, 3vw, 24px); display: flex; align-items: center; gap: 18px; min-height: 64px; box-sizing: border-box; }
.as-hd-logo { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.as-hd-mark { width: 40px; height: 40px; flex: none; }
.as-hd-word { display: block; width: 200px; height: auto; }
.as-hd-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.as-hd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: #003366; font-weight: 700; font-size: .95rem; text-decoration: none; }
.as-hd-nav a:hover, .as-hd-nav a:focus-visible { background: #eef4fb; }
.as-hd-nav a[aria-current="page"] { color: #f86b10; }
.as-hd-trip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; background: linear-gradient(180deg, #ff9a3c 0%, #f26a12 100%); color: #fff; font-weight: 700; text-decoration: none; text-shadow: 0 1px 1px rgba(120, 40, 0, .35); box-shadow: 0 2px 8px rgba(242, 106, 18, .32); }
.as-hd-trip svg { width: 18px; height: 18px; fill: currentColor; }
.as-hd-trip .as-trip-n { background: #fff; color: #d4520a; text-shadow: none; }
.as-hd-burger { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: linear-gradient(180deg, #1f5fb0 0%, #0b4689 100%); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.as-hd-bars, .as-hd-bars::before, .as-hd-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .2s; }
.as-hd-bars::before, .as-hd-bars::after { content: ""; position: absolute; left: 0; }
.as-hd-bars::before { top: -6px; } .as-hd-bars::after { top: 6px; }
.as-hd-burger[aria-expanded="true"] .as-hd-bars { background: transparent; }
.as-hd-burger[aria-expanded="true"] .as-hd-bars::before { top: 0; transform: rotate(45deg); }
.as-hd-burger[aria-expanded="true"] .as-hd-bars::after { top: 0; transform: rotate(-45deg); }
.as-hd-menu { border-top: 1px solid #e2e8f0; background: #fff; max-height: calc(100vh - 64px); overflow: auto; }
.as-hd-menu ul { list-style: none; margin: 0 auto; padding: 8px 16px 20px; max-width: 1200px; }
.as-hd-menu a { display: flex; flex-direction: column; padding: 14px 4px; border-bottom: 1px solid #eef2f7; color: #003366; font-size: 1.1rem; font-weight: 800; text-decoration: none; }
.as-hd-menu a span { color: #64748b; font-size: .85rem; font-weight: 600; }
.as-hd-menu a[aria-current="page"] { color: #f86b10; }
@media (max-width: 1120px) {
	.as-hd-nav { display: none; }
	.as-hd-burger { display: inline-flex; }
	.as-hd-word { width: 160px; }
	.as-hd-in { gap: 10px; }
}
@media (max-width: 480px) {
	.as-hd-mark { width: 34px; height: 34px; }
	.as-hd-word { width: 132px; }
	.as-hd-trip { padding: 0 12px; }
	.as-hd-trip-l, .as-hd-burger-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.as-hd-burger { padding: 0 12px; }
}
.wp-site-blocks { padding-top: 0; }

/* Footer */
footer.wp-block-group { background: #0f172a; color: #94a3b8; border-top: 0; }
footer.wp-block-group a { color: #e2e8f0; }
footer.wp-block-group strong { color: #fff; }

/* Front page: no theme title, the hero starts right under the header */
.home .wp-block-post-title { display: none; }
.home main.wp-block-group, .home .entry-content { margin-top: 0 !important; padding-top: 0 !important; }
.home .entry-content > .as-hero:first-child { margin-top: 0; }
@media (max-width: 781px) { .admin-bar header.wp-block-template-part { top: 46px; } }

/* Footer (full) */
footer.as-footer { margin-top: 48px; padding: 48px 16px 24px; color: #c7d7ee; background: radial-gradient(circle at 14% 22%, #7fb3ec 0, #3b78c4 140px, rgba(0, 51, 102, 0) 380px), linear-gradient(135deg, #003366 0%, #0a3f80 100%); }
footer.as-footer p { color: #d6e2f3; }
.as-foot { max-width: 1200px; margin: 0 auto; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .as-foot { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .as-foot { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.as-foot p { margin: 0 0 10px; font-size: .92rem; line-height: 1.6; }
.as-foot-logo { color: #fff; font-size: 1.25rem !important; font-weight: 800; }
.as-foot-logo span { color: #f59e0b; display: inline-block; transform: rotate(-20deg); }
.as-foot-pill { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(6, 182, 212, .55); color: #a5f3fc !important; font-size: .82rem; font-weight: 700; text-decoration: none; }
.as-foot-h { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem !important; margin: 0 0 10px; font-family: inherit; line-height: 1.4; }
.as-foot-t { all: unset; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.as-foot ul { list-style: none; margin: 0; padding: 0; }
.as-foot li a, .as-foot-link { display: inline-block; padding: 6px 0; min-height: 32px; color: #e2e8f0; text-decoration: none; font-size: .92rem; }
.as-foot-link { border: 0; background: none; font-family: inherit; text-align: left; cursor: pointer; }
.as-foot li a:hover, .as-foot li a:focus-visible, .as-foot-link:hover, .as-foot-link:focus-visible { color: #f59e0b; }
/* UX audit 2026-11-10: on phones each link column folds under its heading (tap to open). */
@media (max-width: 767px) {
	.as-foot { gap: 0; }
	.as-foot-brand { margin-bottom: 18px; }
	.as-foot-col { border-top: 1px solid rgba(255, 255, 255, .18); }
	.as-foot-h { margin: 0; }
	.as-foot-t { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 48px; cursor: pointer; }
	.as-foot-t::after { content: "+"; font-size: 1.3rem; font-weight: 400; }
	.as-foot-col.open .as-foot-t::after { content: "\2212"; }
	.as-foot-t:focus-visible { outline: 2px solid #f59e0b; outline-offset: 2px; }
	.as-foot-col ul { display: none; padding-bottom: 10px; }
	.as-foot-col.open ul { display: block; }
	.as-foot li a, .as-foot-link { min-height: 44px; padding: 10px 0; }
}
.as-foot-bottom { max-width: 1200px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .8rem; }
.as-foot-bottom p { color: #b7c9e4 !important; }

.as-foot-logo-img { display: inline-block; margin-bottom: 14px; }
.as-foot-logo-img img { display: block; width: 240px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18)); }

/* Inner pages: title close to the header, breadcrumbs right above it. */
body:not(.home) main.wp-block-group { margin-top: 0 !important; padding-top: 18px !important; }
body:not(.home) .wp-block-post-title { margin-top: 0 !important; margin-bottom: 14px; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.12; }
body:not(.home) main .wp-block-group:has(> .wp-block-post-title) { padding-top: 0 !important; margin-top: 0 !important; }
.as-hd-nav a, .as-hd-trip { white-space: nowrap; }

/* No focus box after a mouse click or tap (owner 2026-11-03); keyboard focus keeps its outline. */
a:focus:not(:focus-visible), button:focus:not(:focus-visible), [tabindex]:focus:not(:focus-visible) { outline: none; box-shadow: none; }
a, button { -webkit-tap-highlight-color: transparent; }

/* Fields too: no focus box after a mouse click (owner 2026-11-03); keyboard focus keeps its outline. */
input:focus:not(:focus-visible), select:focus:not(:focus-visible), textarea:focus:not(:focus-visible), label:focus:not(:focus-visible) { outline: none; box-shadow: none; }
