/* ========================================
   Programme Structure
======================================== */

.program-structure {
    width: 100%;
    padding: var(--space-24) var(--space-10);

    box-sizing: border-box;
    overflow: hidden;

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


/* ========================================
   Container
======================================== */

.program-structure__container {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

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

    gap: var(--space-12);
}


/* ========================================
   Header
======================================== */

.program-structure__header {
    width: 100%;

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

    gap: var(--space-5);
}

.program-structure__title {
    width: 100%;
    margin: 0;

    color: var(--grey-950);

    font-family: var(--font-family-primary);
    font-size: var(--text-h2);
    font-weight: var(--font-bold);
    line-height: var(--leading-h2);
}

.program-structure__description {
    width: 100%;
    margin: 0;

    color: var(--grey-950);

    font-family: var(--font-family-primary);
    font-size: var(--text-body-lg);
    font-weight: var(--font-regular);
    line-height: var(--leading-body-lg);
}


/* ========================================
   Visual
======================================== */

.program-structure__visual {
    width: 100%;
    height: 434px;

    overflow: hidden;
}

.program-structure__visual img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ========================================
   Intro
======================================== */

.program-structure__intro {
    width: 100%;
    margin: 0;

    color: var(--grey-950);

    font-family: var(--font-family-primary);
    font-size: var(--text-body-lg);
    font-weight: var(--font-regular);
    line-height: var(--leading-body-lg);
}


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

.program-structure__cards {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: var(--space-8);
}


/* ========================================
   Card
======================================== */

.program-structure__card {
    min-width: 0;

    padding: var(--space-6);

    box-sizing: border-box;

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

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

    gap: var(--space-4);
}


/* ========================================
   Card Title
======================================== */

.program-structure__card-title {
    width: 100%;
    margin: 0;

    color: var(--pink-500);

    font-family: var(--font-family-primary);
    font-size: var(--text-body-lg);
    font-weight: var(--font-semibold);
    line-height: var(--leading-body-lg);
}


/* ========================================
   Card Text
======================================== */

.program-structure__card-text {
    width: 100%;
    margin: 0;

    color: var(--grey-950);

    font-family: var(--font-family-primary);
    font-size: var(--text-body);
    font-weight: var(--font-regular);
    line-height: var(--leading-body);
}


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

@media (max-width: 900px) {

    .program-structure {
        padding:
            var(--space-16)
            var(--space-6);
    }

    .program-structure__container {
        gap: var(--space-10);
    }

    .program-structure__visual {
        height: auto;
        aspect-ratio: 1280 / 434;
    }

    .program-structure__cards {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
}


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

@media (max-width: 768px) {

    .program-structure {
        padding:
            var(--space-16)
            var(--space-5);
    }

    .program-structure__container {
        gap: var(--space-8);
    }

    .program-structure__header {
        gap: var(--space-3);
    }

    .program-structure__title {
        font-size: var(--text-h3);
        line-height: var(--leading-h3);
    }

    .program-structure__description,
    .program-structure__intro {
        font-size: var(--text-body);
        line-height: var(--leading-body);
    }

    .program-structure__visual {
        aspect-ratio: 4 / 3;
    }

    .program-structure__cards {
        gap: var(--space-4);
    }

    .program-structure__card {
        padding: var(--space-5);
        border-radius: 16px;
    }
}


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

@media (max-width: 480px) {

    .program-structure {
        padding:
            var(--space-12)
            var(--space-4);
    }

    .program-structure__title {
        font-size: var(--text-h4);
        line-height: var(--leading-h4);
    }

    .program-structure__visual {
        aspect-ratio: 1 / 1;
    }

    .program-structure__card {
        padding: var(--space-5);
    }

    .program-structure__card-title {
        font-size: var(--text-body);
        line-height: var(--leading-body);
    }

    .program-structure__card-text {
        font-size: var(--text-body-sm);
        line-height: var(--leading-body-sm);
    }
}