/* ==========================================================================
   Sekolah Pro 2.0 — main.css
   1 Tokens · 2 Base · 3 Header · 4 Hero · 5 Sections · 6 Cards · 7 Pages
   8 Footer · 9 Widgets & forms · 10 Responsive · 11 Motion & print
   ========================================================================== */

/* 1 — Fonts & tokens ----------------------------------------------------- */
@font-face {
  font-family: Inter;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/inter-400.woff) format("woff");
}
@font-face {
  font-family: Inter;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/inter-500.woff) format("woff");
}
@font-face {
  font-family: Inter;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/inter-600.woff) format("woff");
}
@font-face {
  font-family: Poppins;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/poppins-500.woff) format("woff");
}
@font-face {
  font-family: Poppins;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/poppins-700.woff) format("woff");
}

:root {
  --c-primary: #1d4ed8;
  --c-primary-d: #143493;
  --c-primary-dd: #0c1f5c;
  --c-primary-l: #e8eefc;
  --c-primary-rgb: 29, 78, 216;
  --c-accent: #f59e0b;
  --c-accent-d: #d98506;
  --c-accent-rgb: 245, 158, 11;
  --bg: #ffffff;
  --bg-rgb: 255, 255, 255;
  --bg-soft: #f4f7fc;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e3e8f1;
  --ok: #16a34a;
  --wa: #25d366;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
  --sh: 0 6px 24px -6px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.05);
  --sh-lg: 0 24px 60px -16px rgba(15, 23, 42, 0.28);
  --maxw: 1200px;
  --hdr: 72px;
  --f-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --f-head: Poppins, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0a1020;
  --bg-rgb: 10, 16, 32;
  --bg-soft: #0e162b;
  --surface: #131c33;
  --ink: #e9eefb;
  --ink-2: #c3cde0;
  --muted: #8d9ab3;
  --line: #222e49;
  --c-primary-l: rgba(var(--c-primary-rgb), 0.18);
  --sh-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh: 0 8px 28px -8px rgba(0, 0, 0, 0.6);
  --sh-lg: 0 28px 70px -18px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

