/* ================================================================
   STYLE.CSS — SMA Islam Nurul Bayan Sukawangi
   Warna: Kemendikdasmen (Navy #003580 + Emas #e8a800)
   Upload ke: public_html/assets/css/style.css
================================================================ */

/* ================================================================
   RESET
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f0f4fa;
  color: #1e293b;
  line-height: 1.65;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ================================================================
   CSS VARIABLES
================================================================ */
:root {
  --navy:       #003580;
  --navy-2:     #0055b3;
  --gold:       #e8a800;
  --gold-lt:    #fbbf24;
  --white:      #ffffff;
  --bg:         #f0f4fa;
  --surface:    #ffffff;
  --border:     #dce6f5;
  --muted:      #64748b;
  --text:       #1e293b;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-sm:  8px;
  --shadow:     0 2px 12px rgba(0,53,128,.08);
  --shadow-md:  0 6px 28px rgba(0,53,128,.12);
  --shadow-lg:  0 14px 50px rgba(0,53,128,.17);
  --tr:         all .2s cubic-bezier(.4,0,.2,1);
}

/* ================================================================
   CONTAINER & LAYOUT
================================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.section    { padding: 72px 0; }

/* ================================================================
   TOPBAR
================================================================ */
.topbar-bar {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  font-size: 12px;
  padding: 7px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ================================================================
   HEADER
================================================================ */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky; top: 0; z-index: 999;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,53,128,.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 12px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-box {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 900; flex-shrink: 0;
}
.logo-img { height: 46px; width: auto; border-radius: 10px; }
.brand-text strong {
  display: block; font-size: 14.5px; font-weight: 800;
  color: var(--navy); line-height: 1.2;
}
.brand-text small { font-size: 10.5px; color: var(--muted); font-weight: 500; }

/* Desktop Nav */
.main-nav { display: none; align-items: center; gap: 2px; }
@media (min-width: 1024px) { .main-nav { display: flex; } }

.main-nav > a,
.has-drop > a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600;
  color: var(--muted);
  transition: var(--tr);
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.main-nav > a:hover,
.main-nav > a.active,
.has-drop > a:hover {
  color: var(--navy); background: #e8f0fe;
}
.main-nav > a.active { color: var(--navy); font-weight: 700; }

.nav-ppdb {
  background: var(--navy) !important; color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 9px 16px !important; margin-left: 6px;
  font-weight: 700 !important;
}
.nav-ppdb:hover { background: var(--navy-2) !important; }

/* Dropdown */
.has-drop { position: relative; }
.drop {
  display: none; position: absolute;
  top: calc(100% + 6px); left: 0;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 210px;
  padding: 8px; z-index: 9999;
  border: 1px solid var(--border);
}
.has-drop:hover .drop { display: block; }
.drop a {
  display: block; padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500;
  color: var(--muted); transition: var(--tr);
}
.drop a:hover { background: #e8f0fe; color: var(--navy); font-weight: 600; }

/* Hamburger */
.hamburger {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: none; color: var(--navy);
  font-size: 20px; transition: var(--tr); flex-shrink: 0;
}
.hamburger:hover { background: #e8f0fe; border-color: var(--navy); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile Nav */
.mobile-nav {
  display: none; flex-direction: column;
  background: #fff; border-top: 1px solid var(--border);
  padding: 8px 16px 20px;
  animation: slideDown .2s ease;
}
.mobile-nav.open { display: flex; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  padding: 13px 4px; font-size: 15px; font-weight: 600;
  border-bottom: 1px solid #f1f5f9; color: var(--muted);
  transition: color .15s; display: flex; align-items: center; gap: 8px;
}
.mobile-nav a:hover { color: var(--navy); }
.mobile-nav a:last-child {
  margin-top: 10px; border: none;
  background: var(--navy); color: #fff !important;
  border-radius: var(--radius); text-align: center;
  justify-content: center; padding: 14px;
}

/* ================================================================
   HERO SLIDER
================================================================ */
.slider-wrap {
  position: relative; overflow: hidden;
  height: 460px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}
@media (min-width: 640px)  { .slider-wrap { height: 520px; } }
@media (min-width: 1024px) { .slider-wrap { height: 580px; } }

.slide { display: none; height: 100%; position: relative; }
.slide.active { display: flex; align-items: center; }
.slide-bg { position: absolute; inset: 0; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(0,35,100,.88) 0%,
    rgba(0,35,100,.55) 50%,
    rgba(0,35,100,.2) 100%);
}

.slide-content {
  position: relative; z-index: 2; color: #fff;
  padding: 0 20px; max-width: min(680px, 92%);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .slide-content { padding: 0 70px; margin: 0 0 0 4%; }
}

.slide-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: #1a1a1a;
  font-size: 11px; font-weight: 800;
  padding: 5px 13px; border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: .06em;
}
.slide-content h2 {
  font-size: clamp(24px, 5vw, 52px);
  font-weight: 900; line-height: 1.15; margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.slide-content p {
  font-size: clamp(14px, 2.2vw, 17px);
  opacity: .88; margin-bottom: 26px; max-width: 480px; line-height: 1.65;
}
.slide-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-slide {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: #1a1a1a;
  padding: 13px 24px; border-radius: var(--radius);
  font-weight: 800; font-size: 14px; transition: var(--tr);
}
.btn-slide:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-slide-outline {
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid rgba(255,255,255,.7); color: #fff;
  padding: 11px 22px; border-radius: var(--radius);
  font-weight: 700; font-size: 14px; transition: var(--tr);
}
.btn-slide-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.sl-prev, .sl-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: var(--tr);
}
.sl-prev:hover, .sl-next:hover { background: rgba(255,255,255,.3); }
.sl-prev { left: 12px; } .sl-next { right: 12px; }
@media (min-width: 768px) { .sl-prev { left: 24px; } .sl-next { right: 24px; } }

.sl-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 5;
}
.sl-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,.35); cursor: pointer;
  transition: all .3s;
}
.sl-dot.active { background: var(--gold); width: 26px; }

