/* One navigation for the whole site, derived from the departure lounge. */
body.sky-site {
    --site-accent: #6bdbf5;
    --site-text: #eaf4fc;
    --site-muted: #a4bacb;
    --site-line: #30424f;
    --site-surface: #0e2032;
    --site-width: 1280px;
    --site-gutter: 28px;

    & .sky-site-header {
        position: relative; z-index: 100; display: flex; align-items: center;
        width: 100%; max-width: var(--site-width); min-height: 84px;
        margin: 0 auto; padding: 18px var(--site-gutter); gap: 24px;
        border: 0; border-bottom: 1px solid var(--site-line); border-radius: 0;
        background: transparent; box-shadow: none;
    }
    & .sky-site-header__brand {
        display: inline-flex; align-items: center; gap: 10px; flex: none;
        width: auto; padding: 0; color: var(--site-text);
    }
    & .sky-site-header__brand span { display: inline; width: auto; font-size: 24px; }
    & .sky-site-header__logo { width: 42px; height: 42px; flex: none; }
    & .sky-site-header__nav {
        display: flex; flex: 1; align-items: center; justify-content: center;
        flex-wrap: nowrap; gap: 6px; width: auto; min-width: 0;
        margin: 0; padding: 0; overflow: visible;
    }
    & .sky-site-header__nav > a, & .sky-site-header__more > summary {
        display: inline-flex; align-items: center; justify-content: center; gap: 7px;
        width: auto; min-height: 44px; padding: 8px 10px;
        color: var(--site-muted); background: none; border: 0; border-radius: 0;
        font: 600 14px 'Barlow Condensed', sans-serif;
        letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
        text-decoration: none; cursor: pointer;
    }
    & .sky-site-header__nav > a:hover, & .sky-site-header__more > summary:hover { color: var(--site-text); }
    & .sky-site-header__nav > a.is-active, & .sky-site-header__more.is-active > summary {
        color: var(--site-accent); box-shadow: inset 0 -2px var(--site-accent);
    }
    & .sky-site-header__actions { display: flex; flex: none; align-items: center; gap: 8px; width: auto; min-width: 0; margin: 0; }
    & .sky-site-header__account {
        display: flex; align-items: center; gap: 9px; min-height: 44px; max-width: 200px;
        color: var(--site-muted); font: 500 13px 'Barlow', sans-serif; text-decoration: none;
    }
    & .sky-site-header__account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    & .sky-site-header__account:hover { color: var(--site-accent); }
    & .sky-site-header__cta { display: inline-flex; min-height: 44px; padding: 0 14px; font-size: 14px; }
    & .sky-site-header__cta--register { color: #061c2c; background: var(--site-accent); }
    & .sky-site-header__cta--register:hover { background: #98eaff; }
    & .sky-site-header__cta--login:hover { color: var(--site-accent); border-color: var(--site-accent); background: none; }
    & .sky-site-header__more { position: relative; }
    & .sky-site-header__more summary { list-style: none; }
    & .sky-site-header__more summary::-webkit-details-marker { display: none; }
    & .sky-site-header__more summary > i { display: inline-block; font-size: 10px; }
    & .sky-site-header__more[open] summary > i { transform: rotate(180deg); }
    & .sky-site-header__dropdown {
        position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
        width: 242px; max-height: calc(100dvh - 160px); overflow-y: auto;
        padding: 8px; background: #102438; border: 1px solid #38516a;
        border-radius: 8px; box-shadow: 0 16px 32px #0007;
    }
    & .sky-site-header__dropdown a {
        display: flex; justify-content: flex-start; min-height: 44px; padding: 10px 12px;
        color: var(--site-muted); background: none; border: 0; border-radius: 4px;
        font: 500 14px 'Barlow', sans-serif; letter-spacing: 0; text-transform: none;
    }
    & .sky-site-header__dropdown a:is(:hover, :focus-visible, .is-active) { color: var(--site-accent); background: #1a354b; }
    & .sky-site-header__group-label { display: block; padding: 12px 12px 5px; color: #8cabc2; font: 600 10px 'Barlow', sans-serif; letter-spacing: 1px; text-transform: uppercase; }
    & .sky-site-header__group-label--account { margin-top: 8px; border-top: 1px solid var(--site-line); }
    & .sky-site-header__alert-count { flex: none; color: #fff; background: #ae3645; font: 700 11px 'Barlow', sans-serif; }
    & :is(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid var(--site-accent); outline-offset: 3px; }
    & .sky-site-header__dropdown a:focus-visible { outline-offset: -2px; }
    & .sky-site-footer {
        display: grid; grid-template-columns: auto 1fr; gap: 16px 36px;
        width: min(calc(var(--site-width) - 2 * var(--site-gutter)), calc(100% - 2 * var(--site-gutter)));
        margin: 40px auto 0; padding: 24px 0; background: none; border-radius: 0;
        border-top: 1px solid var(--site-line); color: var(--site-muted);
    }
    & .sky-site-footer__brand { grid-row: 1 / 3; }
    & .sky-site-footer__links, & .sky-site-footer__legal { gap: 0 20px; justify-content: flex-end; }
    & .sky-site-footer a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 500; }
    & .sky-site-footer__disclaimer { max-width: none; color: #92a9bd; font-size: 11px; }
}
@media (max-width: 1050px) {
    body.sky-site {
        & .sky-site-header { flex-wrap: wrap; gap: 8px 16px; }
        & .sky-site-header__nav { order: 3; flex-basis: 100%; justify-content: space-between; }
        & .sky-site-header__actions { margin-left: auto; }
    }
}
@media (max-width: 760px) {
    body.sky-site {
        --site-gutter: 16px;
        & .sky-site-header { padding: 12px var(--site-gutter) 0; gap: 4px 8px; }
        & .sky-site-header__brand { margin-right: auto; gap: 6px; }
        & .sky-site-header__brand span { font-size: 22px; }
        & .sky-site-header__logo { width: 34px; height: 34px; }
        & .sky-site-header__nav { gap: 2px; }
        & .sky-site-header__nav > a, & .sky-site-header__more > summary { padding-inline: 4px; font-size: 12px; letter-spacing: 0; }
        & .sky-site-header__account { max-width: 126px; font-size: 12px; }
        & .sky-site-header__cta { padding-inline: 9px; font-size: 12px; }
        & .sky-site-header__dropdown { width: 224px; top: 100%; }
        & .sky-site-footer { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
        & .sky-site-footer__brand { grid-row: auto; }
        & .sky-site-footer__links, & .sky-site-footer__legal { justify-content: flex-start; gap: 0 16px; }
    }
}
