/*
 * Airports explorer and public SEO pages (docs/REQ-Airports-Explorer.md mockup).
 * Everything is scoped to .seo-x so the site-wide admin/Bootstrap CSS does not leak in, and back.
 */
.seo-x {
    --seo-primary: #1a73e8;
    --seo-primary-dark: #1552a3;
    --seo-primary-light: #4797ff;
    --seo-soft: #f8fbff;
    --seo-soft-border: #bfd7ff;
    --seo-text: #1a1a2e;
    --seo-muted: #64748b;
    --seo-border: #e5e7eb;
    --seo-surface: #ffffff;
    --seo-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --seo-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --seo-radius: 14px;
    --seo-shadow: 0 4px 14px rgba(15, 23, 42, .08);
    font-family: var(--seo-sans);
    color: var(--seo-text);
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.seo-x *, .seo-x *::before, .seo-x *::after { box-sizing: border-box; }
.seo-x a { color: var(--seo-primary); text-decoration: none; }
.seo-x a:hover { color: var(--seo-primary-dark); }
.seo-x h1, .seo-x h2, .seo-x h3 { font-family: var(--seo-sans); color: inherit; }
.seo-x .seo-main h2 { margin: 28px 0 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.seo-x .seo-main > p { color: var(--seo-text); }
.seo-x .text-muted, .seo-x .seo-count { color: var(--seo-muted); }
.seo-x p { margin-top: 0; }
.seo-x code, .seo-x .seo-mono { font-family: var(--seo-mono); font-size: .82em; }
.seo-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.seo-main { padding-top: 36px; padding-bottom: 64px; }
.seo-main--overlap { padding-top: 0; margin-top: -36px; position: relative; z-index: 2; }
.seo-accent { color: var(--seo-primary); }

/* Hero band */
.seo-hero {
    padding: 128px 0 56px;
    color: #fff;
    background: var(--seo-primary);
    background-image:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(255,255,255,.18), transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 70%, rgba(71,151,255,.35), transparent 50%);
}
.seo-hero--overlap { padding-bottom: 72px; }
.seo-crumb { margin-bottom: 14px; font-size: .85rem; opacity: .85; }
.seo-x .seo-crumb a { color: #fff; opacity: .9; }
.seo-x .seo-crumb a:hover { color: #fff; text-decoration: underline; opacity: 1; }
.seo-hero h1 { margin: 0 0 10px; color: #fff; font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.seo-hero h1 .seo-grad { color: transparent; background: linear-gradient(to right, #fff, #cfe4ff); -webkit-background-clip: text; background-clip: text; }
.seo-flag { margin-bottom: 4px; font-size: 1.5rem; }
.seo-lead { max-width: 62ch; margin: 0 0 18px; font-size: 1.05rem; font-weight: 400; opacity: .92; }
.seo-hero--overlap .seo-lead { margin-bottom: 0; }
.seo-pill-note { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.15); font-size: .82rem; }
.seo-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Buttons */
.seo-x .seo-btn,
.seo-x .seo-btn-ghost,
.seo-x .seo-btn-pill,
.seo-x .seo-btn-trial,
.seo-x .seo-btn-on-blue { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .25s ease; text-decoration: none; }
.seo-x .seo-btn { padding: 10px 18px; border: 0; border-radius: 8px; color: #fff; background: var(--seo-primary); }
.seo-x .seo-btn:hover { color: #fff; background: var(--seo-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,115,232,.3); }
.seo-x .seo-btn-ghost { padding: 10px 18px; border: 1px solid var(--seo-soft-border); border-radius: 8px; color: var(--seo-primary); background: #fff; }
.seo-x .seo-btn-ghost:hover { background: var(--seo-soft); }
.seo-x .seo-btn-ghost[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.seo-x .seo-btn-pill { padding: 12px 22px; border: 0; border-radius: 999px; color: var(--seo-text); background: #fff; font-weight: 650; font-size: .95rem; box-shadow: 0 4px 14px rgba(15,23,42,.12); }
.seo-x .seo-btn-pill:hover { color: var(--seo-text); background: var(--seo-soft); }
.seo-x .seo-btn-trial { height: 42px; padding: 0 18px; border: 0; border-radius: 20px; color: var(--seo-primary); background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.seo-x .seo-btn-trial:hover { color: var(--seo-primary); background: #e7efff; transform: translateY(-1px); }
.seo-x .seo-btn-on-blue { padding: 10px 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; color: #fff; background: transparent; }
.seo-x .seo-btn-on-blue:hover { color: #fff; background: rgba(255,255,255,.1); }
.seo-x .seo-hero .seo-btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); }

/* Explorer filters */
.seo-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; width: 100%; margin-bottom: 12px; padding: 14px; border: 1px solid var(--seo-soft-border); border-radius: 12px; background: var(--seo-soft); }
.seo-filters label { display: flex; flex-direction: column; gap: 6px; margin: 0; color: var(--seo-muted); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.seo-filters .seo-span-all { grid-column: 1 / -1; }
.seo-x .seo-search,
.seo-filters select { width: 100%; min-width: 0; padding: 10px 2.6rem 10px 14px; border: 1px solid var(--seo-border); border-radius: 8px; color: var(--seo-text); background: #fff; font-family: inherit; font-size: .9rem; font-weight: 400; letter-spacing: normal; text-transform: none; }
.seo-x .seo-search { padding: 12px 14px; font-size: .95rem; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.seo-x .seo-search:focus { outline: none; border-color: var(--seo-primary); box-shadow: 0 0 0 3px rgba(26,115,232,.15); }
.seo-chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }
.seo-x .seo-filter-chip { padding: 10px 14px; border: 1px solid var(--seo-border); border-radius: 999px; color: var(--seo-muted); background: #fff; font-size: .85rem; font-weight: 600; }
.seo-x .seo-filter-chip:hover { color: var(--seo-primary); border-color: var(--seo-primary-light); }
.seo-x .seo-filter-chip.is-active { color: var(--seo-primary-dark); border-color: rgba(26,115,232,.35); background: rgba(26,115,232,.1); }
.seo-x .seo-filter-reset { margin-left: auto; padding: 8px 12px; font-size: .82rem; }
.seo-count { margin: 0 0 12px; color: var(--seo-muted); font-size: .88rem; }
.seo-region { margin: 28px 0 12px; color: var(--seo-muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.seo-region span { color: var(--seo-primary); }

/* Airport cards */
.seo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.seo-x .seo-card { display: block; width: 100%; padding: 16px 18px; border: 1px solid var(--seo-border); border-radius: var(--seo-radius); color: inherit; background: var(--seo-surface); box-shadow: var(--seo-shadow); text-align: left; transition: border-color .2s, transform .2s, box-shadow .2s; }
.seo-x a.seo-card:hover { color: inherit; border-color: var(--seo-primary-light); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(26,115,232,.12); }
.seo-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.seo-card__name { color: var(--seo-text); font-size: .98rem; font-weight: 700; }
.seo-card__codes { padding: 3px 8px; border-radius: 6px; color: var(--seo-primary); background: rgba(26,115,232,.08); font-family: var(--seo-mono); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.seo-card__meta { margin-top: 6px; color: var(--seo-muted); font-size: .85rem; }
.seo-card__note { margin-top: 10px; color: var(--seo-muted); font-size: .75rem; }
.seo-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.seo-badge { padding: 3px 8px; border-radius: 999px; color: #475569; background: #f1f5f9; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.seo-badge--major { color: var(--seo-primary-dark); background: rgba(26,115,232,.1); }
.seo-badge--intl { color: #065f46; background: #ecfdf5; }

/* Pager */
.seo-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 0 8px; }
.seo-pager__meta { color: var(--seo-muted); font-size: .88rem; }
.seo-pager__actions { display: flex; align-items: center; gap: 8px; }

/* Detail hero card */
.seo-detail { padding: 24px; border: 1px solid var(--seo-soft-border); border-radius: 16px; background: linear-gradient(180deg, var(--seo-soft) 0%, #fff 100%); box-shadow: var(--seo-shadow); }
.seo-detail__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.seo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; }
.seo-chip { padding: 4px 11px; border: 1px solid var(--seo-border); border-radius: 999px; color: #334155; background: #fff; font-size: .78rem; font-weight: 600; }
.seo-chip--accent { color: var(--seo-primary-dark); border-color: rgba(26,115,232,.22); background: rgba(26,115,232,.08); }
.seo-asof { margin: 0; color: var(--seo-muted); font-size: .9rem; }
.seo-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.seo-kpi { padding: 12px 14px; border: 1px solid var(--seo-border); border-radius: 10px; background: #fff; }
.seo-kpi__label { color: var(--seo-muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.seo-kpi__value { margin-top: 2px; color: var(--seo-text); font-size: 1.3rem; font-weight: 800; }
.seo-kpi__value--accent { color: var(--seo-primary); }
.seo-kpi__value--small { font-size: .92rem; }

/* Sub navigation between pages of one entity */
.seo-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.seo-x .seo-subnav a, .seo-subnav span { padding: 6px 14px; border: 1px solid var(--seo-border); border-radius: 999px; color: var(--seo-muted); background: #fff; font-size: .82rem; font-weight: 700; }
.seo-x .seo-subnav a:hover { color: var(--seo-primary); border-color: var(--seo-primary-light); }
.seo-subnav .is-active { color: var(--seo-primary-dark); border-color: rgba(26,115,232,.35); background: rgba(26,115,232,.1); }

/* Panels, tabs and tables */
.seo-panel { margin: 22px 0; overflow: hidden; border: 1px solid var(--seo-border); border-radius: 16px; background: #fff; box-shadow: var(--seo-shadow); }
.seo-panel__head { padding: 16px 18px; border-bottom: 1px solid var(--seo-border); background: var(--seo-soft); }
.seo-panel__head h2 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.seo-panel__head p { margin: 4px 0 0; color: var(--seo-muted); font-size: .85rem; }
.seo-panel__body { padding: 16px 18px; }
.seo-tabs { display: flex; border-bottom: 1px solid var(--seo-border); background: var(--seo-soft); }
.seo-x .seo-tab { flex: 1; padding: 14px; border: 0; border-bottom: 2px solid transparent; color: var(--seo-muted); background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.seo-x .seo-tab.is-active { color: var(--seo-primary); border-bottom-color: var(--seo-primary); background: #fff; }
.seo-table-wrap { overflow-x: auto; }
.seo-x table.seo-table { width: 100%; margin: 0; border-collapse: collapse; font-size: .9rem; }
.seo-x .seo-table th, .seo-x .seo-table td { padding: 12px 14px; border-bottom: 1px solid var(--seo-border); text-align: left; white-space: nowrap; vertical-align: middle; }
.seo-x .seo-table th { color: var(--seo-muted); background: #fafafa; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.seo-x .seo-table td.seo-wrap-cell { white-space: normal; min-width: 160px; }
.seo-x .seo-table tr.seo-row { cursor: pointer; transition: background .15s; }
.seo-x .seo-table tr.seo-row:hover { background: var(--seo-soft); }
.seo-x .seo-table tr:last-child td { border-bottom: 0; }
.seo-empty { padding: 22px 18px; color: var(--seo-muted); }
.seo-status { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.seo-status--ok { color: #065f46; background: #ecfdf5; }
.seo-status--info { color: var(--seo-primary-dark); background: rgba(26,115,232,.1); }
.seo-status--warn { color: #9a3412; background: #fff7ed; }
.seo-status--bad { color: #991b1b; background: #fef2f2; }
.seo-x .seo-lock { display: inline-flex; align-items: center; gap: 4px; color: var(--seo-primary); font-size: .8rem; font-weight: 650; }

/* CTA box */
.seo-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0; padding: 24px 26px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--seo-primary), var(--seo-primary-dark)); box-shadow: 0 8px 24px rgba(26,115,232,.25); }
.seo-cta strong { font-size: 1.15rem; font-weight: 800; }
.seo-cta p { max-width: 52ch; margin: 6px 0 0; font-size: .95rem; opacity: .92; }
.seo-cta__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Explore directory: one footer panel instead of a stack of link lists. */
.seo-directory { margin: 48px 0 8px; padding-top: 28px; border-top: 1px solid var(--seo-border); }
.seo-x .seo-directory > h2 { margin: 0 0 18px; color: var(--seo-muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.seo-directory__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 28px; }
.seo-directory h3 { margin: 0 0 8px; font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }
.seo-directory ul { margin: 0; padding: 0; list-style: none; }
.seo-directory li { margin: 0; }
.seo-x .seo-directory a { display: inline-block; padding: 3px 0; color: var(--seo-text); font-size: .9rem; font-weight: 600; line-height: 1.35; }
.seo-x .seo-directory a:hover { color: var(--seo-primary); }
.seo-directory + .seo-cta { margin-top: 32px; }
@media (max-width: 900px) {
    .seo-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .seo-directory__grid { grid-template-columns: 1fr; }
}

/* Editorial sections */
.seo-section { margin: 40px 0; }
.seo-section > h2 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.seo-section > p { max-width: 75ch; color: var(--seo-muted); }
.seo-section h3 { margin: 18px 0 6px; font-size: .95rem; font-weight: 700; }
.seo-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 16px; }
.seo-fact { padding: 12px 14px; border: 1px solid var(--seo-border); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.seo-fact__k { color: var(--seo-muted); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.seo-fact__v { margin-top: 4px; font-weight: 700; overflow-wrap: anywhere; }
.seo-list { margin: 0; padding-left: 1.1rem; color: var(--seo-text); }
.seo-list li { margin-bottom: 4px; }
.seo-columns { columns: 3 220px; column-gap: 2rem; }
.seo-columns li { break-inside: avoid; }

/* Code blocks */
.seo-code { position: relative; margin: 10px 0 18px; padding: 14px 16px; border-top: 3px solid var(--seo-primary-light); border-radius: 10px; color: #e2e8f0; background: #0f172a; font-family: var(--seo-mono); font-size: .78rem; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.seo-code__cmd { color: #34d399; }
.seo-x .seo-copy { position: absolute; top: 8px; right: 8px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; color: #e2e8f0; background: rgba(255,255,255,.08); font-family: var(--seo-sans); font-size: .72rem; font-weight: 600; cursor: pointer; }
.seo-x .seo-copy:hover { background: rgba(255,255,255,.16); }
.seo-x .seo-copy.is-copied { color: #aff5b4; border-color: rgba(63,185,80,.35); }
.seo-code--json { white-space: pre; word-break: normal; }

/* FAQ */
.seo-faq { margin-bottom: 8px; padding: 12px 14px; border: 1px solid var(--seo-border); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.03); }
.seo-faq summary { color: var(--seo-text); font-weight: 700; cursor: pointer; }
.seo-faq summary:hover { color: var(--seo-primary); }
.seo-faq p { margin: 10px 0 0; color: var(--seo-muted); font-size: .92rem; }

/* Drawer */
.seo-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(15,23,42,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.seo-overlay.is-open { opacity: 1; pointer-events: auto; }
.seo-drawer { position: fixed; top: 0; right: 0; z-index: 1110; display: flex; flex-direction: column; width: min(440px, 100%); height: 100%; background: #fff; box-shadow: -12px 0 40px rgba(15,23,42,.18); transform: translateX(100%); transition: transform .22s ease; }
.seo-drawer.is-open { transform: translateX(0); }
.seo-drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px; color: #fff; background: var(--seo-primary); }
.seo-drawer__label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.seo-drawer__title { margin-top: 2px; font-size: 1.35rem; font-weight: 800; }
.seo-drawer__sub { font-size: .9rem; font-weight: 500; opacity: .9; }
.seo-x .seo-close { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; color: #fff; background: rgba(255,255,255,.12); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.seo-drawer__body { flex: 1; padding: 18px 20px; overflow-y: auto; }
.seo-kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; margin: 8px 0 14px; font-size: .9rem; }
.seo-kv__k { color: var(--seo-muted); font-weight: 500; }
.seo-kv__v { font-weight: 600; }
.seo-ai { margin-top: 8px; padding: 14px; border: 1px solid rgba(26,115,232,.22); border-radius: 12px; background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); }
.seo-ai h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; color: var(--seo-primary-dark); font-size: .92rem; }
.seo-ai__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.seo-ai__stat { padding: 10px; border: 1px solid var(--seo-border); border-radius: 8px; background: #fff; }
.seo-ai__l { color: var(--seo-primary); font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.seo-ai__v { margin-top: 2px; font-size: .92rem; font-weight: 750; }
.seo-ai__disc { margin-top: 10px; color: var(--seo-muted); font-size: .72rem; line-height: 1.4; }

@media (max-width: 720px) {
    .seo-kpis { grid-template-columns: repeat(2, 1fr); }
    .seo-hero { padding-top: 112px; }
    .seo-x .seo-filter-reset { margin-left: 0; }
}
