/* ============================================================
/* ============================================================
   Pustaka UT — main.css
   Custom theme Perpustakaan Universitas Terbuka
   Entry point: semua modul diimport di sini secara berurutan.
   Edit komponen di file masing-masing, bukan di sini.
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --blue:    #034694;
  --yellow:  #FFDE00;
  --cream:   #F5F0E8;
  --cream2:  #EDE7D9;
  --cream3:  #E4DCCB;
  --ivory:   #F0E6D2; /* pengganti putih di atas background gelap/biru — bukan putih */
  --paper:   #FBF8F1; /* permukaan kartu "kertas hangat" di atas cream — pengganti #fff, BUKAN putih */
  --dark:    #0D1B2A;
  --text:    #1A2A3A;
  --mid:     #5A6A7A;
  /* Warna ketiga — aksen kicker section, dipakai sebagai pengganti strip.
     Terracotta hangat: beda dari biru/kuning/cream, cocok nuansa akademik/pustaka. */
  --accent3:       #B8491F; /* untuk background terang: cream, kuning */
  --accent3-light: #FFB98C; /* tint terang untuk background gelap: biru */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Interstate', 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 0;
  --transition: 0.2s ease;

  /* ── TOKEN EDITORIAL (PILOT: baru dipakai halaman E-Resources) ──────────
     Filosofi: "kertas cetak di atas meja", bukan "kartu app melayang".
     - Radius kecil & terkontrol → kartu katalog dipotong rapi, bukan pill.
     - Elevation NETRAL HANGAT (tinta/abu), bukan glow biru → kertas
       menimbulkan bayangan, bukan cahaya.
     - Motion singkat & seragam. Angkat hover tipis (-2px), bukan melompat. */
  --r-sm:  4px;   /* badge, chip */
  --r-md:  8px;   /* tombol, tile, input */
  --r-lg:  12px;  /* kartu */
  --r-pill: 999px;

  --sh-rest:  0 1px 2px rgba(26,42,58,0.05), 0 2px 8px rgba(26,42,58,0.04);
  --sh-hover: 0 2px 4px rgba(26,42,58,0.06), 0 8px 20px rgba(26,42,58,0.10);

  --t-fast: 0.15s;
  --t-base: 0.25s;
  --ease:   cubic-bezier(0.2, 0, 0.2, 1);
  --lift:   -2px;
}

/* ── TOPBAR ── */
.topbar {
  background: linear-gradient(180deg, #FFE84D 0%, #FFDE00 50%, #ECC900 100%);
  padding: 0;
  border-bottom: 1px solid rgba(3,70,148,0.2);
  box-shadow: inset 0 1px 0 rgba(240,230,210,0.6), 0 2px 6px rgba(26,42,58,0.1);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 36px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0;
}

.topbar-link {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(3,70,148,0.85);
  font-weight: 600;
  text-transform: none;
  padding: 0 11px;
  letter-spacing: 0.04em;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  border-right: 1px solid rgba(3,70,148,0.15);
}

.topbar-right .topbar-link:first-child {
  border-left: 1px solid rgba(3,70,148,0.15);
}

.topbar-link:hover {
  color: var(--blue);
  background: rgba(3,70,148,0.05);
}

.topbar-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 100%;
  color: rgba(3,70,148,0.7);
  transition: color 0.15s, background 0.15s;
  border-right: 1px solid rgba(3,70,148,0.1);
}

.topbar-social:first-child {
  border-left: 1px solid rgba(3,70,148,0.1);
}

.topbar-social:hover {
  color: var(--blue);
  background: rgba(3,70,148,0.1);
}

.topbar-div {
  width: 1px;
  height: 14px;
  background: rgba(3,70,148,0.2);
  margin: 0 6px;
  display: inline-block;
  flex-shrink: 0;
}

/* GTranslate plugin — struktur render: .gtranslate_wrapper > a.glink[data-gt-lang] > img */
.topbar-gtranslate {
  display: flex;
  align-items: center;
  height: 100%;
}

.topbar-gtranslate .gtranslate_wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  padding: 0 10px !important;
  height: 36px !important;
  border-left: 1px solid rgba(3,70,148,0.15) !important;
}

/* Tiap tombol bahasa */
.topbar-gtranslate .glink {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 7px !important;
  color: rgba(3,70,148,0.75) !important;
  text-decoration: none !important;
  transition: background 0.15s !important;
  white-space: nowrap;
}

.topbar-gtranslate .glink:hover {
  background: rgba(3,70,148,0.1) !important;
}

/* Bahasa aktif */
.topbar-gtranslate .glink.gt-current-lang {
  background: rgba(3,70,148,0.08) !important;
  color: var(--blue) !important;
}

/* Flag image — tampilkan kecil dan rapi */
.topbar-gtranslate .glink img {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  border-radius: 2px !important;
}

/* Kode bahasa (EN / ID) via CSS attr — tanpa ubah HTML */
.topbar-gtranslate .glink::after {
  content: attr(data-gt-lang);
  font-family: var(--font-body) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
}

/* Sembunyikan google_translate_element2 yang kosong */
#google_translate_element2 {
  display: none !important;
}

/* ── NAV SEARCH BAR ── */
/* ── NAVBAR SEARCH OVERLAY ── */
.nav-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(1,20,60,0.96);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-search-overlay-inner {
  width: 100%;
  max-width: 680px;
  padding: 0 24px;
  position: relative;
}

.nav-search-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,230,210,0.35);
  margin-bottom: 16px;
  text-align: center;
}

.nav-search-form {
  position: relative;
}

.nav-search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(240,230,210,0.07);
  border: 1.5px solid rgba(240,230,210,0.2);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 20px;
  transition: border-color 0.2s, background 0.2s;
}

.nav-search-field:focus-within {
  border-color: var(--yellow);
  background: rgba(240,230,210,0.1);
}

.nav-search-field > svg {
  color: rgba(240,230,210,0.4);
  flex-shrink: 0;
}

.nav-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 20px;
  color: var(--ivory);
  font-family: var(--font-body);
  padding: 10px 0;
  min-width: 0;
}

.nav-search-input::placeholder {
  color: rgba(240,230,210,0.3);
}

.nav-search-submit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--yellow);
  color: var(--blue);
  border: none;
  border-radius: var(--r-pill);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}

.nav-search-submit:hover {
  background: #ffe633;
  transform: scale(1.05);
}

/* Suggestion dropdown */
.nav-search-suggestions {
  list-style: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: var(--cream);
  border: 1px solid rgba(3,70,148,0.12);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 10;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
}

.nav-search-suggestions.has-results {
  display: block;
}

.nav-search-suggestions li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(3,70,148,0.06);
  transition: background 0.12s, color 0.12s;
}

.nav-search-suggestions li:last-child a {
  border-bottom: none;
}

.nav-search-suggestions li a:hover,
.nav-search-suggestions li.active a {
  background: var(--cream);
  color: var(--blue);
}

.nav-search-suggestions .sug-type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(3,70,148,0.4);
  margin-left: auto;
  flex-shrink: 0;
}

/* Close button overlay */
.nav-search-close {
  position: absolute;
  top: -60px;
  right: 24px;
  background: rgba(240,230,210,0.08);
  border: 1px solid rgba(240,230,210,0.15);
  color: rgba(240,230,210,0.6);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.nav-search-close:hover {
  background: rgba(240,230,210,0.15);
  color: var(--ivory);
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for sticky topbar + navbar */
  font-size: 17px;
  /* CATATAN: JANGAN pasang overflow-x:hidden di <html> — itu menjadikan
     root sebagai scroll-container & MEMUTUS position:sticky header. Overflow
     horizontal mobile sudah dicegah oleh overflow-x:hidden di <body>
     (propagasi ke viewport) + perampingan topbar mobile. */
}

/* Sticky-footer layout: body jadi kolom setinggi minimal 1 layar, konten
   utama mengembang mengisi sisa ruang → header selalu mentok atas & footer
   selalu mentok bawah, betapapun pendeknya isi halaman. Elemen fixed
   (loader/kursor/panel) out-of-flow, tidak terpengaruh. */
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body > main { flex: 1 0 auto; }
#site-header, .site-footer { flex-shrink: 0; }

/* Saat login (admin bar WP aktif), geser header sticky supaya tidak tertimpa
   admin bar. Pengunjung biasa tidak punya .admin-bar → tidak terpengaruh. */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ── ACCESSIBILITY ── */
.screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--yellow);
  color: var(--blue);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 17px;
  z-index: 9999;
  left: auto;
  width: auto;
  height: auto;
  clip: auto;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  display: none;
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: multiply;
}

.cursor-ring {
  display: none;
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              opacity 0.3s ease;
  opacity: 0.55;
}

.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  border-color: var(--yellow);
  opacity: 0.85;
}

@media (hover: hover) {
  .cursor,
  .cursor-ring {
    display: block;
  }
}

/* ── SECTION UTILITY ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* sec-head: default centered — untuk section tanpa link "lihat semua" */
.sec-head {
  text-align: left;
  margin-bottom: 40px;
}

/* sec-head--split: flex space-between — untuk section yang punya link kanan (mis. Berita) */
.sec-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.sec-kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sec-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

/* Judul 1 baris, tanpa tombol di sampingnya jadi ruang lega — ukuran besar aman.
   Compound selector (.sec-title.sec-title--lg) sengaja dipakai agar
   spesifisitasnya menang melawan aturan Typography Scale yang dimuat
   belakangan di file ini (lihat komentar TYPOGRAPHY SCALE di bawah). */
.sec-title--lg {
  white-space: nowrap;
}

.sec-title.sec-title--lg {
  font-size: clamp(26px, 3.4vw, 42px);
}

@media (max-width: 768px) {
  .sec-title--lg {
    white-space: normal;
  }
  .sec-title.sec-title--lg {
    font-size: 30px;
  }
}

.sec-all {
  font-size: 17px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 24px;
}

.sec-all:hover {
  border-bottom-color: var(--blue);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Per-line reveal — scroll-triggered, weighted */
.line-reveal {
  overflow: hidden;
  display: block;
}

.line-reveal > span {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.line-reveal.visible > span {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR & HEADER SMART SCROLL
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

/* topbar is permanently sticky, so shift is disabled */
#site-header.hide-topbar {
  transform: none;
}

.site-nav {
  position: relative;
  height: 60px;
  background: #F8F5EF;
  border-bottom: 1.5px solid #E8E0D2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease,
              padding 0.35s ease;
}

.site-nav.scrolled {
  height: 50px;
  box-shadow: 0 2px 20px rgba(26,42,58,0.1);
}

/* ── TIME-OF-DAY AMBIENT SHADOWS (MULTI-LAYERED) ── */
#site-header[data-time-ambient="morning"] .site-nav.scrolled {
  box-shadow: 0 2px 4px rgba(3, 70, 148, 0.04), 
              0 8px 24px rgba(3, 70, 148, 0.12);
}

#site-header[data-time-ambient="afternoon"] .site-nav.scrolled {
  box-shadow: 0 2px 6px rgba(184, 73, 31, 0.06), 
              0 12px 32px rgba(184, 73, 31, 0.15);
}

#site-header[data-time-ambient="night"] .site-nav.scrolled {
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.15), 
              0 16px 48px rgba(13, 27, 42, 0.35);
}

.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.25s cubic-bezier(0.2, 0, 0.2, 1);
}

.nav-logo-img:hover {
  opacity: 0.75;
}

.logo-divider {
  width: 1px;
  height: 34px;
  background-color: rgba(3, 70, 148, 0.15);
  display: block;
}

@media (max-width: 768px) {
  .nav-logo-link {
    gap: 10px;
  }
  .nav-logo-img {
    height: 32px;
  }
  .logo-divider {
    height: 24px;
  }
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}

.nav-menu > li > a {
  font-size: 17px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.01em;
  display: block;
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
}

/* Ikon dari data menu lama (direkonstruksi Pustaka_Nav_Walker) — ukuran
   & jarak disamakan supaya sejajar rapi dengan teks label, di navbar
   maupun di dalam kartu dropdown (nav-sub-head). */
.nav-menu .dashicons,
.mobile-nav-list .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 1;
  vertical-align: -3px;
  margin-right: 6px;
  opacity: 0.85;
}

.nav-sub-head .dashicons { margin-right: 8px; vertical-align: -2px; }

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue);
  transition: width 0.35s cubic-bezier(0.2, 0, 0.2, 1);
}

.nav-menu > li:hover > a,
.nav-menu > li > a:hover {
  color: var(--blue);
  opacity: 1;
}

.nav-menu > li:hover > a::after {
  width: 100%;
}

/* ── Penanda halaman aktif (editorial: garis bawah permanen + teks tebal) ──
   WordPress otomatis menambah class current-menu-* di <li> item yang sedang
   dibuka (juga saat di halaman anak → induk dropdown ikut menyala). Fallback
   nav memakai aria-current. Dibedakan dari hover: aktif = 2px & tak pudar. */
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a,
.nav-menu > li.current-menu-parent > a,
.nav-menu > li.current_page_item > a,
.nav-menu > li.current_page_ancestor > a,
.nav-menu > li.current_page_parent > a,
.nav-menu > li > a[aria-current="page"] {
  font-weight: 700;
  opacity: 1;
}

.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current-menu-ancestor > a::after,
.nav-menu > li.current-menu-parent > a::after,
.nav-menu > li.current_page_item > a::after,
.nav-menu > li.current_page_ancestor > a::after,
.nav-menu > li.current_page_parent > a::after,
.nav-menu > li > a[aria-current="page"]::after {
  width: 100%;
  height: 2px;
}

/* ── DROPDOWN SUB-MENU — mega-panel nempel di bawah item pemicunya
   (posisi horizontal presisi dihitung & di-clamp lewat JS/main.js supaya
   tidak pernah kepotong tepi layar, tanpa membuat jarak/dead-zone antara
   item dan panelnya). flex-wrap: satu baris kalau muat, otomatis patah
   ke bawah kalau tidak muat — bukan dipaksa satu baris + scroll. ── */
.nav-menu .sub-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  background: var(--cream);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: calc(100vw - 64px);
  z-index: 300;
  box-shadow: 0 28px 64px rgba(26,42,58,0.2), 0 4px 16px rgba(0,0,0,0.06);
  border-top: 3px solid var(--blue);
  list-style: none;
  padding: 0;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li.dropdown-open > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav-menu .sub-menu li {
  position: relative;
  background: var(--cream);
  flex: 0 0 230px;
  border-right: 1px solid var(--cream3);
}

.nav-menu .sub-menu li:last-child { border-right: none; }

.nav-menu .sub-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  height: 100%;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text);
  font-weight: 400;
  white-space: normal;
  position: relative;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

/* Aksen batang kiri muncul saat hover — bukan cuma ganti warna datar */
.nav-menu .sub-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.nav-menu .sub-menu a:hover {
  background: var(--cream2);
  padding-left: 24px;
}

.nav-menu .sub-menu a:hover::before {
  transform: scaleY(1);
}

.nav-sub-head {
  display: flex;
  align-items: center;
}

.nav-sub-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav-menu .sub-menu a:hover .nav-sub-title { color: var(--blue); }

/* Item anak dropdown yang sedang dibuka: aksen batang kiri PERMANEN + latar
   tipis + judul biru — best practice: saat user membuka dropdown induk, ia
   langsung tahu sub-halaman mana yang sedang aktif. */
.nav-menu .sub-menu li.current-menu-item > a,
.nav-menu .sub-menu li.current_page_item > a,
.nav-menu .sub-menu a[aria-current="page"] {
  background: var(--cream2);
}

.nav-menu .sub-menu li.current-menu-item > a::before,
.nav-menu .sub-menu li.current_page_item > a::before,
.nav-menu .sub-menu a[aria-current="page"]::before {
  transform: scaleY(1);
}

.nav-menu .sub-menu li.current-menu-item > a .nav-sub-title,
.nav-menu .sub-menu li.current_page_item > a .nav-sub-title,
.nav-menu .sub-menu a[aria-current="page"] .nav-sub-title {
  color: var(--blue);
}

.nav-sub-desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--mid);
  line-height: 1.45;
}

/* Badge langganan & ikon eksternal — ditempel di pojok kanan-atas kartu,
   supaya tidak mengganggu alur judul+deskripsi yang sekarang bertumpuk vertikal */
.nav-sub-badge {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 10px;
  font-weight: 600;
  background: var(--blue);
  color: var(--ivory);
  padding: 1px 6px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.nav-ext-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  opacity: 0.3;
}

.nav-menu .sub-menu a:hover .nav-ext-icon {
  opacity: 0.6;
}

/* Chevron pada parent item */
.nav-chevron {
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.nav-menu .menu-item-has-children:hover .nav-chevron,
.nav-menu .menu-item-has-children.dropdown-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Hapus ::before lama yang sudah diganti nav-chevron */
.nav-menu .menu-item-has-children > a::before {
  display: none;
}

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  transition: background 0.15s;
}

