.home-page {
    background-color: #11131a;
    background-image:
        linear-gradient(180deg, rgb(255 255 255 / 93%) 0, rgb(244 246 251 / 95%) 38rem, rgb(244 246 251 / 97%) 100%),
        linear-gradient(90deg, rgb(229 27 43 / 9%) 0 1px, transparent 1px),
        linear-gradient(0deg, rgb(0 91 187 / 9%) 0 1px, transparent 1px),
        url("/images/herobanner.png");
    background-position: center top, center top, center top, center top;
    background-size: auto, 64px 64px, 64px 64px, max(1440px, 100vw) auto;
    background-repeat: repeat, repeat, repeat, no-repeat;
    background-attachment: fixed, fixed, fixed, fixed;
}

.home-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgb(244 246 251 / 26%), rgb(244 246 251 / 92%)),
        url("/images/herobanner.png") center top / max(1440px, 100vw) auto no-repeat;
    filter: blur(20px) saturate(0.82);
    transform: scale(1.04);
    opacity: 0.3;
    pointer-events: none;
}

/* Swiper */

.home-swiper {
    --hero-overlay-side: rgba(11, 13, 20, 0.2);
    --hero-overlay-end: rgba(11, 13, 20, 0.04);
    --hero-overlay-bottom: rgba(11, 13, 20, 0.18);
    position: relative;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--color-line);
    background: #11131a;
}

.home-swiper .swiper-container {
    position: relative;
    width: 100%;
}

.home-swiper .swiper-wrapper {
    display: grid;
}

.home-swiper .swiper-slide {
    position: relative;
    display: none;
    min-height: 360px;
    color: #fff;
    text-decoration: none;
}

.home-swiper .swiper-slide.is-active {
    display: block;
}

.home-swiper picture,
.home-swiper img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-swiper img {
    aspect-ratio: 1200 / 430;
    object-fit: cover;
}

/* Left-to-right + bottom-up overlay so text stays readable, ported from the
   Show Details hero (.show-hero__overlay): fading to a soft --hero-overlay-end wash
   instead of fully transparent avoids the hard, patchy-looking seam a plain
   dark-to-transparent gradient leaves on the bright side of the image. */
.home-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, var(--hero-overlay-side) 0%, var(--hero-overlay-end) 78%),
        linear-gradient(to top, var(--hero-overlay-bottom) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.home-swiper .text {
    position: absolute;
    left: max(28px, calc((100vw - 1160px) / 2));
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    max-width: 520px;
    gap: 14px;
    z-index: 2;
    /* Remove frosted card */
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
}

.home-swiper .text b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgb(255 255 255 / 75%);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-shadow: 0 1px 4px rgb(0 0 0 / 40%);
}

.home-swiper .text b::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-red);
    flex-shrink: 0;
}

.home-swiper .text strong {
    display: block;
    color: #fff;
    font-size: clamp(1.7rem, 3.8vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-shadow: 0 1px 3px rgb(0 0 0 / 75%), 0 4px 16px rgb(0 0 0 / 55%);
}

.home-swiper .text p {
    margin: 0;
    color: rgb(255 255 255 / 85%);
    font-size: 0.97rem;
    line-height: 1.58;
    max-width: 400px;
    text-shadow: 0 1px 3px rgb(0 0 0 / 70%), 0 2px 8px rgb(0 0 0 / 50%);
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 50%);
    border-radius: 50%;
    background: rgb(255 255 255 / 88%);
    /* backdrop-filter: blur(12px); */
    box-shadow: 0 8px 28px rgb(17 19 26 / 28%);
    transform: translateY(-50%);
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    cursor: pointer;
}

.swiper-button-prev:hover,
.swiper-button-next:hover,
.swiper-button-prev:focus-visible,
.swiper-button-next:focus-visible {
    background: #fff;
    border-color: rgb(255 255 255 / 80%);
    box-shadow: 0 12px 40px rgb(17 19 26 / 36%);
    transform: translateY(-50%) scale(1.06);
}

.swiper-button-prev {
    left: 18px;
}

