/* ═══════════════════════════════════════════════════════════════
   STYLE.CSS — SDN Sudirman
   Stylesheet gabungan untuk semua halaman
═══════════════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── CSS VARIABLES ─── */
:root {
  --yellow:    #FFE31A;
  --yellow-dk: #F09319;
  --yellow-dr: #90580f;
  --blue:      #0D92F4;
  --blue-dk:   #0a75c3;
  --dark:      #111827;
  --white:     #ffffff;
  --gray:      #6b7280;
  --bg:        #f8fafc;
  --muted:     rgba(255,255,255,0.60);
  --font:      'Montserrat', sans-serif;
  --container: 1200px;
  --pad:       40px;
  --cycle:     8s;
}

/* ─── BODY ─── */
body { font-family: var(--font); background: #fff; color: var(--dark); }


/* ═══════════════════════════════════════════════════════════════
   HEADER — Topbar + Navbar + Sidebar
═══════════════════════════════════════════════════════════════ */

/* ── Shared inner container ── */
.topbar-inner,
.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
}

/* ── TOPBAR ── */
.topbar { background: var(--yellow-dk); height: 42px; }
.topbar-left { display: flex; align-items: center; gap: 24px; }
.topbar-left a {
  color: #111111;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color .2s;
}

.topbar-right { display: flex; align-items: stretch; height: 100%; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 100%;
  color: #111111;
  text-decoration: none;
  font-size: 13px;
  border-left: 1px solid rgba(0,0,0,0.18);
  transition: background .2s, color .2s;
}
.social-icon:hover { background: #90580f; color: var(--white); }

.search-box {
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(0,0,0,0.18);
  border-right: 1px solid rgba(0,0,0,0.18);
  height: 100%;
}
.search-box input {
  background: rgba(0,0,0,0.15);
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  padding: 0 14px;
  width: 140px;
  height: 100%;
  color: #111111;
}
.search-box input::placeholder { color: rgba(0,0,0,0.45); }
.search-box button {
  background: rgba(0,0,0,0.15);
  border: none;
  color: #111111;
  cursor: pointer;
  width: 42px;
  height: 100%;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.search-box button:hover { background: var(--blue-dk); color: var(--white); }

/* ── NAVBAR ── */
.navbar {
  background: var(--yellow);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 16px rgba(10,117,195,.20);
  height: 82px;
}

/* ── LOGO ── */
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 62px; width: auto; object-fit: contain; display: block; }

/* ── NAV MENU ── */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-list { list-style: none; display: flex;flex-flow: wrap; align-items: center; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  font-size: 12.5px; font-weight: 700;
  color: var(--dark); text-decoration: none;
  letter-spacing: 0.4px;
  transition: background .2s;
  white-space: nowrap; position: relative;
}
.nav-link .arrow { font-size: 9px; transition: transform .25s; }
.nav-link:hover,
.nav-item.open > .nav-link {  }

/* ── DROPDOWN ── */
.dropdown-menu {
  display: none; position: absolute;
  top: 100%; left: 0;
  background: var(--white); min-width: 218px;
  box-shadow: 0 8px 32px rgba(0,0,0,.16);
  border-top: 3px solid var(--blue-dk);
  padding: 6px 0; z-index: 500;
  flex-direction: column;
  animation: fadeDown .18s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown:hover .dropdown-menu,
.dropdown.open  .dropdown-menu { display: flex; }
.dropdown:hover > .nav-link .arrow { transform: rotate(180deg); }
.dropdown-menu li { list-style: none; }
.dropdown-menu li a {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 18px; font-size: 12.5px; font-weight: 600;
  color: var(--dark); text-decoration: none;
  border-left: 3px solid transparent; transition: all .15s;
}
.dropdown-menu li a i { color: var(--blue-dk); font-size: 11px; }
.dropdown-menu li a:hover {
  color: var(--blue-dk);
  background: rgba(13,146,244,.07);
  border-left-color: var(--blue-dk);
}

/* ── PPDB BUTTON ── */
.btn-ppdb {
  display: inline-flex; align-items: center;
  background: var(--yellow-dk); color: #111111;
  font-family: var(--font); font-size: 13px; font-weight: 800;
  padding: 11px 24px; text-decoration: none;
  margin-left: 16px; letter-spacing: 0.3px; white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,.15); flex-shrink: 0;
}
.btn-ppdb:hover {
  background: var(--yellow-dr);
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 5px 16px rgba(10,117,195,.35);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; z-index: 1200;
}
.hamburger span {
  display: block; width: 26px; height: 3px;
  background: var(--blue-dk); border-radius: 1px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── SIDEBAR OVERLAY ── */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1050;
  opacity: 0; transition: opacity .3s;
}
.sidebar-overlay.active { display: block; opacity: 1; }

/* ── SIDEBAR PANEL ── */
.sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 300px; background: var(--white);
  z-index: 1100; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.77,0,.18,1);
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,.18);
}
.sidebar.active { transform: translateX(0); }

.sidebar-head {
  background: var(--yellow);
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-shrink: 0;
}
.sidebar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.sidebar-logo-shield {
  width: 40px; height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dk));
  clip-path: polygon(50% 0%, 100% 15%, 100% 75%, 50% 100%, 0% 75%, 0% 15%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sidebar-logo-shield span { color: var(--white); font-size: 8px; font-weight: 800; letter-spacing: 0.5px; }
.sidebar-logo-info { display: flex; flex-direction: column; gap: 2px; }
.sidebar-logo-name { font-size: 11px; font-weight: 800; color: var(--blue-dk); line-height: 1.2; }
.sidebar-logo-sub {
  font-size: 8.5px; font-weight: 700; color: #111111;
  background: var(--yellow-dk); padding: 1px 6px; display: inline-block;
}

.sidebar-close {
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--blue-dk);
  border-radius: 50%; transition: background .2s, color .2s; flex-shrink: 0;
}
.sidebar-close:hover { background: var(--blue-dk); color: var(--white); }

.sidebar-nav { flex: 1; padding: 8px 0; }
.sidebar-nav ul { list-style: none; }
.sidebar-nav > ul > li { border-bottom: 1px solid rgba(0,0,0,.06); }

.sidebar-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; font-size: 13.5px; font-weight: 700;
  color: var(--dark); text-decoration: none;
  transition: background .15s, color .15s;
  cursor: pointer; background: none; border: none;
  width: 100%; text-align: left;
  font-family: var(--font); letter-spacing: 0.3px;
}
.sidebar-nav-link:hover { background: rgba(13,146,244,.06); color: var(--blue-dk); }
.sidebar-nav-link.active-item { color: var(--blue-dk); }
.sidebar-nav-link .s-arrow { font-size: 10px; color: var(--blue); transition: transform .25s; }
.sidebar-nav-link.open .s-arrow { transform: rotate(180deg); }

.sidebar-submenu {
  display: none; background: #f0f8ff;
  border-left: 3px solid var(--blue); margin-left: 22px;
}
.sidebar-submenu.open { display: block; }
.sidebar-submenu li a {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 16px; font-size: 12.5px; font-weight: 600;
  color: #333; text-decoration: none;
  transition: color .15s, background .15s;
}
.sidebar-submenu li a i { color: var(--blue-dk); font-size: 10px; }
.sidebar-submenu li a:hover { color: var(--blue-dk); background: rgba(13,146,244,.08); }

.sidebar-ppdb { padding: 18px 20px; flex-shrink: 0; }
.sidebar-ppdb a {
  display: block; background: var(--blue); color: var(--white);
  font-family: var(--font); font-size: 14px; font-weight: 800;
  text-align: center; padding: 14px; text-decoration: none;
  letter-spacing: 0.5px; text-transform: uppercase;
  transition: background .2s, transform .15s;
  box-shadow: 0 3px 12px rgba(13,146,244,.30);
}
.sidebar-ppdb a:hover { background: var(--blue-dk); transform: translateY(-2px); }

/* ── HEADER RESPONSIVE ── */
@media (max-width: 1200px) {
  :root { --pad: 24px; }
  .nav-link { padding: 10px 10px; font-size: 11.5px; }
}
@media (max-width: 960px) {
  :root { --pad: 16px; }
  .topbar { height: auto; min-height: 42px; }
  .topbar-inner {
    flex-wrap: wrap; align-items: center;
    padding-top: 6px; padding-bottom: 6px; gap: 8px;
  }
  .topbar-left { gap: 14px; }
  .navbar { height: 66px; }
  .hamburger { display: flex; }
  .nav-menu { display: none !important; }
}
@media (max-width: 600px) {
  .search-box input { width: 80px; }
  .logo-img { height: 48px; }
  .topbar-left a span { display: none; }
  .topbar-left a i { font-size: 14px; }
}


