@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');:root{--green:#0f9d9a;--deep:#087f8c;--gold:#a8e6e3;--cream:#f4fbfb;--text:#183b40;--muted:#617b7e;--line:#dceeee}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--text);line-height:1.65}a{color:inherit;text-decoration:none}.container{width:min(1160px,92%);margin:auto}.topbar{background:var(--deep);color:#e9f0e9;font-size:12px;padding:8px 0}.topbar-inner{display:flex;justify-content:space-between;gap:15px}.site-header{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 3px 20px #0a33210b}.nav-wrap{display:flex;align-items:center;justify-content:space-between;min-height:86px;gap:24px}.brand{display:flex;align-items:center;gap:12px}.brand img,.brand-icon{width:52px;height:52px;object-fit:contain;border-radius:50%}.brand-icon{display:grid;place-items:center;background:var(--green);color:var(--gold);font-size:28px}.brand b{display:block;color:var(--green);font-size:17px}.brand small{display:block;color:var(--muted);font-size:11px}.nav{display:flex;align-items:center;gap:22px;font-size:13px;font-weight:600}.nav a:hover,.text-link{color:var(--green)}.nav-cta{background:var(--green);color:white!important;padding:11px 16px;border-radius:5px}.menu-toggle{display:none;background:none;border:0;font-size:25px}.hero{min-height:530px;background:linear-gradient(90deg,#087f8cf0,#087f8c88),url('hero-placeholder.svg') center/cover;background-color:var(--green);color:white;display:flex;align-items:center}.hero-content{padding:90px 0;max-width:1160px}.hero h1{font:700 clamp(36px,5vw,58px)/1.13 'Playfair Display',serif;max-width:760px;margin:14px 0}.hero p{font-size:17px;max-width:620px;color:#e4eee6}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--gold)}.eyebrow.green{color:var(--green)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-block;padding:13px 19px;border-radius:5px;font-weight:700;font-size:13px;border:1px solid transparent}.btn-gold{background:var(--gold);color:#172b20}.btn-outline{border-color:#ffffff88;color:white}.section{padding:78px 0}.section-soft{background:var(--cream)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.section h2,.cta h2{font:700 clamp(26px,3vw,36px)/1.2 'Playfair Display',serif;color:var(--deep);margin:8px 0}.text-link{font-size:13px;font-weight:700;white-space:nowrap}.intro-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:45px;align-items:center}.intro-mark{background:linear-gradient(140deg,var(--green),var(--deep));color:var(--gold);min-height:245px;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:24px;border-radius:8px;box-shadow:14px 14px 0 #a8e6e333}.intro-mark small{font:600 12px 'DM Sans';margin-top:20px;letter-spacing:3px}.principal-photo-wrap{position:relative;width:min(100%,300px);min-height:0;margin:0 auto;border-radius:8px;overflow:hidden;box-shadow:10px 10px 0 #a8e6e333;background:#dff5f4}.principal-photo{display:block;width:100%;height:auto;max-height:340px;aspect-ratio:3/4;object-fit:cover;object-position:center top}.principal-photo-wrap span{position:absolute;left:0;right:0;bottom:0;padding:28px 16px 12px;color:#fff;font-weight:700;text-align:center;background:linear-gradient(transparent,#063f46d9)}.intro-grid h3{margin:8px 0;color:var(--green)}.intro-grid p{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.card>img,.image-placeholder{width:100%;height:205px;object-fit:cover}.image-placeholder{display:grid;place-items:center;background:#dff5f4;color:var(--green);font-weight:700}.card-body{padding:20px}.category{font-size:11px;color:var(--green);font-weight:700;text-transform:uppercase}.card h3{font-size:18px;line-height:1.35;margin:8px 0}.card p{color:var(--muted);font-size:13px}.teacher-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.teacher-card{text-align:center;border:1px solid var(--line);padding:18px;border-radius:8px}.teacher-card img,.teacher-placeholder{width:130px;height:130px;border-radius:50%;object-fit:cover;margin:auto}.teacher-placeholder{background:#dff5f4;display:grid;place-items:center;font-size:38px}.teacher-card h3{font-size:15px;margin:14px 0 0}.teacher-card p{font-size:12px;color:var(--muted);margin:5px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.gallery-item{height:220px;position:relative;overflow:hidden;border-radius:7px;background:#dfe9e1}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.3s}.gallery-item:hover img{transform:scale(1.05)}.gallery-item span{position:absolute;bottom:0;left:0;right:0;padding:30px 15px 12px;color:white;font-weight:700;background:linear-gradient(transparent,#0009)}.cta{margin-top:65px;margin-bottom:65px;padding:38px 42px;background:var(--green);color:white;display:flex;align-items:center;justify-content:space-between;gap:25px;border-radius:9px}.cta h2{color:white;max-width:650px}.cta p{color:#d7e5dc}.announcements{display:flex;gap:18px;align-items:center;overflow:auto;padding:14px 18px;background:#f5f0dd;border-radius:5px;margin-top:18px;font-size:13px;white-space:nowrap}.announcements strong{color:var(--green)}.footer{background:#075965;color:#d5e2da;padding-top:55px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px;padding-bottom:35px}.footer h3,.footer h4{color:white}.footer a{display:block;margin:8px 0;font-size:13px}.social-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.footer .social-links a{display:inline-flex;align-items:center;gap:7px;margin:0;padding:8px 11px;border:1px solid #ffffff30;border-radius:20px;color:#fff;font-size:12px;transition:background .2s}.footer .social-links a:hover{background:#0f9d9a;border-color:#0f9d9a}.social-links svg{width:15px;height:15px;fill:currentColor}.footer p{font-size:13px;color:#b6c9bd}.copyright{text-align:center;border-top:1px solid #ffffff20;padding:17px;font-size:11px;color:#b6c9bd}.page-banner{background:var(--green);color:white;padding:55px 0}.page-banner h1{font:700 38px 'Playfair Display';margin:0 0 8px}.content-area{padding:50px 0;min-height:45vh}.prose{max-width:850px;line-height:1.85}.prose img{max-width:100%;height:auto}.list-item{padding:20px 0;border-bottom:1px solid var(--line)}.form-card{max-width:850px;background:#fff;border:1px solid var(--line);padding:28px;border-radius:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;padding:12px;border:1px solid #d5ded7;border-radius:5px;font:inherit}.field textarea{min-height:110px}.field.full{grid-column:1/-1}.notice{padding:14px 17px;background:#e5f8f7;border-left:4px solid var(--green);margin:18px 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.pagination{display:flex;gap:10px;margin-top:25px}@media(max-width:900px){.nav{gap:12px;font-size:12px}.brand b{font-size:14px}.cards{grid-template-columns:repeat(2,1fr)}.teacher-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.topbar-inner{display:block}.topbar-inner span{display:block}.nav-wrap{min-height:74px}.menu-toggle{display:block}.nav{display:none;position:absolute;top:74px;left:0;right:0;background:white;padding:18px 5%;box-shadow:0 10px 15px #0001;align-items:stretch;flex-direction:column}.nav.open{display:flex}.hero{min-height:450px}.hero-content{padding:65px 0}.section{padding:55px 0}.section-head{align-items:start;flex-direction:column}.intro-grid{grid-template-columns:1fr;gap:28px}.cards,.gallery-grid{grid-template-columns:1fr}.gallery-item{height:240px}.teacher-grid{grid-template-columns:repeat(2,1fr)}.cta{margin:25px auto 45px;flex-direction:column;align-items:start;padding:28px}.footer-grid{grid-template-columns:1fr;gap:15px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}
/* Media responsif untuk galeri, pengumuman, dan berita */
.media-gallery{height:auto;min-height:220px;background:#e8f8f7;display:flex;flex-direction:column;position:relative}.media-gallery img,.media-gallery video,.media-gallery iframe{width:100%;height:230px;object-fit:cover;border:0}.media-gallery span{position:relative;display:block;background:#087f8c;color:#fff;padding:12px 14px}.embed-wrap{position:relative;width:100%;aspect-ratio:16/9;margin:18px 0}.embed-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:8px}.announcement-media{display:block;max-width:100%;max-height:520px;border-radius:8px;margin:18px 0}.admin-form [hidden],.announce-media[hidden],.media-input[hidden]{display:none!important}

/* HERO SLIDESHOW - RESPONSIVE */
.hero.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #075965;
}

.hero-slider .hero-slide {
    display: none;
    position: relative;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1920 / 550;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-slider .hero-slide.active {
    display: flex;
    align-items: center;
}

.hero-slider .hero-content {
    width: 100%;
    padding-top: 35px;
    padding-bottom: 35px;
    position: relative;
    z-index: 2;
}

.hero-slider .hero-dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.hero-slider .hero-dots button {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}

.hero-slider .hero-dots button.active {
    background: #fff;
    width: 28px;
    border-radius: 10px;
}

/* Desktop */
.hero-slider .hero-slide {
    aspect-ratio: 1920 / 650;
}

/* Tablet */
@media (max-width: 768px) {
    .hero-slider .hero-slide {
        aspect-ratio: 16 / 8;
    }
}

/* HP */
@media (max-width: 480px) {
    .hero-slider .hero-slide {
        aspect-ratio: 16 / 10;
    }
}