/* ============================================================================
 |  EXTERNAL-LINKS BAND  —  episode/partials/hero-links-band.blade.php
 |
 |  The default since 2026-08-02 (owner). Pulls the Recaps/Resources/Listen/Learn
 |  pills OUT of the hero overlay into their own full-width dark "footer" band
 |  between the hero and the sticky jump bar. Below lg the band becomes a single
 |  horizontal-scroll strip instead of wrapping — exactly the jump bar's
 |  (.md-secnav) trick — so on mobile the pills no longer wrap into a wall that
 |  eats half the hero.
 |
 |  Episode-page-only, so it's its own sheet (loaded from episode/show.blade.php
 |  when the band renders) rather than living in massive-dynamic.css, which 17
 |  views share — this keeps it off every other page and costs no ?v= churn.
 |  `?links=overlay` opts back out to the pills-on-the-hero layout and does NOT
 |  load this sheet.
 |
 |  GROUND: deliberately a touch DARKER than the jump bar (#223040), with NO accent
 |  top-rule — that rule is the jump bar's signature. Stacked, the two read
 |  hero-footer -> the jump bar's accent seam -> jump bar, not as two identical
 |  nav bars.
 |
 |  Everything is scoped under `.md-skin` so it out-specifies the overlay's own
 |  `.md-skin .fr-hero-links__grp` rules — the band reuses those group-label
 |  elements, and the overlay's white/text-shadow styling (tuned for a photo)
 |  would otherwise bleed through onto the solid band.
 * ==========================================================================*/

.md-skin .fr-linkbar {
    display: block;
    position: relative;
    padding: .6rem 0;
    background: #1a2634;
    /* the colour the mobile scroll strip's right-edge fade resolves to */
    --fr-linkbar-fade: #1a2634;
}
.md-skin .fr-linkbar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
}
.md-skin .fr-linkbar__label {
    font-size: .64rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-right: .1rem;
    color: #8fb7dd;
}

/* the Recaps/Resources/Listen/Learn group labels (shared _hero-links-items). A
   small accent dot before each (including the first — "More" precedes it), the
   same motif that separates the overlay groups and the jump-bar label. */
.md-skin .fr-linkbar .fr-hero-links__grp {
    font-size: .64rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-shadow: none;
    margin-left: .55rem;
    color: rgba(255, 255, 255, .62);
}
.md-skin .fr-linkbar .fr-hero-links__grp::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 3px;
    height: 3px;
    margin-right: .55rem;
    border-radius: 50%;
    background: var(--md-accent-lit);
    box-shadow: none;
}

.md-skin .fr-linkbar .fr-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    line-height: 1;
    white-space: nowrap;
    padding: .38rem .75rem;
    border-radius: 999px;
    text-decoration: none;
    color: #dbe7f3;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .06);
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.md-skin .fr-linkbar .fr-pill:hover {
    color: #12202f;
    background: #fff;
    border-color: #fff;
}

/* ---- Below lg: one swipeable row instead of wrapping (mirrors .md-secnav) -- */
@media (max-width: 991.98px) {
    .md-skin .fr-linkbar__inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }
    .md-skin .fr-linkbar__inner::-webkit-scrollbar { display: none; }
    .md-skin .fr-linkbar__label,
    .md-skin .fr-linkbar .fr-hero-links__grp,
    .md-skin .fr-linkbar .fr-pill { flex: 0 0 auto; white-space: nowrap; }
    /* right-edge fade hinting the row scrolls */
    .md-skin .fr-linkbar::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 2.5rem;
        background: linear-gradient(90deg, transparent, var(--fr-linkbar-fade) 70%);
        pointer-events: none;
    }
}
