.day-boarding-page .simple-page-title {
    font-size: clamp(32px, 4vw, 55px);
    line-height: 1.12;
    text-wrap: balance;
}

.day-boarding-page .simple-page-content .simple-breadcrumb-wrap {
    width: min(1320px, calc(100% - 64px));
}

.day-boarding-page .preschool-hero {
    padding: 56px 0 64px;
}

.day-boarding-page .preschool-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

.day-boarding-page .preschool-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid #e0e9df;
    border-radius: 16px;
    background: #fff;
}

.day-boarding-page .preschool-lead {
    margin: 0;
}

.day-boarding-page .preschool-hero-image {
    overflow: hidden;
    border-radius: 16px;
}

.day-boarding-page .preschool-hero-image img {
    height: 100%;
    min-height: 320px;
    border-radius: 0;
}

@media (max-width: 900px) {
    .day-boarding-page .preschool-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .day-boarding-page .preschool-hero-image img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 600px) {
    .day-boarding-page .simple-page-content .simple-breadcrumb-wrap {
        width: calc(100% - 36px);
    }

    .day-boarding-page .preschool-hero {
        padding: 32px 0 44px;
    }

    .day-boarding-page .preschool-hero-copy .preschool-actions a {
        width: 100%;
    }
}

.day-boarding-page h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    color: #173b2c;
    line-height: 1.4;
}

.day-boarding-page .preschool-quick-answer {
    display: block;
    grid-column: 1 / -1;
}

.day-boarding-page .preschool-quick-answer p {
    max-width: none;
}

.day-boarding-page p,
.day-boarding-page li {
    line-height: 1.8;
}

.day-boarding-page .db-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.db-facts strong {
    display: block;
    color: #075b3b;
}

.day-boarding-page .db-overview {
    padding: 34px;
    border: 1px solid #e0e9df;
    border-top: 3px solid #c9a442;
    border-radius: 16px;
    background: linear-gradient(120deg, #fff 65%, #f5f8f2);
    box-shadow: 0 14px 40px rgba(18, 61, 43, 0.06);
}

.db-overview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.db-overview-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #71816f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.6;
}

.day-boarding-page .db-overview h3 {
    margin: 0;
    font-size: clamp(27px, 2.5vw, 36px);
    line-height: 1.25;
}

.db-overview h3 em {
    font-weight: 400;
    color: #075b3b;
    font-style: normal;
}

.db-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    padding: 10px 15px;
    background: #edf4eb;
    border: 1px solid #dce8d8;
    border-radius: 30px;
    color: #075b3b;
    font-size: 12px;
    font-weight: 600;
}

.day-boarding-page .db-overview>p {
    max-width: 1080px;
    font-size: 15px;
    line-height: 1.8;
    color: #5b6e60;
}

.day-boarding-page .db-overview .db-facts {
    gap: 14px;
    margin-top: 26px;
}

.db-overview .db-facts li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
    padding: 22px 20px;
    border: 1px solid #e3eade;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
}

.db-overview .db-facts li>div {
    min-width: 0;
}

.db-fact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #edf4eb;
    color: #075b3b;
    font-size: 17px;
}

.db-overview .db-facts strong {
    margin-bottom: 5px;
    color: #66776a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.db-fact-value {
    display: block;
    color: #173b2c;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.db-overview .db-facts .db-fact-timing {
    background: #075b3b;
    border-color: #075b3b;
    align-items: center;
}

.db-fact-timing .db-fact-icon {
    background: rgba(255, 255, 255, 0.13);
    color: #e9cf87;
}

.db-overview .db-fact-timing strong {
    color: #d9e9df;
}

