.programs-page {
    --program-panel: rgba(11, 15, 34, .82);
    --program-panel-strong: rgba(14, 18, 39, .94);
    --program-line: rgba(162, 172, 219, .17);
}

.programs-main {
    width: min(1760px, calc(100% - 72px));
    padding-top: 34px;
}

.programs-main > section {
    width: min(1540px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.programs-hero {
    display: grid;
    grid-template-columns: minmax(540px, 570px) minmax(720px, 980px);
    align-items: center;
    justify-content: space-between;
    gap: clamp(30px, 3vw, 50px);
    min-height: 350px;
    padding: 0 28px 30px;
}

.programs-intro {
    padding-left: clamp(0px, 2vw, 30px);
}

.programs-kicker,
.section-label {
    margin: 0 0 10px;
    color: var(--pink);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.programs-intro h1 {
    margin: 0 0 18px;
    font-size: clamp(3.15rem, 3.25vw, 3.65rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.programs-intro h1 span {
    display: inline;
    color: var(--pink);
    background: linear-gradient(100deg, #ff5bac, #ea2396 55%, #be3de8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.programs-intro > p:not(.programs-kicker):not(.status) {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.2vw, 1.24rem);
    line-height: 1.55;
}

.programs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.programs-primary,
.programs-secondary {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 7px;
    padding: 0 30px;
    color: #fff;
    font-weight: 900;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.programs-primary {
    border: 1px solid rgba(255, 112, 184, .45);
    background: linear-gradient(135deg, #ff409f, #d823a6 60%, #a933df);
    box-shadow: 0 14px 34px rgba(242, 42, 145, .22);
    cursor: pointer;
}

.programs-primary:hover,
.programs-primary:focus-visible {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.programs-primary .play-triangle {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 11px;
}

.programs-secondary {
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(9, 13, 30, .76);
}

.programs-secondary:hover,
.programs-secondary:focus-visible {
    border-color: rgba(255, 63, 168, .7);
    color: #ff83c2;
}

.featured-show,
.program-card,
.schedule-panel,
.hosts-panel {
    border: 1px solid var(--program-line);
    background:
        radial-gradient(circle at 12% 10%, rgba(47, 97, 208, .09), transparent 24rem),
        linear-gradient(145deg, rgba(17, 21, 44, .94), rgba(8, 11, 27, .82));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .025);
    backdrop-filter: blur(18px);
}

.featured-show {
    width: 100%;
    max-width: 980px;
    min-width: 0;
    justify-self: end;
    border-radius: 12px;
    padding: 18px 22px 22px;
}

.featured-show > .section-label {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.featured-show-grid {
    display: grid;
    grid-template-columns: 220px minmax(290px, 1fr) minmax(225px, 245px);
    gap: 20px;
    align-items: center;
}

.featured-show-grid > img {
    width: 100%;
    aspect-ratio: 1;
    display: block;
    border: 1px solid rgba(158, 174, 237, .34);
    border-radius: 9px;
    object-fit: cover;
    box-shadow: 0 0 32px rgba(49, 123, 255, .12);
}

.featured-show-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2px 0;
}

.on-air-badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    border-radius: 5px;
    padding: 0 11px;
    color: #fff;
    background: linear-gradient(90deg, #f62b91, #c925aa);
    box-shadow: 0 0 18px rgba(246, 43, 145, .28);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.on-air-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px #fff;
}

.on-air-badge.is-next {
    color: #caedff;
    background: rgba(43, 121, 196, .26);
    box-shadow: none;
}

.featured-show-copy .program-genre {
    margin-top: 15px;
}

.featured-show-copy h2 {
    margin: 2px 0 4px;
    font-size: clamp(1.65rem, 2vw, 2.3rem);
    line-height: 1.05;
}

.program-genre,
.program-host,
.program-time {
    color: #ff63b2;
}

.program-genre {
    margin: 0;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.featured-show-copy .program-host {
    margin: 0 0 12px;
    font-size: .82rem;
    font-weight: 800;
}

.featured-show-copy > p:not(.program-genre):not(.program-host):not(.program-time) {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 13px;
    color: #b9bdcf;
    font-size: .84rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.program-time {
    margin: 0;
    font-size: .8rem;
    font-weight: 800;
}

.programs-primary.compact {
    min-height: 44px;
    margin-top: 16px;
    padding: 0 21px;
    font-size: .78rem;
}

.up-next-card {
    min-width: 0;
    align-self: center;
    border-left: 1px solid rgba(255, 255, 255, .11);
    padding: 8px 0 8px 20px;
}

.up-next-card .section-label {
    color: #a9adbf;
}

.up-next-content {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    padding: 10px;
    background: rgba(255, 255, 255, .018);
}

.up-next-content img {
    width: 92px;
    height: 112px;
    border-radius: 7px;
    object-fit: cover;
}

.up-next-content time,
.up-next-content h3,
.up-next-content p,
.up-next-content span {
    display: block;
}

.up-next-content time {
    color: #aeb3c5;
    font-size: .68rem;
}

.up-next-content h3 {
    margin: 9px 0 3px;
    font-size: .98rem;
}

.up-next-content p {
    margin: 0 0 10px;
    color: #ff58aa;
    font-size: .7rem;
    font-weight: 800;
}

.up-next-content span {
    color: #9ea3b7;
    font-size: .68rem;
    line-height: 1.35;
}

.featured-empty {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 220px;
}

.featured-empty img {
    width: 180px;
    height: 180px;
    border-radius: 10px;
    object-fit: cover;
}

.featured-empty h2,
.featured-empty p {
    margin: 0 0 8px;
}

.featured-empty p,
.schedule-empty {
    color: #979daf;
    line-height: 1.5;
}

.programs-section {
    padding: 0 22px 30px;
}

.programs-section-head {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.programs-section-head > div {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.programs-section-head .section-label {
    margin: 0;
}

.programs-section-head h2 {
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.programs-section-head > span {
    color: #ff54aa;
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.program-carousel {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 14px;
}

.program-cards {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 1px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.program-cards::-webkit-scrollbar {
    display: none;
}

.program-carousel-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    padding: 0 0 4px;
    color: #fff;
    background: rgba(24, 29, 52, .94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .38);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.program-carousel-button:hover,
.program-carousel-button:focus-visible {
    border-color: rgba(255, 63, 168, .65);
    color: var(--pink);
    outline: 0;
}

.program-card {
    flex: 0 0 clamp(360px, 27vw, 455px);
    min-height: 214px;
    display: grid;
    grid-template-columns: 45% minmax(0, 1fr);
    overflow: hidden;
    border-radius: 9px;
    scroll-snap-align: start;
}

.program-card-art {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.program-card-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 68%, rgba(13, 17, 36, .8));
}

.program-card-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.program-card-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 17px 17px 17px 14px;
}

.program-card-copy .program-genre,
.program-card-copy .program-host,
.program-card-copy .program-time {
    color: var(--program-color);
}

.program-card-copy h3 {
    margin: 4px 0 3px;
    font-size: 1.12rem;
    line-height: 1.12;
}

.program-card-copy .program-host {
    margin: 0 0 9px;
    font-size: .7rem;
    font-weight: 800;
}

.program-card-copy > p:not(.program-genre):not(.program-host) {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    color: #aeb3c4;
    font-size: .74rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.program-card-copy .program-time {
    margin-top: auto;
    font-size: .69rem;
}

.programs-lower-grid {
    display: grid;
    grid-template-columns: minmax(300px, .82fr) minmax(300px, .78fr) minmax(620px, 1.7fr);
    gap: 22px;
    padding: 0 28px 34px;
}

.schedule-panel,
.hosts-panel {
    min-width: 0;
    border-radius: 9px;
    padding: 16px;
}

.programs-section-head.compact {
    min-height: 42px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: 0 2px 12px;
}

.programs-section-head.compact > div {
    display: block;
}

.programs-section-head.compact .section-label {
    margin-bottom: 4px;
    font-size: .65rem;
}

.schedule-list,
.weekend-list {
    display: grid;
}

.schedule-row-public {
    min-height: 60px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.schedule-row-public:last-child {
    border-bottom: 0;
}

.schedule-row-icon {
    position: relative;
    width: 29px;
    height: 29px;
    border-radius: 7px;
    color: var(--program-color);
    background: color-mix(in srgb, var(--program-color) 13%, transparent);
}

.schedule-row-icon::before {
    content: "♪";
    position: absolute;
    left: 50%;
    top: 50%;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    transform: translate(-50%, -53%);
}

.schedule-row-public strong,
.schedule-row-public small {
    display: block;
}

.schedule-row-public strong {
    font-size: .78rem;
}

.schedule-row-public small {
    margin-top: 2px;
    color: #888fa5;
    font-size: .64rem;
}

.schedule-row-public time {
    color: #aeb3c6;
    font-size: .66rem;
    white-space: nowrap;
}

.weekend-row {
    min-height: 82px;
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    padding: 8px 0;
}

.weekend-row:last-child {
    border-bottom: 0;
}

.weekend-row img {
    width: 98px;
    height: 65px;
    border-radius: 7px;
    object-fit: cover;
}

.weekend-row strong,
.weekend-row small,
.weekend-row time {
    display: block;
}

.weekend-row strong {
    font-size: .78rem;
}

.weekend-row small {
    margin: 3px 0 7px;
    color: #ff62b1;
    font-size: .65rem;
}

.weekend-row time {
    color: #989fb3;
    font-size: .63rem;
}

.host-list {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hosts-panel {
    display: flex;
    flex-direction: column;
}

.host-card {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: center;
    gap: 15px;
    min-height: 230px;
    border-right: 1px solid rgba(255, 255, 255, .075);
    padding: 22px 18px;
    text-align: center;
}

.host-card:last-child {
    border-right: 0;
}

.host-card > img,
.host-avatar {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border: 2px solid #f63ba4;
    border-radius: 50%;
    object-fit: cover;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .24), transparent 20%),
        linear-gradient(145deg, #6d35db, #e12492);
    box-shadow: 0 0 18px rgba(242, 42, 145, .25);
    font-size: 1.5rem;
    font-weight: 950;
}

.host-card h3 {
    margin: 0;
    font-size: .78rem;
}

.host-card-copy {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.host-card p {
    margin: 3px 0 8px;
    overflow: hidden;
    color: #ff5aad;
    font-size: .61rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.host-card-copy > span {
    display: -webkit-box;
    overflow: hidden;
    color: #9fa5b8;
    font-size: .62rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-width: 165px;
}

.host-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    justify-content: center;
}

.host-socials a,
.host-socials .is-unset {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    color: #e6e8f2;
    background: rgba(255, 255, 255, .035);
}

.host-socials a:hover,
.host-socials a:focus-visible {
    border-color: rgba(255, 63, 168, .6);
    color: var(--pink);
    outline: 0;
}

.host-socials .is-unset {
    color: #666d83;
    cursor: help;
}

.host-socials svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.programs-page .site-footer {
    margin-top: 0;
}

@media (max-width: 1480px) {
    .programs-hero {
        grid-template-columns: minmax(340px, .65fr) minmax(680px, 1.35fr);
        gap: 32px;
    }

    .featured-show-grid {
        grid-template-columns: 210px minmax(260px, 1fr);
    }

    .up-next-card {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255, 255, 255, .09);
        border-left: 0;
        padding: 14px 0 0;
    }

    .up-next-content {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .up-next-content img {
        width: 72px;
        height: 72px;
    }

    .programs-lower-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hosts-panel {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1481px) {
    .programs-intro h1 {
        white-space: nowrap;
    }
}

@media (max-width: 1100px) {
    .programs-main {
        width: min(100% - 36px, 1760px);
    }

    .programs-hero {
        grid-template-columns: 1fr;
        padding-inline: 0;
    }

    .programs-intro {
        max-width: 760px;
        padding: 36px 6px 10px;
    }

    .programs-section,
    .programs-lower-grid {
        padding-inline: 0;
    }

}

@media (max-width: 760px) {
    .programs-main {
        width: min(100% - 24px, 1760px);
        padding-top: 10px;
    }

    .programs-intro h1 {
        font-size: clamp(2.75rem, 14vw, 4rem);
    }

    .programs-actions > * {
        flex: 1 1 210px;
    }

    .featured-show-grid {
        grid-template-columns: 1fr;
    }

    .featured-show-grid > img {
        max-height: 330px;
    }

    .up-next-card {
        grid-column: auto;
    }

    .program-card {
        flex-basis: min(88vw, 420px);
    }

    .program-carousel-button {
        width: 34px;
        height: 34px;
        font-size: 1.65rem;
    }

    .program-carousel {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 8px;
    }

    .programs-lower-grid {
        grid-template-columns: 1fr;
    }

    .hosts-panel {
        grid-column: auto;
    }

    .host-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .host-card:nth-child(2) {
        border-right: 0;
    }

    .host-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .075);
    }
}

@media (max-width: 480px) {
    .featured-show {
        padding: 15px;
    }

    .program-card {
        grid-template-columns: 42% minmax(0, 1fr);
    }

    .program-card-copy {
        padding: 13px 12px 13px 9px;
    }

    .host-list {
        grid-template-columns: 1fr;
    }

    .host-card,
    .host-card:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .075);
    }

    .host-card:last-child {
        border-bottom: 0;
    }

    .programs-section-head > div {
        display: block;
    }

    .programs-section-head .section-label {
        margin-bottom: 4px;
    }
}
