.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: 1fr;
    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;
}

.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);
}

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

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

.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;
}

.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: 44px;
    height: 44px;
    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;
    cursor: help;
}

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

.programs-lower-grid {
    display: grid;
    grid-template-columns: minmax(300px, .7fr) minmax(500px, 1.3fr);
    gap: 22px;
    align-items: start;
    padding: 0 28px 34px;
}
.program-card-copy h3 a { color: inherit; text-decoration: none; }
.program-card-copy h3 a:hover { color: var(--program-color); }
.program-detail-hero {
    display: grid;
    grid-template-columns: minmax(260px, 520px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 6vw, 90px);
    width: min(1320px, calc(100% - 64px));
    margin: 70px auto 30px;
}
.program-detail-hero > img { width: 100%; border-radius: 26px; box-shadow: 0 30px 80px color-mix(in srgb, var(--program-color) 20%, transparent); }
.program-detail-hero h1 { margin: 10px 0 20px; color: #fff; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .95; }
.program-detail-hero > div > p:not(.section-label) { max-width: 680px; color: #afb3c9; line-height: 1.75; }
.program-detail-hosts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.program-detail-hosts span { color: #858ba8; }
.program-detail-hosts a { color: #ff76bd; font-weight: 850; }
.program-detail-actions { display: flex; gap: 10px; margin-top: 30px; }
.program-detail-actions a,
.program-detail-actions button { border: 1px solid var(--program-color); border-radius: 10px; padding: 13px 18px; color: #fff; background: color-mix(in srgb, var(--program-color) 14%, transparent); cursor: pointer; text-decoration: none; font-weight: 850; }
.program-detail-times { width: min(1320px, calc(100% - 64px)); margin: 50px auto 100px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 28px; background: #0d1129; }
.program-detail-times > div:last-child { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 20px; }
.program-detail-times article { border-radius: 11px; padding: 15px; background: rgba(255, 255, 255, .04); }
.program-detail-times article strong,
.program-detail-times article span { display: block; }
.program-detail-times article strong { color: #fff; }
.program-detail-times article span { margin-top: 4px; color: #9aa0bb; }
@media (max-width: 760px) {
    .program-detail-hero { grid-template-columns: 1fr; width: min(100% - 28px, 1320px); margin-top: 35px; }
    .program-detail-hero > img { max-width: 420px; }
    .program-detail-times { width: min(100% - 28px, 1320px); }
}

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

.weekday-panel .schedule-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.weekday-panel .schedule-row-public {
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, .075);
    border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.weekday-panel .schedule-row-public:nth-child(3n) {
    border-right: 0;
}

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

.weekend-panel,
.hosts-panel {
    align-self: stretch;
}

.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;
}

.weekday-panel .schedule-row-public:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.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 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.hosts-panel.is-single-host .host-list {
    grid-template-columns: minmax(0, 1fr);
}

.hosts-panel.is-single-host .host-card {
    grid-template-columns: 92px minmax(0, 1fr);
    justify-items: start;
    align-content: center;
    gap: 20px;
    min-height: 112px;
    border-right: 0;
    padding: 14px 18px;
    text-align: left;
}

.hosts-panel.is-single-host .host-card-copy {
    align-items: flex-start;
}

.hosts-panel.is-single-host .host-card-copy > span {
    max-width: 520px;
}

.hosts-panel.is-single-host .host-socials {
    justify-content: flex-start;
    margin-top: 10px;
}

.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-lower-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@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;
    }

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

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

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

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

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

    .weekday-panel .schedule-list {
        grid-template-columns: 1fr;
    }

    .weekday-panel .schedule-row-public,
    .weekday-panel .schedule-row-public:nth-child(3n),
    .weekday-panel .schedule-row-public:nth-child(n+4),
    .weekday-panel .schedule-row-public:nth-child(-n+3):nth-last-child(-n+3) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .075);
        padding-inline: 0;
    }

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

    .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) {
    .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;
    }

    .hosts-panel.is-single-host .host-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .hosts-panel.is-single-host .host-card-copy {
        align-items: center;
    }

    .hosts-panel.is-single-host .host-socials {
        justify-content: center;
    }

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

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