.nav-hamburger:hover { background: rgba(3,70,148,0.06); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: var(--r-sm);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100dvh;
  background: var(--cream);
  z-index: 1000;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 24px rgba(0,0,0,0.12);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.58);
  z-index: 999;
  opacity: 0;
  /* WAJIB: saat tertutup jangan tangkap klik. Tanpa ini, di mobile overlay
     di-display:block tapi opacity:0 (tak terlihat) TETAP menutupi layar &
     memblokir SEMUA klik — termasuk tombol hamburger. */
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(3,70,148,0.1);
}

.mobile-menu-logo { height: 36px; width: auto; }

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue);
  padding: 4px;
  border-radius: var(--r-sm);
  line-height: 0;
}

.mobile-menu-nav { padding: 8px 0; }

/* Tautan Cepat (link portal yang dipindah dari topbar) */
.mobile-menu-extra {
  padding: 18px 20px 24px;
  border-top: 1px solid rgba(3,70,148,0.1);
  margin-top: 6px;
}

.mobile-menu-extra-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mid);
  margin: 0 0 12px;
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-menu-links a {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--cream2);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.mobile-menu-links a:hover,
.mobile-menu-links a:active {
  background: var(--blue);
  color: var(--ivory);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid rgba(3,70,148,0.06);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

/* Penanda aktif menu mobile: aksen garis kiri + latar tipis + teks tebal. */
.mobile-nav-list > li.current-menu-item > a,
.mobile-nav-list > li.current-menu-ancestor > a,
.mobile-nav-list > li.current-menu-parent > a,
.mobile-nav-list > li.current_page_item > a,
.mobile-nav-list > li.current_page_ancestor > a,
.mobile-nav-list > li > a[aria-current="page"] {
  font-weight: 700;
  border-left-color: var(--blue);
  background: rgba(3,70,148,0.05);
}

.mobile-nav-list .sub-menu {
  display: none;
  list-style: none;
  background: rgba(3,70,148,0.03);
  border-bottom: 1px solid rgba(3,70,148,0.08);
  padding: 4px 0;
}

.mobile-nav-list .sub-menu.open { display: block; }

.mobile-nav-list .sub-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 11px 28px;
  font-size: 13px;
  color: var(--text);
  border: none;
  position: relative;
}

.mobile-nav-list .sub-menu a:hover .nav-sub-title { color: var(--blue); }

.mobile-nav-list .nav-sub-title { font-weight: 700; }

.mobile-nav-list .nav-sub-desc {
  font-size: 11.5px;
  color: var(--mid);
  line-height: 1.4;
}

.mobile-nav-list .nav-sub-badge {
  font-size: 9px;
  padding: 1px 5px;
  top: 11px;
  right: 28px;
}

.mobile-nav-list .nav-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.mobile-nav-list > li.dropdown-open .nav-chevron { transform: rotate(180deg); }

.nav-search-btn {
  background: transparent;
  border: none;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.nav-search-btn:hover {
  color: var(--blue);
  background: rgba(3,70,148,0.08);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  background: var(--blue);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-photo-url, none);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 40px 170px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero-tag-text {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(255, 222, 0, 0.4);
  padding: 6px 16px;
  border: 1px solid var(--yellow);
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

/* Setiap baris H1 hero muncul dari bawah secara bergiliran.
   padding-bottom memberi ruang untuk descender huruf p/g/j/y
   agar tidak terpotong oleh overflow:hidden. */
.hero-h1 .h1-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  white-space: nowrap;
}

.hero-h1 .h1-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: lineRevealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-h1 .h1-line:nth-child(1) .h1-inner { 
  animation-delay: 0.15s; 
  font-style: normal;
}
.hero-h1 .h1-line:nth-child(2) .h1-inner { animation-delay: 0.35s; }

.hero-h1 em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 24px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 14px;
}

@keyframes lineRevealUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 16px;
  color: rgba(240,230,210,0.6);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 300;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 0.5s forwards;
}

.hero-sub span {
  display: block;
}

/* ── HERO SEARCH — ONE SEARCH eyebrow ── */
.hero-search-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  justify-content: center;
}

.hero-search-badge {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--yellow);
  padding: 3px 8px;
  line-height: 1.5;
}

.hero-search-eyebrow-text {
  font-size: 12px;
  color: rgba(240,230,210,0.45);
  letter-spacing: 0.02em;
}

/* ── HERO PLATFORMS — daftar platform di bawah search ── */
.hero-platforms {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-platforms-label {
  font-size: 11px;
  color: rgba(240,230,210,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 4px;
}

.hero-platform-item {
  font-size: 11px;
  color: rgba(240,230,210,0.5);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-platform-dot {
  color: rgba(240,230,210,0.2);
  font-size: 12px;
}

/* ── HERO CTA BUTTONS ── */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.65s forwards;
  justify-content: center;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 22px;
  border: 1.5px solid var(--yellow);
  border-radius: var(--r-md);
  background: var(--yellow);
  color: var(--blue);
  transition: transform 0.22s cubic-bezier(0.34,1.4,0.64,1),
              box-shadow 0.22s ease,
              background 0.15s;
  white-space: nowrap;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,222,0,0.3);
  color: var(--blue);
}

.hero-cta-btn:active {
  transform: translateY(0);
}

/* ── ONE SEARCH FLOATING CARD ──
   Card ini naik menutupi bagian bawah hero. Transisi warna ditangani
   sepenuhnya oleh gradient internal card — bukan elemen wave terpisah,
   supaya tidak ada lagi masalah "garis nabrak" akibat 2 elemen berbeda. */
.onesearch-float {
  position: relative;
  z-index: 10;
  margin-top: -128px;
  padding: 0 40px;
}

.onesearch-float-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(180deg,
    var(--cream2) 0%,
    var(--cream3) 32%,
    #A9BEDA 50%,
    #3E6BA3 66%,
    var(--blue) 84%,
    var(--blue) 100%
  );
  border-radius: var(--r-lg);
  /* Dog-ear: sudut kanan-atas dipotong diagonal, seperti halaman terlipat */
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  padding: 26px 32px 24px;
  box-shadow: 0 4px 6px rgba(26,42,58,0.06),
              0 14px 36px rgba(26,42,58,0.18);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s 0.15s forwards;
  transition: box-shadow 0.3s ease, transform 0.3s ease, clip-path 0.3s ease;
}

.onesearch-float-inner:hover {
  box-shadow: 0 6px 10px rgba(26,42,58,0.08),
              0 20px 44px rgba(26,42,58,0.22);
  transform: translateY(-3px);
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%);
}

/* Bayangan lipatan halaman — tampil di balik sudut yang terpotong */
.onesearch-float-inner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--cream3) 0%, #d8cba8 100%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  box-shadow: -3px 3px 8px rgba(26,42,58,0.28);
  transition: width 0.3s ease, height 0.3s ease;
  z-index: 3;
  pointer-events: none;
}

.onesearch-float-inner:hover::after {
  width: 42px;
  height: 42px;
}

/* Partikel debu mengambang di dalam card — echo motif hero & loading screen */
.os-mote {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  animation: osMoteDrift 6s ease-in infinite;
}

.os-mote:nth-child(1) { left: 8%;  bottom: 10%; animation-delay: 0s;   }
.os-mote:nth-child(2) { left: 22%; bottom: 20%; animation-delay: 1.2s; background: var(--blue); }
.os-mote:nth-child(3) { left: 45%; bottom: 5%;  animation-delay: 2.4s; }
.os-mote:nth-child(4) { left: 68%; bottom: 25%; animation-delay: 3.6s; background: var(--blue); }
.os-mote:nth-child(5) { left: 85%; bottom: 8%;  animation-delay: 4.8s; }

@keyframes osMoteDrift {
  0%   { opacity: 0; transform: translateY(0) scale(0.6); }
  15%  { opacity: 0.55; }
  85%  { opacity: 0.35; }
  100% { opacity: 0; transform: translateY(-90px) scale(1); }
}

.onesearch-float-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.onesearch-badge {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transform: rotate(-2.5deg);
  box-shadow: 0 3px 8px rgba(26,42,58,0.25);
  transition: transform 0.25s ease;
}

.onesearch-float-inner:hover .onesearch-badge {
  transform: rotate(-2.5deg) translateY(-2px);
}

.onesearch-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3,70,148,0.15);
  transform: scaleX(0);
  transform-origin: left;
  animation: badgeSweep 2.4s 0.6s ease-in-out infinite;
}

@keyframes badgeSweep {
  0%   { transform: scaleX(0);  transform-origin: left; }
  45%  { transform: scaleX(1);  transform-origin: left; }
  55%  { transform: scaleX(1);  transform-origin: right; }
  100% { transform: scaleX(0);  transform-origin: right; }
}

.onesearch-desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(3,70,148,0.5);
  letter-spacing: 0.01em;
}

.onesearch-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid rgba(3,70,148,0.12);
  border-radius: var(--r-md);
  padding: 6px 6px 6px 18px;
  background: var(--cream);
  box-shadow: 0 2px 10px rgba(26,42,58,0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.onesearch-field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26,42,58,0.12);
}

.onesearch-field > svg {
  color: rgba(3,70,148,0.35);
  flex-shrink: 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.onesearch-field:focus-within > svg {
  color: var(--blue);
  transform: scale(1.1);
}

.onesearch-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--blue);
  font-family: var(--font-body);
  padding: 9px 0;
  min-width: 0;
}

.onesearch-input::placeholder {
  color: rgba(3,70,148,0.45);
}

.onesearch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue);
  color: var(--yellow);
  border: none;
  border-radius: var(--r-md);
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: background 0.15s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.onesearch-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,222,0,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.onesearch-btn:hover::before {
  left: 130%;
}

.onesearch-btn:hover {
  background: #023080;
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(26,42,58,0.3);
}

.onesearch-btn:active {
  transform: translateX(1px) scale(0.98);
}

.onesearch-btn svg {
  transition: transform 0.2s ease;
}

.onesearch-btn:hover svg {
  transform: translateX(2px);
}

.onesearch-platforms {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.onesearch-platforms span:not(.os-dot) {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(240,230,210,0.6);
  transition: color 0.15s ease;
  cursor: default;
}

.onesearch-platforms span:not(.os-dot):hover {
  color: var(--yellow);
  font-weight: 600;
}

.os-dot {
  color: rgba(240,230,210,0.3) !important;
}

/* ── PLATFORM PANEL ── */
.platform-panel {
  position: fixed;
  inset: 0;
  background: rgba(2,30,80,0.97);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 32px 40px;
}

.platform-panel.open {
  opacity: 1;
  pointer-events: all;
}

.platform-panel-inner {
  width: 100%;
  max-width: 860px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}

.platform-panel.open .platform-panel-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.platform-panel-inner {
  width: 100%;
  max-width: 860px;
}

.platform-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.platform-panel-query {
  font-size: 17px;
  color: rgba(240,230,210,0.6);
  font-family: var(--font-body);
}

.platform-panel-query strong {
  color: var(--yellow);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 17px;
}

.platform-panel-close {
  background: rgba(240,230,210,0.1);
  border: none;
  color: rgba(240,230,210,0.6);
  width: 36px;
  height: 36px;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.platform-panel-close:hover {
  background: rgba(240,230,210,0.2);
  color: var(--ivory);
}

.platform-panel-sub {
  font-size: 17px;
  color: rgba(240,230,210,0.35);
  margin-bottom: 20px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 900px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .platform-grid { grid-template-columns: 1fr; }
}

.platform-card {
  background: rgba(240,230,210,0.06);
  border: 1px solid rgba(240,230,210,0.08);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: background 0.2s ease,
              border-color 0.2s ease,
              transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  text-decoration: none;
}

.platform-card:hover {
  transform: translateY(-3px);
}

.platform-card:hover {
  background: rgba(240,230,210,0.12);
  border-color: var(--yellow);
}

.pc-icon {
  width: 42px;
  height: 42px;
  background: rgba(240,230,210,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;
  transition: background 0.15s;
}

.platform-card:hover .pc-icon {
  background: var(--yellow);
  color: var(--blue);
}

.pc-body {
  flex: 1;
  min-width: 0;
}

.pc-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pc-desc {
  font-size: 17px;
  color: rgba(240,230,210,0.4);
  line-height: 1.4;
}

.pc-badge {
  background: var(--yellow);
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--r-sm);
  letter-spacing: 0.06em;
}

/* Platform yang belum tersedia — tampil tapi tidak bisa diklik */
.platform-card--disabled {
  pointer-events: none;
  opacity: 0.45;
  cursor: not-allowed;
}

.platform-card--disabled .pc-badge {
  background: rgba(240,230,210,0.15);
  color: var(--ivory);
}

.pc-arrow {
  color: rgba(240,230,210,0.25);
  font-size: 17px;
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}

.platform-card:hover .pc-arrow {
  color: var(--yellow);
  transform: translateX(3px);
}

/* SEARCH ENGINE */
.search-wrap {
  position: relative;
  z-index: 3;
  padding: 0 40px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 0.65s forwards;
}

.search-box {
  background: var(--cream);
  border-top: 3px solid var(--yellow);
  max-width: 1200px;
  margin: 0 auto;
}

.search-tabs {
  display: flex;
  background: var(--cream2);
  overflow-x: auto;
  scrollbar-width: none;
}

.search-tabs::-webkit-scrollbar {
  display: none;
}

.stab {
  padding: 12px 18px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a7a6a;
  cursor: pointer;
  border: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-family: var(--font-body);
  background: transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.stab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: var(--cream);
}

.stab:hover:not(.active) {
  color: var(--blue);
  background: rgba(3,70,148,0.04);
}

.search-row {
  display: flex;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 18px 20px;
  font-size: 17px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  font-weight: 400;
  min-width: 0;
}

.search-input::placeholder {
  color: #c0b0a0;
}

.search-btn {
  background: var(--blue);
  color: var(--yellow);
  border: none;
  border-radius: 0 12px 12px 0;
  padding: 0 32px;
  height: 58px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s ease;
}

.search-btn:hover {
  transform: translateY(-2px);
  background: #023080;
}

.search-btn svg {
  color: var(--yellow);
}

.search-hints {
  padding: 10px 20px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--cream2);
  flex-wrap: wrap;
}

.sh-label {
  font-size: 17px;
  color: #9a8a7a;
  margin-right: 2px;
}

.sh-chip {
  background: var(--cream2);
  padding: 4px 10px;
  font-size: 17px;
  color: #5a4a3a;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
  border: none;
  cursor: pointer;
}

.sh-chip:hover {
  background: var(--blue);
  color: var(--yellow);
}

/* ============================================================
   MARQUEE PLATFORM STRIP
   ============================================================ */
.platforms-marquee {
  background: var(--blue);
  border-top: 1px solid rgba(240,230,210,0.07);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 28px;
  border-right: 1px solid rgba(240,230,210,0.08);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.marquee-item:hover {
  opacity: 1;
}

.marquee-item:hover .mi-name {
  color: var(--yellow);
}

.mi-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(240,230,210,0.25);
  flex-shrink: 0;
}

.mi-name {
  font-size: 17px;
  color: rgba(240,230,210,0.55);
  font-family: var(--font-body);
  font-weight: 500;
  transition: color 0.2s;
}

.mi-badge {
  background: var(--yellow);
  color: var(--blue);
  padding: 2px 6px;
  font-size: 17px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.section-services {
  position: relative;
  padding: 44px 0 56px;
  background: var(--cream);
  overflow: hidden;
}

/* Three.js "punggung buku melayang" — canvas latar section, tenang & tidak mengganggu */
.svc-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-services .section-inner {
  position: relative;
  z-index: 1;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-card {
  display: block;
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 16px rgba(13,27,42,0.06);
  padding: 40px 30px 32px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: background 0.4s ease,
              transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1),
              box-shadow 0.5s ease;
}

.svc-card:hover {
  background: var(--cream2);
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(26,42,58,0.13);
}

/* Nomor urut — watermark editorial, besar & pudar di belakang konten */
.svc-num {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 76px;
  font-weight: 700;
  color: rgba(3,70,148,0.055);
  line-height: 1;
  user-select: none;
  transition: color 0.4s ease, transform 0.4s ease;
  z-index: 0;
}

.svc-card:hover .svc-num {
  color: rgba(3,70,148,0.09);
  transform: scale(1.06);
}

/* Icon dalam lingkaran — invert warna saat hover */
.svc-ico {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.svc-ico svg {
  width: 21px;
  height: 21px;
  color: var(--blue);
  transition: color 0.3s ease;
}

.svc-card:hover .svc-ico {
  background: var(--blue);
  transform: scale(1.08);
}

.svc-card:hover .svc-ico svg {
  color: var(--yellow);
}

.svc-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}

.svc-desc {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: #6a5a4a;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* Garis aksen — melebar saat hover */
.svc-rule {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 14px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover .svc-rule {
  width: 56px;
}

.svc-arrow {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease;
}

.svc-card:hover .svc-arrow {
  gap: 10px;
}

/* ============================================================
   BERITA & INFORMASI
   ============================================================ */
.section-news {
  background: var(--cream2);
  padding: 56px 0;
  border-top: 2px solid var(--cream3);
}

.news-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 2px solid rgba(3,70,148,0.1);
}

.news-tab {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -2px;
}

.news-tab.active { color: var(--blue); border-color: var(--blue); }
.news-tab:hover:not(.active) { color: var(--blue); }

.news-panel { display: none; }
.news-panel.active { display: block; }

.news-empty {
  font-size: 15px;
  color: var(--mid);
  padding: 40px 0;
  text-align: center;
}

.news-featured-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.news-card {
  display: block;
  background: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 16px rgba(13,27,42,0.05);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1),
              box-shadow 0.5s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(26,42,58,0.16);
}

.news-thumb {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  height: 260px;
}

.news-card-big .news-thumb {
  height: 260px;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.07);
  opacity: 0.9;
}

.news-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3,70,148,0.45) 100%);
  pointer-events: none;
}

