.home-page {
    padding-bottom: 2.5rem;
    --home-picture-gap: 0.9rem;
    --home-tile-width: 19.25rem;
    --home-activity-width: 22.25rem;
}

.home-page .home-tile-row {
    margin-left: calc(var(--home-picture-gap) / -2);
    margin-right: calc(var(--home-picture-gap) / -2);
    row-gap: var(--home-picture-gap);
}

.home-page .home-activity-row {
    margin-left: 0;
    margin-right: 0;
    column-gap: var(--home-picture-gap);
    row-gap: var(--home-picture-gap);
}

.home-page .home-tile-col {
    padding-left: calc(var(--home-picture-gap) / 2);
    padding-right: calc(var(--home-picture-gap) / 2);
    margin-bottom: 0 !important;
}

.home-page .home-activity-col {
    padding: 0;
    margin-bottom: 0 !important;
}

.home-page .home-landing-card {
    align-items: flex-start;
    width: 100%;
}

.home-page .home-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-page .home-news-row {
    align-items: stretch;
}

.home-page .home-news-figure {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 16rem;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: transparent;
}

.home-page .home-news-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-page .home-news-card > .card-title {
    min-height: 3rem;
}

.home-page .home-news-headline {
    flex: 1 1 auto;
}

.home-page .home-news-card > .btn {
    align-self: flex-start;
}

.home-page .home-feature-card {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid #d7dde5;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 1rem 2.4rem rgba(37, 54, 74, 0.12);
    gap: 0.7rem;
}

.home-page .home-landing-card-text {
    width: 100%;
    max-width: 18rem;
    margin: 0 0 0.7rem;
    text-align: center;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #374151;
}

.home-page .home-feature-card .home-landing-card-text {
    max-width: 100%;
    margin-bottom: 0.9rem;
}

.home-page .home-square-photo {
    width: 100%;
    max-width: 17rem;
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 0 auto;
    border-radius: 0.35rem;
}

.home-page .home-feature-card .home-square-photo {
    width: 100%;
    max-width: 100%;
    border-radius: 0.75rem;
}

.home-page .home-team-section .home-landing-card-text {
    max-width: 40rem;
}

.home-page .home-team-photo {
    width: 100%;
    max-width: 40rem;
    aspect-ratio: 16 / 9;
    border-radius: 0.45rem;
}

.home-page .home-activities-section .home-square-photo {
    max-width: 20.5rem;
    aspect-ratio: 16 / 10;
}

.home-page .home-activity-card {
    height: 100%;
    border: 1px solid #d7dde5;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 1rem 2.4rem rgba(37, 54, 74, 0.12);
}

.home-page .home-activity-details {
    margin: 1rem 1.15rem 1.15rem;
    text-align: center;
}

.home-page .home-activity-meta {
    line-height: 1.45;
}

.home-page .home-activity-card .home-square-photo {
    width: 100%;
    max-width: 100%;
    border-radius: 0.75rem;
}

