:root{--navy:#142b4a;--blue:#2563eb;--gold:#d6a84b;--ink:#243247;--muted:#68778b;--pale:#f3f6fa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);line-height:1.65}a{text-decoration:none;color:inherit}.wrap{width:min(1120px,92%);margin:auto}.top{background:var(--navy);color:#dce7f5;font-size:11px;padding:8px 0}.top .wrap{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.top i{color:var(--gold)}.nav{position:sticky;top:0;background:#fff;z-index:10;box-shadow:0 5px 22px #142b4a12}.navrow{height:78px;display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{display:flex;align-items:center;gap:11px;color:var(--navy)}.brand b{display:block;font-size:16px}.brand small{display:block;font-size:10px;color:var(--muted)}.logo{width:45px;height:45px;background:var(--navy);color:white;border-radius:12px;display:grid;place-items:center;font-size:20px}.links{display:flex;gap:20px;font-size:12px;font-weight:700;color:#45546a}.links a:hover{color:var(--blue)}.hamb{display:none;border:0;padding:10px;background:var(--pale);border-radius:8px;font-size:18px}.hero{background:linear-gradient(90deg,#0c223de8,#0c223d65),url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?auto=format&fit=crop&w=1800&q=85') center/cover;color:white;padding:105px 0}.hero article{max-width:670px}.eyebrow{color:var(--gold);font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase}.hero h1{font-size:clamp(35px,5vw,58px);line-height:1.12;margin:15px 0}.hero p{color:#e0e8f2;max-width:570px}.btn{display:inline-block;background:var(--blue);color:white;padding:11px 18px;border-radius:8px;font-size:13px;font-weight:700;margin:8px 7px 0 0}.btn.gold{background:var(--gold);color:var(--navy)}section{padding:70px 0}.soft{background:var(--pale)}.stats{display:grid;grid-template-columns:repeat(4,1fr);background:white;box-shadow:0 12px 35px #142b4a12;border-radius:13px;padding:22px;margin-top:-30px;position:relative}.stat{text-align:center;border-right:1px solid #e7edf3}.stat:last-child{border:0}.stat b{display:block;color:var(--navy);font-size:24px}.stat span{font-size:11px;color:var(--muted)}.about{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.about img{width:100%;height:350px;object-fit:cover;border-radius:15px}.about h2,.sectionhead h2,.contact h2{color:var(--navy);font-size:30px;line-height:1.25}.muted{color:var(--muted);font-size:14px}.checks{padding-left:20px;font-size:13px;font-weight:600}.sectionhead{text-align:center;max-width:650px;margin:0 auto 35px}.sectionhead .eyebrow{color:var(--blue)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border-radius:13px;overflow:hidden;box-shadow:0 8px 28px #142b4a0c}.card img{width:100%;height:185px;object-fit:cover}.cardbody{padding:18px}.tag{font-size:10px;color:var(--blue);font-weight:800;text-transform:uppercase}.card h3{font-size:16px;color:var(--navy);line-height:1.4;margin:7px 0}.card p{font-size:12px;color:var(--muted)}.principal{background:var(--navy);color:white}.principalrow{display:grid;grid-template-columns:230px 1fr;gap:35px;align-items:center;max-width:850px;margin:auto}.principal img{width:220px;height:260px;object-fit:cover;border-radius:14px}.principal p{color:#d4deeb;font-size:14px}.gallery{display:grid;grid-template-columns:1.3fr 1fr 1fr;grid-template-rows:170px 170px;gap:12px}.gallery img{width:100%;height:100%;object-fit:cover;border-radius:10px}.gallery img:first-child{grid-row:span 2}.ppdb{background:linear-gradient(110deg,#1c4b8e,#2563eb);color:white;border-radius:16px;padding:35px;display:flex;align-items:center;justify-content:space-between;gap:20px}.ppdb h2{margin:5px 0}.contactgrid{display:grid;grid-template-columns:1fr 1fr;gap:35px}.contactitem{margin:17px 0;font-size:13px}.map{width:100%;height:290px;border:0;border-radius:13px}footer{background:#0e2038;color:#c8d3e1;padding:42px 0 18px}.footgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}.footgrid h3,.footgrid h4{color:white}.footgrid p,.footgrid a{font-size:12px;color:#bdcada}.footgrid a{display:block;margin:7px 0}.copy{border-top:1px solid #ffffff22;margin-top:28px;padding-top:15px;font-size:11px}.wa{position:fixed;right:20px;bottom:20px;background:#20b86a;color:white;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:24px;z-index:20}.empty{padding:20px;background:white;border-radius:10px;color:var(--muted);text-align:center}@media(max-width:850px){.links{display:none;position:absolute;top:78px;left:0;right:0;background:white;padding:20px 4%;flex-direction:column}.links.show{display:flex}.hamb{display:block}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.top .wrap{font-size:9px}.hero{padding:75px 0}.stats{grid-template-columns:repeat(2,1fr);gap:15px}.stat:nth-child(2){border:0}.about,.contactgrid,.principalrow{grid-template-columns:1fr}.about img{height:250px}.cards{grid-template-columns:1fr}.principal img{width:100%;height:240px}.gallery{grid-template-columns:1fr 1fr;grid-template-rows:140px 140px 140px}.gallery img:first-child{grid-row:auto;grid-column:span 2}.ppdb{display:block;padding:25px}.footgrid{grid-template-columns:1fr}section{padding:55px 0}}

/* V4 */
.readmore{display:inline-block;margin-top:8px;color:var(--blue);font-size:12px;font-weight:800}.gallery-link{display:block;overflow:hidden;border-radius:10px}.gallery-link img{cursor:zoom-in;transition:transform .25s}.gallery-link:hover img{transform:scale(1.04)}.lightbox{display:none;position:fixed;inset:0;background:#071426ed;z-index:1000;align-items:center;justify-content:center;flex-direction:column;padding:25px}.lightbox.open{display:flex}.lightbox img{max-width:min(100%,1000px);max-height:78vh;object-fit:contain;border-radius:8px}.lightbox p{color:white;text-align:center}.lightbox-close{position:absolute;right:22px;top:12px;background:transparent;color:white;border:0;font-size:42px;cursor:pointer}.article{max-width:850px;padding-top:45px;padding-bottom:70px}.article h1{font-size:clamp(30px,5vw,44px);line-height:1.2;color:var(--navy)}.article-date,.backlink{color:var(--muted);font-size:13px}.backlink{display:block;margin-bottom:24px}.article-cover{width:100%;max-height:480px;object-fit:cover;border-radius:14px;margin:18px 0}.article-content{font-size:16px;line-height:1.9;white-space:normal}.notfound{padding:80px 0}

/* V5 - pilihan gaya visual */
.template-modern .nav{box-shadow:0 8px 28px #0ea5e922}.template-modern .logo,.template-modern .btn{border-radius:18px}.template-modern .hero{background-color:#123c69}.template-modern .card,.template-modern .stats,.template-modern .ppdb{border-radius:22px}.template-minimal .nav{box-shadow:none;border-bottom:1px solid #e5e7eb}.template-minimal .hero{background-image:linear-gradient(90deg,#17212bea,#17212b80),url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?auto=format&fit=crop&w=1800&q=85')}.template-minimal .btn{border-radius:4px}.template-minimal .card,.template-minimal .stats{border-radius:4px;box-shadow:none;border:1px solid #e5e7eb}.template-options{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.template-choice{border:1px solid #dce4ee;padding:18px;border-radius:12px;cursor:pointer}.template-choice input{width:auto}.template-choice b,.template-choice small{display:block;margin-top:9px}.swatches{display:flex;gap:8px;margin-top:15px}.swatches i{width:28px;height:28px;border-radius:50%}@media(max-width:700px){.template-options{grid-template-columns:1fr}}

/* V6 homepage slider and school information cards */
.v6-slider{position:relative;min-height:470px;padding:0!important;background:#142b4a;overflow:hidden}.v6-slide{display:none;min-height:470px;background-size:cover;background-position:center;color:#fff;padding:100px 0 90px}.v6-slide.active{display:block;animation:v6fade .55s ease}.v6-slide .wrap{max-width:1180px}.v6-slide h1{max-width:760px;font-size:clamp(2rem,5vw,3.6rem);line-height:1.12;margin:18px 0}.v6-slide p{max-width:650px;font-size:1.1rem;line-height:1.7}.v6-slider-dots{position:absolute;bottom:24px;left:0;right:0;display:flex;justify-content:center;gap:9px}.v6-slider-dots button{border:0;width:11px;height:11px;border-radius:50%;padding:0;background:#ffffff88;cursor:pointer}.v6-slider-dots button.active{background:#fff;transform:scale(1.25)}.v6-content-section{padding:64px 0}.v6-content-section:nth-of-type(even){background:#f6f8fb}@keyframes v6fade{from{opacity:.45}to{opacity:1}}

.footer-social{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.footer-social a{font-weight:600}

.page-cover{width:100%;max-height:430px;object-fit:cover;border-radius:16px;margin:18px 0}.article-content h2{margin-top:28px}.article-content p{line-height:1.8;margin:12px 0}.article-content li{margin:7px 0}.editor-tools{display:flex;gap:7px;flex-wrap:wrap;margin:7px 0}.editor-tools button{padding:7px 11px}

/* V6 Fix - galeri foto dan video YouTube */
.gallery-link{position:relative;min-height:150px}
.gallery-link>img{display:block}
.video-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;background:linear-gradient(0deg,#07142655,#07142615);pointer-events:none}
.video-play i{display:flex;align-items:center;justify-content:center;width:66px;height:46px;border-radius:14px;background:#e62117;box-shadow:0 4px 18px #0005}
.video-gallery-link:hover .video-play i{transform:scale(1.08)}
.lightbox-media{width:min(100%,1100px);display:flex;align-items:center;justify-content:center}
.lightbox-media img{max-width:100%;max-height:78vh;object-fit:contain;border-radius:8px}
.lightbox-media iframe{width: min(100%, 1100px);aspect-ratio:16/9;height:auto;max-height:78vh;border:0;border-radius:10px;background:#000}
@media(max-width:700px){.lightbox{padding:14px}.lightbox-media iframe{width:100%;height:auto}.gallery-link{min-height:130px}}

/* V6 Gallery Layout Fix: larger cards and visible captions */
#galeri .gallery.gallery-media-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  grid-auto-rows:auto;
  gap:24px;
  align-items:start;
  margin-top:28px;
}
#galeri .gallery-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #e7edf4;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(20,43,74,.08);
  padding:10px;
}
#galeri .gallery-card .gallery-link{
  display:block;
  position:relative;
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:10px;
  background:#eef2f7;
}
#galeri .gallery-card .gallery-link>img{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  border-radius:0;
}
#galeri .gallery-card .gallery-caption{
  display:block;
  margin:13px 5px 4px;
  color:var(--navy,#142B4A);
  font-size:16px;
  line-height:1.45;
  font-weight:700;
  overflow-wrap:anywhere;
}
#galeri .gallery-card .gallery-type{
  display:block;
  margin:0 5px 7px;
  color:#64748b;
  font-size:12px;
}
#galeri .gallery-card .gallery-type .fa-youtube{color:#e62117;margin-right:4px}
#galeri .gallery-card .video-play i{width:68px;height:48px}
@media(min-width:1200px){
  #galeri .gallery.gallery-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
}
@media(min-width:700px) and (max-width:1199px){
  #galeri .gallery.gallery-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media(max-width:699px){
  #galeri .gallery.gallery-media-grid{grid-template-columns:1fr;gap:18px}
  #galeri .gallery-card .gallery-caption{font-size:15px}
}

/* V6.1: Force responsive large YouTube player in gallery lightbox */
#galleryLightbox.lightbox{
  box-sizing:border-box;
  width:100vw;
  height:100vh;
  padding:24px;
}
#galleryLightbox .lightbox-media{
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(92vw,1100px) !important;
  max-width:92vw !important;
  flex:0 1 auto;
}
#galleryLightbox .lightbox-media iframe{
  display:block !important;
  width:min(92vw,1100px) !important;
  max-width:92vw !important;
  height:min(51.75vw,619px) !important;
  max-height:78vh !important;
  min-height:0 !important;
  aspect-ratio:16/9;
  border:0;
  border-radius:12px;
  background:#000;
}
#galleryLightbox .lightbox-media img{
  display:block;
  width:auto;
  max-width:min(92vw,1100px);
  max-height:78vh;
}
#galleryLightbox>p{
  margin:12px 0 0;
  color:#fff;
  font-size:16px;
  font-weight:700;
  text-align:center;
}
@media(max-width:600px){
  #galleryLightbox.lightbox{padding:14px}
  #galleryLightbox .lightbox-media,
  #galleryLightbox .lightbox-media iframe{
    width:92vw !important;
    max-width:92vw !important;
  }
  #galleryLightbox .lightbox-media iframe{
    height:51.75vw !important;
    max-height:70vh !important;
  }
}

