/* Little Intellects brand overrides — load AFTER style.css */

:root {
  /* Brand (logo) */
  --li-red: #CB193B;
  --li-navy: #27529B;
  --li-yellow: #FFC23D;
  --li-green: #5FB85A;
  --li-sky: #2FB4D6;
  --li-orange: #F7882F;
  --li-violet: #8B5CC7;
  --li-teal: #14A39A;
  --li-ink: #1C2A4A;
  --li-text: #55607A;
  --li-cream: #FFF8EE;
  --li-skybg: #EEF5FC;
  --li-border: #E6E8EF;

  /* Map to Kiddino theme variables */
  --theme-color: var(--li-red);
  --theme-color2: var(--li-yellow);
  --vs-secondary-color: var(--li-navy);
  --title-color: var(--li-ink);
  --body-color: var(--li-text);
  --smoke-color: var(--li-skybg);
  --border-color: var(--li-border);

  /*
   * Site-wide section rhythm (content gap top/bottom):
   * desktop ≥992: 100px · tablet: 80px · mobile <768: 56px
   */
  --li-section-y: 100px;
  --section-space: 100px;
  --section-space-mobile: 80px;
}
@media (max-width: 991.98px) {
  :root {
    --li-section-y: 80px;
    --section-space: 80px;
    --section-space-mobile: 80px;
  }
}
@media (max-width: 767.98px) {
  :root {
    --li-section-y: 56px;
    --section-space: 56px;
    --section-space-mobile: 56px;
  }
}

/* Unify theme space / space-extra to the same rhythm (no -30px shortfall) */
.space,
.space-top,
.space-extra,
.space-extra-top {
  padding-top: var(--li-section-y) !important;
}
.space,
.space-bottom,
.space-extra,
.space-extra-bottom {
  padding-bottom: var(--li-section-y) !important;
}

/* Every main content section gets the rhythm (hero exempt) */
main > section:not(.li-hero7):not([class*="hero"]) {
  padding-top: var(--li-section-y) !important;
  padding-bottom: var(--li-section-y) !important;
}

/* Wave dividers: theme pulls section up (-40px ≥1399); restore full gap from wave edge */
.vs-wave-shape + section {
  padding-top: var(--li-section-y) !important;
}
@media (min-width: 1399px) {
  .vs-wave-shape {
    margin-bottom: 0;
  }
}

/*
 * Decorative title accents sit in the padding zone (out of flow)
 * so the first heading/text starts on the section rhythm.
 */
main > section .title-area {
  position: relative;
}
main > section .title-area > .sec-bubble:first-child {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 !important;
}
main > section .title-area.text-start:not(.text-center) > .sec-bubble:first-child {
  left: 0;
  transform: none;
}
@media (min-width: 992px) {
  main > section .title-area.text-lg-start > .sec-bubble:first-child {
    left: 0;
    transform: none;
  }
}
@media (min-width: 1200px) {
  main > section .title-area.text-xl-start > .sec-bubble:first-child {
    left: 0;
    transform: none;
  }
}
main > section .title-area-four {
  position: relative;
}
main > section .title-area-four > img:first-child {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -56px;
  margin: 0 !important;
}

/* Don’t let last-child margins stack on top of section padding (keeps bottom gap ≈ 100/80/56) */
main > section > .container > :last-child,
main > section > .container-style4 > :last-child {
  margin-bottom: 0 !important;
}
main > section .row:last-child {
  margin-bottom: 0 !important;
}
main > section .feature-style2,
main > section .class-style2,
main > section .service-style2,
main > section .service-card3,
main > section .feature-style3:last-child,
main > section .accordion-item:last-child,
main > section form,
main > section .sidebar-area,
main > section .sidebar-area .widget,
main > section .widget:last-child,
main > section .img-box2,
main > section .img-box6 {
  margin-bottom: 0 !important;
}
/* Blog sidebar: each widget its own padded box, 30px between */
main > section .li-blog-sidebar.sidebar-area,
main > section .sidebar-area.li-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
main > section .li-blog-sidebar.sidebar-area .widget,
main > section .sidebar-area.li-blog-sidebar .widget {
  margin-bottom: 0 !important;
  padding: 22px 22px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 40, 80, 0.06);
}
.li-blog-layout {
  --bs-gutter-x: 30px !important;
  margin-left: calc(var(--bs-gutter-x) * -0.5);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
}
.li-blog-layout > [class*="col-"] {
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}
main > section .list-style1 ul,
main > section ul.list-unstyled {
  margin-bottom: 0 !important;
}

/* Programme colour helpers */
.prog-playgroup { --prog-color: var(--li-yellow); }
.prog-nursery { --prog-color: var(--li-green); }
.prog-pp1 { --prog-color: var(--li-sky); }
.prog-pp2 { --prog-color: var(--li-orange); }
.prog-primary { --prog-color: var(--li-navy); }
.prog-middle { --prog-color: var(--li-teal); }
.prog-daycare { --prog-color: var(--li-violet); }

/* Multi-colour service cards → green, sky, violet, orange */
.service-style1 {
  --theme-color: var(--li-green);
}
.service-style1:nth-child(2n+2) {
  --theme-color: var(--li-sky);
}
.service-style1:nth-child(3n+3) {
  --theme-color: var(--li-violet);
}
.service-style1:nth-child(4n+4) {
  --theme-color: var(--li-orange);
}

/* Header top bar */
.header-layout5 .header-top5 {
  background-color: var(--li-navy);
  color: #fff;
}
.header-layout5 .header-top5 a,
.header-layout5 .header-top5 i {
  color: #fff;
}
.header-layout5 .header-top5 a:hover {
  color: var(--li-yellow);
}
/* Phone + email left, social right — balanced after removing address */
.header-layout5 .header-top5 .header-links.v4 ul li {
  margin-right: 28px;
}
.header-layout5 .header-top5 .header-links.v5 > ul > li {
  margin-right: 0;
}

/* Active / hover menu */
.menu-style4 > ul > li > a::before {
  background-color: var(--li-yellow);
}
.main-menu ul li a:hover,
.main-menu ul .active > a,
.main-menu ul li.current-menu-item > a,
.vs-mobile-menu ul li a:hover,
.vs-mobile-menu ul li.active > a {
  color: var(--li-red);
}
/*
 * Site only ships Pro solid + Brands faces (FA trim). Alias Free→solid so any
 * "Font Awesome 5 Free" / weight 900 refs still resolve to the solid files.
 */
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../fonts/fa-solid-900.woff2") format("woff2"),
    url("../fonts/fa-solid-900.woff") format("woff");
}

/*
 * Trimmed solid font only includes the glyphs listed in fontawesome.min.css.
 * Remap theme icons that referenced missing codes.
 */
.vs-mobile-menu ul li a:before {
  content: "\f054"; /* was \f105 angle-right — not in subset */
}
.vs-mobile-menu ul .vs-item-has-children.vs-active > a .vs-mean-expand:before {
  content: "\f00d"; /* was \f068 minus — not in subset */
}
.accordion-style1 .accordion-button:before {
  content: "\f054" !important; /* was \f107 angle-down — not in subset */
  transform: translateY(-50%) rotate(90deg);
  margin-top: 0;
}
.accordion-style1 .accordion-button:not(.collapsed):before,
.accordion-style1 .accordion-button:hover:before {
  transform: translateY(-50%) rotate(-90deg);
}

/* Dropdown chevron: real <i> in markup (theme hides a::after on menu-style4) */
.main-menu.menu-style4 > ul > li.menu-item-has-children > a::after,
.main-menu ul li.menu-item-has-children > a:after {
  display: none !important;
  content: none !important;
}
.li-nav-chevron {
  display: inline-block !important;
  font-size: 10px !important;
  line-height: 1;
  margin-left: 6px !important;
  margin-right: 0 !important;
  vertical-align: middle;
  position: relative;
  top: 0 !important;
  transition: transform 0.2s ease;
  transform-origin: center;
  color: inherit;
}
.main-menu.menu-style4 > ul > li.menu-item-has-children:hover > a .li-nav-chevron,
.main-menu.menu-style4 > ul > li.menu-item-has-children.active > a .li-nav-chevron,
.vs-mobile-menu ul .menu-item-has-children.vs-active > a .li-nav-chevron {
  transform: rotate(180deg);
}
.vs-mobile-menu .li-nav-chevron {
  margin-left: 6px;
  font-size: 10px;
}
/* Hide theme menu dots */
.menu-style4 > ul > li::before,
.header-layout5 .menu-style4 > ul > li::before {
  display: none !important;
  content: none !important;
}
/* Keep 5-item menu on one line from 1200px up */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .header-layout5 .menu-style4 {
    margin-left: 8px;
  }
  .header-layout5 .menu-style4 > ul > li {
    margin: 0 14px;
  }
  .header-layout5 .menu-style4 > ul > li::before {
    right: -18px;
    width: 6px;
    height: 6px;
  }
  .header-layout5 .menu-style4 > ul > li:last-child::before {
    left: -18px;
  }
}
@media (min-width: 1400px) {
  .header-layout5 .menu-style4 > ul > li {
    margin: 0 18px;
  }
  .header-layout5 .menu-style4 > ul > li::before {
    right: -24px;
  }
  .header-layout5 .menu-style4 > ul > li:last-child::before {
    left: -22px;
  }
}

/* Footer — keep theme bg pattern via data-bg-src; tint with ink */
.footer-layout1 {
  background-color: rgba(28, 42, 74, 0.92);
}
.footer-layout1,
.footer-layout1 p,
.footer-layout1 .widget_title,
.footer-layout1 a {
  color: #fff;
}
.footer-layout1 a:hover {
  color: var(--li-red);
}
/* Navy icons on white circles (brand white-link rule made icons invisible) */
.footer-layout1 .footer-social a {
  background-color: #fff;
  color: var(--li-navy);
}
.footer-layout1 .footer-social a:hover {
  background-color: var(--li-red);
  color: #fff;
}
.footer-layout1 .copyright-wrap .copyright-text {
  color: var(--li-ink);
}

/* Decorative footer wordmark — outline, tucked under yellow copyright strip */
.footer-layout1 {
  overflow-x: clip;
}
.footer-layout1 .widget-area {
  padding-bottom: 0;
}
.li-footer-wordmark {
  position: relative;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  margin-top: 40px;
  padding-bottom: 0;
  overflow: visible;
  container-type: inline-size;
  container-name: li-footer-wm;
}
.li-footer-wordmark .container {
  overflow-x: clip;
  max-width: 100%;
}
.li-footer-wordmark-text {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 11vw, 170px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  margin: 0;
  /* Outline: transparent fill + light stroke; soft fill fallback if stroke unsupported */
  color: rgba(255, 255, 255, 0.08);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.22);
  text-stroke: 1.5px rgba(255, 255, 255, 0.22);
  paint-order: stroke fill;
  /* Tuck bottom ~15% under the copyright bar */
  transform: translateY(15%);
}
@supports not (-webkit-text-stroke: 1px white) {
  .li-footer-wordmark-text {
    -webkit-text-fill-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.08);
  }
}
.footer-layout1 .copyright-wrap {
  position: relative;
  z-index: 1;
}
/* Desktop: ~95% container width, stronger outline */
@media (min-width: 1200px) {
  .li-footer-wordmark-text {
    font-size: clamp(160px, 14.5vw, 210px);
    font-size: clamp(160px, 18cqi, 210px);
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.35);
    text-stroke: 2px rgba(255, 255, 255, 0.35);
  }
}
@media (max-width: 575.98px) {
  .li-footer-wordmark {
    margin-top: 24px;
  }
  .li-footer-wordmark-text {
    font-size: 48px;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.22);
    text-stroke: 1.5px rgba(255, 255, 255, 0.22);
  }
}