/* ═══════════════════════════════════════════════════════════════
   PAGE HEADER — Shared across inner pages
   (Berita, Visi-Misi, Berita Detail, Guru)
═══════════════════════════════════════════════════════════════ */
.page-header {
  background: url("https://images.unsplash.com/photo-1501349800519-48093d60bde0?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover no-repeat;
  padding: 56px 40px 48px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.06); border-radius: 50%;
}
.page-header::after {
  content: ""; position: absolute; right: 80px; top: 30px;
  width: 140px; height: 140px;
  background: rgba(255,227,26,0.1); border-radius: 50%;
}
.page-header-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.7); margin-bottom: 10px; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb i { font-size: 10px; }
.breadcrumb .current { color: var(--yellow); }
.page-title { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.page-title span { color: var(--yellow); }

@media (max-width: 700px) {
  .page-header { padding: 36px 20px 30px; }
  .page-title  { font-size: 26px; }
}


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Hero Slider
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; width: 100%;
  height: 100vh; min-height: 520px; overflow: hidden;
}
.slides {
  display: flex; width: 100%; height: 100%;
  transition: transform 0.75s cubic-bezier(0.77,0,0.18,1);
}
.slide { min-width: 100%; height: 100%; position: relative; flex-shrink: 0; }
.slide-1 { background: #1a1a2e; }
.slide-2 { background: #16213e; }
.slide-3 { background: #0f3460; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.52); z-index: 1;
}
.slide-placeholder {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.1);
  letter-spacing: 2px; text-transform: uppercase;
}
.slide-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 0 20px; gap: 16px;
}
.slide-content .badge-icon,
.slide-content .slide-label,
.slide-content .slide-title,
.slide-content .slide-buttons {
  opacity: 0; transform: translateY(-60px);
}
@keyframes contentLoop {
  0%   { opacity: 0; transform: translateY(-60px); }
  10%  { opacity: 1; transform: translateY(0); }
  75%  { opacity: 1; transform: translateY(0); }
  85%  { opacity: 0; transform: translateY(60px); }
  100% { opacity: 0; transform: translateY(-60px); }
}
.slide.active .slide-content .badge-icon  { animation: contentLoop var(--cycle) ease 0s    infinite; }
.slide.active .slide-content .slide-label  { animation: contentLoop var(--cycle) ease 0.15s infinite; }
.slide.active .slide-content .slide-title  { animation: contentLoop var(--cycle) ease 0.28s infinite; }
.slide.active .slide-content .slide-buttons { animation: contentLoop var(--cycle) ease 0.42s infinite; }

.slide.leaving .slide-content .badge-icon,
.slide.leaving .slide-content .slide-label,
.slide.leaving .slide-content .slide-title,
.slide.leaving .slide-content .slide-buttons {
  animation: exitNow 0.3s ease forwards !important;
}
@keyframes exitNow {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(60px); }
}

.badge-icon {
  width: 80px; height: 80px;
  background: radial-gradient(circle at 40% 35%, #f5c518, #b8860b);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(245,197,24,0.25), 0 8px 30px rgba(0,0,0,0.5);
  position: relative; margin-bottom: 8px;
}
.badge-icon i { font-size: 32px; color: #1a1a1a; }
.badge-icon::after {
  content: ""; position: absolute; bottom: -12px; left: 50%;
  transform: translateX(-50%); width: 48px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 14'%3E%3Cpath d='M0 0 L24 14 L48 0' fill='%23cc2200'/%3E%3C/svg%3E") no-repeat center/contain;
}

.slide-label {
  font-size: 13px; font-weight: 700;
  color: #e6e601; letter-spacing: 2px;
  text-transform: uppercase; margin-top: 12px;
}
.slide-title {
  font-size: clamp(22px, 4vw, 46px); font-weight: 900;
  color: var(--white); letter-spacing: 1px;
  text-transform: uppercase; line-height: 1.15;
  max-width: 820px; text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.slide-buttons {
  display: flex; gap: 14px; margin-top: 8px;
  flex-wrap: wrap; justify-content: center;
}
.btn-gallery {
  background: #e6e601; color: #1a1a1a;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 28px; border: none; cursor: pointer;
  text-decoration: none; transition: background .2s, transform .15s;
}
.btn-gallery:hover { background: #cccc01; transform: translateY(-2px); }
.btn-detail {
  background: transparent; color: var(--white);
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 11px 28px; border: 2px solid var(--white);
  cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}
.btn-detail:hover { background: var(--white); color: #111; transform: translateY(-2px); }

.arrow-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.45); color: var(--white);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px;
  backdrop-filter: blur(4px);
  transition: background .2s, border-color .2s;
}
.arrow-btn:hover { background: rgba(255,255,255,0.3); border-color: var(--white); }
.arrow-prev { left: 24px; }
.arrow-next { right: 24px; }

.dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 10px;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent; cursor: pointer;
  transition: background .3s, border-color .3s;
}
.dot.active { background: var(--white); border-color: var(--white); }

@media (max-width: 600px) {
  .arrow-prev { left: 10px; }
  .arrow-next { right: 10px; }
  .arrow-btn  { width: 36px; height: 36px; font-size: 13px; }
}


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Callout Section
═══════════════════════════════════════════════════════════════ */
.callout-section { display: flex; width: 100%; }
.callout-item {
  flex: 1; padding: 48px 40px 48px 44px;
  background: linear-gradient(135deg, #0d92f4 0%, #0a75c3 60%, #085fa0 100%);
  position: relative; overflow: hidden;
}
.callout-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0;
  top: 20%; bottom: 20%; width: 1px;
  background: rgba(255,255,255,0.25);
}
.callout-item::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,0.07); pointer-events: none;
}
.callout-item h5 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: 0.5px; }
.callout-item p  { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.88); line-height: 1.7; max-width: 300px; }