.swiper-button-next {
    right: 18px;
}

.swiper-button-prev::before,
.swiper-button-next::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2.5px solid var(--color-red);
    border-right: 2.5px solid var(--color-red);
}

.swiper-button-next::before {
    transform: translateX(-2px) rotate(45deg);
}

.swiper-button-prev::before {
    transform: translateX(2px) rotate(225deg);
}

/* Hero-specific: reduce button opacity so they don't obscure the left-side text */
.home-swiper .swiper-button-prev,
.home-swiper .swiper-button-next {
    background: rgb(255 255 255 / 50%);
    border-color: rgb(255 255 255 / 28%);
}

.home-swiper .swiper-button-prev:hover,
.home-swiper .swiper-button-next:hover,
.home-swiper .swiper-button-prev:focus-visible,
.home-swiper .swiper-button-next:focus-visible {
    background: rgb(255 255 255 / 86%);
    border-color: rgb(255 255 255 / 60%);
}

.swiper-pagination {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 2;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.swiper-pagination button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 50%);
    padding: 0;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.swiper-pagination button[aria-current="true"] {
    background: #fff;
    transform: scale(1.2);
}

/* Hero */

.hero {
    display: grid;
    min-height: min(calc(92svh - 72px), 640px);
    align-content: end;
    gap: 36px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgb(255 255 255 / 72%), rgb(244 246 251 / 88%)),
        linear-gradient(116deg, transparent 0 53%, rgb(229 27 43 / 8%) 53% 56%, transparent 56%),
        repeating-linear-gradient(90deg, rgb(21 23 31 / 3.5%) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(0deg, rgb(21 23 31 / 2.5%) 0 1px, transparent 1px 72px);
    backdrop-filter: blur(8px);
    padding: 72px 0 30px;
}

.hero.page-hero::before {
    inset: 28px auto auto 0;
}

.hero__content {
    position: relative;
    display: grid;
    gap: 20px;
    margin: 0rem 1rem 0rem 1rem;
}

.hero__content::before {
    content: "ON AIR";
    width: max-content;
    border: 1px solid rgb(229 27 43 / 24%);
    border-radius: 999px;
    background: rgb(255 255 255 / 76%);
    color: var(--color-red);
    padding: 4px 12px;
    font-size: 0.71rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Featured Rail */

.hero__rail {
    display: grid;
    gap: 14px;
    margin: 0rem 1rem 0rem 1rem;
}

.swimlane__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    color: var(--color-muted);
    font-weight: 800;
    font-size: 0.92rem;
}

.swimlane__header strong {
    color: var(--color-ink);
    font-size: 1rem;
}

.swimlane__actions {
    display: flex;
    gap: 8px;
}

.swimlane__actions .swiper-button-prev,
.swimlane__actions .swiper-button-next {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
    transform: none;
    width: 38px;
    height: 38px;
    cursor: pointer;
}

.swimlane__actions .swiper-button-prev:hover,
.swimlane__actions .swiper-button-next:hover,
.swimlane__actions .swiper-button-prev:focus-visible,
.swimlane__actions .swiper-button-next:focus-visible {
    transform: scale(1.08);
}

.swimlane__actions .swiper-button-prev:disabled,
.swimlane__actions .swiper-button-next:disabled {
    transform: none;
    opacity: 0.3;
}

.swimlane {
    display: grid;
    grid-auto-columns: minmax(260px, 32%);
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 2px 16px;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.swimlane::-webkit-scrollbar {
    display: none;
}

.swimlane.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.swimlane.is-dragging .rail-card {
    pointer-events: none;
}

/* Rail Card */

.rail-card {
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 6px;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: #fff;
    color: var(--color-ink);
    padding: 0 0 14px;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
    text-decoration: none;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.rail-card:hover,
.rail-card:focus-visible {
    border-color: var(--color-red);
    box-shadow: 0 12px 40px rgb(229 27 43 / 12%);
    transform: translateY(-3px);
}

.rail-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--color-soft);
    transition: transform 0.4s ease;
}

