/* AviationCalc theme. Navy and sky blue on white, system fonts, no external requests. */
:root {
	--navy: #0b2545;
	--navy-2: #13315c;
	--sky: #1e9bd7;
	--sky-dark: #0b5c8a;
	--sky-light: #8ecae6;
	--pale: #eaf4fb;
	--tint: #f5f9fc;
	--line: #d5dfea;
	--text: #22324a;
	--muted: #55657d;
	--amber: #f4a300;
	--radius: 14px;
	--shadow: 0 6px 20px rgba(11, 37, 69, 0.07);
	--shadow-hover: 0 10px 28px rgba(11, 37, 69, 0.13);
	--font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: #fff;
	overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-dark); text-underline-offset: 0.16em; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
	outline: 3px solid var(--sky);
	outline-offset: 2px;
}
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 2.9rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: 0.7rem 1rem; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 47.5rem); }
.site-main:focus { outline: none; }
.icon { flex: none; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.4rem; }
.site-logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--navy); }
.site-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.site-name span { color: var(--sky-dark); }
.custom-logo { max-height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav .menu { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; }
.site-nav .menu a { display: block; padding: 0.55rem 0.8rem; border-radius: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }
.site-nav .menu a:hover { background: var(--pale); }
.site-nav .current-menu-item > a, .site-nav .current_page_parent > a { background: var(--pale); color: var(--sky-dark); }
.header-search { display: flex; align-items: center; border: 1px solid #a9b8ca; border-radius: 999px; padding: 0 0.3rem 0 0.9rem; background: #fff; }
.header-search input { border: 0; background: none; font: inherit; font-size: 0.95rem; width: 8.5rem; padding: 0.45rem 0; color: var(--text); }
.header-search input:focus { outline: none; }
.header-search:focus-within { outline: 3px solid var(--sky); outline-offset: 2px; }
.header-search button { border: 0; background: none; color: var(--navy); cursor: pointer; padding: 0.45rem; display: inline-flex; border-radius: 50%; }
.nav-toggle { display: none; align-items: center; gap: 0.4rem; font: inherit; font-weight: 700; color: var(--navy); background: #fff; border: 2px solid var(--navy); border-radius: 9px; padding: 0.45rem 0.8rem; cursor: pointer; }
.notice-bar { margin: 0; background: var(--navy); color: #dbe9f6; font-size: 0.86rem; padding: 0.4rem 0; text-align: center; }
.notice-bar .wrap { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; font: inherit; font-weight: 700; text-decoration: none; border-radius: 10px; padding: 0.75rem 1.4rem; border: 2px solid transparent; cursor: pointer; min-height: 3rem; }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--pale); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--pale); color: var(--navy); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--pale) 0%, #fff 100%); padding: clamp(2rem, 5vw, 4rem) 0 clamp(1.5rem, 4vw, 3rem); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero-lede { font-size: 1.15rem; color: var(--text); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }
.hero-art img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; }