.db-fact-timing .db-fact-value {
    color: white;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.db-fact-timing small {
    font-size: 15px;
    font-weight: 400;
}

@media (min-width: 768px) and (max-width: 1000px) {
    .day-boarding-page .db-overview .db-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .day-boarding-page .db-overview {
        padding: 24px 20px;
        border-radius: 12px;
    }
    .db-overview-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
    .day-boarding-page .db-overview .db-facts {
        gap: 10px;
    }
    .db-overview .db-facts li {
        padding: 18px;
    }
    .db-home-badge {
        font-size: 11px;
        padding: 8px 12px;
    }
}

.db-benefits {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    margin: 34px 0;
}

.day-boarding-page .db-why {
    background: linear-gradient(180deg, #fff 0%, #f6f8f4 100%);
}

.db-why>.preschool-wrap>.preschool-section-heading {
    max-width: 940px;
}

.day-boarding-page .db-why .preschool-section-heading h2 {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.25;
}

.db-why>.preschool-wrap>.preschool-body {}

.day-boarding-page .db-benefits article {
    grid-column: span 2;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e0e8de;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(18, 61, 43, .035);
}

.db-benefits article:nth-last-child(-n+2) {
    grid-column: span 2;
}

.db-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    height: 48px;
    border-radius: 14px;
    background: #edf4eb;
    color: #075b3b;
    font-size: 20px;
}

.db-benefits article:nth-child(3) .db-benefit-icon {
    background: #faf3df;
    color: #96721c;
}

.day-boarding-page .db-benefits h3 {
    margin: 2px 0 10px;
    font-size: 22px;
    line-height: 1.35;
}

.day-boarding-page .db-benefits p {
    color: #5b6e60;
    font-size: 15px;
    line-height: 1.75;
}

.db-benefits article,
.db-care-grid article,
.db-route-card {
    padding: 26px;
    background: #f4f8f3;
    border: 1px solid #dce8dc;
    border-radius: 8px;
}

.db-benefits p,
.db-care-grid p {
    margin-bottom: 0;
}

.db-checklist {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    margin: 32px 0 24px;
    padding: 32px;
    border: 1px solid #dbe6d7;
    border-radius: 16px;
    background: #eef4e9;
}

.day-boarding-page .db-checklist-intro h3 { margin: 0; }
.day-boarding-page .db-checklist-note {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid #d3dfce;
    color: #5b6e60;
    font-size: 15px;
    line-height: 1.75;
}

.day-boarding-page .db-checklist h3 {
    font-size: 27px;
    line-height: 1.3;
    margin: 0 0 14px;
}

.day-boarding-page .db-checklist-intro p {
    font-size: 14px;
    line-height: 1.75;
    color: #5b6e60;
}

.day-boarding-page .db-checklist ul {
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 14px 22px;
}

.db-checklist li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
}

.db-checklist li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 3px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #075b3b;
    color: #fff;
    font-size: 11px;
    text-align: center;
    line-height: 19px;
}

.db-why .preschool-actions a {
    border-radius: 8px;
}

.db-checklist ul,
.db-facility-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 35px;
    padding-left: 22px;
}

.day-boarding-page .db-facility-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    list-style: none;
    margin: 28px 0 0;
    padding: 14px;
    border-radius: 12px;
    background: #07613e;
}

.day-boarding-page .db-facility-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 18px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 5px;
    background: rgba(255, 255, 255, .045);
    color: #fff;
    font-size: 15px;
    line-height: 1.65;
}

.db-facility-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(218, 181, 63, .65);
    border-radius: 50%;
    color: #dcb947;
    font-size: 16px;
}

.db-facility-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border: 1px solid rgba(218, 181, 63, .65);
    border-radius: 50%;
    color: #dcb947;
    font-size: 9px;
}

@media (max-width: 767px) {
    .day-boarding-page .db-facility-list {
        padding: 9px;
        gap: 7px;
    }
    .day-boarding-page .db-facility-list li {
        grid-template-columns: 34px minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 13px 10px;
        font-size: 14px;
    }
    .db-facility-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .db-facility-arrow {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
}

.db-checklist p {
    margin-bottom: 0;
}

.db-facilities,
.db-care,
.db-enquiry {
    background: #f7faf6;
}

.db-timeline {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 24px;
    margin: 36px 0;
    background: #f4f7f1;
    border: 1px solid #e2e9dd;
    border-radius: 18px;
}

.db-timeline li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: 0;
    padding: 18px 10px;
    border: 0;
    color: #173b2c;
    font-weight: 500;
    text-align: center;
}

