html {
    scroll-behavior: smooth;
}

.program-detail-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(56, 176, 157, 0.12), transparent 28%),
        linear-gradient(135deg, #f7fffd 0%, #ffffff 48%, #f2fbf8 100%);
}

.program-detail-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(56, 176, 157, 0.18), transparent 32%),
        linear-gradient(135deg, #ecfffb 0%, #ffffff 55%, #f5fffd 100%);
    overflow: hidden;
    border-bottom: 1px solid rgba(56, 176, 157, 0.08);
}

.program-hero-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.program-hero-grid {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 2.2rem;
    align-items: center;
}

.program-hero-content {
    max-width: 680px;
}

.program-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(56, 176, 157, 0.09);
    pointer-events: none;
}

.program-bg-circle.circle-one {
    width: 300px;
    height: 300px;
    right: -90px;
    top: 30px;
}

.program-bg-circle.circle-two {
    width: 190px;
    height: 190px;
    left: -70px;
    bottom: -70px;
}

.program-kicker,
.program-section-kicker {
    display: inline-block;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: rgba(56, 176, 157, 0.11);
    color: #2b9b8a;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.72rem;
    margin-bottom: 0.85rem;
}

.program-main-title {
    font-family: "Outfit", sans-serif;
    color: #172033;
    font-size: clamp(2.35rem, 4vw, 4.4rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin-bottom: 0.9rem;
}

.program-hero-subtitle {
    color: #697386;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.program-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.program-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(56, 176, 157, 0.12);
    color: #697386;
    border-radius: 999px;
    padding: 0.48rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.program-meta-row strong {
    color: #172033;
    font-weight: 900;
}

.program-hero-poster {
    width: 100%;
    border-radius: 1.2rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(56, 176, 157, 0.12);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
}

.program-hero-poster img {
    width: 100%;
    height: 310px;
    display: block;
    object-fit: cover;
}

.program-detail-container {
    max-width: 1180px;
    padding-top: 2.25rem;
    padding-bottom: 5rem;
}

.program-anchor-nav {
    position: sticky;
    top: 78px;
    z-index: 20;
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(56, 176, 157, 0.12);
    border-radius: 999px;
    padding: 0.55rem;
    max-width: 560px;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}

.program-anchor-nav a {
    color: #697386;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    transition: 0.22s ease;
}

.program-anchor-nav a:hover {
    background: rgba(56, 176, 157, 0.1);
    color: #2b9b8a;
}

.program-main-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(56, 176, 157, 0.12);
    border-radius: 1.35rem;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
    padding: 1.4rem;
    overflow: hidden;
}

.program-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    margin-bottom: 2.3rem;
}

.program-info-card {
    background: rgba(56, 176, 157, 0.04);
    border: 1px solid rgba(56, 176, 157, 0.12);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
}

.program-info-card i {
    color: #38b09d;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.program-info-card span {
    display: block;
    color: #697386;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.program-info-card strong {
    display: block;
    color: #172033;
    font-size: 0.9rem;
    font-weight: 900;
}

.program-section-block {
    scroll-margin-top: 160px;
    padding: 0.5rem 0.5rem 2rem;
}

.program-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.program-section-heading.center {
    justify-content: center;
    text-align: center;
}

.program-section-heading h2 {
    font-family: "Outfit", sans-serif;
    color: #172033;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    margin: 0;
}

.program-section-heading .program-section-kicker {
    margin-bottom: 0.55rem;
}

.program-synopsis {
    max-width: 980px;
    margin: 0 auto;
    color: #334155;
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 500;
    text-align: justify;
    white-space: pre-line;
    background: rgba(56, 176, 157, 0.035);
    border: 1px solid rgba(56, 176, 157, 0.10);
    border-radius: 1.05rem;
    padding: 1.35rem 1.45rem;
}

.program-synopsis.collapsed {
    max-height: 260px;
    overflow: hidden;
    position: relative;
}

.program-synopsis.collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(249, 254, 252, 0), #f9fefc);
}

.program-read-btn {
    border: 0;
    background: #38b09d;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(56, 176, 157, 0.22);
    transition: 0.22s ease;
}

.program-read-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.96);
}

.program-divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.09);
    margin: 1.25rem 0 2.2rem;
}

.program-member-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
}

.production-flex {
    max-width: 920px;
    margin: 0 auto;
}

.players-flex {
    max-width: 1060px;
    margin: 0 auto;
}

.program-member-card {
    position: relative;
    width: 190px;
    min-height: 210px;
    background: #ffffff;
    border: 1px solid rgba(56, 176, 157, 0.12);
    border-radius: 1.05rem;
    padding: 1.15rem 0.95rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
    transition: 0.22s ease;
    overflow: hidden;
}

.production-card {
    width: 220px;
}

.player-card {
    width: 180px;
    min-height: 185px;
}

.program-member-card::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 74px;
    background:
        radial-gradient(circle at top left, rgba(56, 176, 157, 0.14), transparent 36%),
        linear-gradient(135deg, rgba(56, 176, 157, 0.10), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.program-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    border-color: rgba(56, 176, 157, 0.25);
}

.program-member-photo-wrap {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 0.25rem;
    background: rgba(56, 176, 157, 0.12);
}

.program-member-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    border: 3px solid #ffffff;
}

.program-member-info h3 {
    font-family: "Outfit", sans-serif;
    color: #172033;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    margin: 0 0 0.55rem;
}

.program-member-info span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(56, 176, 157, 0.09);
    border: 1px solid rgba(56, 176, 157, 0.12);
    color: #2b9b8a;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.program-empty {
    max-width: 620px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(56, 176, 157, 0.12);
    border-radius: 1.05rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}

.program-empty i {
    color: #38b09d;
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.program-empty p {
    color: #697386;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 991px) {
    .program-detail-hero {
        min-height: auto;
    }

    .program-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .program-hero-content {
        max-width: 100%;
    }

    .program-meta-row {
        justify-content: center;
    }

    .program-hero-poster {
        max-width: 680px;
        margin: 0 auto;
    }

    .program-hero-poster img {
        height: 340px;
    }

    .program-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .program-main-card {
        padding: 1rem;
    }

    .program-synopsis {
        padding: 1.1rem;
        font-size: 0.95rem;
        text-align: left;
    }

    .production-card {
        width: 200px;
    }

    .player-card {
        width: 170px;
    }
}

@media (max-width: 575px) {
    .program-hero-container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .program-main-title {
        letter-spacing: -0.035em;
    }

    .program-meta-row {
        gap: 0.5rem;
    }

    .program-meta-row span {
        width: 100%;
        justify-content: center;
        border-radius: 0.85rem;
    }

    .program-hero-poster img {
        height: 240px;
    }

    .program-detail-container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .program-anchor-nav {
        top: 70px;
        border-radius: 1rem;
    }

    .program-info-grid {
        grid-template-columns: 1fr;
    }

    .program-member-card,
    .production-card,
    .player-card {
        width: calc(50% - 0.5rem);
        min-height: 190px;
        padding: 1rem 0.75rem;
    }

    .program-member-photo-wrap {
        width: 82px;
        height: 82px;
    }

    .program-member-info h3 {
        font-size: 0.82rem;
    }
}