/* Section background helpers */
.bg-li-cream { background-color: var(--li-cream); }
.bg-li-sky { background-color: var(--li-skybg); }
.bg-li-ink { background-color: var(--li-ink); }

/* Logo sizing */
.header-logo2 img,
.mobile-logo img,
.sidemenu-wrapper .footer-logo img,
.footer-layout1 .footer-brand img,
.li-logo {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
/* Footer logos larger than header */
.footer-layout1 .footer-top .li-logo,
.footer-layout1 .li-footer-home-logo .li-logo {
  height: auto;
  width: 200px;
  max-width: 200px;
}
@media (max-width: 991.98px) {
  .footer-layout1 .footer-top .li-logo,
  .footer-layout1 .li-footer-home-logo .li-logo {
    height: auto;
    width: 170px;
    max-width: 170px;
  }
}
@media (max-width: 767.98px) {
  .header-logo2 img,
  .mobile-logo img,
  .li-logo {
    height: 48px;
  }
}

/* Home: no footer admissions banner (duplicates Section 10 CTA) */
.page-home .footer-layout1 .widget-area {
  padding-top: 70px;
}
@media (max-width: 767.98px) {
  .page-home .footer-layout1 .widget-area {
    padding-top: 48px;
  }
}

/* Get Directions — yellow pill (footer, contact, sidemenu) */
.li-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: var(--li-yellow);
  color: var(--li-ink) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.li-directions-btn i {
  color: inherit;
  font-size: 14px;
  line-height: 1;
}
.li-directions-btn:hover,
.li-directions-btn:focus {
  background-color: #fff;
  color: var(--li-ink) !important;
}
.footer-layout1 .li-directions-btn:hover {
  color: var(--li-ink) !important;
}

/* Outline button on dark / hero */
.vs-btn.style-outline,
.vs-btn.li-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.vs-btn.style-outline:hover,
.vs-btn.li-outline:hover {
  background: #fff;
  color: var(--li-navy);
}

/* Hard-coded colour overrides from style.css (brand.css loads after) */
.footer-box6 {
  background: var(--li-yellow);
}
.blog-meta-four {
  background: var(--li-navy);
}
.blog-date5 {
  background: var(--li-yellow);
}
.blog-card6 {
  border-color: var(--li-yellow);
}
.time-counter ul li h2 {
  color: var(--li-red);
}
.timer-box {
  background: var(--li-navy);
}
@media (max-width: 1199px) {
  .banner-slider5 {
    background-color: var(--li-yellow);
  }
}
body.layout5 .slick-dots li.slick-active button {
  background-color: var(--li-red);
}
.exp-box-four {
  background-color: var(--li-navy);
}
.about-content4 .sub-title {
  color: var(--li-red);
}
.enrol-icon::before {
  border-color: var(--li-yellow);
}
.form-style4 {
  background: var(--li-navy);
}
.form-v5 {
  background-color: var(--li-red) !important;
}
.feature-content5 {
  border-color: var(--li-yellow);
}
.schedule-list-v1 li:first-child {
  background: var(--li-yellow);
}
.schedule-btn {
  border-color: var(--li-red);
}
.nursuries-card {
  border-color: var(--li-yellow);
}
.nursuries-img span {
  background-color: var(--li-yellow);
}
.nursuries-btn::before {
  background-color: var(--li-yellow);
}

/* ser-btn3: theme is glyph-only — never paint a coloured box behind the arrow */
.service-card3 .ser-btn3 {
  background: none !important;
  background-color: transparent !important;
}
.service-card3 .ser-btn3 i,
.service-card3 .ser-btn3 .li-arrow {
  display: inline-block;
  line-height: 1;
}

/* Service-card3 programme accents — see .li-programmes block below */

/* Facilities accent cards */
.service-style2.fac-sky .service-icon { --theme-color: var(--li-sky); }
.service-style2.fac-green .service-icon { --theme-color: var(--li-green); }
.service-style2.fac-orange .service-icon { --theme-color: var(--li-orange); }

/* Hero float (school photo layers) */
@media (prefers-reduced-motion: no-preference) {
  .li-hero-float {
    animation: liFloat 5s ease-in-out infinite alternate;
  }
}
@keyframes liFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

/* Grey image placeholder until school photos are placed */
.li-placeholder {
  background: #d9dee8;
  display: block;
  width: 100%;
  min-height: 180px;
  object-fit: cover;
}

/* Side menu clean layout */
.sidemenu-wrapper .widget-about p,
.sidemenu-wrapper .footer-info {
  color: var(--li-text);
}
.sidemenu-wrapper .li-side-social a {
  margin-right: 10px;
  color: var(--li-navy);
}
.sidemenu-wrapper .li-side-social a:hover {
  color: var(--li-red);
}

/* Mobile menu extras */
.vs-mobile-menu .li-mobile-cta {
  margin-top: 20px;
}
.vs-mobile-menu .li-mobile-phone {
  margin-top: 16px;
  font-weight: 600;
}

/* WhatsApp floating button */
/* Legacy single WhatsApp bubble (replaced by .li-fab) */
.li-whatsapp {
  display: none !important;
}

/* —— Floating action buttons —— */
.li-fab {
  position: fixed;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.li-fab__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  gap: 0;
  height: 52px;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(28, 42, 74, 0.18);
  overflow: hidden;
  max-width: 52px;
  transition: max-width 0.25s ease;
  white-space: nowrap;
  outline: none;
}
.li-fab__btn:hover,
.li-fab__btn:focus-visible {
  max-width: 180px;
  color: #fff !important;
}
.li-fab__btn:focus-visible {
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--li-navy),
    0 8px 20px rgba(28, 42, 74, 0.18);
}
.li-fab__icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff !important;
  line-height: 1;
}
.li-fab__icon i {
  color: #fff !important;
  font-size: inherit;
  line-height: 1;
}
.li-fab__label {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding-left: 18px;
  padding-right: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff !important;
}
.li-fab__btn:hover .li-fab__label,
.li-fab__btn:focus-visible .li-fab__label {
  opacity: 1;
}
.li-fab__btn--call {
  background: var(--li-navy);
}
.li-fab__btn--wa {
  background: #25d366;
}
.li-fab__btn--enquire {
  background: var(--li-red);
}

