/* Shared subpage visual and spacing system. Main and maintenance pages are unaffected. */
.sub-hero{padding:44px 0;background:linear-gradient(115deg,#edf5f7 0%,#f4f8f5 100%);overflow:hidden}
.sub-hero-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:64px;align-items:center;min-height:280px}
.sub-hero-copy{min-width:0;animation:hero-enter .65s ease-out both}
.sub-hero .eyebrow{margin:0;color:#006b72;letter-spacing:.12em;font-size:12px;font-weight:700;line-height:1.5}
.sub-hero h1{margin:18px 0 20px;font-size:clamp(32px,3.6vw,50px);line-height:1.25;word-break:keep-all}
.sub-hero .sub-hero-lead{margin:0;max-width:640px;font-size:16px;line-height:1.85;word-break:keep-all}
.sub-hero-art{position:relative;width:100%;max-width:460px;justify-self:end;animation:hero-enter .8s ease-out both}
.sub-hero-art img{display:block;width:100%;height:260px;object-fit:contain;border-radius:24px}
.sub-hero-art.is-photo{padding:0 16px 18px 0}
.sub-hero-art.is-photo:before{content:'';position:absolute;inset:18px 0 0 18px;border-radius:24px;background:#cce5df}
.sub-hero-art.is-photo img{position:relative;object-fit:cover;object-position:center 42%}
.hero-caption{position:absolute;bottom:2px;right:0;padding:12px 18px;background:#fff;color:#006b72;border:1px solid #dce6e8;border-radius:12px;font-size:12px;font-weight:700;box-shadow:0 8px 24px #073f480b;animation:hero-float 5s ease-in-out 1s 2}
@keyframes hero-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes hero-float{50%{transform:translateY(-5px)}}
.page-content{--section-space:56px;--content-space:24px;display:flex;flex-direction:column;gap:var(--section-space);padding-top:64px;padding-bottom:80px}
.page-content>.content-section{display:flex;flex-direction:column;align-items:stretch;gap:var(--content-space);min-width:0}
.page-content .content-section>*,.page-content>.faq-list{margin-top:0;margin-bottom:0}
.page-content .content-section>h2{line-height:1.35;word-break:keep-all}
.page-content .content-section>h2+p{margin-top:-8px}
.page-content .content-section>.button{align-self:flex-start}
.page-content .feature-split{gap:48px;margin:0;min-width:0}
.page-content .feature-split>div{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:0}
.page-content .feature-split>div>*{margin-top:0;margin-bottom:0}
.page-content .feature-split>img{height:auto;max-height:390px;object-fit:cover;aspect-ratio:4/3}
.page-content .info-grid{gap:24px}
.page-content .info-card{padding:30px;min-width:0}
.page-content .info-card h3{margin:0 0 12px;line-height:1.4}
.page-content .info-card p{margin:0;line-height:1.85}
.page-content .info-card p+p{margin-top:12px}
.page-content .info-card>.button{margin-top:20px}
.page-content .info-card>img{margin-bottom:20px}
.page-content .subject-card img{margin:0}
.page-content .fact-band{padding:32px;gap:24px}
.page-content .flow{gap:16px}
.page-content .flow li{padding:24px;line-height:1.7}
.page-content .note,.page-content .gallery-note{padding:24px;line-height:1.85}
.page-content .privacy-copy h3{margin:32px 0 12px}
.page-content .privacy-copy h3:first-child{margin-top:0}
.board-wrap{padding-top:64px;padding-bottom:80px}
@media(max-width:900px){
 .sub-hero{padding:40px 0}.sub-hero-layout{gap:24px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);min-height:230px}
 .sub-hero-art img{height:220px}.sub-hero h1{font-size:34px}.sub-hero .sub-hero-lead{font-size:15px}
 .page-content{--section-space:40px;--content-space:20px;padding-top:40px;padding-bottom:56px}
 .page-content .feature-split{gap:24px}.page-content .info-grid{gap:20px}.page-content .info-card{padding:24px}
 .board-wrap{padding-top:40px;padding-bottom:56px}
}
@media(max-width:600px){
 .sub-hero{padding:32px 0 28px}.sub-hero-layout{grid-template-columns:1fr;gap:24px;min-height:0}
 .sub-hero h1{font-size:32px;margin:14px 0 16px}.sub-hero .eyebrow{font-size:10px}
 .sub-hero-art{max-width:340px;justify-self:center}.sub-hero-art img{height:190px}.sub-hero-art.is-photo img{height:190px;object-position:center 40%}
 .hero-caption{padding:10px 14px;font-size:11px}.page-content .fact-band{padding:24px;gap:16px;grid-template-columns:1fr}
 .page-content .fact-band>div{padding-bottom:16px;border-bottom:1px solid #ffffff25}.page-content .fact-band>div:last-child{padding-bottom:0;border:0}
 .page-content .note,.page-content .gallery-note{padding:20px}.page-content .content-section>h2{font-size:28px}
 .page-content table{font-size:12px;table-layout:fixed}.page-content th,.page-content td{padding:12px 8px;overflow-wrap:anywhere}
 .page-content .location-phone{font-size:clamp(22px,6.5vw,30px);padding:16px}
}
@media(prefers-reduced-motion:reduce){.sub-hero-copy,.sub-hero-art,.hero-caption{animation:none}}

/* Compact people-led heroes: desktop 368 -> 288px; mobile reduced by 80px. */
.sub-hero{padding:14px 0}
.sub-hero-layout{min-height:260px}
.sub-hero-art img{border-radius:0;object-fit:contain}
@media(max-width:900px) and (min-width:601px){.sub-hero{padding:5px 0}.sub-hero-layout{min-height:220px}}
@media(max-width:600px){.sub-hero{padding:12px 0}.sub-hero-layout{gap:10px;min-height:0}.sub-hero-art img{height:160px}}

/* Related navigation stays under the hero; category links filter only the list. */
.board-wrap #bo_cate{margin:0 0 24px}
.board-wrap #bo_cate h2{position:static;font-size:14px;line-height:1.5;color:var(--ink);margin:0 0 12px}
.board-wrap #bo_cate ul{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0}
.board-wrap #bo_cate li{padding:0}
.board-wrap #bo_cate a{padding:7px 14px;line-height:1.5;color:#006b72;background:white;border:1px solid #c4dada;box-shadow:none}
.board-wrap #bo_cate a:hover,.board-wrap #bo_cate a:focus-visible{color:#073f48;background:#edf5f7;border-color:#006b72}
.board-wrap #bo_cate #bo_cate_on{color:white;background:#006b72;border-color:#006b72;box-shadow:none}
.board-wrap #bo_cate a:focus-visible{outline:2px solid #006b72;outline-offset:2px}
.board-wrap #bo_list_total{color:var(--muted)}
@media(max-width:900px){.board-wrap #bo_cate{margin-bottom:20px}}

.page-content .teacher-profile h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px}
.teacher-profile h3 small{font-size:14px;color:var(--teal-bright)}
.teacher-profile dl{display:grid;grid-template-columns:5em minmax(0,1fr);gap:12px 16px;margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line);font-size:15px;line-height:1.7}
.teacher-profile dt{color:var(--teal);font-weight:700}
.teacher-profile dd{margin:0;word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:600px){.teacher-profile dl{gap:10px;font-size:14px}}

.staff-heading{display:flex;align-items:center;gap:18px}
.staff-portrait{display:block;width:72px;height:90px;flex:0 0 72px;overflow:hidden;border-radius:5px;background:var(--ice)}
.page-content .staff-heading h3{margin:0}
.page-content .staff-heading h3 small{display:block}
.page-content .teacher-profile .staff-heading h3{display:block}

.page-content .teacher-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,490px),1fr))}
.teacher-profile img.staff-portrait{width:clamp(84px,22vw,96px);height:auto;flex:none;margin:0;border-radius:5px}
@media(min-width:560px){
 .teacher-profile{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:start;gap:22px}
 .teacher-profile .staff-heading{flex-direction:column;align-items:flex-start;gap:12px}
 .page-content .teacher-profile>h3{display:block;margin:0}
 .teacher-profile>h3 small{display:block}
 .teacher-profile dl{margin:0;padding:0;border:0;grid-template-columns:4.5em minmax(0,1fr);column-gap:10px}
}.utility a.utility-phone{display:inline-flex;align-items:center;min-height:24px;padding:0 14px;border-radius:999px;background:#daf374;color:#073f48;font-size:12px;line-height:1;font-weight:700;letter-spacing:.02em;text-decoration:none}.utility a.utility-phone:hover{background:#e6fa93}.utility a.utility-phone:focus-visible{outline:2px solid white;outline-offset:2px}

@media (max-width:900px) {
  .mobile-contact{padding-right:102px}
  .mobile-contact a{min-height:55px}
  .font-test-toggle{bottom:env(safe-area-inset-bottom);right:0;width:102px;height:55px;padding:0 4px;border:0;border-radius:0;box-shadow:none}
  .font-tester{bottom:calc(65px + env(safe-area-inset-bottom));max-height:calc(100dvh - 84px)}

}
@media (max-width:360px) {
  .wrap.header-row{width:calc(100% - 16px);gap:2px}
  .header-row .header-cta{white-space:nowrap}
  .mobile-contact a{font-size:13px}
}
.schedule-compare{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:18px}
.schedule-compare th,.schedule-compare td{padding:12px 6px;text-align:center;border-bottom:1px solid var(--line)}
.schedule-compare thead th{color:white;background:#006b72}
.schedule-compare th:first-child{width:20%}
.schedule-compare tbody th{background:var(--ice)}

.cohort-section{padding-block:clamp(28px,4vw,58px) 0}
.cohort-info,.cohort-row,.cohort-empty{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.cohort-info{font-size:.88rem;line-height:1.5;color:#32555b;margin:.4rem 0;white-space:normal}
.cohort-info span{background:#edf5f5;padding:.22em .7em;border-radius:1em;overflow-wrap:anywhere}
.cohort-info span:first-child{background:#006b72;color:white}
.cohort-row,.cohort-empty{padding:1rem 0;justify-content:space-between;border-bottom:1px solid #d6e5e6}
.cohort-row strong{overflow-wrap:anywhere}
.cohort-empty a{color:#006b72;text-decoration:underline}
#bo_w .cohort-fields{margin:0 0 20px;padding:16px;border:1px solid #d6e5e6;border-radius:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:14px}
.cohort-fields legend{padding:0 .4em;font-weight:bold}
#bo_w .cohort-fields label{display:grid;align-content:start;gap:6px;font-weight:600}
#bo_w .cohort-fields input,#bo_w .cohort-fields select{width:100%;min-width:0;height:42px;padding:0 8px;border:1px solid #afc9cb;border-radius:6px;background:white;color:inherit;font:inherit}
.cohort-fields small{font-weight:400}
@media (max-width:640px){
  .board-wrap #bo_list.cohort-board thead th:last-child,
  .board-wrap #bo_list.cohort-board .td_datetime{display:none}
  .cohort-row{display:block}
  .cohort-info{display:flex;align-items:baseline;gap:5px 7px;text-align:left;margin:8px 0;min-width:0}
  .cohort-info .cohort-name,.cohort-info .cohort-date{flex:0 0 100%;background:none;color:#16464b;padding:0;border-radius:0}
  .cohort-info .cohort-name{order:-1;font-weight:700;word-break:keep-all}
  .cohort-info .cohort-date{padding-top:2px;font-variant-numeric:tabular-nums}
  .cohort-info :is(.cohort-status,.cohort-track,.cohort-shift){white-space:nowrap}
}
/* Text-only instructor profiles. */
.page-content .teacher-profile{display:block}
.page-content .teacher-profile .staff-heading{display:block}
.page-content .teacher-profile .staff-heading h3{font-size:24px;line-height:1.4}
.page-content .teacher-profile .staff-heading h3 small{margin-top:5px;font-size:14px}
.page-content .teacher-profile dl{margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line);grid-template-columns:4.5em minmax(0,1fr);gap:12px 16px}
@media(max-width:600px){.page-content .teacher-profile dl{gap:10px;font-size:14px}}
@media(max-width:600px){
 .page-content .teacher-grid{grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
 .page-content .teacher-profile{padding:22px;min-height:0}
 .page-content .teacher-profile .staff-heading h3{margin:0;line-height:1.4}
 .page-content .teacher-profile .staff-heading h3 small{margin:5px 0 0;line-height:1.6}
 .page-content .teacher-profile dl{margin-top:16px;padding-top:16px;row-gap:12px;column-gap:12px;line-height:1.75}
}
.page-content .staff-management .staff-heading{display:block}
.page-content .staff-management .staff-heading h3{margin:0;font-size:24px;line-height:1.4}
.page-content .staff-management .staff-heading h3 small{display:block;margin:5px 0 0;font-size:14px;color:var(--teal-bright)}
@media(max-width:600px){
 .page-content .staff-management{grid-template-columns:minmax(0,1fr);gap:16px}
 .page-content .staff-management .info-card{padding:22px;min-height:0}
 .page-content .staff-management .staff-heading h3 small{line-height:1.6}
}
.page-content:has(>.staff-section){--section-space:56px}
.page-content .staff-section{gap:24px}
.page-content .staff-section-heading{display:flex;flex-direction:column;gap:12px}
.page-content .staff-section-heading>h2,.page-content .staff-section-heading>p{margin:0}
.page-content .staff-section-heading>h2{line-height:1.35;word-break:keep-all}
@media(max-width:900px){
 .page-content:has(>.staff-section){--section-space:40px}
 .page-content .staff-section{gap:20px}
 .page-content .staff-section-heading{gap:10px}
}
.page-content:has(>.academy-section){--section-space:56px}
.page-content .academy-section{gap:24px}
.page-content .academy-section-heading{display:flex;flex-direction:column;gap:12px}
.page-content .academy-section-heading>*{margin:0}
.page-content .academy-section h2{line-height:1.35;word-break:keep-all}
.page-content .academy-section .info-grid{gap:24px}
@media(max-width:900px){
 .page-content:has(>.academy-section){--section-space:40px}
 .page-content .academy-section{gap:20px}
 .page-content .academy-section-heading{gap:10px}
}
@media(max-width:600px){
 .page-content .academy-section .info-grid{gap:16px}
 .page-content .academy-section .info-card{padding:22px}
}
.page-content .location-section .feature-split{gap:48px;align-items:start}
.page-content .location-section .feature-split>div{gap:20px}
.page-content .location-section .feature-split>div h2{margin:0}
.page-content .location-section .location-map{display:flex;flex-direction:column;align-items:stretch;gap:24px}
.page-content .location-section .location-map>*{margin:0}
.page-content .location-section .location-map .button{align-self:flex-start;margin:0}
.page-content .location-section .location-phone{max-width:100%;box-sizing:border-box}
@media(max-width:900px){
 .page-content .location-section .feature-split{gap:24px}
 .page-content .location-section .feature-split>div{gap:16px}
 .page-content .location-section .location-map{gap:20px}
}
@media(max-width:600px){
 .page-content .location-section .location-map{padding:22px}
 .page-content .location-section .location-map iframe{height:300px}
}
/* Shared spacing across content pages, the main page and board entry points. */
.page-content .privacy-copy h2{margin:0 0 24px}
.page-content .content-section>.button{margin-top:0}
#main .section-head{margin-bottom:32px}
#main .section-head h2{margin:0;line-height:1.35}
#main .section,#main .course-section,#main .career-section,#main .news-section,#main .contact-section{padding-top:88px;padding-bottom:88px}
@media(max-width:900px){
 .page-content .privacy-copy h2{margin-bottom:20px}
}
@media(max-width:600px){
 .page-content .info-grid{gap:16px}
 .page-content .info-card{padding:22px}
 #main .section-head{margin-bottom:24px}
 #main .section,#main .course-section,#main .career-section,#main .news-section,#main .contact-section{padding-top:56px;padding-bottom:56px}
}
@media(min-width:601px) and (max-width:900px){
 .page-content .info-grid,.page-content .academy-section .info-grid{gap:20px}
 #main .section,#main .course-section,#main .career-section,#main .news-section,#main .contact-section{padding-top:64px;padding-bottom:64px}
 #main .section-head{margin-bottom:28px}
}
@media(min-width:901px) and (max-width:1100px){
 #main .section-head{align-items:flex-start;flex-direction:column;gap:20px}
}
.page-content p a:not(.button){color:#006b72;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.page-content p a:not(.button):hover{color:#073f48;text-decoration-thickness:2px}
.page-content p a:not(.button):focus-visible{outline:2px solid #006b72;outline-offset:4px;border-radius:2px}
.page-content .key-answer{padding:28px 30px;background:#edf5f7;border:1px solid #dce6e8;border-radius:16px}
.key-answer dl{display:grid;grid-template-columns:6em minmax(0,1fr);gap:16px 20px;line-height:1.85}
.key-answer dt{font-weight:700;color:#006b72}
.key-answer dd{margin:0;overflow-wrap:anywhere}
@media(max-width:600px){
 .page-content .key-answer{padding:22px}
 .page-content .key-answer h2{font-size:24px}
 .key-answer dl{grid-template-columns:minmax(0,1fr);gap:6px}
 .key-answer dd+dt{margin-top:10px}
}