/* Hallmark · redesign · macrostructure: MBS reference (studied-DNA, source: C:\xampp\htdocs\mbs = mbs.unmuhpnk.ac.id)
 * theme: studied-DNA re-keyed · paper #F5F8FC · grad navy #0B2A5B → #1E5FB8 · accent orange #F28A1E / ink #B9560A
 * fonts: Nunito (lokal, sama dengan MBS) · tone: institutional
 *
 * TEMA UTAMA "BIRU" SDGs UM Pontianak — gaya MBS (lihat .claude/skills/mbs-reference-theme/SKILL.md).
 * Aturan:
 *  · Semua aturan di-scope [data-theme="biru"] → tema neu (site.css + sdgs-extra.css) tidak tersentuh.
 *  · Komponen BARU (topbar, pita logo, switch, slider coverflow, ombak) default-nya disembunyikan,
 *    lalu dinyalakan di tema biru. Satu-satunya pengecualian: switch tema tampil di kedua tema.
 *  · Markup & selector yang dipakai JS lama TIDAK diubah; yang berubah hanya tampilannya.
 */

/* =========================================================
   0. KOMPONEN BARU — default (tema neu): tersembunyi
   ========================================================= */
.topbar, .brand-pita, .ns-slider, .ns-medali, .footer-ombak, .footer-social-biru, .nav-home-ic { display: none; }