/* Mobile sticky bar */
@media (max-width: 991.98px) {
  .li-fab {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    flex-direction: row;
    gap: 0;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff;
    border-top: 1px solid var(--li-border);
    box-shadow: 0 -6px 24px rgba(28, 42, 74, 0.1);
  }
  .li-fab__btn {
    flex: 1 1 0;
    max-width: none;
    height: 56px;
    border-radius: 0;
    box-shadow: none;
    justify-content: center;
    gap: 8px;
    transform: none !important;
  }
  .li-fab__btn:hover,
  .li-fab__btn:focus-visible {
    max-width: none;
    transform: none !important;
  }
  .li-fab__icon {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    font-size: 1.05rem;
  }
  .li-fab__label {
    opacity: 1;
    padding-right: 0;
    font-size: 0.85rem;
  }
  /* Keep footer / content clear of the bar */
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
  /* Back-to-top: bottom-left, above the bar */
  .scrollToTop.scroll-btn,
  .scroll-btn.scrollToTop {
    right: auto !important;
    left: 16px !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .scrollToTop.scroll-btn.show,
  .scroll-btn.scrollToTop.show {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Desktop: keep back-to-top clear of the right FAB stack */
@media (min-width: 992px) {
  .scrollToTop.scroll-btn,
  .scroll-btn.scrollToTop {
    right: 22px !important;
    left: auto !important;
    bottom: 28px !important;
  }
  .scrollToTop.scroll-btn.show,
  .scroll-btn.scrollToTop.show {
    bottom: 28px !important;
  }
}

/*
 * Magnific lightbox (~1042–1046) sits under #liFab (9990). Hide FAB + back-to-top
 * while open so arrows stay clickable. Do not lower FAB z-index globally.
 * Admissions popup already z-index 10000; still hide FAB for a clean overlay.
 */
html.li-lightbox-open #liFab,
html.li-lightbox-open .scrollToTop,
html.li-admit-open #liFab,
html.li-admit-open .scrollToTop {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Magnific arrows: white chevron on dark circle, clear on light photos */
.mfp-arrow {
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  margin-top: -22px !important;
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border-radius: 50%;
  transform: none !important;
}
.mfp-arrow:before,
.mfp-arrow:after {
  display: none !important;
  border: 0 !important;
}
.mfp-arrow-left {
  left: 16px !important;
}
.mfp-arrow-right {
  right: 16px !important;
}
.mfp-arrow-left::after,
.mfp-arrow-right::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: 0;
  border: solid #fff;
  border-width: 0 0 2.5px 2.5px;
  box-sizing: border-box;
  background: none !important;
}
.mfp-arrow-left::after {
  transform: translate(-35%, -50%) rotate(45deg);
}
.mfp-arrow-right::after {
  transform: translate(-65%, -50%) rotate(-135deg);
  border-width: 0 0 2.5px 2.5px;
}
.mfp-arrow:hover,
.mfp-arrow:focus {
  background: rgba(0, 0, 0, 0.5) !important;
  opacity: 1 !important;
}
@media (max-width: 767.98px) {
  .mfp-arrow-left {
    left: 16px !important;
  }
  .mfp-arrow-right {
    right: 16px !important;
  }
}

/* —— Admissions popup —— */
.li-admit-popup[hidden] {
  display: none !important;
}
.li-admit-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.li-admit-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 42, 74, 0.55);
  border: 0;
  cursor: pointer;
}
.li-admit-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  height: auto;
  max-height: 90vh;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(28, 42, 74, 0.28);
  outline: none;
}
.li-admit-popup__handle {
  display: none;
}
.li-admit-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--li-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(28, 42, 74, 0.12);
}
.li-admit-popup__close:hover,
.li-admit-popup__close:focus-visible {
  background: #fff;
  color: var(--li-red);
}
.li-admit-popup__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
}
.li-admit-popup__media {
  position: relative;
  min-height: 100%;
  background: var(--li-skybg);
  overflow: hidden;
  border-radius: 24px 0 0 24px;
}
.li-admit-popup__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.li-admit-popup__body {
  padding: 34px 28px 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.li-admit-popup__header {
  margin: 0 0 22px;
  text-align: left;
}
.li-admit-popup__label {
  display: block;
  font-family: var(--title-font, "Fredoka", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--li-red);
  margin: 0 0 8px;
  line-height: 1.2;
}
.li-admit-popup__headline {
  font-family: var(--title-font, "Fredoka", sans-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--li-navy);
  margin: 0 0 10px;
}
.li-admit-popup__trust {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--li-text, #555);
}
.li-admit-popup__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.li-admit-popup__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  text-align: left;
}
.li-admit-popup__form .form-group {
  margin-bottom: 0;
  max-width: none;
  text-align: left;
}
.li-admit-popup__form .li-admit-popup__row .form-group {
  margin-bottom: 0;
}
.li-admit-popup__form .li-admit-popup__row {
  margin-bottom: 0;
}
.li-admit-popup__form .li-admit-popup__submit {
  margin: 0;
  padding-top: 4px; /* 16px form gap + 4px ≈ 20px above button */
  max-width: none;
  position: relative;
  width: 100%;
}
.li-admit-popup__form.form-style1 .form-group {
  max-width: none;
  margin: 0;
  margin-left: 0;
  margin-right: 0;
}
.li-admit-popup__form.form-style1 input,
.li-admit-popup__form.form-style1 select,
.li-admit-popup__form input.form-control,
.li-admit-popup__form select.form-control {
  height: 52px !important;
  min-height: 52px;
  border-radius: 12px !important;
  padding: 0 16px !important;
  border: 1px solid #d0d5dd;
  width: 100%;
  text-align: left !important;
  text-align-last: left;
  font-size: 15px;
  line-height: 1.2;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
.li-admit-popup__form.form-style1 select,
.li-admit-popup__form select.form-control {
  padding-right: 42px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231C2A4A' d='M1.4 1.4 6 6l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.li-admit-popup__form.form-style1 input::placeholder,
.li-admit-popup__form input::placeholder {
  text-align: left;
  opacity: 0.7;
  color: #6b7280;
}
/* Theme .form-style1 .vs-btn is absolute (newsletter layout) — force normal flow */
.li-admit-popup__form.form-style1 .vs-btn,
.li-admit-popup__form .vs-btn {
  position: relative !important;
  overflow: hidden;
  z-index: 0;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  min-height: 52px;
  box-sizing: border-box;
}
.li-admit-popup__form .vs-btn::before,
.li-admit-popup__form .vs-btn::after {
  z-index: -1;
}
.li-admit-popup__prefer {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--li-text, #555);
  text-align: left;
}
.li-admit-popup__prefer a {
  color: var(--li-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.li-admit-popup__prefer a:hover {
  color: var(--li-red);
}
.li-admit-popup__later {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--li-text, #555);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin: -4px 0 0;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  align-self: flex-start;
}
.li-admit-popup__later:hover,
.li-admit-popup__later:focus-visible {
  color: var(--li-red);
}
.li-admit-popup__form .li-form-status {
  margin: 0;
}
.li-admit-popup .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html.li-admit-open,
html.li-admit-open body {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .li-admit-popup {
    align-items: flex-end;
    padding: 0;
  }
  .li-admit-popup__dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    overflow: auto;
  }
  .li-admit-popup__handle {
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: var(--li-border);
    margin: 10px auto 0;
  }
  .li-admit-popup__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  /* Thin top strip — keeps sheet short enough for 375×812 without scroll */
  .li-admit-popup__media {
    height: 100px;
    min-height: 100px;
    border-radius: 0;
  }
  .li-admit-popup__media img {
    position: absolute;
  }
  .li-admit-popup__body {
    padding: 12px 18px 16px;
  }
  .li-admit-popup__header {
    margin-bottom: 12px;
  }
  .li-admit-popup__headline {
    font-size: 24px;
  }
  .li-admit-popup__trust {
    font-size: 12px;
  }
  .li-admit-popup__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .li-admit-popup__form {
    gap: 16px;
  }
  .li-admit-popup__form .li-admit-popup__submit {
    padding-top: 4px;
    margin-top: 0;
  }
  .li-admit-popup__prefer {
    font-size: 12px;
  }
  .li-admit-popup__close {
    top: 8px;
    right: 8px;
  }
}

/* Tall phones: drop photo so button + Call/WhatsApp stay above the fold */
@media (max-width: 767.98px) and (max-height: 820px) {
  .li-admit-popup__media {
    display: none;
  }
}

/* Enquiry form */
.li-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.li-form-status.is-success {
  color: var(--li-green);
  font-weight: 600;
}
.li-form-status.is-error {
  color: var(--li-red);
  font-weight: 600;
}
.li-enquiry-form .form-label {
  font-weight: 600;
  color: var(--li-ink);
  margin-bottom: 6px;
}

/* Breadcrumb with school photo — readable H1 over busy photos */
.breadcumb-wrapper.li-breadcumb {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.breadcumb-wrapper.li-breadcumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--li-navy) 65%, transparent);
  background: rgba(28, 42, 74, 0.65);
  z-index: 0;
  pointer-events: none;
}
.breadcumb-wrapper.li-breadcumb .container,
.breadcumb-wrapper.li-breadcumb .breadcumb-content {
  position: relative;
  z-index: 1;
}
.breadcumb-wrapper.li-breadcumb {
  position: relative;
  /* clip (not hidden): avoids forcing overflow-y:auto on ancestors */
  overflow-x: clip;
  overflow-y: hidden;
}
.breadcumb-wrapper.li-breadcumb .container {
  position: relative;
  z-index: 1;
}
.breadcumb-wrapper.li-breadcumb .breadcumb-title {
  color: #fff;
  position: relative;
  z-index: 1;
}
.breadcumb-wrapper.li-breadcumb .breadcumb-content {
  overflow: visible;
}
/* Plain-text breadcrumb under H1 — no theme pill/box */
.breadcumb-wrapper.li-breadcumb .breadcumb-menu-wrap {
  position: relative;
  z-index: 2;
  margin: 14px 0 0 0;
  min-height: 0;
}
.breadcumb-wrapper.li-breadcumb .breadcumb-menu {
  background: transparent;
  background-color: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  list-style: none;
}
.breadcumb-wrapper.li-breadcumb .breadcumb-menu::after {
  display: none;
  content: none;
}
.breadcumb-wrapper.li-breadcumb .breadcumb-menu li,
.breadcumb-wrapper.li-breadcumb .breadcumb-menu a,
.breadcumb-wrapper.li-breadcumb .breadcumb-menu span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-family: "Jost", sans-serif;
}
.breadcumb-wrapper.li-breadcumb .breadcumb-menu li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.breadcumb-wrapper.li-breadcumb .breadcumb-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
}
.breadcumb-wrapper.li-breadcumb .breadcumb-menu a:hover {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 1199px) {
  .breadcumb-wrapper.li-breadcumb .breadcumb-menu-wrap {
    margin: 12px 0 0 0;
  }
}
@media (max-width: 991px) {
  .breadcumb-wrapper.li-breadcumb .breadcumb-menu-wrap {
    margin: 12px 0 0 0;
  }
}
@media (max-width: 767px) {
  .breadcumb-wrapper.li-breadcumb .breadcumb-menu-wrap {
    margin: 10px 0 0 0;
  }
  .breadcumb-wrapper.li-breadcumb .breadcumb-menu li,
  .breadcumb-wrapper.li-breadcumb .breadcumb-menu a,
  .breadcumb-wrapper.li-breadcumb .breadcumb-menu span {
    font-size: 15px;
  }
}
/* Full-bleed clip layer so the wordmark can hang off-screen without widening the page */
.li-banner-wordmark-clip {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
/* Page-banner outline wordmark — right-aligned, ~20% cropped off the right edge */
.li-banner-wordmark {
  position: absolute;
  right: 0;
  top: 50%;
  left: auto;
  transform: translate(20%, -50%);
  z-index: 0;
  margin: 0;
  width: auto;
  max-width: none;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: clamp(80px, 12vw, 220px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: right;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.18);
  text-stroke: 2px rgba(255, 255, 255, 0.18);
  paint-order: stroke fill;
}
.li-banner-wordmark:empty,
.li-banner-wordmark-clip:has(.li-banner-wordmark:empty) {
  display: none;
}
@media (max-width: 767.98px) {
  .li-banner-wordmark-clip,
  .li-banner-wordmark {
    display: none;
  }
}

/* Leadership portraits — circle crop, white ring + brand outer ring */
.team-style1 .team-img.li-leader-photo {
  width: 180px;
  height: 180px;
  flex: 0 0 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px var(--li-leader-ring, var(--li-red));
  margin-right: 28px;
}
.team-style1 .team-img.li-leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.team-style1.li-leader--principal {
  --li-leader-ring: var(--li-red);
}
.team-style1.li-leader--chairman {
  --li-leader-ring: var(--li-navy);
}
.team-style1 .li-leader-creds {
  margin: 0;
  font-size: 0.95rem;
  color: var(--li-text);
  line-height: 1.4;
}
@media (max-width: 575.98px) {
  .team-style1.layout2 {
    flex-direction: column;
    text-align: center;
    border-radius: 30px;
  }
  .team-style1 .team-img.li-leader-photo {
    margin-right: 0;
    margin-bottom: 16px;
  }
  .team-style1 .team-degi:before {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Counter text (no fake numbers) */
.li-counter-text {
  padding-top: 60px;
  padding-bottom: 60px;
}
.li-counter-text .counter-number,
.li-counter-text .media-body .sec-subtitle,
.li-counter-text .media-style1 .media-label {
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--li-ink);
  line-height: 1.25;
}
.li-counter-text .media-style1 .media-title {
  font-size: 0.95rem;
}
/* Mobile: 2×2, icon above text, centred, ~40px section padding */
@media (max-width: 767.98px) {
  .li-counter-text {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .li-counter-text .row {
    --bs-gutter-y: 1.25rem;
    row-gap: 1.25rem;
  }
  .li-counter-text .vs-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
  }
  .li-counter-text .vs-media .media-icon {
    margin-right: 0;
    margin-bottom: 10px;
    --icon-size: 72px;
  }
  .li-counter-text .media-body {
    text-align: center;
  }
  .li-counter-text .media-style1 .media-label,
  .li-counter-text .media-style1.layout2 .media-label {
    font-size: 1rem;
  }
  .li-counter-text .media-style1 .media-title {
    font-size: 0.875rem;
  }
}

/* Feature-style3 circles: theme uses height:100% which collapses with lazy imgs */
.feature-style3 .feature-img .img {
  height: 120px;
}
.feature-style3 .feature-img .img img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

/* ========== Home hero — index-7 cloud over sliding school photos ========== */
.li-hero7 .banner-slide7 {
  position: relative;
  /* Visible so the cloud's left overhang (left:-190px) is not clipped;
     photo zoom is clipped on .li-hero7-slides instead. */
  overflow: visible;
  background-color: var(--li-navy);
  background-image: none !important;
  min-height: 780px;
  padding-top: 92px;
}
.li-hero7-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.li-hero7-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease;
}
.li-hero7-slides img.is-active {
  opacity: 1;
  animation: li-hero-zoom 5s ease-out forwards;
}
@keyframes li-hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
/* Ink overlay ABOVE slides, UNDER cloud content */
.li-hero7 .banner-slide7::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 42, 74, 0.45);
  z-index: 1;
  pointer-events: none;
}
.li-hero7 .banner-slide7 > .container {
  position: relative;
  z-index: 2;
}
.li-hero7 .banner-content .banner-title {
  color: var(--li-navy);
}
.li-hero7 .banner-content .banner-text {
  color: var(--li-ink);
}
.li-hero7 .banner-content .vs-btn.li-hero7-call,
.li-hero7 .banner-content .vs-btn.style4 {
  background-color: transparent;
  color: var(--li-navy);
  border: 2px solid var(--li-navy);
}
.li-hero7 .banner-content .vs-btn.li-hero7-call:hover,
.li-hero7 .banner-content .vs-btn.style4:hover {
  background-color: var(--li-navy);
  color: #fff;
}

/*
 * ≥768: theme index-7 geometry (style.css .banner-slide7).
 * Cloud image keeps natural 1027×575 aspect — never stretch/squash.
 * 768–1199: same geometry, then transform:scale() the whole unit.
 */