.news-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--yellow);
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-body {
  padding: 24px;
}

.news-date {
  font-size: 17px;
  color: #9a8070;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.news-title {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.news-card-big:hover .news-title {
  color: var(--blue);
}

.news-excerpt {
  font-size: 17px;
  color: #6a5a4a;
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-read {
  font-size: 17px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease;
}

.news-card:hover .news-read {
  gap: 10px;
}

/* Side List */
.news-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nsi {
  display: flex;
  background: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: 0 3px 12px rgba(13,27,42,0.05);
  padding: 16px;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: background var(--transition), transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.nsi:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(26,42,58,0.12);
  background: var(--cream2);
}

.nsi-img-link {
  display: block;
  flex-shrink: 0;
}

.nsi img {
  width: 80px;
  height: 64px;
  object-fit: cover;
  filter: saturate(0.8);
  transition: filter var(--transition);
}

.nsi:hover img {
  filter: saturate(1);
}

.nsi-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nsi-cat {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.nsi-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  transition: color var(--transition);
}

.nsi:hover .nsi-title {
  color: var(--blue);
}

.nsi-date {
  font-size: 17px;
  color: #9a8070;
  margin-top: 5px;
}

/* ============================================================
   STATS
   ============================================================ */
.section-stats {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 44px 0;
  border-top: 2px solid var(--cream3);
}

/* Three.js ambient — titik data melayang mengisi ruang di sekitar panel */
.stats-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.stats-head {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.section-stats .sec-title {
  color: var(--text);
}

/* Panel terpusat — supaya walaupun cuma 2-3 statistik, tidak terasa
   melebar kosong. max-width membatasi lebar, tidak nempel edge-to-edge. */
.stats-panel {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--cream3);
  box-shadow: 0 16px 40px rgba(26,42,58,0.1);
}

/* Divider antar kartu dibuat via gap+background (bukan border-right/last-child),
   supaya tetap rapi berapapun jumlah statistik & bagaimanapun cara wrap-nya. */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.stat-item {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 16px rgba(13,27,42,0.05);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(26,42,58,0.12);
  background: var(--cream);
}

/* Icon sebaris dengan angka — bukan ditumpuk, biar section lebih pendek */
.stat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.stat-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(3,70,148,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1), background 0.3s ease;
}

.stat-item:hover .stat-ico {
  transform: scale(1.1) rotate(-6deg);
  background: rgba(3,70,148,0.08);
}

.stat-n {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-n-suffix {
  font-size: 0.5em;
  font-weight: 800;
  color: var(--accent3);
}

.stat-l {
  font-size: 12px;
  color: var(--mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  font-weight: 600;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-l {
  color: var(--text);
}

/* ============================================================
   ABOUT
   ============================================================ */
.section-about {
  padding: 56px 0;
  background: var(--cream);
  border-top: 2px solid var(--cream3);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-accent {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border: 3px solid var(--yellow);
  z-index: 0;
  pointer-events: none;
}

.about-img {
  height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.about-img img,
.about-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.6s ease;
}

.about-img:hover img {
  transform: scale(1.04);
}

.about-img-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--yellow);
  border-radius: var(--r-md);
  padding: 7px 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-content {
  position: relative;
  z-index: 1;
}

.about-h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}

.about-p {
  font-size: 17px;
  color: #5a4a3a;
  line-height: 1.85;
  margin-bottom: 28px;
}

.about-btn {
  display: inline-block;
  background: var(--blue);
  color: var(--yellow);
  border: none;
  border-radius: var(--r-md);
  padding: 14px 28px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.25s ease,
              transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-btn:hover {
  background: #023080;
  color: var(--yellow);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  padding: 48px 40px 20px;
  position: relative;
  overflow: hidden;
}

/* Aksen garis gradien di tepi atas — sentuhan premium, biru & kuning saja */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--yellow) 100%);
}

/* Glow ambient lembut di sudut — kesan premium, bukan gelap datar begitu saja */
.site-footer::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(3,70,148,0.35), transparent 70%);
  pointer-events: none;
}

.footer-inner { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: 270px 0.85fr 0.85fr 230px;
  gap: 0;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(240,230,210,0.08);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top > div {
  padding: 0 28px;
  border-left: 1px solid rgba(240,230,210,0.07);
}

.footer-top > div:first-child {
  padding-left: 0;
  border-left: none;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-logo-img {
  display: block;
  max-height: 36px;
  width: auto;
}

.footer-logo-divider {
  width: 1px;
  height: 28px;
  background: rgba(240,230,210,0.15);
  flex-shrink: 0;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 12px;
  line-height: 1.3;
}

.footer-addr {
  font-size: 13.5px;
  color: rgba(240,230,210,0.5);
  line-height: 1.8;
  font-style: normal;
}

.footer-addr a {
  color: rgba(240,230,210,0.62);
  transition: color var(--transition);
}

.footer-addr a:hover {
  color: var(--yellow);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent3-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-hours {
  list-style: none;
}

.footer-hours li {
  font-size: 13.5px;
  color: rgba(240,230,210,0.62);
  margin-bottom: 5px;
  line-height: 1.5;
}

.footer-hours .hours-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent3-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 9px;
}

.footer-hours .hours-label:first-child {
  margin-top: 0;
}

.footer-contact {
  list-style: none;
  margin-bottom: 12px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(240,230,210,0.62);
  margin-bottom: 9px;
}

.footer-contact li svg { flex-shrink: 0; color: var(--yellow); opacity: 0.85; }

.footer-contact a {
  color: rgba(240,230,210,0.62);
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--yellow); }

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(240,230,210,0.06);
  color: rgba(240,230,210,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social-link:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-col--map { display: flex; flex-direction: column; }

/* Thumbnail kecil — sekadar penunjuk lokasi, bukan peta interaktif penuh.
   aspect-ratio 4:3 SENGAJA sama dengan proporsi asli embed Google Maps
   (600x450 bawaan) supaya pin lokasi tidak ke-crop/hilang saat diperkecil. */
.footer-map-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid rgba(240,230,210,0.1);
  aspect-ratio: 4 / 3;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.footer-col--map:hover .footer-map-frame { border-color: var(--yellow); }

.footer-map-frame iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  /* Duotone gelap-editorial supaya peta menyatu dengan tema, bukan putih polos */
  filter: grayscale(0.4) invert(0.92) contrast(0.9) brightness(0.95) hue-rotate(180deg);
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  margin-top: 8px;
  transition: gap 0.2s ease;
}

.footer-map-link:hover { gap: 9px; }

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy,
.footer-ut {
  font-size: 12.5px;
  color: rgba(240,230,210,0.35);
}

/* ============================================================
   INNER PAGES — page.php
   ============================================================ */
.page-content {
  padding: 56px 0;
  min-height: 60vh;
}

.page-content .section-inner {
  max-width: 840px;
}

.page-hero {
  background: var(--blue);
  padding: 48px 40px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.1;
}

.page-hero .breadcrumb {
  font-size: 17px;
  color: rgba(240,230,210,0.4);
  margin-bottom: 12px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.page-hero .breadcrumb a {
  color: rgba(240,230,210,0.4);
  transition: color var(--transition);
}

.page-hero .breadcrumb a:hover {
  color: var(--yellow);
}

/* ============================================================
   HALAMAN PROFIL (page-profil-perpustakaan.php)
   Konten murni dari editor Halaman WP native — struktur per-section
   (id anchor + komponen visual) ditulis sebagai HTML di dalam konten
   itu sendiri (lihat pustaka_ut_seed_profil_page di inc/seed.php),
   tapi tetap 100% bisa diedit admin lewat mode HTML/Custom HTML block.
   ============================================================ */

/* ── Rail navigasi vertikal — mengambang, label selalu terlihat,
   indikator batang bergeser mengikuti section aktif (bukan titik) ── */
.profil-dock {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--cream);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 22px 20px 22px 16px;
  box-shadow: 0 24px 60px rgba(26,42,58,0.16), 0 2px 0 rgba(240,230,210,0.6) inset;
}

.profil-dock-track {
  position: absolute;
  left: 16px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: var(--cream3);
}

.profil-dock-indicator {
  position: absolute;
  left: -2px;
  top: 0;
  width: 6px;
  height: 24px;
  border-radius: var(--r-sm);
  background: var(--blue);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profil-dock-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding-left: 12px;
}

.profil-dock-tick {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream3);
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.profil-dock-item.active .profil-dock-tick {
  background: var(--blue);
  transform: scale(1.3);
}

.profil-dock-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--mid);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.profil-dock-item:hover .profil-dock-label { color: var(--blue); }
.profil-dock-item.active .profil-dock-label { color: var(--blue); }

/* Tablet sempit — rail tetap vertikal & mengambang, tapi label
   disingkat jadi ikon-titik supaya tidak makan lebar konten */
@media (max-width: 1100px) and (min-width: 769px) {
  .profil-dock-label { display: none; }
  .profil-dock { padding: 18px 14px; }
}

/* Mobile — dock pindah jadi bar horizontal mengambang di bawah,
   label TETAP terlihat (bisa digeser/scroll), bukan cuma titik */
@media (max-width: 768px) {
  .profil-dock {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 16px;
    transform: translateX(-50%);
    max-width: calc(100vw - 88px);
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 999px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .profil-dock::-webkit-scrollbar { display: none; }

  .profil-dock-track,
  .profil-dock-indicator { display: none; }

  .profil-dock-item {
    padding: 8px 14px;
    flex-shrink: 0;
    border-radius: 999px;
    transition: background 0.25s ease;
  }

  .profil-dock-item.active { background: var(--blue); }

  .profil-dock-tick { display: none; }

  .profil-dock-label {
    color: var(--mid);
    font-size: 12px;
  }

  .profil-dock-item.active .profil-dock-label { color: var(--ivory); }
}

/* ── Halaman lebar penuh, bukan kolom sempit ── */
.profil-page {
  padding: 48px 0 80px;
  position: relative;
  overflow: hidden;
  /* Latar kertas — gradasi cream + vignette lembut di tepi, kesan lembar
     kertas di atas meja (bukan tekstur digital datar) */
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(3,70,148,0.05), transparent 60%),
    linear-gradient(180deg, #FBF8F1 0%, var(--cream) 35%, #F0E9DA 100%);
}

.profil-page .section-inner { max-width: 1160px; position: relative; z-index: 1; }

/* Serat kertas — noise SVG jelas terasa (bukan cuma dekoratif tak
   terlihat), pure CSS/data-uri jadi tidak menambah HTTP request */
.profil-page::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.1  0 0 0 0 0.16  0 0 0 0 0.28  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Bayangan lipatan kertas di tepi atas halaman — kesan halaman/dokumen */
.profil-page::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(3,70,148,0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

.profil-prose { margin-top: 0; }

.profil-block {
  scroll-margin-top: 84px;
  padding: 56px 0;
  border-bottom: 1px solid var(--cream3);
}

.profil-block:last-child { border-bottom: none; padding-bottom: 0; }
.profil-block:first-child { padding-top: 0; }

.profil-prose h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 32px;
}

.profil-prose h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: var(--blue);
  line-height: 1.3;
  margin: 36px 0 16px;
}

.profil-prose h3:first-child { margin-top: 0; }

.profil-prose p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 18px;
}

.profil-prose strong { color: var(--text); }

/* ── Foto besar pembuka — dengan lipatan sudut kertas (dog-ear fold) ── */
.profil-hero-photo { padding: 40px 0 8px; }

.profil-hero-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 70px rgba(26,42,58,0.22);
  aspect-ratio: 21 / 9;
}

.profil-hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profil-hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--cream2);
}

/* Sudut kanan-atas terlipat, seperti pojok halaman buku — motif kertas
   yang konkret, bukan tekstur abstrak */
.profil-hero-photo-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--cream) 50%, #d8cfba 52%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  box-shadow: -6px 6px 14px rgba(0,0,0,0.25);
}

/* Sejarah — layout 2 kolom, memanfaatkan lebar penuh */
.profil-history-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.profil-history-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 900px) {
  .profil-history-grid { grid-template-columns: 1fr; }
  .profil-history-aside { position: static; }
  .profil-hero-photo-frame { aspect-ratio: 4 / 3; }
}

/* ── Struktur Organisasi ── */
.profil-org-caption {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent3);
  margin: -20px 0 32px;
  max-width: none;
}

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 8px;
}

.org-node {
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 18px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 26px rgba(26,42,58,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.org-node:hover {
  box-shadow: 0 16px 36px rgba(26,42,58,0.14);
  transform: translateY(-3px);
}

.org-node--head {
  background: var(--blue);
  border-color: var(--blue);
}

.org-node-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.org-node--head .org-node-title { color: var(--yellow); }

.org-node-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.org-node--head .org-node-name { color: var(--ivory); }

/* Kartu "Kelompok Jabatan" — efek tumpukan kertas (paper-stack),
   selaras konsep perpustakaan/editorial: beberapa lembar terlipat di belakang */
.org-node--stack {
  position: relative;
  background: var(--cream);
}

.org-node--stack::before,
.org-node--stack::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  z-index: -1;
}

.org-node--stack::before { transform: rotate(-3deg) translate(2px, 3px); }
.org-node--stack::after  { transform: rotate(3deg) translate(-2px, 4px); }

.org-node--sm { padding: 14px 20px; }
.org-node--sm .org-node-title { font-size: 13px; }

.org-row { display: flex; justify-content: center; }
.org-row--side { justify-content: flex-end; width: 100%; max-width: 780px; }

.org-connectors {
  position: relative;
  width: 2px;
  height: 60px;
  background: var(--cream3);
}

.org-row--managers {
  width: 100%;
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.org-row--managers::before {
  content: "";
  position: absolute;
  top: -48px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: var(--cream3);
}

.org-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.org-col::before {
  content: "";
  position: absolute;
  top: -48px;
  left: 50%;
  width: 2px;
  height: 48px;
  background: var(--cream3);
  transform: translateX(-50%);
}

.org-line--down {
  width: 2px;
  height: 32px;
  background: var(--cream3);
  margin: 4px 0;
}

@media (max-width: 900px) {
  .org-row--managers {
    flex-direction: column;
    gap: 40px;
  }
  .org-row--managers::before { display: none; }
  .org-col::before { display: none; }
  .org-row--side { justify-content: center; }
}

/* ── Stat highlight (jumlah koleksi) ── */
.profil-stat-highlight {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--cream2);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin: 0;
}

.profil-stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
}

.profil-stat-num span { color: var(--accent3); }

.profil-stat-label {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* Daftar pendek/tag (mis. jenis koleksi) — chip grid, bukan bullet list panjang */
.profil-chips ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 8px 0 24px;
}

.profil-chips li {
  background: var(--paper);
  border: 1px solid var(--cream3);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.profil-chips li:hover {
  border-color: var(--blue);
  background: var(--cream);
}

/* ── Kebijakan — 2 kartu bersebelahan ── */
.profil-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.profil-policy-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 16px rgba(13,27,42,0.05);
  padding: 32px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.profil-policy-card:hover { background: var(--paper); }

.profil-policy-card h3 {
  margin: 0 0 18px;
}

.profil-policy-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profil-policy-card li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
}

.profil-policy-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ── Visi — pull-quote banner full-width, dengan glow ambient di sudut ── */
.profil-quote-banner {
  background: var(--blue);
  padding: 48px 56px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.profil-quote-banner::before,
.profil-quote-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.profil-quote-banner::before {
  width: 220px;
  height: 220px;
  background: rgba(255,222,0,0.18);
  top: -80px;
  right: -60px;
}

.profil-quote-banner::after {
  width: 160px;
  height: 160px;
  background: rgba(184,73,31,0.22);
  bottom: -70px;
  left: 8%;
}

.profil-quote-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.profil-quote-banner p {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.35;
  margin: 0;
  max-width: 640px;
}

/* ── Misi — grid kartu ikon ── */
.profil-misi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.profil-misi-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.profil-misi-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.profil-misi-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(3,70,148,0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profil-misi-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

/* ── Tugas Pokok — kotak sitasi hukum ── */
.profil-legal-note {
  border-left: 3px solid var(--accent3);
  background: var(--cream);
  border-radius: 0 10px 10px 0;
  padding: 20px 28px;
  margin-bottom: 8px;
  max-width: 760px;
}

.profil-legal-note p {
  font-size: 15px;
  font-style: italic;
  margin: 0;
  max-width: none;
}

/* Daftar pernyataan panjang (Fungsi) — checklist 2 kolom */
.profil-checklist ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.profil-checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
}

.profil-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(3,70,148,0.08);
}