/* 2 — Base --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 16px);
}
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
video,
iframe,
svg {
  max-width: 100%;
}
img {
  height: auto;
  display: block;
}
a {
  color: var(--c-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
html[data-theme="dark"] a {
  color: color-mix(in srgb, var(--c-primary) 55%, #fff);
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--f-head);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.55em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}
h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: rgba(var(--c-primary-rgb), 0.22);
}
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 300;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
}
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.i {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.14em;
  fill: currentColor;
  flex: none;
}
i.fa-solid,
i.fa-regular,
i.fa-brands {
  line-height: 1;
}
.hide-sm {
  display: inline-flex;
}
.hide-md {
  display: inline-flex;
}
.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
  z-index: 400;
  transition: width 0.1s linear;
}

/* Tombol */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.85em 1.4em;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.62em 1.05em;
  font-size: 0.88rem;
}
.btn-lg {
  padding: 1em 1.7em;
  font-size: 1rem;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff !important;
  box-shadow: 0 8px 20px -8px rgba(var(--c-primary-rgb), 0.7);
}
.btn-primary:hover {
  background: var(--c-primary-d);
}
.btn-accent {
  background: var(--c-accent);
  color: #1a1205 !important;
  box-shadow: 0 8px 20px -8px rgba(var(--c-accent-rgb), 0.8);
}
.btn-accent:hover {
  background: var(--c-accent-d);
}
.btn-ghost-p {
  background: transparent;
  color: var(--c-primary) !important;
  border-color: rgba(var(--c-primary-rgb), 0.28);
}
.btn-ghost-p:hover {
  background: var(--c-primary-l);
  border-color: var(--c-primary);
}
html[data-theme="dark"] .btn-ghost-p {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.26);
}
.btn-outline {
  background: transparent;
  color: var(--c-primary) !important;
  border-color: var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: #fff !important;
}
.btn-wa {
  background: var(--wa);
  color: #fff !important;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.icon-btn:hover {
  background: var(--c-primary-l);
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* Penanda umum */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: var(--c-primary-l);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin-bottom: 0.9em;
}
html[data-theme="dark"] .eyebrow {
  color: color-mix(in srgb, var(--c-primary) 50%, #fff);
}
.eyebrow.light {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}
.meta {
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 0.8em;
}
.badge {
  display: inline-block;
  background: var(--c-accent);
  color: #1a1205;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.35em 0.85em;
  border-radius: 999px;
}
.badge-soft {
  background: var(--c-primary-l);
  color: var(--c-primary);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--c-primary);
  color: #fff;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.38em 0.9em;
  border-radius: 999px;
  text-decoration: none;
}
.chip-soft {
  background: var(--c-primary-l);
  color: var(--c-primary);
}
html[data-theme="dark"] .chip-soft {
  color: color-mix(in srgb, var(--c-primary) 45%, #fff);
}
.chip-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.chip-filter .chip {
  background: var(--surface);
  color: var(--ink-2);
  border-color: var(--line);
}
.chip-filter .chip:hover,
.chip-filter .chip.is-on {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

/* Animasi muncul saat digulir (hanya bila JS aktif) */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* 3 — Header ------------------------------------------------------------- */
.topbar {
  background: var(--c-primary-dd);
  color: #d7e0f7;
  font-size: 0.84rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar a {
  color: #fff;
  text-decoration: none;
}
.topbar a:hover {
  text-decoration: underline;
}
.topbar-info {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
}
.topbar-info li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-info .i {
  color: var(--c-accent);
}
.social {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.social a:hover {
  background: var(--c-accent);
  color: #1a1205;
  transform: translateY(-2px);
  text-decoration: none;
}
.social-top a {
  width: 28px;
  height: 28px;
  font-size: 0.78rem;
}

.site-header {
  background: rgba(var(--bg-rgb), 0.82);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 120;
  transition:
    box-shadow 0.25s,
    background 0.25s;
}
.has-sticky .site-header {
  position: sticky;
  top: 0;
}
.site-header.is-stuck {
  box-shadow: 0 10px 30px -14px rgba(15, 23, 42, 0.28);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--hdr);
}
.brand {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--ink) !important;
  min-width: 0;
}
.brand-logo {
  max-height: 50px;
  width: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d));
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 8px 18px -8px rgba(var(--c-primary-rgb), 0.8);
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-text b {
  font-family: var(--f-head);
  font-size: 1.02rem;
  line-height: 1.2;
  color: inherit;
}
.brand-text small {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.main-nav {
  margin-left: auto;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav li {
  position: relative;
}
.main-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.62em 0.9em;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.93rem;
  transition:
    background 0.2s,
    color 0.2s;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
  background: var(--c-primary-l);
  color: var(--c-primary);
}
html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .main-nav .current-menu-item > a {
  color: #fff;
}
.main-nav .caret {
  font-size: 0.7rem;
  transition: transform 0.25s;
}
.main-nav li:hover > a .caret,
.main-nav li:focus-within > a .caret {
  transform: rotate(180deg);
}
.main-nav .sub-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: 8px;
  margin-top: 8px;
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
  z-index: 10;
}
.main-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.main-nav .sub-menu a {
  border-radius: 10px;
  padding: 0.65em 0.9em;
}
.main-nav .sub-menu .sub-menu {
  left: 100%;
  top: -8px;
  margin: 0 0 0 8px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.theme-toggle .i-sun {
  display: none;
}
html[data-theme="dark"] .theme-toggle .i-sun {
  display: inline-block;
}
html[data-theme="dark"] .theme-toggle .i-moon {
  display: none;
}
.nav-toggle {
  display: none;
}
.nav-toggle .i-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .i-open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .i-close {
  display: inline-block;
}

/* Drawer seluler */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 250;
  visibility: hidden;
}
.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 24, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 90vw);
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 18px 20px 24px;
  overflow-y: auto;
  box-shadow: var(--sh-lg);
}
.drawer.is-open {
  visibility: visible;
}
.drawer.is-open .drawer-scrim {
  opacity: 1;
}
.drawer.is-open .drawer-panel {
  transform: none;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85em 0.6em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
}
.drawer-nav a:hover,
.drawer-nav .current-menu-item > a {
  background: var(--c-primary-l);
  color: var(--c-primary);
}
.drawer-nav .sub-menu {
  padding-left: 14px;
  border-left: 2px solid var(--line);
  margin: 0 0 6px 10px;
}
.drawer-nav .sub-menu a {
  font-weight: 500;
  font-size: 0.95rem;
}
.drawer-nav .caret {
  display: none;
}
.drawer-actions {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.social-drawer {
  margin-top: auto;
}
.social-drawer a {
  background: var(--c-primary-l);
  color: var(--c-primary);
}

/* Pencarian layar penuh */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh 20px 20px;
}
.search-overlay[hidden] {
  display: none;
}
.search-box {
  width: min(720px, 100%);
  animation: pop 0.3s var(--ease);
}
.search-box form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 10px 8px 24px;
  box-shadow: var(--sh-lg);
}
.search-box form > .i {
  font-size: 1.15rem;
  color: var(--muted);
}
.search-box input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.1rem;
  color: var(--ink);
  padding: 0.7em 0;
  min-width: 0;
  outline: none;
}
.search-hint {
  color: #c9d3ea;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 14px;
}
kbd {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 0.1em 0.5em;
  font-family: inherit;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 4 — Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--c-primary-dd) 0%, var(--c-primary-d) 45%, var(--c-primary) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  z-index: -2;
}
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.blob.b1 {
  width: 420px;
  height: 420px;
  background: var(--c-accent);
  right: -80px;
  top: -120px;
  opacity: 0.38;
}
.blob.b2 {
  width: 380px;
  height: 380px;
  background: #7aa2ff;
  left: -120px;
  bottom: -140px;
  animation-delay: -6s;
  opacity: 0.4;
}
.grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 70%);
  mask-image: linear-gradient(115deg, transparent 20%, #000 70%);
}
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(24px, -22px) scale(1.07);
  }
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 150px;
}
.hero-center .hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  padding-top: 96px;
}
.hero-center .hero-copy {
  max-width: 820px;
  margin: 0 auto;
}
.hero-center .hero-actions,
.hero-center .hero-trust {
  justify-content: center;
}
.hero-center .hero-text {
  margin-left: auto;
  margin-right: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.5em 1.05em;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 1.3em;
  backdrop-filter: blur(6px);
}
.hero-badge .i {
  color: var(--c-accent);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 0.5em;
  text-wrap: balance;
}
.hero-text {
  font-size: 1.1rem;
  color: #dbe5ff;
  max-width: 56ch;
  margin-bottom: 1.8em;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 2em 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: #cdd9f7;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.hero-trust .i {
  color: var(--c-accent);
}
.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 460px;
}
.hero-photo {
  position: relative;
  aspect-ratio: 9/10;
  border-radius: 40% 60% 56% 44%/48% 44% 56% 52%;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--sh-lg);
  animation: morph 16s ease-in-out infinite;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes morph {
  0%,
  100% {
    border-radius: 40% 60% 56% 44%/48% 44% 56% 52%;
  }
  50% {
    border-radius: 58% 42% 44% 56%/52% 56% 44% 48%;
  }
}
.hero-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.hero-art .art-main {
  font-size: 9rem;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}