.rail-card:hover img,
.rail-card:focus-visible img {
    transform: scale(1.04);
}

.rail-card span,
.rail-card small,
.rail-card strong {
    margin-inline: 14px;
}

.rail-card span {
    color: var(--color-blue);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 6px;
}

.rail-card small {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.rail-card strong {
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

/* Livestream + News Split */

.livestream-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: start;
}

.livestream-split__player {
    display: grid;
    gap: 0;
}

#livestream-slot {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    background: #000;
}

.livestream-split__player iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
    border-radius: var(--radius-lg);
    background: #000;
}

.livestream-split__player .video-playlist__title {
    margin-top: 14px;
    border-top-color: var(--color-line);
    color: var(--color-ink);
}

.livestream-split__news {
    display: grid;
    gap: 0;
}

.livestream-split__news .news-stack {
    position: relative;
    max-height: 420px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--color-line) transparent;
    padding-right: 4px;
}

.livestream-split__news .news-stack::-webkit-scrollbar {
    width: 4px;
}

.livestream-split__news .news-stack::-webkit-scrollbar-track {
    background: transparent;
}

.livestream-split__news .news-stack::-webkit-scrollbar-thumb {
    background: var(--color-line);
    border-radius: 999px;
}

/* Compact news items (used in the livestream side column) */

.news-stack {
    display: grid;
    gap: 0;
}

.news-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
    text-decoration: none;
    color: var(--color-ink);
    transition: opacity var(--transition);
}

.news-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.news-item:hover,
.news-item:focus-visible {
    opacity: 0.78;
    outline: none;
}

.news-item__thumb {
    flex-shrink: 0;
    width: 84px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--color-soft);
}

.news-item__body {
    display: grid;
    gap: 4px;
    align-content: start;
    min-width: 0;
}

.news-item__cat {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-blue);
}