.profil-checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* ── Program Kerja — grid 3 kolom, bukan list ke bawah ── */
.profil-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.profil-program-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 16px rgba(13,27,42,0.05);
  padding: 28px 24px;
  position: relative;
  counter-increment: profil-program;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.profil-program-card:hover {
  background: var(--paper);
  transform: translateY(-3px);
}

.profil-program-card:hover::before { color: rgba(184,73,31,0.35); }

.profil-program-grid { counter-reset: profil-program; }

.profil-program-card::before {
  content: counter(profil-program, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 34px;
  font-weight: 700;
  color: rgba(3,70,148,0.1);
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.profil-program-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  max-width: none;
}

.profil-program-card p:not(.profil-program-title) {
  font-size: 14px;
  margin: 0;
  max-width: none;
}

/* ── Kontak ── */
.profil-address-strip {
  background: var(--cream2);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  max-width: 760px;
}

.profil-address-strip p {
  margin: 0;
  max-width: none;
}

@media (max-width: 900px) {
  .profil-timeline { grid-template-columns: repeat(2, 1fr); }
  .profil-timeline-item:nth-child(2)::after { display: none; }
  .profil-policy-grid { grid-template-columns: 1fr; }
  .profil-misi-grid { grid-template-columns: 1fr; }
  .profil-program-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .profil-prose h2 { font-size: 26px; }
  .profil-quote-banner p { font-size: 24px; }
  .profil-checklist ul { grid-template-columns: 1fr; }
  .profil-timeline { grid-template-columns: 1fr; }
  .profil-timeline-item::after { display: none; }
  .profil-program-grid { grid-template-columns: 1fr; }
  .profil-stat-highlight { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post {
  padding: 56px 0;
}

.post-header {
  margin-bottom: 32px;
}

.post-cat {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
  padding: 4px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.post-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 10px;
}

.post-meta {
  font-size: 17px;
  color: #9a8070;
  display: flex;
  gap: 16px;
}

.post-featured-img {
  margin-bottom: 36px;
  overflow: hidden;
  max-height: 480px;
}

.post-featured-img img {
  width: 100%;
  object-fit: cover;
}

.post-content {
  font-size: 17px;
  color: var(--text);
  line-height: 1.9;
  max-width: 700px;
}

.post-content h2,
.post-content h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 32px 0 12px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content a {
  color: var(--blue);
  text-decoration: underline;
}

/* ============================================================
   SINGLE BERITA — halaman detail berita
   ============================================================ */
.berita-hero {
  background: var(--blue);
  padding: 44px 40px 40px;
}

.berita-breadcrumb {
  font-size: 12px;
  color: rgba(240,230,210,0.4);
  margin-bottom: 16px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.berita-breadcrumb a {
  color: rgba(240,230,210,0.5);
  transition: color 0.15s;
}

.berita-breadcrumb a:hover { color: var(--yellow); }

.berita-hero-cat {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.berita-hero-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.2;
  max-width: 820px;
  margin-bottom: 16px;
}

.berita-hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.berita-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(240,230,210,0.55);
}

.berita-body-wrap {
  max-width: 820px;
  padding-top: 40px;
  padding-bottom: 64px;
}

/* Galeri — reuse mesin .banner-slider, sedikit lebih pendek untuk konteks artikel */
.berita-gallery.banner-slider {
  height: 380px;
  border-radius: var(--r-lg);
  margin-bottom: 36px;
}

.berita-gallery .banner-controls {
  bottom: 16px;
  right: 20px;
}

.berita-single-img {
  margin-bottom: 36px;
  border-radius: var(--r-lg);
  overflow: hidden;
  max-height: 460px;
}

.berita-single-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.berita-content {
  max-width: 100%;
}

.berita-back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--cream3);
}

.berita-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  transition: gap 0.2s ease;
}

.berita-back-link:hover { gap: 10px; }

.berita-related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--cream3);
}

.berita-related-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.berita-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.berita-related-grid .nsi {
  flex-direction: column;
}

.berita-related-grid .nsi-img-link {
  width: 100%;
}

.berita-related-grid .nsi img {
  width: 100%;
  height: 140px;
}

/* ============================================================
   404
   ============================================================ */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  background: var(--cream);
}

.page-404 .num {
  font-family: var(--font-display);
  font-size: 130px;
  font-weight: 900;
  color: var(--cream3);
  line-height: 1;
  margin-bottom: 16px;
}

.page-404 h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.page-404 p {
  font-size: 17px;
  color: #6a5a4a;
  margin-bottom: 28px;
}

.page-404 a {
  display: inline-block;
  background: var(--blue);
  color: var(--yellow);
  padding: 13px 28px;
  border-radius: var(--r-md);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s ease;
}

.page-404 a:hover {
  background: #023080;
  transform: translateY(-2px);
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-loader.done {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

/* Canvas ridge background loader */
#loader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.loader-logo-img {
  width: 240px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0;
  position: relative;
  z-index: 2;
  animation: loaderFadeIn 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(240,230,210,0.12);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  background: var(--yellow);
  width: 100%;
  transform: translateX(-100%);
  animation: loaderSlide 1.1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loaderFadeIn {
  to { opacity: 1; }
}

@keyframes loaderSlide {
  to { transform: translateX(0); }
}

/* ============================================================
   IMAGE BLOCK REVEAL
   ============================================================ */
.img-block-reveal {
  position: relative;
  overflow: hidden;
}

.img-block-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  z-index: 3;
  transform-origin: right;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-block-reveal.revealed::after {
  transform: scaleX(0);
}

.img-block-reveal img {
  transform: scale(1.06);
}

.img-block-reveal.revealed img {
  transform: scale(1);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
  }

  .footer-top > div {
    border-left: none;
    padding: 0;
  }

  .news-featured-grid {
    grid-template-columns: 1fr;
  }

  .news-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 0 20px;
    height: 56px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-menu,
  .nav-search-btn {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-menu,
  .mobile-menu-overlay {
    display: block;
  }

  /* Topbar ringkas di mobile: sembunyikan 6 link portal (dipindah ke menu
     mobile "Tautan Cepat"), sisakan sosial media + alih bahasa. Ini juga
     menghapus penyebab utama overflow horizontal di layar sempit. */
  .topbar-inner { padding: 0 14px; }
  .topbar-right .topbar-link,
  .topbar-div { display: none; }
  .topbar-left { gap: 2px; }

  .nav-logo-main {
    font-size: 17px;
  }

  .hero-content {
    padding: 40px 20px 140px;
  }

  .hero-h1 {
    font-size: 40px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .search-wrap {
    padding: 0 20px;
  }

  .stab {
    padding: 10px 12px;
    font-size: 17px;
  }

  .section-inner {
    padding: 0 20px;
  }

  .sec-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sec-title {
    font-size: 28px;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .news-side {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-h1 {
    font-size: 28px;
  }

  .search-btn {
    padding: 0 16px;
    font-size: 0; /* sembunyikan teks, tampilkan ikon saja */
    gap: 0;
  }

  .search-btn svg {
    width: 18px;
    height: 18px;
  }

  .onesearch-btn {
    padding: 11px 16px;
    font-size: 0; /* sembunyikan teks "Telusuri", sisakan ikon */
    gap: 0;
  }

  .onesearch-btn svg {
    width: 16px;
    height: 16px;
  }

}

/* ============================================================
   WORDPRESS DEFAULTS OVERRIDE
   ============================================================ */
.wp-caption {
  max-width: 100%;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin: 0 24px 16px 0;
}

.alignright {
  float: right;
  margin: 0 0 16px 24px;
}

.sticky {
  /* WP sticky post */
}

/* ============================================================
   NAVBAR — scroll state compact
   ============================================================ */
.site-nav.scrolled {
  height: 50px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

/* ============================================================
   HERO SEARCH — elegan
   ============================================================ */

/* ── HERO SEARCH — di dalam .hero-onesearch ── */
.hero-search {
  width: 100%;
}

.hero-search-box {
  display: flex;
  align-items: center;
  background: rgba(240,230,210,0.1);
  border: 1.5px solid rgba(240,230,210,0.25);
  border-radius: var(--r-lg);
  padding: 6px 6px 6px 20px;
  gap: 12px;
  width: 680px;
  max-width: 100%;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.hero-search-box:focus-within {
  background: rgba(240,230,210,0.18);
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,222,0,0.15);
}

.hero-search-icon {
  color: rgba(240,230,210,0.55);
  flex-shrink: 0;
}

.hero-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 17px;
  color: var(--ivory);
  font-family: var(--font-body);
  line-height: 1;
  padding: 10px 0;
}

.hero-search-input::placeholder { color: rgba(240,230,210,0.45); }

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--blue);
  border: none;
  border-radius: var(--r-md);
  padding: 12px 22px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body);
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
              box-shadow 0.25s ease;
}

.hero-search-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(255,222,0,0.35);
}

/* ============================================================
   SECTION PLATFORM SLIDER — marquee estetik
   ============================================================ */
.section-plat-slider {
  background: var(--blue);
  overflow: hidden;
  padding-bottom: 40px;
}

.plat-slider-head {
  border-bottom: 1px solid rgba(240,230,210,0.1);
}

.plat-slider-head .sec-head--split {
  padding-top: 40px;
  padding-bottom: 24px;
  margin-bottom: 0;
}

.section-plat-slider .sec-kicker { color: var(--accent3-light); }
.section-plat-slider .sec-title  { color: var(--ivory); }
.section-plat-slider .sec-desc   { color: rgba(240,230,210,0.5); margin-top: 6px; }
.section-plat-slider .sec-all    { color: var(--yellow); }
.section-plat-slider .sec-all:hover { border-bottom-color: var(--yellow); }

/* Track wrapper — fade edges */
.plat-track-wrap {
  position: relative;
  padding: 24px 0;
  overflow: hidden;
}

.plat-track-wrap::before,
.plat-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.plat-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--blue) 0%, transparent 100%);
}

.plat-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--blue) 0%, transparent 100%);
}

/* Infinite scroll track */
.plat-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: platScroll 32s linear infinite;
}

.plat-track-wrap:hover .plat-track { animation-play-state: paused; }

@keyframes platScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Card individual */
.plat-slide-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(240,230,210,0.07);
  border: 1px solid rgba(240,230,210,0.1);
  border-radius: var(--r-md);
  text-decoration: none;
  white-space: nowrap;
  min-width: 200px;
  transition: background 0.3s ease,
              border-color 0.3s ease,
              transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.plat-slide-card:hover {
  background: rgba(240,230,210,0.13);
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.plat-slide-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(240,230,210,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(240,230,210,0.75);
  transition: background 0.25s, color 0.25s;
}

.plat-slide-card:hover .plat-slide-icon {
  background: var(--yellow);
  color: var(--blue);
}

/* Mode gambar/logo — fleksibel, tidak dipaksa bulat (logo panjang/rectangular tetap rapi) */
.plat-slide-icon--img {
  width: auto;
  min-width: 40px;
  max-width: 84px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--ivory);
  padding: 6px 8px;
}

.plat-slide-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plat-slide-card:hover .plat-slide-icon--img {
  background: var(--ivory);
}

.plat-slide-body { display: flex; flex-direction: column; gap: 2px; }

.plat-slide-name {
  font-size: 17px;
  font-weight: 700;
  color: rgba(240,230,210,0.9);
  display: flex;
  align-items: center;
  gap: 6px;
}

.plat-slide-desc {
  font-size: 17px;
  color: rgba(240,230,210,0.4);
}

/* ============================================================
   .sec-desc — shared utility
   ============================================================ */
.sec-desc {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.7;
  margin-top: 12px;
}

/* ============================================================
   SECTION BANNER
   ============================================================ */
.section-banner { position: relative; }

/* Three.js ambient — di atas foto & overlay, blend mode supaya tidak
   menutupi keterbacaan teks (cuma menambah kilau, tidak menggelapkan) */
.banner-canvas {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
}

.banner-slider {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: var(--blue);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  display: block;
  text-decoration: none;
  color: inherit;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* .banner-bg — dipakai ulang oleh galeri foto artikel berita
   (single-berita.php), BUKAN oleh section Banner promo (yang sekarang
   pakai .banner-photo-card supaya tidak crop foto secara paksa). */
.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}

.banner-slide.active .banner-bg { transform: scale(1.04); }

/* Layout editorial dua kolom — teks di panel warna solid, foto lepas
   (tanpa frame/kotak) memanfaatkan ruang sebisa mungkin. Foto TIDAK
   dicrop (object-fit:contain via max-width/max-height), jadi aman untuk
   orientasi apapun (landscape/potret/persegi) — selalu terlihat utuh. */
.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  height: 100%;
  gap: 24px;
  padding: 0 64px;
}

.banner-info {
  position: relative;
  z-index: 2;
  display: block;
  text-decoration: none;
  color: inherit;
}

.banner-info--link { cursor: pointer; }

.banner-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 28px 0;
}

/* Trigger klik-untuk-zoom — dibuat polos (bukan tombol bergaya),
   animasi masuk (fade + scale-in) ada di sini, BUKAN pada <img>-nya,
   supaya foto sendiri diam total, tidak ada efek zoom terus-terusan. */
.banner-photo-trigger {
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.banner-slide.active .banner-photo-trigger {
  opacity: 1;
  transform: scale(1);
}

.banner-photo-img {
  display: block;
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  filter: drop-shadow(0 26px 54px rgba(3,70,148,0.38));
}

.banner-label {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
}

.banner-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 560px;
  margin-bottom: 10px;
}

.banner-sub {
  font-size: 17px;
  color: rgba(240,230,210,0.75);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 20px;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  background: var(--yellow);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,222,0,0.3);
}

.banner-controls {
  position: absolute;
  bottom: 20px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.banner-prev,
.banner-next {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(3,70,148,0.2);
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.banner-prev:hover,
.banner-next:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--ivory);
}

.banner-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(240,230,210,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}

.banner-dot.active {
  background: var(--yellow);
  transform: scale(1.4);
}

/* ── Lightbox — pop-up perbesar foto banner, klik di luar/tombol X untuk tutup ── */
.banner-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(13,27,42,0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.banner-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.banner-lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.banner-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(240,230,210,0.12);
  color: var(--ivory);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.banner-lightbox-close:hover { background: rgba(240,230,210,0.24); }

/* ============================================================
   SECTION VIDEO
   ============================================================ */
.section-video {
  padding: 80px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Three.js ambient "equalizer" — di belakang konten, sangat halus */
.video-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-video .section-inner {
  position: relative;
  z-index: 1;
}

/* 3 video — maks tampil di beranda, semua sama besar & semua bisa diputar langsung */
.video-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.video-card { display: flex; flex-direction: column; }

.video-embed-wrap {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--dark);
  cursor: pointer;
  box-shadow: 0 20px 48px rgba(26,42,58,0.16);
  transition: box-shadow 0.4s ease;
}

.video-embed-wrap:hover { box-shadow: 0 28px 60px rgba(26,42,58,0.22); }

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.video-thumb-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, #0a4fa0 100%);
}

.video-embed-wrap:hover .video-thumb {
  transform: scale(1.04);
  opacity: 1;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--yellow);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.video-embed-wrap:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
}

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 14px 0 6px;
}

.video-desc {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
}

/* ── Halaman arsip "Semua Video" (archive-video.php) ── */
.video-archive-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--cream3);
}

.video-archive-count {
  font-size: 16px;
  color: var(--mid);
  margin: 0;
}

/* Search — garis bawah minimalis, bukan kotak melayang */
.video-search-form {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--text);
  padding: 0 0 10px;
  max-width: 400px;
  width: 100%;
  transition: border-color 0.25s ease;
}

.video-search-form:focus-within { border-color: var(--blue); }

.video-search-form svg { color: var(--mid); flex-shrink: 0; }

.video-search-form input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: transparent;
}

.video-search-form button {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.video-search-form button:hover { color: var(--accent3); }

.video-search-result-info {
  font-size: 15px;
  color: var(--mid);
  margin: -20px 0 30px;
}

.video-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 28px;
}

.video-archive-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.video-archive-card .video-embed-wrap {
  box-shadow: 0 16px 36px rgba(26,42,58,0.12);
  transition: box-shadow 0.4s ease;
}

.video-archive-card:hover .video-embed-wrap {
  box-shadow: 0 24px 48px rgba(26,42,58,0.2);
}

.video-archive-card:hover .video-thumb {
  transform: scale(1.05);
}

.video-archive-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent3);
  margin: 16px 0 4px;
}

.video-archive-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 0 0 8px;
}

.video-archive-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* Badge "Tonton di YouTube" — menandai bahwa klik = tab baru ke YouTube */
.video-external-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13,27,42,0.75);
  color: var(--ivory);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  z-index: 1;
}

.video-empty-msg {
  font-size: 15px;
  color: var(--mid);
  padding: 60px 0;
  text-align: center;
}

/* Paginasi — pil bernomor, konsisten dengan aksen tema */
.video-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.video-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--cream2);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.video-pagination .page-numbers:hover { background: var(--cream3); }

.video-pagination .page-numbers.current {
  background: var(--blue);
  color: var(--ivory);
}