.art-chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  font-size: 1.4rem;
  color: #fff;
  animation: bob 6s ease-in-out infinite;
}
.art-chip.c1 {
  left: 10%;
  top: 16%;
}
.art-chip.c2 {
  right: 12%;
  top: 12%;
  animation-delay: -1.5s;
  color: var(--c-accent);
}
.art-chip.c3 {
  left: 8%;
  bottom: 16%;
  animation-delay: -3s;
}
.art-chip.c4 {
  right: 10%;
  bottom: 20%;
  animation-delay: -4.5s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 18px;
  padding: 12px 18px 12px 12px;
  box-shadow: var(--sh-lg);
  animation: bob 7s ease-in-out infinite;
}
.float-card b {
  display: block;
  font-family: var(--f-head);
  font-size: 1.05rem;
  line-height: 1.2;
}
.float-card small {
  color: var(--muted);
  font-size: 0.78rem;
}
.fc-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--c-primary-l);
  color: var(--c-primary);
  font-size: 1.15rem;
}
.fc-ico.acc {
  background: rgba(var(--c-accent-rgb), 0.18);
  color: var(--c-accent-d);
}
.fc-1 {
  left: -28px;
  bottom: 14%;
}
.fc-2 {
  right: -18px;
  top: 8%;
  animation-delay: -3s;
}

/* Akses cepat */
.quick {
  position: relative;
  z-index: 5;
  margin-top: -92px;
}
.quick-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.quick-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  text-decoration: none;
  box-shadow: var(--sh);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    border-color 0.3s;
  overflow: hidden;
}
.quick-tile::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(var(--c-primary-l), transparent 70%);
  transition: transform 0.4s var(--ease);
}
.quick-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(var(--c-primary-rgb), 0.4);
}
.quick-tile:hover::after {
  transform: scale(1.6);
}
.q-ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d));
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 10px 20px -10px rgba(var(--c-primary-rgb), 0.9);
  position: relative;
  z-index: 1;
}
.quick-grid li:nth-child(even) .q-ico {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-d));
  color: #1a1205;
  box-shadow: 0 10px 20px -10px rgba(var(--c-accent-rgb), 0.9);
}
.q-label {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.q-arrow {
  position: absolute;
  right: 16px;
  top: 18px;
  color: var(--muted);
  transition:
    transform 0.3s,
    color 0.3s;
  z-index: 1;
}
.quick-tile:hover .q-arrow {
  transform: translateX(4px);
  color: var(--c-primary);
}

/* Teks berjalan */
.ticker {
  margin-top: 28px;
}
.ticker .wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--sh-sm);
  max-width: calc(var(--maxw) - 48px);
}
.ticker-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-accent);
  color: #1a1205;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  flex: none;
}
.ticker-view {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-track ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  flex: none;
}
.ticker-track li {
  padding: 0 28px;
  white-space: nowrap;
  font-size: 0.92rem;
  position: relative;
}
.ticker-track li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--c-accent);
}
.ticker-track a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.ticker-track a:hover {
  color: var(--c-primary);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* 5 — Bagian beranda ----------------------------------------------------- */
.section {
  padding: 88px 0;
}
.section.alt {
  background: var(--bg-soft);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
}
.section-head .lead {
  margin: 0.7em 0 0;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.6em 1.1em;
  border-radius: 999px;
  background: var(--c-primary-l);
  color: var(--c-primary);
  white-space: nowrap;
  transition:
    gap 0.25s,
    background 0.2s,
    color 0.2s;
}
.more:hover {
  background: var(--c-primary);
  color: #fff;
  gap: 0.8em;
}
html[data-theme="dark"] .more {
  color: #fff;
}

/* Statistik */
.stats-section {
  padding: 56px 0 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.stat {
  position: relative;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 18px 24px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}
.stat-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--c-primary-l);
  color: var(--c-primary);
  font-size: 1.3rem;
}
.stat b {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--ink);
  line-height: 1.1;
}
.stat > span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Sambutan */
.welcome {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: 56px;
  align-items: center;
}
.welcome-photo {
  position: relative;
}
.welcome-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-d));
  opacity: 0.85;
}
.welcome-photo img,
.welcome-photo .thumb-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sh);
}
.welcome-text {
  position: relative;
}
.quote-mark {
  position: absolute;
  right: 0;
  top: -8px;
  font-size: 4.5rem;
  color: var(--c-primary-l);
  z-index: -1;
}
html[data-theme="dark"] .quote-mark {
  color: rgba(var(--c-primary-rgb), 0.25);
}
.signature {
  display: flex;
  flex-direction: column;
  margin-top: 1.4em;
  padding-left: 16px;
  border-left: 4px solid var(--c-accent);
}
.signature strong {
  color: var(--ink);
  font-family: var(--f-head);
}
.signature span {
  color: var(--muted);
  font-size: 0.88rem;
}
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 56px;
}
.vm-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--sh-sm);
}
.vm-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--c-primary-l);
  color: var(--c-primary);
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.vm-ico.acc {
  background: rgba(var(--c-accent-rgb), 0.18);
  color: var(--c-accent-d);
}
.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list .i {
  color: var(--ok);
  margin-top: 0.32em;
  font-size: 1.05em;
}

