:root{--green:#176b4d;--dark:#12352a;--gold:#c99b35;--soft:#f3f7f5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,sans-serif;color:#23352e}.hero{color:#fff}.desktop-header{background:#fff;position:relative;z-index:10}.desktop-nav{max-width:1180px;min-height:78px;margin:auto;padding:10px 24px;display:flex;align-items:center}.brand{display:flex;align-items:center;gap:10px;margin-right:auto;min-width:0;color:var(--dark);font-weight:800}.brand img{width:54px;height:54px;max-width:54px;max-height:54px;object-fit:contain;display:block;flex:0 0 54px}.brand span{font-size:19px;line-height:1.2}.navlinks{display:flex;align-items:center;gap:4px}.navlinks a{color:var(--dark);font-weight:600;padding:10px 13px;border-radius:8px}.navlinks a:hover{background:#176b4d12;color:var(--green)}.hero-photo{min-height:500px;background:linear-gradient(135deg,#0d4934,#23815e);background-size:cover;background-position:center;display:flex;align-items:center}.hero-content{max-width:1180px;width:100%;margin:auto;padding:80px 30px}.eyebrow{letter-spacing:3px;color:#efd078;font-weight:700}.hero h1{font-size:52px;max-width:760px;margin:12px 0}.hero p{font-size:19px;max-width:720px}.section{max-width:1120px;margin:auto;padding:70px 20px}.soft{max-width:none;background:var(--soft)}.soft>*{max-width:1080px;margin-left:auto;margin-right:auto}.section-title span{color:var(--gold);font-weight:800;letter-spacing:2px}.section-title h2{font-size:34px;margin:8px 0 28px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.profile-card,.history{background:#fff;border:1px solid #e4ebe7;border-radius:16px;padding:25px;line-height:1.8;box-shadow:0 8px 24px #00000008}.history{margin-top:22px}.teacher-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.teacher{text-align:center;background:#fff;border-radius:15px;padding:16px;box-shadow:0 6px 20px #0000000b}.teacher-photo{height:220px;border-radius:11px;background:#e9efec;overflow:hidden;display:grid;place-items:center;color:#819088}.teacher-photo img{width:100%;height:100%;object-fit:cover}.teacher h3{margin:14px 0 5px}.teacher p,.teacher small{color:#65746e}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{border:1px solid #e5eae7;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 8px 25px #0000000b}.card img{width:100%;height:200px;object-fit:cover}.card-body{padding:20px}.card h3{margin:8px 0}.card p{line-height:1.6;color:#66756f}.card small{color:var(--green)}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.gallery-item{background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 5px 18px #0001}.gallery-item img{width:100%;height:190px;object-fit:cover}.gallery-item div{padding:12px}.gallery-item small{display:block;color:#718078;margin-top:5px}.contact{max-width:1120px}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.contact-card{background:#f5f7f6;border:1px solid #e5eae7;border-radius:14px;padding:24px}.contact-card h3{margin-top:0;color:var(--green)}.contact-card p{line-height:1.7;color:#66756f}footer{text-align:center;padding:30px;background:var(--dark);color:#fff;line-height:1.7}

@media(max-width:850px){.desktop-nav{padding:12px 20px;min-height:70px}.brand img{width:48px;height:48px;max-width:48px;max-height:48px;flex-basis:48px}.brand span{font-size:17px}.navlinks{gap:0;overflow-x:auto}.navlinks a{white-space:nowrap;padding:8px 10px}.hero-photo{min-height:440px}.hero-content{padding:70px 20px}.hero h1{font-size:39px}.teacher-grid{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr)}.profile-grid{grid-template-columns:1fr}.contact-grid{grid-template-columns:1fr}}
@media(max-width:520px){.navlinks{display:none}.brand img{width:46px;height:46px;max-width:46px;max-height:46px}.brand span{font-size:18px}.hero-photo{min-height:440px}.hero h1{font-size:34px}.teacher-grid,.gallery{grid-template-columns:1fr}}

