.programming-page { background: #f4f7fb; }
.programming-page .main-nav a.is-current { color: var(--orange); }

.programming-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
   /* min-height: 650px; */
    padding: 72px 0 104px;
    color: var(--white);
    background-color: #0648ae;
    background-image:
        linear-gradient(rgba(4, 65, 170, .88), rgba(4, 65, 170, .88)),
        url("../png/pontos.png");
    background-repeat: no-repeat, repeat;
    background-position: center, left top;
    background-size: 100% 100%, auto;
}

.programming-hero::after {
    content: none;
}

.programming-hero-noise {
    display: none;
}

.programming-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
    align-items: center;
    gap: clamp(48px, 8vw, 110px);
}

.programming-live-stack {
    display: grid;
    min-width: 0;
    gap: 14px;
}

.programming-kicker {
    margin: 0 0 12px;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
}

.programming-intro h1 {
    margin: 0;
    max-width: 680px;
    color: var(--white);
    font-size: clamp(38px, 3.8vw, 52px);
    font-weight: 600;
    line-height: 1.06;
    text-transform: uppercase;
}

.programming-intro h1 span {
    display: block;
    color: var(--yellow);
    font-size: .72em;
}

.programming-lead {
    max-width: 560px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.programming-on-air {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 30px 28px;
    border-left: 4px solid var(--yellow);
    background: rgba(2, 27, 67, .46);
    box-shadow: 0 28px 70px rgba(1, 16, 47, .32);
    backdrop-filter: blur(8px);
}

.programming-on-air-main {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
}

.programming-on-air-art {
    display: grid;
    place-items: center;
    width: 136px;
    height: 108px;
    padding: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(1, 20, 53, .34);
}

.programming-on-air-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.programming-on-air-art img.is-station-art { transform: none; }

.programming-on-air-copy { min-width: 0; }

.programming-on-air-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #ff6977;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.program-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
}

.is-audio-playing .program-live-dot { animation: live-pulse 1.2s ease-out infinite; }

.programming-on-air-copy > strong {
    display: block;
    color: var(--white);
    font-size: clamp(23px, 2.4vw, 30px);
    font-weight: 600;
    line-height: 1.14;
    text-transform: uppercase;
}

.programming-on-air-copy > span {
    display: block;
    min-height: 42px;
    margin-top: 7px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.programming-lineup {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
    color: var(--white);
    background: rgba(2, 27, 67, .42);
    box-shadow: 0 18px 46px rgba(1, 16, 47, .2);
}

.programming-lineup-item {
    position: relative;
    min-width: 0;
    min-height: 96px;
    padding: 15px 16px 14px;
    border-left: 1px solid rgba(255, 255, 255, .1);
}

.programming-lineup-item:first-child { border-left: 0; }

.programming-lineup-item.is-current {
    background: rgba(255, 255, 255, .07);
}

.programming-lineup-item.is-current::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--yellow);
}

.programming-lineup-item > span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.programming-lineup-item.is-current > span { color: var(--yellow); }

.programming-lineup-item > span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}

.programming-lineup-item time {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
    font-weight: 500;
}

.programming-lineup-item strong {
    display: -webkit-box;
    margin-top: 4px;
    overflow: hidden;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.programming-on-air .program-progress {
    margin-top: 19px;
    padding: 15px 0 17px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.programming-on-air .program-progress-times,
.programming-on-air .program-progress-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 10px;
    line-height: 1.3;
}

.programming-on-air .program-progress-times {
    color: rgba(255, 255, 255, .72);
    font-weight: 600;
}

.programming-on-air .program-progress-track {
    position: relative;
    height: 8px;
    margin: 28px 0 9px;
    border-radius: 999px;
    background-color: rgba(236, 240, 246, .18);
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, .18) 0,
        rgba(255, 255, 255, .18) 7px,
        rgba(194, 204, 218, .08) 7px,
        rgba(194, 204, 218, .08) 14px
    );
    background-size: 20px 20px;
    animation: program-progress-flow 1.25s linear infinite;
}

.programming-on-air .program-progress-track [data-progress-bar] {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    box-shadow: 0 0 16px rgba(255, 196, 0, .38);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .8s linear;
}

.programming-on-air .program-progress-marker {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: clamp(8px, var(--program-progress, 0%), calc(100% - 8px));
    width: 16px;
    height: 16px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .24);
    transform: translate(-50%, -50%);
    transition: left .8s linear;
}

.programming-on-air .program-progress-marker [data-progress-percent] {
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    min-width: 34px;
    padding: 3px 6px;
    border-radius: 999px;
    color: var(--blue-deep);
    background: var(--yellow);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    transform: translateX(-50%);
}