.video-pagination .page-numbers.dots { background: none; }

@media (max-width: 900px) {
  .video-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .video-archive-grid { grid-template-columns: 1fr; }
  .video-archive-head { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   SECTION LAYANAN MANDIRI
   ============================================================ */
.section-layanan-mandiri {
  padding: 80px 0;
  background: var(--cream2);
}

/* lm-card styles sudah benar di definisi base — tidak perlu override di sini */
.section-layanan-mandiri .sec-title em { color: var(--blue); font-style: italic; }

.lm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lm-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: rgba(3,70,148,0.06);
  border: 1px solid rgba(3,70,148,0.1);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: background 0.3s ease,
              border-color 0.3s ease,
              transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.lm-card:hover {
  background: rgba(3,70,148,0.1);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.lm-icon {
  width: 48px;
  height: 48px;
  background: rgba(3,70,148,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: background 0.25s, color 0.25s;
}

.lm-card:hover .lm-icon {
  background: var(--blue);
  color: var(--cream);
}

.lm-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.lm-desc {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.6;
  flex: 1;
}

.lm-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 4px;
  transition: gap 0.2s;
}

.lm-card:hover .lm-cta { gap: 10px; }

/* ============================================================
   SECTION FAQ
   ============================================================ */
.section-faq {
  padding: 80px 0;
  background: var(--blue);
}

.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.faq-cats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 80px;
}

/* FAQ di atas background biru — semua teks menyesuaikan */
.section-faq .sec-kicker        { color: var(--accent3-light); }
.section-faq .sec-title         { color: var(--ivory); }

.faq-cat-btn {
  text-align: left;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(240,230,210,0.5);
  background: transparent;
  border: none;
  border-left: 2px solid rgba(240,230,210,0.15);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, padding-left 0.2s;
}

.faq-cat-btn.active,
.faq-cat-btn:hover {
  color: var(--yellow);
  border-color: var(--yellow);
  padding-left: 18px;
}

.faq-panel { display: none; }
.faq-panel.active { display: block; }

.faq-item {
  border-bottom: 1px solid rgba(240,230,210,0.1);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 600;
  color: rgba(240,230,210,0.85);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--ivory); }

.faq-q[aria-expanded="true"] { color: var(--yellow); }

.faq-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(240,230,210,0.4);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--yellow);
}

.faq-a {
  padding-bottom: 16px;
}

.faq-a p {
  font-size: 16px;
  color: rgba(240,230,210,0.55);
  line-height: 1.75;
  margin: 0 0 14px;
}

.faq-a p:last-child { margin-bottom: 0; }

/* ============================================================
   SECTION SOSIAL MEDIA
   ============================================================ */
.section-sosmed {
  padding: 80px 0;
  background: var(--cream2);
  position: relative;
  overflow: hidden;
}

/* Three.js ambient — jaringan titik melambangkan koneksi sosial,
   sangat halus di belakang konten, warna proyek */
.sosmed-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-sosmed .section-inner {
  position: relative;
  z-index: 1;
}

.sosmed-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}

.sosmed-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sosmed-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--cream);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.25s;
}

/* Glow ambient lembut yang muncul saat hover — bukan warna flat instan */
.sosmed-channel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 50%, rgba(3,70,148,0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.sosmed-channel:hover::before { opacity: 1; }

.sosmed-channel:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(26,42,58,0.08);
  border-color: var(--blue);
}

.sosmed-ch-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sosmed-ch-icon--ig { background: #f0e4f7; color: #c13584; }
.sosmed-ch-icon--x   { background: #e5e5e5; color: #000; }
.sosmed-ch-icon--fb { background: #e7eef8; color: #1877f2; }

.sosmed-ch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.sosmed-ch-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.sosmed-ch-platform {
  font-size: 17px;
  color: var(--mid);
}

.sosmed-ch-follow {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  transition: background 0.2s, color 0.2s;
}

.sosmed-channel:hover .sosmed-ch-follow {
  background: var(--blue);
  color: var(--ivory);
}

.sosmed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.sosmed-post {
  aspect-ratio: 1;
  background: var(--cream3);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.25s, box-shadow 0.35s ease;
}

.sosmed-post:hover {
  box-shadow: 0 0 0 3px rgba(26,42,58,0.15), 0 14px 32px rgba(26,42,58,0.28);
  z-index: 2;
}

.sosmed-post-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream3);
}

.sosmed-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sosmed-post:hover .sosmed-post-img { transform: scale(1.05); }

.sosmed-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,70,148,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  opacity: 0;
  transition: opacity 0.25s;
}

.sosmed-post:hover .sosmed-post-overlay { opacity: 1; }

/* Badge kecil platform di pojok — biar jelas ini preview dari mana */
.sosmed-post-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1;
}

.sosmed-post-badge--instagram { color: #c13584; }
.sosmed-post-badge--facebook  { color: #1877f2; }
.sosmed-post-badge--x         { color: #000; }

/* ============================================================
   MOBILE RESPONSIVE — semua section
   ============================================================ */
@media (max-width: 960px) {
  .plat-grid              { grid-template-columns: repeat(2, 1fr); }
  .video-layout           { grid-template-columns: 1fr; }
  .lm-grid                { grid-template-columns: repeat(2, 1fr); }
  .faq-layout             { grid-template-columns: 1fr; }
  .faq-cats               { flex-direction: row; flex-wrap: wrap; position: static; }
  .sosmed-layout          { grid-template-columns: 1fr; }
  .banner-slider          { height: 560px; }
  .banner-grid            { grid-template-columns: 1fr; padding: 28px 28px 0; gap: 8px; }
  .banner-photo-wrap      { order: -1; padding: 0 0 20px; }
  .banner-photo-img       { max-height: 260px; }
  /* typography scale */
  .sec-title    { font-size: 32px; }
  .hero-h1      { font-size: 52px; }
  .banner-title { font-size: 32px; }
  .stat-n       { font-size: 48px; }
  .about-h2     { font-size: 32px; }
}

@media (max-width: 640px) {
  .plat-grid              { grid-template-columns: 1fr; }
  .lm-grid                { grid-template-columns: 1fr; }
  .banner-slider          { height: 500px; }
  .banner-grid            { padding: 20px 20px 0; }
  .banner-photo-img       { max-height: 200px; }
  .banner-controls        { right: 16px; }
  .sosmed-grid            { grid-template-columns: repeat(3, 1fr); }
  .section-platforms,
  .section-video,
  .section-layanan-mandiri,
  .section-faq,
  .section-sosmed         { padding: 56px 0; }
  /* typography scale */
  body          { font-size: 15px; }
  .sec-title    { font-size: 26px; }
  .hero-h1      { font-size: 38px; }
  .hero-sub     { font-size: 16px; }
  .stat-n       { font-size: 40px; }
  .about-h2     { font-size: 26px; }
  .banner-title { font-size: 26px; }
  .video-title  { font-size: 19px; }
  .faq-q        { font-size: 15px; }
  .news-title   { font-size: 18px; }
}


/* ============================================================
   TYPOGRAPHY SCALE
   Sumber kebenaran tunggal untuk ukuran font seluruh tema.
   Hierarki: badges kecil → body nyaman → heading besar.
   ============================================================ */

/* ── Base ── */
body { font-size: 16px; line-height: 1.65; }

/* ── Topbar: utilitas kecil, boleh lebih mungil ── */
.topbar-link { font-size: 12px; }

/* ── Navbar ── */
.nav-menu > li > a  { font-size: 14px; }
.nav-menu .sub-menu a { font-size: 13px; }
.nav-search-input   { font-size: 15px; }

/* ── Section headings ── */
.sec-kicker { font-size: 11px; }
.sec-title  { font-size: 40px; }
.sec-desc   { font-size: 16px; }
.sec-all    { font-size: 12px; }

/* ── Hero ── */
.hero-tag-text     { font-size: 11px; }
.hero-h1           { font-size: 72px; }
.hero-sub          { font-size: 18px; }
.hero-search-input { font-size: 16px; }
.hero-search-btn   { font-size: 14px; }
.hero-chip-label   { font-size: 12px; }
.hero-chip         { font-size: 12px; }

/* ── Stats ── */
.stat-n { font-size: 42px; }
.stat-l { font-size: 12px; }

/* ── Services (layanan) ── */
.svc-name  { font-size: 19px; }
.svc-desc  { font-size: 15px; }
.svc-arrow { font-size: 14px; }

/* ── News / Berita ── */
.news-cat    { font-size: 11px; }   /* badge — memang kecil */
.news-date   { font-size: 12px; }
.news-title  { font-size: 20px; }
.news-excerpt{ font-size: 15px; }
.news-read   { font-size: 13px; }

/* ── About ── */
.about-h2  { font-size: 40px; }
.about-p   { font-size: 16px; }
.about-btn { font-size: 13px; }

/* ── Platform slider ── */
.plat-slide-name  { font-size: 14px; }
.plat-slide-desc  { font-size: 12px; }

/* ── Banner ── */
.banner-label { font-size: 11px; }
.banner-title { font-size: 44px; }
.banner-sub   { font-size: 17px; }
.banner-cta   { font-size: 14px; }

/* ── Video ── */
.video-title        { font-size: 22px; }
.video-title--sm    { font-size: 16px; }
.video-desc         { font-size: 15px; }

/* ── Layanan Mandiri ── */
.lm-title { font-size: 17px; }
.lm-desc  { font-size: 15px; }
.lm-cta   { font-size: 13px; }

/* ── FAQ ── */
.faq-cat-btn { font-size: 15px; }
.faq-q       { font-size: 18px; }
.faq-a p     { font-size: 16px; }

/* ── Social media ── */
.sosmed-ch-name     { font-size: 15px; }
.sosmed-ch-platform { font-size: 12px; }
.sosmed-ch-follow   { font-size: 12px; }

/* ── Platform panel (search result) ── */
.platform-panel-query { font-size: 16px; }
.platform-panel-sub   { font-size: 15px; }
.pc-name  { font-size: 16px; }
.pc-desc  { font-size: 14px; }
.pc-badge { font-size: 10px; }

/* ── Video section — di atas background cream, pakai kicker accent3 standar ── */
.section-video .sec-kicker { color: var(--accent3); }

/* ── Layanan Mandiri override — di atas cream2 ── */
.section-layanan-mandiri .sec-kicker { color: var(--accent3); }
.section-layanan-mandiri .sec-title  { color: var(--text); }
.section-layanan-mandiri .sec-title em { color: var(--blue); }
.section-layanan-mandiri .sec-desc   { color: var(--mid); }

/* ── Stats section override — di atas cream ── */
.section-stats .sec-kicker { color: var(--accent3); }

/* ============================================================
   RUANG BACA VIRTUAL PAGE
   ============================================================ */
.rbv-page { background: var(--cream); }

.rbv-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.rbv-hero {
  background: linear-gradient(135deg, #021A3D 0%, #034694 100%);
  padding: 80px 24px 64px;
  color: var(--ivory);
}

.rbv-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.rbv-breadcrumb {
  font-size: 13px;
  color: rgba(240,230,210,0.55);
  margin-bottom: 20px;
}

.rbv-breadcrumb a { color: rgba(240,230,210,0.7); text-decoration: none; }
.rbv-breadcrumb a:hover { color: var(--yellow); }

.rbv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,222,0,0.15);
  border: 1px solid rgba(255,222,0,0.4);
  color: var(--yellow);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.rbv-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ivory);
  margin: 0 0 16px;
}

.rbv-hero-sub {
  font-size: 17px;
  color: rgba(240,230,210,0.75);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 620px;
}

.rbv-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.rbv-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: #021A3D;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.rbv-btn-primary:hover { background: #ffe033; transform: translateY(-2px); }

.rbv-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,230,210,0.1);
  border: 1.5px solid rgba(240,230,210,0.3);
  color: var(--ivory);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.rbv-btn-secondary:hover {
  background: rgba(240,230,210,0.18);
  border-color: rgba(240,230,210,0.55);
}

.rbv-hero-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.rbv-info-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(240,230,210,0.65);
}

/* Cara Akses */
.rbv-howto {
  background: var(--cream);
  padding: 56px 0;
  border-bottom: 1px solid rgba(3,70,148,0.08);
}

.rbv-sec-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 8px;
}

.rbv-sec-sub {
  font-size: 15px;
  color: var(--mid);
  margin: 0 0 32px;
}

.rbv-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.rbv-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.rbv-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--ivory);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rbv-step-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 4px;
}

.rbv-step-body p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}

/* Prodi section */
.rbv-prodi-section {
  padding: 56px 0;
}

.rbv-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 2px solid rgba(3,70,148,0.1);
  padding-bottom: 0;
}

.rbv-tab {
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -2px;
}

.rbv-tab:hover { color: var(--blue); }
.rbv-tab.active { color: var(--blue); border-color: var(--blue); }

.rbv-panel { display: none; }
.rbv-panel.active { display: block; }

.rbv-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.rbv-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 4px;
}

.rbv-panel-sub {
  font-size: 13px;
  color: var(--mid);
  margin: 0;
}

.rbv-panel-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 16px;
  border: 1.5px solid var(--blue);
  border-radius: var(--r-md);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.rbv-panel-all:hover {
  background: var(--blue);
  color: var(--ivory);
}

.rbv-prodi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.rbv-prodi-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream2);
  border: 1px solid rgba(3,70,148,0.1);
  border-radius: var(--r-md);
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.rbv-prodi-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(26,42,58,0.1);
  transform: translateY(-2px);
}

.rbv-prodi-icon {
  width: 36px;
  height: 36px;
  background: rgba(3,70,148,0.08);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.rbv-prodi-card:hover .rbv-prodi-icon {
  background: var(--blue);
  color: var(--ivory);
}

.rbv-prodi-body { flex: 1; min-width: 0; }

.rbv-prodi-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.rbv-prodi-count {
  font-size: 11px;
  color: var(--mid);
  margin-top: 2px;
}

.rbv-prodi-arrow {
  color: var(--blue);
  opacity: 0.3;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.rbv-prodi-card:hover .rbv-prodi-arrow { opacity: 1; }

/* Bantuan section */
.rbv-help {
  background: var(--blue);
  padding: 56px 0;
}

.rbv-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rbv-help-card {
  background: rgba(240,230,210,0.07);
  border: 1px solid rgba(240,230,210,0.12);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  color: var(--ivory);
}

.rbv-help-card svg { color: var(--yellow); margin-bottom: 16px; }

.rbv-help-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.rbv-help-card p {
  font-size: 13px;
  color: rgba(240,230,210,0.7);
  line-height: 1.6;
  margin: 0 0 16px;
}

.rbv-help-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
}

.rbv-help-link:hover { text-decoration: underline; }

/* Responsive RBV + semua halaman dalam yang pakai .rbv-hero/.rbv-inner
   (OER, e-Resources, Unggah Repository, Panduan, dll) */
@media (max-width: 768px) {
  .rbv-hero-h1 { font-size: 36px; }
  .rbv-steps { grid-template-columns: 1fr; }
  .rbv-help-grid { grid-template-columns: 1fr; }
  .rbv-prodi-grid { grid-template-columns: 1fr; }
  .rbv-panel-head { flex-direction: column; }
  .rbv-panel-all { align-self: flex-start; }
}

@media (max-width: 640px) {
  .rbv-hero { padding: 56px 20px 40px; }
  .rbv-hero-h1 { font-size: 30px; }
  .rbv-hero-sub { font-size: 15px; }
  .rbv-inner { padding: 0 18px; }
  .rbv-prodi-section { padding: 40px 0; }
}

/* ─────────────────────────────────────────
   PJJ CORNER
───────────────────────────────────────── */
.pjj-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--mid);
  font-size: 14px;
  background: var(--cream);
  border-radius: var(--r-md);
}

.pjj-table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pjj-search {
  position: relative;
  flex: 1 1 320px;
  max-width: 420px;
}

.pjj-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mid);
  pointer-events: none;
}

.pjj-search-input {
  width: 100%;
  font-family: inherit;
  font-size: 13.5px;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--cream3);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--dark);
  transition: border-color 0.15s;
}

.pjj-search-input:focus {
  outline: none;
  border-color: var(--blue);
}

.pjj-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  white-space: nowrap;
}

.pjj-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  box-shadow: 0 6px 24px rgba(26,42,58,0.06);
  background: var(--paper);
}

.pjj-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}

.pjj-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--blue);
  color: var(--ivory);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
}

.pjj-table thead th:first-child { border-top-left-radius: 14px; }
.pjj-table thead th:last-child { border-top-right-radius: 14px; }

.pjj-table tbody tr { transition: background 0.15s, box-shadow 0.15s, transform 0.15s; }
.pjj-table tbody tr:nth-child(even) { background: rgba(3,70,148,0.025); }

.pjj-table tbody tr:hover {
  background: var(--cream);
  box-shadow: inset 3px 0 0 var(--yellow);
}

.pjj-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--cream3);
  color: var(--dark);
  vertical-align: middle;
}

.pjj-table tbody tr:last-child td { border-bottom: none; }

