h4 {
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
}


body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, lightyellow 0%, rgb(252, 200, 104) 30%, rgb(248, 195, 175) 40%, rgb(255, 127, 57) 100%);
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;
    font-family: "Inter", Arial, sans-serif;
}

.holder {
    color: white;              /* text is readable on the dark box */
    width: 900px;              /* wider box so the video has room */
    max-width: 100%;            /* shrinks on small screens */
    height: auto;
    margin: 0 auto;            /* centers the box on the page */
    padding: 20px;
    box-sizing: border-box;
}

iframe {
    display: block;
    width: 60%;                /* narrower than the paragraph */
    max-width:100%;
    height: auto;             /* taller */
    margin: 0 auto;            /* centers the video */
    aspect-ratio: 16 / 9;     /* height follows the width */
    border:0;
}
.share p {
    text-align: center;
}

.Story {
    width: calc(60% + 5px);   /* video width + 25px */
    margin: 20px auto 0;       /* centers it under the video */
}
.Story p {
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 900px) {
    iframe {
        width: 80%;
    }
    .Story {
        width: 100%;
    }
}

@media (max-width: 600px) {
    iframe {
        width: 100%;
    }
    h4 {
        font-size: 1.4rem;    /* 2rem is too large for a phone */
    }
    .holder {
        padding: 12px;
    }
}
/*.............Programs............*/
.programs {
    margin: clamp(10px, 2vw, 20px);
    padding: 5px;
    border: 1px solid navy;
    border-radius: 10px;
}

/* The scrolling row */
.programs .program-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 5px 12px;
    min-width: 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Each card: fixed width, never shrinks */
.programs .program-nav > div {
    flex: 0 0 clamp(160px, 65vw, 220px);
    display: flex;
    flex-direction: column;
    border: 1px solid #36454F;
    border-radius: 5px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: 0.3s;
}

/* Center the row when it fits, scroll when it doesn't */
.programs .program-nav > div:first-child { margin-left: auto; }
.programs .program-nav > div:last-child  { margin-right: auto; }

.programs .program-nav > div:hover {
    border-color: rgb(244, 201, 59);
    box-shadow: 0 10px 20px #1E293B;
}

.programs .program-text {
    display: flex;
    justify-content: center;
    padding: 4px 8px;
    text-align: center;
    border-bottom: 1px solid black;
    text-decoration: none;
}
.programs .program-text h4 {
    margin: 4px 0;
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    overflow-wrap: anywhere;
    color:black;
    text-decoration: none;
}

.programs .program-text a{
    text-decoration: none;
}

.programs .program-banner {
    width: 100%;
    aspect-ratio: 20 / 13;
}

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

.programs .program-time {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding: 4px 8px;
    border-top: 1px solid black;
}

.programs .program-time p {
    margin: 4px 0;
    font-size: clamp(0.85rem, 2vw, 1rem);
}