@keyframes program-progress-flow {
    to { background-position: 20px 0; }
}

.programming-on-air .program-progress-details {
    color: rgba(255, 255, 255, .56);
    font-weight: 500;
}

.programming-player-controls {
    display: grid;
    grid-template-columns: 62px 1fr 66px;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.programming-play {
    display: grid;
    place-items: center;
    width: 62px;
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    color: var(--blue-deep);
    background: var(--yellow);
    box-shadow: 0 14px 30px rgba(255, 196, 0, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.programming-play:hover,
.programming-play:focus-visible {
    transform: scale(1.06);
    box-shadow: 0 18px 36px rgba(255, 196, 0, .4);
}

.programming-play .play-mark {
    margin-left: 5px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 16px;
}

.programming-play .pause-mark::before,
.programming-play .pause-mark::after { width: 6px; height: 23px; }
.programming-player-controls small,
.programming-player-controls b { display: block; }

.programming-player-controls small {
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.programming-player-controls b {
    margin-top: 2px;
    color: var(--yellow);
    font-size: 21px;
    font-weight: 600;
}

.programming-player-controls .audio-spectrum { color: #b57bff; }
.is-audio-playing .programming-player-controls .audio-spectrum span { animation: spectrum 780ms ease-in-out infinite; }

.programming-frequency {
    position: absolute;
    left: 50%;
    bottom: 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(var(--content-width), calc(100% - 48px));
    color: rgba(255, 255, 255, .42);
    font-size: 10px;
    font-weight: 600;
    transform: translateX(-50%);
}

.programming-frequency::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    z-index: -1;
    height: 1px;
    background: rgba(255, 255, 255, .22);
}

.programming-frequency span,
.programming-frequency strong { padding: 4px 8px; background: #06458f; }
.programming-frequency strong { color: var(--yellow); font-size: 14px; }
.programming-frequency i { width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); }

.programming-list-section { position: relative; padding: 82px 0 104px; }

.programming-list-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 34px;
    margin-bottom: 34px;
}

.programming-list-head .programming-kicker { color: var(--orange); }
.programming-list-head h2 {
    margin: 0;
    color: var(--blue-deep);
    font-size: clamp(28px, 2.7vw, 36px);
    font-weight: 600;
    line-height: 1.12;
    text-transform: uppercase;
}

.schedule-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #d9e1ed;
    border-radius: 7px;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(3, 47, 104, .07);
}

.schedule-tabs button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 4px;
    color: #526078;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.schedule-tabs button[aria-selected="true"] { color: var(--blue-deep); background: var(--yellow); }
.schedule-content-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr); gap: 30px; align-items: start; }
.schedule-panel { display: grid; gap: 14px; }
.schedule-panel[hidden] { display: none; }
.programming-sidebar-reserve { min-height: 720px; }

.program-card {
    --program-accent: var(--orange);
    position: relative;
    display: grid;
    grid-template-columns: 118px 230px minmax(0, 1fr) 84px;
    align-items: stretch;
    min-height: 156px;
    overflow: hidden;
    border-left: 5px solid var(--program-accent);
    border-radius: 7px;
    background: var(--white);
    box-shadow: 0 14px 35px rgba(4, 36, 80, .08);
    opacity: 0;
    transform: translateY(16px);
    animation: program-enter .48s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: calc(var(--program-index) * 55ms);
    transition: transform .22s ease, box-shadow .22s ease;
}

.program-card:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(4, 36, 80, .14); }
.program-card.is-live { border-left-color: var(--red); box-shadow: 0 20px 52px rgba(3, 47, 104, .16); }

.program-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    background: #edf3f9;
}

.program-time time { color: var(--blue); font-size: 22px; font-weight: 600; line-height: 1.1; }
.program-time span { margin-top: 7px; color: #6c7788; font-size: 11px; font-weight: 500; text-transform: uppercase; }

.program-art {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 22px;
    background-color: #0648ae;
    background-image:
        linear-gradient(rgba(4, 65, 170, .88), rgba(4, 65, 170, .88)),
        url("../png/pontos.png");
    background-repeat: no-repeat, repeat;
    background-position: center, left top;
    background-size: 100% 100%, auto;
}

.program-art::before {
    content: none;
}

.program-art::after {
    content: none;
}

.program-art img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 190px;
    max-height: 108px;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .25));
}

.program-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 26px 32px;
}

