/* Spider local nav — the apple.com/apple-news bar, measured (2026-10-15), in Montserrat:
   52 px tall, sticky at the top, translucent light background with blur, no border;
   title 21/24 px semibold; links 12/22 px, 24 px apart, the current page solid and the
   others at 80 %; the button 12 px semibold, 3 px 10 px inside a 1 px transparent border,
   fully rounded, in Spider red (lighter on hover, darker when pressed).
   Used by the home page (under the header from the start, like Apple) and the inner pages. */

.lnav {
    position: sticky;
    top: 0;
    z-index: 70;
    height: 52px;
    background: rgb(248 249 250 / .8);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    font-family: Montserrat, Arial, sans-serif;
}

.lnav-in {
    display: flex;
    align-items: center;
    width: min(75rem, 100% - 48px);
    height: 52px;
    margin: 0 auto;
}

.lnav-title {
    color: #212529;
    font-size: 21px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: .011em;
    text-decoration: none;
    white-space: nowrap;
}

.lnav-menu {
    display: flex;
    align-items: center;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.lnav-menu li {
    margin-left: 24px;
}

.lnav-link {
    color: #212529;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: -.01em;
    text-decoration: none;
    white-space: nowrap;
    opacity: .8;
    transition: opacity .24s cubic-bezier(.28, .11, .32, 1);
}

a.lnav-link:hover {
    opacity: 1;
}

.lnav-link.current {
    opacity: 1;
    cursor: default;
}

.lnav-btn {
    display: inline-block;
    margin: -1px 0 0 24px;
    padding: 3px 10px;
    border: 1px solid transparent;
    border-radius: 980px;
    background: #ED1C29;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: -.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s cubic-bezier(.28, .11, .32, 1);
}

.lnav-btn:hover {
    background: #F91D2B;
}

.lnav-btn:active {
    background: #E61B28;
}

/* Home and Features: the bar waits off screen and slides in once the hero film / poster has
   scrolled away (motion.js, features.js toggle .is-on); scrolling back puts it away again. */
.lnav.lnav-after {
    position: fixed;
    inset: 0 0 auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .4s cubic-bezier(.28, .11, .32, 1), opacity .3s cubic-bezier(.28, .11, .32, 1), visibility 0s linear .4s;
}

.lnav.lnav-after.is-on {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform .4s cubic-bezier(.28, .11, .32, 1), opacity .3s cubic-bezier(.28, .11, .32, 1), visibility 0s;
}

/* Nothing on the page rides over the bar: the home showcase button carried z-index 9999. */
#showcase > button {
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .lnav.lnav-after,
    .lnav.lnav-after.is-on {
        transition: none;
    }
}

.lnav a:focus-visible {
    outline: 2px solid #ED1C29;
    outline-offset: 3px;
    border-radius: 4px;
}

@media (max-width: 734px) {
    .lnav,
    .lnav-in {
        height: 48px;
    }

    .lnav-in {
        width: calc(100% - 32px);
    }

    .lnav-title {
        font-size: 19px;
    }

    .lnav-menu li {
        margin-left: 20px;
    }

    .lnav-menu li.lnav-more {
        display: none;
    }

    .lnav-btn {
        margin-left: 20px;
    }
}
