/* nav-fix v1 2026-11-09 — Home/All Episodes bar, FAA/external new-tab marks, chat/footer spacing */

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Slim top bar on episode, preview, and trailer pages */
.nav-homebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #151515;
    color: #fff;
    font-family: system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.nav-homebar a {
    color: #fff;
    text-decoration: none;
    padding: 0.35rem 0.55rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 0.25rem;
}
.nav-homebar a:hover,
.nav-homebar a:focus {
    text-decoration: underline;
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}
.nav-homebar a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.nav-homebar-sep {
    opacity: 0.45;
    font-weight: 400;
    user-select: none;
}

/* Keep the video/button column from being clipped now that the bar is present */
.nav-fix-page > .container.vh-100,
.nav-fix-page > .container.min-vh-100 {
    min-height: 0;
    height: auto;
}

/* Phone: top-align the episode stack and leave a clear well under the last button
   so the fixed RumbleTalk bubble (100px, bottom: 5px) does not cover Archives. */
@media (max-width: 991.98px) {
    .nav-fix-page > .container.min-vh-100,
    .nav-fix-page > .container.vh-100 {
        align-items: flex-start !important;
        padding-bottom: 0.5rem;
    }
    .button-container {
        padding-bottom: 7rem;
    }
}

/* Preview / trailer: sit the full-bleed video (or placeholder) below the bar */
body.nav-fix-preview {
    margin: 0;
    background-color: #000;
}
body.nav-fix-preview .preview-stage {
    position: absolute;
    left: 0;
    right: 0;
    top: 2.7rem;
    bottom: 0;
    height: auto;
    width: 100%;
    box-sizing: border-box;
}
body.nav-fix-preview .preview-stage iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAASafety / faa.gov links: small external-arrow, E-Z WINGS v25 style */
a.faa-ext::after {
    content: "";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-left: 0.35em;
    flex: 0 0 auto;
    background-color: currentColor;
    opacity: 0.62;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%202.25H2.75A1.25%201.25%200%200%200%201.5%203.5v5.75A1.25%201.25%200%200%200%202.75%2010.5h5.75A1.25%201.25%200%200%200%209.75%209.25V7%27%2F%3E%3Cpath%20d%3D%27M6.75%201.5H10.5V5.25M10.5%201.5%205.5%206.5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%202.25H2.75A1.25%201.25%200%200%200%201.5%203.5v5.75A1.25%201.25%200%200%200%202.75%2010.5h5.75A1.25%201.25%200%200%200%209.75%209.25V7%27%2F%3E%3Cpath%20d%3D%27M6.75%201.5H10.5V5.25M10.5%201.5%205.5%206.5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    pointer-events: none;
    vertical-align: 0.05em;
}
.faa-ext-note {
    color: #333;
    font-family: system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.35;
    margin: 0.65rem 0 0.35rem;
    padding: 0;
}
.faa-ext-note::before {
    content: "";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-right: 0.3em;
    vertical-align: -0.05em;
    background-color: currentColor;
    opacity: 0.85;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%202.25H2.75A1.25%201.25%200%200%200%201.5%203.5v5.75A1.25%201.25%200%200%200%202.75%2010.5h5.75A1.25%201.25%200%200%200%209.75%209.25V7%27%2F%3E%3Cpath%20d%3D%27M6.75%201.5H10.5V5.25M10.5%201.5%205.5%206.5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%202.25H2.75A1.25%201.25%200%200%200%201.5%203.5v5.75A1.25%201.25%200%200%200%202.75%2010.5h5.75A1.25%201.25%200%200%200%209.75%209.25V7%27%2F%3E%3Cpath%20d%3D%27M6.75%201.5H10.5V5.25M10.5%201.5%205.5%206.5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

/* Homepage: show logo is a home link; more room above the fixed producer bar on phones */
a.nav-logo-home {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}
a.nav-logo-home:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
/* On phones, don't pin the producer bar over Add to Calendar / episode CTAs. */
@media (max-width: 991.98px) {
    body.nav-fix-home {
        padding-bottom: 0 !important;
    }
    body.nav-fix-home .bottom-bar {
        position: static !important;
    }
}

/* Modal footer Close — keep the existing header X too */
.modal-footer .btn-nav-close {
    min-width: 7rem;
}