/* MOBILE MENU FINAL FIX */
.mobile-menu{display:none}
@media(max-width:850px){
  .desktop-links{display:none!important}
  .mobile-menu{display:flex!important;width:100%;align-items:center;justify-content:flex-start;gap:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;background:#fff;border-top:1px solid #eee;border-bottom:1px solid #ddd;padding:6px 8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .mobile-menu::-webkit-scrollbar{display:none}
  .mobile-menu a{display:block!important;flex:0 0 auto!important;color:#12352a!important;text-decoration:none!important;font-size:14px!important;font-weight:700!important;padding:9px 12px!important;margin:0!important;border-radius:6px!important}
  .mobile-menu a:active,.mobile-menu a:hover{background:#176b4d!important;color:#fff!important}
  .desktop-nav{display:flex;flex-wrap:wrap!important;padding:9px 12px 0!important;min-height:auto!important;gap:5px!important}
  .brand{width:100%!important;justify-content:center!important;margin:0!important}
}
@media(max-width:420px){.mobile-menu a{font-size:13px!important;padding:8px 10px!important}}

.read-more{display:inline-flex;gap:7px;align-items:center;margin-top:8px;color:var(--green);font-weight:700;text-decoration:none}.read-more:hover{text-decoration:underline}.detail-header{border-bottom:1px solid #e7ece9}.article-page{background:#f6f8f7;padding:60px 20px}.article-wrap{max-width:860px;margin:auto;background:#fff;border-radius:18px;padding:40px;box-shadow:0 10px 35px #0000000b}.back-link{color:var(--green);font-weight:700;text-decoration:none}.article-date{margin-top:28px;color:var(--green);font-weight:700}.article-wrap h1{font-size:44px;line-height:1.18;color:var(--dark);margin:12px 0 28px}.article-image{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:14px;margin-bottom:30px}.article-content{font-size:19px;line-height:1.9;color:#44534e;white-space:normal}.back-button{display:inline-block;margin-top:35px;background:var(--green);color:#fff;padding:12px 18px;border-radius:9px;text-decoration:none;font-weight:700}
@media(max-width:850px){.article-page{padding:25px 14px}.article-wrap{padding:24px 18px;border-radius:14px}.article-wrap h1{font-size:32px}.article-content{font-size:17px;line-height:1.8}.article-image{max-height:380px}.detail-header .navlinks{display:none}}

/* DETAIL BERITA - RESPONSIVE FINAL */
.article-page{width:100%;min-width:0;background:#f6f8f7;padding:50px 20px}
.article-wrap{width:min(900px,100%);max-width:900px;margin:0 auto;background:#fff;border-radius:18px;padding:40px;box-shadow:0 10px 35px rgba(0,0,0,.06);overflow:hidden}
.article-wrap h1{font-size:44px;line-height:1.2;word-break:normal;overflow-wrap:anywhere}
.article-image{display:block;width:100%;height:auto;max-width:100%;max-height:none;object-fit:contain;border-radius:14px;margin:24px 0 30px}
.article-content{width:100%;max-width:100%;font-size:19px;line-height:1.9;color:#44534e;overflow-wrap:anywhere;word-break:normal}
.article-content p{margin:0 0 18px}
@media screen and (max-width:900px){
  .article-page{padding:24px 12px!important;width:100%!important;min-width:0!important}
  .article-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:24px 18px!important;border-radius:14px!important;box-shadow:0 6px 24px rgba(0,0,0,.05)}
  .article-wrap h1{font-size:32px!important;line-height:1.2!important;margin:12px 0 22px!important}
  .article-date{margin-top:20px!important;font-size:15px}
  .article-image{width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;border-radius:10px!important;margin:20px 0 24px!important}
  .article-content{width:100%!important;font-size:17px!important;line-height:1.8!important}
  .article-content p{margin:0 0 16px}
}
@media screen and (max-width:520px){
  .article-page{padding:14px 8px!important}
  .article-wrap{padding:20px 15px!important}
  .article-wrap h1{font-size:27px!important}
  .article-content{font-size:16px!important;line-height:1.75!important}
}

.article-gallery{margin-top:42px}.article-gallery h2{font-size:28px;color:#12352a;margin-bottom:18px}.article-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.article-gallery-grid a{display:block;width:100%;min-width:0}.article-gallery-grid img{display:block;width:100%;height:240px;object-fit:cover;border-radius:12px;box-shadow:0 6px 18px #00000012}.article-gallery-grid img{cursor:zoom-in}@media(max-width:700px){.article-gallery{margin-top:34px}.article-gallery h2{font-size:23px}.article-gallery-grid{grid-template-columns:1fr;gap:16px}.article-gallery-grid a{width:100%;overflow:hidden;border-radius:10px}.article-gallery-grid img{width:100%;height:auto;max-width:100%;object-fit:contain;border-radius:10px;box-shadow:0 4px 14px #00000012}}

.gallery-item{display:block;color:inherit;text-decoration:none}.gallery-item em{display:block;color:#176b4d;font-style:normal;font-size:14px;font-weight:700;margin-top:8px}.gallery-detail-page{background:#fff;min-height:60vh}.gallery-detail-wrap{max-width:1080px;margin:auto;padding:55px 20px}.gallery-detail-wrap h1{font-size:44px;color:#17362c;margin:12px 0 18px}.gallery-description{font-size:19px;line-height:1.75;color:#66756f;margin-bottom:30px}.activity-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.activity-gallery a{display:block;border-radius:14px;overflow:hidden;background:#eef3f0}.activity-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.back-link,.back-button{color:#176b4d;font-weight:700;text-decoration:none}.back-button{display:inline-block;margin-top:30px;padding:12px 18px;border:1px solid #176b4d;border-radius:9px}.detail-header{position:relative}.mobile-menu{display:none}
@media(max-width:850px){.gallery-detail-wrap{padding:38px 18px}.gallery-detail-wrap h1{font-size:34px;line-height:1.2}.activity-gallery{grid-template-columns:1fr;gap:16px}.activity-gallery img{aspect-ratio:auto;object-fit:contain;background:#f2f5f3}.gallery-description{font-size:18px}.gallery-item img{height:auto;aspect-ratio:4/3;object-fit:cover}}

/* FOTO GURU - KLIK UNTUK MELIHAT FOTO ASLI */
.teacher-photo{cursor:zoom-in}.teacher-photo img.teacher-click-photo{cursor:zoom-in;display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.teacher-photo img.teacher-click-photo:hover{transform:scale(1.02)}
.teacher-photo-modal{display:none;position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.88);padding:24px;align-items:center;justify-content:center;flex-direction:column;overflow:auto}.teacher-photo-modal.show{display:flex}.teacher-photo-modal img{display:block;width:auto;height:auto;max-width:95vw;max-height:88vh;object-fit:contain;border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.35)}.teacher-photo-close{position:fixed;top:12px;right:16px;z-index:10002;border:0;background:transparent;color:#fff;font-size:42px;line-height:1;cursor:pointer;padding:4px 10px}.teacher-photo-caption{color:#fff;font-size:17px;font-weight:700;text-align:center;margin-top:12px;max-width:90vw}body.photo-modal-open{overflow:hidden}
@media(max-width:520px){.teacher-photo-modal{padding:14px}.teacher-photo-modal img{max-width:96vw;max-height:84vh;border-radius:6px}.teacher-photo-close{top:6px;right:8px;font-size:38px}.teacher-photo-caption{font-size:15px}}


/* FOTO GURU - BUKA FOTO ASLI */
.teacher-photo-link{display:block;width:100%;height:100%;cursor:zoom-in}
.teacher-photo-link img{display:block;width:100%;height:100%;object-fit:cover;cursor:zoom-in;transition:transform .2s ease}
.teacher-photo-link:hover img{transform:scale(1.02)}