@media (min-width: 768px) {
  .li-hero7 .banner-slide7 {
    min-height: 860px;
  }
  .li-hero7 .li-hero7-cloud {
    position: relative;
    z-index: 1;
    isolation: isolate;
    /* Theme: padding 163px 0 109px; text-align center */
    padding: 163px 0 109px;
    text-align: center;
    margin: 0;
  }
  .li-hero7 .li-hero7-cloud .banner-content-bg {
    position: absolute !important;
    left: -190px !important;
    top: 0 !important;
    width: auto !important;
    height: auto !important;
    max-width: 1026px !important;
    transform: none !important;
    z-index: 0;
    pointer-events: none;
  }
  .li-hero7 .li-hero7-cloud-inner {
    position: relative;
    z-index: 1;
    /* Extra inset inside theme padding so glyphs clear the scalloped top border */
    padding-top: 12px;
  }
  .li-hero7 .li-hero7-cloud .banner-title {
    position: relative;
    z-index: 1;
    display: inline-block;
    /* Below theme 60/76 so our longer copy stays in the white safe area (max 2 lines) */
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 12px;
    max-width: 88%;
  }
  .li-hero7 .li-hero7-cloud .banner-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 22px;
    max-width: 88%;
  }
  .li-hero7 .li-hero7-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 88%;
    margin-inline: auto;
  }
  .li-hero7 .li-hero7-actions .vs-btn {
    margin: 0 !important;
    flex: 0 1 auto;
    white-space: nowrap;
    padding-left: 22px;
    padding-right: 22px;
    min-width: 0;
  }
  .li-hero7 .li-hero7-actions .vs-btn.style4,
  .li-hero7 .li-hero7-actions .vs-btn.li-hero7-call {
    margin-left: 0 !important;
  }
}
@media (min-width: 1200px) {
  .li-hero7 .banner-slide7 {
    min-height: 954px;
  }
}
/*
 * Mid widths: lock to desktop column width (theme col-xl-6 ≈ 630px),
 * then scale the whole cloud+content unit. Image aspect stays 1027/575.
 */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .li-hero7 .li-hero7-col {
    --li-scale: clamp(0.62, 100vw / 1200px, 1);
    flex: 0 0 auto !important;
    width: calc(630px * var(--li-scale)) !important;
    max-width: calc(630px * var(--li-scale)) !important;
    /* Layout box matches visual size after transform */
    height: calc(432px * var(--li-scale));
  }
  .li-hero7 .li-hero7-cloud {
    width: 630px;
    transform: scale(var(--li-scale));
    transform-origin: top left;
  }
  .li-hero7 .li-hero7-cloud .banner-content-bg {
    /* transform:none above would kill parent scale on the img — don't set transform here */
    transform: unset !important;
  }
  .li-hero7 .banner-slide7 {
    min-height: calc(700px * clamp(0.62, 100vw / 1200px, 1));
    padding-bottom: 40px;
  }
}