.db-timeline li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(50% + 28px);
    width: calc(100% - 44px);
    height: 1px;
    background: #c6d5bc;
}

.db-routine-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border: 1px solid #d8e3d1;
    border-radius: 50%;
    background: #fff;
    color: #075b3b;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(18, 61, 43, .04);
}

.day-boarding-page .db-routine-label {
    font-size: 14px;
    line-height: 1.65;
}

.db-timeline li:last-child {
    border-radius: 12px;
    background: #075b3b;
    color: #fff;
}

.db-timeline li:last-child .db-routine-icon {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .25);
    color: #e4c56f;
    box-shadow: none;
}

.db-routine-label strong {
    display: block;
    color: #e4c56f;
    font-size: 20px;
    line-height: 1.5;
    margin-top: 4px;
}

.db-timeline+.preschool-body {
    max-width: 1160px;
}

.db-care-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}

.db-care-grid article {
    background: #fff;
}

.day-boarding-page .db-care-flow {
    margin-top: 20px;
    color: #075b3b;
    font-weight: 600;
}

.db-care-flow span {
    padding: 0 6px;
}

.db-transport-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: start;
}

.day-boarding-page .db-enquiry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

.db-enquiry-grid>div {
    text-align: center;
}

.db-enquiry-grid .preschool-section-heading,
.db-enquiry-grid .preschool-body {
    max-width: none;
}

.db-enquiry-grid .preschool-actions {
    justify-content: center;
}

.db-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0;
}

.db-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.db-gallery img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.db-form {
    display: grid;
    gap: 18px;
    padding: 30px;
    background: white;
    border: 1px solid #dce8dc;
    border-radius: 8px;
}

.db-form label {
    display: grid;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.db-form input,
.db-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #c8d6c8;
    border-radius: 4px;
    background: white;
    color: #173b2c;
}

.db-form button {
    padding: 15px;
    background: #075b3b;
    color: white;
    border: 0;
    border-radius: 4px;
    font-weight: 600;
}

.db-form button:hover {
    background: #0b7149;
}

.day-boarding-page :is(a, button, input, select, summary):focus-visible {
    outline: 3px solid #d1a32c;
    outline-offset: 3px;
}

#day-boarding-enquiry {
    scroll-margin-top: 120px;
}

@media (max-width: 1100px) {
    .db-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .day-boarding-page .db-benefits article {
        grid-column: auto;
    }
    .db-benefits article:last-child {
        grid-column: auto;
    }
    .db-checklist {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .day-boarding-page .db-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 20px;
    }
    .day-boarding-page .db-timeline li {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 16px;
        gap: 20px;
    }
    .db-timeline li:not(:last-child)::after {
        top: 70px;
        left: 42px;
        width: 1px;
        height: 34px;
    }
    .db-timeline li:last-child {
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    .day-boarding-page .db-benefits article {
        padding: 22px;
        gap: 16px;
        grid-column: auto;
    }
    .db-checklist {
        padding: 24px;
    }
    .day-boarding-page .db-checklist h3 {
        font-size: 24px;
    }
    .day-boarding-page .db-facts,
    .db-benefits,
    .db-care-grid,
    .db-transport-grid,
    .db-enquiry-grid,
    .db-checklist ul,
    .db-facility-list {
        grid-template-columns: 1fr;
    }
    .db-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .db-gallery img {
        height: 160px;
    }
    .day-boarding-page .db-timeline {
        padding: 12px;
        border-radius: 12px;
    }
    .day-boarding-page .db-timeline li {
        padding: 14px 12px;
        gap: 16px;
    }
    .db-routine-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 17px;
    }
    .db-timeline li:not(:last-child)::after {
        top: 58px;
        left: 34px;
        height: calc(100% - 44px);
    }
    .db-form {
        padding: 22px;
    }
    .db-transport-grid,
    .db-enquiry-grid {
        gap: 24px;
    }
}


/* Student support: heading panel and compact information rows. */

.day-boarding-page .db-care {
    background: #f5f7f1;
}

.db-care .db-support-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.db-support-intro {
    padding: 0;
}

