/* The campus guide base also serves campuses created after the original Elementor rollout. */
@layer campus-baseline {
.ce-section{padding:48px 3.6%;color:#0A2853;background:white}.ce-pale{background:#F5F8FC}.ce-section h2{font-size:clamp(28px,3vw,42px);margin:8px 0 20px}.ce-section h3{font-size:23px;margin:12px 0}.ce-section p{font-size:17px;line-height:1.65;max-width:68ch}.ce-label{font-size:12px;letter-spacing:.12em;font-weight:800;color:#176b86}.ce-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.ce-three article{background:#fff;padding:24px;border:1px solid #dae4ee;border-radius:16px}.ce-icon{display:inline-grid;place-items:center;color:#0A2853;background:#dff5fc;border-radius:50%;width:44px;height:44px;font-size:28px}.ce-links{display:flex;gap:24px;flex-wrap:wrap}.ce-section a{color:#0A2853;text-decoration:underline;font-weight:700}.ce-section a:hover{color:#126783}.ce-section a:focus-visible,.ce-section summary:focus-visible{outline:3px solid #0A2853;outline-offset:4px}.ce-prep{max-width:850px;padding-left:26px}.ce-prep li{padding:8px 0 8px 10px;font-size:17px;line-height:1.6}.ce-prep li::marker{color:#117c9c;font-weight:800}.ce-faq{max-width:1050px}.ce-faq details{border-bottom:1px solid #ccd9e6}.ce-faq summary{cursor:pointer;font-size:18px;font-weight:700;padding:20px 34px 20px 0;position:relative;list-style:none}.ce-faq summary::after{content:'+';position:absolute;right:6px;top:16px;font-size:26px;transition:transform 200ms}.ce-faq details[open] summary::after{transform:rotate(45deg)}.ce-faq summary:hover{color:#127f9e}.ce-faq details p{margin:0 0 20px}.ce-visit-grid{display:grid!important;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.ce-visit-info p{max-width:65ch}.ce-visit-grid iframe{width:100%;min-height:330px;border-radius:16px}.ce-nearby article a{font-size:21px}.ce-nearby small{display:block;margin-top:12px}.ce-finish{background:#F5F8FC;padding:52px 3.6%}.ce-finish-panel{background:white;padding:32px;border:1px solid #dce5ee;border-left:6px solid #F8C400;border-radius:18px;box-shadow:0 8px 24px #0a285309;max-width:1250px;display:flex;align-items:center;gap:32px}.ce-finish-panel h2{font-size:32px;margin:0 0 10px;color:#0A2853}.ce-finish-panel p{margin:0;color:#0A2853}.ce-primary{display:inline-block;background:#F8C400;color:#0A2853!important;padding:15px 22px;border-radius:9px;font-weight:800;text-decoration:none!important;white-space:normal}.ce-primary:hover{background:#e4b400}.ce-finish-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;min-width:245px}.ce-finish-actions a{color:#0A2853;font-weight:700}.ce-finish a:focus-visible{outline:3px solid #0A2853;outline-offset:4px}@media(max-width:767px){.ce-section{padding:32px 18px}.ce-three,.ce-visit-grid{grid-template-columns:1fr!important;gap:16px}.ce-three article{padding:20px}.ce-finish{padding:30px 18px}.ce-finish-panel{display:block;padding:24px 18px}.ce-finish-panel h2{font-size:28px}.ce-finish-actions{margin-top:22px;min-width:0}.ce-primary{width:100%;text-align:center}.ce-visit-grid iframe{min-height:270px}.ce-faq summary{font-size:17px}.ce-links{gap:14px}}@media(prefers-reduced-motion:reduce){.ce-faq summary::after{transition:none}}
}
/* One footprint and one photographic treatment for every campus guide. */
body .ta2-campus-header {
  --campus-navy:#0a2853; --focus-x:50%; --focus-y:50%; --mobile-x:var(--focus-x); --mobile-y:var(--focus-y);
  position:relative; isolation:isolate; box-sizing:border-box; overflow:hidden;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:stretch;
  width:100%; max-width:none; margin:0; padding:0; border-radius:0;
  background:linear-gradient(108deg,#071e42 0%,#0a305f 38%,#2452d6 62%,#1453ad 100%); color:white;
}
body .ta2-campus-header-copy {
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
  padding:clamp(30px,3.4vw,54px) clamp(16px,2.5vw,42px) clamp(30px,3.4vw,54px) max(4.4vw,calc((100vw - 1390px)/2));
  min-width:0; order:0; z-index:1;
}
body .ta2-campus-header-copy p {max-width:52ch; margin:0; color:#fff; font-family:inherit;}
body .ta2-campus-header .ta2-campus-kind {color:#a9eaff; text-transform:uppercase; font-size:.77rem;font-weight:800; line-height:1.3;letter-spacing:.11em;}
body .ta2-campus-header h1 {color:white!important; margin:.16em 0 .23em; max-width:23ch;
  font-family:"Academy Barlow","Barlow Condensed","Barlow Semi Condensed","Arial Narrow",sans-serif; font-weight:750;
  font-size:clamp(2.55rem,3.75vw,4.35rem)!important; line-height:1.02!important; letter-spacing:-.024em;}
body .ta2-campus-header .ta2-campus-intro {line-height:1.45; font-size:clamp(.98rem,1.2vw,1.1rem);}
body .ta2-campus-header .ta2-campus-place {margin-top:12px;color:#fff;font-size:clamp(1rem,1.26vw,1.14rem);line-height:1.35;font-weight:750;}
.ta2-campus-header-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:19px;}
body .ta2-campus-header .ta2-campus-header-actions a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:0;
padding:10px 17px;border:1px solid transparent;border-radius:8px;font-size:1rem;font-weight:750;line-height:1.18;text-decoration:none;box-shadow:none;}
body .ta2-campus-header .ta2-way-primary,body .ta2-campus-header .ta2-way-primary:visited {background:#f8c400;color:#0a2853!important;}
body .ta2-campus-header .ta2-way-primary:hover {background:#ffda48;color:#071e42!important;}
body .ta2-campus-header .ta2-way-secondary,body .ta2-campus-header .ta2-way-secondary:visited {color:white!important;background:#133d75;border-color:#9bbfe9;}
body .ta2-campus-header .ta2-way-secondary:hover {background:#204e8d;}
body .ta2-campus-header a:focus-visible {outline:3px solid #fff; outline-offset:3px;}
.ta2-campus-header-media {position:relative;align-self:stretch;overflow:hidden;isolation:isolate;
  min-height:282px;margin:0!important;padding:0;display:block!important;background:#18b7e6;
  clip-path:polygon(9.5% 0,100% 0,100% 100%,0 100%);}
.ta2-campus-picture {position:absolute;inset:0;background-color:#0a2853;
  clip-path:polygon(calc(9.5% + 3px) 0,100% 0,100% 100%,3px 100%);overflow:hidden;}
body .ta2-campus-header .ta2-way-exterior {position:absolute;inset:0;display:block;width:100%!important;height:100%!important;
  max-width:none!important;object-fit:cover;object-position:var(--focus-x) var(--focus-y);border-radius:0;}
body .ta2-campus-header .ta2-campus-header-logo {position:absolute;z-index:1;bottom:14px;left:max(25px,5.4%);
  display:grid;place-items:center;width:clamp(44px,4.1vw,62px);height:clamp(44px,4.1vw,62px);
  padding:5px;background:#fff;border:1px solid #fff;border-radius:11px;box-shadow:0 2px 9px #071e423b;}
.ta2-campus-header-logo img {width:100%!important;height:100%!important;object-fit:contain;display:block;}
.ta2-campus-header-media figcaption {position:absolute;right:8px;bottom:9px;padding:3px 7px;border-radius:4px;background:#071e42de;color:white;font-size:.74rem;line-height:1.3;}
.ta2-campus-header.is-compact .ta2-campus-picture::before,.ta2-campus-header.is-portrait .ta2-campus-picture::before {
  content:"";position:absolute;inset:-28px;background:linear-gradient(90deg,#072d57b0,#173e6625 66%),var(--campus-fill) center / cover;filter:blur(16px);}
body .ta2-campus-header.is-compact .ta2-way-exterior,body .ta2-campus-header.is-portrait .ta2-way-exterior {
  left:50%;top:50%;right:auto;bottom:auto;transform:translate(-46%,-50%);object-fit:contain;}
body .ta2-campus-header.is-portrait .ta2-way-exterior {width:auto!important;max-width:90%!important;height:100%!important;}
body .ta2-campus-header.is-compact .ta2-way-exterior {width:min(75%,409px)!important;height:auto!important;box-shadow:0 3px 22px #071e4242;border:1px solid #ffffff6b;border-radius:3px;}
/* Anchor real signs and arrivals within their own photographs. */
.ta2-campus-header.campus-framing-novi {--focus-x:52%;--focus-y:65%;--mobile-y:63%;}
.ta2-campus-header.campus-framing-plymouth {--focus-x:51%;--focus-y:47%;--mobile-y:51%;}
.ta2-campus-header.campus-framing-dow {--focus-x:56%;--focus-y:53%;}
.ta2-campus-header.campus-framing-bay-city-western {--focus-x:55%;--focus-y:65%;}
.ta2-campus-header.campus-framing-calvary {--focus-x:59%;--focus-y:60%;}
.ta2-campus-header.campus-framing-carrollton {--focus-x:52%;--focus-y:64%;}
.ta2-campus-header.campus-framing-freeland {--focus-x:65%;--focus-y:55%;}
.ta2-campus-header.campus-framing-heritage {--focus-x:77%;--focus-y:55%;}
.ta2-campus-header.campus-framing-john-glenn {--focus-x:48%;--focus-y:53%;}
.ta2-campus-header.campus-framing-midland-high {--focus-x:60%;--focus-y:51%;}
.ta2-campus-header.campus-framing-northville {--focus-x:57%;--mobile-x:61%;--focus-y:57%;}
.ta2-campus-header.campus-framing-novi-high {--focus-x:50%;--focus-y:58%;}
.ta2-campus-header.campus-framing-saginaw-united {--focus-x:50%;--focus-y:55%;}
.ta2-campus-header.campus-framing-valley-lutheran {--focus-x:51%;--focus-y:49%;}
.ta2-campus-header.campus-framing-saginaw {--focus-x:54%;--focus-y:58%;}
.ta2-campus-header[data-staff-crop="top"] {--focus-y:26%;}
.ta2-campus-header[data-staff-crop="left"] {--focus-x:25%;}
.ta2-campus-header[data-staff-crop="right"] {--focus-x:75%;}
.ta2-campus-header[data-staff-crop="left top"] {--focus-x:25%;--focus-y:26%;}
.ta2-campus-header[data-staff-crop="right top"] {--focus-x:75%;--focus-y:26%;}
.ta2-campus-header[data-staff-crop="bottom"]:not(.campus-framing-novi) {--focus-y:72%;}
.ta2-campus-header[data-staff-crop="left bottom"] {--focus-x:25%;--focus-y:72%;}
.ta2-campus-header[data-staff-crop="right bottom"] {--focus-x:75%;--focus-y:72%;}
#ta2-class-preview .ta2-campus-card .ta2-campus-links {display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:baseline!important;justify-content:flex-start!important;gap:6px 18px!important;}
#ta2-class-preview .ta2-campus-card .ta2-campus-links a {align-self:baseline!important;display:inline-flex;align-items:center;padding:6px 0!important;margin:0!important;line-height:1.3!important;}
.ta2-campus-guide-view .elementor .geneva-campus-layout {width:100%!important;max-width:none!important;padding:0!important;gap:0!important;display:block!important;}
.ta2-campus-guide-view .geneva-campus-layout > .elementor-widget {padding:0!important;max-width:none!important;width:100%!important;}
.ta2-campus-course-layout {display:grid;grid-template-columns:minmax(220px,.76fr) minmax(0,1.24fr);gap:clamp(22px,3vw,54px);
  padding:clamp(38px,4vw,64px) max(4.4vw,calc((100vw - 1390px)/2));background:white;color:#0a2853;}
.ta2-campus-course-intro h2,.ta2-campus-visit h2 {margin:7px 0 12px;color:#0a2853;}
.ta2-local-upcoming h3 {font-size:1.24rem!important;margin:16px 0 2px;}
.ta2-local-upcoming p {margin:.32em 0;}
.ta2-local-upcoming a,.ta2-campus-course-choices a {color:#1849ab;font-weight:750;text-decoration:underline;}
.ta2-campus-course-choices {display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch;}
.ta2-campus-course-choices article {background:#f5f8fc;border:1px solid #d6e5ef;border-radius:14px;padding:clamp(16px,2.25vw,32px);display:flex;flex-direction:column;align-items:start;}
.ta2-campus-course-choices h3 {margin:0 0 5px;font-size:1.45rem;color:#0a2853;}
.ta2-campus-course-choices p {margin:0 0 17px;line-height:1.5;}
.ta2-campus-course-choices a {margin-top:auto;display:inline-flex;font-weight:700;text-decoration:none;background:#174aa7;color:white!important;border-radius:7px;padding:10px 15px;}
.ta2-campus-visit .ce-map iframe {width:100%;min-height:200px;border:0;border-radius:12px;}
@media (max-width:900px) {
 body .ta2-campus-header h1 {font-size:clamp(2.2rem,4.5vw,3rem)!important;}
 .ta2-campus-course-layout {grid-template-columns:1fr;}
}
@media (max-width:760px) {
 body .ta2-campus-header {display:flex;flex-direction:column;}
 body .ta2-campus-header-copy {padding:21px clamp(16px,4.8vw,32px) 23px;}
 body .ta2-campus-header h1 {font-size:clamp(2.05rem,6.3vw,2.8rem)!important;max-width:25ch;}
 body .ta2-campus-header .ta2-campus-kind {font-size:.68rem;}
 body .ta2-campus-header .ta2-campus-intro {font-size:.92rem;line-height:1.38;}
 body .ta2-campus-header .ta2-campus-place {margin-top:9px;font-size:1rem;}
 .ta2-campus-header-actions {gap:8px;margin-top:14px;}
 body .ta2-campus-header .ta2-campus-header-actions a {font-size:.925rem;padding:9px 12px;min-height:43px;}
 .ta2-campus-header-media {width:100%;height:clamp(170px,48vw,258px);min-height:0;clip-path:none;border-top:3px solid #18b7e6;background:#0a2853;}
 .ta2-campus-picture {clip-path:none;}
 body .ta2-campus-header .ta2-way-exterior {object-position:var(--mobile-x) var(--mobile-y);}
 body .ta2-campus-header .ta2-campus-header-logo {bottom:9px;left:11px;width:38px;height:38px;padding:3px;border-radius:7px;}
 body .ta2-campus-header.is-compact .ta2-way-exterior {width:min(100%,400px)!important;border:none;box-shadow:none;border-radius:0;transform:translate(-50%,-50%);}
 body .ta2-campus-header.is-portrait .ta2-way-exterior {transform:translate(-50%,-50%);}
 .ta2-campus-header-media figcaption {font-size:.65rem;}
 .ta2-campus-course-layout {padding:26px 17px;gap:18px;}
 .ta2-campus-course-choices {grid-template-columns:1fr;gap:12px;}
}

/* The finder marks excluded campuses and offerings with the native hidden attribute. */
#ta2-class-preview.ta2-preview article.ta2-campus[hidden],
#ta2-class-preview.ta2-preview .ta2-location-panel[hidden],
#ta2-class-preview.ta2-preview .ta2-month-group[hidden],
#ta2-class-preview.ta2-preview .directory-class[hidden] { display: none !important; }

/* Keep the training car unobstructed and match section edges across the native and shared layouts. */
body .ta2-campus-header.campus-framing-novi .ta2-campus-header-logo {left:auto;bottom:auto;right:13px;top:13px;}
body.ta2-campus-guide-view {--campus-section-pad:max(4.4vw,calc((100vw - 1390px)/2));}
body.ta2-campus-guide-view .elementor :is(.ta2-campus-programs,.ta2-campus-course-layout,.ce-section,.ce-finish) {padding-inline:var(--campus-section-pad)!important;}
body.ta2-campus-guide-view .geneva-campus-layout .ce-finish-panel {margin:0;}
@media (max-width:760px) {
 body.ta2-campus-guide-view {--campus-section-pad:clamp(16px,4.8vw,32px);}
 body .ta2-campus-header.campus-framing-novi .ta2-campus-header-logo {right:9px;top:9px;}
}
/* The small church photo grows only to 1.5× its source. Fade the sky and tree edge into the same scene. */
@media (min-width:761px) {
 body .ta2-campus-header.is-compact .ta2-way-exterior {
   left:auto;right:0;bottom:0;top:auto;transform:none;width:min(85%,480px)!important;
   border:none;border-radius:0;box-shadow:none;
   mask-image:linear-gradient(90deg,transparent,#000 13%),linear-gradient(180deg,transparent,#000 19%);
   mask-composite:intersect;
 }
}

/* The class heading is supplied by the shared guide on newly bound native Pages. */
body.ta2-bound-campus-page main.site-main {width:100%;max-width:none;padding-inline:0;}
body.ta2-bound-campus-page main.site-main > .page-header {display:none;}

/* Geneva's real exterior is a wide, low-resolution photograph. Size its panel
   for the image itself, and keep the logo in the open sky above the entrance. */
@media (min-width: 761px) {
    body .ta2-campus-header.campus-framing-geneva-canton {
        grid-template-columns: minmax(0, 1fr) min(45%, 700px);
    }
    body .campus-framing-geneva-canton .ta2-campus-header-copy {
        padding-block: clamp(19px, 1.8vw, 27px);
    }
    body .campus-framing-geneva-canton .ta2-campus-header-media {
        min-height: 0;
        aspect-ratio: 2.04;
    }
}
body .ta2-campus-header.campus-framing-geneva-canton .ta2-campus-picture::before {
    content: none;
}
body .ta2-campus-header.campus-framing-geneva-canton.is-compact .ta2-way-exterior {
    inset: 0;
    transform: none;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: 50% 42%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    mask-image: none;
}
body .ta2-campus-header.campus-framing-geneva-canton .ta2-campus-header-logo {
    inset: 12px 12px auto auto;
    width: 47px;
    height: 47px;
    padding: 4px;
    border-radius: 8px;
}
@media (max-width: 760px) {
    body .ta2-campus-header.campus-framing-geneva-canton .ta2-campus-header-media {
        height: auto;
        flex: none;
        aspect-ratio: 318 / 164;
        box-sizing: content-box;
    }
    body .ta2-campus-header.campus-framing-geneva-canton .ta2-campus-header-logo {
        top: 8px;
        right: 8px;
        width: 35px;
        height: 35px;
        padding: 3px;
        border-radius: 6px;
    }
}
