/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; font-size: 15px; color: #333; background: #f4f4f4; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== PAGE LOAD ANIMATION ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body > * {
  animation: fadeInUp 0.5s ease-out forwards;
}

:root {
  --gold: #c8a227;
  --dark-gold: #a0801a;
  --green: #2d6a4f;
  --dark: #1a1a2e;
  --red: #c0392b;
  --blue: #1da1f2;
  --light: #f8f8f8;
  --border: #e0e0e0;
  --text-muted: #777;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ===== TOPBAR ===== */
.topbar { background: #1a1a2e; color: #ccc; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar-left span { margin-right: 18px; }
.topbar-left span i, .topbar-right a i { margin-right: 5px; color: var(--gold); }
.topbar-right a { color: #ccc; margin-left: 12px; font-size: 15px; transition: color .2s; }
.topbar-right a:hover { color: var(--gold); }

/* ===== HEADER ===== */
.site-header { background: #fff; border-bottom: 3px solid var(--gold); padding: 14px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo-area { display: flex; align-items: center; gap: 14px; }
.logo-text h1 { font-family: 'Merriweather', serif; font-size: 1.3rem; color: #1a1a2e; line-height: 1.2; }
.logo-text p { font-size: 12px; color: var(--text-muted); }
.header-search { display: flex; border: 2px solid var(--gold); border-radius: 4px; overflow: hidden; }
.header-search input { border: none; outline: none; padding: 8px 14px; font-size: 13px; width: 220px; }
.header-search button { background: var(--gold); border: none; color: #fff; padding: 8px 14px; cursor: pointer; }
.header-search button:hover { background: var(--dark-gold); }

/* ===== NAVBAR ===== */
.navbar { background: #1a1a2e; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.navbar .container { display: flex; align-items: center; }
.nav-menu { display: flex; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; color: #e8e8e8; padding: 14px 15px; font-size: 13.5px; font-weight: 600; letter-spacing: .3px; transition: background .2s, color .2s; text-transform: uppercase; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { background: var(--gold); color: #fff; }
.nav-menu > li > a.highlight { background: var(--red); color: #fff; }
.nav-menu > li > a.highlight:hover { background: #a93226; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 14px; }

/* DROPDOWN */
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 200px; box-shadow: 0 4px 20px rgba(0,0,0,.15); z-index: 999; border-top: 3px solid var(--gold); }
.dropdown li a { display: block; padding: 10px 16px; font-size: 13px; color: #333; border-bottom: 1px solid #f0f0f0; }
.dropdown li a:hover { background: #fff8e1; color: var(--dark-gold); padding-left: 20px; }
.dropdown li a.active { background: var(--gold); color: #fff; }
.has-dropdown:hover .dropdown { display: block; }
.has-dropdown > a.active { background: var(--gold); color: #fff; }

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #1a1a2e;
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.05) 100%);
  z-index: 1;
}
.slide-content {
  position: relative;
  z-index: 2;
  padding: 36px 48px;
  color: #fff;
  max-width: 680px;
}
.slide-content h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.1rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  line-height: 1.3;
}
.slide-content p {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: .9;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.btn-slide {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 11px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .2s;
}
.btn-slide:hover { background: var(--dark-gold); transform: translateY(-1px); }

/* PREV / NEXT BUTTONS */
.slide-prev, .slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  border: 2px solid rgba(255,255,255,.25);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: background .2s, border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-prev { left: 18px; }
.slide-next { right: 18px; }
.slide-prev:hover, .slide-next:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* DOTS */
.slide-dots {
  position: absolute;
  bottom: 18px;
  right: 28px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .25s, transform .25s;
  border: 2px solid rgba(255,255,255,.3);
}
.dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* ===== MAIN LAYOUT ===== */
.main-content { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 28px 16px; }
.content-left { min-width: 0; }

/* ===== SECTION BOX ===== */
.section-box { background: #fff; border-radius: 4px; margin-bottom: 22px; box-shadow: 0 1px 4px rgba(0,0,0,.07); overflow: hidden; }
.section-header { padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.section-header span { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #fff; }
.section-header.terkini { background: #2d6a4f; }
.section-header.pilihan { background: var(--red); }
.section-header.gambar { background: var(--dark); }
.see-all { font-size: 12px; color: rgba(255,255,255,.8); }
.see-all:hover { color: #fff; text-decoration: underline; }

/* ===== NEWS FEATURED ===== */
.news-featured { display: grid; grid-template-columns: 240px 1fr; gap: 0; }
.news-img img { width: 240px; height: 200px; object-fit: cover; }
.news-body { padding: 16px 18px; }
.news-body h3 { font-family: 'Merriweather', serif; font-size: 1.05rem; margin-bottom: 8px; line-height: 1.45; }
.news-body h3 a:hover { color: var(--green); }
.news-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.news-meta i { margin-right: 4px; }
.news-body p { font-size: 13.5px; color: #555; line-height: 1.6; margin-bottom: 12px; }
.read-more { font-size: 13px; color: var(--green); font-weight: 600; }
.read-more:hover { color: var(--dark-gold); }

/* ===== NEWS GRID ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #f0f0f0; }
.news-card { border-right: 1px solid #f0f0f0; }
.news-card:last-child { border-right: none; }
.news-card img { width: 100%; height: 140px; object-fit: cover; }
.card-body { padding: 12px 14px; }
.card-body h4 { font-size: 13.5px; line-height: 1.45; margin-bottom: 8px; }
.card-body h4 a:hover { color: var(--green); }

/* ===== PHOTO NEWS ===== */
.photo-news-list { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.photo-news-item { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #f0f0f0; }
.photo-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.photo-news-item img { height: 90px; object-fit: cover; border-radius: 3px; }
.photo-news-item h4 { font-size: 13.5px; margin-bottom: 5px; line-height: 1.4; }
.photo-news-item h4 a:hover { color: var(--green); }
.photo-news-item p { font-size: 12.5px; color: #666; line-height: 1.5; }

/* ===== MINI GALLERY ===== */
.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; }
.mini-gallery a img { width: 100%; height: 110px; object-fit: cover; transition: opacity .2s; }
.mini-gallery a:hover img { opacity: .85; }

/* ===== BERITA BOTTOM ===== */
.news-bottom-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.news-bottom-card { border-right: 1px solid #f0f0f0; padding: 14px; }
.news-bottom-card:last-child { border-right: none; }
.news-bottom-card img { width: 100%; height: 100px; object-fit: cover; margin-bottom: 8px; border-radius: 3px; }
.news-bottom-card h4 { font-size: 13px; line-height: 1.4; margin-bottom: 6px; }
.news-bottom-card h4 a:hover { color: var(--green); }
.news-bottom-card p { font-size: 12px; color: #777; line-height: 1.5; margin-bottom: 8px; }

/* ===== SIDEBAR ===== */
.sidebar { min-width: 0; }
.widget { background: #fff; border-radius: 4px; margin-bottom: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.07); overflow: hidden; }

/* WIDGET TABS */
.widget-tabs { display: flex; background: #f0f0f0; }
.tab-btn { flex: 1; padding: 10px; border: none; background: #e8e8e8; cursor: pointer; font-size: 12px; font-weight: 700; color: #555; letter-spacing: .5px; transition: background .2s, color .2s; }
.tab-btn.active { background: #2d6a4f; color: #fff; }
.tab-btn i { margin-right: 5px; }
.tab-content { display: none; padding: 14px; }
.tab-content.active { display: block; }

.info-list li { padding: 8px 0; border-bottom: 1px dashed #e8e8e8; }
.info-list li:last-child { border-bottom: none; }
.info-date { font-size: 11px; color: var(--text-muted); margin-bottom: 3px; }
.info-list li a { font-size: 13px; color: #333; line-height: 1.4; }
.info-list li a:hover { color: var(--green); }
.btn-more { display: block; text-align: center; background: var(--green); color: #fff; padding: 8px; border-radius: 3px; font-size: 12px; font-weight: 700; margin-top: 12px; }
.btn-more:hover { background: #245a3f; }

/* KEPALA SEKOLAH */
.widget-header-gold { background: var(--gold); color: #fff; padding: 10px 14px; font-size: 13px; font-weight: 700; }
.widget-header-red { background: var(--red); color: #fff; padding: 10px 14px; font-size: 13px; font-weight: 700; }
.widget-header-blue { background: var(--blue); color: #fff; padding: 10px 14px; font-size: 13px; font-weight: 700; }
.widget-header-dark { background: #1a1a2e; color: #fff; padding: 10px 14px; font-size: 13px; font-weight: 700; }
.widget-header-gold i, .widget-header-red i, .widget-header-blue i, .widget-header-dark i { margin-right: 6px; }

.kepala-content { padding: 14px; text-align: center; }
.kepala-content img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid var(--gold); }
.kepala-content p { font-size: 13px; color: #555; line-height: 1.6; font-style: italic; margin-bottom: 10px; }
.kepala-name { display: block; font-weight: 700; font-size: 13px; color: #1a1a2e; }
.kepala-jabatan { display: block; font-size: 11.5px; color: var(--text-muted); margin-bottom: 12px; }

/* PPDB */
.ppdb-content { padding: 14px; }
.ppdb-banner { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, #1a1a2e, #2d3a8c); border-radius: 6px; padding: 14px; margin-bottom: 12px; color: #fff; }
.ppdb-logo { background: var(--gold); color: #fff; font-weight: 900; font-size: 13px; padding: 10px 8px; border-radius: 4px; text-align: center; min-width: 55px; }
.ppdb-title { font-family: 'Merriweather', serif; font-size: 18px; font-weight: 700; color: var(--gold); }
.ppdb-sub { font-size: 11px; opacity: .85; }
.ppdb-date { font-size: 12px; font-weight: 700; color: #fff; margin-top: 2px; }
.btn-ppdb { display: block; text-align: center; background: var(--red); color: #fff; padding: 10px; border-radius: 4px; font-weight: 700; font-size: 13px; }
.btn-ppdb:hover { background: #a93226; }

/* TWEET */
.tweet-content { padding: 14px; }
.tweet-content p { font-size: 13px; color: #555; line-height: 1.55; margin-bottom: 5px; }
.tweet-time { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 12px; }
.tweet-content hr { border: none; border-top: 1px solid #f0f0f0; margin-bottom: 12px; }

/* MAP WIDGET */
.map-container { width: 100%; overflow: hidden; }
.map-container iframe { display: block; }
.map-info { padding: 12px 14px; background: #f8f8f8; }
.map-info p { font-size: 12px; color: #555; line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }
.map-info p i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* JALAK PENDAWI */
.pendawi-list { padding: 12px 14px; }
.pendawi-list li { padding: 8px 0; border-bottom: 1px dashed #f0f0f0; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.pendawi-list li:last-child { border-bottom: none; }
.text-gold { color: var(--gold) !important; }
.pendawi-btns { display: flex; gap: 8px; padding: 10px 14px; background: #f8f8f8; }
.btn-submit, .btn-lihat { flex: 1; padding: 8px; border: none; border-radius: 3px; font-weight: 700; font-size: 12px; cursor: pointer; }
.btn-submit { background: var(--green); color: #fff; }
.btn-lihat { background: var(--dark); color: #fff; }

/* ===== FOOTER ===== */
.site-footer { background: #1a1a2e; color: #ccc; margin-top: 10px; }
.footer-top { padding: 40px 0; }
.footer-top-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-col h4 { color: var(--gold); font-family: 'Merriweather', serif; font-size: 14px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-col p i { color: var(--gold); margin-right: 8px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #bbb; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 5px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: background .2s; }
.footer-social a:hover { background: var(--gold); }
.footer-bottom { background: rgba(0,0,0,.3); padding: 14px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: #aaa; }
.footer-bottom a { color: #ccc; }
.footer-bottom a:hover { color: var(--gold); }

/* ===== ABOUT PAGE ===== */
.page-hero { background-image: var(--bg-image, none); background-size: cover !important; background-position: center center !important; background-repeat: no-repeat !important; color: #fff; padding: 50px 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,0.3) 0%, rgba(45,58,140,0.25) 100%); z-index: 1; }
.page-hero .container { position: relative; }
.page-hero h2 { font-family: 'Merriweather', serif; font-size: 2.2rem; margin-bottom: 12px; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.page-hero p { font-size: 16px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.breadcrumb { font-size: 13px; opacity: .7; margin-top: 10px; }
.breadcrumb a { color: var(--gold); }

.about-content { display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding: 32px 16px; }
.about-main { }
.about-card { background: #fff; border-radius: 6px; box-shadow: 0 1px 6px rgba(0,0,0,.08); padding: 28px; margin-bottom: 22px; }
.about-card h3 { font-family: 'Merriweather', serif; font-size: 1.2rem; color: #1a1a2e; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--gold); }
.about-card p { font-size: 14.5px; color: #555; line-height: 1.8; margin-bottom: 12px; }
.about-card p:last-child { margin-bottom: 0; }

.visi-misi { background: #fff; border-radius: 6px; box-shadow: 0 1px 6px rgba(0,0,0,.08); padding: 28px; margin-bottom: 22px; }
.visi-misi h3 { font-family: 'Merriweather', serif; font-size: 1.2rem; color: #1a1a2e; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--gold); }
.visi-box { background: linear-gradient(135deg, #2d6a4f, #1a4a38); color: #fff; padding: 20px; border-radius: 6px; margin-bottom: 18px; }
.visi-box h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; opacity: .8; margin-bottom: 8px; }
.visi-box p { font-size: 15px; line-height: 1.65; }
.misi-list { list-style: none; }
.misi-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; color: #555; }
.misi-list li::before { content: '✦'; color: var(--gold); font-size: 12px; flex-shrink: 0; margin-top: 2px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card { background: #fff; border-radius: 6px; padding: 20px; text-align: center; box-shadow: 0 1px 6px rgba(0,0,0,.08); border-top: 4px solid var(--gold); }
.stat-number { font-family: 'Merriweather', serif; font-size: 2rem; font-weight: 700; color: #1a1a2e; display: block; }
.stat-label { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }

.guru-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guru-card { background: #fff; border-radius: 6px; padding: 20px; text-align: center; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.guru-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 3px solid var(--gold); }
.guru-card h4 { font-size: 14px; font-weight: 700; color: #1a1a2e; margin-bottom: 4px; }
.guru-card p { font-size: 12.5px; color: var(--text-muted); }

/* ===== GALLERY PAGE ===== */
.gallery-content { padding: 28px 16px; }
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn { padding: 8px 20px; border: 2px solid var(--gold); background: #fff; border-radius: 20px; cursor: pointer; font-size: 13px; font-weight: 600; color: #333; transition: all .2s; }
.filter-btn.active, .filter-btn:hover { background: var(--gold); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { position: relative; border-radius: 6px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(26,26,46,.6); opacity: 0; transition: opacity .3s; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 28px; color: var(--gold); }
.gallery-overlay span { color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 0 10px; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 32px; cursor: pointer; background: none; border: none; }
.lightbox-caption { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; background: rgba(0,0,0,.5); padding: 8px 20px; border-radius: 20px; }

/* ===== ICON CARD GRID (Fasilitas & Ekstrakurikuler) ===== */
.facility-section,
.ekskul-section {
  margin-bottom: 48px;
}
.section-label {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  color: #1a1a2e;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8e0cc;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label i {
  color: var(--gold);
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.icon-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 20px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #f0ece0;
}
.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.11);
}
.icon-box {
  width: 84px;
  height: 84px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(200,162,39,0.18);
  border: 1.5px solid #f0e8cc;
}
.icon-box i {
  font-size: 38px;
  color: var(--gold);
}
.icon-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.3;
}
.icon-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-content { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .news-featured { grid-template-columns: 1fr; }
  .news-img img { width: 100%; height: 200px; }
  .news-bottom-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-inner { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .guru-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .gs-card-slot { flex: 0 0 50% !important; }
}

@media (max-width: 640px) {
  .header-search { display: none; }
  .logo-text h1 { font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #1a1a2e; z-index: 1000; }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .dropdown { position: static; box-shadow: none; border-top: none; background: rgba(255,255,255,.05); }
  .dropdown li a { color: #ccc; padding-left: 32px; }
  .hero-slider { height: 260px; }
  .slide-content { padding: 20px 20px 28px; }
  .slide-content h2 { font-size: 1.25rem; }
  .slide-content p { font-size: 13px; margin-bottom: 14px; }
  .btn-slide { padding: 8px 20px; font-size: 13px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-bottom-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { display: block; }
  .footer-top-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .guru-grid { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: 1fr; }
  .gs-card-slot { flex: 0 0 100% !important; }
}

/* ===== GURU & STAFF SLIDER ===== */
.gs-section { padding: 0 0 56px; }
.gs-block { }
.gs-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.gs-title { font-family: 'Merriweather', serif; font-size: 1.4rem; color: #1a1a2e; margin-bottom: 4px; }
.gs-title i { color: var(--gold); margin-right: 8px; }
.gs-subtitle { font-size: 13px; color: #777; }
.gs-nav-btns { display: flex; gap: 10px; margin-top: 4px; }
.gs-nav-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: #fff; border: none; cursor: pointer;
  font-size: 15px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2); flex-shrink: 0;
}
.gs-nav-btn:hover { background: var(--dark-gold); transform: scale(1.08); }
.gs-wrapper { overflow: hidden; }
.gs-track { display: flex; transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); }
.gs-card-slot { flex: 0 0 25%; padding: 0 10px; box-sizing: border-box; }
.gs-card {
  background: linear-gradient(160deg, #0d1221 0%, #131a30 60%, #161e38 100%);
  border-radius: 14px; overflow: hidden; color: #fff;
  box-shadow: 0 6px 24px rgba(5,8,20,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gs-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(5,8,20,0.65); }
.gs-card-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 20px 0 0 16px; min-height: 140px;
}
.gs-card-info { flex: 1; padding-right: 8px; padding-bottom: 12px; }
.gs-card-info h4 { font-size: 12.5px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.gs-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding: 2px 9px;
  border-radius: 10px;
  margin-bottom: 7px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.gs-card-info p { font-size: 11.5px; color: rgba(255,255,255,0.8); display: flex; align-items: flex-start; gap: 5px; }
.gs-card-info p i { margin-top: 2px; flex-shrink: 0; }
.gs-card-photo { width: 110px; height: 140px; flex-shrink: 0; overflow: hidden; border-radius: 8px 0 0 0; }
.gs-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.gs-photo-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700;
  color: rgba(255,255,255,0.4); letter-spacing: 1px;
}
.gs-divider { height: 1px; background: rgba(255,255,255,0.15); margin: 0 16px 12px; }
.gs-card-body { padding: 0 16px 14px; }
.gs-card-body p { font-size: 11.5px; color: rgba(255,255,255,0.85); margin-bottom: 5px; text-align: center; line-height: 1.5; }
.gs-card-body p span { font-weight: 700; }
.gs-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px; background: rgba(0,0,0,0.25);
}
.gs-social { display: flex; gap: 12px; }
.gs-social a { color: rgba(255,255,255,0.75); font-size: 17px; transition: color 0.2s, transform 0.2s; }
.gs-social a:hover { color: #fff; transform: scale(1.15); }
.gs-lihat-btn {
  background: #fff; color: #0d1221; border: none;
  border-radius: 20px; padding: 7px 16px; font-size: 12px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  transition: background 0.2s; font-family: 'Source Sans 3', sans-serif;
}
.gs-lihat-btn:hover { background: #e8eaf6; }
.gs-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.gs-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ccc; border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.gs-dot.active { background: var(--gold); transform: scale(1.35); }