/* Keunggulan */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    border-color 0.3s;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--c-primary), var(--c-accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: rgba(var(--c-primary-rgb), 0.3);
}
.feature:hover::before {
  transform: scaleY(1);
}
.f-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--c-primary-l);
  color: var(--c-primary);
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.feature:hover .f-ico {
  background: var(--c-primary);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Video */
.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #000;
  box-shadow: var(--sh-lg);
  cursor: pointer;
}
.video-frame img,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.4));
}
.video-frame.is-playing::after {
  display: none;
}
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 0;
  background: var(--c-accent);
  color: #1a1205;
  font-size: 1.7rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(var(--c-accent-rgb), 0.6);
  animation: pulse 2.2s infinite;
}
.play-btn .i {
  margin-left: 5px;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 24px rgba(var(--c-accent-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--c-accent-rgb), 0);
  }
}

/* Pengumuman & agenda */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--sh-sm);
}
.panel .section-head {
  margin-bottom: 20px;
}
.panel .section-head h2 {
  font-size: 1.45rem;
}
.news-list,
.agenda-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-list li,
.agenda-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.news-list li:last-child,
.agenda-list li:last-child {
  border: 0;
  padding-bottom: 0;
}
.news-list a,
.agenda-list a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.4;
  display: block;
}
.news-list a:hover,
.agenda-list a:hover {
  color: var(--c-primary);
}
.nl-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--c-primary-l);
  color: var(--c-primary);
}
.date-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 60px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--c-primary), var(--c-primary-d));
  color: #fff;
  line-height: 1;
}
.date-tile b {
  font-family: var(--f-head);
  font-size: 1.35rem;
}
.date-tile small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  opacity: 0.9;
}
.date-tile.big {
  width: 84px;
  height: 92px;
  border-radius: 20px;
}
.date-tile.big b {
  font-size: 2rem;
}

/* 6 — Kartu -------------------------------------------------------------- */
.grid-2,
.grid-3,
.grid-4,
.agenda-grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.agenda-grid {
  grid-template-columns: repeat(2, 1fr);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-grid .card-featured {
  grid-column: 1/-1;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    border-color 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: rgba(var(--c-primary-rgb), 0.28);
}
.card .thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  background: var(--c-primary-l);
  overflow: hidden;
}
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .thumb img {
  transform: scale(1.07);
}
.thumb-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(135deg, var(--c-primary-l), rgba(var(--c-accent-rgb), 0.18));
  color: var(--c-primary);
  font-size: 2.6rem;
  opacity: 0.9;
}
.card .thumb .badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  box-shadow: var(--sh-sm);
}
.card .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.card h3 {
  margin: 0.45em 0 0.5em;
  font-size: 1.08rem;
  line-height: 1.4;
}
.card h3 a {
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100%/0 2px no-repeat;
  transition: background-size 0.35s;
}
.card h3 a:hover {
  background-size: 100% 2px;
  color: var(--c-primary);
}
.card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0 0 1em;
}
.read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.read-more .i {
  transition: transform 0.25s;
}
.read-more:hover .i {
  transform: translateX(5px);
}

.news-grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
  min-width: 0;
}
.card-featured {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 21/9;
  min-height: 320px;
  box-shadow: var(--sh);
  isolation: isolate;
}
.card-featured .thumb {
  position: absolute;
  inset: 0;
  display: block;
}
.card-featured .thumb img,
.card-featured .thumb .thumb-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card-featured:hover .thumb img {
  transform: scale(1.05);
}
.card-featured .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(20px, 4vw, 40px);
  background: linear-gradient(180deg, transparent 15%, rgba(8, 14, 32, 0.88));
  color: #fff;
}
.card-featured h3 {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  margin: 0;
  max-width: 30ch;
}
.card-featured h3 a {
  color: #fff;
  text-decoration: none;
}
.card-featured .meta {
  color: #d6def2;
}
.card-featured .badge {
  align-self: flex-start;
}

.card-person {
  text-align: center;
}
.card-person .thumb {
  aspect-ratio: 1/1;
  margin: 20px 20px 0;
  border-radius: 50%;
  width: calc(100% - 40px);
  box-shadow: 0 0 0 6px var(--c-primary-l);
}
.card-person:hover {
  transform: none;
}
.card-person:hover .thumb img {
  transform: none;
}
.card-person .body {
  align-items: center;
}
.card-person .role {
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.9rem;
}
html[data-theme="dark"] .card-person .role {
  color: color-mix(in srgb, var(--c-primary) 45%, #fff);
}
.card-prestasi .medal {
  position: absolute;
  right: 14px;
  bottom: -22px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, var(--c-accent-d));
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px -6px rgba(var(--c-accent-rgb), 0.9);
  border: 3px solid var(--surface);
}
.card-prestasi .thumb {
  overflow: visible;
}
.card-prestasi .thumb img {
  border-radius: 0;
}
.card-prestasi .thumb {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.card-prestasi .thumb > img {
  clip-path: inset(0);
}
.card-ekskul .body,
.card-fasilitas .body {
  position: relative;
}
.card-ekskul .e-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--c-primary-l);
  color: var(--c-primary);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.card-ekskul .thumb + .body .e-ico {
  margin-top: -46px;
  box-shadow: 0 0 0 5px var(--surface);
  background: var(--c-primary);
  color: #fff;
}
.card-fasilitas .thumb .e-ico {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-primary);
  font-size: 1.15rem;
  box-shadow: var(--sh);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
  grid-auto-flow: dense;
}
.g-item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c-primary-l);
}
.g-item:nth-child(7n + 1) {
  grid-row: span 2;
}
.g-item a {
  display: block;
  width: 100%;
  height: 100%;
}
.g-item img,
.g-item .thumb-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.g-item:hover img {
  transform: scale(1.08);
}
.g-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 34px 16px 14px;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  background: linear-gradient(transparent, rgba(8, 14, 32, 0.85));
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}
.g-item:hover .g-cap,
.g-item a:focus-visible .g-cap {
  transform: none;
}