/* Mobile <768 — keep existing look (do not change) */
@media (max-width: 767.98px) {
  .li-hero7-cloud-inner,
  .li-hero7-actions {
    display: contents;
  }
  .li-hero7 .banner-slide7 {
    min-height: 0;
    max-height: none;
    padding-top: 40px;
    padding-bottom: 32px;
    /* Clip oversized cloud so it cannot widen the page (scrollWidth) */
    overflow-x: clip;
    overflow-y: visible;
  }
  .li-hero7 .banner-slide7 .banner-content {
    position: relative;
    z-index: 1;
    isolation: isolate;
    padding: 100px 40px 112px;
    max-width: 100%;
    text-align: center;
  }
  .li-hero7 .banner-slide7 .banner-content .banner-content-bg {
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    max-width: none;
    width: 190%;
    height: auto;
  }
  .li-hero7 .banner-content .banner-title,
  .li-hero7 .banner-content .banner-text,
  .li-hero7 .banner-content .vs-btn {
    position: relative;
    z-index: 1;
  }
  .li-hero7 .banner-content .banner-title {
    font-size: 28px;
  }
  .li-hero7 .banner-content .banner-text {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .li-hero7 .banner-content .vs-btn,
  .li-hero7 .banner-content .vs-btn.style4 {
    display: inline-block;
    margin: 6px 4px;
  }
  .li-hero7 .banner-content .vs-btn.style4,
  .li-hero7 .banner-content .vs-btn.li-hero7-call {
    margin-left: 4px;
  }
}
@media (max-width: 575px) {
  .li-hero7 .banner-slide7 .banner-content {
    padding: 92px 36px 118px;
  }
  .li-hero7 .banner-slide7 .banner-content .banner-title {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 10px;
  }
  .li-hero7 .banner-slide7 .banner-content .banner-text {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .li-hero7 .banner-slide7 .banner-content .banner-content-bg {
    width: 205%;
  }
  .li-hero7 .banner-content .vs-btn,
  .li-hero7 .banner-content .vs-btn.style4 {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 8px auto;
    padding-left: 16px;
    padding-right: 16px;
  }
  .li-hero7 .banner-content .vs-btn.style4,
  .li-hero7 .banner-content .vs-btn.li-hero7-call {
    background-color: #fff;
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .li-hero7-slides img {
    transition: opacity 2s ease;
  }
  .li-hero7-slides img.is-active {
    animation: none;
    transform: scale(1);
  }
}

/* ========== At a Glance — index-3 class-style2 ========== */
.li-why {
  overflow-x: clip;
  max-width: 100%;
}
.li-why .class-info {
  line-height: 1.35;
}
.li-why .class-price {
  /* Theme big red price slot, short text (no / month) */
  font-size: 36px;
}
.li-why .class-title,
.li-why .class-title a {
  text-transform: none;
  /* Same height so circular photos align across the row */
  min-height: 2.75em;
  margin-bottom: 18px;
}
@media (min-width: 1200px) {
  .li-why-row > [class*="col-"] {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .li-why .class-title,
  .li-why .class-title a {
    white-space: nowrap;
  }
}
/* Mobile: overflow-x:auto only on the card track; section/container clip the page */
@media (max-width: 767.98px) {
  .li-why {
    overflow-x: clip;
    overflow-y: visible;
  }
  .li-why .container {
    overflow-x: clip;
    overflow-y: visible;
    max-width: 100%;
  }
  .li-why-track {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  .li-why .li-why-row.row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    gap: 0;
    /* Kill Bootstrap row negative margins that widen the page */
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }
  .li-why .li-why-row.row > [class*="col-"] {
    /* 85% of the track → next card peeks; no 100vw */
    flex: 0 0 85% !important;
    max-width: 85% !important;
    width: 85% !important;
    scroll-snap-align: start;
    padding-left: 12px;
    padding-right: 0;
  }
  .li-why .li-why-row.row > [class*="col-"]:last-child {
    padding-right: 12px;
  }
  .li-why .li-why-row .class-style2 {
    margin-bottom: 16px;
    height: 100%;
  }
  .li-why .class-number {
    z-index: 3;
  }
}

/*
 * Why Choose Us (index-2 feature-style2):
 * SVG shaped photo + white outline gap, yellow half-ring behind.
 * ~30% larger than prior: shape ≈ ring opening; shape top ~15% of ring above ring top.
 */
.bg-vs-secondary .feature-style2 .feature-img.li-why-frame,
.feature-style2 .feature-img.li-why-frame {
  /* Shape ~30% larger (219→285); ring opening ≈ shape width */
  --li-ring: 370px;
  --li-shape: 285px;
  --li-ring-border: 42px;
  position: relative;
  display: inline-block;
  width: var(--li-ring);
  min-height: var(--li-shape);
  margin-bottom: 22px;
  line-height: 0;
  isolation: isolate;
  z-index: 0;
}
.bg-vs-secondary .feature-style2 .li-why-frame .vs-circle,
.feature-style2 .li-why-frame .vs-circle {
  --circle-size: var(--li-ring);
  --circle-border-size: var(--li-ring-border);
  --circle-border-color: var(--li-yellow);
  width: var(--li-ring) !important;
  height: var(--li-ring) !important;
  border-width: var(--li-ring-border) !important;
  border-style: solid !important;
  border-color: var(--li-yellow) !important;
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
  position: absolute;
  left: 50%;
  /* Shape bottom ≈ ring flat base (midline); shape top rises ~15% of ring above ring top */
  top: calc(var(--li-shape) - var(--li-ring) / 2);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  box-sizing: border-box;
  transition: all ease 0.4s;
}
.bg-vs-secondary .feature-style2 .li-why-shape,
.feature-style2 .li-why-shape {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--li-shape);
  height: var(--li-shape);
  margin: 0 auto;
  overflow: visible;
}
.bg-vs-secondary .feature-style2 {
  overflow: visible;
  padding-left: 8px;
  padding-right: 8px;
}
@media (max-width: 1199.98px) {
  .bg-vs-secondary .feature-style2 .feature-img.li-why-frame,
  .feature-style2 .feature-img.li-why-frame {
    --li-ring: 330px;
    --li-shape: 255px;
    --li-ring-border: 38px;
  }
}
@media (max-width: 1024px) {
  .bg-vs-secondary .feature-style2 .feature-img.li-why-frame,
  .feature-style2 .feature-img.li-why-frame {
    --li-ring: 300px;
    --li-shape: 232px;
    --li-ring-border: 34px;
  }
}
@media (max-width: 767.98px) {
  .bg-vs-secondary .feature-style2 .feature-img.li-why-frame,
  .feature-style2 .feature-img.li-why-frame {
    --li-ring: 280px;
    --li-shape: 216px;
    --li-ring-border: 32px;
  }
}
.bg-vs-secondary .feature-style2 .feature-title,
.bg-vs-secondary .feature-style2 .feature-title a,
.feature-style2 .feature-title,
.feature-style2 .feature-title a {
  color: #ffffff !important;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  position: static;
  display: block;
  margin-top: 0;
}
.bg-vs-secondary .feature-style2 .feature-text,
.feature-style2 .feature-text {
  color: rgba(255, 255, 255, 0.85) !important;
  position: static;
}

/* Activities photo tiles */
.li-activities-photos .activity-card img {
  border-radius: 16px;
  object-fit: cover;
  height: 220px;
  width: 100%;
}

/* Mobile menu: prevent content cut-off */
.vs-menu-wrapper .vs-mobile-menu {
  padding-left: 20px;
  padding-right: 20px;
}
.vs-mobile-menu .li-mobile-cta {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.vs-mobile-menu .li-mobile-phone {
  padding-left: 0;
  word-break: break-word;
}

/*
 * Home programmes (index-4 service-card3):
 * white section, cloud shape via mask + light programme tint,
 * white icon circle, programme-coloured glyph, SVG arrow (no FA tofu).
 */
.li-programmes {
  background-color: #fff;
  padding-top: var(--li-section-y) !important;
  padding-bottom: var(--li-section-y) !important;
}
.li-programmes .li-prog-row {
  /* No column-gap — cloud spacing comes from scaled card + col padding */
  --bs-gutter-y: 0;
  --bs-gutter-x: 0;
  row-gap: 0;
  column-gap: 0;
  align-items: stretch;
}
.page-programmes main > section .row.li-prog-overview {
  --bs-gutter-y: 28px;
  --bs-gutter-x: 28px;
  row-gap: 28px;
  align-items: stretch;
}
.page-programmes .class-style2 .class-title {
  min-height: 1.35em;
}
.li-programmes .service-card3 .title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
}
.page-programmes .class-style2 {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.page-programmes .class-style2 .class-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.page-programmes .class-style2 .class-price {
  margin-top: auto;
}
/* Equal-height cards on programmes overview grid only */
.page-programmes main > section .li-prog-overview > .li-prog-col {
  display: flex;
  align-items: stretch;
}
.li-programmes a.service-card3[class*="prog-"] {
  color: inherit;
  text-decoration: none;
}
.li-programmes .service-card3[class*="prog-"] {
  --theme-color: var(--prog-color);
  --li-cloud-tint: color-mix(in srgb, var(--prog-color) 22%, #fff);
  --li-cloud-w: 400px;
  --li-cloud-h: calc(var(--li-cloud-w) * 426 / 419);
  position: relative;
  isolation: isolate;
  z-index: 0;
  border-top: none;
  background-color: transparent !important;
  border-radius: 0;
  margin-bottom: 0;
  padding: 56px 28px 48px;
  width: 100%;
  max-width: var(--li-cloud-w);
  /* Fixed card box so long titles wrap inside — cloud size stays identical */
  min-height: var(--li-cloud-h);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.li-programmes .li-prog-compact-body {
  display: contents;
}
.li-programmes .service-card3[class*="prog-"] .title {
  display: block;
}
.li-programmes .service-card3[class*="prog-"]::before {
  content: "";
  position: absolute;
  display: block !important; /* theme hides ::before below 1200 — keep clouds at all widths */
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--li-cloud-w);
  height: var(--li-cloud-h);
  max-width: none;
  z-index: -1;
  background-image: none !important;
  background-color: var(--li-cloud-tint);
  -webkit-mask-image: url("../img/service/ser-col-bg.png?v=fec6452b");
  mask-image: url("../img/service/ser-col-bg.png?v=fec6452b");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  pointer-events: none;
}
.li-programmes .service-card3[class*="prog-"] .title {
  font-size: 28px;
  line-height: 1.2;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.li-programmes .service-card3[class*="prog-"] .title a {
  color: var(--li-ink);
}
.li-programmes .service-card3[class*="prog-"] .ser-icon3 {
  background: #fff;
  color: var(--prog-color);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.li-programmes .li-prog-icon {
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.li-programmes .service-card3[class*="prog-"] .ser-btn3 {
  background: none !important;
  background-color: transparent !important;
  color: var(--prog-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  line-height: 1;
  overflow: visible;
}
.li-programmes .service-card3[class*="prog-"] .ser-btn3 .li-arrow {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}
.li-programmes .service-card3[class*="prog-"] .ser-btn3:hover {
  color: var(--li-red);
}
.li-programmes .service-card3[class*="prog-"] .ser-btn3:hover .li-arrow {
  transform: translate(2px, -2px);
}
/*
 * Programme grid (home clouds + programmes.html):
 * ≥1400: 4/row · 992–1399: 3/row · 768–991: 2/row · <768: compact rows
 * Visible gap between shapes ≈ 28–40px.
 */
.li-programmes .li-prog-row > .li-prog-col,
.page-programmes .li-prog-overview > .li-prog-col {
  display: flex;
  justify-content: center;
  margin-bottom: 0 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
.page-programmes .li-prog-overview > .li-prog-col {
  align-items: stretch;
}
/* ≥1400: 4 per row */
@media (min-width: 1400px) {
  .li-programmes .li-prog-row > .li-prog-col,
  .page-programmes .li-prog-overview > .li-prog-col {
    flex: 0 0 25%;
    max-width: 25%;
    width: 25%;
  }
  .li-programmes .service-card3[class*="prog-"] {
    --li-cloud-w: min(320px, 100%);
    padding: 48px 18px 40px;
  }
  .li-programmes .service-card3[class*="prog-"] .title {
    font-size: 24px;
  }
}
/* 992–1399: 3 per row */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .li-programmes .li-prog-row > .li-prog-col,
  .page-programmes .li-prog-overview > .li-prog-col {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    width: 33.333333%;
  }
  .li-programmes .service-card3[class*="prog-"] {
    --li-cloud-w: min(340px, 100%);
    padding: 46px 16px 38px;
  }
  .li-programmes .service-card3[class*="prog-"] .title {
    font-size: 24px;
  }
}
/* 768–991: 2 per row */
@media (min-width: 768px) and (max-width: 991.98px) {
  .li-programmes .li-prog-row > .li-prog-col,
  .page-programmes .li-prog-overview > .li-prog-col {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
  }
  .li-programmes .service-card3[class*="prog-"] {
    --li-cloud-w: min(320px, 100%);
    padding: 42px 14px 34px;
  }
  .li-programmes .service-card3[class*="prog-"] .title {
    font-size: 22px;
  }
}
@media (max-width: 1399.98px) {
  .li-programmes .service-card3[class*="prog-"] {
    /* Kill theme’s rounded-rect fallback under 1200 — we keep the cloud mask */
    background-color: transparent !important;
    border-radius: 0 !important;
  }
}
/* <768: compact horizontal cards (~90px), whole card is the link */
@media (max-width: 767.98px) {
  .li-programmes .li-prog-row > .li-prog-col,
  .page-programmes .li-prog-overview > .li-prog-col {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
  .li-programmes .service-card3[class*="prog-"] {
    --li-cloud-w: 100%;
    --li-cloud-h: auto;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-height: 84px;
    height: auto;
    margin: 0 0 10px !important;
    padding: 14px 16px;
    border-radius: 18px !important;
    background-color: var(--li-cloud-tint) !important;
    text-align: left;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    overflow: hidden;
  }
  .li-programmes .service-card3[class*="prog-"]::before {
    display: none !important;
  }
  .li-programmes .service-card3[class*="prog-"] .ser-icon3 {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px;
    margin: 0 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: center;
    border-radius: 50%;
    overflow: hidden;
  }
  .li-programmes .li-prog-icon {
    width: 28px;
    height: 28px;
  }
  .li-programmes .li-prog-compact-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    align-self: center;
  }
  .li-programmes .service-card3[class*="prog-"] .title {
    font-size: 1.05rem;
    line-height: 1.25;
    max-width: none;
    margin: 0 0 2px !important;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    text-align: left;
  }
  .li-programmes .service-card3[class*="prog-"] span,
  .li-programmes .li-prog-compact-body > span:not(.title) {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--li-text);
    margin: 0 !important;
  }
  .li-programmes .service-card3[class*="prog-"] .title {
    color: var(--li-ink);
  }
  .li-programmes .service-card3[class*="prog-"] .ser-btn3 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: center;
    width: 28px;
    height: 28px;
    margin: 0 !important;
    color: var(--prog-color);
  }
  .li-programmes .service-card3[class*="prog-"] .ser-btn3 .li-arrow {
    width: 16px;
    height: 16px;
  }
  .page-programmes .li-prog-overview {
    --bs-gutter-x: 0;
    --bs-gutter-y: 10px;
    row-gap: 10px;
    margin-left: 0;
    margin-right: 0;
  }
  .page-programmes .class-style2 {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 90px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--prog-color) 16%, #fff);
    box-sizing: border-box;
  }
  .page-programmes .class-style2 .class-img {
    grid-column: 1;
    grid-row: 1 / span 8;
    width: 64px;
    margin: 0;
    align-self: center;
  }
  .page-programmes .class-style2 .class-img .img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
  }
  .page-programmes .class-style2 .class-img .img::before {
    display: none;
  }
  .page-programmes .class-style2 .class-img .img img {
    width: 64px;
    height: 64px;
    object-fit: cover;
  }
  .page-programmes .class-style2 .class-number,
  .page-programmes .class-style2 .class-price {
    display: none !important;
  }
  .page-programmes .class-style2 .class-title {
    grid-column: 2;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    margin: 0;
    max-width: 100%;
  }
  .page-programmes .class-style2 .class-info {
    grid-column: 2;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    max-width: 100%;
  }
}

/* Footer: one-column link lists so columns don't collide */
.footer-layout1 .footer-widget .footer-menu ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Skip to content */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 12px 16px;
  background: var(--li-navy);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  color: #fff;
  outline: 2px solid var(--li-yellow);
  outline-offset: 2px;
}


/* Home About: centre copy against images; mobile gap before photos */
.about-layout .row.align-items-center {
  align-items: center !important;
}
.about-layout .title-area {
  margin-top: 0;
  margin-bottom: 20px;
}
@media (max-width: 991px) {
  .about-layout .vs-btn {
    margin-bottom: 32px;
  }
}

@media (min-width: 992px) {
  .about-layout > .container > .row {
    align-items: center;
    min-height: 420px;
  }
  .about-layout .title-area {
    margin-bottom: 16px;
  }
}

/* Critical layout fallbacks while style.css loads async */
body {
  margin: 0;
  font-family: "Jost", sans-serif;
  color: var(--li-text);
  background: #fff;
}
img { max-width: 100%; height: auto; }
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.vs-btn {
  display: inline-block;
  background: var(--li-red);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  border: none;
}
.header-logo2 img, .mobile-logo img { height: 64px; width: auto; }

/* Critical grid for first paint (bootstrap loads async) */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
.row > * {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
.col-6 { width: 50%; }
.col-12 { width: 100%; }
.col-lg-6, .col-md-6, .col-lg-3, .col-lg-4, .col-lg-2, .col-lg-8, .col-xl-6, .col-xl-5, .col-xl-4, .col-xl-3, .col-md-3 {
  width: 100%;
}
@media (min-width: 768px) {
  .col-md-6 { width: 50%; }
  .col-md-3 { width: 25%; }
}
@media (min-width: 992px) {
  .col-lg-2 { width: 16.666%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333%; }
  .col-lg-6 { width: 50%; }
  .col-lg-8 { width: 66.666%; }
}
@media (min-width: 1200px) {
  .col-xl-3 { width: 25%; }
  .col-xl-4 { width: 33.333%; }
  .col-xl-5 { width: 41.666%; }
  .col-xl-6 { width: 50%; }
}
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.gy-4, .gy-30, .gy-3, .gy-40 { row-gap: 1.5rem; }
.text-center { text-align: center; }
/* Header menu: rely on full Bootstrap d-xl-* ; reinforce so purge/order cannot hide it */
@media (min-width: 1200px) {
  .header-layout5 .main-menu.menu-style4.d-xl-block {
    display: block !important;
  }
  .header-layout5 .header-lower5 .d-xl-block {
    display: block !important;
  }
  .header-layout5 .header-lower5 .vs-menu-toggle.d-xl-none {
    display: none !important;
  }
  .d-xl-inline-block {
    display: inline-block !important;
  }
}
@media (max-width: 1199.98px) {
  .header-layout5 .main-menu.menu-style4 {
    display: none !important;
  }
  .header-layout5 .header-lower5 .vs-menu-toggle {
    display: inline-block !important;
  }
  .header-layout5 .header-lower5 .col-auto.d-xl-block {
    display: none !important;
  }
  .sidemenu-wrapper.d-xl-block {
    display: none !important;
  }
}

/* Contrast: red subtitle on sky background */
.about-layout.bg-li-sky .sec-subtitle,
.bg-li-sky .sec-subtitle {
  color: #b0002e;
}


.about-layout .img-box11 .img1,
.about-layout .img-box11 .img2 {
  max-width: 100%;
  height: auto;
  aspect-ratio: attr(width) / attr(height);
}
.about-layout .img-box11 {
  min-height: 360px;
}

/* Gallery filter pills (restored after CSS purge) */
.filter-menu-style1,
.filter-menu-active {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.filter-menu-style1 button,
.filter-menu-active button {
  appearance: none;
  border: 2px solid var(--li-navy);
  background: #fff;
  color: var(--li-navy);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-family: var(--title-font, "Fredoka", sans-serif);
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-menu-style1 button:hover,
.filter-menu-active button:hover {
  border-color: var(--li-red);
  color: var(--li-red);
}
.filter-menu-style1 button.active,
.filter-menu-active button.active {
  background: var(--li-red);
  border-color: var(--li-red);
  color: #fff;
}

/* Gallery page — CSS-grid masonry (no isotope) */
.li-gallery-page {
  --li-hg-gap: 16px;
  display: grid;
  gap: var(--li-hg-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: auto;
  align-items: stretch;
}
.li-gallery-page .li-hg-item {
  min-width: 0;
  min-height: 0;
}
.li-gallery-page .li-hg-item.is-filtered-out,
.li-gallery-page .li-hg-item[hidden] {
  display: none !important;
}
.li-gallery-page .li-hg-tall {
  grid-row: span 2;
}
.li-gallery-page .li-hg-short {
  aspect-ratio: 4 / 3;
}
.li-gallery-page .gallery-style1,
.li-gallery-page .gallery-img {
  height: 100%;
}
.li-gallery-page .gallery-img {
  position: relative;
  overflow: hidden;
}
.li-gallery-page .gallery-style1 .gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .li-gallery-page {
    --li-hg-gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .li-gallery-page {
    --li-hg-gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.page-gallery-video .img-box7 {
  border-radius: 30px;
  overflow: hidden;
}
.page-gallery-video .img-box7 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
/*
 * Shared gallery strip — CSS grid (no isotope outside gallery.html).
 * Theme order: tall | short(arch)+short | tall | short+short
 * Short aspect 290×253; tall spans 2 rows (= 2 shorts + gap).
 */
.li-gallery-strip,
.li-home-gallery-grid {
  --li-hg-gap: 24px;
  display: grid;
  gap: var(--li-hg-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-items: stretch;
}
.li-gallery-strip .li-hg-item,
.li-home-gallery-grid .li-hg-item {
  min-width: 0;
  min-height: 0;
}
.li-gallery-strip .li-hg-tall,
.li-home-gallery-grid .li-hg-tall {
  grid-row: span 2;
}
.li-gallery-strip .li-hg-short,
.li-home-gallery-grid .li-hg-short {
  aspect-ratio: 290 / 253;
}
.li-gallery-strip .gallery-style1,
.li-gallery-strip .gallery-img,
.li-home-gallery-grid .gallery-style1,
.li-home-gallery-grid .gallery-img {
  height: 100%;
}
.li-gallery-strip .gallery-img,
.li-home-gallery-grid .gallery-img {
  overflow: hidden;
}
.li-gallery-strip .gallery-style1 .gallery-img img,
.li-home-gallery-grid .gallery-style1 .gallery-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Mobile (<768): 2 cols — tall | shorts stacked beside, no empty gaps */
@media (max-width: 767.98px) {
  .li-gallery-strip .li-hg-item:nth-child(1),
  .li-home-gallery-grid .li-hg-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .li-gallery-strip .li-hg-item:nth-child(2),
  .li-home-gallery-grid .li-hg-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .li-gallery-strip .li-hg-item:nth-child(5),
  .li-home-gallery-grid .li-hg-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }
  .li-gallery-strip .li-hg-item:nth-child(3),
  .li-home-gallery-grid .li-hg-item:nth-child(3) {
    grid-column: 1;
    grid-row: 3 / span 2;
  }
  .li-gallery-strip .li-hg-item:nth-child(4),
  .li-home-gallery-grid .li-hg-item:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }
  .li-gallery-strip .li-hg-item:nth-child(6),
  .li-home-gallery-grid .li-hg-item:nth-child(6) {
    grid-column: 2;
    grid-row: 4;
  }
}
/* Tablet (768–1199): 3 cols, tall span 2, auto rows */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .li-gallery-strip,
  .li-home-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .li-gallery-strip .li-hg-item:nth-child(1),
  .li-home-gallery-grid .li-hg-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .li-gallery-strip .li-hg-item:nth-child(2),
  .li-home-gallery-grid .li-hg-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .li-gallery-strip .li-hg-item:nth-child(3),
  .li-home-gallery-grid .li-hg-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .li-gallery-strip .li-hg-item:nth-child(5),
  .li-home-gallery-grid .li-hg-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }
  .li-gallery-strip .li-hg-item:nth-child(4),
  .li-home-gallery-grid .li-hg-item:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
  }
  .li-gallery-strip .li-hg-item:nth-child(6),
  .li-home-gallery-grid .li-hg-item:nth-child(6) {
    grid-column: 3;
    grid-row: 3;
  }
}
/* Desktop (≥1200): 4 cols × 2 rows — theme masonry */
@media (min-width: 1200px) {
  .li-gallery-strip,
  .li-home-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .li-gallery-strip .li-hg-item:nth-child(1),
  .li-home-gallery-grid .li-hg-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .li-gallery-strip .li-hg-item:nth-child(2),
  .li-home-gallery-grid .li-hg-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .li-gallery-strip .li-hg-item:nth-child(3),
  .li-home-gallery-grid .li-hg-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .li-gallery-strip .li-hg-item:nth-child(4),
  .li-home-gallery-grid .li-hg-item:nth-child(4) {
    grid-column: 4;
    grid-row: 1;
  }
  .li-gallery-strip .li-hg-item:nth-child(5),
  .li-home-gallery-grid .li-hg-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }
  .li-gallery-strip .li-hg-item:nth-child(6),
  .li-home-gallery-grid .li-hg-item:nth-child(6) {
    grid-column: 4;
    grid-row: 2;
  }
}

/* Programmes overview — class.html class-style2 cards */
.page-programmes .class-style2 .class-title,
.page-programmes .class-style2 .class-title a {
  text-transform: none;
}
.page-programmes .class-style2 .class-img .img {
  aspect-ratio: 1;
}
.page-programmes .class-style2 .class-img .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-programmes .class-style2[class*="prog-"] .class-number {
  background-color: var(--prog-color);
}
.page-programmes .class-style2[class*="prog-"]:hover .class-number {
  background-color: var(--li-red);
}
.page-programmes .class-style2[class*="prog-"]:hover .class-img .img:before {
  border-color: var(--prog-color);
}
.page-programmes .class-style2 .class-price {
  font-size: 1.25rem;
  margin-top: auto;
}
.page-programmes .class-style2 .class-price a {
  color: inherit;
  text-decoration: none;
}
.page-programmes .class-style2 .class-price a:hover {
  color: var(--li-red);
}

/* Programme detail — class-details img-box7 + 2-col sticky sidebar */
.page-programmes .img-box7,
.page-programme-detail .img-box7 {
  border-radius: 30px;
  overflow: hidden;
}
.page-programmes .img-box7 img,
.page-programme-detail .img-box7 img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-top: 6px solid var(--prog-color, var(--li-red));
}
.page-programmes .class-bar {
  background-color: var(--li-skybg);
}
.page-programmes .lession-title {
  text-transform: none;
}

.page-programme-detail .li-prog-overview p {
  margin-bottom: 1em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--li-text);
}
.page-programme-detail .li-prog-overview p:last-child {
  margin-bottom: 0;
}

.page-programme-detail .li-learn-grid {
  --bs-gutter-y: 1.5rem;
}
.page-programme-detail .li-learn-card {
  height: 100%;
  padding: 22px 20px 20px;
  border-radius: 20px;
  background: var(--li-cream);
  border: 1px solid color-mix(in srgb, var(--prog-color, var(--li-yellow)) 28%, transparent);
}
.page-programme-detail .li-prog-info-value a {
  color: var(--prog-color, var(--li-navy));
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-programme-detail .li-prog-info-value a:hover {
  color: var(--li-red);
}
@media (max-width: 767.98px) {
  .page-programme-detail .li-learn-grid {
    --bs-gutter-y: 16px;
    row-gap: 16px;
  }
  .page-programme-detail .li-learn-grid > [class*="col-"] {
    margin-top: 0;
    padding-top: 0;
  }
  .page-programme-detail .li-learn-card {
    padding: 20px;
  }
}
.page-programme-detail .li-learn-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--prog-color, var(--li-red));
  font-size: 20px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(28, 42, 74, 0.08);
}
.page-programme-detail .li-learn-title {
  margin: 0 0 6px;
  color: var(--li-ink);
  text-transform: none;
}
.page-programme-detail .li-learn-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--li-text);
}

