/* facility-video-1127 (2026-11-27): facility film on the home board and at the top of /facility, link button on the /consulting facility slide.
   Loaded only by index.html, facility/index.html and consulting/index.html. Every selector starts from a class this stage adds (fv1127-*) or from the one block it replaces. */

/* shared film box */
.fv1127-film{position:relative;margin:0;overflow:hidden;background:#101f30;aspect-ratio:16/9}
.fv1127-film video{display:block;width:100%;height:100%;object-fit:cover;background:#101f30}

/* home: the film takes the photo cell and the cell is wider than the admission summary beside it */
@media(min-width:621px){
  html.main-b .board:has(>.fv1127-film){grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
}
@media(min-width:621px) and (max-width:900px){
  html.main-b .board:has(>.fv1127-film){grid-template-columns:minmax(0,1fr)}
  html.main-b .board:has(>.fv1127-film) .admit{padding-left:0;border-top:1px solid var(--line,#c8ced7)}
}
html.main-b .board>.photo.fv1127-film{aspect-ratio:16/9;height:auto}
@media(min-width:901px){
  html.main-b .board:has(>.fv1127-film)>.admit{align-self:center}
}

/* home: the consulting photo behind the headline. Faces sit in the upper half of the picture. */
.pcr-home .scene-heading>.scene-image[src$="/assets/consult.webp"]{object-position:50% 32%}

/* /facility: film right under the page title band, centred, 70% of the page width */
.fv1127-stage{background:#fff;padding:56px 0 0}
.fv1127-stage .fv1127-film{width:70%;max-width:1180px;margin-inline:auto;border-radius:6px;box-shadow:0 18px 40px rgba(16,31,48,.16)}
@media(max-width:767px){
  .fv1127-stage{padding-top:32px}
  .fv1127-stage .fv1127-film{width:calc(100% - 48px);border-radius:4px}
}

/* /consulting: slide controls out, one link button in their place */
.consult-facility:has(.fv1127-go) .consult-facility__controls{display:none!important}
.fv1127-go{display:flex;justify-content:flex-end;margin:0 0 16px}
.centered-site main .fv1127-go>a.fv1127-go__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:1px solid var(--blue,#204fa1);border-radius:999px;background:var(--blue,#204fa1);color:#fff;font-weight:700;font-size:16px;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background-color .18s ease,border-color .18s ease}
.centered-site main .fv1127-go>a.fv1127-go__btn:hover{background:var(--brand-deep,#153a78);border-color:var(--brand-deep,#153a78);color:#fff}
.centered-site main .fv1127-go>a.fv1127-go__btn:focus-visible{outline:2px solid var(--blue,#204fa1);outline-offset:3px}
.fv1127-go__btn i{font-style:normal}
/* the site-wide fixed quick buttons (#ig-float, about 104px wide at the right edge) pass over this row while scrolling: keep the button clear of that strip */
@media(max-width:1539px){
  .fv1127-go{padding-right:128px}
}
@media(max-width:767px){
  .fv1127-go{justify-content:flex-start;padding-right:0}
}
@media(prefers-reduced-motion:reduce){
  .centered-site main .fv1127-go>a.fv1127-go__btn{transition:none}
}