/* Sections */
.section { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-tint { background: var(--tint); border-block: 1px solid #e6eef6; }
.section-navy { background: var(--navy); color: #dbe9f6; }
.section-navy h2 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.2rem; }
.section-head h2 { margin: 0; }
.more-link { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 700; text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.intro-strip { padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.intro-grid p { margin: 0; font-size: 1.08rem; }
.intro-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; justify-content: flex-end; }
.intro-stats li { background: var(--pale); border-radius: 12px; padding: 0.7rem 1rem; text-align: center; color: var(--muted); font-size: 0.9rem; min-width: 5.5rem; }
.intro-stats strong { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--navy); }

/* Directory */
.directory-search { margin: 0 0 1.5rem; max-width: 34rem; }
.directory-search label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.directory-field { display: flex; align-items: center; gap: 0.5rem; border: 1px solid #a9b8ca; border-radius: 12px; padding: 0 0.9rem; background: #fff; color: var(--muted); }
.directory-field:focus-within { outline: 3px solid var(--sky); outline-offset: 2px; }
.directory-field input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; padding: 0.8rem 0; color: var(--text); }
.directory-field input:focus { outline: none; }
.directory-status { margin: 0.4rem 0 0; min-height: 1.4em; font-size: 0.9rem; color: var(--muted); }
.directory-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.directory-group h3 { font-size: 1rem; margin: 0 0 0.5rem; padding-bottom: 0.45rem; border-bottom: 2px solid var(--pale); }
.directory-group h3 a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--navy); text-decoration: none; }
.directory-group h3 a:hover { color: var(--sky-dark); text-decoration: underline; }
.directory-group ul { list-style: none; margin: 0; padding: 0; }
.directory-group li a { display: block; padding: 0.28rem 0; text-decoration: none; }
.directory-group li a:hover { text-decoration: underline; }
.directory-empty { background: var(--pale); border-radius: 12px; padding: 1rem 1.2rem; margin: 1rem 0 0; }
[hidden] { display: none !important; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.calc-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.1rem; box-shadow: var(--shadow); transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s; display: flex; flex-direction: column; }
.calc-card:hover, .calc-card:focus-within { box-shadow: var(--shadow-hover); border-color: var(--sky-light); transform: translateY(-2px); }
.calc-card-icon { display: inline-flex; width: 2.8rem; height: 2.8rem; align-items: center; justify-content: center; border-radius: 11px; background: var(--pale); color: var(--sky-dark); margin-bottom: 0.8rem; }
.calc-card-title { font-size: 1.1rem; margin: 0 0 0.35rem; }
.calc-card-title a { color: var(--navy); text-decoration: none; }
.calc-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.calc-card-title a:focus-visible { outline: none; }
.calc-card:focus-within { outline: 3px solid var(--sky); outline-offset: 2px; }
.calc-card-text { font-size: 0.95rem; color: var(--text); margin: 0 0 0.8rem; line-height: 1.5; }
.calc-card-cat { margin: auto 0 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.post-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; transition: box-shadow 0.15s, transform 0.15s; }
.post-card:hover, .post-card:focus-within { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.post-card:focus-within { outline: 3px solid var(--sky); outline-offset: 2px; }
.post-card-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--pale); border-bottom: 1px solid var(--line); }
.post-card-body { padding: 1rem 1.2rem 1.2rem; }
.post-card-cat { margin: 0 0 0.3rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky-dark); }
.post-card-title { font-size: 1.12rem; margin: 0 0 0.4rem; }
.post-card-title a { color: var(--navy); text-decoration: none; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; }
.post-card-title a:focus-visible { outline: none; }
.post-card-text { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.category-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: box-shadow 0.15s, transform 0.15s; }
.category-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.category-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--pale); }
.category-card-body { padding: 0.9rem 1.1rem 1.1rem; display: block; }
.category-card-title { display: block; font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.category-card-count { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }

/* How it works / accuracy */
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem; }
.steps-grid p { margin: 0; font-size: 0.98rem; }
.step-icon { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 0.9rem; }
.accuracy { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.accuracy p:last-child { margin-bottom: 0; }
.accuracy-box { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(142, 202, 230, 0.45); border-radius: var(--radius); padding: 1.4rem; }
.accuracy-box strong { color: #fff; }

/* Page headers */
.page-header { background: linear-gradient(180deg, var(--pale) 0%, #fff 100%); padding: 1.5rem 0 1.25rem; }
.page-header h1 { margin-bottom: 0.4em; }
.page-intro { max-width: 46rem; font-size: 1.08rem; }
.page-intro p:last-child { margin-bottom: 0.5rem; }
.page-header-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.page-header-art img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.breadcrumbs { font-size: 0.88rem; margin-bottom: 0.9rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 0.4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: #8ea0b6; }
.breadcrumbs a { color: var(--sky-dark); }
.article-meta { color: var(--muted); font-size: 0.93rem; margin: 0; }
.article-meta a { font-weight: 700; }
.article-figure { margin: 1rem 0 1.75rem; }
.article-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

/* Content */
.entry-content, .calculator-content { padding-bottom: 1rem; }
.calculator-content { max-width: 47.5rem; }
.entry-content h2, .content-section h2 { margin-top: 1.8em; }
.entry-content h3, .content-section h3 { margin-top: 1.4em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content li, .content-section li { margin-bottom: 0.4em; }
.formula, .formula-box .formula { font-family: var(--mono); font-size: 0.98rem; background: var(--tint); border: 1px solid var(--line); border-left: 4px solid var(--sky); border-radius: 8px; padding: 0.75rem 1rem; overflow-x: auto; color: var(--navy); line-height: 1.5; }
.formula-box .formula { margin-bottom: 0.6rem; }
.note { background: var(--pale); border-radius: 10px; padding: 0.9rem 1.1rem; margin: 0 0 1.1em; }
.note p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.3em; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; font-variant-numeric: tabular-nums; }
th, td { padding: 0.6rem 0.8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; border-bottom: 0; font-weight: 600; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--tint); }
.variables { margin: 0 0 1em; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.variables > div { display: grid; grid-template-columns: minmax(5.5rem, 9rem) minmax(0, 1fr); gap: 1rem; padding: 0.6rem 1rem; border-bottom: 1px solid var(--line); }
.variables > div:last-child { border-bottom: 0; }
.variables > div:nth-child(even) { background: var(--tint); }
.variables dt { font-family: var(--mono); font-weight: 700; color: var(--navy); }
.variables dd { margin: 0; }
.example-box { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem 0.4rem; }
.example-box h3 { margin-top: 0; font-size: 1rem; }
.example-box ul, .example-box ol { margin-bottom: 1em; }
.example-result { font-weight: 700; color: var(--navy); }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.6em; }
.check-list li::before { content: ""; position: absolute; left: 0.2rem; top: 0.6em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--sky); }
.check-list-warn li::before { background: var(--amber); border-radius: 2px; transform: rotate(45deg); }
.disclaimer-box { display: flex; gap: 0.8rem; align-items: flex-start; background: #fff8e6; border: 1px solid #ecd28a; border-radius: 12px; padding: 1rem 1.1rem; margin: 2rem 0 1.5rem; color: #4a3a05; }
.disclaimer-box .icon { color: #8a6100; margin-top: 0.2rem; }
.disclaimer-box p { margin: 0; font-size: 0.95rem; }
.disclaimer-box a { color: #5c4300; font-weight: 600; }
.references ol { font-size: 0.95rem; }
.references-note { font-size: 0.88rem; color: var(--muted); }
.try-box { background: var(--pale); border-radius: var(--radius); padding: 0.4rem 1.3rem 1rem; margin-top: 2rem; }
.try-box h2 { margin-top: 1em; font-size: 1.3rem; }
.try-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.try-list a { display: flex; gap: 0.7rem; align-items: flex-start; background: #fff; border: 1px solid #c9e2f3; border-radius: 10px; padding: 0.75rem 0.9rem; text-decoration: none; color: var(--text); }
.try-list a:hover { border-color: var(--sky); }
.try-list .icon { color: var(--sky-dark); margin-top: 0.2rem; }
.try-list strong { display: block; color: var(--navy); }
.try-list span { font-size: 0.93rem; line-height: 1.45; }
.calc-group { margin-bottom: 2.5rem; }
.topic-chips ul { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.topic-chips a { display: inline-block; padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.93rem; font-weight: 600; color: var(--navy); background: #fff; }
.topic-chips a:hover { background: var(--pale); border-color: var(--sky-light); }

/* Search */
.search-form { max-width: 34rem; margin-top: 1rem; }
.search-form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.search-form-row { display: flex; gap: 0.5rem; }
.search-form input[type="search"] { flex: 1; min-width: 0; font: inherit; border: 1px solid #a9b8ca; border-radius: 10px; padding: 0.7rem 0.9rem; color: var(--text); }
.result-count { color: var(--muted); }
.result-list { list-style: none; margin: 0; padding: 0; max-width: 47.5rem; }
.result-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.result-list h2 { font-size: 1.2rem; margin: 0.2rem 0 0.3rem; }
.result-list p { margin: 0; }
.result-type { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--pale); color: var(--sky-dark); }
.result-type-aviation_calculator { background: var(--navy); color: #fff; }
.pagination { margin-top: 2rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.pagination .page-numbers { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.8rem; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; font-weight: 600; color: var(--navy); }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination a.page-numbers:hover { background: var(--pale); }

/* Contact form (markup from the plugin) */
.avc-contact { margin: 1.5rem 0; }
.avc-contact form { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 0.6rem; }
.avc-contact label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.avc-contact input[type="text"], .avc-contact input[type="email"], .avc-contact select, .avc-contact textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1px solid #a9b8ca; border-radius: 9px; padding: 0.65rem 0.8rem; min-height: 2.9rem; }
.avc-contact textarea { resize: vertical; }
.avc-contact [aria-invalid="true"] { border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e; }
.avc-contact-error { color: #b3261e; font-weight: 600; font-size: 0.92rem; margin: -0.7rem 0 1rem; }
.avc-contact-hint { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 0.3rem; }
.avc-contact-agree label { font-weight: 400; display: flex; gap: 0.6rem; align-items: flex-start; }
.avc-contact-agree input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; flex: none; }
.avc-contact-submit { font: inherit; font-weight: 700; background: var(--navy); color: #fff; border: 2px solid var(--navy); border-radius: 10px; padding: 0.75rem 1.5rem; cursor: pointer; min-height: 3rem; }
.avc-contact-submit:hover { background: var(--navy-2); }
.avc-contact-success { background: #e8f6ec; border: 1px solid #9fd3ae; color: #14532d; border-radius: 12px; padding: 1rem 1.2rem; }
.avc-contact-summary { background: #fdecea; border: 1px solid #f1b0aa; color: #7a1c15; border-radius: 12px; padding: 0.9rem 1.2rem; margin-bottom: 1rem; font-weight: 600; }
.avc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.avc-optional { font-weight: 400; color: var(--muted); font-size: 0.9em; }

/* Ads and consent (only present when enabled in the plugin) */
.avc-ad { margin: 2.5rem auto; padding-top: 1rem; border-top: 1px solid var(--line); max-width: 47.5rem; min-height: 280px; clear: both; }
.avc-ad-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; margin: 0 0 0.5rem; }
.avc-consent { position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem; max-width: 44rem; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(11, 37, 69, 0.25); padding: 1.1rem 1.2rem; }
.avc-consent p { margin: 0 0 0.8rem; font-size: 0.95rem; }
.avc-consent-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.avc-consent button { font: inherit; font-weight: 700; border-radius: 9px; padding: 0.6rem 1.3rem; cursor: pointer; background: var(--navy); color: #fff; border: 2px solid var(--navy); min-height: 2.8rem; }

/* Footer */
.site-footer { background: #081b33; color: #c5d5e6; margin-top: 0; padding: 2.75rem 0 1.5rem; font-size: 0.96rem; }
.site-footer a { color: #d9ebf8; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
.site-logo-footer .site-name { color: #fff; }
.site-logo-footer .site-name span { color: var(--sky-light); }
.site-logo-footer .logo-mark rect { fill: #13315c; }
.footer-about p { margin: 0.9rem 0 0; max-width: 26rem; }
.footer-nav h2 { color: #fff; font-size: 0.85rem; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 0.8rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu a { display: inline-block; padding: 0.3rem 0; text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(197, 213, 230, 0.25); font-size: 0.88rem; }
.footer-bottom p { margin: 0 0 0.6rem; max-width: 60rem; }
.footer-bottom strong { color: #fff; }

/* Responsive */
@media (max-width: 1000px) {
	.card-grid, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card-grid-4, .category-grid, .directory-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero-inner, .accuracy, .intro-grid, .page-header-grid { grid-template-columns: minmax(0, 1fr); }
	.intro-stats { justify-content: flex-start; }
	.page-header-art { max-width: 26rem; }
	.footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.footer-about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(11, 37, 69, 0.12); padding: 0.75rem 1.25rem 1.25rem; flex-direction: column; align-items: stretch; gap: 0.75rem; }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.header-search input { width: 100%; flex: 1; }
	.header-search { padding-left: 1rem; }
	.header-inner { position: static; }
	.site-header { position: relative; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.wrap, .wrap-narrow { width: min(100% - 2rem, 72rem); }
	.card-grid, .card-grid-4, .steps-grid, .category-grid, .directory-list, .footer-grid { grid-template-columns: minmax(0, 1fr); }
	.variables > div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
	.search-form-row { flex-direction: column; }
	.intro-stats li { min-width: 0; flex: 1; }
	.btn { width: 100%; }
	.hero-actions .btn { width: auto; flex: 1 1 10rem; }
}
@media print {
	.site-header, .site-footer, .avc-actions, .avc-ad, .avc-consent, .section-tint, .nav-toggle { display: none !important; }
	body { font-size: 11pt; }
}
