/* ==========================================================
   PROGRAMS BLOCK – matches New Offerings exactly
   ========================================================== */
.c-programs-block {
    padding: var(--section-pad-y) 0;
    background: var(--color-light);
}

.c-programs-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.c-programs-block__title {
    text-align: left;
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0;
}

.c-programs-block__view-all {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}
.c-programs-block__view-all:hover {
    color: var(--color-primary-hover);
}

/* Grid – identical to .c-new-offerings__grid */
.c-programs-block__grid {
    display: grid;
    gap: 2rem;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, 300px);
}

/* Mobile adjustments */
@media (max-width: 599px) {
    .c-programs-block {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }

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

    .c-programs-block__header {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0;
        margin-bottom: 1.5rem;
    }

    .c-programs-block__title {
        text-align: center;
    }

    h2.c-programs-block__title {
        margin-top: 0 !important;
        margin-bottom: 0.5rem;
    }

    .c-programs-block__view-all {
        margin-top: 0.25rem;
    }
}