.page-programme-detail .li-activity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.page-programme-detail .li-activity-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--li-skybg);
  border: 1px solid color-mix(in srgb, var(--prog-color, var(--li-navy)) 22%, transparent);
  color: var(--li-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.page-programme-detail .li-activity-chip i {
  color: var(--prog-color, var(--li-red));
  font-size: 14px;
}

.page-programme-detail .li-prog-sidebar {
  position: sticky;
  top: 100px;
}
.page-programme-detail .li-prog-info-card {
  padding: 28px 24px;
  border-radius: 24px;
  background: #fff;
  border: 3px solid var(--theme-color2);
  box-shadow: 0 10px 28px rgba(28, 42, 74, 0.06);
  margin-bottom: 24px;
}
.page-programme-detail .li-prog-info-title {
  margin: 0 0 18px;
  color: var(--li-ink);
  text-transform: none;
}
.page-programme-detail .li-prog-info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--li-border);
}
.page-programme-detail .li-prog-info-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--prog-color, var(--li-navy));
}
.page-programme-detail .li-prog-info-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--li-ink);
  line-height: 1.4;
}
.page-programme-detail .li-prog-info-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.page-programme-detail .li-prog-info-actions .vs-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.page-programme-detail .li-prog-info-actions .vs-btn i {
  margin-right: 8px;
}

.page-programme-detail .li-prog-others {
  padding: 22px 22px 18px;
  border-radius: 24px;
  background: var(--li-skybg);
}
.page-programme-detail .li-prog-others .h5 {
  margin: 0 0 14px;
  color: var(--li-ink);
  text-transform: none;
}
.page-programme-detail .li-prog-others-list {
  margin: 0;
  padding: 0;
}
.page-programme-detail .li-prog-others-list li {
  margin: 0;
}
.page-programme-detail .li-prog-others-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  color: var(--li-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--li-border) 80%, transparent);
}
.page-programme-detail .li-prog-others-list li:last-child a {
  border-bottom: 0;
}
.page-programme-detail .li-prog-others-list a:hover {
  color: var(--prog-color, var(--li-red));
}
.page-programme-detail .li-prog-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 12px;
  background: var(--prog-color, var(--li-navy));
}

/* Contact info-style2 — FA icon circles (no tofu / no SVG dependency) */
.info-style2 .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--li-navy);
  font-size: 36px;
}
.info-style2 .info-icon i {
  line-height: 1;
}
.info-style2:hover .info-icon {
  color: #fff;
}
.info-style2 .info-text a {
  color: inherit;
  text-decoration: none;
}
.info-style2 .info-text a:hover {
  text-decoration: underline;
}
.info-style2 .li-directions-btn {
  margin-top: 12px;
}
@media (max-width: 991.98px) {
  .page-programme-detail .li-prog-sidebar {
    position: static;
    top: auto;
  }
}

/*
 * Home registration CTA (index-4): navy cloud via CSS mask + theme padding
 * so label/heading/button stay inside the cloud; boy clipped to section.
 */
