.cc-not-found { padding-block: 70px; }
.feedback-form__upload input[type="file"] { display: block; max-width: 100%; margin-block: 12px; }
[data-cc-form-status] { margin-block: 12px; }
[data-cc-form-status]:empty { display: none; }
.page-title, .page__main h1 { overflow-wrap: anywhere; }
.parent-payment__field small { color: #9b222b; }
.organization-file__type { color: #5c5c5c; }
.event-single__content, .event-content, .event-main { overflow-wrap: anywhere; min-width: 0; }
.event-single__content :is(img, video, iframe), .event-content :is(img, video, iframe) { max-width: 100%; }
.event-single__content img, .event-content img { height: auto; }
.cc-payment-link { display: inline-block; text-decoration: none; }
@media (max-width: 767px) {
    .biography-page__content .content__inner { display: flex; flex-direction: column; }
    .biography-page__content :is(.content__main, .content__aside, .biography-main, .biography-aside, .biography-main__intro) {
        width: 100%; min-width: 0; max-width: 100%; flex-basis: auto; margin-inline: 0;
    }
    .biography-page__content :is(p, h1, h2, h3) { max-width: 100%; overflow-wrap: anywhere; }
    .biography-main__columns { grid-template-columns: minmax(0, 1fr); }
    .biography-main__image { max-width: 100%; height: auto; }
    .school-life-page .content__main { width: 100%; min-width: 0; max-width: 100%; }
    .school-life-page :is(.school-life-card, .school-life-card__grid, .school-life-environment__text, .primary-text-right) { min-width: 0; max-width: 100%; }
    .school-life-page :is(.school-life-card__grid, .school-life-docs__list) { grid-template-columns: minmax(0, 1fr); }
    .event-single__title { font-size: clamp(28px, 8vw, 50px); overflow-wrap: anywhere; }
    .event-single :is(img,video,iframe,figure), .event-content :is(img,video,iframe,figure) { max-width: 100%; }
    .event-single figure { margin-inline: 0; }
}
@media (max-width: 767px) {
    .event-single__inner { display: flex; flex-direction: column; }
    .event-single :is(.event-single__content, .event-single__body, .event-single__lead, .event-single__quote, .event-single__slider) { width: 100%; min-width: 0; max-width: 100%; }
    .event-single :is(.pr-111, .pr-344) { padding-right: 0; }
    .school-life-page :is(.school-life-card__grid, .school-life-environment__text) { width: 100%; }
    .biography-main__intro, .biography-main__lead, .biography-main__quote { width: 100%; padding-right: 0; }
}
@media (max-width: 767px) {
    .school-life-page .school-life-culture { width: 100%; max-width: 100%; }
    .school-life-page .school-life-card { width: 100%; padding: 24px; }
    .school-life-page .school-life-card__title { min-width: 0; overflow-wrap: anywhere; }
    .school-life-page .school-life-card__top { gap: 12px; }
    .school-life-page .school-life-card__controls { flex-shrink: 0; }
}
@media (max-width: 767px) {
    .archive-event__content { min-width: 0; }
    .archive-event__tags.tags { flex-wrap: wrap; }
    .archive-event__tags .tags__item { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}

.event-single__video video { display: block; width: 100%; height: auto; max-width: 100%; }
.event-single__video figcaption { margin-top: 12px; }

/* Client review 29.10: common article grid, rich text and stable tag labels. */
.media-single__article{max-width:867px;margin-inline:auto;min-width:0}
.media-single__title,.media-single__lead,.media-single__body{padding-right:0;max-width:100%}
.media-single__body{max-width:634px}
.media-single__figure{width:100%;max-width:867px;margin:28px 0}
.media-single__image{width:100%;max-height:650px;height:auto;aspect-ratio:auto;object-fit:contain}
.media-single__body img,.media-single__body iframe,.media-single__body video{max-width:100%;height:auto}
.media-single__body iframe{width:100%;aspect-ratio:16/9}
.tags{flex-wrap:wrap;gap:6px}
li.tags__item,.archive-event__tags .tags__item{white-space:nowrap;overflow-wrap:normal;word-break:normal;max-width:none;flex-shrink:0}
.event-single__tags,.event-card__tags,.archive-event__tags{max-width:100%}
.cc-article-cover{margin:24px 0 32px;max-width:867px}
.cc-article-cover img{display:block;width:auto;max-width:100%;max-height:620px;height:auto;object-fit:contain}
.event-single__inner{padding-top:40px}
.cc-flex-new-page,.page-content{font-size:20px;line-height:1.5}
.cc-flex-new-page :is(h1,h2,h3,h4),.page-content :is(h1,h2,h3,h4){font-family:'Noto Serif',serif;line-height:1.15;margin:1.2em 0 .5em}
.cc-flex-new-page h1,.page-content h1{font-size:48px}
.cc-flex-new-page h2,.page-content h2{font-size:36px}
.cc-flex-new-page h3,.page-content h3{font-size:28px}
.cc-flex-new-page h4,.page-content h4{font-size:23px}
.cc-flex-new-page p,.page-content p{margin:0 0 1em}
.cc-flex-new-page :is(ul,ol),.page-content :is(ul,ol){padding-left:1.4em;margin:1em 0}
.cc-flex-new-page ul,.page-content ul{list-style:disc}
.cc-flex-new-page ol,.page-content ol{list-style:decimal}
.cc-flex-new-page li,.page-content li{margin:.4em 0}
.cc-flex-new-page blockquote,.page-content blockquote{border-left:3px solid #c7c7c7;padding-left:1em;margin:1.2em 0;font-style:italic}
.cc-flex-new-page :is(strong,b),.page-content :is(strong,b){font-weight:700}
.cc-flex-new-page :is(em,i),.page-content :is(em,i){font-style:italic}
.cc-flex-new-page :is(img,video,iframe),.page-content :is(img,video,iframe){max-width:100%}
.school-life__text p+p{margin-top:1em}
.school-life__text p:empty{min-height:1em}
@media(max-width:767px){
 .media-single__article{width:100%;max-width:100%}.media-single__wrap{width:100%;min-width:0}
 .media-single__title{font-size:32px;line-height:1.05}.media-single__lead{font-size:22px;line-height:1.3}
 .media-single__body{font-size:18px;line-height:1.45}.media-single__figure{margin-block:24px}
 .cc-flex-new-page h1,.page-content h1{font-size:34px}.cc-flex-new-page h2,.page-content h2{font-size:28px}.cc-flex-new-page h3,.page-content h3{font-size:24px}
 .event-single__inner{padding-top:24px}
 .tags{row-gap:6px}.tags__item{font-size:12px}
}

[id]{scroll-margin-top:var(--cc-anchor-offset,124px)}

.school-life__lead p,.community__text p{font:inherit;line-height:inherit;margin:0 0 1em}
.cc-rich-text :is(strong,b){font-weight:700}.cc-rich-text :is(em,i){font-style:italic}
.cc-rich-text :is(h1,h2,h3,h4){font-family:'Noto Serif',serif;line-height:1.2;margin:1em 0 .5em}
.cc-rich-text h2{font-size:1.5em}.cc-rich-text h3{font-size:1.25em}.cc-rich-text :is(ul,ol){margin:1em 0;padding-left:1.4em}.cc-rich-text ul{list-style:disc}.cc-rich-text ol{list-style:decimal}
.cc-rich-text blockquote{margin:1em 0;padding-left:1em;border-left:3px solid currentColor;font-style:italic}

.media-single__wrap{width:978px;max-width:100%;margin-left:auto}.media-single__article{margin-left:0;margin-right:0}

.cc-school-section{margin-block:70px}.cc-school-section>h2{margin-bottom:32px}.cc-school-section .cc-rich-text{font-size:22px;line-height:1.4}.cc-school-section .cc-rich-text p{margin-bottom:1em}
.cc-results-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:30px 0}.cc-results-gallery img{display:block;width:100%;height:auto}
.cc-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.cc-book-card img{display:block;width:auto;max-width:100%;height:260px;object-fit:contain;margin-bottom:15px}.cc-book-card .organization-file{margin:10px 0}
.cc-migrated-text{font-size:20px;line-height:1.45}.cc-migrated-text p{margin-bottom:1em}.cc-migrated-text h2{font-size:32px;line-height:1.2;margin:1.2em 0 .6em}.cc-migrated-text img{max-width:100%;height:auto}.cc-migrated-text table{width:100%;margin:25px 0}.cc-migrated-text td{padding:8px;border-bottom:1px solid #ccc}.cc-migrated-text :is(ul,ol){padding-left:1.5em}.cc-migrated-text ol{list-style:decimal}.cc-migrated-text ul{list-style:disc}
.side-menu__sublink{display:block}.admission-intro__lead{line-height:1.3}
@media(max-width:767px){.cc-book-grid,.cc-results-gallery{grid-template-columns:1fr}.cc-school-section .cc-rich-text{font-size:18px}.cc-migrated-text{font-size:18px}.cc-migrated-text h2{font-size:26px}}

.cc-book-card img{height:auto;max-height:240px}.tags li.tags__item{max-width:100%;overflow:hidden;text-overflow:ellipsis}.tags__item a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.calendar-month-select{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:4px 8px}.calendar-month-select:hover{text-decoration:underline}.calendar-month-select[aria-pressed=true]{background:#eded7c}.calendar-month-select:focus-visible{outline:2px solid #222;outline-offset:2px}

.media-single__inner.container {
    width: 1310px;
}

.search-page .search-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
}
.search-page .search-page__grid > article {
    width: 100% !important;
    max-width: none;
    min-width: 0;
}
.search-page__text-card { overflow-wrap: anywhere; }
.search-page__summary { font-size: 18px; line-height: 1.4; margin-top: 12px; }
@media (max-width: 767px) {
    .search-page .search-page__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }
    .search-page__form { gap: 12px; margin-bottom: 36px; }
    .search-page__input { min-width: 0; font-size: 24px; }
    .search-page .search-page__clear {
        position: static;
        order: 2;
        width: 24px;
        height: 24px;
    }
    .search-page__clear img { width: 100%; height: 100%; }
    .search-page__submit { order: 3; }
    .search-page__icon { width: 24px; height: 24px; }
    .search-page__grid :is(.event-card__image, .media-card__image) {
        width: 100%;
        max-width: 100%;
    }
}

/* Keep biography content within the page on tablets and phones. */
.teacher-bio,
.teacher-bio__section,
.teacher-gallery,
.teacher-achievements {
    max-width: 100%;
    min-width: 0;
}
.teacher-bio__portrait {
    max-width: min(420px, 100%);
}
.teacher-bio__text {
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    .teacher-biography-page__content {
        padding-top: 32px;
        padding-bottom: 48px;
    }
    .teacher-bio,
    .teacher-bio__section,
    .teacher-gallery,
    .teacher-achievements {
        width: 100%;
    }
    .teacher-bio__title {
        font-size: 32px;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }
    .teacher-bio__position {
        line-height: 1.35;
    }
    .teacher-bio__header,
    .teacher-bio__portrait,
    .teacher-bio__section {
        margin-bottom: 28px;
    }
    .teacher-bio__section-title,
    .teacher-achievements .teacher-bio__section-title {
        font-size: 20px;
        line-height: 1.25;
        margin-bottom: 20px;
    }
    .teacher-bio__text {
        font-size: 18px;
        line-height: 1.45;
    }
    .teacher-bio__text p {
        text-align: left !important;
    }
    .teacher-bio__text p + p {
        margin-top: 20px;
    }
    .teacher-achievements__columns {
        grid-template-columns: minmax(0, 1fr);
    }
}

.organization-food-page .cc-rich-text a {
    text-decoration-line: underline;
    text-decoration-color: currentColor;
    text-underline-offset: .15em;
}
.organization-food-page .cc-rich-text a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Study-load pages share the school section's content column. */
:is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-flex-new-page .container {
    display: grid;
    grid-template-columns: 17% minmax(0, 1fr);
    row-gap: 40px;
    padding-top: 64px;
    padding-bottom: 80px;
}
:is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-flex-new-page .container > * {
    grid-column: 2;
    min-width: 0;
    width: 100%;
    max-width: 867px;
}
:is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-flex-new-page h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
    font-style: italic;
}
:is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-migrated-text {
    font-size: 22px;
    line-height: 1.45;
}
:is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-migrated-text :is(h2,h3,h4) {
    margin: 40px 0 24px;
    font-size: 30px;
    line-height: 1.2;
}
:is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-migrated-text a {
    text-decoration: underline;
    text-underline-offset: .15em;
    overflow-wrap: anywhere;
}
:is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-migrated-text a[href$=".pdf"] {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
}
:is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-migrated-text a[href$=".pdf"]::before {
    content: 'PDF';
    flex: 0 0 auto;
    color: #666;
}
@media(max-width:767px) {
    :is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-flex-new-page .container {
        grid-template-columns: minmax(0,1fr);
        row-gap: 28px;
        padding-top: 32px;
        padding-bottom: 48px;
    }
    :is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-flex-new-page .container > * { grid-column: 1; }
    :is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-flex-new-page h1 { font-size: 32px; }
    :is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-migrated-text { font-size: 18px; }
    :is(.page-id-13601,.page-id-13602,.page-id-13603) .cc-migrated-text :is(h2,h3,h4) { font-size: 24px; }
}

.organization-methodical-documents-page .organization-file {
    font-size: 22px;
    line-height: 1.4;
    align-items: baseline;
    gap: 24px;
    margin-block: 0;
    padding-block: 16px;
}
.organization-methodical-documents-page .organization-file__name {
    font-size: inherit;
    line-height: inherit;
    padding-right: 0;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.organization-methodical-documents-page .organization-file__type {
    flex: 0 0 auto;
}
@media(max-width:767px) {
    .organization-methodical-documents-page .organization-file {
        font-size: 18px;
        gap: 14px;
        padding-block: 12px;
    }
}

@media (max-width: 767px) {
    .header--fixed svg.logo__icon2 {
        top: 0;
    }
}

/* Align article text and photos on one centered content column. */
.media-single__wrap {
    width: 867px;
    max-width: 100%;
    margin-inline: auto;
}
.media-single__figure {
    max-width: 100%;
    margin-inline: 0;
}
.media-single__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
}
.media-single__body .wp-caption {
    max-width: 100%;
    margin-inline: 0;
    float: none;
}
.media-single__body .wp-caption img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Preserve formatting entered in the organization prose editors. */
.organization .cc-org-rich-text p { margin: 0 0 .65em; }
.organization .cc-org-rich-text > :first-child { margin-top: 0; }
.organization .cc-org-rich-text > :last-child { margin-bottom: 0; }
.organization .organization-detail__text.cc-org-rich-text :is(h2,h3,h4,h5,h6) {
    display: block;
    font-weight: 600;
    line-height: 1.3;
    margin: 1em 0 .5em;
}
.organization .organization-detail__text.cc-org-rich-text h2 { font-size: 1.3em; }
.organization .organization-detail__text.cc-org-rich-text h3 { font-size: 1.15em; }
.organization .organization-detail__text.cc-org-rich-text :is(h4,h5,h6) { font-size: 1em; }
.organization .organization-detail__text.cc-org-rich-text > :first-child { margin-top: 0; }
.organization .cc-org-rich-text :is(ul,ol) { padding-left: 1.4em; margin-block: .65em; }
.organization .cc-org-rich-text ul { list-style: disc; }
.organization .cc-org-rich-text ol { list-style: decimal; }
.page-id-1369 .organization-file-list > .organization-file { margin-block: 0; padding-block: 16px; }
@media(max-width:767px) {
    .page-id-1369 .organization-file-list > .organization-file { padding-block: 12px; }
}
