/* Revision 4: scoped text wrapping and existing photograph display correction. */
.p-entry-content .earth-revision-copy {
    display: block;
    line-height: 1.95;
    line-break: strict;
    overflow-wrap: break-word;
    text-wrap: pretty;
}
.p-entry-content .earth-revision-copy__sentence { display: block; text-wrap: balance; }
.p-entry-content .earth-revision-copy__phrase { display: inline-block; max-width: 100%; }
.p-entry-content .earth-revision-copy__sentence + .earth-revision-copy__sentence { margin-top: .45em; }
.p-entry-content .school-lead { max-width: 50em; margin-inline: auto; }
.p-entry-content .smb-section-break-the-grid__body .earth-revision-copy { max-width: 36em; }
.p-entry-content .smb-section-side-heading__lede .earth-revision-copy { max-width: 33em; }
.p-entry-content .smb-section-side-heading__title { text-wrap: balance; line-break: strict; }
/* Brightness only: retain the original photograph and its attachment mapping. */
img[src*="facility-classroom-02-20260922"] { filter: brightness(1.24) contrast(1.02); }
/* Existing mobile drawer download CTA: white background needs dark text. */
#drawer-nav .c-drawer__item > a[href$="/download/"] { color: #502600 !important; }
@media (max-width: 781px) {
    .p-entry-content .earth-revision-copy { line-height: 1.9; }
    .p-entry-content .school-lead { text-align: left; }
    .p-entry-content .smb-section-side-heading__title { font-size: clamp(20px, 6vw, 26px) !important; line-height: 1.5; }
}

.p-entry-content .earth-revision-heading-unit { display: inline-block; }

/* Approved PDF layouts: annual schedule and timetable, 2026-10-11. */

.es-sec .es-timeline{width:100%;max-width:860px;margin-left:auto!important;margin-right:auto!important}
.es-sec .es-timeline>.es-row{width:100%;box-sizing:border-box}
.es-sec .es-row>.es-panel{flex:1;min-width:0;width:100%;box-sizing:border-box}
.es-sec .es-panel .es-events{justify-content:center;gap:18px 28px}
.es-sec .es-event__name{white-space:normal;overflow-wrap:anywhere;text-wrap:balance}
@media(max-width:781px){.es-sec .es-timeline>.es-row{padding-left:66px}.es-sec .es-timeline::before{left:26px}.es-sec .es-badge{left:26px;width:52px;height:52px;border-width:3px}.es-sec .es-badge__num{font-size:22px}.es-sec .es-row>.es-panel{padding:16px 8px;border-radius:18px}.es-sec .es-panel .es-events{gap:16px 8px}.es-sec .es-event{width:calc(50% - 4px);min-width:0}.es-sec .es-event img{max-width:100%}.es-sec .es-event__name{font-size:13px;line-height:1.6;letter-spacing:0}}

.earth-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:1000px;margin:auto}
.earth-time-course{background:#fff;border:2px solid #502600;border-radius:18px;overflow:hidden}
.earth-time-heading{padding:22px 24px;background:#502600;color:white;text-align:center}
.earth-time-heading h3{margin:0!important;font-size:19px!important;color:white!important}
.earth-time-range{font-size:32px;font-weight:700;line-height:1.5;margin-top:4px;letter-spacing:.02em}
.earth-time-caption{font-size:14px;margin:5px 0 0;opacity:.95}
.earth-time-list{list-style:none!important;padding:20px 26px!important;margin:0!important}
.earth-time-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #eadfce;line-height:1.5}
.earth-time-list li:last-child{border:0}.earth-time-number{font-weight:700;color:#502600}.earth-time-slot{font-size:19px;font-variant-numeric:tabular-nums}
.earth-time-list .earth-time-break{background:#faf2e6;justify-content:center;color:#735b41;margin:8px -8px;padding:10px;border:0;border-radius:6px;font-size:14px}
@media(max-width:700px){.earth-time-grid{grid-template-columns:1fr;gap:22px}.earth-time-heading{padding:18px 16px}.earth-time-range{font-size:29px}.earth-time-list{padding:12px 20px!important}.earth-time-slot{font-size:18px}}

