main {
    padding-bottom: 0;
}

/* ── All programs ──────────────────────────────── */
/* Two rows that scroll sideways once there are more than six programs */
.programs-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: calc((100% - 2 * 1.3rem) / 3);
    gap: 1.3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.4rem 0.3rem 1.6rem;
    margin: -0.4rem -0.3rem -1.6rem;
}

.programs-track::-webkit-scrollbar {
    display: none;
}

.program-card {
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #f1e6cc;
    box-shadow: 0 14px 30px rgb(120 86 20 / 9%);
    transition: translate 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
    translate: 0 -4px;
    box-shadow: 0 20px 38px rgb(120 86 20 / 14%);
}

.program-media {
    position: relative;
}

.program-media img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.program-icon {
    position: absolute;
    left: 1.3rem;
    bottom: -26px;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid #fff;
    background: linear-gradient(135deg, #f6ce71 0%, #e2ad38 100%);
    color: #1f2430;
    font-size: 1.25rem;
    box-shadow: 0 10px 18px rgb(223 170 60 / 32%);
}

.program-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2.1rem 1.4rem 1.3rem;
}

.program-body h3 {
    margin: 0;
    color: #14161c;
    font-size: 1.1rem;
}

.program-body h4 {
    margin: 0.2rem 0 0;
    color: #2f3540;
    font-size: 0.93rem;
    font-weight: 500;
}

.program-body p {
    margin: 0.8rem 0 0;
    color: #6a717c;
    font-size: 0.88rem;
    line-height: 1.65;
}

.program-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.1rem;
}

.level-tag {
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    background: #fbf3e2;
    color: #2f3540;
    font-size: 0.74rem;
    font-weight: 600;
}

.program-link {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #f6ce71 0%, #e2ad38 100%);
    color: #1f2430;
    text-decoration: none;
    box-shadow: 0 6px 14px rgb(223 170 60 / 30%);
    transition: transform 0.2s ease;
}

.program-link:hover {
    transform: translateX(3px);
}

/* ── What to expect ────────────────────────────── */
.expect-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: clamp(1.4rem, 2.4vw, 2rem);
}

.expect-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    align-items: start;
    padding: 1.4rem 1.5rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #f3ebda;
    box-shadow: 0 12px 28px rgb(120 86 20 / 7%);
    transition: translate 0.25s ease, box-shadow 0.25s ease;
}

.expect-item:hover {
    translate: 0 -3px;
    box-shadow: 0 18px 34px rgb(120 86 20 / 12%);
}

.expect-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 30%, #fff8e8, #fbe5b3);
    color: #c8901f;
    font-size: 1.4rem;
}

.expect-item h4 {
    margin: 0.2rem 0 0.4rem;
    color: #14161c;
    font-size: 1rem;
}

.expect-item p {
    margin: 0;
    color: #6a717c;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1080px) {
    .programs-track {
        grid-auto-columns: calc((100% - 1.3rem) / 2);
    }
}

@media (max-width: 768px) {
    .programs-track {
        grid-template-rows: auto;
        grid-auto-columns: 86%;
    }

    .expect-grid {
        grid-template-columns: 1fr;
    }
}
