/* Progressive homepage retrofit. Loaded after the original theme + Bootstrap. */
.school-home { -webkit-text-size-adjust: 100%; }
.school-home [hidden] { display: none !important; }
.school-home :where(a, button, summary, input, textarea):focus-visible {
  outline: 3px solid #78b8ff; outline-offset: 4px;
}
.school-home :where(h1,h2,h3,h4,p,li) { overflow-wrap: break-word; }
.school-home :where(img, iframe) { max-width: 100%; }
.school-home :where([id]) { scroll-margin-top: 20px; }
.school-home .school-icon { flex: 0 0 auto; vertical-align: middle; }
.school-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.school-skip {
  position: fixed; top: 8px; left: 8px; z-index: 2000; padding: 12px 18px;
  background: #fff; color: #141414; transform: translateY(-180%); clip-path: inset(50%);
}
.school-skip:focus { transform: none; color: #141414; clip-path: none; }
.school-header { position: relative; z-index: 1000; background: #101010; color: #fff; }
.school-header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  max-width: 1800px; margin: auto; padding: 12px 20px; gap: 8px 16px;
}
.school-header .school-brand {
  display: inline-flex; align-items: center; min-height: 44px; color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
}
.school-header-social { display: none; }
.school-menu { margin-left: auto; }
.school-menu > summary, .school-header .school-disclosure > summary {
  min-width: 44px; min-height: 44px; padding: 10px 12px; color: #fff;
  font-size: 16px; font-weight: 500; line-height: 24px; cursor: pointer;
  border: 1px solid #ffffff50; border-radius: 5px; list-style: none;
}
.school-menu summary::-webkit-details-marker { display: none; }
.school-header summary::after { content: ' +'; padding-left: 5px; }
.school-header details[open] > summary::after { content: ' −'; }
.school-menu[open] { width: 100%; }
.school-menu[open] > summary { position: absolute; top: 12px; right: 20px; width: max-content; margin-left: auto; }
.school-menu nav { display: grid; gap: 4px; padding-top: 12px; }
.school-header nav > a, .school-header .school-subnav a {
  display: flex; align-items: center; min-height: 44px; min-width: 44px;
  padding: 10px 12px; font-size: 16px; line-height: 24px; color: #fff;
  border-radius: 4px;
}
.school-header :where(a,summary):hover { background-color: #ffffff14; color: #fff; }
.school-header .school-subnav {
  list-style: none; margin: 4px 0 8px; padding: 0 0 0 14px;
  border-left: 2px solid #fd4766;
}
.school-header .school-subnav li { margin: 0; }
.school-header a[aria-current='page'] { text-decoration: underline; text-underline-offset: 5px; }
.school-home .slide.slide-style-2.fullscreen {
  min-height: 380px; min-height: 65svh; padding-top: 96px; padding-bottom: 96px;
}
.school-home .slide.slide-style-2 .inner h1.title { font-size: clamp(42px, 11vw, 100px); line-height: 1.15; }
.school-home .slide.slide-style-2 .inner .description { font-size: clamp(18px, 4vw, 24px); line-height: 1.5; }
.school-home .ptb--120 { padding-top: 60px; padding-bottom: 60px; }
.school-home .section-title h2.title { font-size: clamp(30px, 6vw, 50px); line-height: 1.2; }
.school-home p.description { text-align: left !important; line-height: 1.75; }
.school-home .list-style--1 li { display: flex; align-items: baseline; gap: 8px; }
.school-home .list-style--1 .school-icon { width: 20px; height: 20px; color: #fd4766; }
.school-home .btn-default { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.school-home .im_portfolio:focus-within { outline: 3px solid #78b8ff; outline-offset: 4px; }
.school-home .im_portfolio:focus-within .portfolio_hover { opacity: 1; position: relative; bottom: auto; transform: none; }
.school-home .im_portfolio:focus-within .portfolio_heading { transform: none; }
/* Bootstrap hides inactive slides even with JS disabled. Start as a plain gallery. */
.school-home .school-gallery { position: relative; border-radius: 8px; }
.school-home .school-gallery .carousel-inner { overflow: visible; }
.school-home .school-gallery .carousel-item {
  display: block; float: none; width: 100%; margin: 0 0 16px; transform: none;
  aspect-ratio: 12 / 13; /* Reserve the original 600×650 photo geometry; no crop. */
}
.school-home .school-gallery .carousel-item img { display: block; width: 100%; height: auto; border-radius: 8px; }
.school-home .school-gallery-controls { display: none; }
.school-home .school-gallery[data-school-ready] .carousel-item { margin-bottom: 0; }
.school-home .school-gallery[data-school-ready] .school-gallery-controls {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px; pointer-events: none;
}
.school-home .school-gallery-controls button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border: 1px solid #8b8b8b; border-radius: 50%;
  background: #191919cc; color: #fff; font: 32px/1 system-ui, sans-serif; cursor: pointer; pointer-events: auto;
}
.school-home .school-gallery-controls button:hover { background: #343434; }
.school-gallery-status { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 8px; border-radius: 4px; background: #101010d9; color: #fff; font-size: 15px; }
.school-home .school-field-label {
  position: static; display: block; width: auto; height: auto; margin: 0 0 8px;
  overflow: visible; clip: auto; font-size: 15px; color: #e6e6e6;
}
.school-home #contact-form input, .school-home #contact-form textarea {
  font-size: 16px; min-height: 48px; color: #fff; border-color: #777;
}
.school-home #contact-form input::placeholder, .school-home #contact-form textarea::placeholder { color: #b6b6b6; opacity: 1; }
.school-home #contact-form textarea { resize: vertical; min-height: 150px; line-height: 1.6; padding-top: 12px; padding-bottom: 12px; }
.school-home #contact-form [aria-invalid='true'] { border-color: #ff8e9f; }
.school-home #contact-form button:disabled { opacity: .65; cursor: wait; }
.school-home .school-form-hint { color: #c6c6c6; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.school-home .school-form-status { margin-top: 18px; font-size: 16px; line-height: 1.6; }
.school-home .school-form-status:empty { display: none; }
.school-home .school-form-status[data-state='error'] { color: #ffafbd; }
.school-home .school-form-status[data-state='success'] { color: #a7e6bd; }
.school-home .im_address a { min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.school-home ul.social-share li a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.school-home .buy-button {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 56px; height: 56px; padding: 4px; bottom: max(16px, env(safe-area-inset-bottom)); left: 16px;
}
.school-home .buy-button .school-icon { position: relative; width: 25px; height: 25px; }
.school-home .buy-button:before { background: #197b35; }
.school-home .buy-button:hover, .school-home .buy-button:focus { transform: none; }
.school-home .buy-button span { font-size: 10px; }
.school-home .school-backtop {
  position: fixed; bottom: max(16px, env(safe-area-inset-bottom)); right: 16px; z-index: 100;
  display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px;
  color: #181818; background: #fff; border: 1px solid #777; border-radius: 50%;
}
.school-home .footer-style-2 { padding-bottom: 90px; }
@media (max-width: 991px) {
  .school-home:has(.school-menu[open]) :is(.buy-button, .school-backtop) { visibility: hidden; }
}
@media (min-width: 768px) {
  .school-home .ptb--120 { padding-top: 90px; padding-bottom: 90px; }
}
@media (min-width: 992px) {
  .school-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
  .school-header-inner { padding: 30px 50px; flex-wrap: nowrap; }
  .school-header .school-brand { display: none; }
  .school-header-social { display: flex; align-items: center; gap: 12px; }
  .school-header-social a { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; }
  .school-menu, .school-menu[open] { width: auto; }
  .school-menu > summary { display: none; }
  .school-menu:not([open]) > summary { display: block; }
  .school-menu nav { display: flex; align-items: center; gap: 10px; padding: 0; }
  .school-header .school-disclosure { position: relative; }
  .school-header .school-disclosure > summary { border: 0; padding: 10px 12px; }
  .school-header .school-subnav {
    position: absolute; top: 100%; left: 0; min-width: 224px; background: #191919;
    margin: 6px 0 0; padding: 8px; border: 1px solid #555; border-radius: 6px;
    box-shadow: 0 8px 22px #0005;
  }
  .school-header .school-locale .school-subnav { left: auto; right: 0; min-width: 170px; }
  .school-home .slide.slide-style-2.fullscreen { min-height: 720px; padding: 200px 0; }
  .school-home .ptb--120 { padding-top: 120px; padding-bottom: 120px; }
}
.school-home .contact-wa { display:inline-flex; align-items:center; gap:.3em; min-height:44px; margin:0 0 1rem; text-decoration:underline; color:#baddff; }
@media (max-width: 991px) {
  /* Keep both controls in the document flow, never over a paragraph or form field. */
  .school-home .buy-button, .school-home .school-backtop { position:relative; inset:auto; display:flex; margin:.8rem auto; transform:none; }
  .school-home .school-backtop { margin-block:0; }
}
@media (prefers-reduced-motion: reduce) {
  .school-home *, .school-home *::before, .school-home *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}

.bg_image.bg_image--24{background-image:url(/assets/yolo-v1/bg-image-24-1152-a69f03ff6a.webp)!important}@media(max-width:700px){.bg_image.bg_image--24{background-image:url(/assets/yolo-v1/bg-image-24-720-682d0ddba6.webp)!important}}