.program-days { color: var(--program-accent); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.program-info h3 { margin: 5px 0 8px; color: var(--blue-deep); font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; line-height: 1.18; }
.program-info p { margin: 0; color: #697489; font-size: 14px; line-height: 1.45; }
.program-info strong { color: #263651; font-weight: 600; }

.program-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-left: 1px solid #e6ebf2;
    color: #8390a2;
}

.program-status span { width: 9px; height: 9px; border-radius: 50%; background: #bac4d1; }
.program-status b { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.program-card.is-live .program-status { color: var(--red); background: #fff6f7; }
.program-card.is-live .program-status span { background: var(--red); animation: live-pulse 1.2s ease-out infinite; }

.theme-sunrise,
.theme-amber { --program-accent: #f39a24; }
.theme-yellow,
.theme-weekend,
.theme-super { --program-accent: #e9b900; }
.theme-news { --program-accent: #ff6633; }
.theme-sports,
.theme-city { --program-accent: #0092fa; }
.theme-country { --program-accent: #cb6a48; }
.theme-night { --program-accent: #9b51e0; }
.theme-station { --program-accent: #ff275f; }
.programming-cta { position: relative; overflow: hidden; padding: 66px 0; color: var(--blue-deep); background: var(--yellow); }
.programming-cta::after { content: ""; position: absolute; inset: 0; opacity: .22; background-image: url("../png/pontos.png"); pointer-events: none; }

.programming-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.programming-cta .programming-kicker { color: var(--orange); }
.programming-cta h2 { margin: 0; max-width: 710px; font-size: clamp(27px, 2.8vw, 36px); font-weight: 600; line-height: 1.12; text-transform: uppercase; }

.programming-cta-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 58px;
    padding: 0 24px;
    border: 0;
    border-radius: 5px;
    color: var(--white);
    background: var(--blue-deep);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.programming-cta-play .play-mark { margin-left: 0; border-top-width: 7px; border-bottom-width: 7px; border-left-width: 11px; }
.programming-cta-play .pause-mark::before,
.programming-cta-play .pause-mark::after { width: 5px; height: 18px; }

@keyframes program-enter { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
    .programming-hero { min-height: auto; padding: 70px 0 105px; }
    .programming-hero-grid { grid-template-columns: 1fr; gap: 38px; }
    .programming-live-stack { width: min(100%, 560px); }
    .programming-list-head { display: grid; align-items: start; }
    .schedule-tabs { justify-self: start; }
    .schedule-content-grid { grid-template-columns: 1fr; }
    .sidebar-gallery { position: static; width: min(100%, 560px); }
    .program-card { grid-template-columns: 100px 190px minmax(0, 1fr); }
    .program-status { position: absolute; top: 12px; right: 12px; flex-direction: row; padding: 7px 9px; border: 0; border-radius: 4px; background: #f1f4f8; }
    .program-info { padding-right: 78px; }
}

@media (max-width: 680px) {
    .programming-hero { padding-top: 54px; }
    .programming-intro { margin-inline: auto; text-align: center; }
    .programming-intro h1 { font-size: 34px; }
    .programming-lead { margin-inline: auto; font-size: 15px; }
    .programming-on-air { padding: 24px 20px 22px; }
    .programming-on-air-main { grid-template-columns: 106px minmax(0, 1fr); gap: 14px; }
    .programming-on-air-art { width: 106px; height: 92px; padding: 8px; }
    .programming-lineup { grid-template-columns: 1fr; }
    .programming-lineup-item { min-height: 0; padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, .1); border-left: 0; }
    .programming-lineup-item:first-child { border-top: 0; }
    .programming-lineup-item time { margin-top: 5px; }
    .programming-frequency { width: calc(100% - 28px); }
    .programming-list-section { padding: 62px 0 78px; }
    .programming-list-head { justify-items: center; text-align: center; }
    .schedule-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
    .schedule-tabs button { min-width: 0; padding-inline: 7px; white-space: normal; }
    .program-card { grid-template-columns: 82px minmax(0, 1fr); min-height: 0; }
    .program-time { grid-row: 1 / span 2; }
    .program-time time { font-size: 20px; }
    .program-time span { max-width: 56px; text-align: center; }
    .program-art { min-height: 126px; padding: 18px 24px; }
    .program-art img { max-width: 230px; max-height: 92px; }
    .program-info { padding: 22px 20px 24px; }
    .program-info h3 { padding-right: 0; font-size: 19px; }
    .program-info p { font-size: 13px; }
    .program-status { display: none; }
    .program-card.is-live .program-status { display: flex; top: 14px; right: 14px; bottom: auto; }
    .programming-cta-inner { display: grid; text-align: center; }
    .programming-cta h2 { margin-inline: auto; }
    .programming-cta-play { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
    .program-card { opacity: 1; transform: none; animation: none; }
    .programming-on-air .program-progress-track { animation: none; }
    .programming-on-air .program-progress-track [data-progress-bar],
    .programming-on-air .program-progress-marker { transition: none; }
}