.agenda-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.agenda-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}
.agenda-card.is-past {
  opacity: 0.7;
}
.agenda-card.is-past .date-tile {
  background: var(--muted);
}
.agenda-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.agenda-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.agenda-card h3 a:hover {
  color: var(--c-primary);
}
.agenda-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Testimoni */
.testi-section {
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
}
.testi-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-primary) transparent;
}
.testi {
  flex: 0 0 min(380px, 86%);
  scroll-snap-align: start;
  margin: 0;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--sh-sm);
}
.testi-q {
  position: absolute;
  right: 24px;
  top: 22px;
  font-size: 2.4rem;
  color: var(--c-primary-l);
}
html[data-theme="dark"] .testi-q {
  color: rgba(var(--c-primary-rgb), 0.3);
}
.testi blockquote {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 0.98rem;
  position: relative;
}
.stars {
  color: var(--c-accent);
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.testi figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi figcaption b {
  display: block;
  color: var(--ink);
  font-family: var(--f-head);
  font-size: 0.98rem;
}
.testi figcaption small {
  color: var(--muted);
}
.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-primary-l);
  color: var(--c-primary);
  flex: none;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA PPDB */
.cta-section {
  padding: 40px 0 88px;
}
.cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 56px);
  color: #fff;
  background: linear-gradient(120deg, var(--c-primary-dd), var(--c-primary) 70%, var(--c-primary-d));
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--sh-lg);
}
.cta::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--c-accent);
  opacity: 0.3;
  filter: blur(30px);
  z-index: -1;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.cta h2 {
  color: #fff;
  margin: 0 0 0.4em;
}
.cta p {
  color: #dbe5ff;
  margin: 0;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.countdown {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.cd-box {
  min-width: 68px;
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 10px 8px;
  backdrop-filter: blur(6px);
}
.cd-box b {
  display: block;
  font-family: var(--f-head);
  font-size: 1.6rem;
  line-height: 1.1;
  color: #fff;
}
.cd-box span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cdd9f7;
}

/* Kontak & peta */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: stretch;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-list b {
  display: block;
  color: var(--ink);
  font-family: var(--f-head);
  font-size: 0.95rem;
}
.contact-list a {
  color: var(--ink-2);
  text-decoration: none;
}
.contact-list a:hover {
  color: var(--c-primary);
}
.c-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--c-primary-l);
  color: var(--c-primary);
}
.map-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}
.social-contact a {
  background: var(--c-primary-l);
  color: var(--c-primary);
}

/* 7 — Halaman dalam ------------------------------------------------------ */
.page-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(135deg, var(--c-primary-dd), var(--c-primary-d) 60%, var(--c-primary));
  padding: 44px 0 56px;
}
.page-head .blob.b1 {
  width: 300px;
  height: 300px;
  right: -60px;
  top: -110px;
  opacity: 0.3;
}
.ph-deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.ph-deco .grid-dots {
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
  mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 22px;
  padding: 0;
  font-size: 0.86rem;
  color: #c6d3f3;
}
.crumbs li + li::before {
  content: "/";
  margin: 0 0.7em;
  opacity: 0.55;
}
.crumbs a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}
.crumbs a:hover {
  text-decoration: underline;
}
.ph-title {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ph-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 1.6rem;
  color: var(--c-accent);
  backdrop-filter: blur(6px);
}
.page-head h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
}
.page-head h1 em {
  font-style: normal;
  color: var(--c-accent);
}
.ph-desc {
  margin: 0.5em 0 0;
  color: #d4def6;
  max-width: 62ch;
}
.ph-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 0.9em;
  color: #d4def6;
  font-size: 0.9rem;
}
.ph-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.content {
  padding: 56px 0 88px;
}
.content.with-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: start;
}
.content.full {
  max-width: 1240px;
}
.main-col {
  min-width: 0;
}
.empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}
.empty > .i,
.empty > i {
  font-size: 3rem;
  color: var(--c-primary);
  opacity: 0.5;
  margin-bottom: 12px;
}

/* Isi tulisan */
.entry {
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.85;
}
.entry-cover {
  margin: 0 0 32px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh);
}
.entry-cover img {
  width: 100%;
}
.entry-content > *:last-child,
.entry > *:last-child {
  margin-bottom: 0;
}
.entry h2,
.entry h3,
.entry h4 {
  margin-top: 1.7em;
}
.entry h2 {
  padding-bottom: 0.35em;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.entry h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--c-accent);
}
.entry img {
  border-radius: var(--r);
}
.entry a {
  font-weight: 500;
}
.entry ul,
.entry ol {
  padding-left: 1.4em;
  margin: 0 0 1.2em;
}
.entry li {
  margin: 0.3em 0;
}
.entry li::marker {
  color: var(--c-primary);
}
.entry blockquote {
  margin: 1.8em 0;
  padding: 20px 26px;
  border-left: 5px solid var(--c-accent);
  background: var(--bg-soft);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 1.08rem;
  color: var(--ink);
}
/* Tabel konten: selalu selebar kolom (tidak menyisakan celah) dan hanya punya SATU bingkai.
   JS (main.js) membungkus tiap tabel dengan .sp-tw yang memegang bingkai + scroll horizontal;
   tanpa JS, tabel memakai bingkainya sendiri. */
