/* Two-row navigation on phones/tablets; desktop retains the shared header layout. */
/* Restore the original centered desktop header canvas and match footer height (58px). */
body .site-header:not(.has-compact-nav) .header-inner.wrap { max-width: 1180px; min-height: 58px; padding-inline: 28px; }
@media(min-width:1281px){ body[data-page="report"] { --site-header-h: 59px; } }
/* Header brand + VPSPO.COM navigation portal link (all viewports) */
.site-header .brand-group { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.site-header .brand-group .logo-brand { order: 0; }
@media(max-width:1280px){ .site-header .brand-group { order: 1; } }
.site-header .header-nav-portal {
 display: inline-flex; align-items: center; gap: 3px; padding: 2px 4px; border-radius: 6px;
 font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 color: #f05a1a; font-size: 13.5px; font-weight: 850; line-height: 1.1; letter-spacing: -.04em;
 white-space: nowrap; text-decoration: none; transition: background .15s ease, color .15s ease;
}
.site-header .header-nav-portal:hover { background: var(--accent-soft); color: #d94c10; }
.site-header .header-nav-portal:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.site-header .header-nav-portal .portal-globe { width: 14px; height: 14px; flex: 0 0 14px; display: block; stroke-width: 2.3; }
html[data-theme="dark"] .site-header .header-nav-portal { color: #ff8538; }
html[data-theme="dark"] .site-header .header-nav-portal:hover { color: #ff9c5c; }
/* Shared compact footer: remove the recommendation page's extra height. */
body .site-footer .footer-inner.wrap {
 max-width: 1180px; min-height: 58px; padding: 14px 28px;
 font-size: 12.5px; line-height: 1.55; gap: 12px;
}
body .site-footer .footer-brand-group {
 display: inline-flex; align-items: center; gap: 10px; min-width: 0;
}
body .site-footer .footer-slogan {
 display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0;
}
body .site-footer .footer-slogan-main {
 font-size: 13.5px; font-weight: 700; line-height: 1.25;
 color: var(--ink); letter-spacing: -.01em; white-space: nowrap;
}
body .site-footer .footer-slogan-sub {
 font-size: 9.5px; font-weight: 600; line-height: 1.2;
 color: var(--muted); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
body .site-footer .footer-ver {
 display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
 gap: 2px; text-align: right;
}
body .site-footer .footer-ver-main {
 font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--muted); white-space: nowrap;
}
body .site-footer .footer-ver-sub {
 font-size: 10px; font-weight: 500; line-height: 1.25; color: var(--muted);
 letter-spacing: .04em; white-space: nowrap;
}
@media(max-width:720px){
 body .site-footer .footer-inner.wrap {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px; padding: 12px 16px; font-size: 11px;
 }
 body .site-footer .footer-inner.wrap .footer-brand-group { gap: 8px; }
 body .site-footer .footer-slogan-main { font-size: 12.5px; }
 body .site-footer .footer-slogan-sub { font-size: 8.5px; letter-spacing: .08em; }
 body .site-footer .footer-inner.wrap > span:not(.footer-ver) { text-align: left; }
 body .site-footer .footer-ver { align-items: flex-start; text-align: left; gap: 1px; }
 body .site-footer .footer-ver-main { font-size: 11px; }
 body .site-footer .footer-ver-sub { font-size: 9.5px; }
}
.compact-nav-reserve { height: 0; pointer-events: none; }
body .site-header.has-compact-nav .header-inner {
 display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: 40px 42px;
 min-height: 0; height: auto; gap: 0 10px; padding: 0 max(10px,env(safe-area-inset-left));
 transition: grid-template-rows .16s ease;
}
.site-header.has-compact-nav { overflow-anchor: none; }
body .site-header.has-compact-nav .brand-group { grid-area: 1 / 1; gap: 3px; max-height: 40px; overflow: hidden; transition: opacity .12s ease; }
body .site-header.has-compact-nav .logo-brand { grid-area: 1 / 1; padding: 0; max-height: 40px; overflow: hidden; transition: opacity .12s ease; }
body .site-header.has-compact-nav .header-nav-portal { gap: 2.5px; padding: 2px 3px; font-size: 12px; letter-spacing: -.04em; }
body .site-header.has-compact-nav .header-nav-portal .portal-globe { width: 12.5px; height: 12.5px; flex-basis: 12.5px; }
.site-header.has-compact-nav .logo-brand .brand-logo { height: 30px; width: auto; }
body .site-header.has-compact-nav .site-status {
 grid-area: 1 / 2; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; width: auto;
 align-items: center; justify-content: flex-end; padding: 0; border: 0; gap: 5px; font-size: 9.5px;
 max-height: 40px; overflow: hidden; transition: opacity .12s ease;
}
.site-header.has-compact-nav .site-status .st-clock { font-size: 10px; }
.site-header.has-compact-nav .site-status .st-sep,
.site-header.has-compact-nav .site-status .st-item:last-child { display: none; }
.site-header.has-compact-nav .site-status .st-sep:nth-child(2) { display: inline; }
.site-header.has-compact-nav .compact-nav-row {
 grid-area: 2 / 1 / 3 / -1; display: grid; grid-template-columns: minmax(0,1fr) 30px;
 align-items: center; column-gap: 8px; height: 42px; min-width: 0;
}
body .site-header.has-compact-nav .compact-nav-row .main-nav {
 order: 0; grid-column: 1; grid-row: 1;
 display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start;
 width: 100%; height: 42px; min-width: 0; gap: 0; padding: 0; margin: 0;
 overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none;
}
.site-header.has-compact-nav .main-nav::-webkit-scrollbar { display: none; }
.site-header.has-compact-nav .main-nav .nav-link {
 display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
 min-height: 32px; padding: 5px 4px; font-size: 11.5px; line-height: 22px; border-radius: 7px;
}
.site-header.has-compact-nav .compact-nav-row .theme-toggle {
 order: 0; grid-column: 2; grid-row: 1;
 position: static; width: 30px; height: 30px; margin: 0; border-radius: 8px;
}
body .site-header.has-compact-nav.is-nav-condensed .header-inner { grid-template-rows: 0px 42px; }
body .site-header.has-compact-nav.is-nav-condensed :is(.brand-group,.logo-brand,.site-status) {
 max-height: 0; opacity: 0; visibility: hidden; pointer-events: none;
}
@media(max-width:360px){
 .site-header.has-compact-nav .main-nav .nav-link{font-size:11px;padding-inline:3px}
 body .site-header.has-compact-nav .header-nav-portal { font-size: 11px; gap: 3px; padding: 2px 3px; }
 body .site-header.has-compact-nav .header-nav-portal .portal-globe { width: 12px; height: 12px; flex-basis: 12px; }
}
@media(max-width:340px){
 body .site-header.has-compact-nav .header-inner { padding-inline: 8px; column-gap: 6px; }
 body .site-header.has-compact-nav .brand-group { gap: 3px; }
 body .site-header.has-compact-nav .header-nav-portal { font-size: 10px; padding: 1px 2px; }
 .site-header.has-compact-nav .compact-nav-row { column-gap: 4px; }
 .site-header.has-compact-nav .main-nav .nav-link { font-size: 10.5px; padding-inline: 2px; }
 .site-header.has-compact-nav .site-status { font-size: 9px; }
}
@media(prefers-reduced-motion:reduce){
 body .site-header.has-compact-nav .header-inner,.site-header.has-compact-nav :is(.brand-group,.logo-brand,.site-status){transition:none}
}
/* Destinations for the renamed navigation entries. */
.official-directory,.airport-news { padding-block: 28px 48px; }
.directory-heading { margin-bottom: 24px; }
.directory-heading h1 { font-size: clamp(26px,4vw,36px); margin: 0 0 10px; }
.directory-heading p,.directory-count { color: var(--muted); font-size: 13px; }
.directory-search { display: block; max-width: 480px; margin-bottom: 14px; font-size: 12px; color: var(--ink-2); }
.directory-search input { display: block; width: 100%; margin-top: 7px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
.official-directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.official-directory-card { padding: 18px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); min-width: 0; }
.official-directory-card h2 { margin: 0 0 12px; font-size: 16px; }
.official-directory-links { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.official-directory-links a { padding: 5px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; overflow-wrap: anywhere; }
.directory-article-link { font-size: 12px; color: var(--muted); }
.directory-empty { color: var(--muted); margin-block: 28px; font-size: 14px; }
.news-empty { border-top: 1px solid var(--border); margin-top: 28px; padding-block: 40px; color: var(--muted); font-size: 14px; }
@media(max-width:1000px){.official-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.official-directory-grid{grid-template-columns:minmax(0,1fr)}.official-directory,.airport-news{padding-top:20px}}

/* Compact official-address directory: titles and URL buttons only. */
body[data-page="officials"] .ops-wrap { max-width: 1180px; padding-inline: 28px; }
body[data-page="officials"] .official-directory { padding-top: 20px; }
body[data-page="officials"] .directory-heading { margin-bottom: 18px; }
body[data-page="officials"] .directory-heading h1 { font-size: 30px; margin-bottom: 5px; }
body[data-page="officials"] .directory-heading p { margin: 0; }
body[data-page="officials"] .directory-toolbar { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
body[data-page="officials"] .directory-search { flex: 1; max-width: 430px; margin: 0; color: var(--muted); }
body[data-page="officials"] .directory-search input { height: 40px; margin-top: 6px; padding: 8px 12px; font-size: 16px; border-radius: 9px; }
body[data-page="officials"] .directory-search input::placeholder { font-size: 12px; color: var(--muted); }
body[data-page="officials"] .directory-search input:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); outline-offset: 1px; }
body[data-page="officials"] .directory-count { margin: 0 0 10px auto; white-space: nowrap; font-size: 12px; }
body[data-page="officials"] .official-directory-grid { gap: 12px; margin-top: 0; align-items: start; }
body[data-page="officials"] .official-directory-card {
 display: flex; flex-direction: column; gap: 10px; padding: 13px 14px;
 border-radius: 12px; border-color: var(--border); background: var(--surface);
 box-shadow: var(--shadow-xs); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body[data-page="officials"] .official-directory-card[hidden] { display: none; }
body[data-page="officials"] .official-directory-card:is(:hover,:focus-within) { border-color: var(--border-accent); box-shadow: var(--shadow-hover); transform: translateY(-1px); }
body[data-page="officials"] .directory-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
body[data-page="officials"] .directory-card-title h2 { flex: 1; min-width: 0; }
body[data-page="officials"] .directory-card-title .directory-article-link {
 flex: 0 0 auto; padding: 1px 7px; border: 1px solid var(--accent-soft-border); border-radius: 6px;
 background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 650;
 line-height: 20px; white-space: nowrap; text-decoration: none;
}
body[data-page="officials"] .directory-card-title .directory-article-link:is(:hover,:active) { border-color: var(--accent); }
body[data-page="officials"] .directory-card-title .directory-article-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
body[data-page="officials"] .official-directory-card h2 { margin: 0; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 22px; overflow-wrap: anywhere; }
body[data-page="officials"] .official-title-suffix { display: inline-block; margin-left: 4px; color: var(--muted); font-size: 10.5px; font-weight: 400; white-space: nowrap; }
body[data-page="officials"] .official-directory-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin: 0; }
body[data-page="officials"] .official-directory-links a {
 --url-color: #ad541c;
 display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; min-height: 32px;
 padding: 5px 9px; border: 1px solid color-mix(in srgb,var(--url-color) 25%,var(--surface)); border-radius: 6px;
 background: color-mix(in srgb,var(--url-color) 7%,var(--surface)); color: var(--url-color);
 font-size: 11.5px; font-weight: 550; line-height: 20px; text-decoration: none;
 transition: background .16s ease, border-color .16s ease;
}
body[data-page="officials"] .official-directory-links a[data-tone="1"] { --url-color: #117c71; }
body[data-page="officials"] .official-directory-links a[data-tone="2"] { --url-color: #456dc0; }
body[data-page="officials"] .official-directory-links a[data-tone="3"] { --url-color: #8551b8; }
body[data-page="officials"] .official-directory-links a[data-tone="4"] { --url-color: #a16613; }
body[data-page="officials"] .official-directory-links a:only-child { grid-column: 1/-1; }
body[data-page="officials"] .official-directory-links a span { overflow-wrap: anywhere; min-width: 0; }
body[data-page="officials"] .official-directory-links a svg { flex: 0 0 13px; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
body[data-page="officials"] .official-directory-links a:is(:hover,:active) { background: color-mix(in srgb,var(--url-color) 14%,var(--surface)); border-color: var(--url-color); }
body[data-page="officials"] .official-directory-links a:focus-visible { outline: 2px solid var(--url-color); outline-offset: 2px; }
html[data-theme="dark"] body[data-page="officials"] .official-directory-links a { --url-color: #f5a35c; }
html[data-theme="dark"] body[data-page="officials"] .official-directory-links a[data-tone="1"] { --url-color: #6bd3c4; }
html[data-theme="dark"] body[data-page="officials"] .official-directory-links a[data-tone="2"] { --url-color: #96b9f9; }
html[data-theme="dark"] body[data-page="officials"] .official-directory-links a[data-tone="3"] { --url-color: #c5a2f2; }
html[data-theme="dark"] body[data-page="officials"] .official-directory-links a[data-tone="4"] { --url-color: #e2bc67; }
@media(max-width:720px){
 body[data-page="officials"] .ops-wrap { padding-inline: 16px; }
 body[data-page="officials"] .directory-heading h1 { font-size: 26px; }
 body[data-page="officials"] .directory-toolbar { gap: 10px; margin-bottom: 14px; }
 body[data-page="officials"] .directory-count { font-size: 11px; }
 body[data-page="officials"] .official-directory-card { padding: 12px 13px; }
 body[data-page="officials"] .official-directory-grid { gap: 10px; }
}
@media(prefers-reduced-motion:reduce){body[data-page="officials"] :is(.official-directory-card,.official-directory-links a){transition:none}}

/* Keep the home-page search available underneath the live header while browsing cards. */
body[data-page="home"] .home-search-sentinel,
body[data-page="home"] .home-search-reserve { display: block; height: 0; overflow-anchor: none; pointer-events: none; }
body[data-page="home"] .home-search-sticky {
 position: sticky; top: var(--home-search-top,69px); z-index: 30;
 padding-block: 7px; background: var(--bg); overflow-anchor: none;
}
body[data-page="home"] .home-search-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
body[data-page="home"] .home-search-row .search-bar { flex: 1 1 auto; min-width: 0; }
body[data-page="home"] .home-search-collapse { display: none; }
body[data-page="home"] .home-search-fab { display: none; }
body[data-page="home"] .search-input { min-width: 0; padding-left: 38px; padding-right: 34px; }
body[data-page="home"] .search-input::placeholder { font-size: 13px; }
body[data-page="home"] .home-search-examples { display: none; margin: 4px 2px 0; color: var(--muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
@media(max-width:720px){
 body[data-page="home"] .search-input { font-size: 16px; }
 body[data-page="home"] .search-input::placeholder { font-size: 11.5px; }
 body[data-page="home"] .home-search-examples { display: block; }
 body[data-page="home"] .home-search-sticky.is-search-collapsed {
  height: 0; padding: 0; margin: 0; overflow: hidden; background: transparent; pointer-events: none;
 }
 body[data-page="home"] .home-search-sticky.is-search-expanded .home-search-collapse {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 34px; height: 34px; padding: 0; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer;
 }
 body[data-page="home"] .home-search-sticky.is-search-expanded .home-search-collapse:active {
  border-color: var(--accent); color: var(--accent);
 }
 body[data-page="home"] .home-search-sticky.is-search-expanded .home-search-collapse svg {
  width: 17px; height: 17px; display: block;
 }
 body[data-page="home"] .home-search-fab:not([hidden]) {
  position: fixed;
  top: calc(var(--home-search-top, 43px) + 8px);
  right: var(--home-search-fab-right, 10px);
  z-index: 35;
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--home-search-fab-size, 30px); height: var(--home-search-fab-size, 30px);
  padding: 0; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink-2);
  box-shadow: 0 2px 8px rgba(23, 26, 35, 0.12);
  cursor: pointer; transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
 }
 body[data-page="home"] .home-search-fab svg { width: 16px; height: 16px; display: block; }
 body[data-page="home"] .home-search-fab:hover,
 body[data-page="home"] .home-search-fab:active,
 body[data-page="home"] .home-search-fab.has-query {
  border-color: var(--accent); color: var(--accent);
 }
 html[data-theme="dark"] body[data-page="home"] .home-search-fab:not([hidden]) {
  border-color: var(--border-strong); background: var(--surface); color: var(--ink-2);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.42);
 }
}
/* Home hero CTA row with brand slogan pill */
body[data-page="home"] .hero-cta-row {
 display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px 12px;
}
body[data-page="home"] .hero-slogan {
 display: inline-flex; align-items: center; gap: 9px;
 padding: 10px 18px; border-radius: 9px;
 border: 1px solid var(--border); background: var(--surface);
 box-shadow: 0 1px 2px rgba(23, 26, 35, 0.04);
 font-size: 14px; font-weight: 650; line-height: 1.25;
 color: var(--ink); letter-spacing: -.01em; white-space: nowrap;
}
body[data-page="home"] .hero-slogan-dot {
 width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px;
 background: var(--accent);
}
html[data-theme="dark"] body[data-page="home"] .hero-slogan {
 border-color: var(--border-strong);
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
@media(max-width:520px){
 body[data-page="home"] .hero-slogan {
  padding: 9px 14px; font-size: 13px; gap: 8px;
 }
}