.li-home-registration {
  overflow-x: clip;
  overflow-y: clip;
  padding-top: var(--li-section-y) !important;
  padding-bottom: var(--li-section-y) !important;
}
.li-home-registration .container-style4 {
  overflow: visible;
}
.li-home-registration .registration-box {
  position: relative;
  /* Never depend on data-bg-src JS for the cloud */
  background-image: none !important;
  background-color: transparent !important;
  overflow: visible;
  isolation: isolate;
  padding: 120px 160px 100px 160px !important;
}
.li-why-choose {
  overflow-x: clip;
}
.li-home-registration .registration-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--li-navy);
  -webkit-mask-image: url("../img/bg/reg-bg-1-1.png?v=3440fd91");
  mask-image: url("../img/bg/reg-bg-1-1.png?v=3440fd91");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.li-home-registration .registration-box > .row {
  position: relative;
  z-index: 1;
}
.li-home-registration .registration-content {
  max-width: 34rem;
  padding-right: 12px;
}
.li-home-registration .registration-content span,
.li-home-registration .registration-content h2,
.li-home-registration .registration-content .vs-btn,
.li-home-registration .li-reg-call {
  color: #fff;
}
.li-home-registration .papper-plan {
  z-index: 2;
  right: 8px;
  top: -8px;
  max-width: 110px;
  height: auto;
}
.li-home-registration .register-img {
  z-index: 2;
  top: auto;
  bottom: 24px;
  right: 48px;
  display: flex;
  align-items: flex-end;
  max-height: calc(100% - 48px);
}
.li-home-registration .register-img img {
  width: auto;
  height: auto;
  max-height: 480px;
  display: block;
}
.li-home-registration .registration-content .vs-btn {
  background-color: var(--li-red);
  border-color: var(--li-red);
  color: #fff;
}
.li-home-registration .li-reg-call {
  display: block;
  width: fit-content;
  margin-top: 14px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.li-home-registration .li-reg-call:hover {
  color: #fff;
  opacity: 0.9;
}
@media (max-width: 1399.98px) {
  .li-home-registration .registration-box {
    padding: 110px 110px 90px 110px !important;
  }
  .li-home-registration .register-img {
    right: 16px;
    bottom: 20px;
  }
  .li-home-registration .register-img img {
    max-height: 420px;
  }
}
/* Tablet card: solid navy rounded (theme drops cloud art ≤1199) */
@media (max-width: 1199.98px) {
  .li-home-registration .registration-box {
    background-color: var(--li-navy) !important;
    border-radius: 20px;
    padding: 56px 48px 64px 48px !important;
  }
  .li-home-registration .registration-box::before {
    display: none;
  }
  .li-home-registration .register-img {
    bottom: 16px;
    right: 12px;
  }
  .li-home-registration .register-img img {
    max-height: 320px;
  }
}
@media (max-width: 991.98px) {
  .li-home-registration .register-img {
    display: none !important;
  }
  .li-home-registration .registration-box {
    overflow: hidden;
    padding: 48px 40px 52px !important;
  }
  .li-home-registration .registration-content {
    max-width: none;
    text-align: left;
  }
}
@media (max-width: 575.98px) {
  .li-home-registration .registration-box {
    padding: 36px 24px 40px !important;
  }
  .li-home-registration .registration-content {
    text-align: center;
    margin-inline: auto;
  }
  .li-home-registration .li-reg-call {
    margin-inline: auto;
  }
  .li-home-registration .papper-plan {
    display: none;
  }
}

/* Enquiry form: left-aligned labels, 2-col grid, no theme centering */
.li-enquiry-form .form-style1 .form-group {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.25rem;
  max-width: none;
  text-align: left;
}
.li-enquiry-form .form-label {
  display: block;
  text-align: left;
  width: 100%;
}
.li-enquiry-form .form-style1 input,
.li-enquiry-form .form-style1 select,
.li-enquiry-form .form-style1 textarea {
  height: auto;
  min-height: 52px;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #d0d5dd;
  width: 100%;
}
.li-enquiry-form .form-style1 textarea {
  min-height: 120px;
  resize: vertical;
}
/*
 * Theme .form-style1 .vs-btn is absolute (newsletter). Keep normal flow with
 * position:relative so ::before/::after hover fill is clipped to the button —
 * position:static lets the fill stretch to the form width.
 */
.li-enquiry-form .form-style1 .vs-btn,
.li-franchise-form .vs-btn,
.li-admit-popup__form.form-style1 .vs-btn,
.li-admit-popup__form .vs-btn {
  position: relative !important;
  overflow: hidden;
  z-index: 0;
  transform: none !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
}
.li-enquiry-form .form-style1 .vs-btn::before,
.li-enquiry-form .form-style1 .vs-btn::after,
.li-franchise-form .vs-btn::before,
.li-franchise-form .vs-btn::after,
.li-admit-popup__form .vs-btn::before,
.li-admit-popup__form .vs-btn::after {
  z-index: -1;
}
.li-enquiry-form .form-style1 .col-12.form-group.mb-0 {
  text-align: left;
}

/* bg-con blob sits under form text — pull it left/down; hide on tablet/mobile */
.li-bg-con.background-image,
.li-bg-con {
  background-position: left -80px bottom -140px !important;
  background-size: min(680px, 52vw) auto !important;
  background-repeat: no-repeat !important;
}
.li-bg-con .li-enquiry-form,
.li-bg-con .li-franchise-form {
  position: relative;
  z-index: 1;
}
.li-bg-con .li-enquiry-form > p {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 2px 4px 2px 0;
  background: color-mix(in srgb, #fff 92%, transparent);
  border-radius: 4px;
}
@media (max-width: 991.98px) {
  .li-bg-con.background-image,
  .li-bg-con {
    background-image: none !important;
  }
}

/* Contact map */
.li-map {
  min-height: 420px;
  background: #e8eef5;
  border-radius: 16px;
  overflow: hidden;
}
.li-map iframe {
  display: block;
}

/* Programme / franchise info list */
.course-info-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(28, 42, 74, 0.12);
  color: var(--li-ink);
}
.course-info-list li:last-child {
  border-bottom: 0;
}
.course-info-list li span {
  font-weight: 700;
  color: var(--li-navy);
}

/* Franchise breadcrumb supporting line */
.breadcumb-wrapper.li-breadcumb .breadcumb-text {
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
  margin-bottom: 0.75rem;
}

/* Shared steps (franchise counter-layout7 component) */
.li-franchise-steps .li-franchise-step-note,
.li-steps .li-franchise-step-note {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
}
.li-franchise-steps ul,
.li-steps ul {
  align-items: stretch;
}
.li-franchise-steps ul li,
.li-steps ul li {
  /* Match franchise box footprint (theme 25% column); don’t clip numbers */
  width: calc(25% - 10px) !important;
  height: auto !important;
  min-height: 118px;
  padding: 16px 6px 14px !important;
  box-sizing: border-box;
  overflow: visible;
  align-items: center;
}
/* 3 equal boxes: same width as franchise’s 4-up pills, left-aligned in the row */
.li-steps.li-steps--3 ul {
  justify-content: flex-start;
  gap: 10px;
}
.li-steps.li-steps--3 ul li {
  width: calc(25% - 10px) !important;
  flex: 0 0 calc(25% - 10px);
}
.li-steps.li-steps--4 ul li {
  width: calc(25% - 10px) !important;
}
.li-steps ul li h2,
.li-franchise-steps ul li h2 {
  color: var(--li-red);
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 6px !important;
  line-height: 1.05;
  overflow: visible;
}
.li-steps ul li > span,
.li-franchise-steps ul li > span {
  display: block;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  padding: 0 2px;
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 767.98px) {
  .li-steps ul,
  .li-franchise-steps ul {
    flex-direction: column;
    gap: 12px;
  }
  .li-steps.li-steps--3 ul li,
  .li-steps.li-steps--4 ul li,
  .li-steps ul li,
  .li-franchise-steps ul li {
    width: 100% !important;
    flex: 1 1 auto !important;
    margin-bottom: 0;
    min-height: 96px;
  }
}
.form-style3 select,
.form-style3 textarea {
  width: 100%;
  border: 1px solid rgba(28, 42, 74, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--li-ink);
}

/* ===== Contact — two branch cards + map tabs ===== */
.li-coming-soon {
  color: #8a93a8;
  font-style: italic;
  font-weight: 500;
}
.li-footer-branch + .li-footer-branch {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.li-footer-branch-name {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.li-sidemenu-branch .li-footer-branch-name {
  color: var(--li-ink);
}

.page-contact .li-branch-cards {
  align-items: stretch;
}
.page-contact .li-branch-card {
  display: flex;
  flex-direction: column;
  border: 3px solid var(--theme-color2);
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
  height: 100%;
  transition: border-color 0.3s ease;
}
.page-contact .li-branch-card:hover {
  border-color: var(--theme-color);
}
.page-contact .li-branch-photo,
.page-contact .li-branch-photo-soon {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}
.page-contact .li-branch-photo.img-box7 {
  border-radius: 0;
}
.page-contact .li-branch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top: 0;
  max-height: none;
}
.page-contact .li-branch-photo-soon,
.page-contact .li-branch-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(160deg, var(--li-skybg) 0%, color-mix(in srgb, var(--li-navy) 12%, #fff) 100%);
  color: var(--li-navy);
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.page-contact .li-branch-photo-placeholder .li-branch-photo-shape {
  position: absolute;
  inset: 12% 18%;
  border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
  background: color-mix(in srgb, var(--li-sky) 18%, #fff);
  z-index: 0;
}
.page-contact .li-branch-photo-placeholder i,
.page-contact .li-branch-photo-placeholder .li-branch-photo-label {
  position: relative;
  z-index: 1;
}
.page-contact .li-branch-photo-placeholder i {
  font-size: 28px;
  color: var(--li-red);
}
.page-contact .li-branch-photo-placeholder .li-branch-photo-label {
  font-family: Jost, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--li-ink);
}
.page-contact .li-branch-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 22px 24px;
}
.page-contact .li-branch-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--li-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-contact .li-branch-title {
  margin: 0 0 16px;
  color: var(--li-ink);
  text-transform: none;
}
.page-contact .li-branch-meta {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.page-contact .li-branch-meta-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.page-contact .li-branch-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-color2);
  color: var(--li-navy);
  font-size: 16px;
}
.page-contact .li-branch-card:hover .li-branch-icon {
  background: var(--theme-color);
  color: #fff;
}
.page-contact .li-branch-meta-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--li-navy);
  margin-bottom: 2px;
}
.page-contact .li-branch-meta-value {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: var(--li-text);
  word-break: break-word;
}
.page-contact .li-branch-meta-value a {
  color: inherit;
  text-decoration: none;
}
.page-contact .li-branch-meta-value a:hover {
  color: var(--li-red);
  text-decoration: underline;
}
.page-contact .li-hours-block {
  display: block;
  margin-bottom: 8px;
}
.page-contact .li-hours-block:last-child {
  margin-bottom: 0;
}
.page-contact .li-hours-head {
  display: block;
  color: var(--li-ink);
}
.page-contact .li-hours-time {
  display: block;
  white-space: nowrap;
}
.page-contact .li-branch-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.page-contact .li-branch-actions .vs-btn,
.page-contact .li-branch-actions .li-directions-btn {
  margin: 0;
  flex: 1 1 140px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  box-sizing: border-box;
  text-align: center;
}
.page-contact .li-branch-actions .vs-btn i,
.page-contact .li-branch-actions .li-directions-btn i {
  margin-right: 8px;
}
@media (max-width: 359.98px) {
  .page-contact .li-branch-actions .vs-btn,
  .page-contact .li-branch-actions .li-directions-btn {
    flex: 1 1 100%;
  }
}
.page-contact .li-directions-btn.is-disabled,
.page-contact .vs-btn.is-disabled {
  opacity: 0.72;
  pointer-events: none;
  cursor: default;
}
.page-contact .li-branch-photo-map {
  background: var(--li-skybg);
  position: relative;
}
.page-contact .li-branch-photo-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.page-contact .li-find-map-card .li-branch-map-frame iframe {
  width: 100%;
  min-height: 320px;
  height: 360px;
  border: 0;
  display: block;
}
.page-contact .li-find-maps {
  margin-top: 8px;
}
.page-contact .li-find-map-card {
  height: 100%;
}
.page-contact .li-find-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.page-contact .li-find-map-head .h5 {
  color: var(--li-ink);
  margin: 0;
}
.page-contact .li-find-map-card .li-branch-map-frame {
  margin: 0;
}