.entry table {
  display: table;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 1.5em 0;
  border: 1px solid var(--line);
}
.entry .sp-tw {
  margin: 1.5em 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
}
.entry .sp-tw > table {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.entry .sp-tw > table tbody tr:last-child > td,
.entry .sp-tw > table tbody tr:last-child > th {
  border-bottom: 0;
}
.entry th,
.entry td {
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
}
.entry th {
  background: var(--c-primary-l);
  color: var(--ink);
  font-family: var(--f-head);
  font-weight: 500;
}
.entry figure {
  margin: 1.6em 0;
}
.entry figcaption,
.wp-caption-text {
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
  margin-top: 0.6em;
}
.entry pre,
.entry code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  border-radius: 8px;
}
.entry code {
  padding: 0.15em 0.4em;
}
.entry pre {
  padding: 16px;
  overflow-x: auto;
}
.entry hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2em 0;
}
.alignleft {
  float: left;
  margin: 0.3em 1.5em 1em 0;
}
.alignright {
  float: right;
  margin: 0.3em 0 1em 1.5em;
}
.aligncenter {
  display: block;
  margin: 1em auto;
}
.alignwide,
.alignfull {
  max-width: 100%;
}
.sticky .badge {
  display: inline-block;
}
.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 2em 0 1em;
  color: var(--muted);
}
.tags a {
  background: var(--c-primary-l);
  color: var(--c-primary);
  border-radius: 999px;
  padding: 0.25em 0.9em;
  font-size: 0.85rem;
  text-decoration: none;
}
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 2em 0;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
}
.share-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  color: var(--ink);
  margin-right: 6px;
}
.share a,
.share button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  font-size: 1rem;
}
.share a:hover,
.share button:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
}
.share .s-wa {
  background: #25d366;
}
.share .s-fb {
  background: #1877f2;
}
.share .s-x {
  background: #111827;
}
.share .s-tg {
  background: #27a7e7;
}
.share .s-copy {
  background: var(--c-primary);
}
.author-box {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin: 2em 0;
}
.author-box .avatar {
  width: 68px;
  height: 68px;
}
.author-box small {
  color: var(--muted);
  display: block;
}
.author-box b {
  color: var(--ink);
  font-family: var(--f-head);
}
.author-box p {
  margin: 0.3em 0 0;
  font-size: 0.92rem;
}
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2em 0;
}
.post-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.post-nav a:hover {
  border-color: var(--c-primary);
  transform: translateY(-3px);
}
.post-nav small {
  color: var(--muted);
  font-weight: 500;
}
.pn-next {
  text-align: right;
  grid-column: 2;
}
.related {
  margin-top: 3em;
}
.related .grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.profile-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--bg-soft);
  margin-bottom: 32px;
}
.pc-photo {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: 0 0 0 6px var(--c-primary-l);
}
.pc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pc-info h2 {
  border: 0;
  margin: 0 0 0.2em;
  padding: 0;
}
.pc-info h2::after {
  display: none;
}
.role {
  color: var(--c-primary);
  font-weight: 600;
  margin: 0 0 0.3em;
}
.gallery-lightbox {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin: 2em 0;
}
.gallery-lightbox a {
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-lightbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-lightbox a:hover img {
  transform: scale(1.07);
}

/* Pencarian */
.search-big {
  max-width: 640px;
  margin: 0 0 32px;
}
.err-404 .search-big {
  margin: 28px auto;
}
.result-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 0;
}
.result-list li {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.result-list li:hover {
  border-color: rgba(var(--c-primary-rgb), 0.4);
  box-shadow: var(--sh);
}
.r-ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 16px;
  background: var(--c-primary-l);
  color: var(--c-primary);
  font-size: 1.2rem;
}
.result-list h3 {
  margin: 0.4em 0 0.3em;
}
.result-list h3 a {
  color: var(--ink);
  text-decoration: none;
}
.result-list h3 a:hover {
  color: var(--c-primary);
}
.result-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* 404 */
.err-404 {
  position: relative;
  text-align: center;
  padding: 110px 0 120px;
  background: radial-gradient(circle at 50% 0, var(--c-primary-l), transparent 60%);
}
.err-code {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(6rem, 22vw, 13rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 14px 28px rgba(var(--c-primary-rgb), 0.25));
}

