/* =============================================================
   KOBAR — Komunitas Belajar SMP Kota Bandar Lampung
   Desain: emerald, krem, lime. Modern, profesional, mobile-first.
   ============================================================= */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --emerald-950: #022c22;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --lime: #a3e635;
  --lime-soft: #d9f99d;
  --lime-dark: #4d7c0f;
  --berry: #e11d48;
  --ink: #0f172a;
  --ink-soft: #26352e;
  --muted: #5b6b63;
  --muted-2: #7c8b83;
  --line: #e2e8e0;
  --line-strong: #cfdad2;
  --bg: #f5f8f3;
  --cream: #f7f4ec;
  --white: #ffffff;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --blue: #1d4ed8;
  --blue-bg: #eff6ff;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 3px rgba(6, 78, 59, .06);
  --shadow-sm: 0 4px 12px -4px rgba(6, 78, 59, .10);
  --shadow: 0 20px 45px -24px rgba(6, 78, 59, .30);
  --shadow-lg: 0 36px 80px -36px rgba(6, 78, 59, .40);
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 .6rem;
  font-weight: 700;
}
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
::selection { background: var(--lime-soft); color: var(--emerald-950); }
:focus-visible { outline: 3px solid rgba(16, 185, 129, .45); outline-offset: 2px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 3000;
  background: var(--emerald-900); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 12px 12px; transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.icon-sprite { display: none; }
.icon {
  width: 1.12em; height: 1.12em; display: inline-block; vertical-align: -.16em;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.icon--lg { width: 1.6em; height: 1.6em; }

/* ---------- Tombol & komponen dasar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.35rem; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: .92rem; font-weight: 700;
  line-height: 1.2; border: 1.5px solid transparent; background: transparent;
  color: var(--ink); transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary {
  background: linear-gradient(135deg, var(--emerald-700), var(--emerald-900));
  color: #fff; box-shadow: 0 14px 28px -16px rgba(4, 120, 87, .85);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800)); box-shadow: 0 18px 32px -14px rgba(4, 120, 87, .7); }
.btn-lime { background: var(--lime); color: var(--emerald-950); box-shadow: 0 14px 28px -18px rgba(101, 163, 13, .85); }
.btn-lime:hover { background: #b7ef58; }
.btn-white { background: #fff; color: var(--emerald-900); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: var(--emerald-50); }
.btn-outline { background: #fff; border-color: var(--line-strong); color: var(--emerald-900); }
.btn-outline:hover { border-color: var(--emerald-500); color: var(--emerald-700); background: var(--emerald-50); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: rgba(6, 78, 59, .06); }
.btn-outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .7); }
.btn-sm { padding: .55rem .95rem; font-size: .82rem; }
.btn-lg { padding: 1rem 1.65rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-like { background: #fff; border-color: var(--line); color: var(--ink-soft); }
.btn-like:hover { color: var(--berry); border-color: #fecdd3; background: #fff1f2; }
.btn-like.is-liked { color: var(--berry); border-color: #fecdd3; background: #fff1f2; }
.btn-like.is-liked .icon { fill: currentColor; }
.btn-bookmark.is-saved { color: var(--emerald-700); background: var(--emerald-50); }

.icon-btn, .topbar-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; border: 0; background: transparent;
  color: inherit; transition: background .18s ease, color .18s ease;
}
.icon-btn:hover, .topbar-btn:hover { background: rgba(255, 255, 255, .12); }
.topbar-btn .icon, .icon-btn .icon { width: 1.05rem; height: 1.05rem; }

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .32rem .68rem; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: .7rem; font-weight: 700;
  letter-spacing: .02em; line-height: 1.3; white-space: nowrap;
}
.badge .icon { width: .95em; height: .95em; }
.badge-emerald { background: var(--emerald-100); color: var(--emerald-900); }
.badge-lime { background: var(--lime-soft); color: var(--emerald-950); }
.badge-soft { background: #f1f5f1; color: var(--muted); border: 1px solid var(--line); }
.badge-white { background: rgba(255, 255, 255, .92); color: var(--emerald-900); }
.badge-slate { background: #eef2f0; color: #475569; }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-red { background: var(--danger-bg); color: var(--danger); }
.badge-blue { background: var(--blue-bg); color: var(--blue); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-size: .74rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-700);
  margin-bottom: .65rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime-dark); border-radius: 2px; }
.eyebrow--light { color: var(--lime-soft); }
.eyebrow--light::before { background: var(--lime); }
.muted-text { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--emerald-700); font-weight: 600; font-size: .9rem; }
.text-link:hover { color: var(--emerald-900); }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: .45rem; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.field em { color: var(--danger); font-style: normal; }
.field-help { font-size: .78rem; color: var(--muted-2); font-weight: 400; line-height: 1.5; }
.input, .select, textarea.input {
  width: 100%; padding: .82rem 1rem; border: 1.5px solid var(--line);
  border-radius: 14px; background: #fff; font-size: .93rem; font-weight: 400;
  color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
.input::placeholder { color: #9aa8a0; }
.input:focus, .select:focus, textarea.input:focus {
  border-color: var(--emerald-500); outline: none;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}
textarea.input { min-height: 120px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235b6b63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.7rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field--full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.3rem; flex-wrap: wrap; }
.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .86rem; font-weight: 400; color: var(--ink-soft); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: .18rem; accent-color: var(--emerald-700); flex: none; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.input-icon .input { padding-left: 2.8rem; }
.input-reveal {
  position: absolute; right: .55rem; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--muted-2); width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 9px;
}
.input-reveal:hover { background: #f1f5f1; color: var(--emerald-700); }

.alert {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.15rem; border-radius: 16px; border: 1px solid;
  margin-bottom: 1.25rem; font-size: .9rem;
}
.alert > .icon { width: 1.4rem; height: 1.4rem; margin-top: .1rem; }
.alert p { margin: .2rem 0 0; font-size: .86rem; line-height: 1.55; }
.alert-actions { display: flex; gap: .5rem; margin-top: .7rem; flex-wrap: wrap; }
.alert-success { background: var(--emerald-50); border-color: #bbe9d3; color: var(--emerald-900); }
.alert-warning { background: var(--amber-bg); border-color: #fde68a; color: #78350f; }
.alert-info { background: var(--blue-bg); border-color: #bfdbfe; color: #1e3a8a; }
.alert-error { background: var(--danger-bg); border-color: #fecaca; color: #7f1d1d; }

/* ---------- Loader, toast ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 4000; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
  transition: opacity .35s ease, visibility .35s ease;
  animation: loaderAutoHide .35s ease 1.5s forwards;
}
.page-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { position: relative; width: 72px; height: 72px; display: grid; place-items: center; }
.loader-mark img { width: 60px; height: 60px; border-radius: 18px; box-shadow: var(--shadow); }
.loader-ring {
  position: absolute; inset: -9px; border-radius: 24px; border: 2px solid rgba(4, 120, 87, .12);
  border-top-color: var(--emerald-600); animation: spin 1s linear infinite;
}
.loader-text { font-family: var(--font-display); font-weight: 800; letter-spacing: .18em; color: var(--emerald-900); font-size: .8rem; }
@keyframes loaderAutoHide { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.toast-stack { position: fixed; top: 1.1rem; right: 1.1rem; z-index: 3500; display: flex; flex-direction: column; gap: .6rem; width: min(390px, calc(100vw - 2rem)); }
.toast {
  display: flex; align-items: flex-start; gap: .65rem; padding: .9rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); font-size: .88rem; color: var(--ink-soft);
  animation: toastIn .25s ease both;
}
.toast-icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.toast--success .toast-icon { background: var(--emerald-100); color: var(--emerald-700); }
.toast--error .toast-icon { background: var(--danger-bg); color: var(--danger); }
.toast--warning .toast-icon { background: var(--amber-bg); color: var(--amber); }
.toast--info .toast-icon { background: var(--blue-bg); color: var(--blue); }
.toast-text { flex: 1; line-height: 1.5; }
.toast-close { border: 0; background: transparent; color: var(--muted-2); padding: .15rem; border-radius: 6px; }
.toast.is-hiding { opacity: 0; transform: translateY(-6px); transition: .25s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Topbar & header publik ---------- */
.site-topbar { background: var(--emerald-950); color: #c7f5df; font-size: .76rem; position: relative; z-index: 70; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 1rem; }
.topbar-contact { display: flex; align-items: center; gap: 1.1rem; min-width: 0; }
.topbar-contact a, .topbar-address { display: inline-flex; align-items: center; gap: .4rem; color: #c7f5df; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-contact a:hover { color: var(--lime-soft); }
.topbar-tools { display: flex; align-items: center; gap: .7rem; }
.topbar-link { color: #a7f3d0; font-weight: 500; white-space: nowrap; }
.topbar-link:hover { color: #fff; }
.topbar-socials { display: flex; gap: .35rem; }
.topbar-socials a { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: #a7f3d0; }
.topbar-socials a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.topbar-socials .icon { width: .95rem; height: .95rem; }
.lang-switch { display: flex; align-items: center; gap: .35rem; font-weight: 700; font-family: var(--font-display); }
.lang-switch a { color: rgba(255, 255, 255, .55); padding: .15rem .25rem; }
.lang-switch a:hover, .lang-switch a.is-active { color: var(--lime-soft); }
.lang-switch span { color: rgba(255, 255, 255, .25); }

.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(6, 78, 59, .4); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; flex: none; }
.brand-logo { width: 54px; height: 54px; border-radius: 15px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-name { font-family: var(--font-display); font-size: 1.42rem; font-weight: 800; letter-spacing: .02em; color: var(--emerald-950); }
.brand-tag { font-size: .67rem; color: var(--muted); font-weight: 500; max-width: 330px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-mini { margin-left: auto; display: flex; align-items: center; gap: .55rem; width: min(300px, 24vw); background: var(--bg); border: 1.5px solid transparent; border-radius: var(--radius-pill); padding: .6rem 1rem; color: var(--muted-2); transition: border-color .2s ease, background .2s ease; }
.search-mini:focus-within { border-color: var(--emerald-300); background: #fff; }
.search-mini input { border: 0; background: transparent; outline: none; width: 100%; font-size: .86rem; }
.search-mini input::placeholder { color: #94a39b; }
.header-actions { display: flex; align-items: center; gap: .55rem; }
.user-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .7rem .3rem .3rem; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600; color: var(--emerald-900); background: #fff; transition: border-color .2s; }
.user-chip:hover { border-color: var(--emerald-300); }
.user-chip img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.mobile-toggle { display: none; width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; color: var(--emerald-900); }
.main-nav-wrap { border-top: 1px solid var(--line); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: .15rem; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.nav-link { position: relative; padding: .85rem .92rem; font-family: var(--font-display); font-size: .83rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; transition: color .18s; }
.nav-link:hover { color: var(--emerald-700); }
.nav-link.is-active { color: var(--emerald-800); font-weight: 700; }
.nav-link.is-active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--emerald-600); }

/* ---------- Panel suara ---------- */
.sound-panel {
  position: fixed; top: 48px; right: max(1rem, calc((100vw - var(--container)) / 2 + 1rem));
  z-index: 90; width: 300px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-lg); padding: 1rem 1.1rem;
}
.sound-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.sound-head strong { font-family: var(--font-display); font-size: .9rem; }
.sound-head .icon-btn { width: 30px; height: 30px; border-radius: 8px; color: var(--muted); background: var(--bg); }
.sound-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .5rem 0; font-size: .84rem; color: var(--ink-soft); }
.sound-volume input { width: 130px; accent-color: var(--emerald-700); }
.switch { width: 42px; height: 24px; border-radius: 999px; border: 0; background: #d6ded8; position: relative; transition: background .2s; flex: none; }
.switch span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch.is-on { background: var(--emerald-600); }
.switch.is-on span { transform: translateX(18px); }

/* ---------- Drawer mobile ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(2, 44, 34, .48); z-index: 95; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(370px, 90vw);
  background: #fff; transform: translateX(102%); transition: transform .28s cubic-bezier(.22,.8,.3,1);
  display: flex; flex-direction: column; overflow-y: auto; padding: 1.2rem;
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.drawer-head .brand-logo { width: 42px; height: 42px; border-radius: 12px; }
.drawer-head .brand-name { font-size: 1.1rem; }
.drawer-head .brand-tag { font-size: .62rem; max-width: 220px; }
.drawer-head .icon-btn { background: var(--bg); border-radius: 10px; color: var(--ink); width: 38px; height: 38px; }
.drawer-search { display: flex; align-items: center; gap: .5rem; background: var(--bg); border-radius: 13px; padding: .7rem .9rem; margin: 1rem 0 .6rem; color: var(--muted); }
.drawer-search input { border: 0; background: transparent; outline: none; width: 100%; font-size: .88rem; }
.drawer-nav { display: flex; flex-direction: column; padding: .4rem 0; }
.drawer-nav a { display: flex; align-items: center; gap: .7rem; padding: .78rem .6rem; border-radius: 11px; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.drawer-nav a:hover { background: var(--emerald-50); color: var(--emerald-800); }
.drawer-nav .icon { color: var(--emerald-700); }
.drawer-actions { margin-top: auto; padding-top: 1.2rem; display: flex; flex-direction: column; gap: .6rem; border-top: 1px solid var(--line); }
.drawer-lang { display: flex; justify-content: center; gap: 1rem; padding-top: .5rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.drawer-lang a.is-active { color: var(--emerald-700); }
body.drawer-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7faf5 0%, #eef5ea 100%); padding: clamp(3rem, 6vw, 5rem) 0 clamp(5.5rem, 8vw, 7rem); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-orb--1 { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(163, 230, 53, .22), transparent 65%); }
.hero-orb--2 { width: 460px; height: 460px; left: -180px; bottom: -220px; background: radial-gradient(circle, rgba(16, 185, 129, .15), transparent 65%); }
.hero-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(6, 78, 59, .08) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 75%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 75%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .42rem .9rem; font-family: var(--font-display); font-size: .73rem; font-weight: 700; color: var(--emerald-800); box-shadow: var(--shadow-xs); margin-bottom: 1.2rem; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-500); box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.eyebrow-sep { width: 1px; height: 12px; background: var(--line-strong); }
.hero-title { font-size: clamp(2.35rem, 4.6vw, 3.85rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; color: var(--emerald-950); margin-bottom: 1.15rem; max-width: 15ch; background: linear-gradient(120deg, #022c22 35%, #047857 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.08rem); color: var(--muted); max-width: 56ch; margin-bottom: 1.7rem; line-height: 1.7; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-trust { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.trust-signal { display: flex; align-items: center; gap: .55rem; font-size: .8rem; color: var(--muted); }
.trust-signal strong { color: var(--emerald-900); font-family: var(--font-display); font-size: .92rem; }
.trust-icon { width: 30px; height: 30px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--emerald-700); }
.trust-icon .icon { width: 1rem; height: 1rem; }
.trust-sep { width: 1px; height: 22px; background: var(--line-strong); }
.hero-art { position: relative; }
.hero-art-frame { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--emerald-900); transform: rotate(.6deg); }
.hero-art-frame img { width: 100%; height: auto; display: block; }
.hero-photo { aspect-ratio: 4 / 3.4; object-fit: cover; }
.hero-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .65rem;
  background: #fff; border-radius: 16px; padding: .7rem .95rem; box-shadow: var(--shadow);
  border: 1px solid var(--line); animation: floaty 6s ease-in-out infinite;
}
.hero-float strong { display: block; font-family: var(--font-display); font-size: .82rem; line-height: 1.2; color: var(--ink); }
.hero-float small { font-size: .68rem; color: var(--muted); }
.hero-float--top { top: 24px; left: -28px; }
.hero-float--bottom { bottom: 34px; right: -18px; animation-delay: -3s; }
.hero-float-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; }
.hero-float-icon--lime { background: var(--lime-soft); color: var(--emerald-950); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.stats-strip { position: relative; z-index: 3; margin-top: clamp(-4.6rem, -5vw, -3.8rem); }
.stats-grid { display: grid; grid-template-columns: repeat(7, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.stat-item { display: flex; align-items: center; gap: .7rem; padding: 1.25rem 1.05rem; border-right: 1px solid var(--line); min-width: 0; }
.stat-item:last-child { border-right: 0; }
.stat-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; flex: none; }
.stat-icon .icon { width: 1.15rem; height: 1.15rem; }
.stat-copy { display: flex; flex-direction: column; min-width: 0; }
.stat-copy strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--emerald-950); line-height: 1.1; letter-spacing: -.02em; }
.stat-copy small { font-size: .68rem; color: var(--muted); line-height: 1.3; }

/* ---------- Section umum ---------- */
.section { padding: clamp(3.2rem, 6vw, 5.2rem) 0; }
.section--cream { background: var(--cream); }
.section--split-bg { background: linear-gradient(180deg, #f7faf5 0%, #eef5ea 100%); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.1rem; }
.section-head--sm { margin-bottom: 1.4rem; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 800; letter-spacing: -.03em; margin: 0; color: var(--emerald-950); }
.section-link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-size: .84rem; font-weight: 700; color: var(--emerald-700); white-space: nowrap; padding-bottom: .3rem; border-bottom: 1.5px solid transparent; }
.section-link:hover { color: var(--emerald-900); border-color: var(--emerald-500); }
.section-link .icon { transition: transform .2s; }
.section-link:hover .icon { transform: translateX(3px); }
.card-grid { display: grid; gap: 1.4rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.empty-state { background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 3rem 1.5rem; text-align: center; color: var(--muted); }
.empty-icon { width: 56px; height: 56px; margin: 0 auto .8rem; border-radius: 16px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; }
.empty-icon .icon { width: 1.6rem; height: 1.6rem; }
.empty-state h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.empty-state p { margin: 0; font-size: .88rem; }

/* ---------- Kartu praktik ---------- */
.practice-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
.practice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cde5d6; }
.practice-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700)); }
.practice-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.practice-card:hover .practice-cover img { transform: scale(1.045); }
.cover-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.75); }
.cover-fallback .icon { width: 3rem; height: 3rem; }
.cover-badge { position: absolute; left: .8rem; top: .8rem; padding: .32rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--emerald-900); font-family: var(--font-display); font-size: .66rem; font-weight: 800; letter-spacing: .02em; z-index: 1; max-width: calc(100% - 1.6rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cover-star { position: absolute; right: .8rem; top: .8rem; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--emerald-950); display: grid; place-items: center; z-index: 1; }
.cover-archived { position: absolute; bottom: .8rem; left: .8rem; display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .6rem; border-radius: 999px; background: rgba(2, 44, 34, .8); color: #d1fae5; font-size: .64rem; font-weight: 600; }
.practice-body { padding: 1.2rem 1.25rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.meta-row { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; font-size: .72rem; color: var(--muted); margin-bottom: .5rem; }
.meta-row > span { display: inline-flex; align-items: center; gap: .3rem; }
.meta-row .icon { width: .95rem; height: .95rem; }
.practice-title { font-size: 1.06rem; font-weight: 700; line-height: 1.35; margin: 0 0 .45rem; }
.practice-title a:hover { color: var(--emerald-700); }
.practice-desc { font-size: .84rem; color: var(--muted); line-height: 1.6; margin: 0 0 .7rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.practice-school { font-size: .73rem; color: var(--muted-2); display: flex; align-items: center; gap: .35rem; margin-bottom: .9rem; }
.card-actions { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .55rem; }
.icon-action { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: transparent; color: var(--muted); font-size: .76rem; padding: .35rem .4rem; border-radius: 8px; font-weight: 500; }
.icon-action:hover { color: var(--emerald-700); background: var(--emerald-50); }
.like-btn.is-liked { color: var(--berry); }
.like-btn.is-liked .icon { fill: currentColor; }
.read-more { margin-left: auto; display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-display); font-size: .75rem; font-weight: 700; color: var(--emerald-700); }
.read-more:hover { color: var(--emerald-900); }
.read-more .icon { width: .95rem; height: .95rem; }

/* ---------- Berita ---------- */
.news-layout { display: grid; grid-template-columns: 1.45fr .85fr; gap: 1.4rem; align-items: start; }
.news-side { display: flex; flex-direction: column; gap: 1.1rem; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.news-cover { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700)); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.news-card:hover .news-cover img { transform: scale(1.04); }
.news-body { padding: 1rem 1.15rem 1.05rem; display: flex; flex-direction: column; flex: 1; }
.news-title { font-size: 1rem; line-height: 1.35; margin: 0 0 .4rem; }
.news-title a:hover { color: var(--emerald-700); }
.news-body p { font-size: .82rem; color: var(--muted); margin: 0 0 .75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-footer { margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.byline { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; color: var(--muted); }
.news-card--featured { height: 100%; }
.news-card--featured .news-cover { aspect-ratio: auto; flex: 1; min-height: 300px; }
.news-card--featured .news-body { padding: 1.5rem 1.6rem; }
.news-card--featured .news-title { font-size: 1.55rem; line-height: 1.22; }
.news-card--featured .news-body p { font-size: .9rem; -webkit-line-clamp: 3; }
.news-cta-card { display: flex; align-items: center; gap: .8rem; background: var(--emerald-900); color: #fff; border-radius: 18px; padding: 1rem 1.15rem; transition: background .2s; }
.news-cta-card:hover { background: var(--emerald-800); }
.news-cta-card > span { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.news-cta-card div { flex: 1; }
.news-cta-card strong { display: block; font-family: var(--font-display); font-size: .86rem; }
.news-cta-card small { color: #a7f3d0; font-size: .7rem; }
.news-list-layout { display: grid; grid-template-columns: 1fr 330px; gap: 2rem; align-items: start; }
.news-featured { margin-bottom: 1.4rem; }
.news-featured .news-card--featured { display: grid; grid-template-columns: 1.15fr 1fr; }
.news-featured .news-card--featured .news-cover { min-height: 320px; }

/* ---------- Program ---------- */
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.program-grid--wide { margin-bottom: 2.5rem; }
.program-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem 1.35rem; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; right: -48px; top: -48px; background: var(--emerald-50); }
.program-num { position: relative; z-index: 1; font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: var(--emerald-600); }
.program-icon { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 15px; background: var(--emerald-900); color: var(--lime); display: grid; place-items: center; margin: .9rem 0 1rem; }
.program-icon .icon { width: 1.5rem; height: 1.5rem; }
.program-card h3 { font-size: 1.02rem; line-height: 1.35; margin-bottom: .5rem; }
.program-card p { font-size: .82rem; color: var(--muted); flex: 1; margin-bottom: 1rem; }
.program-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.program-detail-card { display: flex; gap: 1.2rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.program-detail-card .program-icon { flex: none; margin: 0; width: 54px; height: 54px; }
.program-detail-card h2 { font-size: 1.15rem; margin-bottom: .35rem; }
.program-detail-card p { font-size: .86rem; color: var(--muted); margin-bottom: .6rem; }

/* ---------- Agenda ---------- */
.split-layout { display: grid; grid-template-columns: 1.55fr .75fr; gap: 2rem; align-items: start; }
.agenda-list { display: flex; flex-direction: column; gap: .85rem; }
.agenda-card { display: flex; align-items: center; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.15rem; transition: border-color .2s ease, box-shadow .2s ease; }
.agenda-card:hover { border-color: #cde5d6; box-shadow: var(--shadow-sm); }
.agenda-card.is-archived { opacity: .82; }
.date-box { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; min-height: 68px; border-radius: 14px; background: var(--emerald-50); color: var(--emerald-900); flex: none; }
.date-day { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.date-month { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--emerald-700); }
.date-year { font-size: .58rem; color: var(--muted); }
.agenda-body { flex: 1; min-width: 0; }
.agenda-body h3 { font-size: .98rem; line-height: 1.35; margin: .1rem 0 .3rem; }
.agenda-body h3 a:hover { color: var(--emerald-700); }
.agenda-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .72rem; color: var(--muted); }
.agenda-meta > span { display: inline-flex; align-items: center; gap: .3rem; }
.agenda-cta { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--emerald-700); flex: none; transition: background .2s, color .2s; }
.agenda-cta:hover { background: var(--emerald-900); color: #fff; border-color: var(--emerald-900); }
.join-card { background: linear-gradient(150deg, var(--emerald-900), var(--emerald-950)); color: #d1fae5; border-radius: 26px; padding: 1.8rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.join-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -100px; bottom: -120px; background: rgba(163, 230, 53, .12); }
.join-icon { width: 54px; height: 54px; border-radius: 16px; background: rgba(163, 230, 53, .16); color: var(--lime); display: grid; place-items: center; margin-bottom: 1rem; }
.join-icon .icon { width: 1.5rem; height: 1.5rem; }
.join-card h3 { color: #fff; font-size: 1.35rem; }
.join-card p { font-size: .88rem; color: #a7f3d0; margin-bottom: 1.3rem; }
.join-note { display: flex; gap: .4rem; align-items: center; font-size: .72rem; color: #6ee7b7; margin-top: .9rem; }
.agenda-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.agenda-list--large { gap: 1rem; }
.agenda-card--large { align-items: flex-start; padding: 1.25rem 1.35rem; }
.agenda-card--large .date-box { width: 76px; min-height: 84px; }
.agenda-card--large .date-day { font-size: 1.8rem; }
.agenda-card--large .agenda-body h3 { font-size: 1.12rem; }
.agenda-card--large .agenda-body p { font-size: .84rem; color: var(--muted); margin: .1rem 0 .55rem; }
.agenda-actions { display: flex; gap: .5rem; margin-top: .7rem; flex-wrap: wrap; }
.agenda-aside { display: flex; flex-direction: column; gap: 1.1rem; }

.calendar-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.25rem; box-shadow: var(--shadow-xs); }
.calendar-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.calendar-head h3 { font-size: 1.02rem; margin: 0; }
.calendar-nav { display: flex; gap: .3rem; }
.calendar-nav a { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.calendar-nav a:hover { background: var(--emerald-50); color: var(--emerald-700); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.calendar-weekdays span { text-align: center; font-size: .6rem; font-weight: 700; color: var(--muted-2); padding: .25rem 0; text-transform: uppercase; }
.cal-day { position: relative; aspect-ratio: 1.25; display: flex; align-items: center; justify-content: center; font-size: .76rem; color: var(--ink-soft); border-radius: 8px; }
.cal-day.has-event { background: var(--emerald-50); color: var(--emerald-900); font-weight: 700; }
.cal-day.is-today { outline: 2px solid var(--lime-dark); outline-offset: -2px; background: var(--lime-soft); color: var(--emerald-950); }
.cal-day i { position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--emerald-600); }
.calendar-legend { display: flex; align-items: center; gap: .4rem; font-size: .68rem; color: var(--muted); margin-top: .8rem; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-500); }

/* ---------- Materi ---------- */
.material-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.material-grid--wide { grid-template-columns: 1fr 1fr; }
.material-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.2rem; transition: border-color .2s, box-shadow .2s, transform .2s; }
.material-card:hover { border-color: #cde5d6; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.file-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; background: #fef2f2; color: #b91c1c; }
.file-icon .icon { width: 1.5rem; height: 1.5rem; }
.file-icon--doc { background: var(--blue-bg); color: var(--blue); }
.material-body { flex: 1; min-width: 0; }
.material-body h3 { font-size: .98rem; margin: .05rem 0 .25rem; line-height: 1.35; }
.material-body h3 a:hover { color: var(--emerald-700); }
.material-body p { font-size: .78rem; color: var(--muted); margin: 0 0 .45rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.material-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .68rem; color: var(--muted-2); align-items: center; }
.material-meta > span { display: inline-flex; align-items: center; gap: .28rem; }
.access-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .5rem; border-radius: 999px; background: var(--emerald-50); color: var(--emerald-700); font-weight: 600; }
.access-badge--member { background: #fef3c7; color: #92400e; }
.material-action { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--emerald-700); flex: none; }
.material-action:hover { background: var(--emerald-900); color: #fff; }
.doc-list { display: flex; flex-direction: column; gap: .6rem; }
.doc-item { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .75rem .9rem; transition: border-color .2s; }
.doc-item:hover { border-color: var(--emerald-300); }
.doc-item .file-icon { width: 40px; height: 40px; border-radius: 10px; }
.doc-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.doc-copy strong { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-copy small { color: var(--muted); font-size: .68rem; }
.doc-item > .icon { color: var(--emerald-700); }

/* ---------- Galeri ---------- */
.gallery-masonry { columns: 3; column-gap: 1.1rem; }
.gallery-card { break-inside: avoid; margin: 0 0 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.gallery-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--emerald-900); overflow: hidden; }
.gallery-open img { width: 100%; height: auto; transition: transform .45s ease; }
.gallery-open:hover img { transform: scale(1.04); }
.gallery-zoom { position: absolute; right: .7rem; bottom: .7rem; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--emerald-900); display: grid; place-items: center; opacity: 0; transform: translateY(4px); transition: .2s; }
.gallery-open:hover .gallery-zoom { opacity: 1; transform: none; }
.gallery-card figcaption { padding: .7rem .9rem .8rem; display: flex; flex-direction: column; gap: .15rem; }
.gallery-card figcaption strong { font-family: var(--font-display); font-size: .82rem; }
.gallery-card figcaption span { font-size: .7rem; color: var(--muted); }
.gallery-masonry--home { columns: 3; }
.gallery-masonry--compact { columns: 4; }
.article-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1.6rem; }
.article-gallery figure { margin: 0; border-radius: 14px; overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 3800; background: rgba(2, 24, 18, .94); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.lightbox-figure { margin: 0; max-width: min(1100px, 88vw); display: flex; flex-direction: column; gap: .7rem; }
.lightbox-figure img { max-height: 80vh; margin: 0 auto; border-radius: 10px; object-fit: contain; }
.lightbox-figure figcaption { color: #d1fae5; font-size: .85rem; text-align: center; }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.18); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--emerald-950), var(--emerald-800)); color: #d1fae5; padding: clamp(3rem, 5vw, 4.2rem) 0; }
.cta-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(163,230,53,.18) 1.2px, transparent 1.2px); background-size: 26px 26px; opacity: .6; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
.cta-copy h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; max-width: 26ch; }
.cta-copy p { color: #a7f3d0; margin: 0; max-width: 58ch; font-size: .92rem; }
.cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; flex: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--emerald-950); color: #b8d8c8; overflow: hidden; padding: 4rem 0 1.5rem; }
.footer-glow { position: absolute; top: -180px; right: -100px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(52, 211, 153, .14), transparent 65%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr .8fr .8fr 1.3fr; gap: 2.5rem; }
.brand--footer .brand-name { color: #fff; }
.brand--footer .brand-tag { color: #6ee7b7; white-space: normal; }
.footer-brand p { margin: 1rem 0 1.2rem; font-size: .85rem; color: #9cc4b0; max-width: 34ch; }
.footer-socials { display: flex; gap: .5rem; }
.footer-socials a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #d1fae5; transition: background .2s, border-color .2s; }
.footer-socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--emerald-950); }
.footer-col h4 { color: #fff; font-size: .86rem; margin-bottom: 1rem; font-weight: 700; }
.footer-col > a, .footer-contact a { display: flex; align-items: center; gap: .4rem; padding: .28rem 0; font-size: .82rem; color: #9cc4b0; }
.footer-col > a:hover, .footer-contact a:hover { color: var(--lime-soft); }
.footer-contact p { display: flex; align-items: flex-start; gap: .45rem; font-size: .82rem; color: #9cc4b0; margin: 0 0 .5rem; }
.newsletter-form { margin-top: 1rem; }
.newsletter-form label { font-size: .74rem; color: #9cc4b0; display: block; margin-bottom: .45rem; }
.newsletter-input { display: flex; gap: .35rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: .3rem; }
.newsletter-input input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; padding: .4rem .6rem; font-size: .8rem; }
.newsletter-input input::placeholder { color: #7fa895; }
.newsletter-status { font-size: .72rem; margin: .4rem 0 0; color: var(--lime-soft); min-height: 1em; }
.footer-stats-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0; margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.visitor-badge { display: flex; align-items: center; gap: .55rem; font-size: .76rem; color: #9cc4b0; flex-wrap: wrap; }
.visitor-badge strong { color: #fff; }
.visitor-icon { width: 28px; height: 28px; border-radius: 8px; background: rgba(163,230,53,.14); color: var(--lime); display: grid; place-items: center; }
.visitor-divider { width: 1px; height: 16px; background: rgba(255,255,255,.15); }
.visitor-online { background: rgba(163,230,53,.14); color: var(--lime-soft); border-radius: 999px; padding: .15rem .55rem; font-size: .68rem; }
.flag-counter { font-size: .72rem; color: #9cc4b0; }
.flag-counter-local { display: inline-flex; align-items: center; gap: .4rem; }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .73rem; color: #7fa895; }
.footer-made { color: #6b8f7c; }
.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 45; width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); background: #fff; color: var(--emerald-800); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .2s; }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--emerald-900); color: #fff; }

/* ---------- Page header, breadcrumb, filter, pagination ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2.6rem, 5vw, 4.2rem); background: linear-gradient(160deg, #f7faf5, #eaf3e5); }
.page-head-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(6,78,59,.09) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(105deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(105deg, #000, transparent 70%); }
.page-head-bg::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(163,230,53,.2), transparent 65%); }
.page-head-inner { position: relative; }
.page-head-inner--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.page-head--compact { padding-bottom: 2.2rem; }
.breadcrumbs { display: flex; align-items: center; gap: .5rem; font-size: .76rem; color: var(--muted); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--emerald-700); }
.breadcrumbs span { color: var(--muted-2); }
.page-head-copy h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; color: var(--emerald-950); margin-bottom: .8rem; max-width: 22ch; }
.page-head-copy p { font-size: .98rem; color: var(--muted); max-width: 70ch; margin: 0; }
.page-head-cta { flex: none; margin-bottom: .3rem; }
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1rem; margin-bottom: 1.4rem; box-shadow: var(--shadow-xs); }
.filter-panel--slim { padding: .85rem; }
.filter-form { display: grid; grid-template-columns: minmax(220px, 1fr) 210px 200px auto; gap: .6rem; align-items: center; }
.filter-panel--slim .filter-form { grid-template-columns: minmax(200px, 1fr) 210px auto; }
.filter-search { display: flex; align-items: center; gap: .5rem; background: var(--bg); border-radius: 13px; padding: .1rem .9rem; color: var(--muted); border: 1.5px solid transparent; }
.filter-search:focus-within { border-color: var(--emerald-300); background: #fff; }
.filter-search input { border: 0; background: transparent; outline: none; padding: .7rem 0; width: 100%; font-size: .86rem; }
.filter-form .select { padding-top: .65rem; padding-bottom: .65rem; font-size: .84rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px dashed var(--line); }
.chip { display: inline-flex; align-items: center; padding: .4rem .8rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .76rem; font-weight: 600; color: var(--muted); transition: .18s; }
.chip:hover, .chip.is-active { background: var(--emerald-900); border-color: var(--emerald-900); color: #fff; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.results-bar p { margin: 0; font-size: .84rem; color: var(--muted); }
.results-bar strong { color: var(--ink); }
.results-sort-links { display: flex; gap: 1rem; font-size: .78rem; }
.results-sort-links a { color: var(--muted); font-weight: 500; padding-bottom: 2px; border-bottom: 1.5px solid transparent; }
.results-sort-links a:hover, .results-sort-links a.is-active { color: var(--emerald-800); border-color: var(--emerald-500); }
.pagination { display: flex; align-items: center; justify-content: center; gap: .35rem; margin-top: 2.5rem; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 .65rem; border: 1px solid var(--line); background: #fff; border-radius: 11px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); transition: .18s; }
.page-btn:hover { border-color: var(--emerald-400); color: var(--emerald-700); }
.page-btn.is-current { background: var(--emerald-900); border-color: var(--emerald-900); color: #fff; }
.page-btn.is-disabled { opacity: .4; pointer-events: none; }
.page-gap { color: var(--muted-2); padding: 0 .2rem; }

/* ---------- Detail artikel ---------- */
.detail-head { padding: 1.2rem 0 0; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; padding-top: 1.4rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.article-header { margin-bottom: 1.5rem; }
.article-badges { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: .9rem; }
.article-header h1 { font-size: clamp(1.9rem, 3.7vw, 2.9rem); letter-spacing: -.035em; color: var(--emerald-950); margin-bottom: .8rem; }
.article-lead { font-size: 1.03rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; max-width: 75ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .78rem; color: var(--muted); }
.article-meta > span { display: inline-flex; align-items: center; gap: .35rem; }
.article-meta .icon { width: 1rem; height: 1rem; }
.article-cover { margin: 0 0 1.4rem; border-radius: 22px; overflow: hidden; background: var(--emerald-900); }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.article-cover-fallback { height: 220px; border-radius: 22px; background: linear-gradient(135deg, var(--emerald-100), #e8f5df); color: var(--emerald-700); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; font-size: .82rem; margin-bottom: 1.4rem; }
.article-cover-fallback .icon { width: 2rem; height: 2rem; }
.article-actionbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.article-like-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.share-row { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.share-row--bordered { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.6rem; }
.share-row--wrap { flex-wrap: wrap; }
.share-label { font-size: .78rem; color: var(--muted); margin-right: .2rem; }
.share-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; transition: .18s; }
.share-btn:hover { color: var(--emerald-800); border-color: var(--emerald-300); background: var(--emerald-50); }
.share-btn--wa:hover { background: #ecfdf5; color: #047857; }
.share-btn--fb:hover { background: #eff6ff; color: #1d4ed8; }
.share-btn--x:hover { background: #f8fafc; color: #0f172a; }
.article-body { margin-top: .4rem; }
.prose { color: var(--ink-soft); font-size: .96rem; line-height: 1.8; }
.prose p { margin-bottom: 1.05rem; }
.prose--lead p:first-child { font-size: 1.03rem; }
.article-section { margin-bottom: 2rem; }
.article-section-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .8rem; }
.section-number { width: 34px; height: 34px; border-radius: 10px; background: var(--emerald-900); color: var(--lime); display: grid; place-items: center; font-family: var(--font-display); font-size: .72rem; font-weight: 800; flex: none; }
.article-section-head h2 { font-size: 1.22rem; margin: 0; display: inline-flex; align-items: center; gap: .45rem; color: var(--emerald-950); }
.article-section-head .icon { color: var(--emerald-600); }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; margin: 1rem 0 1.5rem; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-slider { position: relative; border-radius: 22px; overflow: hidden; background: var(--emerald-950); margin-bottom: 1.4rem; }
.slider-track { display: flex; transition: transform .45s cubic-bezier(.3,.8,.3,1); }
.slider-slide { min-width: 100%; margin: 0; }
.slider-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.slider-zoom { display: block; border: 0; padding: 0; width: 100%; background: transparent; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(2, 44, 34, .55); color: #fff; display: grid; place-items: center; z-index: 2; }
.slider-btn:hover { background: rgba(2, 44, 34, .8); }
.slider-prev { left: .8rem; }
.slider-next { right: .8rem; }
.slider-dots { position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%); display: flex; gap: .35rem; z-index: 2; }
.slider-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); padding: 0; transition: .2s; }
.slider-dots button.is-active { width: 20px; border-radius: 999px; background: var(--lime); }
.slider-count { position: absolute; right: .8rem; bottom: .8rem; z-index: 2; background: rgba(2, 44, 34, .65); color: #fff; font-size: .68rem; border-radius: 999px; padding: .18rem .55rem; }
.archive-banner { margin-bottom: 1.2rem; }
.article-sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 110px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.25rem; box-shadow: var(--shadow-xs); }
.sidebar-card h3 { font-size: .95rem; display: flex; align-items: center; gap: .4rem; margin-bottom: .8rem; }
.sidebar-card h3 .icon { color: var(--emerald-600); }
.author-card { text-align: center; }
.author-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto .8rem; border: 3px solid var(--emerald-50); }
.author-card .eyebrow { margin-bottom: .25rem; }
.author-card h3 { justify-content: center; font-size: 1.05rem; margin-bottom: .2rem; }
.author-card p { font-size: .8rem; color: var(--muted); margin-bottom: .6rem; }
.author-school { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; color: var(--muted-2); }
.info-list { display: flex; flex-direction: column; gap: .75rem; }
.info-list > div { display: flex; gap: .65rem; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); }
.info-list > div > .icon { color: var(--emerald-600); margin-top: .15rem; flex: none; }
.info-list small { display: block; font-size: .66rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .1rem; font-weight: 600; }
.info-list--compact { gap: .55rem; }
.info-list--compact > div { font-size: .8rem; }
.related-list { display: flex; flex-direction: column; gap: .7rem; }
.related-item { display: flex; align-items: center; gap: .65rem; padding: .4rem; margin: -.4rem; border-radius: 12px; transition: background .18s; }
.related-item:hover { background: var(--bg); }
.related-item img, .related-fallback { width: 58px; height: 46px; border-radius: 9px; object-fit: cover; flex: none; }
.related-fallback { background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; }
.related-item span:last-child { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.related-item strong { font-size: .78rem; line-height: 1.35; font-weight: 600; }
.related-item small { font-size: .66rem; color: var(--muted-2); }
.sidebar-cta { background: linear-gradient(150deg, var(--emerald-50), #f6fbef); text-align: center; }
.sidebar-cta-icon { width: 44px; height: 44px; border-radius: 13px; background: var(--lime-soft); color: var(--emerald-900); display: grid; place-items: center; margin: 0 auto .7rem; }
.sidebar-cta h3 { justify-content: center; }
.sidebar-cta p { font-size: .8rem; color: var(--muted); }
.sidebar-link-card { display: flex; align-items: center; gap: .4rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: .82rem; font-weight: 600; color: var(--emerald-800); }
.sidebar-link-card:hover { border-color: var(--emerald-300); }
.comments-section { margin-top: 2.5rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.comments-head h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; }
.comments-head h2 span { font-size: .8rem; font-weight: 600; background: var(--emerald-50); color: var(--emerald-700); padding: .1rem .5rem; border-radius: 999px; }
.comment-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.6rem; }
.comment-item { display: flex; gap: .8rem; }
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--emerald-100); color: var(--emerald-800); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; flex: none; }
.comment-body { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; }
.comment-meta { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .25rem; flex-wrap: wrap; }
.comment-meta strong { font-size: .84rem; }
.comment-meta span { font-size: .68rem; color: var(--muted-2); }
.comment-body p { font-size: .86rem; margin: 0; color: var(--ink-soft); white-space: pre-line; }
.comment-empty { font-size: .86rem; color: var(--muted); }
.comment-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem; }
.comment-form h3 { font-size: 1rem; margin-bottom: .8rem; }
.comment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .6rem; }
.comment-as { font-size: .82rem; color: var(--muted); padding: .6rem .2rem; }
.comment-submit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .7rem; flex-wrap: wrap; }

/* ---------- Profil komunitas ---------- */
.profile-intro-section { padding-top: 1rem; }
.profile-emblem-card { display: flex; align-items: center; gap: 1.8rem; background: linear-gradient(135deg, #ffffff, #f6fbf2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); margin-bottom: 2rem; position: relative; overflow: hidden; }
.profile-emblem-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; bottom: -150px; background: rgba(163, 230, 53, .12); }
.profile-emblem { width: 130px; height: 130px; border-radius: 26px; background: #fff; border: 1px solid var(--line); padding: .7rem; box-shadow: var(--shadow-xs); flex: none; display: grid; place-items: center; }
.profile-emblem img { max-width: 100%; max-height: 100%; border-radius: 16px; }
.profile-emblem-copy { flex: 1; position: relative; z-index: 1; }
.profile-emblem-copy h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .35rem; }
.profile-emblem-copy > p { color: var(--muted); font-size: .9rem; max-width: 66ch; margin-bottom: 1rem; }
.profile-stats { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.profile-stats > div { display: flex; flex-direction: column; }
.profile-stats strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--emerald-900); line-height: 1.1; }
.profile-stats span { font-size: .7rem; color: var(--muted); }
.profile-chair { position: relative; z-index: 1; text-align: center; padding: 1rem 1.2rem; border-left: 1px solid var(--line); flex: none; width: 200px; }
.chair-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-weight: 700; }
.chair-photo { width: 74px; height: 74px; border-radius: 50%; overflow: hidden; margin: .5rem auto; border: 3px solid var(--emerald-50); }
.chair-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-chair strong { display: block; font-family: var(--font-display); font-size: .88rem; }
.profile-chair p { font-size: .72rem; color: var(--muted); margin: .3rem 0 0; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.profile-content { display: flex; flex-direction: column; gap: 1.6rem; }
.content-block { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2rem); }
.content-block-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.1rem; }
.block-icon { width: 44px; height: 44px; border-radius: 13px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; flex: none; }
.block-icon .icon { width: 1.3rem; height: 1.3rem; }
.content-block-head h2 { font-size: 1.3rem; margin: 0; }
.content-block-head .eyebrow { margin-bottom: .2rem; }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vision-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; }
.vision-card--primary { background: linear-gradient(150deg, var(--emerald-900), var(--emerald-800)); color: #d1fae5; grid-column: 1 / -1; }
.vision-card--primary h3 { color: #fff; }
.vision-card--primary p { color: #d1fae5; margin: 0; font-size: .92rem; }
.vision-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.12); color: var(--lime); display: grid; place-items: center; margin-bottom: .6rem; }
.vision-card:not(.vision-card--primary) .vision-icon { background: var(--emerald-100); color: var(--emerald-700); }
.vision-card h3 { font-size: .95rem; margin-bottom: .4rem; }
.vision-card .prose { font-size: .85rem; line-height: 1.7; }
.vision-card .prose p { margin-bottom: .35rem; }
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.board-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; text-align: center; }
.board-card.is-chair { background: var(--emerald-50); border-color: #c6ecd8; }
.board-photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; margin: 0 auto .6rem; border: 3px solid #fff; box-shadow: var(--shadow-xs); }
.board-photo img { width: 100%; height: 100%; object-fit: cover; }
.board-card h3 { font-size: .9rem; margin-bottom: .1rem; }
.board-position { font-size: .68rem; color: var(--emerald-700); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.board-card p { font-size: .74rem; color: var(--muted); margin: .5rem 0 0; }
.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.member-card { display: flex; align-items: center; gap: .65rem; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: .6rem .75rem; }
.member-card img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.member-card div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.member-card strong { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-card small { font-size: .66rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.program-list { display: flex; flex-direction: column; gap: .6rem; }
.program-row { display: flex; align-items: flex-start; gap: .85rem; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.program-row:last-child { border-bottom: 0; padding-bottom: 0; }
.program-row-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; flex: none; }
.program-row h3 { font-size: .92rem; margin-bottom: .15rem; }
.program-row p { font-size: .78rem; color: var(--muted); margin: 0; }
.program-row .badge { margin-left: auto; flex: none; }
.profile-aside { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 110px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.25rem; }
.aside-card h3 { font-size: .95rem; margin-bottom: .9rem; }
.aside-cta { background: linear-gradient(150deg, var(--emerald-900), var(--emerald-950)); text-align: center; color: #d1fae5; border: 0; }
.aside-cta-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(163,230,53,.16); color: var(--lime); display: grid; place-items: center; margin: 0 auto .7rem; }
.aside-cta h3 { color: #fff; }
.aside-cta p { font-size: .8rem; color: #a7f3d0; }
.aside-cta .btn-ghost { color: #d1fae5; }
.aside-cta .btn-ghost:hover { background: rgba(255,255,255,.1); }
.quick-links { display: flex; flex-direction: column; }
.quick-links a { display: flex; align-items: center; gap: .5rem; padding: .55rem 0; font-size: .82rem; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.quick-links a:last-child { border-bottom: 0; }
.quick-links a .icon:last-child { margin-left: auto; color: var(--muted-2); }
.quick-links a:hover { color: var(--emerald-700); }
.profile-gallery { margin-top: 2.5rem; }

/* ---------- Pengumuman detail ---------- */
.event-detail { padding-top: 1.4rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.event-header { margin-bottom: 1.6rem; }
.event-header h1 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); letter-spacing: -.035em; color: var(--emerald-950); margin-bottom: .7rem; }
.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.event-main { min-width: 0; }
.event-poster { margin: 0 0 1.4rem; max-width: 560px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.event-poster img { width: 100%; }
.event-body { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.3rem, 3vw, 2rem); }
.event-aside { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 110px; }
.event-info-actions { display: flex; flex-direction: column; gap: .45rem; margin-top: 1rem; }
.qr-card { text-align: center; }
.qr-card img { width: 180px; height: 180px; margin: 0 auto .6rem; border-radius: 10px; border: 1px solid var(--line); }
.qr-card p { font-size: .74rem; color: var(--muted); margin: 0; }
.registration-section { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2rem); margin-top: 1.6rem; scroll-margin-top: 120px; }
.registration-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; margin-bottom: 1.2rem; flex-wrap: wrap; }
.registration-head h2 { font-size: 1.4rem; margin-bottom: .2rem; }
.registration-head p { font-size: .84rem; color: var(--muted); margin: 0; }
.quota-box { text-align: right; min-width: 150px; }
.quota-number { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--emerald-900); line-height: 1.1; }
.quota-number small { font-size: .9rem; color: var(--muted); }
.quota-box > small { font-size: .68rem; color: var(--muted); }
.progress { height: 8px; border-radius: 999px; background: #e8efe9; overflow: hidden; margin: .4rem 0 .3rem; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--emerald-500), var(--lime)); }
.registration-form .form-grid { margin-bottom: 1.1rem; }
.registration-actions { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.registration-deadline { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: var(--muted); margin: .8rem 0 0; }
.sidebar-promo { background: linear-gradient(145deg, var(--emerald-800), var(--emerald-950)); border-radius: 22px; padding: 1.5rem; color: #d1fae5; }
.sidebar-promo > span { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.12); color: var(--lime); display: grid; place-items: center; margin-bottom: .8rem; }
.sidebar-promo h3 { color: #fff; font-size: 1.02rem; }
.sidebar-promo p { font-size: .8rem; color: #a7f3d0; }
.sidebar-promo--lime { background: linear-gradient(145deg, var(--emerald-50), #f7fce9); color: var(--ink-soft); border: 1px solid #dceccd; }
.sidebar-promo--lime > span { background: var(--lime-soft); color: var(--emerald-900); }
.sidebar-promo--lime h3 { color: var(--emerald-950); }
.sidebar-promo--lime p { color: var(--muted); }

/* ---------- Materi detail ---------- */
.materi-detail { padding-top: 1.4rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.materi-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(1.8rem, 4vw, 2.8rem); align-items: start; }
.materi-preview-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; min-height: 380px; }
.pdf-preview { display: flex; flex-direction: column; }
.pdf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; background: var(--bg); border-bottom: 1px solid var(--line); font-size: .78rem; flex-wrap: wrap; }
.pdf-toolbar > span { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pdf-preview iframe { width: 100%; height: 72vh; border: 0; }
.preview-placeholder { min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; color: var(--muted); }
.preview-placeholder > span { width: 72px; height: 72px; border-radius: 20px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; margin-bottom: .9rem; }
.preview-placeholder > span .icon { width: 2rem; height: 2rem; }
.preview-placeholder h3 { font-size: 1.05rem; }
.preview-placeholder p { font-size: .85rem; margin-bottom: 1rem; }
.locked-panel { min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; background: linear-gradient(160deg, #f9fcf7, #eff6ea); }
.locked-icon { width: 76px; height: 76px; border-radius: 22px; background: var(--emerald-900); color: var(--lime); display: grid; place-items: center; margin-bottom: 1rem; box-shadow: var(--shadow); }
.locked-icon .icon { width: 2rem; height: 2rem; }
.locked-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.materi-sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 110px; }
.download-card { text-align: center; }
.download-icon { width: 52px; height: 52px; border-radius: 15px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; margin: 0 auto .7rem; }
.download-name { font-size: .8rem; font-weight: 600; color: var(--ink-soft); word-break: break-word; }
.download-card .info-list { text-align: left; margin: .9rem 0; }
.download-note { display: flex; gap: .35rem; align-items: center; justify-content: center; font-size: .68rem; color: var(--muted-2); margin: .8rem 0 0; }

/* ---------- Kontak ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .6rem; }
.contact-info > p { color: var(--muted); font-size: .92rem; max-width: 46ch; }
.contact-cards { display: flex; flex-direction: column; gap: .7rem; margin: 1.4rem 0; }
.contact-card { display: flex; align-items: center; gap: .85rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem; }
.contact-card:hover { border-color: var(--emerald-300); }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; flex: none; }
.contact-icon .icon { width: 1.25rem; height: 1.25rem; }
.contact-icon--lime { background: var(--lime-soft); color: var(--emerald-950); }
.contact-icon--dark { background: var(--emerald-900); color: var(--lime); }
.contact-card div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.contact-card small { font-size: .66rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.contact-card strong { font-size: .86rem; overflow-wrap: anywhere; }
.contact-card > .icon:last-child { color: var(--muted-2); }
.contact-socials { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.4rem; }
.contact-socials a { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--emerald-800); }
.contact-socials a:hover { background: var(--emerald-900); color: #fff; border-color: var(--emerald-900); }
.map-card { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--emerald-800), var(--emerald-950)); color: #fff; border-radius: 20px; padding: 1.6rem; min-height: 170px; display: flex; align-items: flex-end; gap: .9rem; }
.map-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(163,230,53,.28) 1.3px, transparent 1.3px); background-size: 22px 22px; opacity: .5; }
.map-pin { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--emerald-950); display: grid; place-items: center; position: relative; z-index: 1; flex: none; }
.map-copy { position: relative; z-index: 1; display: flex; flex-direction: column; }
.map-copy small { font-size: .66rem; color: var(--lime-soft); text-transform: uppercase; letter-spacing: .06em; }
.map-copy strong { font-size: .9rem; }
.map-copy span { font-size: .74rem; color: #a7f3d0; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.4rem, 3vw, 2.1rem); box-shadow: var(--shadow-sm); }
.contact-form-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.3rem; }
.contact-form-head h2 { font-size: 1.4rem; margin: 0; }

/* ---------- Pengembang ---------- */
.developer-layout { display: grid; grid-template-columns: 360px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.developer-card { background: linear-gradient(160deg, #fff, #f4faef); border: 1px solid var(--line); border-radius: 28px; padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); position: sticky; top: 110px; }
.developer-photo-wrap { position: relative; width: 190px; margin: 0 auto 1.2rem; }
.developer-photo { width: 190px; height: 190px; border-radius: 34px; object-fit: cover; border: 6px solid #fff; box-shadow: var(--shadow); }
.developer-badge { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .3rem; background: var(--emerald-900); color: var(--lime-soft); font-size: .68rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; }
.developer-card h2 { font-size: 1.4rem; margin-bottom: .2rem; }
.developer-role { font-size: .8rem; color: var(--emerald-700); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .8rem; }
.developer-bio { font-size: .85rem; color: var(--muted); }
.developer-contacts { display: flex; flex-direction: column; gap: .45rem; }
.developer-content { display: flex; flex-direction: column; gap: 1.4rem; }
.feature-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature-info { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; }
.feature-info > span { width: 40px; height: 40px; border-radius: 11px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; margin-bottom: .7rem; }
.feature-info h3 { font-size: .95rem; margin-bottom: .3rem; }
.feature-info p { font-size: .8rem; color: var(--muted); margin: 0; }
.platform-info-card { background: var(--emerald-900); color: #d1fae5; border-radius: 20px; padding: 1.4rem; }
.platform-info-card > div { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; color: #fff; }
.platform-info-card p { font-size: .82rem; margin: 0 0 .3rem; color: #a7f3d0; }
.platform-info-card a { color: var(--lime-soft); }

/* ---------- Pencarian ---------- */
.search-hero-form { display: flex; align-items: center; gap: .55rem; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: .45rem .5rem .45rem 1rem; max-width: 760px; margin-top: 1.2rem; color: var(--muted); box-shadow: var(--shadow-xs); }
.search-hero-form:focus-within { border-color: var(--emerald-300); }
.search-hero-form input { flex: 1; border: 0; outline: none; background: transparent; font-size: .93rem; min-width: 0; padding: .5rem 0; }
.search-summary { font-size: .84rem; color: var(--muted); margin: .8rem 0 0; }
.search-group { margin-bottom: 2.6rem; }
.search-empty { text-align: center; max-width: 560px; margin: 0 auto; padding: 3rem 1rem; }
.search-empty-icon { width: 72px; height: 72px; border-radius: 22px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; margin: 0 auto 1rem; }
.search-empty-icon .icon { width: 1.8rem; height: 1.8rem; }
.search-suggestions { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }

/* ---------- Error ---------- */
.page-error { min-height: 100vh; background: var(--cream); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.error-bg span { position: absolute; border-radius: 50%; }
.error-bg span:nth-child(1) { width: 480px; height: 480px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(163,230,53,.25), transparent 65%); }
.error-bg span:nth-child(2) { width: 420px; height: 420px; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(16,185,129,.18), transparent 65%); }
.error-bg span:nth-child(3) { inset: 0; background-image: radial-gradient(rgba(6,78,59,.08) 1px, transparent 1px); background-size: 26px 26px; border-radius: 0; mask-image: linear-gradient(to bottom, #000, transparent); -webkit-mask-image: linear-gradient(to bottom, #000, transparent); }
.error-shell { position: relative; z-index: 1; width: min(760px, calc(100vw - 2rem)); text-align: center; }
.error-brand { justify-content: center; margin-bottom: 2rem; }
.error-brand .brand-name { color: var(--emerald-950); }
.error-card { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-lg); }
.error-code { display: block; font-family: var(--font-display); font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(135deg, var(--emerald-900), var(--emerald-500), var(--lime)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; }
.error-card h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.error-card > p { color: var(--muted); max-width: 50ch; margin: 0 auto 1.6rem; }
.error-actions { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.error-hint { display: block; margin-top: 1.6rem; font-size: .72rem; color: var(--muted-2); }

/* =============================================================
   AUTH
   ============================================================= */
.auth-page { background: var(--cream); }
.auth-shell { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 100vh; }
.auth-side { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--emerald-950), var(--emerald-800)); color: #d1fae5; padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; min-height: 100vh; }
.auth-side-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(163,230,53,.16) 1.2px, transparent 1.2px); background-size: 28px 28px; mask-image: linear-gradient(160deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(160deg, #000, transparent 70%); }
.brand--auth { position: relative; z-index: 1; }
.brand--auth .brand-name { color: #fff; }
.brand--auth .brand-tag { color: #6ee7b7; white-space: normal; }
.auth-side-copy { position: relative; z-index: 1; margin-top: clamp(2rem, 6vh, 5rem); max-width: 520px; }
.auth-side-copy h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.04em; margin-bottom: 1rem; }
.auth-side-copy > p { color: #a7f3d0; font-size: .95rem; max-width: 48ch; }
.auth-benefits { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-direction: column; gap: .7rem; }
.auth-benefits li { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: #d1fae5; }
.auth-benefits .icon { color: var(--lime); }
.auth-side-art { position: relative; z-index: 1; margin: auto 0 1rem; max-width: 460px; margin-left: auto; margin-right: auto; width: 100%; opacity: .95; }
.auth-side-art img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.25)); }
.auth-side-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; color: #6ee7b7; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; flex-wrap: wrap; }
.auth-side-foot span { display: inline-flex; align-items: center; gap: .35rem; }
.auth-main { display: flex; flex-direction: column; padding: clamp(1.2rem, 3vw, 2rem); min-height: 100vh; }
.auth-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.auth-topbar .lang-switch a { color: var(--muted); }
.auth-topbar .lang-switch a.is-active { color: var(--emerald-800); }
.auth-topbar .lang-switch span { color: var(--line-strong); }
.auth-topbar .topbar-btn { color: var(--muted); border: 1px solid var(--line); background: #fff; }
.auth-back { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.auth-back:hover { color: var(--emerald-700); }
.auth-form-wrap { width: min(560px, 100%); margin: auto; }
.toast-stack--auth { position: static; width: 100%; margin-bottom: 1rem; }
.auth-form-head { margin-bottom: 1.5rem; }
.auth-form-head h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); letter-spacing: -.035em; margin-bottom: .4rem; }
.auth-form-head p { font-size: .9rem; color: var(--muted); margin: 0; }
.auth-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.3rem, 3vw, 1.9rem); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.auth-form--register { gap: .9rem; }
.auth-form-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.auth-help { font-size: .74rem; color: var(--muted-2); }
.auth-divider { display: flex; align-items: center; gap: .8rem; color: var(--muted-2); font-size: .74rem; margin: .1rem 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-switch { text-align: center; font-size: .84rem; color: var(--muted); margin: 0; }
.auth-switch a { color: var(--emerald-700); font-weight: 700; }
.auth-switch a:hover { color: var(--emerald-900); }
.auth-note { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; padding: .85rem 1rem; background: #fff; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); font-size: .78rem; }
.auth-note .icon { color: var(--emerald-700); flex: none; margin-top: .15rem; }
.auth-note p { margin: 0; }
.auth-copyright { text-align: center; font-size: .72rem; color: var(--muted-2); margin: 1.2rem 0 0; }
.checkbox--terms { font-size: .8rem; }

/* =============================================================
   DASHBOARD
   ============================================================= */
.dash-shell { display: flex; min-height: 100vh; background: #f2f6f1; }
.sidebar { width: 272px; position: fixed; inset: 0 auto 0 0; z-index: 80; display: flex; flex-direction: column; background: linear-gradient(180deg, #042f24 0%, #064e3b 70%, #065f46 100%); color: #c7f5df; overflow-y: auto; scrollbar-width: thin; }
.sidebar-brand { display: flex; align-items: center; gap: .7rem; padding: 1.3rem 1.2rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); flex: none; }
.sidebar-brand img { width: 44px; height: 44px; border-radius: 12px; background: #fff; }
.sidebar-brand .brand-name { color: #fff; font-size: 1.15rem; }
.sidebar-brand .brand-tag { color: #6ee7b7; font-size: .58rem; max-width: 165px; }
.side-nav { flex: 1; padding: .9rem .7rem 1.2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.side-group { display: flex; flex-direction: column; gap: .12rem; }
.side-group-label { font-family: var(--font-display); font-size: .58rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #6b9f88; padding: .3rem .75rem .35rem; }
.side-link { display: flex; align-items: center; gap: .7rem; padding: .62rem .75rem; border-radius: 10px; font-size: .82rem; font-weight: 500; color: #b7dcc9; transition: background .16s, color .16s; position: relative; }
.side-link .icon { width: 1.1rem; height: 1.1rem; color: #7fb8a0; }
.side-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.side-link.is-active { background: rgba(163, 230, 53, .14); color: #fff; font-weight: 600; }
.side-link.is-active::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px; border-radius: 0 3px 3px 0; background: var(--lime); }
.side-link.is-active .icon { color: var(--lime); }
.side-badge { margin-left: auto; background: var(--lime); color: var(--emerald-950); font-size: .62rem; font-weight: 800; border-radius: 999px; padding: .1rem .45rem; }
.side-badge--muted { background: rgba(255,255,255,.14); color: #d1fae5; }
.sidebar-foot { flex: none; padding: 1rem; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-user { display: flex; align-items: center; gap: .6rem; padding: .5rem; border-radius: 12px; background: rgba(255,255,255,.06); }
.sidebar-user img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); }
.sidebar-user div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sidebar-user strong { font-size: .76rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user small { font-size: .62rem; color: #6ee7b7; }
.sidebar-user form { display: inline-flex; }
.sidebar-user button { background: transparent; border: 0; color: #9cc4b0; padding: .3rem; border-radius: 7px; }
.sidebar-user button:hover { color: #fff; background: rgba(255,255,255,.1); }
.sidebar-public { display: flex; align-items: center; gap: .4rem; justify-content: center; font-size: .7rem; color: #9cc4b0; margin-top: .6rem; }
.sidebar-public:hover { color: var(--lime-soft); }
.dash-main { flex: 1; min-width: 0; margin-left: 272px; display: flex; flex-direction: column; min-height: 100vh; }
.dash-topbar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 1rem; background: #fff; border-bottom: 1px solid var(--line); padding: .7rem clamp(1rem, 2.5vw, 2rem); min-height: 66px; }
.dash-menu-btn { display: none; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; color: var(--ink); }
.dash-title { flex: 1; min-width: 0; }
.dash-title h1 { font-size: 1.15rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-top-actions { display: flex; align-items: center; gap: .5rem; }
.dash-lang { display: flex; align-items: center; gap: .25rem; font-size: .74rem; font-weight: 800; color: var(--muted-2); padding: 0 .35rem; }
.dash-lang a { color: var(--muted-2); }
.dash-lang a:hover, .dash-lang a.is-active { color: var(--emerald-800); }
.dash-lang span { color: var(--line-strong); }
.notif-unread { background: #f8fcf3; }
.dash-bell { position: relative; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--muted); }
.dash-bell:hover { color: var(--emerald-700); border-color: var(--emerald-300); }
.dash-bell-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 .3rem; border-radius: 999px; background: var(--berry); color: #fff; font-size: .58rem; font-weight: 700; display: grid; place-items: center; }
.dash-user { display: flex; align-items: center; gap: .55rem; padding: .28rem .6rem .28rem .28rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.dash-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.dash-user-meta { display: flex; flex-direction: column; line-height: 1.15; }
.dash-user-meta strong { font-size: .72rem; white-space: nowrap; }
.dash-user-meta small { font-size: .58rem; color: var(--muted); }
.dash-view-site { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 600; color: var(--emerald-700); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .8rem; background: #fff; }
.dash-view-site:hover { border-color: var(--emerald-300); background: var(--emerald-50); }
.dash-content { padding: 1.8rem clamp(1rem, 2.5vw, 2.2rem) 3rem; width: 100%; max-width: 1440px; }
.dash-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.dash-page-head h1 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 .2rem; letter-spacing: -.03em; }
.dash-page-head p { margin: 0; font-size: .85rem; color: var(--muted); }
.dash-page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.2rem; display: flex; align-items: flex-start; gap: .85rem; box-shadow: var(--shadow-xs); }
.stat-card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--emerald-50); color: var(--emerald-700); }
.stat-card-icon--lime { background: var(--lime-soft); color: var(--emerald-950); }
.stat-card-icon--amber { background: var(--amber-bg); color: var(--amber); }
.stat-card-icon--blue { background: var(--blue-bg); color: var(--blue); }
.stat-card-icon--rose { background: #fff1f2; color: var(--berry); }
.stat-card-copy { display: flex; flex-direction: column; min-width: 0; }
.stat-card-copy small { font-size: .7rem; color: var(--muted); font-weight: 500; }
.stat-card-copy strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1.2; color: var(--emerald-950); letter-spacing: -.02em; }
.stat-trend { font-size: .64rem; color: var(--emerald-700); }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.dash-grid--even { grid-template-columns: 1fr 1fr; }
.dash-grid--wide { grid-template-columns: 1fr; }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-xs); min-width: 0; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dash-card-head h2, .dash-card-head h3 { font-size: .95rem; margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.dash-card-head .icon { color: var(--emerald-600); }
.dash-card-head a { font-size: .74rem; font-weight: 600; color: var(--emerald-700); }
.dash-card-body { padding: 1.2rem; }
.dash-card-body--flush { padding: 0; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .84rem; }
.data-table th { text-align: left; padding: .8rem 1.1rem; background: #f6faf4; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); white-space: nowrap; }
.data-table td { padding: .8rem 1.1rem; border-bottom: 1px solid #edf2ed; vertical-align: middle; color: var(--ink-soft); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafcf8; }
.data-table .cell-title { font-weight: 600; color: var(--ink); }
.data-table .cell-sub { font-size: .7rem; color: var(--muted-2); }
.table-actions { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.table-actions form { display: inline; }
.mini-btn { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; height: 30px; min-width: 30px; padding: 0 .5rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .7rem; font-weight: 600; }
.mini-btn:hover { border-color: var(--emerald-300); color: var(--emerald-700); background: var(--emerald-50); }
.mini-btn--danger:hover { border-color: #fecaca; color: var(--danger); background: var(--danger-bg); }
.mini-btn--solid { background: var(--emerald-900); border-color: var(--emerald-900); color: #fff; }
.mini-btn--solid:hover { background: var(--emerald-800); color: #fff; }
.status { font-size: .64rem; padding: .22rem .55rem; border-radius: 999px; }
.status--approved, .status--published, .status--confirmed { background: var(--emerald-100); color: var(--emerald-800); }
.status--pending, .status--registered { background: var(--amber-bg); color: var(--amber); }
.status--draft { background: #eef2f0; color: #475569; }
.status--rejected, .status--spam, .status--cancelled { background: var(--danger-bg); color: var(--danger); }
.status--archived { background: #e2e8f0; color: #475569; }
.chip--status { padding: .25rem .6rem; border-radius: 999px; font-size: .64rem; font-weight: 700; }
.filters-inline { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.filters-inline .input, .filters-inline .select { padding: .55rem .8rem; font-size: .8rem; border-radius: 10px; width: auto; }
.filters-inline .filter-search { padding: .45rem .8rem; flex: 1; min-width: 180px; }
.notice { display: flex; gap: .7rem; align-items: flex-start; background: var(--emerald-50); border: 1px solid #cfeddb; border-radius: 14px; padding: .85rem 1rem; font-size: .8rem; color: var(--emerald-900); margin-bottom: 1.2rem; }
.notice .icon { flex: none; margin-top: .1rem; }
.notice--warning { background: var(--amber-bg); border-color: #fde68a; color: #78350f; }
.notice--danger { background: var(--danger-bg); border-color: #fecaca; color: #7f1d1d; }

.bar-chart { display: flex; align-items: flex-end; gap: .55rem; height: 210px; padding-top: .5rem; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .45rem; height: 100%; justify-content: flex-end; min-width: 0; }
.bar-stack { display: flex; gap: 2px; align-items: flex-end; width: 100%; justify-content: center; height: 100%; }
.bar { width: 12px; min-height: 4px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--emerald-500), var(--emerald-700)); transition: height .4s ease; }
.bar--lime { background: linear-gradient(180deg, var(--lime), #84cc16); }
.bar-label { font-size: .6rem; color: var(--muted-2); white-space: nowrap; }
.chart-legend { display: flex; gap: 1rem; font-size: .68rem; color: var(--muted); flex-wrap: wrap; margin-top: .7rem; }
.chart-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.legend-swatch { width: 9px; height: 9px; border-radius: 3px; background: var(--emerald-500); }
.legend-swatch--lime { background: var(--lime); }
.progress-row { margin-bottom: .8rem; }
.progress-row-head { display: flex; justify-content: space-between; font-size: .74rem; margin-bottom: .3rem; color: var(--ink-soft); }
.progress-row-head span:last-child { color: var(--muted); }
.progress--sm { height: 7px; margin: 0; }
.progress--sm > span { background: var(--emerald-500); }
.progress--lime > span { background: var(--lime-dark); }
.progress--amber > span { background: #f59e0b; }
.storage-summary { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.donut { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; flex: none; position: relative; background: conic-gradient(var(--emerald-600) 0 var(--p, 0%), #e8efe9 var(--p, 0%) 100%); }
.donut::before { content: ""; position: absolute; inset: 12px; background: #fff; border-radius: 50%; }
.donut-center { position: relative; z-index: 1; text-align: center; }
.donut-center strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; line-height: 1.1; }
.donut-center small { font-size: .6rem; color: var(--muted); }
.storage-legend { flex: 1; min-width: 180px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.2rem, 2.5vw, 1.8rem); box-shadow: var(--shadow-xs); }
.form-section { padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px dashed var(--line); }
.form-section:last-of-type { border-bottom: 0; }
.form-section-head { margin-bottom: 1rem; }
.form-section-head h2, .form-section-head h3 { font-size: 1rem; margin-bottom: .2rem; }
.form-section-head p { font-size: .76rem; color: var(--muted); margin: 0; }
.form-actions--sticky { position: sticky; bottom: 0; background: #fff; padding: 1rem 0 0; border-top: 1px solid var(--line); margin-top: 1.2rem; }
.upload-zone { position: relative; border: 2px dashed var(--line-strong); border-radius: 16px; background: var(--bg); padding: 1.6rem; text-align: center; transition: border-color .2s, background .2s; }
.upload-zone:hover, .upload-zone.is-drag { border-color: var(--emerald-500); background: var(--emerald-50); }
.upload-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-zone .upload-icon { width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--emerald-700); display: grid; place-items: center; margin: 0 auto .7rem; box-shadow: var(--shadow-xs); }
.upload-zone strong { display: block; font-size: .9rem; }
.upload-zone span { font-size: .74rem; color: var(--muted); }
.upload-zone > .btn { margin-top: .8rem; pointer-events: none; }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; margin-top: .8rem; }
.preview-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; aspect-ratio: 4/3; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-remove { position: absolute; top: .3rem; right: .3rem; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(2,44,34,.75); color: #fff; display: grid; place-items: center; }
.preview-label { position: absolute; left: 0; right: 0; bottom: 0; font-size: .6rem; background: rgba(2,44,34,.7); color: #fff; padding: .18rem .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.existing-files { display: flex; flex-direction: column; gap: .4rem; margin-top: .7rem; }
.existing-file { display: flex; align-items: center; gap: .5rem; font-size: .76rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .65rem; }
.existing-file span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.existing-file label { display: inline-flex; align-items: center; gap: .25rem; font-size: .68rem; color: var(--danger); cursor: pointer; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; }
.media-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.media-thumb { aspect-ratio: 4/3; background: var(--emerald-50); display: grid; place-items: center; color: var(--emerald-700); overflow: hidden; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-thumb .icon { width: 2rem; height: 2rem; }
.media-info { padding: .65rem .75rem; display: flex; flex-direction: column; gap: .15rem; }
.media-info strong { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-info small { font-size: .62rem; color: var(--muted); }
.media-actions { display: flex; gap: .25rem; padding: 0 .65rem .65rem; }
.dash-overlay { display: none; position: fixed; inset: 0; background: rgba(2,44,34,.5); z-index: 75; }
.dash-overlay.is-open { display: block; }
.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; overflow-x: auto; }
.tab { padding: .6rem .9rem; font-size: .8rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--emerald-700); }
.tab.is-active { color: var(--emerald-800); border-color: var(--emerald-600); }
.pill-group { display: flex; gap: .35rem; flex-wrap: wrap; }
.pill { padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); font-size: .72rem; font-weight: 600; color: var(--muted); background: #fff; }
.pill:hover, .pill.is-active { background: var(--emerald-900); border-color: var(--emerald-900); color: #fff; }
.overview-welcome { background: linear-gradient(135deg, var(--emerald-900), var(--emerald-800)); color: #d1fae5; border-radius: 22px; padding: 1.6rem 1.8rem; margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.overview-welcome::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -130px; background: rgba(163,230,53,.14); }
.overview-welcome h2 { color: #fff; font-size: 1.4rem; margin-bottom: .3rem; }
.overview-welcome p { color: #a7f3d0; font-size: .86rem; margin: 0; max-width: 70ch; }
.overview-welcome .btn { margin-top: 1rem; }
.welcome-stats { display: flex; gap: 1.5rem; margin-top: 1rem; flex-wrap: wrap; }
.welcome-stats span { font-size: .74rem; color: #a7f3d0; }
.welcome-stats strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.action-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.action-tile { display: flex; flex-direction: column; gap: .35rem; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: .9rem; font-size: .78rem; font-weight: 600; color: var(--ink-soft); transition: .2s; }
.action-tile:hover { background: var(--emerald-50); border-color: var(--emerald-300); color: var(--emerald-800); }
.action-tile .icon { color: var(--emerald-700); }
.ai-summary-list { display: flex; flex-direction: column; gap: .65rem; }
.summary-item { display: flex; align-items: center; gap: .7rem; font-size: .8rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.summary-item:last-child { border-bottom: 0; }
.summary-item strong { margin-left: auto; font-family: var(--font-display); }
.bottom-note { font-size: .7rem; color: var(--muted-2); margin-top: 1rem; }

/* =============================================================
   RESPONSIF
   ============================================================= */
@media (max-width: 1180px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item:nth-child(4) { border-right: 0; }
  .stat-item:nth-child(n+5) { border-top: 1px solid var(--line); }
  .nav-link { padding-left: .72rem; padding-right: .72rem; font-size: .79rem; }
  .search-mini { width: 220px; }
  .news-list-layout { grid-template-columns: 1fr 300px; gap: 1.4rem; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry--compact { columns: 3; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .site-topbar .topbar-contact span, .site-topbar .topbar-link, .site-topbar .topbar-socials { display: none; }
  .header-inner { min-height: 74px; }
  .search-mini { display: none; }
  .main-nav-wrap { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-title { max-width: 18ch; }
  .hero-art { max-width: 640px; margin: 0 auto; width: 100%; }
  .hero-float--top { left: 6px; }
  .hero-float--bottom { right: 6px; }
  .stats-strip { margin-top: -3.4rem; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item { padding: 1rem .8rem; }
  .stat-copy strong { font-size: 1.2rem; }
  .news-layout { grid-template-columns: 1fr; }
  .news-side { display: grid; grid-template-columns: 1fr 1fr; }
  .news-cta-card { grid-column: 1 / -1; }
  .news-card--featured .news-cover { min-height: 280px; }
  .split-layout { grid-template-columns: 1fr; }
  .split-aside { max-width: 560px; }
  .agenda-layout { grid-template-columns: 1fr; }
  .agenda-aside { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .agenda-aside .calendar-card { grid-row: span 2; }
  .article-shell { grid-template-columns: 1fr; }
  .article-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .article-sidebar > .sidebar-card:first-child { grid-column: 1 / -1; }
  .event-layout { grid-template-columns: 1fr; }
  .event-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .materi-layout { grid-template-columns: 1fr; }
  .materi-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .profile-emblem-card { flex-wrap: wrap; }
  .profile-chair { border-left: 0; border-top: 1px solid var(--line); width: 100%; display: flex; align-items: center; gap: .8rem; text-align: left; padding: 1rem 0 0; }
  .chair-photo { margin: 0; width: 54px; height: 54px; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-layout { grid-template-columns: 1fr; }
  .developer-layout { grid-template-columns: 1fr; }
  .developer-card { position: static; max-width: 460px; }
  .news-list-layout { grid-template-columns: 1fr; }
  .list-sidebar { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { min-height: 100vh; }
  .dash-main { margin-left: 0; }
  .sidebar { transform: translateX(-102%); transition: transform .28s cubic-bezier(.22,.8,.3,1); box-shadow: var(--shadow-lg); }
  .sidebar.is-open { transform: translateX(0); }
  .dash-menu-btn { display: inline-flex; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid, .dash-grid--even { grid-template-columns: 1fr; }
  .data-table { min-width: 680px; }
}

@media (max-width: 820px) {
  .header-auth { display: none; }
  .user-chip span { display: none; }
  .user-chip { padding: .28rem; }
  .topbar-inner { justify-content: flex-end; }
  .topbar-contact { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: 1px solid var(--line); }
  .stat-item:nth-child(2n) { border-right: 0; }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat-item:nth-child(4) { border-right: 0; }
  .stat-item:nth-child(6) { border-right: 0; }
  .stat-item:last-child { border-right: 0; }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .news-side { grid-template-columns: 1fr; }
  .news-featured .news-card--featured { grid-template-columns: 1fr; }
  .news-featured .news-card--featured .news-cover { min-height: 240px; }
  .material-grid, .material-grid--wide { grid-template-columns: 1fr; }
  .program-detail-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .gallery-masonry--compact { columns: 2; }
  .page-head-inner--split { flex-direction: column; align-items: flex-start; }
  .filter-form, .filter-panel--slim .filter-form { grid-template-columns: 1fr 1fr; }
  .filter-form .btn { grid-column: 1 / -1; }
  .filter-search { grid-column: 1 / -1; }
  .vision-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .member-grid { grid-template-columns: 1fr; }
  .article-sidebar { grid-template-columns: 1fr; }
  .event-aside { grid-template-columns: 1fr; }
  .materi-sidebar { grid-template-columns: 1fr; }
  .profile-aside { grid-template-columns: 1fr; }
  .list-sidebar { grid-template-columns: 1fr; }
  .agenda-aside { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .comment-fields { grid-template-columns: 1fr; }
  .auth-form-wrap { margin-top: 1rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .dash-lang, .dash-extra { display: none; }
  .dash-user-meta { display: none; }
  .dash-user { padding: .25rem; }
  .dash-view-site span { display: none; }
  .registration-head { flex-direction: column; }
  .quota-box { text-align: left; }
  .search-hero-form { flex-wrap: wrap; }
  .search-hero-form .btn { width: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 1rem; }
  .brand-name { font-size: 1.18rem; }
  .brand-logo { width: 44px; height: 44px; border-radius: 12px; }
  .brand-tag { font-size: .58rem; max-width: 190px; }
  .header-inner { min-height: 66px; gap: .65rem; }
  .topbar-tools { gap: .4rem; }
  .topbar-socials, .topbar-link { display: none; }
  .site-topbar { font-size: .7rem; }
  .topbar-inner { min-height: 32px; }
  .hero { padding: 2.4rem 0 4.8rem; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); max-width: 100%; }
  .hero-sub { font-size: .94rem; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: .6rem 1rem; }
  .trust-sep { display: none; }
  .hero-float { padding: .5rem .7rem; border-radius: 13px; }
  .hero-float strong { font-size: .72rem; }
  .hero-float small { font-size: .6rem; }
  .hero-float-icon { width: 28px; height: 28px; }
  .hero-float--top { left: -2px; top: 8px; }
  .hero-float--bottom { right: -2px; bottom: 12px; }
  .stats-strip { margin-top: -3rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .stat-item { padding: .9rem .75rem; gap: .5rem; }
  .stat-icon { width: 32px; height: 32px; border-radius: 9px; }
  .stat-copy strong { font-size: 1.08rem; }
  .stat-copy small { font-size: .6rem; }
  .section { padding: 2.6rem 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: .7rem; margin-bottom: 1.4rem; }
  .section-head .section-link { align-self: flex-start; }
  .section-title { font-size: 1.55rem; }
  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .practice-cover { aspect-ratio: 16/9; }
  .news-card--featured .news-title { font-size: 1.25rem; }
  .program-grid { grid-template-columns: 1fr; }
  .news-featured .news-card--featured .news-cover { min-height: 200px; }
  .agenda-card { align-items: flex-start; padding: .9rem; gap: .8rem; }
  .agenda-card--large .date-box { width: 60px; min-height: 68px; }
  .agenda-card--large .date-day { font-size: 1.4rem; }
  .agenda-cta { display: none; }
  .agenda-actions .btn { flex: 1; }
  .material-card { padding: .9rem; }
  .material-action { display: none; }
  .gallery-masonry, .gallery-masonry--compact { columns: 1; }
  .article-gallery { grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .footer-stats-row { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-head-copy h1 { font-size: 1.85rem; max-width: 100%; }
  .page-head-copy p { font-size: .9rem; }
  .page-head-cta { width: 100%; }
  .filter-form, .filter-panel--slim .filter-form { grid-template-columns: 1fr; }
  .filter-form .btn, .filter-search { grid-column: auto; }
  .results-sort-links { display: none; }
  .pagination { margin-top: 1.7rem; }
  .article-actionbar { flex-direction: column; align-items: flex-start; }
  .share-row { width: 100%; }
  .article-header h1, .event-header h1 { font-size: 1.6rem; }
  .article-meta { gap: .3rem .8rem; }
  .article-section-head h2 { font-size: 1.05rem; }
  .prose { font-size: .92rem; }
  .comments-section { margin-top: 1.8rem; }
  .comment-submit { flex-direction: column; align-items: stretch; }
  .comment-submit .btn { width: 100%; }
  .profile-emblem-card { padding: 1.2rem; border-radius: 20px; }
  .profile-emblem { width: 88px; height: 88px; border-radius: 20px; }
  .profile-stats { gap: 1.2rem; }
  .profile-emblem-copy h2 { font-size: 1.35rem; }
  .profile-chair { flex-direction: column; text-align: center; }
  .board-grid { grid-template-columns: 1fr; }
  .content-block { padding: 1.2rem; border-radius: 18px; }
  .event-poster { max-width: 100%; }
  .registration-form .form-grid { grid-template-columns: 1fr; }
  .registration-actions { flex-direction: column; align-items: stretch; }
  .registration-actions .btn { width: 100%; }
  .materi-preview-card { min-height: auto; }
  .pdf-preview iframe { height: 56vh; }
  .contact-form-card { padding: 1.2rem; }
  .developer-photo-wrap, .developer-photo { width: 150px; }
  .developer-photo { height: 150px; }
  .feature-info-grid { grid-template-columns: 1fr; }
  .error-card { padding: 1.6rem 1.2rem; border-radius: 20px; }
  .error-actions .btn { width: 100%; }
  .auth-form { padding: 1.2rem; border-radius: 18px; }
  .auth-topbar { margin-bottom: .4rem; }
  .auth-copyright { font-size: .66rem; }
  .form-grid { grid-template-columns: 1fr; }
  .dash-content { padding: 1.2rem .9rem 2.5rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .stat-card { padding: .85rem; gap: .6rem; border-radius: 14px; }
  .stat-card-icon { width: 34px; height: 34px; border-radius: 9px; }
  .stat-card-copy strong { font-size: 1.25rem; }
  .stat-card-copy small { font-size: .62rem; }
  .dash-topbar { padding: .55rem .8rem; gap: .5rem; min-height: 58px; }
  .dash-title h1 { font-size: .95rem; }
  .dash-view-site { display: none; }
  .dash-page-head { margin-bottom: 1rem; }
  .dash-page-head h1 { font-size: 1.25rem; }
  .dash-page-actions { width: 100%; }
  .dash-page-actions .btn { flex: 1; }
  .dash-card-head { padding: .85rem 1rem; }
  .dash-card-body { padding: 1rem; }
  .bar-chart { height: 170px; gap: .3rem; }
  .bar { width: 8px; }
  .tabs { margin-bottom: .9rem; }
  .data-table th, .data-table td { padding: .65rem .8rem; }
  .form-card { padding: 1.1rem; }
  .sidebar { width: min(290px, 85vw); }
  .overview-welcome { padding: 1.2rem; }
  .overview-welcome h2 { font-size: 1.15rem; }
  .storage-summary { gap: 1rem; }
  .donut { width: 110px; height: 110px; }
}

@media (max-width: 400px) {
  .stat-copy small { font-size: .56rem; }
  .topbar-tools .lang-switch { display: none; }
  .hero-actions .btn { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Animasi reveal ringan */
.reveal { animation: fadeUp .65s cubic-bezier(.22,.8,.3,1) both; }
.hero-copy .reveal:nth-child(2) { animation-delay: .05s; }
.hero-copy .reveal:nth-child(3) { animation-delay: .1s; }
.hero-copy .reveal:nth-child(4) { animation-delay: .15s; }
.hero-copy .reveal:nth-child(5) { animation-delay: .2s; }
.hero-art.reveal { animation-delay: .12s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
