/* Child Care Subsidy page (Our Families).
 *
 * Scoped under `.subsidy-page`, and follows the palette and type of the room
 * pages so the section still reads as part of the site.
 */

.subsidy-page {
    --subsidy-sand: #EFE7D9;
    --subsidy-band: #F5EFE3;
    --subsidy-rule: #E7E0D2;
    --subsidy-ink: #33404D;
    --subsidy-body: #6B6459;
}

/* Bands break out of the layout's container to run edge to edge. */
.subsidy-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

.subsidy-inner {
    max-width: 112rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Hero ---- */

.subsidy-hero {
    position: relative;
    min-height: 51rem;
    display: flex;
    align-items: flex-end;
    /* Stands in for the photograph until the file is added. */
    background-color: #D9CEBB;
    overflow: hidden;
}

.subsidy-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Keeps the white type readable over whichever photograph goes in. */
.subsidy-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.55) 15%, rgba(255, 255, 255, 0) 55%);
}

.subsidy-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 6.4rem;
    padding-bottom: 4.8rem;
}

.subsidy-hero-title {
    margin: 0 0 0.96rem;
    max-width: 24ch;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 4.6rem;
    font-weight: 600;
    line-height: 1.15;
    color: #1C1C1C;
}

.subsidy-hero-copy {
    margin: 0;
    max-width: 46ch;
    font-size: 1.7rem;
    line-height: 1.6;
    color: rgba(28, 28, 28, 0.85);
}

/* ---- Content sections ---- */

.subsidy-section {
    max-width: 78rem;
    margin: 0 auto;
    padding: 6.4rem 0;
}

.subsidy-band {
    background-color: var(--subsidy-band);
}

.subsidy-heading {
    margin: 0 0 2rem;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--subsidy-ink);
}

.subsidy-copy {
    margin: 0 0 1.6rem;
    font-size: 1.6rem;
    line-height: 1.75;
    color: var(--subsidy-body);
}

.subsidy-lead-in {
    margin: 2.4rem 0 1.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--subsidy-ink);
}

.subsidy-list {
    margin: 0;
    padding-left: 2.4rem;
    font-size: 1.6rem;
    line-height: 1.75;
    color: var(--subsidy-body);
}

.subsidy-list li {
    margin-bottom: 1rem;
}

.subsidy-list li:last-child {
    margin-bottom: 0;
}

.subsidy-note {
    margin: 2.4rem 0 0;
    font-size: 1.45rem;
    line-height: 1.7;
    color: var(--subsidy-body);
}

@media screen and (max-width: 900px) {
    .subsidy-hero {
        min-height: 28rem;
    }

    .subsidy-hero-inner {
        padding-top: 4.8rem;
        padding-bottom: 4rem;
    }

    .subsidy-hero-title {
        font-size: 3.2rem;
    }

    .subsidy-section {
        padding: 4.8rem 0;
    }
}