.pjj-col-no { width: 40px; color: var(--mid); font-weight: 600; }
.pjj-col-cover { width: 56px; }
.pjj-col-tahun { width: 80px; white-space: nowrap; }
.pjj-col-link { width: 140px; }
.pjj-col-judul { font-weight: 600; min-width: 220px; color: var(--blue); }

.pjj-year-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--cream2);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.pjj-cover-img {
  width: 40px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--r-sm);
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
  transition: transform 0.2s;
}

.pjj-table tbody tr:hover .pjj-cover-img { transform: scale(1.08) rotate(-1deg); }

.pjj-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 56px;
  border-radius: var(--r-sm);
  background: var(--cream2);
  color: var(--mid);
}

.pjj-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  padding: 7px 14px;
  border: 1.5px solid var(--blue);
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

/* Tombol outline → terisi tinta saat hover. Tanpa shadow: tombol tercetak
   di permukaan, bukan melayang di atasnya. */
.pjj-link-btn:hover { background: var(--blue); color: var(--ivory); }
.pjj-link-none { color: var(--mid); }

.pjj-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pjj-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  color: var(--blue);
  background: var(--paper);
  border: 1.5px solid var(--cream3);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.pjj-page-btn:hover:not(:disabled) { border-color: var(--blue); transform: translateY(-2px); }
.pjj-page-btn.active { background: var(--blue); border-color: var(--blue); color: var(--ivory); box-shadow: 0 4px 12px rgba(26,42,58,0.3); }
.pjj-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.pjj-page-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  color: var(--mid);
  font-weight: 700;
  user-select: none;
}

.pjj-redirect-car.fw-700 { font-weight: 700 !important; }

/* ── UTILITY: FONT UT ── */
.font-ut {
  font-family: var(--font-body) !important;
  font-style: normal !important;
}

.pjj-redirect-card {
  max-width: 480px;
  margin: 12px auto;
  text-align: center;
  padding: 48px 32px;
  background: var(--cream);
  border-radius: var(--r-lg);
  border: 1px solid var(--cream3);
}

.pjj-redirect-card svg { color: var(--blue); margin-bottom: 16px; }

.pjj-redirect-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 10px;
}

.pjj-redirect-card p {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.6;
  margin: 0 0 22px;
}

.pjj-redirect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ivory);
  background: var(--blue);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--r-md);
  transition: opacity 0.15s;
}

.pjj-redirect-btn:hover { opacity: 0.88; }

/* ─────────────────────────────────────────
   PUBLIKASI UT
───────────────────────────────────────── */
.pub-section { padding-top: 8px; }

.pub-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.pub-search { flex: 1 1 340px; max-width: 440px; }

.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  align-items: start;
  gap: 20px;
}

.pub-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  align-self: start;
  gap: 18px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 18px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(13,27,42,0.06);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.pub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(26,42,58,0.16);
  border-color: rgba(3,70,148,0.25);
}

.pub-card-cover {
  position: relative;
  display: block;
  flex: 0 0 84px;
  width: 84px;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream2);
  box-shadow:
    0 2px 4px rgba(13,27,42,0.12),
    0 8px 18px rgba(13,27,42,0.16);
  transition: box-shadow 0.3s ease;
}

.pub-card:hover .pub-card-cover {
  box-shadow:
    0 4px 8px rgba(13,27,42,0.16),
    0 14px 28px rgba(26,42,58,0.26);
}

.pub-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pub-card:hover .pub-card-cover img { transform: scale(1.06); }

.pub-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--mid);
}

.pub-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(240,230,210,0.35) 0%, rgba(240,230,210,0) 30%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.pub-card:hover .pub-card-shine { opacity: 1; }

.pub-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.pub-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  /* Judul selalu ditampilkan utuh, tidak dipotong — halaman ini sudah
     ada pagination, jadi kartu boleh lebih tinggi per baris. */
}

.pub-card-author {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pub-card-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mid);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pub-card-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--cream2);
  display: inline-block;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  margin-top: 6px;
  align-self: flex-start;
}

/* ── Modal detail buku ── */
.pub-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.pub-modal.active { visibility: visible; opacity: 1; }

.pub-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.74);
}

.pub-modal-panel {
  position: relative;
  display: flex;
  gap: 36px;
  max-width: 740px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pub-modal.active .pub-modal-panel { transform: translateY(0) scale(1); }

.pub-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: none;
  border-radius: 50%;
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: background 0.15s, color 0.15s;
}

.pub-modal-close:hover { background: var(--blue); color: var(--ivory); }

.pub-modal-cover {
  flex: 0 0 190px;
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream2);
  border: 1px solid rgba(13,27,42,0.08);
  box-shadow: 0 16px 36px rgba(13,27,42,0.22);
  padding: 6px;
  cursor: zoom-in;
  appearance: none;
  font: inherit;
  transition: box-shadow 0.25s ease;
}

.pub-modal-cover:hover {
  box-shadow: 0 20px 42px rgba(13,27,42,0.3);
}

.pub-modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: var(--r-md);
  display: block;
}

.pub-modal-cover-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,27,42,0.72);
  color: var(--ivory);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.pub-modal-cover:hover .pub-modal-cover-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.pub-modal-cover-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  color: var(--mid);
}

.pub-modal-body { flex: 1 1 auto; min-width: 0; }

.pub-modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
  margin: 0 0 6px;
}

.pub-modal-author {
  font-size: 13.5px;
  color: var(--mid);
  margin: 0 0 18px;
}

.pub-modal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  background: rgba(3,70,148,0.04);
  border-radius: var(--r-md);
}

.pub-modal-meta-item { display: flex; flex-direction: column; gap: 2px; }
.pub-modal-meta-item span { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--mid); }
.pub-modal-meta-item strong { font-size: 13px; color: var(--dark); }

.pub-modal-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--dark);
  margin: 0 0 24px;
  max-height: 160px;
  overflow-y: auto;
}

.pub-modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ivory);
  background: var(--blue);
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--r-md);
  box-shadow: 0 10px 24px rgba(26,42,58,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.pub-modal-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(26,42,58,0.4); }

.pub-modal-cta--opac {
  background: linear-gradient(135deg, #6b6146 0%, #4a4230 100%);
  box-shadow: 0 10px 24px rgba(74,66,48,0.3);
}

.pub-modal-cta--opac:hover { box-shadow: 0 14px 30px rgba(74,66,48,0.4); }

@media (max-width: 640px) {
  .pub-grid { grid-template-columns: 1fr; gap: 14px; }
  .pub-card { padding: 12px; gap: 12px; }
  .pub-card-cover { flex: 0 0 68px; width: 68px; }
  .pub-card-title { font-size: 14px; }
  .pub-card:hover { transform: translateY(-3px); }
  .pub-modal-panel { flex-direction: column; padding: 28px 24px; max-height: 90vh; }
  .pub-modal-cover { flex: 0 0 auto; width: 130px; margin: 0 auto; }
  .pub-modal-title { font-size: 20px; }
}

/* ── Halaman OER / 'SUAKA'-UT ── */
.oer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.oer-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(13,27,42,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.oer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(26,42,58,0.16);
  border-color: rgba(3,70,148,0.25);
}

.oer-card-banner {
  position: relative;
  display: block;
  flex: 0 0 42%;
  min-width: 240px;
  overflow: hidden;
  background: var(--cream2);
  border-right: 1px solid var(--cream3);
  padding: 0;
  margin: 0;
  border-left: none;
  border-top: none;
  border-bottom: none;
  appearance: none;
  font: inherit;
  text-align: left;
}

button.oer-card-banner-zoomable { cursor: zoom-in; }

.oer-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.oer-card:hover .oer-card-banner img { transform: scale(1.06); }

.oer-card-zoom-hint {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,27,42,0.72);
  color: var(--ivory);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.oer-card-banner-zoomable:hover .oer-card-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.oer-card-banner-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--mid);
}

.oer-card-icon {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(13,27,42,0.18);
}

.oer-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 28px 32px;
  justify-content: center;
}

.oer-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
}

.oer-card-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mid);
  margin: 0 0 22px;
  flex: 0 1 auto;
}

.oer-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--r-md);
  background: rgba(3,70,148,0.06);
  transition: background 0.2s ease, color 0.2s ease, gap 0.2s ease;
}

.oer-card-cta:hover {
  background: var(--blue);
  color: var(--ivory);
  gap: 11px;
}

.oer-license {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--cream2);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  border: 1px solid var(--cream3);
}

.oer-license-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(3,70,148,0.1);
  color: var(--blue);
}

.oer-license-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.oer-license-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--dark);
  margin: 0 0 10px;
}

.oer-license-desc a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.oer-license-ref {
  font-size: 12px;
  color: var(--mid);
  margin: 0;
  font-style: italic;
}

@media (max-width: 860px) {
  .oer-card { flex-direction: column; }
  .oer-card-banner {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-right: none;
    border-bottom: 1px solid var(--cream3);
  }
}

@media (max-width: 640px) {
  .oer-grid { gap: 16px; }
  .oer-card-body { padding: 24px 20px; }
  .oer-license { flex-direction: column; padding: 24px; }
}

/* ── Lightbox zoom banner OER ── */
.oer-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.oer-lightbox.active { visibility: visible; opacity: 1; }

.oer-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.8);
}

.oer-lightbox-panel {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 88vh;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.oer-lightbox.active .oer-lightbox-panel { transform: translateY(0) scale(1); }

.oer-lightbox-panel img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--r-md);
  background: var(--paper);
}

.oer-lightbox-title {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
}

.oer-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: none;
  border-radius: 50%;
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.15s, color 0.15s;
}

.oer-lightbox-close:hover { background: var(--blue); color: var(--ivory); }

@media (max-width: 640px) {
  .oer-lightbox-panel { padding: 16px; }
  .oer-lightbox-close { top: 8px; right: 8px; }
}

/* ── Halaman E-Resources ── */
.eres-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.eres-access-card {
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-rest);
}

/* Gradasi diganti bidang warna rata — editorial memakai bidang & garis,
   bukan gradasi lembut ala UI aplikasi. */
.eres-sso-card {
  background: var(--cream2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eres-access-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
}

.eres-access-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mid);
  margin: 0 0 16px;
}

/* Tombol = "tinta cetak": bidang biru solid, tanpa gradasi & tanpa glow.
   Hover menggelapkan tinta, bukan menyalakan cahaya. */
.eres-access-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ivory);
  background: var(--blue);
  text-decoration: none;
  padding: 11px 20px;
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.eres-access-link:hover { background: #023a7d; transform: translateY(var(--lift)); }

.eres-access-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--mid);
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--cream3);
}

.eres-access-note a { color: var(--blue); font-weight: 600; }

.eres-sso-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--paper);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(3,70,148,0.25);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  align-self: flex-start;
}

.eres-sso-btn:hover { background: var(--blue); color: var(--ivory); transform: translateY(var(--lift)); }

.eres-group {
  margin-bottom: 48px;
}

.eres-group:last-child { margin-bottom: 0; }

/* Hairline rule di bawah judul kelompok — pemisah khas halaman cetak. */
.eres-group-title {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream3);
}

.eres-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Pola "logo wall": TINGGI tetap, LEBAR menyesuaikan gambar — supaya logo
   lanskap (mis. EBSCOhost) dan cover jurnal potret (tinggi) sama-sama
   tampil besar & jelas, bukan sama-sama dipaksa muat kotak kecil seragam. */
.eres-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 116px;
  width: auto;
  min-width: 140px;
  max-width: 220px;
  padding: 14px 20px;
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-md);
  box-shadow: var(--sh-rest);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

a.eres-logo-tile { cursor: pointer; }

a.eres-logo-tile:hover {
  transform: translateY(var(--lift));
  box-shadow: var(--sh-hover);
  border-color: rgba(3,70,148,0.35);
}

.eres-logo-tile-nolink { opacity: 0.85; }

.eres-logo-tile img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.eres-panduan-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mid);
  margin: 20px 0 12px;
}

.eres-logo-grid-panduan .eres-logo-tile {
  height: 92px;
  min-width: 120px;
  max-width: 190px;
  padding: 12px 18px;
  background: var(--cream2);
  box-shadow: none;
}

.eres-sso-banner-link {
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-rest);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.eres-sso-banner-link:hover {
  transform: translateY(var(--lift));
  box-shadow: var(--sh-hover);
}

.eres-sso-banner-link img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .eres-access-grid { grid-template-columns: 1fr; gap: 16px; }
  .eres-access-card { padding: 22px; }
  .eres-logo-tile { height: 92px; min-width: 116px; max-width: 180px; padding: 12px 16px; }
  .eres-logo-grid-panduan .eres-logo-tile { height: 76px; min-width: 100px; max-width: 160px; }
}

/* ── Header kelompok + search (kelompok dengan item banyak) ── */
.eres-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.eres-group-head .eres-group-title { margin-bottom: 0; }

.eres-group-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}

.eres-group-search svg {
  position: absolute;
  left: 14px;
  color: var(--mid);
  pointer-events: none;
}

.eres-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--cream3);
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: var(--dark);
  background: var(--paper);
  outline: none;
  transition: border-color var(--t-fast) var(--ease);
}

.eres-search-input:focus { border-color: var(--blue); }

.eres-no-result {
  font-size: 13.5px;
  color: var(--mid);
  text-align: center;
  padding: 24px 0;
}

/* ── Kartu Jurnal Terbitan UT (cover presisi 2:3 + judul, tanpa deskripsi) ── */
.eres-journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 18px;
}

.eres-journal-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: transform var(--t-base) var(--ease);
}

.eres-journal-card:hover { transform: translateY(var(--lift)); }

/* Cover jurnal = punggung buku: radius kecil (kertas dipotong), bayangan
   netral seperti buku berdiri di rak — bukan kartu app yang menyala. */
.eres-journal-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--cream2);
  border: 1px solid var(--cream3);
  box-shadow: var(--sh-rest);
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.eres-journal-card:hover .eres-journal-cover {
  box-shadow: var(--sh-hover);
  border-color: rgba(26,42,58,0.2);
}

.eres-journal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.eres-journal-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--mid);
}

.eres-journal-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
  margin: 0;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

div.eres-journal-card:hover { transform: none; cursor: default; }

/* ── SSO: tombol + banner gambar berdampingan ── */
.eres-sso-card { display: flex; flex-direction: column; gap: 14px; }
.eres-sso-card .eres-sso-btn { align-self: flex-start; }

@media (max-width: 640px) {
  .eres-group-head { flex-direction: column; align-items: stretch; }
  .eres-group-search { min-width: 0; }
  .eres-journal-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 440px) {
  .eres-journal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .pjj-table-wrap { overflow: visible; border: none; box-shadow: none; background: none; }

  .pjj-table thead { display: none; }

  .pjj-table, .pjj-table tbody { display: block; width: 100%; }

  .pjj-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 12px;
    row-gap: 6px;
    background: var(--paper);
    border: 1px solid var(--cream3);
    border-radius: var(--r-lg);
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(26,42,58,0.06);
  }

  .pjj-table tbody tr:nth-child(even) { background: var(--paper); }
  .pjj-table tbody tr:hover { box-shadow: 0 4px 14px rgba(26,42,58,0.06); background: var(--paper); }

  .pjj-table tbody td { display: block; padding: 0; border: none; }

  /* Cover (kalau ada) jadi thumbnail kiri, judul mengisi sisa baris */
  .pjj-col-no { display: none; }

  .pjj-col-cover { flex: 0 0 44px; }
  .pjj-col-cover .pjj-cover-img,
  .pjj-col-cover .pjj-cover-placeholder { width: 44px; height: 62px; }

  .pjj-col-judul {
    flex: 1 1 160px;
    min-width: 0;
    font-size: 14.5px;
    line-height: 1.4;
  }

  /* Baris berikutnya (ISBN/Pengarang/Penerbit/Tahun/Link) full-width,
     otomatis turun ke baris baru karena flex-basis 100% */
  td[data-label="ISBN"],
  td[data-label="Pengarang"],
  td[data-label="Penerbit"] {
    flex: 1 1 100%;
    font-size: 12.5px;
    color: var(--mid);
  }

  td[data-label]:before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--blue);
  }

  .pjj-col-judul:before { content: none; }

  .pjj-col-tahun { flex: 1 1 100%; }
  .pjj-col-tahun:before { content: none; }

  .pjj-col-link { flex: 1 1 100%; margin-top: 4px; }

  /* Tabel RBV (Semua Bahan Ajar & per-prodi): tiap sel menumpuk penuh
     dengan label "Kolom: nilai" — supaya kolom baru (Kode/Judul Mata
     Kuliah, Edisi) rapi di HP, bukan berdesakan sebaris. */
  .pjj-table[data-cat="semuabmp"] tbody td,
  .pjj-table[data-cat="mk"] tbody td { flex: 1 1 100%; font-size: 13px; }
  .pjj-table[data-cat="semuabmp"] .rbv-col-kode,
  .pjj-table[data-cat="mk"] .rbv-col-kode { margin-top: 2px; }
  .pjj-table[data-cat="semuabmp"] .rbv-col-edisi,
  .pjj-table[data-cat="mk"] .rbv-col-edisi { text-align: left; }

  /* Cover & Akses di mobile: cover tampil natural, dua tombol berdampingan */
  .pjj-table[data-cat="semuabmp"] .rbv-col-cover,
  .pjj-table[data-cat="mk"] .rbv-col-cover { text-align: left; padding: 8px 4px !important; }
  .rbv-cover-thumb { width: 44px; height: 58px; }
  .rbv-cover-placeholder { width: 44px; height: 58px; }
  /* Hover lift dimatikan di touch (akan terasa aneh di tap) */
  .rbv-btn-fulltext:hover,
  .rbv-btn-detail:hover { transform: none; }
  /* Akses cell: tombol side-by-side kalau ada ruang, stack kalau sempit */
  .rbv-akses-cell { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .rbv-btn-fulltext, .rbv-btn-detail { width: auto; flex: 1 1 calc(50% - 3px); min-width: 90px; }
}