/* Komentar */
.comments {
  margin-top: 3em;
}
.comment-list {
  list-style: none;
  margin: 0 0 2em;
}
.comment-list .comment {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.comment-list .children {
  list-style: none;
  margin: 16px 0 0 24px;
  padding-left: 20px;
  border-left: 2px solid var(--line);
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.comment-author img {
  border-radius: 50%;
}
.comment-metadata {
  font-size: 0.8rem;
}
.comment-metadata a {
  color: var(--muted);
  text-decoration: none;
}
.comment-respond {
  background: var(--bg-soft);
  padding: 26px;
  border-radius: var(--r-lg);
}
.comment-form label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3em;
}

/* 8 — Footer ------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--c-primary-dd), #060d24);
  color: #b9c6e6;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent), var(--c-primary));
}
.footer-top {
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
}
.site-footer h3 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 1.2em;
  position: relative;
  padding-bottom: 0.7em;
}
.site-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--c-accent);
}
.site-footer a {
  color: #dbe4fb;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.brand-foot {
  color: #fff !important;
  margin-bottom: 16px;
}
.f-about p {
  font-size: 0.93rem;
}
.f-meta {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.f-meta .i {
  color: var(--c-accent);
}
.f-about .social {
  margin-top: 18px;
}
.f-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.f-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: transform 0.2s;
}
.f-links a::before {
  content: "›";
  color: var(--c-accent);
  font-weight: 700;
}
.f-links a:hover {
  transform: translateX(4px);
  text-decoration: none;
}
.f-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 0.93rem;
}
.f-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.f-contact .i {
  color: var(--c-accent);
  margin-top: 0.3em;
  font-size: 1.05em;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.86rem;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.footer-bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* Tombol melayang */
.fab-stack {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 140;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  height: 52px;
  min-width: 52px;
  justify-content: center;
  padding: 0 16px;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s;
}
.fab:hover {
  transform: translateY(-3px);
  text-decoration: none;
}
.fab .i {
  font-size: 1.4rem;
}
.fab-wa {
  background: var(--wa);
}
.fab-wa span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.35s var(--ease);
}
.fab-wa:hover span,
.fab-wa:focus-visible span {
  max-width: 160px;
}
.fab-top {
  background: var(--c-primary);
  width: 48px;
  height: 48px;
  padding: 0;
}
.fab-top[hidden] {
  display: none;
}

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: rgba(6, 10, 22, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pop 0.25s var(--ease);
}
.lb img {
  max-width: min(1200px, 94vw);
  max-height: 84vh;
  width: auto;
  border-radius: 12px;
  box-shadow: var(--sh-lg);
  object-fit: contain;
}
.lb button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.lb button:hover {
  background: rgba(255, 255, 255, 0.28);
}
.lb .lb-x {
  right: 18px;
  top: 18px;
}
.lb .lb-p {
  left: 18px;
  top: 50%;
  margin-top: -24px;
}
.lb .lb-n {
  right: 18px;
  top: 50%;
  margin-top: -24px;
}
.lb-count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #cbd5ee;
  font-size: 0.9rem;
}

/* 9 — Widget & formulir -------------------------------------------------- */
.sidebar {
  position: sticky;
  top: calc(var(--hdr) + 24px);
  display: grid;
  gap: 24px;
}
.widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-sm);
}
.widget-title {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 1.02rem;
  margin-bottom: 1em;
  padding-bottom: 0.8em;
  border-bottom: 1px dashed var(--line);
}
.widget-title .i {
  color: var(--c-primary);
}
.widget ul {
  list-style: none;
}
.widget li {
  padding: 0.4em 0;
}
.widget a {
  color: var(--ink-2);
  text-decoration: none;
}
.widget a:hover {
  color: var(--c-primary);
}
.svc-list {
  display: grid;
  gap: 10px;
}
.svc-list li {
  padding: 0;
}
.svc-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-soft);
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.svc-list a:hover {
  background: var(--c-primary-l);
  transform: translateX(4px);
}
.svc-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--c-primary);
  color: #fff;
}
.mini-list {
  display: grid;
  gap: 14px;
}
.mini-list li {
  display: flex;
  gap: 14px;
  padding: 0;
}
.mini-thumb {
  width: 72px;
  height: 60px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-primary-l);
}
.mini-thumb img,
.mini-thumb .thumb-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-size: 1.2rem;
}
.mini-list a {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
}
.mini-list .meta {
  margin-top: 2px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 5px 5px 18px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.search-form:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(var(--c-primary-rgb), 0.15);
}
.search-form .i {
  color: var(--muted);
}
.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  padding: 0.6em 0;
  outline: none;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="tel"],