.day-boarding-page .db-support-intro h2 {
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.22;
    margin-bottom: 0;
}

.db-support-intro h2 em {
    display: inline;
}

.db-support-intro .preschool-section-heading {
    margin-bottom: 0;
}

.db-support-layout>.preschool-actions a {
    border-radius: 7px;
}

.db-support-intro .preschool-actions {
    gap: 12px;
}

.db-support-intro .preschool-actions a {
    border-radius: 7px;
    font-size: 14px;
}

.day-boarding-page .db-care-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    padding: 0 30px;
    border: 1px solid #dfe7db;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(18, 61, 43, .035);
}

.day-boarding-page .db-care-grid article {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px 22px;
    padding: 28px 0;
    border: 0;
    border-bottom: 1px solid #e5ebe0;
    border-radius: 0;
    background: transparent;
}

.day-boarding-page .db-care-grid article:last-child {
    border-bottom: 0;
}

.db-support-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #dce6d5;
    border-radius: 14px;
    background: #f0f5ec;
    color: #075b3b;
    font-size: 20px;
}

.day-boarding-page .db-care-grid h3 {
    grid-column: 2;
    margin: 0;
    font-size: 23px;
    line-height: 1.35;
}

.day-boarding-page .db-care-grid p {
    grid-column: 2;
    color: #55675a;
    font-size: 15px;
    line-height: 1.8;
}

.day-boarding-page .db-care-grid .db-care-flow {
    justify-self: start;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 9px 13px;
    border-radius: 7px;
    background: #f2f5ed;
    color: #075b3b;
    font-size: 12px;
}

.db-care-flow span {
    color: #aa8728;
}

@media(max-width:1000px) {
    .db-care .db-support-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .db-support-intro {
        padding-bottom: 0;
    }
    .db-support-intro h2 em {
        display: inline;
    }
    .day-boarding-page .db-support-intro h2 {
        margin-bottom: 0;
    }
}

@media(max-width:600px) {
    .day-boarding-page .db-care-grid {
        padding: 0 20px;
        border-radius: 12px;
    }
    .day-boarding-page .db-care-grid article {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px 14px;
        padding: 24px 0;
    }
    .db-support-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
        grid-row: 1;
    }
    .day-boarding-page .db-care-grid h3 {
        align-self: center;
        font-size: 21px;
    }
    .day-boarding-page .db-care-grid p {
        grid-column: 1 / -1;
        font-size: 14px;
    }
    .day-boarding-page .db-care-grid .db-care-flow {
        grid-column: 1 / -1;
    }
}


/* Campus gallery and transport enquiry. */

.db-transport-grid {
    grid-template-columns: 1fr;
    gap: 0;
}

.day-boarding-page .db-transport-enquiry {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    border: 1px solid #d8e4d1;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f5e9, #fafbf7);
}

.db-transport-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #075b3b;
    color: #e4c56f;
    font-size: 21px;
}

.day-boarding-page .db-transport-enquiry h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.35;
}

.db-transport-enquiry .preschool-actions {
    margin: 0;
}

.db-transport-enquiry .preschool-actions a {
    border-radius: 7px;
    font-size: 14px;
}

.day-boarding-page .db-campus-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.db-campus-gallery figure {
    border-radius: 12px;
    border: 1px solid #e2e8de;
    background: #eef3e9;
}

.day-boarding-page .db-campus-gallery img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

@media(max-width:1000px) {
    .db-transport-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .day-boarding-page .db-transport-enquiry {
        grid-template-columns: 48px 1fr;
        gap: 16px 20px;
        padding: 24px;
    }
    .db-transport-enquiry .preschool-actions {
        grid-column: 1 / -1;
    }
    .day-boarding-page .db-campus-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:600px) {
    .day-boarding-page .db-transport-enquiry {
        padding: 20px;
        grid-template-columns: 42px 1fr;
        gap: 14px;
    }
    .db-transport-symbol {
        width: 42px;
        height: 42px;
        font-size: 19px;
        border-radius: 12px;
    }
    .day-boarding-page .db-transport-enquiry h3 {
        font-size: 21px;
    }
    .day-boarding-page .db-campus-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