/* V6.2: Extra-large YouTube modal player - avoid forcing fullscreen */
#galleryLightbox.lightbox{
  padding:20px !important;
  justify-content:center !important;
  align-items:center !important;
}
#galleryLightbox .lightbox-media{
  width: min(94vw, 1440px) !important;
  max-width: min(94vw, 1440px) !important;
  flex: 0 0 auto !important;
}
#galleryLightbox .lightbox-media iframe{
  display:block !important;
  width: min(94vw, 1440px) !important;
  max-width: min(94vw, 1440px) !important;
  height: min(52.875vw, 810px) !important;
  max-height: 82vh !important;
  min-height: 0 !important;
  aspect-ratio:16/9 !important;
  border:0 !important;
  border-radius:12px !important;
}
#galleryLightbox .lightbox-media img{
  max-width:min(94vw,1440px) !important;
  max-height:82vh !important;
}
#galleryLightbox>p{
  margin-top:12px !important;
  font-size:17px !important;
  font-weight:700 !important;
}
@media(max-width:700px){
  #galleryLightbox.lightbox{padding:12px !important}
  #galleryLightbox .lightbox-media,
  #galleryLightbox .lightbox-media iframe{
    width:96vw !important;
    max-width:96vw !important;
  }
  #galleryLightbox .lightbox-media iframe{
    height:54vw !important;
    max-height:72vh !important;
  }
}