.news-item__title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.news-item__summary {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Carousel Nav (hidden on desktop, revealed on mobile) */

.carousel-nav {
    display: none;
    align-items: center;
    gap: 8px;
}

.carousel-nav .swiper-button-prev,
.carousel-nav .swiper-button-next {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
    transform: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.carousel-nav .swiper-button-prev:hover,
.carousel-nav .swiper-button-next:hover,
.carousel-nav .swiper-button-prev:focus-visible,
.carousel-nav .swiper-button-next:focus-visible {
    transform: scale(1.08);
}

.carousel-nav .swiper-button-prev:disabled,
.carousel-nav .swiper-button-next:disabled {
    transform: none;
    opacity: 0.3;
}

/* Video playlist carousel bar (visible only on mobile, between player and items) */

.video-playlist__carousel-bar {
    display: none;
}

/* Responsive */

@media (max-width: 860px) {
    .livestream-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 900px) {
    /* Remove tall hero on tablet — no more blank gap above content */
    .hero {
        min-height: auto;
        align-content: start;
        padding: 48px 0 28px;
    }

    /* Featured Shows: convert grid to horizontal carousel */
    .show-grid[data-shows-carousel] {
        grid-template-columns: none;
        grid-auto-columns: minmax(240px, 76%);
        grid-auto-flow: column;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
        padding-bottom: 12px;
        mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    }

    .show-grid[data-shows-carousel]::-webkit-scrollbar {
        display: none;
    }

    .show-grid[data-shows-carousel] .show-card {
        scroll-snap-align: start;
    }

    /* Show carousel nav buttons */
    .carousel-nav {
        display: flex;
    }

    /* Video playlist: show carousel bar above the horizontal item list */
    .video-playlist__carousel-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 0 2px;
        border-top: 1px solid var(--color-line);
    }

    .video-playlist__carousel-bar span {
        font-size: 0.82rem;
        font-weight: 800;
        color: var(--color-muted);
        text-transform: uppercase;
        letter-spacing: 0.07em;
    }

    /* Add snap to video playlist items */
    .video-playlist__side[data-videos-carousel] {
        scroll-snap-type: inline mandatory;
    }

    .video-playlist__side[data-videos-carousel] .video-playlist__item {
        scroll-snap-align: start;
    }
}

@media (max-width: 760px) {
    .home-page {
        background-image:
            linear-gradient(180deg, rgb(255 255 255 / 94%) 0, rgb(244 246 251 / 96%) 34rem, rgb(244 246 251 / 98%) 100%),
            linear-gradient(90deg, rgb(229 27 43 / 8%) 0 1px, transparent 1px),
            linear-gradient(0deg, rgb(0 91 187 / 8%) 0 1px, transparent 1px),
            url("/images/herobanner.png");
        background-size: auto, 56px 56px, 56px 56px, 100vw auto;
        background-attachment: scroll;
    }

    .home-page::before {
        background:
            linear-gradient(180deg, rgb(244 246 251 / 30%), rgb(244 246 251 / 94%)),
            url("/images/herobanner.png") center top / 100vw auto no-repeat;
        opacity: 0.22;
    }

    .home-swiper .swiper-slide {
        min-height: auto;
    }

    .home-swiper img {
        aspect-ratio: 1;
    }

    /* Mobile: text moves to the bottom, so lean on the vertical layer instead
       of the horizontal one — same shared overlay gradient, just re-tuned vars. */
    .home-swiper {
        --hero-overlay-side: rgba(11, 13, 20, 0.1);
        --hero-overlay-end: rgba(11, 13, 20, 0.03);
        --hero-overlay-bottom: rgba(11, 13, 20, 0.28);
    }

    .home-swiper .text {
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 28px;
        transform: none;
        max-width: none;
        gap: 8px;
    }

    .home-swiper .text strong {
        font-size: 1.3rem;
    }

    .home-swiper .text p {
        display: none;
    }

    .home-swiper .swiper-button-prev,
    .home-swiper .swiper-button-next {
        display: grid;
        width: 34px;
        height: 34px;
        background: rgb(255 255 255 / 82%);
        border-color: rgb(255 255 255 / 62%);
        box-shadow: 0 8px 24px rgb(17 19 26 / 26%);
    }

    .home-swiper .swiper-button-prev {
        left: 12px;
    }

    .home-swiper .swiper-button-next {
        right: 12px;
    }

    .swimlane__actions .swiper-button-prev,
    .swimlane__actions .swiper-button-next {
        display: grid;
        width: 34px;
        height: 34px;
    }

    .hero {
        min-height: auto;
        gap: 26px;
        padding: 40px 0 26px;
    }

    .hero__actions .button {
        width: 100%;
        justify-content: center;
    }

    .swimlane__header {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 6px 10px;
    }

    .swimlane__actions {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .swimlane {
        grid-auto-columns: minmax(236px, 86%);
        gap: 12px;
        cursor: default;
        touch-action: pan-x pan-y;
    }

    .rail-card {
        box-shadow: 0 6px 22px rgb(21 23 31 / 9%);
    }
}

/* ── Dark Mode ── */

html.dark .home-page {
    background-color: #0d0f18;
    background-image:
        linear-gradient(180deg, rgb(13 15 24 / 82%) 0, rgb(13 15 24 / 90%) 38rem, rgb(13 15 24 / 94%) 100%),
        linear-gradient(90deg, rgb(229 27 43 / 10%) 0 1px, transparent 1px),
        linear-gradient(0deg, rgb(0 91 187 / 10%) 0 1px, transparent 1px),
        url("/images/herobanner.png");
}

html.dark .home-page::before {
    background:
        linear-gradient(180deg, rgb(13 15 24 / 68%), rgb(13 15 24 / 92%)),
        url("/images/herobanner.png") center top / max(1440px, 100vw) auto no-repeat;
    opacity: 0.35;
    filter: blur(20px) saturate(0.55);
}

html.dark .hero {
    background:
        linear-gradient(180deg, rgb(17 19 26 / 72%), rgb(17 19 26 / 88%)),
        linear-gradient(116deg, transparent 0 53%, rgb(229 27 43 / 8%) 53% 56%, transparent 56%),
        repeating-linear-gradient(90deg, rgb(229 27 43 / 4%) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(0deg, rgb(0 91 187 / 4%) 0 1px, transparent 1px 72px);
}

html.dark .swiper-button-prev:hover,
html.dark .swiper-button-next:hover,
html.dark .swiper-button-prev:focus-visible,
html.dark .swiper-button-next:focus-visible { background: var(--color-surface); }

@media (max-width: 620px) {
    /* Prevent site.css 1-column override from collapsing the carousel */
    .show-grid[data-shows-carousel] {
        grid-template-columns: none;
        grid-auto-columns: minmax(200px, 84%);
    }
}

@media (max-width: 420px) {
    .swimlane {
        grid-auto-columns: minmax(218px, 88%);
    }

    .rail-card strong {
        font-size: 1.05rem;
    }

    .show-grid[data-shows-carousel] {
        grid-auto-columns: minmax(180px, 88%);
    }
}

/* Latest Stories column: match the (now taller) player column instead of a fixed
   height, showing as many stories as fit, and tighter item spacing. */

@media (min-width: 861px) {
    .livestream-split {
        align-items: stretch;
    }

    .livestream-split__news {
        height: 0;
        min-height: 100%;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .livestream-split__news .news-stack {
        max-height: none;
        min-height: 0;
    }
}

.livestream-split__news .news-item {
    padding: 9px 0;
    gap: 12px;
}

.livestream-split__news .news-item:last-child {
    padding-bottom: 9px;
}

.livestream-split__news .news-item__thumb {
    width: 76px;
    height: 54px;
}

.livestream-split__news .news-item__body {
    gap: 2px;
}

.livestream-split__news .news-item__title {
    -webkit-line-clamp: 2;
}

.livestream-split__news .news-item__summary {
    -webkit-line-clamp: 1;
}

/* On-air strip under the livestream: one rounded container holding horizontally
   scrolling cards (live now / up next / later...), a "Full schedule" link pinned to the
   right end of the track, and the prev/next buttons. Touch devices swipe natively. */

.on-air {
    display: flex;
    align-items: stretch;
    margin-top: 14px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: var(--color-surface);
}

.on-air__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Tell the browser up front that this element pans horizontally, instead of
       leaving it to disambiguate a touch-drag against the page's own vertical scroll —
       without this a swipe that isn't perfectly horizontal from the first pixel can be
       claimed by the page instead of this (short, easy-to-graze) strip. */
    touch-action: pan-x;
}

.on-air__track::-webkit-scrollbar {
    display: none;
}

/* Card: a real thumbnail image on the left (with the round "5" bug, like the trailer
   card elsewhere on the site) and label/title/time stacked to its right. */
.on-air__card {
    flex: 0 0 auto;
    width: 260px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border-right: 1px solid var(--color-line);
    scroll-snap-align: start;
}

.on-air__thumb {
    position: relative;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-soft);
}

.on-air__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.on-air__thumb-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--color-red);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 900;
}

.on-air__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.on-air__label {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.on-air__card.is-now .on-air__label {
    color: var(--color-red);
}

.on-air__title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-ink);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.on-air__time {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-muted);
    font-variant-numeric: tabular-nums;
}

/* Last card: link to the full schedule, reached by scrolling to the end of the row. */
.on-air__more-item {
    flex: 0 0 auto;
    width: 170px;
    display: flex;
    scroll-snap-align: start;
}

.on-air__more {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-red);
    text-decoration: none;
}

.on-air__more:hover,
.on-air__more:focus-visible {
    background: var(--color-soft);
    outline: none;
}

.on-air__nav {
    flex: 0 0 auto;
    width: 38px;
    border: 0;
    background: var(--color-surface);
    color: var(--color-ink);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.on-air__nav--prev {
    border-right: 1px solid var(--color-line);
}

.on-air__nav--next {
    border-left: 1px solid var(--color-line);
}

.on-air__nav:hover:not(:disabled),
.on-air__nav:focus-visible {
    color: var(--color-red);
    outline: none;
}

.on-air__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 860px) {
    .on-air__nav {
        display: none;
    }

    .on-air__card {
        width: 200px;
    }
}