/* ================================================================
   QUICK LINKS
================================================================ */
.quick-links-wrap {
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .quick-links { grid-template-columns: repeat(4, 1fr); } }

.ql {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding: 24px 14px; text-align: center;
  transition: var(--tr);
  border-bottom: 3px solid transparent;
  border-right: 1px solid var(--border);
  position: relative;
}
.ql:last-child { border-right: none; }
@media (max-width: 639px) {
  .ql:nth-child(2) { border-right: none; }
  .ql:nth-child(n+3) { border-top: 1px solid var(--border); }
}
.ql:hover { border-bottom-color: var(--navy); background: #f0f4fa; }

.ql-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #e8f0fe, #d0e0ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; transition: var(--tr);
}
.ql:hover .ql-icon {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  transform: scale(1.08);
}
.ql strong { font-size: 13px; font-weight: 800; color: var(--navy); }
.ql span   { font-size: 12px; color: var(--muted); }

/* ================================================================
   SECTION HEADER
================================================================ */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-label {
  display: inline-block;
  background: #e8f0fe; color: var(--navy);
  font-size: 11px; font-weight: 800;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: .07em;
}
.sec-head h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800; color: var(--navy); line-height: 1.2;
}
.sec-head p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.sec-line {
  width: 52px; height: 4px;
  background: var(--gold); border-radius: 4px;
  margin: 12px auto 0;
}

/* ================================================================
   BUTTONS
================================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--navy); color: #fff;
  padding: 12px 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 14px;
  transition: var(--tr); border: none;
}
.btn-primary:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,53,128,.28);
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold); color: #1a1a1a;
  padding: 12px 26px; border-radius: var(--radius);
  font-weight: 800; font-size: 14px;
  transition: var(--tr); border: none;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  border: 2px solid var(--navy); color: var(--navy);
  padding: 10px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: 14px;
  transition: var(--tr); background: transparent;
}
.btn-outline:hover { background: #e8f0fe; }

/* ================================================================
   ABOUT / SAMBUTAN
================================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 400px 1fr; gap: 60px; } }

.about-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #d0e0ff, #b0c8ff);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 100%; }
.about-txt h2 { font-size: clamp(20px, 3vw, 30px); font-weight: 800; color: var(--navy); margin: 10px 0 14px; }
.about-txt p { color: var(--muted); line-height: 1.8; margin-bottom: 12px; font-size: 15px; }

/* ================================================================
   STATS
================================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 60px 0; position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  border: 60px solid rgba(232,168,0,.08);
  right: -180px; top: -180px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat {
  text-align: center; padding: 22px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.1);
}
.stat strong {
  display: block; font-size: clamp(34px, 5vw, 50px);
  font-weight: 900; color: var(--gold); line-height: 1;
}
.stat span { display: block; color: rgba(255,255,255,.8); font-size: 13.5px; margin-top: 8px; }

/* ================================================================
   NEWS GRID
================================================================ */
.news-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 580px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow);
  transition: var(--tr); display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-thumb { height: 185px; overflow: hidden; background: #e8f0fe; flex-shrink: 0; }
.news-thumb img { width: 100%; height: 100%; transition: transform .4s; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.thumb-ph {
  height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #d0e0ff, #b3c9ff);
  font-size: 48px;
}
.news-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.news-tag {
  display: inline-block;
  background: #e8f0fe; color: var(--navy);
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .04em; align-self: flex-start;
}
.news-body h3 {
  font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-body small { color: var(--muted); font-size: 12px; margin-top: auto; }

/* ================================================================
   INFO / PENGUMUMAN
================================================================ */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .info-grid { grid-template-columns: 1fr 1fr; } }

.info-box {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--border);
}
.info-box h3 {
  font-size: 17px; font-weight: 800; margin-bottom: 16px; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px; border-bottom: 2px solid #e8f0fe;
}
.info-list li {
  display: flex; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid #f0f4fa;
}
.info-list li:last-child { border: none; padding-bottom: 0; }
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 6px;
}
.info-list strong { font-size: 14px; font-weight: 700; display: block; color: var(--text); }
.info-list p { font-size: 13px; color: var(--muted); margin: 3px 0 0; }