/* Switch tema — tampil di KEDUA tema (satu-satunya jalan kembali ke tema utama). */
.theme-switch {
  position: relative; flex: 0 0 auto; width: 58px; height: 32px; padding: 0;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
}
.theme-switch .ts-track {
  position: absolute; inset: 0; border-radius: inherit;
  display: flex; align-items: center; justify-content: space-between; padding: 0 9px;
  font-size: 12px; line-height: 1;
  background: var(--bg); box-shadow: var(--nm-inset); color: var(--text-tertiary);
  transition: background .25s ease, box-shadow .25s ease;
}
.theme-switch .ts-thumb {
  position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); box-shadow: 2px 2px 5px var(--shadow-dark), -2px -2px 5px var(--shadow-light);
  transition: transform .28s cubic-bezier(.32,.72,0,1);
}
.theme-switch[aria-checked="true"] .ts-thumb { transform: translateX(26px); }
.theme-switch:focus-visible { outline: 2px solid #1E5FB8; outline-offset: 3px; }
.theme-switch:active .ts-thumb { width: 28px; }
@media (max-width: 480px) {
  .theme-switch { width: 50px; height: 28px; }
  .theme-switch .ts-track { padding: 0 7px; font-size: 11px; }
  .theme-switch .ts-thumb { width: 20px; height: 20px; }
  .theme-switch[aria-checked="true"] .ts-thumb { transform: translateX(22px); }
}
@media (prefers-reduced-motion: reduce) { .theme-switch .ts-thumb { transition: none; } }

/* =========================================================
   1. TOKEN TEMA BIRU (+ pemetaan token lama site.css)
   ========================================================= */
[data-theme="biru"] {
  --mb-dark: #0A1F44;
  --mb-navy: #0B2A5B;
  --mb-blue-700: #12408A;
  --mb-blue-500: #1E5FB8;
  --mb-blue-300: #6FA3E8;
  --mb-grad: linear-gradient(135deg, #0B2A5B 0%, #12408A 50%, #1E5FB8 100%);
  --mb-soft-start: #EAF1FB;
  --mb-soft-end: #F7FAFE;
  --mb-soft: linear-gradient(180deg, var(--mb-soft-start), var(--mb-soft-end));
  --mb-bg: #F5F8FC;
  --mb-line: #DCE6F2;
  --mb-orange: #F28A1E;
  --mb-orange-soft: #FFB46B;
  --mb-orange-ink: #B9560A;
  --mb-grad-orange: linear-gradient(135deg, #E57A14 0%, #B9560A 100%);
  --mb-ink: #13233F;
  --mb-muted: #4A5872;
  --mb-shadow-sm: 0 4px 14px rgba(11, 42, 91, .08);
  --mb-shadow-md: 0 14px 34px rgba(11, 42, 91, .12);
  --mb-shadow-lg: 0 24px 54px rgba(11, 42, 91, .16);
  --mb-shadow-hover: 0 18px 38px rgba(30, 95, 184, .22);
  --mb-r-sm: 15px; --mb-r-md: 24px; --mb-r-lg: 30px; --mb-r-xl: 40px;
  --mb-ease: cubic-bezier(.22, .9, .35, 1);
  --mb-dur: 320ms;
  --ombak-h: clamp(64px, 10vw, 150px);
  /* Gutter kiri-kanan = gutter navbar (sdgs-extra.css .navbar-inner), dipakai semua section,
     topbar, dan footer supaya tepi konten sejajar dengan logo & menu di semua lebar layar. */
  --mb-gx: clamp(24px, 5vw, 80px);

  /* Pemetaan token lama → palet biru, supaya komponen yang belum ditimpa satu per satu ikut seragam. */
  --bg: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --surface: #FFFFFF;
  --surface-white: #FFFFFF;
  --brand-green-900: var(--mb-navy);
  --brand-green-700: var(--mb-blue-700);
  --brand-green-500: var(--mb-blue-500);
  --brand-green-100: var(--mb-soft-start);
  --ios-blue: var(--mb-blue-700);
  --ios-blue-dark: var(--mb-navy);
  --ios-orange: var(--mb-orange);
  --text-primary: var(--mb-ink);
  --text-secondary: var(--mb-muted);
  --text-tertiary: #66738A;
  --shadow-light: transparent;
  --shadow-dark: rgba(11, 42, 91, .10);
  --nm-raised: 0 0 0 1px var(--mb-line), var(--mb-shadow-sm);
  --nm-raised-sm: 0 0 0 1px var(--mb-line), 0 2px 8px rgba(11, 42, 91, .06);
  --nm-inset: inset 0 0 0 1px var(--mb-line);
  --nm-pressed: inset 0 0 0 1px var(--mb-line), inset 0 2px 6px rgba(11, 42, 91, .10);
}
[data-theme="biru"] body { background: var(--mb-bg); color: var(--mb-ink); }
[data-theme="biru"] .bg-blob { display: none; }
[data-theme="biru"] .scroll-progress { background: var(--mb-orange); box-shadow: none; }
[data-theme="biru"] :focus-visible { outline-color: var(--mb-blue-500); }

/* Warna inline lama (hijau/biru iOS/oranye/ungu) di view → keluarga biru. Selector atribut dipakai
   supaya view tidak perlu diubah. Warna resmi 17 SDGs (warna_hex) tidak cocok dengan pola ini. */
[data-theme="biru"] [style*="#12a374"] { background: linear-gradient(145deg, #12408A, #0B2A5B) !important; }
[data-theme="biru"] [style*="#0a84ff"] { background: linear-gradient(145deg, #2A6FCB, #12408A) !important; }
[data-theme="biru"] [style*="#ff9500"] { background: linear-gradient(145deg, #3D7FD6, #1E5FB8) !important; }
[data-theme="biru"] [style*="#5856d6"] { background: linear-gradient(145deg, #1E5FB8, #0A1F44) !important; }
[data-theme="biru"] [style*="#29d67a"] { background: var(--mb-grad) !important; }

/* =========================================================
   2. TOPBAR (MBS .mbs-topbar)
   ========================================================= */
[data-theme="biru"] .topbar {
  display: block; position: relative; z-index: 201;
  background: var(--mb-dark); color: #fff; font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 40px; padding: 0 clamp(24px, 5vw, 80px);
}
.tb-list { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; min-width: 0; }
.tb-list a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
  color: rgba(255, 255, 255, .86); text-decoration: none; white-space: nowrap;
  transition: color var(--mb-dur);
}
.tb-list a i { font-size: .95em; line-height: 1; color: var(--mb-orange-soft); transition: transform var(--mb-dur) var(--mb-ease); }
.tb-list a:hover { color: #fff; }
.tb-list a:hover i { transform: translateY(-1px); }
.tb-list a.is-accent { padding: 3px 12px; min-height: 26px; border-radius: 999px; background: var(--mb-grad-orange); color: #fff; font-weight: 700; }
.tb-list a.is-accent i { color: #fff; }
.tb-list a:focus-visible { outline: 2px solid var(--mb-orange-soft); outline-offset: 3px; border-radius: 4px; }
.tb-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .2); }
@media (max-width: 768px) {
  .tb-links .tb-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tb-list { gap: 4px; }
  .tb-list a { min-width: 32px; justify-content: center; }
  .tb-list a.is-accent { padding: 3px 9px; }
}
@media (max-width: 576px) {
  .topbar-inner { height: 38px; gap: 8px; }
  .tb-txt-email { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tb-sep { display: none; }
}
@media (max-width: 440px) { .tb-txt-telp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* =========================================================
   3. NAVBAR (MBS .mbs-navbar: gradasi + pita logo)
   ========================================================= */
[data-theme="biru"] .navbar {
  background: var(--mb-grad); border-bottom: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
[data-theme="biru"] .navbar.scrolled { background: var(--mb-grad); box-shadow: 0 14px 34px rgba(5, 20, 50, .28); }
[data-theme="biru"] .navbar-inner { height: 72px; align-items: stretch; gap: 18px; }
[data-theme="biru"] .navbar.scrolled .navbar-inner { height: 62px; }
[data-theme="biru"] .brand { align-self: stretch; align-items: center; gap: 12px; }
[data-theme="biru"] .brand-mark { display: none; }
[data-theme="biru"] .brand-text strong { color: #fff; font-size: 15px; font-weight: 800; }
[data-theme="biru"] .nav-links, [data-theme="biru"] .nav-cta { align-self: center; }

/* Pita: kartu putih menggantung dari tepi atas navbar melewati tepi bawahnya, ujung V + chevron oranye. */
[data-theme="biru"] .brand-pita {
  --pita-v: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  position: relative; align-self: flex-start; flex-shrink: 0;
  /* Tinggi = navbar + 34px: logo (12+42) → angka 17 (22px) → ruang 4px → lis V oranye (20px). */
  width: 62px; height: calc(72px + 34px); padding-top: 12px; gap: 3px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pita-v)), 50% 100%, 0 calc(100% - var(--pita-v)));
  filter: drop-shadow(0 8px 14px rgba(5, 20, 50, .25));
  transition: height var(--mb-dur) var(--mb-ease);
}
[data-theme="biru"] .brand-pita::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20px;
  background: var(--mb-orange);
  clip-path: polygon(0 0, 50% 13px, 100% 0, 100% 4px, 50% 17px, 0 4px);
}
[data-theme="biru"] .brand-pita-logo { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
/* Angka 17 (jumlah Tujuan SDGs) di bawah logo, warna gradasi tema biru gelap → biru sedang.
   Warna solid navy sebagai cadangan bila background-clip:text tidak didukung. */
[data-theme="biru"] .brand-pita-cap {
  display: block; flex: 0 0 auto;
  font-size: 22px; font-weight: 900; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  color: var(--mb-navy);
  background: linear-gradient(135deg, #0B2A5B 0%, #12408A 50%, #1E5FB8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Saat digulir navbar mengecil (62px), tapi isi pita tetap → tinggi pita dijaga cukup untuk angka 17. */
[data-theme="biru"] .navbar.scrolled .brand-pita { height: calc(62px + 42px); }

/* Menu: putih, garis bawah oranye saat aktif/hover; Beranda = ikon rumah bulat. */
[data-theme="biru"] .nav-links { gap: 6px; }
[data-theme="biru"] .nav-links a,
[data-theme="biru"] .navbar.scrolled .nav-links a {
  color: rgba(255, 255, 255, .9); background: transparent; box-shadow: none;
  padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 500;
}
[data-theme="biru"] .nav-links a:hover { color: #fff; transform: none; }
[data-theme="biru"] .nav-links a.active,
[data-theme="biru"] .navbar.scrolled .nav-links a.active { color: #fff; font-weight: 600; box-shadow: none; }
[data-theme="biru"] .nav-links a::after { background: var(--mb-orange); left: 10px; right: 10px; bottom: 2px; height: 2px; }
[data-theme="biru"] .nav-links a.nav-home {
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12); font-size: 1.08rem;
}
[data-theme="biru"] .nav-links a.nav-home::after { display: none; }
[data-theme="biru"] .nav-links a.nav-home:hover,
[data-theme="biru"] .nav-links a.nav-home.active { background: rgba(255, 255, 255, .26); box-shadow: inset 0 -2px 0 var(--mb-orange); }
[data-theme="biru"] .nav-links .nav-home-ic { display: inline; }
[data-theme="biru"] .nav-links .nav-home-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-theme="biru"] .nav-links a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Menu & nama situs tidak boleh patah 2 baris (Poppins lebih lebar dari Nunito). */
[data-theme="biru"] .nav-links a { white-space: nowrap; }
@media (min-width: 769px) { [data-theme="biru"] .brand-text strong { white-space: nowrap; } }
@media (min-width: 769px) and (max-width: 1100px) {
  [data-theme="biru"] .nav-links { gap: 0; }
  [data-theme="biru"] .nav-links a { padding: 8px 6px; font-size: 12.5px; }
  [data-theme="biru"] .brand-text strong { font-size: 13px; }
}
@media (min-width: 769px) and (max-width: 1040px) {
  /* Logo pita sudah memuat logo SDGs; nama situs disembunyikan agar 8 menu tetap muat satu baris. */
  [data-theme="biru"] .brand-text { display: none; }
}
@media (min-width: 769px) and (max-width: 920px) {
  /* Bendera saja (aria-label tetap "Bahasa Indonesia"/"English") supaya switch tema tidak terpotong. */
  [data-theme="biru"] .lang-pill-text { display: none; }
  [data-theme="biru"] .nav-links a { padding: 8px 5px; font-size: 12px; }
}
@media (min-width: 769px) and (max-width: 820px) {
  [data-theme="biru"] .nav-links a { padding: 8px 4px; font-size: 11.5px; }
  [data-theme="biru"] .nav-links a.nav-home { width: 34px; height: 34px; }
}

/* Alat kanan: pilihan bahasa, switch tema, tombol menu. */
[data-theme="biru"] .lang-pill { background: rgba(0, 0, 0, .2); box-shadow: none; }
[data-theme="biru"] .lang-pill a { color: #fff; }
[data-theme="biru"] .lang-pill a:hover { background: rgba(255, 255, 255, .12); }
[data-theme="biru"] .lang-pill a.active { background: #fff; color: var(--mb-navy); box-shadow: none; }
[data-theme="biru"] .theme-switch .ts-track { background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .8); }
[data-theme="biru"] .theme-switch .ts-thumb { background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25), inset 0 -2px 0 var(--mb-orange); }
[data-theme="biru"] .theme-switch:hover .ts-track { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
[data-theme="biru"] .theme-switch:focus-visible { outline-color: #fff; }
[data-theme="biru"] .icon-btn {
  width: 40px; height: 40px; border-radius: var(--mb-r-sm);
  background: rgba(0, 0, 0, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); color: #fff;
}
[data-theme="biru"] .icon-btn:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
[data-theme="biru"] .icon-btn:active { background: rgba(255, 255, 255, .24); }
@media (max-width: 768px) {
  [data-theme="biru"] .navbar-inner { height: 64px; }
  [data-theme="biru"] .brand-pita { width: 52px; height: calc(64px + 26px); padding-top: 9px; gap: 2px; --pita-v: 11px; }
  [data-theme="biru"] .brand-pita-logo { width: 34px; height: 34px; }
  [data-theme="biru"] .brand-pita-cap { font-size: 17px; }
  [data-theme="biru"] .navbar.scrolled .navbar-inner { height: 58px; }
  [data-theme="biru"] .navbar.scrolled .brand-pita { height: calc(58px + 32px); }
}
@media (max-width: 480px) {
  [data-theme="biru"] .brand { gap: 8px; }
  [data-theme="biru"] .brand-text strong { font-size: 13px; }
  [data-theme="biru"] .icon-btn { width: 36px; height: 36px; }
}
@media (max-width: 359px) { [data-theme="biru"] .brand-text { display: none; } }

/* Menu mobile (#mobileMenu, dibuka site.js): panel putih seperti offcanvas MBS. */
[data-theme="biru"] #mobileMenu { padding: 10px 16px 16px !important; }
[data-theme="biru"] #mobileMenu .card-white {
  background: #fff; border: 0; border-radius: var(--mb-r-md); box-shadow: var(--mb-shadow-lg);
  backdrop-filter: none; -webkit-backdrop-filter: none; padding: 12px;
}
[data-theme="biru"] .mm-link { color: var(--mb-ink); background: transparent; box-shadow: none; border-radius: 12px; min-height: 44px; }
[data-theme="biru"] .mm-link:hover { background: var(--mb-soft-start); color: var(--mb-blue-700); }
[data-theme="biru"] .mm-link.active { background: var(--mb-soft-start); color: var(--mb-navy); box-shadow: inset 3px 0 0 var(--mb-orange); }

/* =========================================================
   4. TOMBOL (MBS .btn-mbs): utama oranye, sekunder putih
   ========================================================= */
[data-theme="biru"] .btn {
  min-height: 46px; padding: 11px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  transition: transform var(--mb-dur) var(--mb-ease), box-shadow var(--mb-dur) var(--mb-ease),
              background var(--mb-dur) var(--mb-ease), color var(--mb-dur) var(--mb-ease);
}
[data-theme="biru"] .btn-sm { min-height: 40px; padding: 8px 18px; font-size: .86rem; }
[data-theme="biru"] .btn-filled {
  background: var(--mb-grad-orange); color: #fff;
  box-shadow: 0 10px 22px -10px rgba(185, 86, 10, .7);
}
[data-theme="biru"] .btn-filled:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -12px rgba(185, 86, 10, .75); }
[data-theme="biru"] .btn-filled:active { transform: translateY(0); filter: brightness(.95); }
[data-theme="biru"] .btn-neumorphic,
[data-theme="biru"] .btn-plain {
  background: #fff; color: var(--mb-ink);
  box-shadow: inset 0 0 0 1.5px #D9E3F0;
}
[data-theme="biru"] .btn-neumorphic:hover,
[data-theme="biru"] .btn-plain:hover { transform: translateY(-3px); color: var(--mb-orange-ink); box-shadow: inset 0 0 0 1.5px var(--mb-orange), var(--mb-shadow-sm); }
[data-theme="biru"] .btn-neumorphic:active,
[data-theme="biru"] .btn-plain:active { transform: translateY(0); background: #FFF6EC; box-shadow: inset 0 0 0 1.5px var(--mb-orange); }
[data-theme="biru"] .btn-tinted { background: #FFF1E2; color: var(--mb-orange-ink); }
[data-theme="biru"] .btn-tinted:hover { background: #FFE4C7; }
[data-theme="biru"] .btn:focus-visible { outline: 3px solid var(--mb-blue-300); outline-offset: 3px; }
[data-theme="biru"] .btn:disabled, [data-theme="biru"] .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* =========================================================
   5. SECTION HEAD + EYEBROW (MBS .section-head / .eyebrow)
   ========================================================= */
[data-theme="biru"] .section { padding: 88px var(--mb-gx); }
[data-theme="biru"] .section-head {
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 16px; margin: 0 auto 46px; max-width: 760px;
}
[data-theme="biru"] .section-head > div { max-width: 680px; }
[data-theme="biru"] .section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.2;
  color: var(--mb-ink); margin: 14px 0 0; overflow-wrap: anywhere; min-width: 0;
}
[data-theme="biru"] .section-head p { margin: 12px auto 0; font-size: 1.05rem; line-height: 1.6; color: var(--mb-muted); max-width: 640px; }
[data-theme="biru"] .section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--mb-orange-ink); background: rgba(242, 138, 30, .12);
  padding: 7px 16px; border-radius: 999px; box-shadow: none;
}
@media (max-width: 767.98px) {
  [data-theme="biru"] .section { padding: 56px var(--mb-gx); }
  [data-theme="biru"] .section-head { margin-bottom: 32px; }
  [data-theme="biru"] .section-head h2 { font-size: clamp(1.4rem, 5.6vw, 1.9rem); }
  [data-theme="biru"] .section-head p { font-size: .94rem; }
  [data-theme="biru"] .section-tag { font-size: .7rem; padding: 6px 13px; }
}

/* Latar section selang-seling (full-bleed tanpa membungkus ulang markup). */
[data-theme="biru"] #sdgs,
[data-theme="biru"] #inovasi,
[data-theme="biru"] #faq { border-image: linear-gradient(var(--mb-soft-start), var(--mb-soft-end)) fill 0 / / 0 100vmax; }

/* =========================================================
   6. KARTU UMUM
   ========================================================= */
[data-theme="biru"] .card,
[data-theme="biru"] .card-white,
[data-theme="biru"] .list-group,
[data-theme="biru"] .table-wrap {
  background: #fff; border: 0; border-radius: var(--mb-r-md);
  box-shadow: var(--mb-shadow-sm); backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-theme="biru"] .list-row:hover, [data-theme="biru"] tbody tr:hover { background: var(--mb-soft-start); }
[data-theme="biru"] thead { background: var(--mb-grad); }
[data-theme="biru"] .chip-mini.chip-sdg { background: var(--mb-soft-start); color: var(--mb-navy); box-shadow: none; }
[data-theme="biru"] .chip-mini.chip-iku { background: #FFF1E2; color: var(--mb-orange-ink); }
[data-theme="biru"] .segmented { background: var(--mb-soft-start); box-shadow: none; }
[data-theme="biru"] .segmented button.active { background: #fff; color: var(--mb-navy); box-shadow: var(--mb-shadow-sm), inset 0 -2px 0 var(--mb-orange); }
[data-theme="biru"] .contact-icon { background: var(--mb-soft-start); color: var(--mb-blue-700); }
[data-theme="biru"] .lf-input { background: #fff; box-shadow: inset 0 0 0 1.5px #E1E9F3; }
[data-theme="biru"] .lf-input:focus { box-shadow: inset 0 0 0 1.5px var(--mb-blue-500), 0 0 0 4px rgba(30, 95, 184, .12); }

/* Berita & inovasi (MBS .news-card) */
[data-theme="biru"] .news-card {
  background: #fff; border: 0; border-radius: var(--mb-r-lg); box-shadow: var(--mb-shadow-sm);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: transform var(--mb-dur) var(--mb-ease), box-shadow var(--mb-dur) var(--mb-ease);
}
[data-theme="biru"] .news-card:hover { transform: translateY(-6px); box-shadow: var(--mb-shadow-hover); }
[data-theme="biru"] .news-thumb { height: auto; aspect-ratio: 16 / 10; background-color: var(--mb-soft-start); color: var(--mb-blue-300); }
[data-theme="biru"] .news-body { padding: 20px 22px 24px; }
[data-theme="biru"] .news-title { font-size: 1.08rem; line-height: 1.35; }
[data-theme="biru"] .news-date { color: var(--mb-muted); }

/* FAQ */
[data-theme="biru"] .accordion { margin: 0 auto; }
[data-theme="biru"] .accordion-item {
  background: #fff; border: 0; border-radius: var(--mb-r-sm); box-shadow: var(--mb-shadow-sm);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-theme="biru"] .accordion-item.open { box-shadow: var(--mb-shadow-sm), inset 3px 0 0 var(--mb-orange); }
[data-theme="biru"] .accordion-trigger { min-height: 52px; }
[data-theme="biru"] .accordion-trigger:hover { color: var(--mb-orange-ink); }
[data-theme="biru"] .accordion-item.open .chevron { color: var(--mb-orange-ink); }

/* =========================================================
   7. SLIDER BERITA COVERFLOW (MBS .mbs-news-dslider) — beranda
   ========================================================= */
[data-theme="biru"] .ns-slider {
  /* Tanpa z-index: lapisan lekukan (z 1 / z 3) ikut konteks induk, jadi medali (z 2) terselip di antaranya. */
  display: block; position: relative;
  background: var(--mb-dark); overflow-x: clip; overflow-y: visible;
  padding-bottom: calc(var(--ombak-h) + 30px);
}
.ns-swiper {
  /* Lebar kartu ≈ tinggi layar tersisa × 4/3 (bingkai gambar 4:3 + panel judul ±104px di bawahnya). */
  --ns-w: clamp(280px, calc((100vh - 330px) * 1.333), 460px);
  position: relative; overflow: hidden;
  max-width: calc(var(--ns-w) * 4.6); margin: 0 auto; padding: 30px 0 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  --swiper-pagination-bottom: 14px;
  --swiper-pagination-bullet-size: 7px;
  --swiper-pagination-bullet-horizontal-gap: 4px;
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: .4;
  --swiper-pagination-color: var(--mb-orange);
}
/* Struktur minimal sendiri: kalau CDN Swiper gagal, slide tetap satu baris, bukan bertumpuk. */
.ns-swiper .swiper-wrapper { display: flex; }
.ns-swiper:not(.swiper-initialized) .swiper-wrapper { gap: 16px; }
.ns-swiper:not(.swiper-initialized) .swiper-slide:first-child { margin-left: calc((100% - var(--ns-w)) / 2); }
.ns-slide {
  flex-shrink: 0; position: relative; display: flex; flex-direction: column;
  width: var(--ns-w); border-radius: var(--mb-r-lg, 30px); overflow: hidden;
  background: var(--mb-navy); text-decoration: none; color: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  transition: opacity 420ms ease, filter 420ms ease;
}
.ns-swiper.swiper-initialized .ns-slide { opacity: .55; filter: brightness(.8); }
.ns-swiper.swiper-initialized .swiper-slide-active { opacity: 1; filter: none; }
.ns-slide:focus-visible { outline: 3px solid var(--mb-orange); outline-offset: -3px; }
/* Bingkai gambar 4:3, gambar utuh (contain) — tidak ada sisi yang terpangkas. Celah poster 3:2/5:4
   diisi versi buram gambar yang sama (--ns-img). Judul di panel bawah, bukan menimpa gambar. */
.ns-media {
  position: relative; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(135deg, #12408A, #0B2A5B); color: rgba(255, 255, 255, .6); font-size: 2.2rem;
}
.ns-media::before {
  content: ""; position: absolute; inset: -24px;
  background: var(--ns-img, none) center / cover no-repeat; filter: blur(18px) brightness(.7);
}
.ns-media img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.ns-info { display: block; padding: 14px 20px 18px; text-align: center; }
.ns-title { min-height: calc(2em * 1.32); }
.ns-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px;
  background: var(--mb-grad-orange, #B9560A); color: #fff; font-size: .64rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
}
.ns-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 1rem; font-weight: 700; line-height: 1.32; overflow-wrap: break-word;
}
.ns-dots .swiper-pagination-bullet { transition: width 320ms ease, background 320ms ease; }
.ns-dots .swiper-pagination-bullet-active { width: 22px; border-radius: 999px; }

/* Lekukan di dasar slider (bentuk footer dibalik), isi terang = warna puncak hero. */
.ns-ombak {
  position: absolute; left: 0; bottom: -1px; z-index: 1; display: block; overflow: visible;
  width: 100%; height: calc(var(--ombak-h) + 1px); pointer-events: none;
  clip-path: polygon(0 2px, 100% 2px, 100% calc(100% + 200px), 0 calc(100% + 200px));
}
/* Urutan lapisan di sambungan slider → hero:
   hero (tanpa z-index) < isi terang + pita + bayangan lekukan (z 1, bayangan boleh jatuh ke hero)
   < medali gantungan (z 3) < lapisan gelap lekukan (z 4, ujung atas pita medali terselip di baliknya). */
.ns-ombak--dasar { z-index: 4; }

/* Medali logo menggantung dari lengkungan (≥768px), tertiup angin seperti MBS. */
@media (min-width: 768px) {
  [data-theme="biru"] .ns-medali { display: block; position: relative; z-index: 3; height: 0; pointer-events: none; }
  .ns-medali-isi {
    --logo: clamp(66px, 7vw, 104px);
    /* x = 758/1440: titik terendah kedua lapisan gelap (lekukan dibalik, y' = 20). Di sini medali
       menggantung tepat di bawah kartu berita aktif dan tidak menimpa teks hero (titik 21% milik MBS
       jatuh di atas label hero SDGs). */
    position: absolute; left: 52.64%; top: calc(var(--ombak-h) * -240 / 260 - 6px); translate: -50% 0;
    display: flex; flex-direction: column; align-items: center;
    filter: drop-shadow(0 10px 14px rgba(10, 31, 68, .26));
    transform-origin: 50% 0; animation: nsAngin 7.6s ease-in-out infinite;
  }
  .ns-medali-pita {
    width: calc(var(--logo) * .5); height: calc(var(--logo) * .62);
    background:
      linear-gradient(90deg, rgba(0, 0, 0, .2), transparent 22% 78%, rgba(0, 0, 0, .2)),
      linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, .38) 42% 58%, transparent 58%),
      linear-gradient(180deg, #F28A1E 0%, #12408A 55%, #1E5FB8 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 64% 100%, 36% 100%, 0 80%);
  }
  .ns-medali-kait {
    width: calc(var(--logo) * .2); height: calc(var(--logo) * .13); margin-top: -2px; border-radius: 5px;
    background: linear-gradient(180deg, #fff, #FFB46B);
  }
  .ns-medali-logo {
    display: block; width: var(--logo); height: var(--logo); margin-top: -3px; object-fit: contain;
    background: #fff; border-radius: 50%; padding: 6px;
    transform-origin: 50% 0; animation: nsAnginLogo 5.3s ease-in-out infinite;
  }
  @keyframes nsAngin {
    0%, 100% { transform: perspective(600px) rotateZ(0) rotateX(0); }
    14% { transform: perspective(600px) rotateZ(3.5deg) rotateX(6deg); }
    30% { transform: perspective(600px) rotateZ(-2.5deg) rotateX(-4deg); }
    46% { transform: perspective(600px) rotateZ(4.5deg) rotateX(3deg); }
    62% { transform: perspective(600px) rotateZ(-3.8deg) rotateX(7deg); }
    80% { transform: perspective(600px) rotateZ(1.8deg) rotateX(-3deg); }
  }
  @keyframes nsAnginLogo {
    0%, 100% { transform: perspective(500px) rotateY(0) rotateZ(0); }
    22% { transform: perspective(500px) rotateY(-16deg) rotateZ(-2deg); }
    45% { transform: perspective(500px) rotateY(10deg) rotateZ(1.5deg); }
    68% { transform: perspective(500px) rotateY(-8deg) rotateZ(-1deg); }
    86% { transform: perspective(500px) rotateY(14deg) rotateZ(2deg); }
  }
}
@media (max-width: 767.98px) {
  .ns-swiper { --ns-w: min(82%, 360px); padding: 28px 0 42px; -webkit-mask-image: none; mask-image: none; }
  .ns-info { padding: 12px 16px 16px; }
  .ns-title { font-size: .94rem; }
}
@media (max-width: 767.98px) and (max-height: 500px) {
  /* HP mendatar: tinggi kartu (gambar 4:3 + panel judul) harus muat di layar. */
  .ns-swiper { --ns-w: min(56%, calc((100dvh - 170px) * 1.333)); }
}
@media (prefers-reduced-motion: reduce) {
  .ns-slide { transition: none; }
  .ns-medali-isi, .ns-medali-logo { animation: none; }
}

/* Lekukan bertema (dipakai slider berita & footer) */
.ombak-tema stop:nth-child(1) { stop-color: #F28A1E; }
.ombak-tema stop:nth-child(2) { stop-color: #12408A; }
.ombak-tema stop:nth-child(3) { stop-color: #1E5FB8; }
.ombak-tema .ombak-luar { fill-opacity: .5; }
.ombak-tema .ombak-tengah { fill-opacity: .9; }
.ombak-tema .ombak-dasar { fill: #0A1F44; }
.ombak-tema .ombak-terang { fill: #EAF1FB; }
.ombak-tema .ombak-bayang { fill: rgba(10, 31, 68, .42); }

/* =========================================================
   8. HERO BERANDA (MBS .mbs-hero: latar lembut biru-putih)
   ========================================================= */
/* Hero: latar lembut biru-putih. Tanpa drop shadow di tepi bawah (dihapus atas permintaan) —
   pemisah ke section Keunggulan kini perbedaan warna latar (lihat .keunggulan-section).
   SENGAJA tanpa z-index: kalau hero diberi z-index, hero menutupi medali gantungan & memotong
   lurus bayangan lekukan slider di atasnya (tampak sebagai garis pembatas). */
[data-theme="biru"] .hero-sdgs-outer { background: var(--mb-soft); }
[data-theme="biru"] .hero-accent-bar,
[data-theme="biru"] .hero-bg-bars,
[data-theme="biru"] .hero-bg-wheel-ghost { display: none; }
/* Hanya cahaya biru di kanan-bawah. Cahaya oranye kiri-atas dihapus: puncak hero HARUS sama persis
   dengan isi terang lekukan slider (#EAF1FB), kalau tidak sambungannya tampak sebagai garis lurus. */
[data-theme="biru"] .hero-sdgs-bg {
  background: radial-gradient(340px 340px at 92% 88%, rgba(30, 95, 184, .16), transparent 70%);
}
[data-theme="biru"] .hero-sdgs { padding-top: 64px; }
/* ≥768px: medali logo menggantung ±70px ke dalam hero — beri ruang supaya tidak menyentuh roda SDGs. */
@media (min-width: 768px) { [data-theme="biru"] .hero-sdgs { padding-top: 104px; } }
/* ≥901px: kolom proporsional seperti hero MBS (1.1fr : .9fr) + roda ikut membesar di layar lebar,
   supaya tidak ada ruang kosong besar antara judul dan roda di 1440–1920px. */
@media (min-width: 901px) {
  [data-theme="biru"] .hero-sdgs { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(32px, 4vw, 72px); }
  [data-theme="biru"] .hero-wheel-pie { width: clamp(360px, 30vw, 560px); }
}
/* HP: rapatkan jarak roda → slider 17 tujuan (ruang kosong ±130px sebelumnya). */
@media (max-width: 767.98px) {
  [data-theme="biru"] .hero-sdgs { row-gap: 28px; }
  [data-theme="biru"] .goals-slider { margin-top: 8px; }
  /* Animasi "journey" (geser zig-zag) membuat roda keluar kolom & terpotong di layar sempit.
     Di HP cukup rotasi roda (heroWheelTurn pada .sdgs-wheel-svg) — roda tetap di tengah. */
  [data-theme="biru"] .hero-wheel-pie { animation: none; }
}
[data-theme="biru"] .hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(242, 138, 30, .12); color: var(--mb-orange-ink);
  -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor;
  padding: 7px 16px; border: 0; border-radius: 999px; margin-bottom: 16px; animation: none;
}
[data-theme="biru"] .hero-title-sdgs { color: var(--mb-navy); letter-spacing: .01em; }
[data-theme="biru"] .hero-o-badge { box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(11, 42, 91, .2); }
[data-theme="biru"] .hero-sdgs .lead { color: var(--mb-muted); font-size: 1.08rem; }
[data-theme="biru"] .hero-actions { gap: 14px; }
/* HP: "Lihat 17 Tujuan" & "Statistik Capaian" tetap sejajar horizontal (tombol dipadatkan supaya
   muat mulai ±340px). Bila layar terlalu sempit dan tombol kedua turun baris, posisinya di tengah.
   Tinggi tombol tetap ≥44px (target sentuh). */
@media (max-width: 575.98px) {
  [data-theme="biru"] .hero-actions { flex-wrap: wrap; justify-content: center; gap: 10px; }
  [data-theme="biru"] .hero-actions .btn { flex: 0 1 auto; min-height: 44px; padding: 10px 18px; font-size: .88rem; }
}
[data-theme="biru"] .hero-wheel-pie .sdgs-wheel-center { background: #fff; box-shadow: var(--mb-shadow-md); }
/* Teks animasi visi (hero-visi-type) & kartu kecil 1–17: dihapus dari tema biru atas permintaan
   (markup tetap untuk tema neu; teks visi tetap tampil di kartu Visi & Misi di bawah hero). */
[data-theme="biru"] .hero-visi-type,
[data-theme="biru"] .goals-slider { display: none; }
/* Hero kini berakhir setelah tombol & slider vertikal → beri ruang bawah. */
[data-theme="biru"] .hero-sdgs { padding-bottom: clamp(56px, 7vw, 96px); }

/* ── Slider vertikal 17 Tujuan (menggantikan roda besar; roda tetap untuk tema neu) ── */
.sdg-vslider { display: none; }
[data-theme="biru"] .hero-wheel-pie { display: none; }
[data-theme="biru"] .sdg-vslider {
  --vs-h: 104px; --vs-gap: 16px; --vs-step: calc(var(--vs-h) + var(--vs-gap));
  display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 18px;
  width: min(100%, 500px); margin: 0 auto;
}
/* Rel kiri: titik atas oranye berdenyut (kartu aktif), garis penuh ke titik 2, putus-putus ke titik 3 */
.vs-rail { position: relative; height: calc(var(--vs-step) * 3 - var(--vs-gap)); }
.vs-rail::before, .vs-rail::after {
  content: ""; position: absolute; left: 50%; width: 2px; translate: -50% 0; border-radius: 2px;
}
.vs-rail::before {
  top: calc(var(--vs-h) / 2); height: var(--vs-step);
  background: linear-gradient(180deg, #F28A1E, #6FA3E8);
}
.vs-rail::after {
  top: calc(var(--vs-step) + var(--vs-h) / 2); height: var(--vs-step);
  background: repeating-linear-gradient(180deg, rgba(11, 42, 91, .32) 0 4px, transparent 4px 9px);
}
.vs-rail span { position: absolute; left: 50%; z-index: 1; translate: -50% -50%; border-radius: 50%; }
.vs-rail span:nth-child(1) {
  top: calc(var(--vs-h) / 2); width: 18px; height: 18px; background: #F28A1E;
  box-shadow: 0 0 0 5px rgba(242, 138, 30, .2); animation: vsDenyut 2.4s ease-out infinite;
}
.vs-rail span:nth-child(2) { top: calc(var(--vs-step) + var(--vs-h) / 2); width: 14px; height: 14px; background: #6FA3E8; }
.vs-rail span:nth-child(3) { top: calc(var(--vs-step) * 2 + var(--vs-h) / 2); width: 12px; height: 12px; background: rgba(11, 42, 91, .28); }
@keyframes vsDenyut {
  0% { box-shadow: 0 0 0 0 rgba(242, 138, 30, .45); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(242, 138, 30, 0); }
}
.vs-window { position: relative; height: calc(var(--vs-step) * 3 - var(--vs-gap)); }
.vs-card {
  position: absolute; top: 0; left: 0; right: 0; height: var(--vs-h);
  display: flex; align-items: center; gap: 16px; padding: 0 20px 0 18px; overflow: hidden;
  border-radius: 18px; background: #fff; color: inherit; text-decoration: none;
  box-shadow: 0 14px 34px rgba(11, 42, 91, .14);
  transform-origin: 50% 0;
  transition: transform .9s cubic-bezier(.22, .9, .35, 1), opacity .9s cubic-bezier(.22, .9, .35, 1), box-shadow .3s ease;
}
/* Lis warna resmi SDG di sisi kiri kartu */
.vs-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sdg); }
.vs-card[data-slot="0"] { transform: translateY(0); opacity: 1; z-index: 3; }
.vs-card[data-slot="1"] { transform: translateY(var(--vs-step)) scale(.97); opacity: .55; z-index: 2; }
.vs-card[data-slot="2"] { transform: translateY(calc(var(--vs-step) * 2)) scale(.94); opacity: .22; z-index: 1; }
.vs-card[data-slot="atas"] { transform: translateY(calc(var(--vs-step) * -.45)) scale(.96); opacity: 0; pointer-events: none; }
.vs-card[data-slot="bawah"] { transform: translateY(calc(var(--vs-step) * 3)) scale(.92); opacity: 0; pointer-events: none; }
.vs-card:hover { box-shadow: 0 18px 38px rgba(30, 95, 184, .24); }
.vs-card:focus-visible { outline: 3px solid #6FA3E8; outline-offset: 3px; }
.vs-ikon {
  flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--sdg); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .35);
}
.vs-ikon svg { width: 28px; height: 28px; }
.vs-teks { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.vs-nomor { font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: #66738A; }
.vs-nama {
  font-size: 1.02rem; font-weight: 800; line-height: 1.3; color: #13233F;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vs-meta { font-size: .76rem; font-weight: 700; color: #B9560A; }
.vs-panah { flex: 0 0 auto; color: #9AA6B8; font-size: 1.05rem; transition: transform .2s ease, color .2s ease; }
.vs-card:hover .vs-panah { color: #B9560A; transform: translate(2px, -2px); }
.vs-kontrol { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.vs-hitung { font-size: .82rem; font-weight: 800; letter-spacing: .08em; color: #4A5872; font-variant-numeric: tabular-nums; }
.vs-hitung b { color: #B9560A; }
.vs-btn {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: #0B2A5B; cursor: pointer; box-shadow: 0 4px 14px rgba(11, 42, 91, .12);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.vs-btn:hover { background: linear-gradient(135deg, #0B2A5B, #1E5FB8); color: #fff; transform: translateY(-2px); }
.vs-btn:active { transform: translateY(0); }
.vs-btn:focus-visible { outline: 3px solid #6FA3E8; outline-offset: 2px; }
@media (max-width: 575.98px) {
  [data-theme="biru"] .sdg-vslider { --vs-h: 92px; --vs-gap: 12px; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; }
  .vs-card { gap: 12px; padding: 0 14px; border-radius: 16px; }
  .vs-ikon { width: 48px; height: 48px; border-radius: 14px; }
  .vs-ikon svg { width: 24px; height: 24px; }
  .vs-nama { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  .vs-card, .vs-panah, .vs-btn { transition: none; }
  .vs-rail span:nth-child(1) { animation: none; }
}
/* Elips "gunung" lama & backdrop gradasi gelap: keduanya dihapus dari tema biru. */
[data-theme="biru"] .hero-wave-bottom { display: none; }
[data-theme="biru"] .goals-mini-card {
  background: #fff; border-radius: var(--mb-r-md);
  box-shadow: inset 0 -3px 0 var(--mb-orange), 0 12px 24px -12px rgba(5, 20, 50, .45);
}
[data-theme="biru"] .goals-mini-card::before { display: none; }
[data-theme="biru"] .goals-mini-card:hover { box-shadow: inset 0 -3px 0 var(--mb-orange), 0 18px 30px -12px rgba(5, 20, 50, .5); }
[data-theme="biru"] .gmc-num { color: var(--mb-navy); }
[data-theme="biru"] .goals-slider-dots button { background: rgba(255, 255, 255, .45); }
[data-theme="biru"] .goals-slider-dots button.active { background: var(--mb-orange); }

/* Keunggulan: latar biru muda sendiri (berbeda dari hero yang biru-putih) dibentang selebar layar
   lewat border-image tanpa membungkus ulang markup. margin-top bawaan (72px) diganti padding supaya
   warna latar mengisi seluruh section; jarak ke Visi & Misi tetap dari margin section berikutnya. */
[data-theme="biru"] .keunggulan-section {
  margin-top: 0;
  padding-top: clamp(56px, 6vw, 80px); padding-bottom: clamp(56px, 6vw, 80px);
  border-image: linear-gradient(180deg, #E3EBF7 0%, #EEF3FA 100%) fill 0 / / 0 100vmax;
}
[data-theme="biru"] .keunggulan-title {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor; color: var(--mb-ink); animation: none;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-transform: none; font-weight: 800;
}
[data-theme="biru"] .keunggulan-title::after {
  content: ""; display: block; width: 56px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: var(--mb-orange);
}
[data-theme="biru"] .keunggulan-sub { color: var(--mb-muted); }
[data-theme="biru"] .keunggulan-showcase { background: transparent; box-shadow: none; padding: 0; gap: 20px; }
[data-theme="biru"] .keunggulan-tile,
[data-theme="biru"] .keunggulan-tile:active { border-radius: var(--mb-r-lg); box-shadow: var(--mb-shadow-sm); }
[data-theme="biru"] .keunggulan-tile:hover { transform: translateY(-6px); box-shadow: var(--mb-shadow-hover); }
[data-theme="biru"] .keunggulan-tile { background: #fff; }
[data-theme="biru"] .keunggulan-tile .kt-cap { padding: 14px 18px 16px; color: var(--mb-navy); font-size: .95rem; font-weight: 600; }
[data-theme="biru"] .keunggulan-tile:hover .kt-cap { color: var(--mb-orange-ink); }
@media (max-width: 600px) {
  [data-theme="biru"] .keunggulan-showcase { gap: 12px; padding: 0; box-shadow: none; }
  [data-theme="biru"] .keunggulan-tile, [data-theme="biru"] .keunggulan-tile:hover { box-shadow: var(--mb-shadow-sm); }
}

/* Visi Misi (MBS .vm-visi gradasi + .vm-misi putih bernomor) + carousel Kabar SDGs */
[data-theme="biru"] .visimisi-card,
[data-theme="biru"] .berita-carousel-card {
  background: #fff; border: 0; border-radius: var(--mb-r-lg); box-shadow: var(--mb-shadow-sm);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-theme="biru"] .visimisi-card::before,
[data-theme="biru"] .berita-carousel-card::before { background: var(--mb-orange); height: 3px; }
[data-theme="biru"] .vm-logo, [data-theme="biru"] .bc-icon { background: var(--mb-grad); box-shadow: none; }
[data-theme="biru"] .vm-box {
  color: #fff; box-shadow: var(--mb-shadow-md); border-radius: var(--mb-r-md);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .1) 1px, transparent 0) 0 0 / 22px 22px,
    var(--mb-grad);
}
[data-theme="biru"] .vm-box .vm-label { background: rgba(255, 255, 255, .14); color: #fff; }
[data-theme="biru"] .vm-box .vm-text { color: #fff; font-style: normal; font-weight: 700; font-size: 1rem; line-height: 1.55; }
[data-theme="biru"] .vm-label { background: rgba(242, 138, 30, .12); color: var(--mb-orange-ink); }
[data-theme="biru"] .vm-title-wrap span { color: var(--mb-orange-ink); }
[data-theme="biru"] .misi-item { background: #fff; box-shadow: 0 0 0 1px var(--mb-line); }
[data-theme="biru"] .misi-item:hover { box-shadow: 0 0 0 1px var(--mb-line), var(--mb-shadow-sm); }
[data-theme="biru"] .misi-num { background: var(--mb-grad); }
[data-theme="biru"] .bc-news-card { background: #fff; box-shadow: 0 0 0 1px var(--mb-line); border-radius: var(--mb-r-md); }
[data-theme="biru"] .bc-thumb-1, [data-theme="biru"] .bc-thumb-2,
[data-theme="biru"] .bc-thumb-3, [data-theme="biru"] .bc-thumb-4 { background: var(--mb-soft); }
[data-theme="biru"] .bc-thumb svg { color: var(--mb-blue-300); }
[data-theme="biru"] .bc-thumb-badge { color: var(--mb-orange-ink); }
[data-theme="biru"] .bc-nav-btn { background: #fff; box-shadow: inset 0 0 0 1px var(--mb-line); color: var(--mb-navy); }
[data-theme="biru"] .bc-nav-btn:hover { background: var(--mb-grad); color: #fff; box-shadow: none; }
[data-theme="biru"] .bc-dot { background: var(--mb-line); }
[data-theme="biru"] .bc-dot.active { background: var(--mb-orange); }

/* Sambutan Ketua Pusat SDGs — menggantikan kartu Kabar SDGs di tema biru (carousel lama tetap
   di markup & dipakai tema neu). Pola: kepala gradasi tema + foto potret "berdiri" di tepi bawah
   kepala, kutipan besar oranye, isi bergaris oranye, identitas di kaki kartu. */
.sambutan-card { display: none; }
[data-theme="biru"] .berita-carousel-card { display: none; }
[data-theme="biru"] .sambutan-card {
  display: flex; flex-direction: column; position: relative; overflow: hidden; min-width: 0;
  background: #fff; border-radius: var(--mb-r-lg); box-shadow: var(--mb-shadow-sm);
  transition: transform var(--mb-dur) var(--mb-ease), box-shadow var(--mb-dur) var(--mb-ease);
}
[data-theme="biru"] .sambutan-card:hover { transform: translateY(-4px); box-shadow: var(--mb-shadow-hover); }
.sbt-head {
  position: relative; isolation: isolate; display: flex; align-items: flex-end; gap: 22px;
  padding: 30px 28px 0; min-height: 190px; color: #fff;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .1) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(135deg, #0A1F44 0%, #0B2A5B 45%, #1E5FB8 100%);
}
/* Cincin dekoratif (gema panel Insight) + lis oranye di dasar kepala */
.sbt-head::before {
  content: ""; position: absolute; z-index: -1; right: -90px; top: -120px; width: 300px; height: 300px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 28px rgba(255, 255, 255, .04), 0 0 0 56px rgba(255, 255, 255, .03);
}
.sbt-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #F28A1E; }
.sbt-foto {
  position: relative; z-index: 1; flex: 0 0 auto; width: 150px; aspect-ratio: 4 / 5; overflow: hidden;
  border: 4px solid #fff; border-bottom: 0; border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
  box-shadow: 0 -8px 26px rgba(0, 0, 0, .25);
}
.sbt-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.sbt-foto.is-kosong { display: grid; place-items: end center; }
.sbt-foto.is-kosong i { font-size: 7.5rem; line-height: .82; color: rgba(255, 255, 255, .55); }
.sbt-head-teks { min-width: 0; padding-bottom: 24px; }
.sbt-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 180, 107, .16); box-shadow: inset 0 0 0 1px rgba(255, 180, 107, .38);
  color: #FFB46B; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.sbt-judul {
  margin: 12px 0 0; color: #fff; font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 800;
  line-height: 1.3; letter-spacing: -.01em; overflow-wrap: anywhere;
}
.sbt-body { position: relative; flex: 1 1 auto; padding: 26px 28px 8px; }
.sbt-kutip {
  position: absolute; top: -4px; right: 22px; pointer-events: none; user-select: none;
  font: 900 6.5rem/1 var(--font-display, 'Nunito', sans-serif); color: #F28A1E; opacity: .2;
}
.sbt-teks { position: relative; padding-left: 18px; border-left: 3px solid #F28A1E; }
.sbt-teks p { margin: 0 0 .9em; font-size: .98rem; line-height: 1.8; color: #33424D; }
.sbt-teks p:last-child { margin-bottom: 0; }
.sbt-teks--kosong { margin: 0; font-size: .95rem; line-height: 1.75; color: #66738A; font-style: normal; }
.sbt-person {
  display: flex; align-items: center; gap: 12px; margin: 18px 28px 0; padding: 18px 0 24px;
  border-top: 1px solid #DCE6F2;
}
.sbt-person-ikon {
  display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, #0B2A5B, #1E5FB8); color: #fff; font-size: 1.05rem;
}
.sbt-person-teks { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sbt-person-teks strong { color: #0B2A5B; font-size: 1rem; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.sbt-person-teks small { color: #B9560A; font-size: .82rem; font-weight: 700; }
@media (max-width: 575.98px) {
  .sbt-head { padding: 24px 18px 0; gap: 14px; min-height: 150px; }
  .sbt-foto { width: 108px; border-radius: 18px 18px 0 0; border-width: 3px; }
  .sbt-foto.is-kosong i { font-size: 5.4rem; }
  .sbt-head-teks { padding-bottom: 18px; }
  .sbt-body { padding: 22px 18px 6px; }
  .sbt-kutip { font-size: 5rem; right: 14px; }
  .sbt-teks { padding-left: 14px; }
  .sbt-teks p { font-size: .94rem; line-height: 1.75; }
  .sbt-person { margin: 16px 18px 0; padding: 16px 0 20px; }
}
@media (prefers-reduced-motion: reduce) { [data-theme="biru"] .sambutan-card { transition: none; } }

/* ── Section #sdgs: pita biru penuh — roda SDGs diam (kiri) + slider vertikal 17 tujuan (kanan) ── */
.sdgs-pita-daftar { display: none; }              /* tema neu: hanya roda, daftar pakai grid di bawah */
.sdgs-pita-roda { max-width: 640px; margin: 0 auto; }
#sdgs .sdgs-wheel-svg { animation: none; }        /* roda tidak berputar lagi (kedua tema) */
/* Judul section pindah ke dalam pita (.sdgs-pita-judul); kepala section atas & grid 17 kartu disembunyikan. */
[data-theme="biru"] #sdgs > .section-head:first-child,
[data-theme="biru"] .keterangan-sdgs-wrap { display: none; }
[data-theme="biru"] #sdgs { padding-top: 0; }
/* Pita selebar layar penuh: .section dibatasi max-width 1180px (site.css), jadi lebarkan
   dari tengah ke tepi viewport (html/body overflow-x:clip menahan lebar scrollbar). */
[data-theme="biru"] .sdgs-pita {
  --pita-py: clamp(40px, 5vw, 72px);
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 calc(50% - 50vw); padding: var(--pita-py) var(--mb-gx);
  background: var(--mb-grad);
}
/* Foto gedung UM Pontianak samar di balik gradasi biru. */
[data-theme="biru"] .sdgs-pita::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sdgs-foto) center / cover no-repeat; opacity: .16;
}
[data-theme="biru"] .sdgs-pita-isi {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 720px);
  justify-content: center; align-items: stretch; gap: clamp(32px, 5vw, 88px);
}
/* Kartu roda: sisi atas menempel ke batas atas pita (tarik naik sebesar padding pita),
   sisi bawah sejajar dengan dasar slider di kanan (kolom grid di-stretch). */
[data-theme="biru"] .sdgs-pita-roda { display: flex; max-width: none; margin: calc(var(--pita-py) * -1) 0 0; }
[data-theme="biru"] .sdgs-pita .card-sdgs-infografis {
  flex: 1 1 auto; justify-content: center;
  padding: clamp(28px, 4vw, 52px) clamp(18px, 2.4vw, 30px); border: 0;
  border-radius: 0 0 var(--mb-r-md) var(--mb-r-md);
  background: #fff; box-shadow: 0 24px 50px rgba(5, 20, 50, .35); backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-theme="biru"] .sdgs-pita-daftar { align-self: center; }
[data-theme="biru"] .sdgs-pita .card-sdgs-infografis::before { display: none; }
[data-theme="biru"] .sdgs-pita .sdgs-wheel-wrap { max-width: 380px; margin: 0 auto; }
[data-theme="biru"] .sdgs-pita-daftar { display: block; }
.sdgs-pita-judul { display: none; }                /* tema neu: judul di .section-head */
[data-theme="biru"] .sdgs-pita-judul {
  display: block; margin: 0 0 10px; color: #fff; text-align: center;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; line-height: 1.25; text-wrap: balance;
}
[data-theme="biru"] .sdgs-pita-label {
  margin: 0 0 24px; color: rgba(255, 255, 255, .82); text-align: center; font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 400;
}
/* Panel slider tanpa latar: kartu langsung di atas pita biru + foto gedung.
   Elemen yang semula gelap (rel putus-putus, titik, hitungan) diterangkan agar terbaca. */
[data-theme="biru"] .sdgs-pita-panel { padding: 0; background: none; box-shadow: none; }
[data-theme="biru"] .sdgs-pita-panel .sdg-vslider { width: 100%; }
[data-theme="biru"] .sdgs-pita-panel .vs-rail::after { background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .45) 0 4px, transparent 4px 9px); }
[data-theme="biru"] .sdgs-pita-panel .vs-rail span:nth-child(3) { background: rgba(255, 255, 255, .45); }
[data-theme="biru"] .sdgs-pita-panel .vs-hitung { color: rgba(255, 255, 255, .85); }
[data-theme="biru"] .sdgs-pita-panel .vs-hitung b { color: #FFB46B; }
[data-theme="biru"] .sdgs-pita-panel .vs-card { box-shadow: 0 14px 34px rgba(5, 20, 50, .35); }
@media (max-width: 900px) {
  [data-theme="biru"] .sdgs-pita-isi { grid-template-columns: minmax(0, 1fr); }
  [data-theme="biru"] .sdgs-pita-roda { width: 100%; max-width: 440px; justify-self: center; }
  [data-theme="biru"] .sdgs-pita-daftar { width: 100%; max-width: 640px; justify-self: center; }
}

/* Roda & daftar 17 tujuan, program */
[data-theme="biru"] .sdgs-wheel-center { background: #fff; box-shadow: var(--mb-shadow-sm); }
[data-theme="biru"] .card-keterangan-sdgs {
  background: #fff; border: 0; border-radius: var(--mb-r-sm); box-shadow: var(--mb-shadow-sm);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-theme="biru"] .card-keterangan-sdgs:hover { transform: translateY(-3px); box-shadow: var(--mb-shadow-hover); }
[data-theme="biru"] .card-keterangan-sdgs.prioritas { box-shadow: 0 0 0 1.5px var(--mb-orange), var(--mb-shadow-sm); }
[data-theme="biru"] .ks-badge { color: var(--mb-orange); }
[data-theme="biru"] .keterangan-sdgs-title { color: var(--mb-navy); text-align: center; }
[data-theme="biru"] .program-item {
  background: #fff; border: 0; border-radius: var(--mb-r-sm); box-shadow: var(--mb-shadow-sm);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-theme="biru"] .program-item[open] { box-shadow: var(--mb-shadow-sm), inset 3px 0 0 var(--mb-orange); }
[data-theme="biru"] .program-item summary::after { color: var(--mb-orange-ink); }

/* Pilar (MBS .academic-tile: putih → gradasi saat hover) */
[data-theme="biru"] .app-icon-card,
[data-theme="biru"] #pilar .app-icon-card {
  background: #fff; border-radius: var(--mb-r-md); box-shadow: var(--mb-shadow-sm);
  align-items: flex-start; text-align: left;
  transition: transform var(--mb-dur) var(--mb-ease), box-shadow var(--mb-dur) var(--mb-ease), background var(--mb-dur) var(--mb-ease);
}
[data-theme="biru"] .app-icon-card .app-icon {
  background: var(--mb-soft) !important; color: var(--mb-orange-ink) !important; box-shadow: none;
  transition: background var(--mb-dur) var(--mb-ease), color var(--mb-dur) var(--mb-ease);
}
[data-theme="biru"] #pilar .app-icon-card:hover {
  transform: translateY(-6px); box-shadow: var(--mb-shadow-hover); background: var(--mb-grad);
}
[data-theme="biru"] #pilar .app-icon-card:hover .app-name { color: #fff; }
[data-theme="biru"] #pilar .app-icon-card:hover .app-desc { color: rgba(255, 255, 255, .85); }
[data-theme="biru"] #pilar .app-icon-card:hover .app-icon { background: rgba(255, 255, 255, .2) !important; color: #fff !important; }
[data-theme="biru"] .app-grid .app-icon-card:active { transform: translateY(-2px) scale(.99); box-shadow: var(--mb-shadow-sm); }
[data-theme="biru"] #pilar .app-icon-card:focus-visible { outline: 3px solid var(--mb-blue-300); outline-offset: 3px; }

/* Komitmen 2030: pita gelap full-bleed (MBS .mbs-curriculum / .mbs-sambutan) */
[data-theme="biru"] #komitmen {
  border-image: linear-gradient(135deg, #0A1F44 0%, #0B2A5B 55%, #12408A 100%) fill 0 / / 0 100vmax;
  color: #fff;
}
[data-theme="biru"] #komitmen .section-tag { background: rgba(255, 180, 107, .14); color: var(--mb-orange-soft); box-shadow: inset 0 0 0 1px rgba(255, 180, 107, .3); }
[data-theme="biru"] #komitmen .section-head h2 { color: #fff; }
[data-theme="biru"] #komitmen .section-head p { color: rgba(255, 255, 255, .78); }
[data-theme="biru"] .komitmen-video { box-shadow: 0 24px 54px rgba(0, 0, 0, .35); border-radius: var(--mb-r-lg); }
[data-theme="biru"] .komitmen-video-poster { background: var(--mb-grad); }
[data-theme="biru"] .komitmen-point {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--mb-r-md); box-shadow: none;
  transition: transform var(--mb-dur) var(--mb-ease), background var(--mb-dur) var(--mb-ease);
}
[data-theme="biru"] .komitmen-point:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
[data-theme="biru"] .komitmen-point strong { color: #fff; }
[data-theme="biru"] .komitmen-point p { color: rgba(255, 255, 255, .78); }
[data-theme="biru"] .komitmen-point .kp-icon { background: var(--mb-grad-orange) !important; }

/* Pakar */
[data-theme="biru"] .teamcol { border-radius: var(--mb-r-sm); }
[data-theme="biru"] .teamcol:hover { box-shadow: var(--mb-shadow-hover); }
[data-theme="biru"] .teamcol::before { background: linear-gradient(#FFB46B, #E57A14); }
[data-theme="biru"] .teamcol::after { background: var(--mb-grad); }
[data-theme="biru"] .member-role { color: var(--mb-muted); }
[data-theme="biru"] .social-listing > li > a:hover { color: var(--mb-orange-ink); }
[data-theme="biru"] .teamSlider-btn { background: #fff; color: var(--mb-navy); box-shadow: var(--mb-shadow-md); }
[data-theme="biru"] .teamSlider-btn:hover { background: var(--mb-grad); color: #fff; }
[data-theme="biru"] .teamSlider-dots button { background: var(--mb-line); }
[data-theme="biru"] .teamSlider-dots button.active { background: var(--mb-orange); }

/* Halaman detail (tujuan, pilar, keunggulan, berita) */
[data-theme="biru"] .share-wa { box-shadow: var(--mb-shadow-sm); }
[data-theme="biru"] .gallery-item { border-radius: var(--mb-r-md); box-shadow: var(--mb-shadow-sm); }
[data-theme="biru"] .stat-card { background: #fff; border: 0; box-shadow: var(--mb-shadow-sm); backdrop-filter: none; }
[data-theme="biru"] .stat-card strong { color: var(--mb-blue-700); }

/* =========================================================
   9. FOOTER (MBS .mbs-footer: gelap + lekukan bergradasi)
   ========================================================= */
[data-theme="biru"] footer {
  position: relative; color: rgba(255, 255, 255, .72);
  padding: calc(var(--ombak-h) + 48px) 24px 0;
  background: linear-gradient(#0A1F44, #0A1F44) 0 calc(var(--ombak-h) - 1px) / 100% 100% no-repeat;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-theme="biru"] .footer-ombak { display: block; position: absolute; top: 0; left: 0; width: 100%; height: var(--ombak-h); pointer-events: none; }
[data-theme="biru"] .footer-inner { max-width: 1180px; gap: 40px; }
[data-theme="biru"] .footer-brand strong { color: #fff; font-size: 1.05rem; }
[data-theme="biru"] .footer-brand p { color: rgba(255, 255, 255, .72); }
[data-theme="biru"] .footer-brand img { background: #fff; border-radius: 50%; padding: 6px; }
[data-theme="biru"] .footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
[data-theme="biru"] .footer-col h4::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 8px; border-radius: 3px; background: var(--mb-orange); }
[data-theme="biru"] .footer-col a { color: rgba(255, 255, 255, .72); min-height: 32px; display: flex; align-items: center; margin: 0; }
[data-theme="biru"] .footer-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--mb-orange); text-underline-offset: 4px; }
[data-theme="biru"] .footer-col p { color: rgba(255, 255, 255, .72); }
[data-theme="biru"] .footer-social-biru { display: flex; gap: 10px; margin-top: 18px; }
[data-theme="biru"] .footer-social a {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08);
  color: #fff; font-size: 1.05rem;
}
[data-theme="biru"] .footer-social a:hover { background: var(--mb-grad-orange); color: #fff; }
[data-theme="biru"] .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; color: rgba(255, 255, 255, .6); }
@media (max-width: 575.98px) {
  [data-theme="biru"] footer { padding-top: calc(var(--ombak-h) + 32px); }
  [data-theme="biru"] .footer-bottom { padding-bottom: calc(72px + env(safe-area-inset-bottom)); justify-content: center; text-align: center; }
}

/* FAB kembali ke atas (MBS .fab-top) */
[data-theme="biru"] .fab-btn.secondary {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--mb-orange-ink); box-shadow: var(--mb-shadow-md);
}
[data-theme="biru"] .fab-btn.secondary:hover { background: var(--mb-grad); color: #fff; transform: translateY(-4px); }

/* =========================================================
   10. LEBAR PENUH — semua section selebar navbar & topbar
   ========================================================= */
/* !important hanya untuk menimpa max-width inline di halaman detail (style="max-width:860px"). */
[data-theme="biru"] .section,
[data-theme="biru"] .section[style*="max-width"] { max-width: none !important; }
[data-theme="biru"] .hero,
[data-theme="biru"] .keunggulan-section,
[data-theme="biru"] .visi-carousel-section { max-width: none; padding-left: var(--mb-gx); padding-right: var(--mb-gx); }
[data-theme="biru"] .footer-inner,
[data-theme="biru"] .footer-bottom { max-width: none; }
[data-theme="biru"] footer { padding-left: var(--mb-gx); padding-right: var(--mb-gx); }
/* Grid kartu: auto-fit → kartu melebar mengisi baris, tidak menyisakan kolom kosong di layar lebar. */
[data-theme="biru"] .news-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
[data-theme="biru"] .accordion { max-width: 960px; }
@media (min-width: 1600px) { [data-theme="biru"] .news-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); } }
@media (max-width: 767.98px) {
  [data-theme="biru"] .visi-carousel-section { padding-bottom: 48px; }
  [data-theme="biru"] .news-grid { gap: 16px; }
}

/* =========================================================
   11. ANIMASI — kartu muncul bertahap (stagger) saat section terlihat
   ========================================================= */
/* site.js memberi .in pada .reveal. Animasi (bukan transition) dengan fill "backwards":
   keadaan awal berlaku selama jeda, lalu dilepas sepenuhnya — jadi efek hover kartu
   (transform) tidak terkunci dan tidak ikut tertunda oleh jeda stagger.
   :where() menjaga spesifisitas 0 supaya tidak mengalahkan aturan hover mana pun. */
@keyframes mbNaik {
  from { opacity: 0; transform: translateY(26px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
[data-theme="biru"] .reveal { transition: opacity .7s var(--mb-ease), transform .7s var(--mb-ease); }
:where([data-theme="biru"]) :where(.reveal.in) :where(.news-grid, .app-grid, .keterangan-sdgs-grid, .keunggulan-showcase,
  .komitmen-points, .misi-list, .program-accordion, .accordion, .vc-grid, .contact-grid, .gallery-grid) > *,
:where([data-theme="biru"]) :where(.reveal.in):where(.news-grid, .app-grid, .keterangan-sdgs-grid, .keunggulan-showcase,
  .komitmen-points, .misi-list, .program-accordion, .accordion, .vc-grid, .contact-grid, .gallery-grid) > * {
  animation: mbNaik .7s var(--mb-ease) backwards;
}
:where([data-theme="biru"]) :where(.reveal.in) :where(*) > :nth-child(2),
:where([data-theme="biru"]) :where(.reveal.in) > :nth-child(2) { animation-delay: 90ms; }
:where([data-theme="biru"]) :where(.reveal.in) :where(*) > :nth-child(3),
:where([data-theme="biru"]) :where(.reveal.in) > :nth-child(3) { animation-delay: 180ms; }
:where([data-theme="biru"]) :where(.reveal.in) :where(*) > :nth-child(4),
:where([data-theme="biru"]) :where(.reveal.in) > :nth-child(4) { animation-delay: 270ms; }
:where([data-theme="biru"]) :where(.reveal.in) :where(*) > :nth-child(5),
:where([data-theme="biru"]) :where(.reveal.in) > :nth-child(5) { animation-delay: 360ms; }
:where([data-theme="biru"]) :where(.reveal.in) :where(*) > :nth-child(n+6),
:where([data-theme="biru"]) :where(.reveal.in) > :nth-child(n+6) { animation-delay: 450ms; }
/* Gerak halus di elemen interaktif */
[data-theme="biru"] a, [data-theme="biru"] button { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  :where([data-theme="biru"]) :where(.reveal) * { animation: none !important; }
}

/* =========================================================
   12. PETA KAMPUS (beranda, setelah Kontak) — dasar untuk kedua tema
   ========================================================= */
.peta-wrap { position: relative; }
.peta-frame {
  height: clamp(300px, 42vw, 500px); border-radius: var(--r-lg, 28px); overflow: hidden;
  background: var(--surface, #eef1f4); box-shadow: var(--nm-raised);
}
.peta-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.peta-info {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 16px;
  margin-top: 16px; padding: 16px 18px; border-radius: var(--r-md, 20px);
  background: var(--bg, #fff); box-shadow: var(--nm-raised);
}
.peta-ikon {
  display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(145deg, #12a374, #0e6e4e); color: #fff; font-size: 1.25rem;
}
.peta-teks { display: flex; flex-direction: column; gap: 3px; flex: 1 1 220px; min-width: 0; }
.peta-teks strong { font-size: 14.5px; line-height: 1.35; color: var(--text-primary); }
.peta-teks span { font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
.peta-aksi { display: flex; flex-wrap: wrap; gap: 10px; }
.peta-aksi .btn i { font-size: 1em; }
/* ≥900px: peta kiri, kartu info kanan — kartu tidak menutupi atribusi/kontrol Google di atas peta. */
@media (min-width: 900px) {
  .peta-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 20px; align-items: stretch; }
  .peta-info { flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; margin: 0; padding: 28px 26px; }
  .peta-teks { flex: 0 0 auto; }
  .peta-teks strong { font-size: 1.05rem; }
  .peta-teks span { font-size: .9rem; }
  .peta-aksi { flex-direction: column; align-items: stretch; width: 100%; }
}
@media (max-width: 575.98px) {
  .peta-aksi { width: 100%; }
  .peta-aksi .btn { flex: 1 1 100%; }
}
[data-theme="biru"] .peta-frame { border-radius: var(--mb-r-lg); box-shadow: var(--mb-shadow-md); background: var(--mb-soft-start); }
[data-theme="biru"] .peta-info {
  background: #fff; border-radius: var(--mb-r-md);
  box-shadow: var(--mb-shadow-md), inset 0 3px 0 var(--mb-orange);
}

/* =========================================================
   12b. FOOTER 5 KOLOM (pola MBS): brand · Navigasi · Informasi · Situs Penting · Kontak
   Dasar untuk kedua tema — media query site.css untuk .footer-inner ikut ditulis ulang
   di sini karena aturan dasar di bawah datang belakangan.
   ========================================================= */
.footer-inner {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.7fr) minmax(0, 1.15fr);
}
.footer-links-2col { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 18px; }
.footer-links-2col a { display: flex; align-items: baseline; gap: 6px; }
.footer-links-2col a span { min-width: 0; }
.footer-links-2col a i { flex: 0 0 auto; font-size: .7em; opacity: .6; }
/* Logo SDGs + logo kampus berdampingan (kedua tema). Logo kampus selalu berlatar lingkaran putih. */
.footer-logos { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-logo-kampus {
  width: 72px; height: 72px; object-fit: contain; padding: 5px;
  background: #fff; border-radius: 50%; box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
[data-theme="biru"] .footer-logos img { box-shadow: 0 0 0 3px rgba(255, 255, 255, .12), 0 8px 18px rgba(0, 0, 0, .25); }
/* Kredit desain di pojok kanan bawah footer (kedua tema). */
.footer-credit { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; white-space: nowrap; }
.footer-credit i { font-size: 1.05em; line-height: 1; }
[data-theme="biru"] .footer-credit { color: rgba(255, 255, 255, .72); font-weight: 600; }
[data-theme="biru"] .footer-credit i { color: var(--mb-orange); }
@media (max-width: 575.98px) { .footer-credit { margin-left: 0; } }
.footer-col-kontak p { display: flex; align-items: flex-start; gap: 9px; line-height: 1.55; }
.footer-col-kontak p i { flex: 0 0 auto; margin-top: 2px; }
.footer-col-kontak p span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-col-situs { grid-column: span 2; }
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-col-situs { grid-column: 1 / -1; }
}
@media (max-width: 768px) { .footer-col-kontak { grid-column: 1 / -1; } }
@media (max-width: 340px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}
[data-theme="biru"] .footer-col-kontak p i { color: var(--mb-orange); }
[data-theme="biru"] .footer-links-2col a { min-height: 34px; }
[data-theme="biru"] .footer-links-2col a:hover i { opacity: 1; color: var(--mb-orange); }
@media (max-width: 767.98px), (pointer: coarse) {
  [data-theme="biru"] .footer-col a { min-height: 44px; }
}
[data-theme="biru"] .peta-ikon { background: var(--mb-grad); border-radius: 15px; }
[data-theme="biru"] .peta-teks strong { color: var(--mb-ink); font-weight: 800; }

/* =========================================================
   13. HALAMAN BLOG & DETAIL — gaya "MBS Insight" (Saham Syariah)
   ========================================================= */
/* Kepala section: judul kiri, intro kanan (bukan rata tengah seperti beranda). */
[data-theme="biru"] body:not([data-page="home"]) .section-head {
  align-items: stretch; text-align: left; max-width: none; margin: 0 0 39px;
}
[data-theme="biru"] body:not([data-page="home"]) .section-head > div {
  width: 100%; max-width: none;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 42px; align-items: end;
}
[data-theme="biru"] body:not([data-page="home"]) .section-head > div > .section-tag { grid-column: 1; justify-self: start; }
[data-theme="biru"] body:not([data-page="home"]) .section-head > div > h2 {
  grid-column: 1; margin-top: 13px;
  font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.18; letter-spacing: -.035em;
}
[data-theme="biru"] body:not([data-page="home"]) .section-head > div > p {
  grid-column: 2; grid-row: 1 / span 2; align-self: end; justify-self: end;
  max-width: 420px; margin: 0 0 6px; font-size: .95rem; line-height: 1.85;
}
/* Eyebrow bertitik (Insight) */
[data-theme="biru"] body:not([data-page="home"]) .section-tag {
  background: none; padding: 0; border-radius: 0; gap: 9px;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em;
}
[data-theme="biru"] body:not([data-page="home"]) .section-tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  background: var(--mb-orange); box-shadow: 0 0 0 5px rgba(242, 138, 30, .14);
}
@media (max-width: 820px) {
  [data-theme="biru"] body:not([data-page="home"]) .section-head > div { grid-template-columns: minmax(0, 1fr); }
  [data-theme="biru"] body:not([data-page="home"]) .section-head > div > p { grid-column: 1; grid-row: auto; justify-self: start; max-width: 600px; margin-top: 14px; }
  [data-theme="biru"] body:not([data-page="home"]) .section-head > div > h2 { font-size: clamp(1.6rem, 6.4vw, 2.2rem); }
}

/* Kartu artikel (Insight .article-card) */
[data-theme="biru"] body:not([data-page="home"]) .news-card {
  border: 1px solid var(--mb-line); border-radius: 19px; box-shadow: 0 5px 20px rgba(11, 42, 91, .05);
}
[data-theme="biru"] body:not([data-page="home"]) .news-card:hover { transform: translateY(-5px); box-shadow: var(--mb-shadow-md); }
[data-theme="biru"] body:not([data-page="home"]) .news-thumb { aspect-ratio: auto; height: 205px; }
[data-theme="biru"] body:not([data-page="home"]) .news-body { padding: 22px 22px 24px; }
[data-theme="biru"] body:not([data-page="home"]) .news-date { font-size: .72rem; color: #7A8699; }
[data-theme="biru"] body:not([data-page="home"]) .news-title { font-size: 1.05rem; font-weight: 800; line-height: 1.5; letter-spacing: -.02em; }
[data-theme="biru"] body:not([data-page="home"]) .news-excerpt { font-size: .86rem; line-height: 1.8; color: var(--mb-muted); }
/* Tombol "Baca selengkapnya" di kartu → tautan baca dengan panah bergeser */
[data-theme="biru"] body:not([data-page="home"]) .news-card .btn-plain {
  align-self: flex-start; min-height: 44px; padding: 0; gap: 12px;
  background: none; box-shadow: none; color: var(--mb-orange-ink); font-size: .84rem; font-weight: 800;
}
[data-theme="biru"] body:not([data-page="home"]) .news-card .btn-plain svg { transition: transform .2s var(--mb-ease); }
[data-theme="biru"] body:not([data-page="home"]) .news-card .btn-plain:hover { transform: none; background: none; box-shadow: none; color: var(--mb-navy); }
[data-theme="biru"] body:not([data-page="home"]) .news-card .btn-plain:hover svg { transform: translateX(4px); }
@media (max-width: 600px) { [data-theme="biru"] body:not([data-page="home"]) .news-body { padding: 19px 18px 21px; } }

/* Artikel detail (berita, pilar, keunggulan, tujuan) */
[data-theme="biru"] body[data-detail] .section h1 { color: var(--mb-ink); letter-spacing: -.035em; overflow-wrap: anywhere; }
[data-theme="biru"] body[data-detail] .section img[style*="width:100%"] {
  max-height: min(72vh, 640px); object-fit: cover; border-radius: 24px !important; box-shadow: var(--mb-shadow-md) !important;
}
[data-theme="biru"] body[data-detail] .card-white[style*="line-height:1.85"] {
  padding: clamp(22px, 4vw, 48px) !important;
  font-size: clamp(1rem, .35vw + .9rem, 1.12rem) !important; line-height: 1.9 !important; color: #33424D;
  border: 1px solid var(--mb-line); border-radius: 22px; box-shadow: 0 5px 20px rgba(11, 42, 91, .05);
}
[data-theme="biru"] body[data-detail] .card-white[style*="line-height:1.85"] p { margin: 0 0 1.2em; }
[data-theme="biru"] body[data-detail] .card-white[style*="line-height:1.85"] :is(h2, h3, h4) {
  color: var(--mb-ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; margin: 1.6em 0 .6em;
}
[data-theme="biru"] body[data-detail] .card-white[style*="line-height:1.85"] a { color: var(--mb-orange-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
[data-theme="biru"] body[data-detail] .card-white[style*="line-height:1.85"] blockquote {
  margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--mb-orange); color: var(--mb-ink); font-weight: 600;
}
[data-theme="biru"] body[data-detail] .card-white[style*="line-height:1.85"] img { max-width: 100%; height: auto; border-radius: 14px; }
[data-theme="biru"] body[data-detail] .card-white[style*="line-height:1.85"] li::marker { color: var(--mb-orange-ink); font-weight: 800; }
@media (min-width: 768px) {
  [data-theme="biru"] body[data-detail] .card-white[style*="line-height:1.85"] > p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
}
[data-theme="biru"] .berita-meta { padding: 14px 0 18px; border-bottom: 1px solid var(--mb-line); margin-bottom: 24px; }
[data-theme="biru"] .berita-meta-info span { padding: 5px 10px; border-radius: 8px; background: var(--mb-soft-start); color: var(--mb-navy); font-weight: 700; }
/* Kepala tujuan SDG: warna resmi tetap, ditambah cincin dekoratif seperti panel Insight. */
[data-theme="biru"] .goal-header { position: relative; overflow: hidden; border-radius: 28px; box-shadow: var(--mb-shadow-md); }
[data-theme="biru"] .goal-header::after {
  content: ""; position: absolute; right: -110px; bottom: -220px; width: 440px; height: 440px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 35px rgba(255, 255, 255, .04), 0 0 0 70px rgba(255, 255, 255, .03);
  pointer-events: none;
}
[data-theme="biru"] body[data-detail] .goal-header h1 { color: #fff; }