/* TK Kalimosodo theme polish and operator access */
.navrow{gap:12px}
.operator-login{
 display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;
 padding:10px 14px;border-radius:9px;background:var(--navy);
 color:#fff;font-size:12px;font-weight:700;
 box-shadow:0 5px 14px rgba(20,43,74,.12);
 transition:transform .18s ease,background .18s ease;
}
.operator-login:hover{background:var(--blue);transform:translateY(-1px)}
.operator-login i{color:var(--gold)}
@media(max-width:850px){
 .navrow{height:auto;min-height:72px;flex-wrap:wrap;padding:10px 0}
 .operator-login{margin-left:auto;padding:8px 10px;font-size:11px}
 .links{top:72px}
}
@media(max-width:430px){
 .operator-login span{display:none}
 .operator-login{width:38px;height:38px;justify-content:center;padding:0}
}

/* V6.5 - Playful early-childhood visual system inspired by the supplied reference */
:root{
 --navy:#164b83;--blue:#328fce;--gold:#f59b36;--ink:#28435e;--muted:#687f95;
 --pale:#eff9ff;--sky:#bfeaff;--cream:#fff3d6;--coral:#ed7659;--mint:#e7f7e9;
}
body{background:#fff;color:var(--ink);font-family:'Nunito','Inter',Arial,sans-serif}
.wrap{width:min(1160px,92%)}
.top{background:#278fc8;color:#effaff}
.top i{color:#ffe08a}
.nav{background:#bdeaff;box-shadow:none;border-bottom:5px solid #e9f8ff;position:sticky}
.nav:after{content:"";position:absolute;left:0;right:0;bottom:-11px;height:15px;background:radial-gradient(22px 11px at 22px 0,#fff 98%,transparent 100%) 0 0/44px 15px repeat-x;pointer-events:none}
.navrow{height:88px}
.brand{color:#164b83}
.brand b{font-size:20px;font-weight:900;letter-spacing:-.3px}
.brand small{color:#47799e;font-weight:700}
.brand .logo{background:#fff;color:#f19a35;border-radius:50%;box-shadow:0 3px 0 #8fd4f3}
.school-logo{background:#fff;border-radius:50%;padding:4px;width:58px;height:58px}
.links{gap:clamp(12px,2vw,27px);font-size:13px;color:#164b83}
.links a{padding:10px 0;position:relative}
.links a:hover,.links a:focus{color:#e16d4f}
.links a:hover:after{content:"";position:absolute;left:0;right:0;bottom:2px;height:3px;border-radius:8px;background:#f3a43d}
.operator-login{background:#f28c2f;color:#fff;border-radius:999px;padding:12px 17px;box-shadow:0 4px 0 #d96d21;font-weight:900}
.operator-login i{color:#fff}
.operator-login:hover{background:#e77726;color:#fff}
.hamb{background:#fff;color:#1e6c9f}
.hero,.v6-slider{
 position:relative;min-height:500px;padding:0!important;overflow:hidden;
 background-color:#fff0ce;
 background-image:linear-gradient(90deg,#fff0d2 0%,#fff0d2 34%,rgba(255,240,210,.84) 43%,rgba(255,240,210,.04) 72%),url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=88');
 background-position:center,right center;background-size:cover;
 border-radius:0 0 28px 28px;
}
.hero>.wrap,.v6-slide .wrap{min-height:500px;display:flex;align-items:center}
.hero article,.v6-slide .wrap>div{max-width:490px;position:relative;z-index:1}
.hero .eyebrow,.v6-slide .eyebrow{color:#e67b45;letter-spacing:1.2px}
.hero h1,.v6-slide h1{
 color:#174f87;font-size:clamp(38px,5vw,62px);font-weight:1000;
 line-height:1.08;letter-spacing:-1.6px;margin:14px 0 18px;
 text-wrap:balance;
}
.hero p,.v6-slide p{color:#52677b;font-size:17px;line-height:1.7;font-weight:700}
.hero:after,.v6-slider:after{
 content:"";position:absolute;z-index:2;left:-2%;right:-2%;bottom:-2px;height:55px;
 background:
 radial-gradient(70px 38px at 70px 0,#fff 98%,transparent 100%) 0 0/140px 55px repeat-x;
 pointer-events:none;
}
.v6-slide{display:none;min-height:500px;padding:40px 0 80px!important;background-size:cover!important;background-position:center right!important;color:#28435e}
.v6-slide.active{display:block}
.v6-slide h1{max-width:500px}
.v6-slide p{max-width:450px}
.v6-slider-dots{bottom:42px;z-index:4}
.v6-slider-dots button{background:#ffffffaa;border:1px solid #6bb9df}
.v6-slider-dots button.active{background:#f3a13c;border-color:#f3a13c}
.btn{background:#318fca;border-radius:999px;padding:13px 22px;box-shadow:0 4px 0 #176c9f;font-weight:900}
.btn.gold{background:#f29a37;color:#fff;box-shadow:0 4px 0 #d87524}
.btn:hover{transform:translateY(-2px)}
.program-showcase{padding:52px 0 58px;background:#fff}
.sectionhead{margin-bottom:28px}
.sectionhead .eyebrow{color:#e88445}
.sectionhead h2,.about h2,.contact h2{color:#174f87;font-size:clamp(27px,3.5vw,38px);font-weight:1000;letter-spacing:-.8px}
.program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.program-card{min-height:245px;padding:23px;border-radius:24px;text-align:center;overflow:hidden;position:relative;border:2px solid #edf6fb}
.program-blue{background:#edf8ff}.program-green{background:#eff9ed}.program-peach{background:#fff2e9}
.program-art{height:105px;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:12px;color:#2b8ec6;font-size:45px}
.program-green .program-art{color:#56a66d}.program-peach .program-art{color:#e78a4b}
.toy-block{width:54px;height:54px;display:grid;place-items:center;border-radius:10px 10px 4px 4px;color:white;font-size:30px;font-weight:1000;box-shadow:0 5px 0 rgba(20,60,90,.12);transform:rotate(-5deg)}
.block-a{background:#f4a43d}.block-b{background:#55b6d8;transform:translateY(-9px) rotate(4deg)}.block-c{background:#ef8066;transform:rotate(6deg)}
.program-card h3{color:#174f87;font-size:19px;margin:8px 0}
.program-card p{color:#657d91;font-size:13px;line-height:1.7;margin:0}
.stats{margin-top:8px;border:2px solid #e9f6fd;border-radius:22px;box-shadow:0 12px 30px rgba(52,139,190,.08)}
.stat b{color:#2385bf}.stat span{color:#71889c}
section{padding:66px 0}
.soft{background:#f0f9ff}
.about{gap:48px}
.about img{border:9px solid #edf8ff;border-radius:28px;box-shadow:0 12px 25px rgba(34,113,161,.1)}
.checks li::marker{color:#f29a37}
.principal{background:#dff3ff;color:#244968}
.principalrow{max-width:950px}
.principal img{border:7px solid white;border-radius:28px;box-shadow:0 10px 25px #286a9120}
.principal h2{color:#174f87}
.principal p{color:#526f88}
.principal .eyebrow{color:#e47d45}
.cards{gap:22px}
.card{border:2px solid #edf6fb;border-radius:22px;box-shadow:0 9px 24px rgba(39,117,163,.08)}
.card img{height:205px}
.card h3{color:#174f87}
.tag{color:#e57e45}
.gallery-card{border-radius:22px!important;border-color:#e7f4fb!important;box-shadow:0 9px 24px rgba(39,117,163,.08)!important}
.gallery-caption{color:#174f87!important}
.ppdb{background:linear-gradient(120deg,#2b95ce,#65c4df);border-radius:26px;padding:38px;box-shadow:0 10px 0 #d6effb}
.ppdb .eyebrow{color:#fff3c6}
.ppdb h2{font-size:30px}
.contactitem b{color:#174f87}
.map{border:7px solid #edf8ff;border-radius:22px}
footer{background:#164b78;color:#e2f3ff}
.footgrid h3,.footgrid h4{color:#fff}
.footgrid p,.footgrid a{color:#d0e8f7}
.wa{background:#38b878;box-shadow:0 5px 0 #248a58}
.empty{border:2px dashed #d5ebf7;background:#f7fcff;border-radius:18px}
.v6-content-section{background:#fff}
.v6-content-section:nth-of-type(even){background:#f3faff}
.operator-login{white-space:nowrap}
@media(max-width:850px){
 .navrow{min-height:78px}
 .links{top:80px;background:#e9f8ff;border-radius:0 0 18px 18px;padding:18px 5%}
 .nav:after{display:none}
 .hero,.v6-slider{min-height:430px;background-position:center,right center}
 .hero>.wrap,.v6-slide .wrap{min-height:430px}
 .hero article,.v6-slide .wrap>div{max-width:58%}
 .hero h1,.v6-slide h1{font-size:clamp(34px,6vw,48px)}
}
@media(max-width:620px){
 .top .wrap{font-size:9px}
 .brand b{font-size:16px}
 .brand small{font-size:9px}
 .hero,.v6-slider{min-height:520px;background-image:linear-gradient(180deg,rgba(255,241,213,.97) 0%,rgba(255,241,213,.91) 43%,rgba(255,241,213,.05) 100%),url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1100&q=85');background-position:center,bottom center}
 .hero>.wrap,.v6-slide .wrap{min-height:520px;align-items:flex-start;padding-top:45px}
 .hero article,.v6-slide .wrap>div{max-width:100%}
 .hero h1,.v6-slide h1{font-size:39px;max-width:430px}
 .hero p,.v6-slide p{font-size:14px;max-width:400px}
 .program-grid{grid-template-columns:1fr;gap:14px}
 .program-card{min-height:0;padding:18px}
 .program-art{height:75px;font-size:35px}
 .program-card .toy-block{width:43px;height:43px;font-size:24px}
 .stats{padding:18px}
 .principalrow{grid-template-columns:1fr;text-align:center}
 .principal img{margin:auto}
 .ppdb{flex-direction:column;align-items:flex-start;padding:25px}
 .ppdb h2{font-size:24px}
}

/* V6.5.1 FIX: hero/slider CTA buttons must sit above the decorative wave */
.hero,.v6-slider{
  isolation:isolate;
  min-height:560px;
  padding-bottom:105px !important;
}
.hero>.wrap,.v6-slide .wrap{
  min-height:560px;
  padding-bottom:92px;
  box-sizing:border-box;
}
.hero article,.v6-slide .wrap>div{
  position:relative;
  z-index:5 !important;
}
.hero .btn,.v6-slide .btn{
  position:relative;
  z-index:6 !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:12px;
  margin-bottom:8px;
}
.hero:after,.v6-slider:after{
  z-index:1 !important;
  height:48px;
  bottom:0;
  pointer-events:none;
}
.v6-slider-dots{
  z-index:7 !important;
  bottom:56px !important;
}
@media(max-width:850px){
  .hero,.v6-slider{min-height:540px;padding-bottom:92px!important}
  .hero>.wrap,.v6-slide .wrap{min-height:540px;padding-bottom:82px}
}
@media(max-width:620px){
  .hero,.v6-slider{min-height:600px;padding-bottom:100px!important}
  .hero>.wrap,.v6-slide .wrap{min-height:600px;padding-bottom:90px}
  .hero article,.v6-slide .wrap>div{z-index:5!important}
  .hero .btn,.v6-slide .btn{margin-top:10px;margin-bottom:8px}
  .v6-slider-dots{bottom:48px!important}
}
