/* =====================================================
   Alumni Story
===================================================== */

.alumni-story {
    width: 100%;

    padding:
        var(--space-24)
        var(--space-10);

    box-sizing: border-box;

    overflow: hidden;

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


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

.alumni-story__container {
    width: 100%;
    max-width: 1024px;

    margin: 0 auto;

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

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


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

.alumni-story__header {
    width: 100%;

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

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

.alumni-story__eyebrow {
    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);
}

.alumni-story__intro {
    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);
}


/* =====================================================
   Content
===================================================== */

.alumni-story__content {
    width: 100%;
    max-width: 900px;

    display: flex;
    flex-direction: column;

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


/* =====================================================
   Main Content
===================================================== */

.alumni-story__main {
    width: 100%;

    display: grid;

    grid-template-columns: 297px minmax(0, 533px);

    justify-content: space-between;
    align-items: center;

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


/* =====================================================
   Person
===================================================== */

.alumni-story__person {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
}

.alumni-story__image {
    width: 295px;
    height: 358px;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    overflow: hidden;
}

.alumni-story__person-info {
    width: 100%;
    margin: 0;
    color: var(--color-deep-petrol);
    font-family: var(--font-family-primary);
    font-size: var(--text-body);
    font-weight: var(--font-semibold);
    line-height: var(--leading-body);
}


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

.alumni-story__text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-10);
}

.alumni-story__description {
    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);
}


/* =====================================================
   Quote
===================================================== */

.alumni-story__quote {
    width: 478px;
    max-width: 100%;
    margin: 0;
    color: var(--pink-500);
    font-family: var(--font-family-display);
    font-size: var(--text-h3);
    font-style: italic;
    font-weight: var(--font-regular);
    line-height: 40px;
    text-align: center;
}


/* =====================================================
   Conclusion
===================================================== */

.alumni-story__conclusion {
    width: 100%;
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-body-sm);
    font-weight: var(--font-regular);
    line-height: var(--leading-body);
    text-align: center;
}


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

@media (max-width: 900px) {

    .alumni-story {
        padding:
            var(--space-20)
            var(--space-6);
    }

    .alumni-story__main {
        grid-template-columns:
            minmax(220px, 297px)
            minmax(0, 1fr);

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

    .alumni-story__image {
        width: 100%;
        height: auto;

        aspect-ratio: 295 / 358;
    }

    .alumni-story__quote {
        font-size: 26px;
        line-height: 36px;
    }
}


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

@media (max-width: 768px) {

    .alumni-story {
        padding:
            var(--space-16)
            var(--space-5);
    }

    .alumni-story__container {
        gap: var(--space-8);
    }

    .alumni-story__content {
        gap: var(--space-8);
    }

    .alumni-story__main {
        grid-template-columns: 1fr;

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

    .alumni-story__person {
        align-items: center;
    }

    .alumni-story__image {
        width: min(295px, 100%);
        height: auto;

        aspect-ratio: 295 / 358;
    }

    .alumni-story__person-info {
        text-align: center;
    }

    .alumni-story__text {
        gap: var(--space-8);
    }

    .alumni-story__quote {
        width: 100%;

        font-size: 24px;
        line-height: 34px;
    }

}


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

@media (max-width: 480px) {

    .alumni-story {
        padding:
            var(--space-12)
            var(--space-4);
    }

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

    .alumni-story__intro,
    .alumni-story__description,
    .alumni-story__person-info,
    .alumni-story__conclusion {
        font-size: var(--text-body-sm);
        line-height: var(--leading-body-sm);
    }

    .alumni-story__quote {
        font-size: 22px;
        line-height: 32px;
    }

}