/* ─────────────────────────────────────────
   PUSTAKA PINTAR
───────────────────────────────────────── */
.pp-store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.pp-store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  background: var(--paper);
  border: 1.5px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 10px 20px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13,27,42,0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pp-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26,42,58,0.16);
  border-color: rgba(3,70,148,0.3);
}

.pp-store-btn span { display: flex; flex-direction: column; font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.pp-store-btn small { font-weight: 500; font-size: 10.5px; color: var(--mid); }

.pp-maintenance-banner {
  background: linear-gradient(90deg, #FFF4E0 0%, #FFE9C2 100%);
  border-top: 1px solid rgba(184,73,31,0.15);
  border-bottom: 1px solid rgba(184,73,31,0.15);
}

.pp-maintenance-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}

.pp-maintenance-inner svg { flex-shrink: 0; color: var(--accent3); }
.pp-maintenance-inner p { margin: 0; font-size: 14px; font-weight: 600; color: #7a3510; }

.pp-hero-image-section { padding: 48px 0 0; }

.pp-hero-image {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(13,27,42,0.18);
}

.pp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pp-feature-card {
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pp-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(26,42,58,0.12);
}

.pp-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--blue);
  color: var(--ivory);
  margin-bottom: 18px;
}

.pp-feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.pp-feature-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mid);
  margin: 0;
}

/* ── Hero: glow dekoratif + carousel phone-mockup ── */
.pp-hero { position: relative; overflow: hidden; }

.pp-hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 480px;
  background: radial-gradient(circle, rgba(3,70,148,0.16) 0%, rgba(255,222,0,0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pp-hero-h1 { position: relative; z-index: 1; }

.pp-carousel {
  position: relative;
  max-width: 620px;
  margin: 0 auto 48px;
}

.pp-carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 56px rgba(13,27,42,0.18);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pp-carousel-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pp-carousel-slide {
  flex-shrink: 0;
  width: 100%;
}

.pp-carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.pp-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240,230,210,0.92);
  border: none;
  border-radius: 50%;
  color: var(--blue);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: background 0.15s, transform 0.15s;
}

.pp-carousel-nav:hover:not(:disabled) { background: var(--paper); transform: translateY(-50%) scale(1.08); }
.pp-carousel-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.pp-carousel-prev { left: 32px; }
.pp-carousel-next { right: 32px; }

.pp-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pp-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--cream3);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.pp-carousel-dot.active { background: var(--blue); transform: scale(1.3); }

@media (max-width: 640px) {
  .pp-hero-image-section { padding: 32px 0 0; }
  .pp-carousel-nav { width: 34px; height: 34px; }
  .pp-carousel-prev { left: 8px; }
  .pp-carousel-next { right: 8px; }
  .pp-store-buttons { gap: 10px; }
  .pp-store-btn { padding: 8px 16px; }
}

@media (max-width: 720px) {
  .pjj-col-link:before { content: none; }
}

.pp-hero-sub { margin-top: 28px; }

.pp-video-section { padding-top: 8px; }

.pp-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.pp-video-card { animation: none; }

@media (max-width: 720px) {
  .pp-hero-glow { width: 420px; height: 320px; top: -80px; }
  .pp-carousel-prev { left: 12px; }
  .pp-carousel-next { right: 12px; }
}

/* ─────────────────────────────────────────
   REFERENSI — accordion prodi
───────────────────────────────────────── */
.ref-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: ref-item;
}

.ref-item {
  position: relative;
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(13,27,42,0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ref-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(26,42,58,0.1);
}

.ref-item:has(.ref-toggle-btn[aria-expanded="true"]) {
  border-color: rgba(3,70,148,0.3);
  box-shadow: 0 14px 34px rgba(26,42,58,0.13);
}

.ref-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue) 0%, var(--yellow) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ref-item:has(.ref-toggle-btn[aria-expanded="true"])::before { opacity: 1; }

.ref-toggle-btn {
  counter-increment: ref-item;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px 18px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
}

.ref-toggle-btn::before {
  content: counter(ref-item, decimal-leading-zero);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-md);
  background: var(--cream);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.ref-toggle-btn[aria-expanded="true"]::before {
  background: var(--blue);
  color: var(--ivory);
}

.ref-toggle-btn span { flex: 1 1 auto; }

.ref-toggle-btn:hover { color: var(--blue); }

.ref-chevron {
  flex-shrink: 0;
  color: var(--blue);
  background: var(--cream);
  border-radius: 50%;
  padding: 5px;
  width: 26px;
  height: 26px;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.ref-toggle-btn[aria-expanded="true"] .ref-chevron { transform: rotate(180deg); background: var(--yellow); color: var(--blue); }

.ref-toggle-body {
  padding: 0 22px 24px 72px;
  border-top: 1px solid var(--cream3);
  padding-top: 18px;
  animation: refFadeIn 0.25s ease;
}

@keyframes refFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ref-empty { color: var(--mid); font-size: 13.5px; margin: 0; }

.ref-content { font-size: 13.5px; line-height: 1.7; color: var(--dark); }
.ref-content p { margin: 0 0 10px; }
.ref-content strong { color: var(--blue); }
.ref-content em { color: var(--mid); }
.ref-content a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(3,70,148,0.3); transition: text-decoration-color 0.15s ease; }
.ref-content a:hover { text-decoration-color: var(--blue); }
.ref-content hr { border: none; border-top: 1px solid var(--cream3); margin: 18px 0; }

.ref-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0 18px;
  font-size: 12.5px;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(13,27,42,0.05);
}

.ref-content table th,
.ref-content table td {
  border-bottom: 1px solid var(--cream3);
  padding: 10px 12px;
  text-align: left;
}

.ref-content table th {
  background: var(--blue);
  color: var(--ivory);
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ref-content table tr:last-child td { border-bottom: none; }
.ref-content table tbody tr:nth-child(even) td { background: rgba(3,70,148,0.025); }
.ref-content table tbody tr:hover td { background: var(--cream); }

.ref-table-wrap { overflow-x: auto; margin: 14px 0 18px; border-radius: 10px; }
.ref-table-wrap table { margin: 0; }

.ref-cover-img {
  width: 44px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: block;
}

@media (max-width: 640px) {
  .ref-toggle-btn { padding: 15px 16px 15px 16px; gap: 12px; font-size: 14px; }
  .ref-toggle-btn::before { width: 26px; height: 26px; font-size: 10.5px; border-radius: 8px; }
  .ref-toggle-body { padding: 16px 16px 20px; }
  .ref-content table { font-size: 11.5px; }
  .ref-content table th, .ref-content table td { padding: 8px; }
}

/* ─────────────────────────────────────────
   RUANG BACA VIRTUAL (RBV) — mata kuliah & BMP
───────────────────────────────────────── */
.rbv-mk-kode {
  display: block;
  font-size: 11px;
  color: var(--mid);
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rbv-col-kode { width: 110px; }

.rbv-kode-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--blue);
  background: var(--cream);
  padding: 6px 12px;
  border-radius: var(--r-md);
  letter-spacing: 0.02em;
}

.pjj-link-btn .rbv-kode-badge { background: none; color: inherit; padding: 0; }

.rbv-edisi {
  display: block;
  font-size: 10.5px;
  color: var(--mid);
  margin-top: 4px;
}

.rbv-col-edisi { width: 100px; text-align: center; }

.rbv-edisi-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  background: var(--yellow);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ─────────────────────────────────────────
   KOLOM COVER — RBV TABLE
───────────────────────────────────────── */
.rbv-col-cover {
  width: 64px;
  text-align: center;
  padding: 10px 6px !important;
  vertical-align: middle;
}

/* Button wrapper untuk gambar cover (clickable → lightbox) */
.rbv-cover-btn {
  position: relative;
  display: block;
  width: 48px;
  margin: 0 auto;
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
  border-radius: 5px;
  outline-offset: 3px;
}

.rbv-cover-thumb {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.14),
    0 6px 14px rgba(0,0,0,0.10);
  transition:
    transform 0.25s cubic-bezier(.34,1.56,.64,1),
    box-shadow 0.25s ease;
}

/* Icon zoom hint — muncul saat hover di atas gambar */
.rbv-cover-zoom-hint {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(3,70,148,0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.rbv-cover-btn:hover .rbv-cover-thumb,
.rbv-cover-btn:focus-visible .rbv-cover-thumb {
  transform: scale(1.10) rotate(-2deg);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.18),
    0 10px 24px rgba(0,0,0,0.16);
}

.rbv-cover-btn:hover .rbv-cover-zoom-hint,
.rbv-cover-btn:focus-visible .rbv-cover-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.rbv-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 64px;
  border-radius: 5px;
  background: linear-gradient(145deg, #f5f3ee, #ede9e1);
  color: #bbb;
  margin: 0 auto;
  border: 1.5px dashed #d8d3c8;
}

/* ─────────────────────────────────────────
   LIGHTBOX POPUP — RBV Cover Zoom
───────────────────────────────────────── */
.rbv-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.rbv-lb.active {
  display: flex;
}

.rbv-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 28, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
  animation: rbvLbFadeIn 0.25s ease forwards;
}

@keyframes rbvLbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.rbv-lb-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: min(560px, 90vw);
  opacity: 0;
  transform: scale(0.88) translateY(12px);
  transition: opacity 0.26s ease, transform 0.26s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}

.rbv-lb-content.in {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.rbv-lb-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.45),
    0 2px 8px rgba(0,0,0,0.3);
  background: #1a1a2e;
}

.rbv-lb-img {
  display: block;
  max-width: min(560px, 90vw);
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rbv-lb-caption {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin: 0;
  line-height: 1.5;
  max-width: min(320px, 86vw);
  letter-spacing: 0.01em;
}

/* Tombol close — ditaruh di pojok kanan atas container lightbox content (di luar gambar) */
.rbv-lb-close {
  position: absolute;
  top: -48px;
  right: 0;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s cubic-bezier(.34,1.56,.64,1);
  backdrop-filter: blur(8px);
}

.rbv-lb-close:hover {
  background: rgba(255,255,255,0.24);
  transform: scale(1.12) rotate(90deg);
}

.rbv-lb-close:focus-visible {
  outline: 2px solid rgba(255,255,255,0.7);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────
   KOLOM & TOMBOL AKSES — RBV TABLE
───────────────────────────────────────── */
.rbv-col-akses {
  width: 152px;
  vertical-align: middle;
  padding: 10px 10px !important;
}

.rbv-akses-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Tombol Baca Fulltext — gradient biru premium ── */
.rbv-btn-fulltext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #1a56db 0%, #034694 100%);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 7px;
  border: none;
  box-shadow:
    0 2px 6px rgba(3,70,148,0.30),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition:
    transform 0.18s cubic-bezier(.34,1.56,.64,1),
    box-shadow 0.18s ease,
    filter 0.18s ease;
  line-height: 1;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on hover */
.rbv-btn-fulltext::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
  pointer-events: none;
}

.rbv-btn-fulltext:hover {
  transform: translateY(-2px);
  box-shadow:
    0 5px 14px rgba(3,70,148,0.38),
    inset 0 1px 0 rgba(255,255,255,0.2);
  filter: brightness(1.08);
  color: #fff;
}

.rbv-btn-fulltext:hover::after {
  transform: translateX(100%);
}

.rbv-btn-fulltext:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(3,70,148,0.25);
}

/* ── Tombol Detail — clean outline dengan hover fill elegan ── */
.rbv-btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 7px;
  border: 1.5px solid #e2e0dc;
  background: #fafaf9;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s cubic-bezier(.34,1.56,.64,1),
    box-shadow 0.18s ease;
  line-height: 1;
  width: 100%;
}

.rbv-btn-detail:hover {
  border-color: #034694;
  color: #034694;
  background: #eef3fb;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(3,70,148,0.12);
}

.rbv-btn-detail:active {
  transform: translateY(0);
  box-shadow: none;
}

.bmp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 24px;
}

.bmp-back-link:hover { text-decoration: underline; }

/* ── Halaman detail BMP (single.php) ── */
.bmp-title { 
  font-size: 32px; 
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  color: var(--ivory);
}

/* Layout Hero Baru (Area Biru) */
.bmp-hero {
  padding: 60px 0 50px !important;
  background: linear-gradient(135deg, #022b5c 0%, #034694 100%);
  position: relative;
  overflow: hidden;
}

.bmp-hero-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: flex-start;
}

.bmp-hero-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.bmp-hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-end;
  padding-top: 4px;
}

/* Cover Styling */
.bmp-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream2);
  box-shadow: 
    0 10px 25px rgba(0,0,0,0.3),
    0 3px 10px rgba(0,0,0,0.2);
  border: none;
  padding: 0;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease;
}

.bmp-cover-clickable { cursor: zoom-in; }

.bmp-cover-clickable:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 20px 35px rgba(0,0,0,0.4),
    0 5px 15px rgba(0,0,0,0.25);
}

.bmp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bmp-cover-zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(3,70,148,0.85);
  color: var(--ivory);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(.34,1.56,.64,1);
  backdrop-filter: blur(4px);
}

.bmp-cover-clickable:hover .bmp-cover-zoom-hint { opacity: 1; transform: scale(1); }

.bmp-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--mid);
}

/* Tombol Baca Fulltext Premium (di dalam Hero Biru) — Menggunakan Kuning Resmi UT */
.bmp-fulltext-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue, #034694);
  background: var(--yellow, #FFDE00);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: var(--r-md, 8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease, background-color 0.25s;
  border: none;
  width: 100%;
}

.bmp-fulltext-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 222, 0, 0.35);
  background: #ffe633;
  color: var(--blue, #034694);
}

.bmp-fulltext-btn:active {
  transform: translateY(0);
}

/* Layout Area Putih */
.bmp-detail-section {
  padding-top: 40px !important;
  background: var(--cream, #F5F0E8);
}

.bmp-layout-full {
  width: 100%;
}

.bmp-main {
  max-width: 100%;
}

/* ── Grid Metadata Baru (Konsep Editorial Modern, Card Kertas Solid Mewah) ── */
.bmp-meta-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px 24px;
  margin-top: 24px;
  margin-bottom: 0;
  padding: 24px;
  background: var(--paper); /* Kertas hangat padat, bebas dari glassmorphism */
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-rest);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bmp-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream2); /* Pembatas bawah khas cetak */
}

/* Item Penulis: Mengambil full lebar grid 12-kolom */
.bmp-meta-item--penulis {
  grid-column: span 12;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cream3);
}

.bmp-meta-item--penulis strong {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5;
  color: var(--dark);
  letter-spacing: 0.01em;
}

/* Data Pendek: Edisi, SKS, Modul, Tahun Terbit, Kelas DDC (span 2 atau span 3 agar proporsional) */
.bmp-meta-item--edisi { grid-column: span 2; }
.bmp-meta-item--sks { grid-column: span 2; }
.bmp-meta-item--modul { grid-column: span 2; }
.bmp-meta-item--tahun-terbit { grid-column: span 3; }
.bmp-meta-item--kelas-ddc { grid-column: span 3; }

/* Data Panjang: Halaman, ISBN, ISBN Elektronik, Penerbit, Kota Terbit (span 6) */
.bmp-meta-item--halaman { grid-column: span 6; }
.bmp-meta-item--isbn { grid-column: span 6; }
.bmp-meta-item--isbn-elektronik { grid-column: span 6; }
.bmp-meta-item--penerbit { grid-column: span 6; }
.bmp-meta-item--kota-terbit { grid-column: span 6; }

/* Label Teks: Sans-serif (Interstate) dengan kontras sedang khas koran kelas dunia */
.bmp-meta-item span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em; /* Letter spacing tinggi */
  color: var(--mid); /* Warna label teks sedang */
  font-weight: 700;
  font-family: var(--font-display);
}

/* Nilai Teks: Teks gelap cetak */
.bmp-meta-item strong {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.4;
  font-weight: 600;
}

/* Responsive breakpoint untuk tablet dan hp */
@media (max-width: 991px) {
  .bmp-meta-item--edisi,
  .bmp-meta-item--sks,
  .bmp-meta-item--modul {
    grid-column: span 4;
  }
  .bmp-meta-item--tahun-terbit,
  .bmp-meta-item--kelas-ddc {
    grid-column: span 6;
  }
  .bmp-meta-item--halaman,
  .bmp-meta-item--isbn,
  .bmp-meta-item--isbn-elektronik,
  .bmp-meta-item--penerbit,
  .bmp-meta-item--kota-terbit {
    grid-column: span 6;
  }
}