@media (max-width: 600px) {
  .callout-section { flex-direction: column; }
  .callout-item:not(:last-child)::after { display: none; }
  .callout-item p { max-width: 100%; }
}
@media (max-width: 900px) {
  .callout-item { padding: 36px 28px; }
}


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Sambutan Kepala Sekolah
═══════════════════════════════════════════════════════════════ */
.sambutan-section { background: #e8f4fd; padding: 80px 0 70px; }
.sambutan-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 60px;
  display: flex; align-items: center; gap: 80px;
}
.sambutan-text { flex: 1; }
.sambutan-text h2 { font-size: 28px; font-weight: 800; color: #0a2030; margin-bottom: 28px; letter-spacing: 0.3px; }
.sambutan-text p  { font-size: 15px; font-weight: 400; color: #2a4050; line-height: 1.85; margin-bottom: 0; }
.sambutan-btn {
  display: inline-block; margin-top: 36px;
  background: #e6a800; color: #fff;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 36px; text-decoration: none;
  transition: background .2s, transform .15s;
}
.sambutan-btn:hover { background: #cc9400; transform: translateY(-2px); }
.sambutan-photo {
  flex-shrink: 0; width: 280px;
  display: flex; align-items: flex-end; justify-content: center;
}
.sambutan-photo img {
  width: 100%; max-width: 280px;
  object-fit: contain; object-position: bottom center; display: block;
}

@media (max-width: 900px) {
  .sambutan-inner { flex-direction: column; gap: 40px; padding: 0 30px; }
  .sambutan-photo { width: 220px; }
}
@media (max-width: 600px) {
  .sambutan-inner { padding: 0 20px; }
  .sambutan-photo { width: 180px; }
}


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Shared Section Heading
═══════════════════════════════════════════════════════════════ */
.sec-heading { text-align: center; padding-bottom: 10px; }
.sec-heading h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: #1a3000; margin-bottom: 10px; }
.sec-heading .underline { display: inline-block; width: 80px; height: 3px; background: #e6a800; border-radius: 2px; margin-bottom: 20px; }
.sec-heading p { font-size: 15px; color: #555; font-weight: 400; }


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Konsentrasi Keahlian
═══════════════════════════════════════════════════════════════ */
.konsentrasi-section { background: #d8eeff; padding: 70px 0 80px; }
.konsentrasi-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.konsentrasi-inner .sec-heading h2 { color: #1a2000; }

.konsentrasi-slider-wrap { position: relative; overflow: hidden; margin-top: 40px; }
.konsentrasi-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.77,0,0.18,1); }
.konsentrasi-card {
  flex: 0 0 calc(25% - 18px); background: #fff;
  border: 1px solid #d8dada;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 28px 32px; min-width: 0;
}
.konsentrasi-card .card-img-wrap {
  width: 100%; height: 120px; background: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.konsentrasi-card .card-img-wrap img { width: 100px; height: auto; object-fit: contain; }
.konsentrasi-card h3 { font-size: 18px; font-weight: 800; color: #f09319; margin-bottom: 12px; }
.konsentrasi-card p  { font-size: 14px; color: #555; line-height: 1.7; flex: 1; }
.konsentrasi-card .card-link {
  margin-top: 18px; font-size: 14px; font-weight: 700;
  color: #f09319; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: gap .2s;
}
.konsentrasi-card .card-link:hover { gap: 10px; }

.konsentrasi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.konsentrasi-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid #555; background: transparent;
  cursor: pointer; transition: background .3s, border-color .3s;
}
.konsentrasi-dot.active { background: #f09319; border-color: #f09319; }

@media (max-width: 900px) { .konsentrasi-card { flex: 0 0 calc(50% - 12px); } }
@media (max-width: 600px) {
  .konsentrasi-card { flex: 0 0 calc(100% - 0px); }
  .konsentrasi-inner { padding: 0 20px; }
}


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Keunggulan Sekolah
═══════════════════════════════════════════════════════════════ */
.keunggulan-section { background: #fff; padding: 70px 0 80px; }
.keunggulan-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.keunggulan-inner .sec-heading h2 { color: #0a1a2a; }

.keunggulan-body { display: flex; gap: 60px; margin-top: 48px; align-items: flex-start; }

.keunggulan-left { flex: 0 0 520px; }
.keunggulan-left img { width: 100%; height: 320px; object-fit: cover; display: block; }
.keunggulan-caption { margin-top: 20px; }
.keunggulan-caption h4 { font-size: 17px; font-weight: 800; color: #f09319; margin-bottom: 8px; }
.keunggulan-caption .location {
  font-size: 13px; color: #f09319; font-weight: 600;
  margin-bottom: 10px; display: flex; align-items: flex-start; gap: 6px;
}
.keunggulan-caption p { font-size: 14px; color: #444; line-height: 1.7; }

.keunggulan-right { flex: 1; display: flex; flex-direction: column; gap: 28px; }
.keunggulan-item { display: flex; gap: 18px; align-items: flex-start; }
.keunggulan-item .ki-icon {
  flex-shrink: 0; width: 64px; height: 64px;
  background: #0d92f4; display: flex; align-items: center; justify-content: center;
}
.keunggulan-item .ki-icon i { font-size: 26px; color: #fff; }
.keunggulan-item .ki-text h5 { font-size: 16px; font-weight: 800; color: #0a1a2a; margin-bottom: 6px; }
.keunggulan-item .ki-text p  { font-size: 14px; color: #555; line-height: 1.7; }

@media (max-width: 1100px) { .keunggulan-left { flex: 0 0 340px; } }
@media (max-width: 900px) {
  .keunggulan-body { flex-direction: column; }
  .keunggulan-left { flex: 0 0 auto; width: 100%; }
}
@media (max-width: 600px) { .keunggulan-inner { padding: 0 20px; } }


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Benefit Section
═══════════════════════════════════════════════════════════════ */
.benefit-section { background: #e8f4fd; padding: 0; position: relative; overflow: hidden; }
.benefit-body { display: flex; max-width: 1200px; margin: 0 auto; align-items: stretch; }

.benefit-photo { flex: 0 0 400px; position: relative; min-height: 520px; }
.benefit-photo img {
  position: absolute; bottom: 0; left: 0;
  height: 100%; width: 100%;
  object-fit: cover; object-position: top center;
}
.benefit-photo .deco {
  position: absolute; border-radius: 50%;
  border: 3px solid; pointer-events: none;
}
.benefit-photo .deco-1  { width: 28px; height: 28px; top: 14%; left: 12%; border-color: #e6a800; }
.benefit-photo .deco-2  { width: 18px; height: 18px; top: 30%; left: 6%;  border-color: #e6a800; }
.benefit-photo .deco-3  { width: 14px; height: 14px; top: 60%; left: 20%; border-color: #e6a800; }
.benefit-photo .deco-tri {
  position: absolute; width: 0; height: 0;
  border-left: 10px solid transparent; border-right: 10px solid transparent;
}
.benefit-photo .deco-tri-1 { border-bottom: 18px solid #e6a800; top: 8%;  left: 22%; }
.benefit-photo .deco-tri-2 { border-top:  18px solid #ffe31a; top: 50%; left: 4%;  }
.benefit-photo .deco-dot-grid {
  position: absolute; top: 20%; right: 0; width: 80px; height: 80px;
  background-image: radial-gradient(circle, #ffe31a 1.5px, transparent 1.5px);
  background-size: 12px 12px; opacity: 0.55;
}
.benefit-photo .deco-plus { position: absolute; font-size: 22px; font-weight: 700; color: #ffe31a; opacity: 0.7; }
.benefit-photo .deco-plus-1 { top: 5%;  left: 38%; }
.benefit-photo .deco-plus-2 { top: 38%; left: 10%; }

.benefit-content {
  flex: 1; padding: 70px 60px 70px 70px;
  display: flex; flex-direction: column; justify-content: center;
}
.benefit-content .sec-heading { text-align: left; padding-bottom: 0; }
.benefit-content .sec-heading h2 { color: #1a3000; }

.benefit-slides-wrap { margin-top: 36px; min-height: 160px; }
.benefit-slide { display: none; }
.benefit-slide.active { display: block; }
.benefit-slide h4 { font-size: 20px; font-weight: 800; color: #0a1a2a; margin-bottom: 4px; }
.benefit-slide .b-sub { font-size: 14px; font-weight: 600; color: #f09319; margin-bottom: 16px; }
.benefit-slide p { font-size: 15px; color: #444; line-height: 1.8; }

.benefit-nav-dots { display: flex; gap: 8px; margin-top: 28px; }
.benefit-nav-dot { width: 10px; height: 10px; border-radius: 50%; background: #0d92f4; cursor: pointer; transition: background .3s; }
.benefit-nav-dot.active { background: #0a75c3; }

@media (max-width: 1100px) {
  .benefit-photo { flex: 0 0 320px; }
  .benefit-content { padding: 50px 40px; }
}
@media (max-width: 900px) {
  .benefit-body { flex-direction: column; }
  .benefit-photo { min-height: 300px; }
  .benefit-content { padding: 40px 30px; }
  .benefit-photo {display:none;}
}
@media (max-width: 600px) { .benefit-content { padding: 30px 20px; } }


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Counter Section
═══════════════════════════════════════════════════════════════ */
.counter-section { background: #0d92f4; padding: 50px 0; }
.counter-inner {
  max-width: 1100px; margin: 0 auto; margin-bottom: -18px;
  padding: 0 40px;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px;
}
.counter-item { text-align: center; flex: 0 0 160px; }
.counter-item i { font-size: 48px; color: #ffff01; display: block; margin-bottom: 12px; }
.counter-item .counter-num, .counter-num-1 {
  font-size: 48px; font-weight: 900; color: #fff;
  line-height: 1; margin-bottom: 8px; font-family: var(--font);
}
.counter-item p { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 900px) { .counter-item { flex: 0 0 130px; } }
@media (max-width: 600px) { .counter-item { flex: 0 0 45%; } }


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — TO ME Store
═══════════════════════════════════════════════════════════════ */
.store-section { background: #fff; padding: 80px 0; }
.store-inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; display: flex; align-items: center; gap: 80px; }
.store-photo { flex: 0 0 480px; position: relative; }
.store-photo img { width: 100%; display: block; object-fit: contain; }

.store-photo .sp-deco { position: absolute; pointer-events: none; }
.store-photo .sp-circle-1 { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #e6a800; top: 12%; left: 10%; }
.store-photo .sp-circle-2 { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #f09319; top: 55%; left: 4%;  }
.store-photo .sp-circle-3 { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #e6a800; bottom: 10%; right: 6%; }
.store-photo .sp-tri-1 {
  width: 0; height: 0;
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-bottom: 14px solid #f09319; top: 7%; left: 18%;
}
.store-photo .sp-dot-grid {
  position: absolute; bottom: 8%; left: 15%; width: 90px; height: 60px;
  background-image: radial-gradient(circle, #f09319 1.5px, transparent 1.5px);
  background-size: 12px 12px; opacity: 0.45;
}
.store-photo .sp-plus { font-size: 20px; font-weight: 700; color: #e6a800; opacity: 0.8; }
.store-photo .sp-plus-1 { top: 4%;    left: 32%; }
.store-photo .sp-plus-2 { bottom: 5%; right: 12%; }

.store-text { flex: 1; }
.store-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: #1a2000; margin-bottom: 10px; letter-spacing: 0.5px; }
.store-text .underline { display: inline-block; width: 80px; height: 3px; background: #e6a800; border-radius: 2px; margin-bottom: 26px; }
.store-text p { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 14px; }

.store-links { margin: 18px 0 28px; display: flex; flex-direction: column; gap: 8px; }
.store-links a { font-size: 14px; color: #f09319; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: color .2s; }
.store-links a:hover { color: #c77a00; }
.store-links a i { color: #e6a800; }

.store-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-beli {
  background: #e6a800; color: #fff;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 13px 30px; border: none; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-beli:hover { background: #cc9400; transform: translateY(-2px); }
.btn-detail-store {
  background: transparent; color: #1a2000;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 30px; border: 2px solid #1a2000;
  cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}
.btn-detail-store:hover { background: #1a2000; color: #fff; transform: translateY(-2px); }

@media (max-width: 1100px) { .store-photo { flex: 0 0 380px; } .store-inner { gap: 50px; padding: 0 40px; } }
@media (max-width: 900px) { .store-inner { flex-direction: column; gap: 30px; padding: 0 30px; } .store-photo { flex: 0 0 auto; width: 100%; max-width: 480px; margin: 0 auto; } }
@media (max-width: 600px) { .store-inner { padding: 0 20px; } }


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Galeri Foto
═══════════════════════════════════════════════════════════════ */
.galeri-section { background: #f0f0f0; padding: 0; overflow: hidden; position: relative; }
.galeri-track-wrap { overflow: hidden; width: 100%; cursor: grab; position: relative; }
.galeri-track-wrap:active { cursor: grabbing; }
.galeri-track { display: flex; transition: transform 0.5s cubic-bezier(0.77,0,0.18,1); height: auto; }
.galeri-item { flex: 0 0 calc(100% / 5); height: 100%; overflow: hidden; position: relative; }
.galeri-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .4s; }
.galeri-item:hover img { transform: scale(1.06); }
.galeri-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  background: rgba(0,0,0,0.4); border: none; color: #fff;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; transition: background .2s;
}
.galeri-arrow:hover { background: rgba(0,0,0,0.7); }
.galeri-arrow-prev { left: 10px; }
.galeri-arrow-next { right: 10px; }

@media (max-width: 1100px) { .galeri-item { flex: 0 0 calc(100% / 4); } }
@media (max-width: 900px)  { .galeri-item { flex: 0 0 calc(100% / 3); } .galeri-track { height: 240px; } }
@media (max-width: 600px)  { .galeri-item { flex: 0 0 50%; } .galeri-track { height: 180px; } }


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Berita Terbaru
═══════════════════════════════════════════════════════════════ */
.berita-section { background: #fff8e1; padding: 70px 0 80px; }
.berita-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.berita-inner .sec-heading h2 { color: #1a3000; }

.berita-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.berita-card { background: #fff; overflow: hidden; }
.berita-card-img { position: relative; overflow: hidden; height: 190px; }
.berita-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.berita-card:hover .berita-card-img img { transform: scale(1.05); }
.berita-date { position: absolute; bottom: 0; left: 0; background: #0a75c3; color: #fff; font-size: 11px; font-weight: 700; padding: 5px 10px; letter-spacing: 0.5px; }
.berita-card-body { padding: 20px; }
.berita-card-body h4 { font-size: 15px; font-weight: 800; color: #1a2000; line-height: 1.5; margin-bottom: 10px; }
.berita-card-body .berita-meta { font-size: 12px; color: #888; margin-bottom: 10px; }
.berita-card-body p  { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 14px; }
.berita-read-more {
  font-size: 13px; font-weight: 700; color: #f09319;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: gap .2s;
}
.berita-read-more:hover { gap: 9px; }

@media (max-width: 1100px) { .berita-grid { gap: 20px; } }
@media (max-width: 900px)  { .berita-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .berita-inner { padding: 0 20px; } .berita-grid { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Guru & Tendik Section (homepage variant)
═══════════════════════════════════════════════════════════════ */
.guru-section { background: #fff; padding: 70px 0 60px; }
.guru-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.guru-inner .sec-heading h2 { color: #0a1a2a; }
.guru-inner .sec-heading .guru-quote { font-size: 14px; color: #666; font-style: italic; margin-top: 6px; margin-bottom: 0; }

.guru-inner .guru-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 44px; }
.guru-inner .guru-card { text-align: center; }
.guru-inner .guru-card .guru-avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; border: 3px solid #e0e0e0; }
.guru-inner .guru-card .guru-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guru-inner .guru-card h4 { font-size: 14px; font-weight: 800; color: #0a1a2a; margin-bottom: 4px; }
.guru-inner .guru-card .guru-mapel { font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.guru-inner .guru-card .guru-socials { display: flex; justify-content: center; gap: 8px; }
.guru-inner .guru-card .guru-socials a {
  width: 26px; height: 26px; border: 1.5px solid #ccc; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #666; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.guru-inner .guru-card .guru-socials a:hover { background: #0d92f4; color: #fff; border-color: #0d92f4; }

@media (max-width: 1100px) { .guru-inner .guru-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (max-width: 900px)  { .guru-inner .guru-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 600px)  { .guru-inner { padding: 0 20px; } .guru-inner .guru-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .guru-inner .guru-card .guru-avatar { width: 90px; height: 90px; } }


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Mitra / Brand Logos
═══════════════════════════════════════════════════════════════ */
.mitra-section { background: #f5f5f5; padding: 40px 0; border-top: 1px solid #e0e0e0; }
.mitra-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 30px;
}
.mitra-logo { opacity: 0.65; transition: opacity .2s; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.mitra-logo:hover { opacity: 1; }
.mitra-logo img { height: 44px; object-fit: contain; }
.mitra-logo span { font-size: 14px; font-weight: 700; color: #333; }

@media (max-width: 600px) { .mitra-inner { padding: 0 20px; gap: 18px; } .mitra-logo img { height: 32px; } }


/* ═══════════════════════════════════════════════════════════════
   BERITA LIST PAGE
═══════════════════════════════════════════════════════════════ */
.berita-wrap {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px 72px;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 40px; align-items: start;
}
.articles-grid { display: grid; gap: 24px; }

.article-card {
  background: var(--white); border-radius: 4px;
  overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.07);
  display: grid; grid-template-columns: 280px 1fr;
  transition: transform .3s, box-shadow .3s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(10,117,195,.15); }

.article-thumb { position: relative; overflow: hidden; flex-shrink: 0; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.article-card:hover .article-thumb img { transform: scale(1.06); }
.article-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--yellow-dk); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 4px;
}

.article-body { padding: 24px 28px; display: flex; flex-direction: column; justify-content: space-between; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.article-date  { font-size: 11.5px; font-weight: 700; color: var(--blue-dk); display: flex; align-items: center; gap: 5px; }
.article-date i  { font-size: 10px; }
.article-author  { font-size: 11.5px; font-weight: 600; color: var(--gray); display: flex; align-items: center; gap: 5px; }
.article-author i { font-size: 10px; }

.article-title { font-size: 16px; font-weight: 800; color: var(--dark); line-height: 1.45; margin-bottom: 10px; transition: color .2s; }
.article-card:hover .article-title { color: var(--blue-dk); }
.article-excerpt {
  font-size: 13px; color: var(--gray); line-height: 1.75; font-weight: 500;
  margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.article-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.article-tag { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 4px; background: #eef7fd; color: var(--blue-dk); letter-spacing: 0.3px; }

.btn-read {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 20px; background: var(--blue-dk); color: #fff;
  font-family: var(--font); font-size: 12px; font-weight: 700;
  border-radius: 6px; text-decoration: none; letter-spacing: 0.3px;
  transition: background .2s, transform .15s; white-space: nowrap;
}
.btn-read:hover { background: var(--blue); transform: translateY(-1px); }
.btn-read i { font-size: 11px; }

/* Pagination */
.pagination { display: flex; justify-content: flex-start; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 2px solid #e2e8f0; background: var(--white);
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: var(--gray); cursor: pointer; transition: all .2s;
}
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.active { background: var(--blue-dk); border-color: var(--blue-dk); color: #fff; box-shadow: 0 3px 10px rgba(10,117,195,.28); }

@media (max-width: 960px) { .berita-wrap { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .article-card { grid-template-columns: 1fr; }
  .article-thumb { height: 200px; }
  .article-body { padding: 18px 20px; }
}
@media (max-width: 480px) { .berita-wrap { padding: 28px 16px 56px; } }


/* ═══════════════════════════════════════════════════════════════
   SIDEBAR WIDGETS — shared: Berita List + Berita Detail
═══════════════════════════════════════════════════════════════ */
.widget-head {
  background: var(--blue-dk); color: #fff;
  padding: 14px 20px; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; gap: 9px; letter-spacing: 0.3px;
}
.widget-head i { font-size: 14px; color: var(--yellow); }
.widget-body { padding: 16px 0px; }

.cat-list { list-style: none; }
.cat-list li { border-bottom: 1px solid #f0f4f8; }
.cat-list li:last-child { border-bottom: none; }
.cat-list li a { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-size: 13px; font-weight: 600; color: var(--dark); text-decoration: none; transition: color .2s; }
.cat-list li a:hover { color: var(--blue-dk); }
.cat-list li a .cat-count,
.cat-count { background: #eef7fd; color: var(--blue-dk); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 20px; }

.recent-list { display: flex; flex-direction: column; gap: 14px; }
.recent-item { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: start; }
.recent-thumb { width: 70px; height: 55px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-date  { font-size: 10.5px; font-weight: 700; color: var(--blue-dk); margin-bottom: 4px; }
.recent-title { font-size: 12px; font-weight: 700; color: var(--dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-title a { color: inherit; text-decoration: none; transition: color .2s; }
.recent-title a:hover { color: var(--blue-dk); }

.tags-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tags-cloud a { font-size: 11.5px; font-weight: 700; padding: 5px 13px; border-radius: 4px; border: 2px solid #e2e8f0; color: var(--gray); text-decoration: none; transition: all .2s; }
.tags-cloud a:hover { background: var(--blue-dk); border-color: var(--blue-dk); color: #fff; }


/* ═══════════════════════════════════════════════════════════════
   BERITA DETAIL PAGE
═══════════════════════════════════════════════════════════════ */
.detail-wrap {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px 72px;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 40px; align-items: start;
}
.pages-wrap {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px 72px;
}
.article-hero { position: relative; overflow: hidden; }
.article-hero img { width: 100%; max-height: max-content; object-fit: cover; display: block; }
.article-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,117,195,0.85) 0%, transparent 100%);
  padding: 32px 32px 24px;
}
.article-cat-badge { display: inline-block; background: var(--yellow-dk); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 4px 14px; border-radius: 4px; margin-bottom: 12px; }
.article-headline { font-size: 22px; font-weight: 800; color: #fff; line-height: 1.4; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }

.article-content { padding: 3px; margin-top: 5px; }
.article-meta-bar {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 16px 20px; background: #f0f8ff; border-radius: 8px;
  margin-bottom: 28px; border-left: 4px solid var(--blue-dk);
}
.meta-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--gray); }
.meta-item i { color: var(--blue-dk); font-size: 13px; }
.meta-item strong { color: var(--dark); }

.article-body { font-size: 14px; line-height: 1.9; color: #374151; font-weight: 500; }
.article-body p { margin-bottom: 18px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body blockquote { border-left: 4px solid var(--blue-dk); background: #eef7fd; padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 20px 0; font-style: italic; color: var(--dark); font-weight: 600; }

.article-tags-bar { margin-top: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tags-label { font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--gray); }
.tags-list { display: flex; gap: 7px; flex-wrap: wrap; }
.tag-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #dce6f0;
  background: #f8fafd;
  color: #2d4a6b;
  cursor: pointer;
  font-family: 'Segoe UI', sans-serif;
  transition: all 0.2s ease;
}

.tag-link:hover       { transform: translateY(-1px); }

.tag-link--wa         { border-color: #25d366; color: #128c3e; background: #f0fdf4; }
.tag-link--wa:hover   { background: #25d366; color: #fff; }

.tag-link--fb         { border-color: #1877f2; color: #1877f2; background: #eff6ff; }
.tag-link--fb:hover   { background: #1877f2; color: #fff; }

.tag-link--x          { border-color: #000; color: #000; background: #f8f8f8; }
.tag-link--x:hover    { background: #000; color: #fff; }

.tag-link--tg         { border-color: #229ed9; color: #229ed9; background: #eff8fd; }
.tag-link--tg:hover   { background: #229ed9; color: #fff; }

.tag-link--copy       { border-color: #dce6f0; color: #7a9ab5; background: #f8fafd; }
.tag-link--copy:hover { background: #f5a623; border-color: #f5a623; color: #fff; }
.tag-link--copy.copied { background: #22c55e; border-color: #22c55e; color: #fff; }

/* Comment Form */
.comment-section { margin-top: 32px; padding-top: 28px; border-top: 1px solid #e5eaf0; }
.section-heading { font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 20px; display: flex; align-items: center; gap: 9px; }
.section-heading i { color: var(--blue-dk); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group-c { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group-c label { font-size: 11.5px; font-weight: 700; color: var(--gray); }
.form-ctrl {
  width: 100%; padding: 11px 15px;
  border: 2px solid #e2e8f0; border-radius: 8px;
  font-family: var(--font); font-size: 13px; font-weight: 500;
  color: var(--dark); background: var(--white); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-ctrl:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,146,244,.12); }
.form-ctrl::placeholder { color: #b0bac7; }
textarea.form-ctrl { resize: vertical; min-height: 110px; }
.captcha-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.captcha-badge { background: var(--blue-dk); color: #fff; padding: 11px 18px; border-radius: 8px; font-size: 15px; font-weight: 800; letter-spacing: 2px; user-select: none; white-space: nowrap; }
.btn-kirim {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow-dk); color: #fff;
  font-family: var(--font); font-size: 13px; font-weight: 800;
  padding: 12px 28px; border: none; border-radius: 8px; cursor: pointer;
  letter-spacing: 0.3px; transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(240,147,25,0.3);
}
.btn-kirim:hover { background: var(--blue-dk); transform: translateY(-2px); }

@media (max-width: 960px) { .detail-wrap { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .article-headline { font-size: 18px; }
  .article-content  { padding: 22px 18px; }
  .article-hero img { max-height: 280px; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .detail-wrap { padding: 28px 16px 56px; } }


/* ═══════════════════════════════════════════════════════════════
   VISI & MISI PAGE
═══════════════════════════════════════════════════════════════ */
.vm-wrap { max-width: 1100px; margin: 0 auto; padding: 56px 24px 80px; }
.vm-section-title {
  font-size: 13px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue-dk);
  margin-bottom: 6px; display: flex; align-items: center; gap: 8px;
}
.vm-section-title::before { content: ""; display: inline-block; width: 24px; height: 3px; background: var(--yellow-dk); border-radius: 2px; }

.vm-layout { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }

.vm-heading { font-size: 28px; font-weight: 800; color: var(--dark); margin-bottom: 28px; line-height: 1.25; }
.vm-heading span { color: var(--blue-dk); }

.visi-block { margin-bottom: 36px; }
.block-label { font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.visi-text {
  display: inline-block; font-size: 22px; font-weight: 800; color: var(--blue-dk);
  padding: 10px 22px; border-left: 4px solid var(--yellow-dk);
  background: linear-gradient(90deg, rgba(13,146,244,0.07), transparent);
  border-radius: 0 8px 8px 0; line-height: 1.35;
}

.misi-block { }
.misi-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.misi-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; font-weight: 500; color: #374151; line-height: 1.75; }
.misi-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-dk); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 3px; }

.vm-img-wrap { position: relative; }
.vm-img-wrap img { width: 100%; border-radius: 4px; box-shadow: 0 8px 32px rgba(10,117,195,.18); display: block; }
.vm-img-wrap::before { content: ""; position: absolute; top: -12px; left: -12px; right: 12px; bottom: 12px; border: 3px solid var(--yellow); border-radius: 14px; z-index: -1; }
.vm-img-wrap::after  { content: ""; position: absolute; bottom: -10px; right: -10px; width: 80px; height: 80px; background: var(--blue-dk); border-radius: 50%; z-index: -1; opacity: 0.15; }

@media (max-width: 960px) {
  .vm-layout { grid-template-columns: 1fr; gap: 36px; }
  .vm-img-wrap { max-width: 500px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .vm-wrap { padding: 36px 16px 60px; }
  .vm-heading { font-size: 22px; }
  .visi-text { font-size: 17px; padding: 8px 16px; }
  .vm-img-wrap::before { display: none; }
}

/* =============================================
   SCOPED: SDN Sudirman — Grid Guru
   Wrapper: .guru-wrap
   ============================================= */

.guru-wrap {
  font-family: 'Segoe UI', sans-serif;
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 24px;
}

/* Grid */
.guru-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card */
.guru-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.guru-item:hover .guru-card {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(26, 58, 92, 0.1);
  border-color: #f5a623;
}

.guru-item:hover .guru-card::before {
  transform: scaleX(1);
}

/* Photo */
/* Photo */
.guru-photo-wrap {
  width: 120px;       /* was 90px */
  height: 120px;      /* was 90px */
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f5a623;  /* was 3px */
  margin-bottom: 16px;
  flex-shrink: 0;
  background: #f0f4f8;
  transition: border-color 0.2s;
}

.guru-item:hover .guru-photo-wrap {
  border-color: #1a3a5c;
}

.guru-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.35s ease;
}

.guru-item:hover .guru-photo {
  transform: scale(1.08);
}

/* Name */
.guru-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1.4;
  margin-bottom: 5px;
      text-decoration: none;
}

/* Jabatan */
.guru-mapel {
  font-size: 11px;
  font-weight: 600;
  color: #f5a623;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fff8ec;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

/* Divider */
.guru-divider {
  width: 32px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  margin: 0 auto 14px;
  transition: background 0.2s, width 0.2s;
}

.guru-item:hover .guru-divider {
  background: #f5a623;
  width: 48px;
}

/* Socials */
.guru-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.guru-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #dce6f0;
  background: #f8fafd;
  color: #7a9ab5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.guru-socials a:hover {
  border-color: #f5a623;
  background: #f5a623;
  color: #fff;
  transform: translateY(-2px);
}

/* Facebook specific */
.guru-socials a:has(.fa-facebook-f):hover {
  background: #1877f2;
  border-color: #1877f2;
}

/* Instagram specific */
.guru-socials a:has(.fa-instagram):hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743;
}

/* Pagination scoped */
.guru-wrap .text-center.row {
  margin: 0;
}

.guru-wrap .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
  flex-wrap: wrap;
}

.guru-wrap .page-item .page-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  border: 1.5px solid #dce6f0;
  background: #fff;
  color: #2d4a6b;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0;
  box-shadow: none;
}

.guru-wrap .page-item .page-link:hover {
  border-color: #f5a623;
  color: #f5a623;
  background: #fff8ec;
  box-shadow: none;
}

.guru-wrap .page-item.active .page-link {
  background: #f5a623 !important;
  border-color: #f5a623 !important;
  color: #fff !important;
  pointer-events: none;
}

.guru-wrap .page-item .page-link[href="#"] {
  opacity: 0.35;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .guru-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .guru-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .guru-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .guru-photo-wrap { width: 72px; height: 72px; }
  .guru-name { font-size: 12px; }
}

/* =============================================
   SCOPED: SDN Sudirman — Detail Guru
   Wrapper: .sdn-guru-detail
   ============================================= */

/* Main card */
.sdn-guru-detail__card {
  background: #fff;
  
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* LEFT: foto panel */
.sdn-guru-detail__left {
  width: 320px;          /* was 280px */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 28px;
  gap: 16px;
}

.sdn-guru-detail__photo {
  width: 240px;          /* 3 bagian */
  height: 320px;         /* 4 bagian */
  border-radius: 4px;   /* was 50% — biar pas sama proporsi 3x4 */
  object-fit: cover;
  object-position: top;
  border: 4px solid #f5a623;
  background: #2d4a6b;
  display: block;
}

/* Efek hover foto */
.sdn-guru-detail__photo {
  transition: transform 0.3s ease, border-color 0.2s;
}

.sdn-guru-detail__card:hover .sdn-guru-detail__photo {
  border-color: #fff;
}

.sdn-guru-detail__left-name {
  color: #1a3a5c;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

.sdn-guru-detail__left-jabatan {
  background: #f5a623;
  color: #7a3d00;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sdn-guru-detail__socials {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.sdn-guru-detail__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.sdn-guru-detail__socials a:hover {
  background: #f5a623;
  border-color: #f5a623;
  color: #fff;
  transform: translateY(-2px);
}

/* RIGHT: info panel */
.sdn-guru-detail__right {
  flex: 1;
  padding: 32px;
}

.sdn-guru-detail__heading {
  font-size: 17px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sdn-guru-detail__heading::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: #f5a623;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Info table */
.sdn-guru-detail__table {
  width: 100%;
  border-collapse: collapse;
}

.sdn-guru-detail__table tr {
  border-bottom: 1px solid #f0f4f8;
  transition: background 0.15s;
}

.sdn-guru-detail__table tr:last-child {
  border-bottom: none;
}

.sdn-guru-detail__table tr:hover {
  background: #fdfaf4;
}

.sdn-guru-detail__table td {
  padding: 11px 12px;
  font-size: 13px;
  vertical-align: middle;
}

/* Label */
.sdn-guru-detail__table td:first-child {
  color: #7a9ab5;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 160px;
  white-space: nowrap;
}

/* Titik dua */
.sdn-guru-detail__table td:nth-child(2) {
  color: #a0b4c8;
  width: 16px;
  text-align: center;
}

/* Value */
.sdn-guru-detail__table td:last-child {
  color: #2d4a6b;
  font-weight: 500;
}

/* Kosong */
.sdn-guru-detail__table td:last-child:empty::after {
  content: '—';
  color: #d0dce8;
}

/* Badge pendidikan */
.sdn-guru-detail__badge {
  display: inline-block;
  background: #fff8ec;
  color: #d4870a;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #f5c97a;
}

/* Responsive */
@media (max-width: 640px) {
  .sdn-guru-detail__card { flex-direction: column; }
  .sdn-guru-detail__left { width: 100%; padding: 28px 24px; }
  .sdn-guru-detail__photo {
    width: 180px;     /* skala lebih kecil di mobile */
    height: 240px;
  }
  .sdn-guru-detail__right { padding: 24px 20px; }
  .sdn-guru-detail__table td:first-child { width: 120px; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer { background: #111827; color: var(--white); font-family: var(--font); padding: 48px 0 0; }

.footer-top { max-width: 900px; margin: 0 auto; padding: 0 32px 40px; background: transparent; text-align: center; }
.footer-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.footer-logo-shield {
  background: linear-gradient(135deg, var(--blue), var(--blue-dk));
  width: 58px; height: 68px;
  clip-path: polygon(50% 0%, 100% 15%, 100% 75%, 50% 100%, 0% 75%, 0% 15%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
.footer-logo-shield::after {
  content: ''; position: absolute; inset: 4px;
  clip-path: polygon(50% 0%, 100% 15%, 100% 75%, 50% 100%, 0% 75%, 0% 15%);
  background: var(--yellow); opacity: 0.22;
}
.footer-logo-shield span { color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: 0.5px; z-index: 1; }
.footer-logo-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-logo-name { font-size: 15px; font-weight: 800; color: var(--yellow); letter-spacing: 0.3px; line-height: 1.2; }
.footer-logo-sub { font-size: 10px; font-weight: 700; color: #111827; background: var(--yellow); padding: 2px 8px; border-radius: 2px; letter-spacing: 0.5px; }
.footer-desc { font-size: 13.5px; line-height: 1.85; color: var(--muted); font-weight: 400; max-width: 820px; margin: 0 auto; }

.footer-divider { height: 1px; background: rgba(255,255,255,0.08); max-width: 1100px; margin: 0 auto; }

.footer-mid {
  max-width: 1100px; margin: 0 auto; padding: 40px 32px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; text-align: center;
}
.footer-contact-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact-icon {
  width: 52px; height: 52px;
  background: var(--yellow); border: 2px solid var(--yellow);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--yellow-dr); transition: background .2s, border-color .2s, color .2s;
}
.footer-contact-item:hover .contact-icon { background: var(--yellow-dr); color: var(--white); border-color: var(--yellow); }
.contact-info p { font-size: 13.5px; font-weight: 500; color: var(--muted); line-height: 1.7; transition: color .2s; }
.footer-contact-item:hover .contact-info p { color: rgba(255,255,255,0.85); }

.footer-bottom { background: rgba(0,0,0,0.30); padding: 24px 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 42px; height: 42px; background: var(--yellow); color: #111827;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(255,227,26,0.25);
}
.footer-socials a:hover { background: var(--yellow-dr); color: var(--white); transform: translateY(-3px); box-shadow: 0 6px 18px var(--yellow-dr); }
.footer-copy { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.40); letter-spacing: 0.2px; text-align: center; }

@media (max-width: 768px) {
  .footer-top   { padding: 0 20px 32px; }
  .footer-logo  { flex-direction: column; text-align: center; gap: 10px; }
  .footer-logo-text { align-items: center; }
  .footer-desc  { font-size: 13px; }
  .footer-mid   { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px; }
  .footer-bottom { padding: 20px 16px; }
}
@media (max-width: 480px) {
  .footer-logo-name { font-size: 13px; }
  .footer-socials a  { width: 38px; height: 38px; font-size: 14px; }
  .footer-desc       { font-size: 12px; }
}

/* ============================================
   SCOPED: Berita Terbaru List Links
   Gunakan class .sdn-berita-terbaru__list
   pada elemen <ul> di halaman Berita Terbaru
   ============================================ */

.sdn-berita-terbaru__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sdn-berita-terbaru__list li {
  display: flex;
  align-items: stretch;
}

.sdn-berita-terbaru__list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  width: 100%;
  color: #1a3a5c;
  text-decoration: none;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 500;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--yellow-dk); /* kuning sesuai tema sekolah */
  border-radius: 0 6px 6px 0;
  transition: background-color 0.2s ease, border-left-color 0.2s ease, 
              color 0.2s ease, transform 0.15s ease;
  line-height: 1.4;
}

.sdn-berita-terbaru__list li a::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--yellow-dk);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sdn-berita-terbaru__list li a:hover {
  background-color: #fff8ec;
  border-left-color: #d4870a;
  color: #0f2740;
  transform: translateX(3px);
}

.sdn-berita-terbaru__list li a:hover::before {
  background-color: #d4870a;
  transform: scale(1.3);
}

.sdn-berita-terbaru__list li a:active {
  background-color: #fef0d0;
}

/* =============================================
   SCOPED: SDN Sudirman — Halaman Kontak
   ============================================= */

/* Map */
.sdn-kontak-page__map {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #dde4ed;
  margin-bottom: 28px;
  height: 220px;
}

.sdn-kontak-page__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Two-column layout */
.sdn-kontak-page__cols {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  align-items: start;
}

/* LEFT: Info Card */
.sdn-kontak__info-card {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.sdn-kontak__info-card-header {
  background: var(--yellow-dk);
  padding: 16px 20px;
}

.sdn-kontak__info-card-header p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.sdn-kontak__info-card-header span {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}

.sdn-kontak__info-body {
  padding: 4px 0;
}

.sdn-kontak__info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f4f8;
  transition: background 0.15s;
}

.sdn-kontak__info-item:last-child { border-bottom: none; }
.sdn-kontak__info-item:hover { background: #fdfaf4; }

.sdn-kontak__info-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff8ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sdn-kontak__info-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--yellow-dk);
}

.sdn-kontak__info-text-label {
  font-size: 11px;
  font-weight: 600;
  color: #a0b4c8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 3px;
}

.sdn-kontak__info-text-value {
  font-size: 13px;
  color: #2d4a6b;
  line-height: 1.5;
  margin: 0;
}

.sdn-kontak__info-text-value a {
  color: #1a6fb5;
  text-decoration: none;
  border-bottom: 1px dashed #1a6fb5;
  transition: color 0.2s, border-color 0.2s;
}

.sdn-kontak__info-text-value a:hover {
  color: #d4870a;
  border-color: #d4870a;
}

/* RIGHT: Form Card */
.sdn-kontak__form-card {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.sdn-kontak__form-card-header {
  background: #1a3a5c;
  padding: 16px 24px;
}

.sdn-kontak__form-card-header p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.sdn-kontak__form-card-header span {
  font-size: 12px;
  color: #7aadce;
  font-weight: 400;
}

.sdn-kontak__form-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sdn-kontak__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sdn-kontak__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sdn-kontak__field label {
  font-size: 12px;
  font-weight: 600;
  color: #4a6a8a;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sdn-kontak__field label em {
  color: #e24b4a;
  font-style: normal;
  margin-left: 2px;
}

.sdn-kontak__field input,
.sdn-kontak__field textarea {
  padding: 10px 13px;
  border: 1.5px solid #dce6f0;
  border-radius: 7px;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  color: #1a3a5c;
  background: #f8fafd;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
  width: 100%;
}

.sdn-kontak__field input:focus,
.sdn-kontak__field textarea:focus {
  border-color: var(--yellow-dk);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}

.sdn-kontak__field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.sdn-kontak__form-actions {
  display: flex;
  gap: 10px;
  padding-top: 4px;
}

.sdn-kontak__btn-send {
  flex: 1;
  padding: 11px 20px;
  background: var(--yellow-dk);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Segoe UI', sans-serif;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}

.sdn-kontak__btn-send:hover { background: #d4870a; transform: translateY(-1px); }
.sdn-kontak__btn-send:active { transform: translateY(0); }

.sdn-kontak__btn-close {
  padding: 11px 18px;
  background: transparent;
  color: #7a9ab5;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Segoe UI', sans-serif;
  border: 1.5px solid #dce6f0;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
}

.sdn-kontak__btn-close:hover {
  background: #f0f4f8;
  color: #1a3a5c;
  border-color: #b0c4d8;
}

.sdn-kontak__sosmed-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sdn-kontak__sosmed-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
  color: #2d4a6b;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid #f0f4f8;
  transition: color 0.2s, padding-left 0.2s;
}

.sdn-kontak__sosmed-link:last-child { border-bottom: none; }

.sdn-kontak__sosmed-link:hover {
  color: var(--yellow-dk);
  padding-left: 4px;
}

.sdn-kontak__sosmed-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .sdn-kontak-page__cols { grid-template-columns: 1fr; }
  .sdn-kontak__form-row { grid-template-columns: 1fr; }
}


/* Grid */
.sdn-galeri__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card */
.sdn-galeri__item {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sdn-galeri__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 58, 92, 0.1);
  border-color: var(--yellow-dk);
}

/* Thumbnail */
.sdn-galeri__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f4f8;
  position: relative;
}

.sdn-galeri__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sdn-galeri__item:hover .sdn-galeri__thumb img {
  transform: scale(1.06);
}

/* Overlay badge on hover */
.sdn-galeri__thumb::after {
  content: '🔍 Lihat';
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0.45);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sdn-galeri__item:hover .sdn-galeri__thumb::after {
  opacity: 1;
}

/* Caption */
.sdn-galeri__caption {
  padding: 12px 14px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s ease;
}

.sdn-galeri__item:hover .sdn-galeri__caption {
  border-color: var(--yellow-dk);
}

.sdn-galeri__caption p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #1a3a5c;
  line-height: 1.4;
  text-transform: capitalize;
}

/* Responsive */
@media (max-width: 768px) {
  .sdn-galeri__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .sdn-galeri__grid { grid-template-columns: 1fr; }
}

/* =============================================
   SCOPED: Pagination — hanya dalam .sdn-galeri
   ============================================= */

.line {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 32px 0 24px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}

.page-item .page-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  border: 1.5px solid #dce6f0;
  background: #fff;
  color: #2d4a6b;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
  box-shadow: none;
}

.page-item .page-link:hover {
  border-color: var(--yellow-dk);
  color: var(--yellow-dk);
  background: #fff8ec;
  box-shadow: none;
}

/* Active page */
.page-item.active .page-link {
  background: var(--yellow-dk) !important;
  border-color: var(--yellow-dk) !important;
  color: #fff !important;
  opacity: 1 !important;
  pointer-events: none;
  box-shadow: none;
}

/* Disabled (href="#") */
.page-item .page-link[href="#"] {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

/* Arrow buttons (« ») — sedikit lebih lebar */
.page-item:first-child .page-link,
.page-item:nth-child(2) .page-link,
.page-item:nth-last-child(1) .page-link,
.page-item:nth-last-child(2) .page-link {
  color: #7a9ab5;
  font-size: 15px;
}

.page-item:first-child .page-link:hover,
.page-item:nth-child(2) .page-link:hover,
.page-item:nth-last-child(1) .page-link:hover,
.page-item:nth-last-child(2) .page-link:hover {
  color: var(--yellow-dk);
}

/* Center wrapper */
.text-center.row {
  margin: 0;
}

/* =============================================
   SCOPED: SDN Sudirman — Tabel E-Book
   Target: table.table-responsive table
   ============================================= */

.table-responsive:has(.table-responsive table) {
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  margin: 32px 0;
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  margin: 0 !important;
}

/* Header */
.table-responsive table thead tr {
  background: #1a3a5c;
}

.table-responsive table thead th {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 18px;
  border: none !important;
  white-space: nowrap;
}

.table-responsive table thead th:first-child {
  width: 60px;
  text-align: center;
}

.table-responsive table thead th:last-child {
  width: 120px;
  text-align: center;
}

/* Body rows */
.table-responsive table tbody tr {
  border-bottom: 1px solid #f0f4f8;
  transition: background 0.15s ease;
}

.table-responsive table tbody tr:last-child {
  border-bottom: none;
}

/* Override Bootstrap stripe */
.table-responsive table.table-striped tbody tr:nth-of-type(odd) {
  background: #f9fbfd;
}

.table-responsive table.table-striped tbody tr:nth-of-type(even) {
  background: #ffffff;
}

.table-responsive table tbody tr:hover {
  background: #fff8ec !important;
}

/* Cells */
.table-responsive table tbody td {
  padding: 12px 18px;
  color: #2d4a6b;
  border: none !important;
  vertical-align: middle;
}

.table-responsive table tbody td:first-child {
  text-align: center;
  font-weight: 600;
  color: #a0b4c8;
  font-size: 12px;
  width: 60px;
}

/* Download button */
.table-responsive table tbody td a[download] {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: #fff8ec;
  color: #d4870a;
  border: 1.5px solid #f5a623;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.table-responsive table tbody td a[download]::before {
  content: '↓';
  font-size: 14px;
  font-weight: 700;
}

.table-responsive table tbody td a[download]:hover {
  background: #f5a623;
  color: #fff;
  transform: translateY(-1px);
}

.table-responsive table tbody td a[download]:active {
  transform: translateY(0);
}

/* Empty cell (judul kosong) */
.table-responsive table tbody td:empty::after {
  content: '—';
  color: #c8d8e8;
  font-size: 13px;
}

/* =============================================
   SCOPED: SDN Sudirman — Toolbar E-Book
   ============================================= */

.sdn-ebook__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 12px;
  flex-wrap: wrap;
}

.sdn-ebook__search-wrap {
  position: relative;
  flex: 1;
  max-width: 360px;
}

.sdn-ebook__search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #a0b4c8;
  pointer-events: none;
}

.sdn-ebook__search-wrap input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid #dce6f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  color: #1a3a5c;
  background: #f8fafd;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.sdn-ebook__search-wrap input:focus {
  border-color: #f5a623;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}

.sdn-ebook__info {
  font-size: 13px;
  color: #7a9ab5;
  white-space: nowrap;
}

.sdn-ebook__info span {
  font-weight: 700;
  color: #1a3a5c;
}

/* No result row */
#ebookNoResult {
  display: none;
  text-align: center;
  padding: 32px;
  color: #a0b4c8;
  font-size: 14px;
  font-style: italic;
}

/* =============================================
   SCOPED: SDN Sudirman — Kalender Pendidikan
   Wrapper: .calendar-wrapper
   ============================================= */

.calendar-wrapper {
  font-family: 'Segoe UI', sans-serif;
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 24px;
}

/* Judul tahun */
.calendar-wrapper h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-wrapper h2::before {
  content: '';
  display: block;
  width: 5px;
  height: 24px;
  background: #f5a623;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Nama bulan */
.calendar-wrapper h5 {
  font-size: 15px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 10px;
  padding-left: 4px;
  border-left: 3px solid #f5a623;
  padding-left: 10px;
  line-height: 1;
}

/* HR divider */
.calendar-wrapper hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 20px 0 24px;
}

/* Row layout */
.calendar-wrapper .row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 0 4px;
}

.calendar-wrapper .col-md-5 {
  flex: 0 0 auto;
  width: 420px;
}

.calendar-wrapper .col-md-7 {
  flex: 1;
  min-width: 200px;
}

/* Tabel kalender */
.calendar-wrapper #kalender,
.calendar-wrapper table.table-bordered {
  width: 100% !important;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  border: none !important;
  font-size: 13px;
}

/* Header hari */
.calendar-wrapper table th {
  background: #1a3a5c !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 10px 4px;
  border: none !important;
  letter-spacing: 0.03em;
}

/* Minggu — kolom pertama header merah */
.calendar-wrapper table th#minggu,
.calendar-wrapper table th:first-child {
  background: #c0392b !important;
}

/* Cells */
.calendar-wrapper table td {
  text-align: center;
  padding: 9px 4px;
  font-size: 13px;
  color: #2d4a6b;
  border: 1px solid #edf2f7 !important;
  background: #fff;
  transition: background 0.15s;
  min-width: 40px;
}

/* Kolom Minggu (td pertama tiap baris) merah */
.calendar-wrapper table td:first-child {
  color: #c0392b;
  font-weight: 600;
  background: #fef5f5;
}

/* Kolom Sabtu (td terakhir) biru muda */
.calendar-wrapper table td:last-child {
  color: #1a6fb5;
  background: #f0f6fd;
}

/* Hover */
.calendar-wrapper table td:not(:empty):hover {
  background: #fff8ec !important;
  color: #d4870a;
  cursor: default;
}

/* Hari ini highlight */
.calendar-wrapper table td.today {
  background: #f5a623 !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 4px;
}

/* Kegiatan bulan */
.calendar-wrapper .col-md-7 h6 {
  font-size: 12px;
  font-weight: 700;
  color: #a0b4c8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 10px;
}

.calendar-wrapper ul[style*="list-style:square"] {
  list-style: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calendar-wrapper ul[style*="list-style:square"] li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #2d4a6b;
  padding: 8px 12px;
  background: #f8fafd;
  border-radius: 6px;
  border-left: 3px solid #f5a623;
  line-height: 1.4;
}

.calendar-wrapper ul[style*="list-style:square"] li::before {
  content: '📅';
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Kosong — tampilkan teks italic */
.calendar-wrapper ul[style*="list-style:square"]:empty::after {
  content: 'Tidak ada kegiatan di bulan ini.';
  font-size: 13px;
  color: #c8d8e8;
  font-style: italic;
  display: block;
  padding: 8px 0;
}

/* Download button */
#downloadBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: #f5a623;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Segoe UI', sans-serif;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  float: right;
  margin-bottom: 16px;
}

#downloadBtn::before {
  content: '↓';
  font-size: 15px;
  font-weight: 700;
}

#downloadBtn:hover {
  background: #d4870a;
  transform: translateY(-1px);
}

#downloadBtn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 640px) {
  .calendar-wrapper .col-md-5 { width: 100%; }
  .calendar-wrapper .row { flex-direction: column; }
  .calendar-wrapper table td,
  .calendar-wrapper table th { padding: 7px 2px; font-size: 12px; }
}