.funded-kinder-page,
.funded-kinder-page * {
    box-sizing: border-box;
}

.funded-kinder-page {
    background: #fff;
    color: #59616a;
    font-family: inherit;
}

.funded-kinder-page .fkp-container {
    width: min(1140px, calc(100% - 48px));
    margin-inline: auto;
}

/* Full-width section backgrounds */
.funded-kinder-page .fkp-hero,
.funded-kinder-page .fkp-years,
.funded-kinder-page .fkp-cta {
    position: relative;
    isolation: isolate;
}

.funded-kinder-page .fkp-hero::before,
.funded-kinder-page .fkp-years::before,
.funded-kinder-page .fkp-cta::before {
    position: absolute;
    inset: 0;
    background: var(--fkp-band-color);
    box-shadow: 0 0 0 100vmax var(--fkp-band-color);
    clip-path: inset(0 -100vmax);
    content: "";
    z-index: -1;
}

/* Title */
.funded-kinder-page .fkp-hero {
    --fkp-band-color: #2f4656;
    display: flex;
    align-items: flex-end;
    min-height: 285px;
    padding: 70px 0 46px;
    color: #fff;
}

.funded-kinder-page .fkp-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
}

.funded-kinder-page .fkp-hero p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
}

/* Introduction */
.funded-kinder-page .fkp-intro {
    padding: 60px 0;
}

.funded-kinder-page .fkp-intro-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 54px;
    align-items: start;
}

.funded-kinder-page .fkp-photo {
    overflow: hidden;
    border: 1px dashed #d7bb7e;
    border-radius: 14px;
    background: #fbf5e5;
}

.funded-kinder-page .fkp-intro-photo {
    min-height: 560px;
}

.funded-kinder-page .fkp-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.funded-kinder-page .fkp-copy h2 {
    margin: 0 0 8px;
    color: #405f7a;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: normal;
}

.funded-kinder-page .fkp-copy p,
.funded-kinder-page .fkp-school-copy p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.75;
}

.funded-kinder-page .fkp-copy p + h2 {
    margin-top: 24px;
}

/* Two years of kinder */
.funded-kinder-page .fkp-years {
    --fkp-band-color: #fbf5e5;
    padding: 54px 0;
}

.funded-kinder-page .fkp-years h2,
.funded-kinder-page .fkp-school h2 {
    margin: 0 0 10px;
    color: #20314f;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: normal;
}

.funded-kinder-page .fkp-section-copy {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.7;
}

.funded-kinder-page .fkp-years-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.funded-kinder-page .fkp-year-card {
    padding: 26px;
    border-radius: 14px;
    background: #fff;
}

.funded-kinder-page .fkp-year-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f3e7c9;
    color: #405f7a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.funded-kinder-page .fkp-year-card h3 {
    margin: 0 0 8px;
    color: #405f7a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: normal;
}

.funded-kinder-page .fkp-year-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* Starting school */
.funded-kinder-page .fkp-school {
    padding: 60px 0;
}

.funded-kinder-page .fkp-school-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 54px;
}

.funded-kinder-page .fkp-school-copy p {
    margin-bottom: 0;
}

.funded-kinder-page .fkp-school-photo {
    aspect-ratio: 4 / 3;
    background: #fff;
}

/* Booking */
.funded-kinder-page .fkp-cta {
    --fkp-band-color: #5c7f9b;
    padding: 48px 0;
    color: #fff;
    text-align: center;
}

.funded-kinder-page .fkp-cta h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: normal;
}

.funded-kinder-page .fkp-cta p {
    margin: 0 0 20px;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
}

.funded-kinder-page .fkp-tour-button {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    background: #fff;
    color: #405f7a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.funded-kinder-page .fkp-tour-button:hover {
    background: #f3ede2;
}

.funded-kinder-page .fkp-tour-button:focus-visible {
    outline: 3px solid #ffd27a;
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .funded-kinder-page .fkp-intro-grid,
    .funded-kinder-page .fkp-school-grid {
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .funded-kinder-page .fkp-container {
        width: calc(100% - 36px);
    }

    .funded-kinder-page .fkp-hero {
        min-height: 240px;
        padding: 48px 0 36px;
    }

    .funded-kinder-page .fkp-intro,
    .funded-kinder-page .fkp-years,
    .funded-kinder-page .fkp-school {
        padding: 36px 0;
    }

    .funded-kinder-page .fkp-intro-grid,
    .funded-kinder-page .fkp-years-grid,
    .funded-kinder-page .fkp-school-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .funded-kinder-page .fkp-intro-photo {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .funded-kinder-page .fkp-years h2,
    .funded-kinder-page .fkp-school h2,
    .funded-kinder-page .fkp-cta h2 {
        font-size: 25px;
    }

    .funded-kinder-page .fkp-year-card {
        padding: 22px;
    }

    .funded-kinder-page .fkp-cta {
        padding: 36px 0;
    }
}

.funded-kinder-page {
    background: #FCFAF5;
    box-shadow: 0 0 0 100vmax #FCFAF5;
    clip-path: inset(0 -100vmax);
}

.funded-kinder-page .fkp-school-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5.6rem;
}

.funded-kinder-page .fkp-school-photo {
    aspect-ratio: 6 / 5;
    border: 0;
    border-radius: 0;
    background: #EFE7D9;
}

@media (max-width: 900px) {
    .funded-kinder-page .fkp-school-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 3.2rem;
    }
}

.funded-kinder-page .fkp-photo-hero {
    position: relative;
    left: 50%;
    display: flex;
    align-items: flex-end;
    width: 100vw;
    min-height: 51rem;
    margin-left: -50vw;
    background-color: #33404D;
    overflow: hidden;
}

.funded-kinder-page .fkp-photo-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    z-index: 0;
}

.funded-kinder-page .fkp-photo-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to top, rgba(23, 30, 38, 0.62), rgba(23, 30, 38, 0.12));
}

.funded-kinder-page .fkp-photo-hero--light::after {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.55) 15%, rgba(255, 255, 255, 0) 55%);
}

.funded-kinder-page .fkp-photo-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 112rem;
    margin: 0 auto;
    padding: 6.4rem 2rem 4.8rem;
}

.funded-kinder-page .fkp-photo-hero .fkp-photo-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: #FFFFFF;
}

.funded-kinder-page .fkp-photo-hero-copy {
    margin: 0;
    max-width: 46ch;
    font-size: 1.7rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.funded-kinder-page .fkp-photo-hero--light .fkp-photo-hero-title {
    color: #1C1C1C;
}

.funded-kinder-page .fkp-photo-hero--light .fkp-photo-hero-copy {
    color: rgba(28, 28, 28, 0.85);
}

@media (max-width: 600px) {
    .funded-kinder-page .fkp-photo-hero {
        min-height: 34rem;
    }

    .funded-kinder-page .fkp-photo-hero .fkp-photo-hero-title {
        font-size: 3.2rem;
    }
}