.home-page .home-section-link {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.home-page .home-section-header {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

.home-page .home-activities-section .home-section-header {
    padding-left: 0;
    padding-right: 0;
}

.home-page .home-section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.home-page .home-section-icon {
    color: #1e2a38;
    line-height: 1;
}

.home-page .home-section-title {
    color: #1e2a38;
    letter-spacing: 0.08em;
    font-size: 1.55rem;
}

.home-page .home-section-intro {
    margin-top: 0.95rem;
    color: #374151;
    font-size: 1.08rem;
    line-height: 1.65;
}

@media (min-width: 768px) {
    .home-page .home-tile-row,
    .home-page .home-activity-row {
        justify-content: center;
    }

    .home-page .home-tile-col {
        flex: 0 0 var(--home-tile-width);
        max-width: var(--home-tile-width);
    }

    .home-page .home-activity-col {
        flex: 0 0 var(--home-activity-width);
        max-width: var(--home-activity-width);
    }

    .home-page .home-landing-card-text,
    .home-page .home-square-photo,
    .home-page .home-team-photo,
    .home-page .home-activities-section .home-square-photo {
        max-width: 100%;
    }

    .home-page .home-feature-card,
    .home-page .home-team-section .home-landing-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .home-page .home-feature-card .home-landing-card-text,
    .home-page .home-team-section .home-landing-card-text {
        flex: 0 0 auto;
        margin-bottom: 0;
        text-align: center;
    }

    .home-page .home-feature-card .home-square-photo,
    .home-page .home-team-section .home-team-photo {
        flex: 0 0 auto;
        margin: 0 auto;
    }

    .home-page .home-section-header {
        margin-bottom: 1.15rem;
    }

    .home-page .home-section-title {
        font-size: 1.8rem;
    }

    .home-page .home-section-intro {
        width: min(100%, 42rem);
        margin-left: auto;
        margin-right: auto;
        font-size: 1.15rem;
    }

    .home-page .home-feature-card {
        min-height: 27rem;
        padding: 1.6rem 1.45rem 1.7rem;
    }

    .home-page .home-feature-card .home-landing-card-text {
        width: min(100%, 18rem);
        max-width: 18rem;
        font-size: 1.18rem;
        line-height: 1.7;
    }

    .home-page .home-feature-card .home-square-photo {
        width: min(100%, 18rem);
        max-width: 18rem;
        aspect-ratio: 16 / 10;
    }

    .home-page .home-team-section {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .home-page .home-team-section .home-landing-card {
        gap: 1.25rem;
    }

    .home-page .home-team-section .home-landing-card-text {
        width: min(100%, 40rem);
        max-width: 40rem;
        font-size: 1.22rem;
        line-height: 1.75;
    }

    .home-page .home-team-photo {
        width: min(100%, 40rem);
        max-width: 40rem;
        aspect-ratio: 16 / 9;
    }

    .home-page .home-activity-card {
        min-height: 0;
    }

    .home-page .home-activity-card .home-square-photo {
        width: min(100%, 20.25rem);
        max-width: 20.25rem;
        aspect-ratio: 16 / 10;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .home-page {
        --home-picture-gap: 1.15rem;
        --home-tile-width: 20.25rem;
        --home-activity-width: 22.75rem;
    }

    .home-page .home-feature-card {
        min-height: 28rem;
        padding: 1.9rem 1.6rem 2rem;
    }

    .home-page .home-feature-card .home-landing-card-text {
        width: 18.75rem;
        max-width: 18.75rem;
        font-size: 1.25rem;
    }

    .home-page .home-feature-card .home-square-photo {
        width: 18.75rem;
        max-width: 18.75rem;
        aspect-ratio: 16 / 10;
    }

    .home-page .home-team-photo {
        width: min(100%, 42rem);
        max-width: 42rem;
    }

    .home-page .home-activity-card {
        min-height: 0;
    }

    .home-page .home-activity-card .home-square-photo {
        width: 20.75rem;
        max-width: 20.75rem;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 991.98px) {
    .home-page .home-landing-card-text,
    .home-page .home-square-photo {
        max-width: 12rem;
    }

    .home-page .home-activities-section .home-square-photo {
        max-width: 15.5rem;
    }
}

@media (max-width: 767.98px) {
    .home-page {
        --home-picture-gap: 0.55rem;
    }

    .home-page .home-feature-card {
        padding: 0.9rem;
    }

    .home-page .home-section-link {
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }

    .home-page .home-section-header {
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }

    .home-page .home-landing-card {
        align-items: stretch;
    }

    .home-page .home-feature-card,
    .home-page .home-team-section .home-landing-card {
        flex-direction: column;
    }

    .home-page .home-landing-card-text,
    .home-page .home-square-photo,
    .home-page .home-team-photo,
    .home-page .home-activities-section .home-square-photo {
        max-width: 100%;
    }
}