select,
textarea {
  max-width: 100%;
  padding: 0.75em 1em;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
textarea {
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(var(--c-primary-rgb), 0.15);
}
.pagination,
.comments-pagination {
  margin-top: 40px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  background: var(--surface);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
a.page-numbers:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.page-numbers.current {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.page-numbers.dots {
  border: 0;
  background: transparent;
}

/* 10 — Responsif --------------------------------------------------------- */
@media (max-width: 1180px) {
  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .quick {
    margin-top: -80px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  .main-nav,
  .hide-md {
    display: none !important;
  }
  .nav-toggle {
    display: inline-grid;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 130px;
  }
  .hero-visual {
    max-width: 380px;
  }
  .fc-1 {
    left: -8px;
  }
  .fc-2 {
    right: -8px;
  }
  .content.with-side {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sidebar {
    position: static;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .welcome {
    grid-template-columns: minmax(0, 260px) 1fr;
    gap: 36px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 18px;
  }
  .section {
    padding: 64px 0;
  }
  .hide-sm {
    display: none !important;
  }
  .topbar .social {
    display: none;
  }
  :root {
    --hdr: 64px;
  }
  .brand-text small {
    display: none;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
  }
  .hero-inner {
    padding-top: 48px;
    padding-bottom: 116px;
  }
  .hero-text {
    font-size: 1rem;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .hero-visual {
    max-width: 300px;
  }
  .float-card {
    padding: 8px 14px 8px 8px;
  }
  .fc-ico {
    width: 38px;
    height: 38px;
  }
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .quick-tile {
    padding: 16px;
  }
  .q-arrow {
    display: none;
  }
  .quick {
    margin-top: -70px;
  }
  .ticker .wrap {
    padding: 5px;
  }
  .ticker-tag span {
    display: none;
  }
  .grid-2,
  .grid-3,
  .agenda-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .card-featured {
    aspect-ratio: auto;
    min-height: 300px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .welcome {
    grid-template-columns: 1fr;
  }
  .welcome-photo {
    max-width: 300px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }
  .panel {
    padding: 22px;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer-top {
    padding-top: 56px;
  }
  .page-head {
    padding: 32px 0 42px;
  }
  .ph-ico {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }
  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pc-photo {
    max-width: 200px;
    margin: 0 auto;
  }
  .post-nav {
    grid-template-columns: 1fr;
  }
  .pn-next {
    grid-column: auto;
  }
  .contact-card {
    padding: 24px;
  }
  .agenda-card {
    flex-direction: column;
    gap: 14px;
  }
  .content {
    padding: 40px 0 64px;
  }
  .fab-wa span {
    display: none;
  }
  .lb .lb-p {
    left: 8px;
  }
  .lb .lb-n {
    right: 8px;
  }
}
@media (max-width: 420px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .brand-text b {
    font-size: 0.92rem;
  }
  .cd-box {
    min-width: 58px;
  }
}

/* 11 — Gerak & cetak ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .ticker-track {
    animation: none;
    overflow-x: auto;
  }
}
@media print {
  .topbar,
  .site-header,
  .drawer,
  .search-overlay,
  .site-footer,
  .fab-stack,
  .share,
  .progress,
  .sidebar,
  .related,
  .post-nav,
  .ticker,
  .quick {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .page-head {
    background: none;
    color: #000;
    padding: 0;
  }
  .page-head h1,
  .crumbs a {
    color: #000;
  }
  .content.with-side {
    display: block;
  }
}
/* =========================================================
   Hero: 6 kartu statistik melayang mengelilingi lingkaran
   ========================================================= */
.hero-visual {
  position: relative;
}
.hero-floats {
  display: contents;
}
.hero-visual .float-card {
  position: absolute;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 3;
  width: max-content;
  max-width: 220px;
  animation: fcFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -1.1s);
}
.hero-visual .float-card.fc-1 {
  top: 4%;
  right: 0;
}
.hero-visual .float-card.fc-2 {
  top: 38%;
  right: -2%;
}
.hero-visual .float-card.fc-3 {
  top: 71%;
  right: 3%;
}
.hero-visual .float-card.fc-4 {
  top: 10%;
  left: 2%;
}
.hero-visual .float-card.fc-5 {
  top: 44%;
  left: -2%;
}
.hero-visual .float-card.fc-6 {
  top: 77%;
  left: 1%;
}
@keyframes fcFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .float-card {
    animation: none;
  }
}
@media (max-width: 767px) {
  .hero-visual {
    max-width: 320px;
    margin-bottom: 8px;
  }
  .hero-visual .float-card {
    padding: 6px 10px 6px 6px;
    gap: 8px;
    border-radius: 12px;
    max-width: 150px;
    animation-name: fcFloatSm;
  }
  .hero-visual .float-card .fc-ico {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.8rem;
  }
  .hero-visual .float-card b {
    font-size: 0.85rem;
  }
  .hero-visual .float-card small {
    display: block;
    font-size: 0.62rem;
    line-height: 1.2;
    white-space: nowrap;
  }
  .hero-visual .float-card.fc-2 {
    right: 0;
  }
  .hero-visual .float-card.fc-5 {
    left: 0;
  }
}
@keyframes fcFloatSm {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}


/* 9b — Widget khusus Sekolah Pro ------------------------------------------ */
.sp-w .wp-note {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.sp-w .wp-note a {
  font-weight: 600;
  color: var(--c-primary);
}
.sp-w .wp-badge {
  display: inline-block;
  padding: 0.3em 0.85em;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.sp-w .wp-badge.is-on {
  background: rgba(22, 163, 74, 0.14);
  color: #16a34a;
}
.sp-w .wp-badge.is-off {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}
.sp-w .wp-jadwal {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
}
.sp-w .wp-jadwal li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 0;
}
.sp-w .wp-jadwal b {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}
.sp-w .wp-jadwal span {
  font-size: 0.82rem;
  color: var(--muted);
}
.sp-w .wp-dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--line);
}
.sp-w .wp-dot.is-buka {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}
.sp-w .wp-dot.is-belum {
  background: #0284c7;
}
.sp-w .wp-dot.is-tutup {
  background: #dc2626;
}
.sp-w .wp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.sp-w .wp-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
}
.sp-w .wp-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-primary);
}
.sp-w .wp-agenda,
.sp-w .wp-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.sp-w .wp-agenda li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 0;
}
.sp-w .wp-agenda .date-tile {
  width: 52px;
  height: 56px;
  border-radius: 12px;
}
.sp-w .wp-agenda a,
.sp-w .wp-list a {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
}
.sp-w .wp-list li {
  padding: 0 0 14px;
  border-bottom: 1px dashed var(--line);
}
.sp-w .wp-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.sp-w .wp-kontak {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
}
.sp-w .wp-kontak li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}
.sp-w .wp-kontak .i {
  flex: none;
  margin-top: 0.3em;
  color: var(--c-primary);
}
.sp-w .wp-kontak span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.sp-w .btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.sp-w .wp-foto {
  width: 96px;
  height: 96px;
  margin: 0 0 14px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-primary-l);
}
.sp-w .wp-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-w .wp-sambutan p {
  margin: 0 0 10px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.sp-w .wp-ttd strong {
  display: block;
  color: var(--ink);
}
.sp-w .wp-ttd span {
  font-size: 0.82rem;
  color: var(--muted);
}