/* ================================================================
   GALLERY
================================================================ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gal-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 1; background: #dce6f5; cursor: pointer;
}
.gal-item img { width: 100%; height: 100%; transition: transform .35s; }
.gal-item:hover img { transform: scale(1.09); }
.gal-over {
  position: absolute; inset: 0;
  background: rgba(0,35,128,.6); opacity: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; transition: opacity .2s;
}
.gal-item:hover .gal-over { opacity: 1; }

/* ================================================================
   LIGHTBOX
================================================================ */
#lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.93); z-index: 9999;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 14px; padding: 20px;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 92%; max-height: 82vh; border-radius: var(--radius); }
.lb-close {
  position: absolute; top: 16px; right: 20px;
  color: #fff; font-size: 38px; opacity: .75;
  transition: opacity .15s; line-height: 1;
}
.lb-close:hover { opacity: 1; }
.lb-caption { color: rgba(255,255,255,.65); font-size: 14px; text-align: center; max-width: 560px; }

/* ================================================================
   PAGE HERO (halaman dalam)
================================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff; padding: 48px 0 40px; text-align: center;
}
.page-hero h1 { font-size: clamp(22px, 4vw, 42px); font-weight: 800; }
.page-hero p { opacity: .8; margin-top: 8px; font-size: 15px; }
.breadcrumb {
  display: flex; gap: 6px; justify-content: center; align-items: center;
  margin-top: 12px; font-size: 13px; opacity: .65; flex-wrap: wrap;
}
.breadcrumb a:hover { opacity: 1; color: var(--gold); }

/* ================================================================
   TAGS & BADGES
================================================================ */
.tag {
  display: inline-block; background: #e8f0fe; color: var(--navy);
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-green  { background: #dcfce7; color: #16a34a; }
.badge-blue   { background: #e8f0fe; color: #2563eb; }
.badge-yellow { background: #fef9c3; color: #92400e; }
.badge-red    { background: #fee2e2; color: #dc2626; }
.badge-gray   { background: #f1f5f9; color: #64748b; }

/* ================================================================
   FORMS
================================================================ */
.form-card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 26px 22px;
  margin-bottom: 20px; border: 1px solid var(--border);
}
.form-card h3 {
  font-size: 17px; font-weight: 800; color: var(--navy);
  margin-bottom: 18px; padding-bottom: 13px;
  border-bottom: 2px solid #e8f0fe;
  display: flex; align-items: center; gap: 8px;
}
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text); background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,53,128,.09);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row   { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 580px) { .form-row { grid-template-columns: 1fr 1fr; gap: 15px; } }
.form-submit {
  width: 100%; padding: 14px; background: var(--navy); color: #fff;
  border: none; border-radius: var(--radius); font-size: 15px; font-weight: 800;
  transition: var(--tr);
}
.form-submit:hover { background: var(--navy-2); }
.alert { padding: 13px 17px; border-radius: var(--radius-sm); margin-bottom: 17px; font-size: 14px; font-weight: 600; }
.alert-success { background: #f0fdf4; color: #16a34a; border-left: 4px solid #22c55e; }
.alert-danger  { background: #fef2f2; color: #dc2626; border-left: 4px solid #ef4444; }
.alert-info    { background: #e8f0fe; color: var(--navy); border-left: 4px solid var(--navy); }
.ppdb-info {
  background: linear-gradient(135deg, #e8f0fe, #d0e0ff);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px;
  border-left: 4px solid var(--navy);
}
.ppdb-info p { color: var(--navy); font-weight: 700; font-size: 14px; }

/* ================================================================
   PROFIL
================================================================ */
.profil-layout { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 900px) { .profil-layout { grid-template-columns: 230px 1fr; } }
.profil-sidebar {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--border);
}
@media (min-width: 900px) { .profil-sidebar { position: sticky; top: 80px; } }
.profil-sidebar a {
  display: block; padding: 12px 18px; font-size: 13.5px; font-weight: 600;
  border-bottom: 1px solid #f0f4fa; color: var(--muted); transition: var(--tr);
}
.profil-sidebar a:hover,
.profil-sidebar a.active {
  background: #e8f0fe; color: var(--navy); padding-left: 22px;
  border-left: 3px solid var(--navy);
}
.profil-content {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 30px 26px; border: 1px solid var(--border);
}
.profil-content h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.profil-content p  { color: var(--muted); line-height: 1.8; margin-bottom: 13px; font-size: 15px; }
.profil-content ul { padding-left: 20px; list-style: disc; }
.profil-content ul li { color: var(--muted); margin-bottom: 8px; line-height: 1.7; }
.guru-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 600px) { .guru-grid { grid-template-columns: repeat(3, 1fr); } }
.guru-card {
  background: #f8fafc; border-radius: var(--radius); padding: 20px 14px; text-align: center;
  border: 1px solid var(--border); transition: var(--tr);
}
.guru-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.guru-foto {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, #d0e0ff, #b3c9ff);
  margin: 0 auto 12px; display: flex; align-items: center; justify-content: center;
  font-size: 30px; overflow: hidden;
}
.guru-foto img { width: 100%; height: 100%; }
.guru-card strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.guru-card span   { font-size: 12px; color: var(--muted); }
.guru-card small  { font-size: 11px; color: var(--navy); font-weight: 700; display: block; margin-top: 4px; }

/* ================================================================
   DETAIL BERITA
================================================================ */
.detail-layout { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 960px) { .detail-layout { grid-template-columns: 1fr 290px; } }
.detail-content {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 30px 26px; border: 1px solid var(--border);
}
.detail-content h1 { font-size: clamp(20px, 3.5vw, 30px); font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 12px; }
.detail-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.detail-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.detail-body { font-size: 15.5px; line-height: 1.9; color: #374151; }
.detail-body p { margin-bottom: 14px; }
.sidebar-widget {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; border: 1px solid var(--border);
}
.sidebar-widget h4 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #e8f0fe; }

/* ================================================================
   KONTAK
================================================================ */
.kontak-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 768px) { .kontak-grid { grid-template-columns: 1fr 1fr; } }
.kontak-info {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 28px; border: 1px solid var(--border);
}
.kontak-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.kontak-icon {
  width: 42px; height: 42px; border-radius: 12px; background: #e8f0fe;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.kontak-item strong { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .04em; }
.kontak-item p { font-size: 14px; color: var(--text); font-weight: 500; }
.maps-embed { border-radius: var(--radius-lg); overflow: hidden; height: 340px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.maps-embed iframe { width: 100%; height: 100%; border: none; }

/* ================================================================
   BERITA LIST
================================================================ */
.news-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
  padding: 8px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border); background: #fff; color: var(--muted);
  transition: var(--tr); cursor: pointer;
}
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.search-box { display: flex; gap: 8px; margin-bottom: 26px; }
.search-box input {
  flex: 1; padding: 11px 15px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 14px; outline: none; transition: border .2s;
}
.search-box input:focus { border-color: var(--navy); }
.search-box button { padding: 11px 18px; background: var(--navy); color: #fff; border-radius: var(--radius); font-weight: 700; font-size: 14px; }

/* ================================================================
   GALERI PAGE
================================================================ */
.gallery-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .gallery-page-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery-page-grid { grid-template-columns: repeat(4, 1fr); } }
.gal-page-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 1; background: #dce6f5; cursor: pointer;
}
.gal-page-item img { width: 100%; height: 100%; transition: transform .35s; }
.gal-page-item:hover img { transform: scale(1.08); }
.gal-page-overlay {
  position: absolute; inset: 0;
  background: rgba(0,35,128,.6); opacity: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; color: #fff; font-size: 24px;
  transition: opacity .2s; padding: 10px; text-align: center;
}
.gal-page-item:hover .gal-page-overlay { opacity: 1; }

/* ================================================================
   PAGINATION
================================================================ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--muted); transition: var(--tr);
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ================================================================
   FOOTER
================================================================ */
.site-footer { background: #001f4d; color: #fff; padding: 60px 0 0; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { color: #7fa0c8; font-size: 14px; line-height: 1.8; margin-top: 10px; max-width: 280px; }
.footer-h { font-size: 13px; font-weight: 800; margin-bottom: 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .07em; }
.footer-ul li { margin-bottom: 9px; }
.footer-ul a { color: #7fa0c8; font-size: 14px; transition: color .15s; }
.footer-ul a:hover { color: #fff; }
.footer-p { color: #7fa0c8; font-size: 14px; margin-bottom: 9px; display: flex; gap: 8px; }
.soc { color: #7fa0c8; font-size: 14px; display: inline-block; margin-right: 12px; transition: color .15s; }
.soc:hover { color: var(--gold); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.07); text-align: center; padding: 17px 16px; font-size: 13px; color: rgba(255,255,255,.3); }
