/* Homepage review adjustments: CMS records determine carousel length. */
.container{width:min(1440px,92%)}
.hero{background:linear-gradient(90deg,#fbf7f3 0%,#fbf7f3 30%,#fbf7f322 58%,#fbf7f3 80%),url('../images/hero-student.webp') 64% center/auto 100% no-repeat,#fbf7f3}
.hero-grid{grid-template-columns:minmax(0,1fr) 330px;min-height:610px;gap:40px;padding:30px 0 42px}
.hero h1{font-size:clamp(36px,3vw,54px)}.hero .lead{max-width:570px}.hero-points{gap:40px}
.hero-form{padding:24px 26px;border-radius:16px;background:#fffffff2;box-shadow:0 10px 40px #6b392f16;position:relative}
.hero-form h2{font-size:25px;margin:0;color:#f4512c}.hero-form>p{font-size:14px;margin:4px 0 16px;color:#66717b}
.hero-form label{display:block;font-size:14px;margin:10px 0;color:#3e4852}.hero-form input,.hero-form select{display:block;width:100%;font:inherit;border:1px solid #e3e5e8;border-radius:6px;background:white;padding:10px;margin-top:4px;color:#39434e}.hero-form input:focus,.hero-form select:focus{outline:2px solid #ffbfae;outline-offset:1px}
.hero-form .btn{width:100%;border:0;font:inherit;font-weight:bold;cursor:pointer;margin-top:8px}.hero-form small{display:block;color:#89919a;font-size:12px;text-align:center;margin-top:10px}.hero-form .form-result{font-size:13px;margin:8px 0 0}.captcha-row{display:flex;gap:8px;align-items:center}.captcha-row input{min-width:0}.captcha-row img{width:90px;height:34px;cursor:pointer}
.carousel{position:relative}.carousel-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;padding:4px 0 14px}.carousel-track::-webkit-scrollbar{display:none}.carousel-track>article{flex:0 0 calc((100% - 72px)/4);scroll-snap-align:start;min-width:0}
.carousel-prev,.carousel-next{position:absolute;top:45%;z-index:2;border:1px solid #ff5425;background:white;color:#ff5425;border-radius:50%;width:38px;height:38px;font-size:28px;line-height:30px;cursor:pointer;box-shadow:0 2px 10px #0001}.carousel-prev{left:-48px}.carousel-next{right:-48px}.carousel button:disabled{opacity:.35;cursor:default}
.advantages .feature:nth-child(4n+1){background:#fff1f2}.advantages .feature:nth-child(4n+2){background:#edf4ff}.advantages .feature:nth-child(4n+3){background:#fff6eb}.advantages .feature:nth-child(4n+4){background:#ecfaf2}.feature strong img{width:58px;height:58px}.feature{padding:32px 28px;min-height:270px}
.teachers .portrait{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:50% 15%;border-radius:12px 12px 0 0}.teachers article{border-radius:12px;overflow:hidden;background:#fff;border:1px solid #eee}.teachers h3{font-size:22px}.teachers b{font-size:15px}.teachers p{min-height:55px}
.section{padding:54px 0 25px}.class-image{height:210px}.campus-img{height:235px}.campus h3{font-size:21px}.campus p{font-size:16px}.campus-wrap .campus{gap:24px;margin:0 16px}
.schedule{grid-template-columns:repeat(6,1fr)}.schedule img{height:120px}.schedule h3{font-size:18px}.schedule p{padding:0 6px}.timetable-detail{padding:16px 22px;margin-top:20px;border-radius:8px;background:#fff8f1;color:#59636f}.timetable-detail summary{cursor:pointer;font-weight:bold}.schedule-note{font-size:14px;color:#89919a;text-align:center}
.friendlinks{padding-top:25px;font-size:14px;display:flex;gap:22px;flex-wrap:wrap;color:#aeb8c0}.friendlinks:has(a) .empty-links{display:none}.copyright a{color:#9da7af}
@media(min-width:1800px){.hero{background-position:65% center;background-size:auto,auto 100%}.hero-grid{min-height:650px}}
@media(max-width:1550px){.carousel-prev{left:-27px}.carousel-next{right:-27px}.hero h1{font-size:42px}}
@media(max-width:1100px){.hero-grid{grid-template-columns:1fr 300px}.hero h1{font-size:34px}.hero-points{gap:20px}.hero .lead{font-size:17px}.carousel-track>article{flex-basis:calc((100% - 48px)/3)}.schedule{grid-template-columns:repeat(4,1fr)}.campus-img{height:180px}}
@media(max-width:700px){.hero{background:linear-gradient(0deg,#fbf7f3 5%,#fbf7f3dd 60%,#fbf7f333),url('../images/hero-student.webp') right top/auto 330px no-repeat,#fbf7f3}.hero-grid{display:grid;grid-template-columns:1fr;gap:25px;padding:32px 0;min-height:0}.hero h1{font-size:30px;max-width:100%}.hero .lead{font-size:15px}.hero-points{gap:10px;max-width:350px}.hero-points b{font-size:13px}.hero-form{padding:22px}.section{padding:38px 0 16px}.carousel-track{gap:16px}.carousel-track>article{flex-basis:calc((100% - 16px)/2)}.feature{padding:24px 14px;min-height:260px}.carousel-prev{left:-12px}.carousel-next{right:-12px}.teachers .portrait{aspect-ratio:3/4}.teachers h3{font-size:18px}.teachers b{font-size:13px}.campus-img{height:190px}.campus h3{font-size:18px}.campus p{font-size:13px}.campus-wrap .campus{gap:16px;margin:0 10px}.schedule{grid-template-columns:repeat(2,1fr)}.schedule img{height:130px}.nav nav a{font-size:13px}.brand b{font-size:20px}.hero:after{height:12px;border-bottom-width:4px}}
@media(prefers-reduced-motion:reduce){html,.carousel-track{scroll-behavior:auto}}
.carousel-track>article{flex-basis:calc((100% - 48px)/3)} @media(max-width:700px){.carousel-track>article{flex-basis:calc((100% - 16px)/2)}}
@media(max-width:700px){.nav nav a{white-space:nowrap;flex-shrink:0}.nav nav{gap:18px;justify-content:flex-start;padding-bottom:4px}.hero{background-image:linear-gradient(0deg,#fbf7f3 5%,#fbf7f3ee 65%,#fbf7f399),url("../images/hero-student.webp")}}
.teachers{max-width:1180px;margin:auto}.teachers>article{flex-basis:calc((100% - 60px)/3.5)} @media(max-width:700px){.teachers>article{flex-basis:calc((100% - 16px)/2)}}
