/* Consistent vertical spacing for the Fellowship home page. */
.fellowship-home {
    --section-space: 70px;
}

.fellowship-home .fellowship-about,
.fellowship-home .programStructure,
.fellowship-home .ApplicationTimeline,
.fellowship-home .endorsement-sec,
.fellowship-home .statsSec,
.fellowship-home .benefitsGF-sec,
.fellowship-home .midBanner,
.fellowship-home .socialMediaBox,
.fellowship-home .contactUsArea {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

/* Let the cutout portraits rest on the bottom edge of their sections. */
.fellowship-home .ApplicationTimeline,
.fellowship-home .midBanner {
    padding-bottom: 0;
}

.fellowship-home .timlineImgWrap img,
.fellowship-home .imgMiddleWrap img {
    display: block;
}

.fellowship-home .ApplicationTimeline .row > .col-lg-5 {
    display: flex;
    align-items: flex-end;
}

.fellowship-home .midBanner .row > .col-lg-4 {
    align-self: flex-end;
}

/* Keep the Life section's background at its existing boundary. */
.fellowship-home .liKarachi-sec {
    padding-bottom: var(--section-space);
}
.fellowship-home .liKarachi-sec > .container {
    padding-top: var(--section-space);
}

@media (max-width: 991px) {
    .fellowship-home {
        --section-space: 60px;
    }

    /* The timeline portrait is hidden at this width. */
    .fellowship-home .ApplicationTimeline {
        padding-bottom: var(--section-space);
    }
}

@media (max-width: 767px) {
    .fellowship-home {
        --section-space: 48px;
    }

    /* The callout portrait is hidden on mobile. */
    .fellowship-home .midBanner {
        padding-bottom: var(--section-space);
    }
}