@media (max-width: 576px) {
  .bmp-meta-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 0 0;
  }
  .bmp-meta-item {
    grid-column: span 1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* ── Lightbox zoom cover ── */
.bmp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.bmp-lightbox.active { visibility: visible; opacity: 1; }

.bmp-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.8);
}

.bmp-lightbox-img {
  position: relative;
  max-width: min(560px, 90vw);
  max-height: 85vh;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bmp-lightbox.active .bmp-lightbox-img { transform: scale(1); }

.bmp-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240,230,210,0.15);
  border: 1.5px solid rgba(240,230,210,0.3);
  border-radius: 50%;
  color: var(--ivory);
  cursor: pointer;
  transition: background 0.15s;
}

.bmp-lightbox-close:hover { background: rgba(240,230,210,0.28); }

/* Redundant/SSO styles removed. Metadata, description, and responsive styles handled above. */
/* Duplicate styling removed to prevent layout override. */

.bmp-deskripsi { margin-bottom: 32px; }
.bmp-deskripsi h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 12px;
}
.bmp-deskripsi p { font-size: 14px; line-height: 1.75; color: var(--dark); margin: 0; }

.bmp-pdf-tabs { margin-bottom: 28px; }

.bmp-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  padding: 12px 20px;
  border: 1.5px solid var(--blue);
  border-radius: var(--r-md);
  margin-top: 16px;
  transition: background 0.15s, color 0.15s;
}

.bmp-pdf-link:hover { background: var(--blue); color: var(--ivory); }

/* ─────────────────────────────────────────
   UNGGAH REPOSITORY
───────────────────────────────────────── */
.repo-section-tight { padding-top: 0; padding-bottom: 0; }

.repo-notice {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(3,70,148,0.05);
  border: 1px solid rgba(3,70,148,0.15);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  margin-bottom: 8px;
}

.repo-notice-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(3,70,148,0.1);
  color: var(--blue);
}

.repo-notice-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dark);
}

.repo-notice-text strong { color: var(--blue); }

.repo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.repo-col .rbv-sec-sub { margin-bottom: 24px; }

.repo-form-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.repo-form-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-left: 4px solid var(--accent-color, var(--blue));
  border-radius: var(--r-lg);
  padding: 18px 20px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(13,27,42,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.repo-form-card:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(26,42,58,0.14);
}

.repo-form-card[data-accent="1"] { --accent-color: var(--blue); }
.repo-form-card[data-accent="2"] { --accent-color: #0c5aa8; }
.repo-form-card[data-accent="3"] { --accent-color: #023a7d; }
.repo-form-card[data-accent="4"] { --accent-color: var(--dark); }
.repo-form-card[data-accent="5"] { --accent-color: var(--accent3); }
.repo-form-card[data-accent="6"] { --accent-color: var(--mid); }

.repo-form-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(3,70,148,0.07);
  color: var(--accent-color, var(--blue));
}

.repo-form-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.repo-form-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
}

.repo-form-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--mid);
}

.repo-form-arrow {
  flex: 0 0 auto;
  color: var(--mid);
  transition: transform 0.2s ease, color 0.2s ease;
}

.repo-form-card:hover .repo-form-arrow { transform: translateX(3px); color: var(--accent-color, var(--blue)); }

.repo-steps {
  margin: 0 0 32px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.repo-steps li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--dark);
  padding-left: 4px;
}

.repo-steps a { color: var(--blue); font-weight: 600; }

.repo-step-highlight {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(3,70,148,0.08);
  padding: 4px 10px;
  border-radius: var(--r-md);
}

.repo-illustration {
  display: flex;
  justify-content: center;
  padding: 12px 0 0;
}

.repo-illustration svg { width: 100%; max-width: 260px; height: auto; }

@media (max-width: 900px) {
  .repo-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .repo-notice { flex-direction: column; text-align: center; padding: 20px; }
  .repo-form-card { padding: 14px 16px; gap: 12px; }
  .repo-form-title { font-size: 13.5px; }
}

/* ─────────────────────────────────────────
   PANDUAN KUNJUNGAN KE PERPUSTAKAAN (+ sidebar Panduan UT bersama)
───────────────────────────────────────── */
.panduan-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.panduan-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.panduan-doc-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream2);
  border: 1px solid var(--cream3);
  box-shadow: 0 8px 28px rgba(13,27,42,0.1);
}

.panduan-doc-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.panduan-map-card {
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: 0 4px 14px rgba(13,27,42,0.05);
}

.panduan-map-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 14px;
}

.panduan-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: var(--r-md);
  overflow: hidden;
}

.panduan-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.panduan-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.panduan-sidebar-group {
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: 0 3px 12px rgba(13,27,42,0.05);
}

.panduan-sidebar-heading {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cream3);
}

.panduan-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panduan-sidebar-link {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  text-decoration: none;
  padding: 7px 8px;
  border-radius: var(--r-md);
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.panduan-sidebar-link:hover {
  background: rgba(3,70,148,0.06);
  color: var(--blue);
  padding-left: 12px;
}

.panduan-sidebar-link.active {
  background: var(--blue);
  color: var(--ivory);
  font-weight: 600;
}

.panduan-doc-frame-heyzine { aspect-ratio: 3 / 4; }

.panduan-video-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panduan-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--dark);
  box-shadow: 0 8px 28px rgba(13,27,42,0.15);
}

.panduan-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .panduan-layout { grid-template-columns: 1fr; }
  .panduan-sidebar { position: static; }
  .panduan-doc-frame { aspect-ratio: 3 / 4; }
}


@media (max-width: 640px) {
  .onesearch-float { padding: 0 16px; margin-top: -80px; }
  .onesearch-float-inner { border-radius: 12px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
  .onesearch-float-inner:hover { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
  .onesearch-float-inner::after { width: 20px; height: 20px; }
  .onesearch-float-inner:hover::after { width: 24px; height: 24px; }
  .onesearch-platforms { justify-content: center; text-align: center; gap: 6px; }
  .onesearch-platforms span:not(.os-dot) { font-size: 10px; }
  .onesearch-badge { font-size: 9px; padding: 3px 8px; }
}

/* Hero Platform Tooltips & Shimmer */
.hero-cta-btn { position: relative; }
.hero-cta-btn::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px); background: var(--blue); color: var(--ivory); font-family: var(--font-body); font-size: 13px; font-weight: normal; letter-spacing: normal; text-transform: none; line-height: 1.4; padding: 10px 14px; border-radius: 8px; width: max-content; white-space: nowrap; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,0.25); border: 1px solid rgba(240,230,210,0.15); opacity: 0; visibility: hidden; pointer-events: none; z-index: 100; transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), visibility 0.3s; }
.hero-cta-btn::before { content: ''; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(10px); border-width: 6px 6px 0 6px; border-style: solid; border-color: var(--blue) transparent transparent transparent; opacity: 0; visibility: hidden; pointer-events: none; z-index: 101; transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), visibility 0.3s; }
.hero-cta-btn:hover::after, .hero-cta-btn.is-auto-hover::after, .hero-cta-btn:hover::before, .hero-cta-btn.is-auto-hover::before { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.hero-cta-btn.is-auto-hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,222,0,0.3); }
@media (max-width: 768px) { .hero-cta-btn::after { max-width: 240px; white-space: normal; font-size: 11px; padding: 8px 12px; } }
.hero-h1 .h1-line:first-child .h1-inner { background: linear-gradient(110deg, var(--ivory) 15%, #F5E9B6 40%, #CEDBE8 60%, var(--ivory) 85%); background-size: 300% auto; color: transparent; -webkit-text-fill-color: transparent; -webkit-background-clip: text; background-clip: text; animation: lineRevealUp 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards, heroShimmer 20s 1.05s linear infinite; display: inline-block; }
@keyframes heroShimmer { 0% { background-position: 300% center; } 100% { background-position: -150% center; } }

/* Responsive Hero H1 Scaling and Wrapping on mobile */
@media (max-width: 960px) {
  .hero-h1 { font-size: 52px !important; }
  .hero-h1 .h1-line { white-space: normal !important; }
}
@media (max-width: 768px) {
  .hero-h1 { font-size: 38px !important; }
  .hero-h1 .h1-line { white-space: normal !important; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 28px !important; }
  .hero-h1 .h1-line { white-space: normal !important; }
}


/* ─────────────────────────────────────────
   SECTION PARTNERSHIP & MEMBERSHIP (INTEGRATED SHOWCASE)
───────────────────────────────────────── */
.section-partnership {
  background: var(--paper);
  border-top: 1px solid var(--cream3);
  border-bottom: 1px solid var(--cream3);
  padding: 90px 0;
  overflow: hidden;
  position: relative;
}

/* Canvas 3D Background Three.js */
.partnership-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.section-partnership .section-inner,
.section-partnership .partnership-stream-wrap {
  position: relative;
  z-index: 1;
}

/* Header Section Customizer — 100% Mengikuti Standar Tema Utama */
.section-partnership .sec-head {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-partnership .sec-line {
  width: 44px;
  height: 2.5px;
  background: var(--yellow);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* BLOK 1 & 2 SUB-SECTION LABELS (Pita Garis Teks di Tengah) */
.partnership-featured-wrap {
  margin-bottom: 48px;
}

.partnership-stream-wrap {
  margin-top: 20px;
}

.partnership-stream-label {
  text-align: center;
  margin-bottom: 26px;
  position: relative;
}

.partnership-stream-label::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--cream3);
  z-index: 1;
}

.stream-label-text {
  position: relative;
  z-index: 2;
  background: var(--paper);
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--blue);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 34px 22px 28px;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(13,27,42,0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.member-card--link:hover {
  transform: translateY(-5px);
  border-color: rgba(3, 70, 148, 0.3);
  box-shadow: 0 16px 36px rgba(13, 27, 42, 0.08);
}

.member-card--link:hover::before {
  background: var(--yellow);
}

.member-card .member-logo-area {
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  border: 1.5px solid rgba(240, 230, 210, 0.8);
  box-shadow: 0 4px 12px rgba(13,27,42,0.04);
}

.member-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 6px;
}

.member-emblem {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #FAF6EC 0%, #F4ECE0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--blue);
  box-shadow: inset 0 0 0 2px #FAF6EC, 0 0 0 2px var(--blue);
  box-sizing: border-box;
}

.member-emblem-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
}

.member-body {
  width: 100%;
}

.member-name {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
}

.member-desc {
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-muted, #5a6b7c);
  margin: 0;
}

/* BLOK 2: PITA STREAM MITRA KOLABORASI (Full Width Marquee) */
.partnership-stream-wrap {
  margin-top: 36px;
  width: 100%;
  overflow: hidden;
}

.partner-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  padding: 10px 0 16px;
}

.partner-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee-partnership 50s linear infinite;
  padding-left: 18px;
}

.partner-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-partnership {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 14px 20px;
  min-width: 300px;
  max-width: 360px;
  height: 82px;
  box-sizing: border-box;
  box-shadow: 0 3px 10px rgba(13,27,42,0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
  text-decoration: none;
}

.partner-card--link:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 70, 148, 0.25);
  box-shadow: 0 8px 20px rgba(13, 27, 42, 0.06);
}

.partner-logo-area {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(240, 230, 210, 0.6);
  box-shadow: 0 2px 6px rgba(13,27,42,0.03);
}

.partner-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 4px;
}

.partner-emblem {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FAF6EC;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--blue);
  box-shadow: inset 0 0 0 1.5px #FAF6EC, 0 0 0 1.5px var(--blue);
  box-sizing: border-box;
}

.partner-emblem-text {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
}

.partner-body {
  flex-grow: 1;
}

.partner-name {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section-partnership {
    padding: 60px 0;
  }
  .section-partnership .sec-title {
    font-size: 26px;
  }
  .member-card {
    padding: 26px 18px 22px;
  }
}

@media (max-width: 576px) {
  .section-partnership .sec-title {
    font-size: 22px;
  }
  .member-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ─────────────────────────────────────────
   PAGE: JURNAL TERAKREDITASI DIKTI
───────────────────────────────────────── */
.dikti-body {
  padding: 70px 0 90px;
  background: var(--paper);
}

.dikti-tabs-wrap {
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
}

.dikti-tabs {
  display: inline-flex;
  gap: 8px;
  background: var(--cream2);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid var(--cream3);
  flex-wrap: wrap;
  justify-content: center;
}

.dikti-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--mid);
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dikti-tab-btn:hover {
  color: var(--dark);
}

.dikti-tab-btn.active {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(3, 70, 148, 0.2);
}

.dikti-tab-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(13, 27, 42, 0.08);
  color: inherit;
}

.dikti-tab-btn.active .dikti-tab-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.dikti-panel {
  display: none;
}

.dikti-panel.active {
  display: block;
}

/* Tools (Search & Filter) */
.dikti-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  padding: 16px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.02);
}

.dikti-search {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--cream3);
  border-radius: var(--r-md);
  padding: 8px 14px;
}

.dikti-search svg {
  color: var(--mid);
  flex-shrink: 0;
}

.dikti-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--dark);
  outline: none;
}

.dikti-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dikti-filter-label {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mid);
  white-space: nowrap;
}

.dikti-filter-select {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  background: #ffffff;
  border: 1px solid var(--cream3);
  border-radius: var(--r-md);
  padding: 8px 14px;
  outline: none;
  cursor: pointer;
}

.dikti-count {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--mid);
  white-space: nowrap;
  flex-shrink: 0;
}

.dikti-count strong {
  color: var(--blue);
}

/* Tabel Styling Editorial */
.dikti-table-wrap {
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(13, 27, 42, 0.03);
}

.dikti-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dikti-table th {
  background: #F4EDE0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  padding: 16px 20px;
  border-bottom: 2px solid var(--cream3);
}

.dikti-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--cream3);
  vertical-align: top;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--dark);
}

.dikti-table tbody tr:hover {
  background: rgba(3, 70, 148, 0.02);
}

.dikti-table tbody tr:last-child td {
  border-bottom: none;
}

.dikti-col-no {
  width: 50px;
  text-align: center;
  font-weight: 700;
  color: var(--mid);
}

.dikti-col-jurnal {
  min-width: 260px;
}

.dikti-journal-name {
  font-weight: 700;
  color: var(--dark);
  font-size: 14px;
}

.dikti-issn {
  font-size: 11.5px;
  color: var(--mid);
  margin-top: 4px;
}

.dikti-issn span {
  font-weight: 600;
  color: var(--blue);
}

.dikti-col-peringkat {
  width: 130px;
}

.dikti-badge-sinta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

.dikti-sinta-1 {
  background: #FFF3D6;
  color: #B8860B;
  border: 1px solid rgba(184, 134, 11, 0.3);
}

.dikti-sinta-2 {
  background: #E6F0FA;
  color: var(--blue);
  border: 1px solid rgba(3, 70, 148, 0.3);
}

.dikti-sinta-3 {
  background: #EBF7EE;
  color: #2E7D32;
  border: 1px solid rgba(46, 125, 50, 0.3);
}

.dikti-sinta-other {
  background: #F0F2F5;
  color: var(--mid);
  border: 1px solid var(--cream3);
}

.dikti-col-penerbit {
  min-width: 200px;
}

.dikti-col-sk {
  min-width: 280px;
}

.dikti-sk-text {
  font-size: 12px;
  line-height: 1.45;
  color: var(--mid);
}

.dikti-col-link {
  width: 120px;
  text-align: center;
}

.dikti-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(3, 70, 148, 0.06);
  border: 1px solid rgba(3, 70, 148, 0.15);
  padding: 6px 12px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dikti-link-btn:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.dikti-empty {
  text-align: center;
  padding: 50px 20px;
  background: var(--paper);
  border: 1px solid var(--cream3);
  border-radius: var(--r-lg);
  color: var(--mid);
  font-size: 14px;
}

/* Responsive Table */
@media (max-width: 900px) {
  .dikti-tools {
    flex-direction: column;
    align-items: stretch;
  }
  .dikti-table-wrap {
    overflow-x: auto;
  }
}

/* ============================================================
   RUANG BACA VIRTUAL — EDITORIAL TABLE & BADGE STYLES
   ============================================================ */

/* 1. Monospace Micro-Badges untuk Kode Mata Kuliah */
.rbv-mk-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.rbv-mk-chip {
  display: inline-block;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--dark, #0D1B2A);
  background-color: var(--cream2, #EDE7D9);
  border: 1px solid var(--cream3, #E4DCCB);
  padding: 2px 7px;
  border-radius: var(--r-sm, 4px);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* 2. Structured Paired Rows untuk Kode MK & Judul MK (Connected Row Separator) */
.rbv-mk-pair-column {
  display: flex;
  flex-direction: column;
}
.rbv-mk-subrow {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  box-sizing: border-box;
}
.rbv-mk-subrow:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.rbv-mk-title {
  display: block;
  font-weight: 600;
  color: var(--text, #1A2A3A);
  font-size: 13.5px;
  line-height: 1.4;
}