.page-contact .li-branch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
}
.page-contact .li-branch-tab {
  border: 2px solid var(--li-navy);
  background: #fff;
  color: var(--li-navy);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.page-contact .li-branch-tab.is-active,
.page-contact .li-branch-tab[aria-selected="true"] {
  background: var(--li-navy);
  color: #fff;
}
.page-contact .li-branch-tab:focus-visible {
  outline: 3px solid var(--li-yellow);
  outline-offset: 2px;
}
.page-contact .li-branch-map-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  background: var(--li-skybg);
}
.page-contact .li-branch-map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.page-contact .li-branch-map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  text-align: center;
  font-size: 18px;
}
.page-contact .li-branch-map-panel {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ===== Admissions ===== */
.page-admissions .page-admissions-form .img-box6 img {
  object-fit: cover;
}
.page-admissions .li-prog-table-wrap {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--li-border);
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 42, 74, 0.05);
}
.page-admissions .li-prog-table {
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}
.page-admissions .li-prog-table thead th {
  background: var(--li-navy);
  color: #fff;
  font-weight: 700;
  border: 0;
  padding: 14px 18px;
  white-space: nowrap;
}
.page-admissions .li-prog-table tbody td {
  padding: 14px 18px;
  vertical-align: middle;
  border-top: 1px solid var(--li-border);
  color: var(--li-text);
}
.page-admissions .li-prog-table tbody tr[class*="prog-"] td:first-child {
  border-left: 6px solid var(--prog-color, var(--li-navy));
  font-weight: 700;
  color: var(--li-ink);
}
.page-admissions .li-prog-table tbody tr[class*="prog-"] td:first-child a {
  color: inherit;
  text-decoration: none;
}
.page-admissions .li-prog-table tbody tr[class*="prog-"] td:first-child a:hover {
  color: var(--prog-color, var(--li-red));
  text-decoration: underline;
}
@media (max-width: 575.98px) {
}

/* —— Blog —— */
.li-blog-card .blog-img img,
.li-blog-article .blog-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  max-height: 420px;
}
.li-blog-cat {
  color: var(--li-red);
  font-weight: 600;
}
.li-blog-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--li-text);
}
.li-blog-content h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--li-ink);
}
.li-blog-content h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--li-ink);
}
.li-blog-content ul,
.li-blog-content ol {
  margin: 0 0 1.25rem 1.25rem;
}
.li-blog-content li {
  margin-bottom: 0.4rem;
}
.li-blog-content a {
  color: var(--li-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.li-blog-content a:hover {
  color: var(--li-red);
}
.li-blog-admit-card {
  background: var(--li-skybg, #eef4fb);
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.5rem;
}
.li-blog-admit-card .vs-btn {
  margin-top: 0.5rem;
}
.li-blog-related {
  border-top: 1px solid var(--li-border);
  padding-top: 1.25rem;
}
.li-blog-sidebar .recent-post .media-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

/* Events page — index-6 event cards without dates */
.page-events .li-event-card {
  height: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 40, 80, 0.08);
}
.page-events .li-event-card .event-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.page-events .li-event-card .event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-events .li-event-card .event-content {
  padding: 1.1rem 1.25rem 1.35rem;
}
.page-events .li-event-card .event-title {
  margin-bottom: 0.35rem;
}
.page-events .li-event-card .event-text {
  color: var(--body-color, #555);
  font-size: 0.95rem;
  line-height: 1.5;
}
.page-events-activities .feature-style3 {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem 1.6rem 1.7rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(15, 40, 80, 0.06);
}
.page-events-activities .feature-style3 .feature-title {
  margin-bottom: 0.85rem;
}

/* Facilities detail blocks */
.page-facilities .img-box7,
.page-facilities ~ section .img-box7 {
  border-radius: 30px;
  overflow: hidden;
}
.page-facilities ~ section .img-box7 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.page-facilities ~ section .service-title.h1 {
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
}

/* 404 error number is decorative (H1 lives in banner) */
.page-404 .error-number {
  line-height: 1;
}

/*
 * How We Teach (about) — theme about.html img-box3 blob photo
 * + tinted feature cards + navy counter strip with wave top.
 */
.li-how-teach .li-teach-photo {
  position: relative;
  margin-bottom: 0;
}
.li-how-teach .li-teach-photo .img-1 {
  border-radius: 290px 290px 94px 298px;
  overflow: hidden;
}
.li-how-teach .li-teach-photo .img-1 img {
  width: 100%;
  height: auto;
  display: block;
}
.li-how-teach .li-teach-badge {
  position: absolute;
  left: 18px;
  bottom: 28px;
  z-index: 2;
  background: var(--li-yellow);
  color: var(--li-ink);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(28, 42, 74, 0.18);
}
.li-teach-grid {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 24px;
}
.li-teach-card {
  --li-teach-tint: color-mix(in srgb, var(--li-red) 16%, #fff);
  height: 100%;
  background: var(--li-teach-tint);
  border-radius: 24px;
  padding: 22px 22px 20px;
}
.li-teach-card--red { --li-teach-tint: color-mix(in srgb, var(--li-red) 16%, #fff); }
.li-teach-card--sky { --li-teach-tint: color-mix(in srgb, var(--li-sky) 18%, #fff); }
.li-teach-card--green { --li-teach-tint: color-mix(in srgb, var(--li-green) 18%, #fff); }
.li-teach-card--orange { --li-teach-tint: color-mix(in srgb, var(--li-orange) 18%, #fff); }
.li-teach-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--li-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(28, 42, 74, 0.08);
}
.li-teach-card--red .li-teach-icon { color: var(--li-red); }
.li-teach-card--sky .li-teach-icon { color: var(--li-sky); }
.li-teach-card--green .li-teach-icon { color: var(--li-green); }
.li-teach-card--orange .li-teach-icon { color: var(--li-orange); }
.li-teach-title {
  margin-bottom: 10px;
  color: var(--li-ink);
}
.li-teach-list {
  margin: 0;
  padding: 0;
}
.li-teach-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--li-text);
}
.li-teach-list li:last-child {
  margin-bottom: 0;
}
.li-teach-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}
.li-teach-stats {
  position: relative;
  background: var(--li-navy);
  color: #fff;
  padding: 72px 0 56px;
  margin-top: 0;
}
.li-teach-stats-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 48px;
  color: #fff;
  line-height: 0;
}
.li-teach-stats-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}
.li-teach-stat-value {
  margin: 0 0 4px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #fff;
  line-height: 1.25;
}
.li-teach-stat-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}
@media (max-width: 767.98px) {
  .li-how-teach .li-teach-photo .img-1 {
    border-radius: 180px 180px 60px 180px;
  }
  .li-teach-stats {
    padding: 64px 0 40px;
  }
}


/* Shared icon + text rows — wrap stays beside icon, never under it */
.li-icon-text {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
}
.li-icon-text > i,
.li-icon-text > .li-branch-icon {
  flex: 0 0 auto;
  margin-top: 0.15em;
}
.li-icon-text__body {
  flex: 1 1 auto;
  min-width: 0;
}
.footer-layout1 .footer-info.li-icon-text {
  margin-bottom: 12px;
}
.footer-layout1 .footer-info.li-icon-text i {
  margin-right: 0;
  margin-top: 0;
}
.header-layout5 .header-links .li-icon-text {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px;
}
.header-layout5 .header-links .li-icon-text i {
  margin-right: 0 !important;
  margin-top: 0 !important;
  position: static;
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
}
.header-layout5 .header-links .li-icon-text__body,
.header-layout5 .header-links .li-icon-text__body a {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}
.page-contact .li-branch-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.page-programme-detail .li-prog-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.page-programme-detail .li-prog-info-label {
  flex: 0 0 auto;
}
.page-programme-detail .li-prog-info-value {
  flex: 1 1 auto;
  min-width: 0;
}

/* Admissions timings table → stacked cards on small phones */
@media (max-width: 575.98px) {
  .page-admissions .li-prog-table-wrap {
    overflow: visible;
  }
  .page-admissions .li-prog-table thead {
    display: none;
  }
  .page-admissions .li-prog-table,
  .page-admissions .li-prog-table tbody,
  .page-admissions .li-prog-table tr,
  .page-admissions .li-prog-table td {
    display: block;
    width: 100%;
  }
  .page-admissions .li-prog-table tbody tr {
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 2px solid color-mix(in srgb, var(--prog-color, var(--li-navy)) 35%, #fff);
    border-radius: 16px;
    background: #fff;
  }
  .page-admissions .li-prog-table tbody td {
    border: 0;
    padding: 4px 0;
  }
  .page-admissions .li-prog-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--li-navy);
    margin-bottom: 2px;
  }
  .page-admissions .li-prog-table tbody td:first-child {
    margin-bottom: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(28, 42, 74, 0.08);
  }
}

/*
 * Events → Activities card grid (filtered).
 * 3-up ≥992 · 2-up 576–991 · compact horizontal <576.
 */
.page-events-activities .li-activities-filters {
  margin-bottom: 40px;
}
.li-activities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.li-activity-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 22px;
  box-shadow: 0 10px 28px rgba(28, 42, 74, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.li-activity-card.is-filtered-out,
.li-activity-card[hidden] {
  display: none !important;
}
.li-activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(28, 42, 74, 0.12);
}
.li-activity-card__media {
  --li-act-tint: var(--li-red);
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
}
.li-activity-tint--red { --li-act-tint: var(--li-red); }
.li-activity-tint--sky { --li-act-tint: var(--li-sky); }
.li-activity-tint--green { --li-act-tint: var(--li-green); }
.li-activity-tint--orange { --li-act-tint: var(--li-orange); }
.li-activity-tint--violet { --li-act-tint: var(--li-violet); }
.li-activity-tint--yellow { --li-act-tint: var(--li-yellow); }
.li-activity-tint--teal { --li-act-tint: var(--li-teal); }
.li-activity-tint--navy { --li-act-tint: var(--li-navy); }
.li-activity-blob {
  position: absolute;
  inset: -6px -4px -8px -8px;
  background: color-mix(in srgb, var(--li-act-tint) 22%, #fff);
  border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
  z-index: 0;
  transition: transform 0.35s ease;
}
.li-activity-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--li-act-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(28, 42, 74, 0.1);
  transition: transform 0.35s ease;
}
.li-activity-card:hover .li-activity-icon {
  transform: rotate(8deg);
}
.li-activity-card:hover .li-activity-blob {
  transform: rotate(-6deg) scale(1.04);
}
.li-activity-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.li-activity-card__title {
  margin: 0 0 8px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--li-ink);
}
.li-activity-card__line {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--li-text);
  flex: 1 1 auto;
}
.li-activity-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.li-activity-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}
.li-activity-badge--pre {
  background: color-mix(in srgb, var(--li-yellow) 28%, #fff);
  color: var(--li-ink);
}
.li-activity-badge--grade {
  background: color-mix(in srgb, var(--li-sky) 22%, #fff);
  color: var(--li-navy);
}
@media (max-width: 991.98px) {
  .li-activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .li-activities-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .li-activity-card {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    min-height: 88px;
  }
  .li-activity-card__media {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    margin: 0;
  }
  .li-activity-icon {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
  }
  .li-activity-card__title {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  .li-activity-card__line {
    margin-bottom: 8px;
    font-size: 0.88rem;
  }
  .page-events-activities .li-activities-filters {
    gap: 8px;
    margin-bottom: 24px;
  }
  .page-events-activities .li-activities-filters button {
    padding: 8px 14px;
    font-size: 13px;
  }
}
