/* =====================================================
   PROGRAMMES PAGE
===================================================== */


/* =====================================================
   Hero
===================================================== */

.programs-hero {
    width: 100%;
    padding: 140px 40px 120px;
    box-sizing: border-box;
    background: var(--color-white);
}

.programs-hero__container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

.programs-hero__eyebrow,
.section-header__eyebrow,
.program-finder__eyebrow,
.learning__eyebrow,
.program-community__eyebrow,
.programs-cta__eyebrow {
    margin: 0 0 20px;

    color: var(--pink-500);
    font-family: var(--font-family-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.programs-hero__title {
    max-width: 900px;
    margin: 0;

    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.programs-hero__title span {
    display: block;
    color: var(--pink-500);
}

.programs-hero__description {
    max-width: 650px;
    margin: 36px 0 0;

    color: var(--grey-700);
    font-family: var(--font-family-primary);
    font-size: 18px;
    line-height: 1.6;
}


/* =====================================================
   Programme Overview
===================================================== */

.programs {
    width: 100%;
    padding: 120px 40px;
    box-sizing: border-box;
    background: var(--grey-50);
}

.programs__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;

    margin-bottom: 60px;
}

.section-header__title {
    max-width: 650px;
    margin: 0;

    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-header__description {
    width: 320px;
    flex-shrink: 0;
    margin: 0;

    color: var(--grey-700);
    font-family: var(--font-family-primary);
    font-size: 16px;
    line-height: 1.6;
}


/* =====================================================
   Programme Cards
===================================================== */

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.program-card {
    overflow: hidden;

    border-radius: 24px;
    background: var(--color-white);

    display: flex;
    flex-direction: column;
}

.program-card--featured {
    grid-row: span 2;
}

.program-card__image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.program-card--featured .program-card__image {
    height: 420px;
}

.program-card__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.program-card:hover .program-card__image img {
    transform: scale(1.03);
}

.program-card__content {
    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.program-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 20px;
}

.program-card__meta span {
    padding: 7px 11px;

    border-radius: 100px;
    background: var(--grey-100);

    color: var(--grey-700);
    font-family: var(--font-family-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.program-card__title {
    margin: 0;

    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
}

.program-card__description {
    max-width: 580px;
    margin: 16px 0 28px;

    color: var(--grey-700);
    font-family: var(--font-family-primary);
    font-size: 16px;
    line-height: 1.6;
}

.program-card__link {
    margin-top: auto;

    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.program-card__link:hover {
    color: var(--pink-500);
    gap: 14px;
}


/* =====================================================
   Programme Finder
===================================================== */

.program-finder {
    width: 100%;
    padding: 140px 40px;
    box-sizing: border-box;

    background: var(--color-white);
}

.program-finder__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.program-finder__title {
    max-width: 500px;
    margin: 0;

    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.program-finder__description {
    max-width: 450px;
    margin: 28px 0 0;

    color: var(--grey-700);
    font-family: var(--font-family-primary);
    font-size: 16px;
    line-height: 1.6;
}

.program-finder__list {
    border-top: 1px solid var(--grey-200);
}

.finder-item {
    padding: 28px 0;

    border-bottom: 1px solid var(--grey-200);

    display: grid;
    grid-template-columns: 50px 1fr 30px;
    align-items: center;
    gap: 20px;

    color: inherit;
    text-decoration: none;

    transition: padding 0.3s ease;
}

.finder-item:hover {
    padding-left: 12px;
}

.finder-item__number {
    color: var(--pink-500);
    font-family: var(--font-family-primary);
    font-size: 13px;
    font-weight: 700;
}

.finder-item__content h3 {
    margin: 0;

    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.finder-item__content p {
    max-width: 550px;
    margin: 8px 0 0;

    color: var(--grey-600);
    font-family: var(--font-family-primary);
    font-size: 14px;
    line-height: 1.5;
}

.finder-item__arrow {
    color: var(--grey-950);
    font-size: 22px;

    transition: transform 0.3s ease;
}

.finder-item:hover .finder-item__arrow {
    transform: translateX(5px);
}


/* =====================================================
   Learning
===================================================== */

.learning {
    width: 100%;
    padding: 140px 40px;
    box-sizing: border-box;

    background: var(--grey-950);
}

.learning__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.learning__eyebrow {
    color: #ff9bc8;
}

.learning__header {
    max-width: 700px;
    margin-bottom: 70px;
}

.learning__title {
    margin: 0;

    color: var(--color-white);
    font-family: var(--font-family-primary);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.learning__description {
    max-width: 550px;
    margin: 24px 0 0;

    color: var(--grey-300);
    font-family: var(--font-family-primary);
    font-size: 17px;
    line-height: 1.6;
}

.learning__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.learning-card {
    min-height: 250px;
    padding: 28px 24px;

    border-right: 1px solid rgba(255, 255, 255, 0.2);

    display: flex;
    flex-direction: column;
}

.learning-card:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.learning-card__number {
    margin-bottom: auto;

    color: #ff9bc8;
    font-size: 13px;
    font-weight: 700;
}

.learning-card h3 {
    margin: 40px 0 12px;

    color: var(--color-white);
    font-family: var(--font-family-primary);
    font-size: 20px;
    font-weight: 700;
}

.learning-card p {
    margin: 0;

    color: var(--grey-400);
    font-family: var(--font-family-primary);
    font-size: 14px;
    line-height: 1.6;
}


/* =====================================================
   Community
===================================================== */

.program-community {
    width: 100%;
    padding: 140px 40px;
    box-sizing: border-box;

    background: var(--grey-50);
}

.program-community__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.program-community__image {
    width: 100%;
    height: 600px;

    overflow: hidden;
    border-radius: 24px;
}

.program-community__image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
}

.program-community__title {
    max-width: 500px;
    margin: 0;

    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.program-community__description {
    max-width: 500px;
    margin: 28px 0;

    color: var(--grey-700);
    font-family: var(--font-family-primary);
    font-size: 17px;
    line-height: 1.65;
}

.program-community__link {
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    display: inline-flex;
    gap: 10px;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.program-community__link:hover {
    color: var(--pink-500);
    gap: 14px;
}


/* =====================================================
   CTA
===================================================== */

.programs-cta {
    width: 100%;
    padding: 140px 40px;

    box-sizing: border-box;

    background: var(--pink-500);
}

.programs-cta__container {
    max-width: 900px;
    margin: 0 auto;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.programs-cta__eyebrow {
    color: var(--color-white);
}

.programs-cta__title {
    margin: 0;

    color: var(--color-white);
    font-family: var(--font-family-primary);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.programs-cta__description {
    max-width: 600px;
    margin: 28px 0 36px;

    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-family-primary);
    font-size: 17px;
    line-height: 1.6;
}

.programs-cta__button {
    padding: 15px 22px;

    border-radius: 100px;
    background: var(--color-white);

    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    transition:
        transform 0.25s ease,
        gap 0.25s ease;
}

.programs-cta__button:hover {
    transform: translateY(-2px);
    gap: 14px;
}


/* =====================================================
   Tablet
===================================================== */

@media (max-width: 900px) {

    .programs-hero {
        padding: 110px 30px 90px;
    }

    .programs,
    .program-finder,
    .learning,
    .program-community {
        padding: 100px 30px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .section-header__description {
        width: 100%;
        max-width: 600px;
    }

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

    .program-card--featured {
        grid-row: auto;
    }

    .program-card--featured .program-card__image,
    .program-card__image {
        height: 380px;
    }

    .program-finder__container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .learning-card:nth-child(2) {
        border-right: none;
    }

    .learning-card:nth-child(3),
    .learning-card:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .program-community__container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .program-community__image {
        height: 500px;
    }

}


/* =====================================================
   Mobile
===================================================== */

@media (max-width: 600px) {

    .programs-hero {
        padding: 90px 20px 70px;
    }

    .programs,
    .program-finder,
    .learning,
    .program-community {
        padding: 80px 20px;
    }

    .programs-hero__title {
        font-size: 46px;
    }

    .programs-hero__description {
        margin-top: 24px;
        font-size: 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header__title {
        font-size: 36px;
    }

    .program-grid {
        gap: 16px;
    }

    .program-card {
        border-radius: 18px;
    }

    .program-card__image,
    .program-card--featured .program-card__image {
        height: 280px;
    }

    .program-card__content {
        padding: 24px;
    }

    .program-card__title {
        font-size: 25px;
    }

    .program-card__description {
        font-size: 15px;
    }

    .finder-item {
        grid-template-columns: 35px 1fr 20px;
        gap: 12px;
        padding: 24px 0;
    }

    .finder-item__content h3 {
        font-size: 17px;
    }

    .finder-item__content p {
        font-size: 13px;
    }

    .learning__title {
        font-size: 42px;
    }

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

    .learning-card {
        min-height: 200px;

        border-left: 1px solid rgba(255, 255, 255, 0.2);
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .learning-card:nth-child(2),
    .learning-card:nth-child(3),
    .learning-card:nth-child(4) {
        border-top: none;
    }

    .program-community__image {
        height: 360px;
        border-radius: 18px;
    }

    .program-community__title {
        font-size: 42px;
    }

    .program-community__description {
        font-size: 16px;
    }

    .programs-cta {
        padding: 100px 20px;
    }

    .programs-cta__title {
        font-size: 46px;
    }

}