/*
Theme Name: APOI Official
Theme URI: https://apoi.or.id
Author: Asosiasi Profesional Ortopedagogik Indonesia
Author URI: https://apoi.or.id
Description: Tema resmi Asosiasi Profesional Ortopedagogik Indonesia (APOI). Desain modern, kredibel, aksesibel (WCAG AA) dengan palet Royal Academic Blue & Emerald Green.
Version: 1.6.2
Text Domain: apoi
*/

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --primary: #1e3a8a;
  --primary-light: #2563eb;
  --primary-soft: #eff6ff;
  --emerald: #059669;
  --emerald-dark: #047857;
  --emerald-soft: #ecfdf5;
  --gold: #f59e0b;
  --text: #0f172a;
  --muted: #64748b;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all .25s ease; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Topbar */
.topbar {
  position: relative;
  z-index: 1000005 !important;
  background: var(--navy);
  color: #94a3b8;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
}
.topbar-info {
  display: flex;
  gap: 18px;
  align-items: center;
  white-space: nowrap;
  font-size: 12.5px;
}
.topbar-info a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-info a:hover {
  color: #34d399;
}
.topbar-right {
  display: flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 12.5px;
}
.topbar-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-social a {
  color: #cbd5e1;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.topbar-social a:hover {
  color: #34d399;
}

/* ==========================================================================
   FITUR AKSESIBILITAS & GTRANSLATE PERSIS DI SEBELAH IKON MEDSOS / BUKU
   ========================================================================== */
.topbar-tools {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}
.topbar-divider {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}
.topbar-access-btn {
  background: rgba(37, 99, 235, 0.25);
  color: #ffffff;
  border: 1px solid rgba(96, 165, 250, 0.45);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s ease;
  height: 28px;
  line-height: 1;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.topbar-access-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}
.topbar-access-btn i {
  font-size: 13px;
  color: #60a5fa;
}
.topbar-access-btn:hover i {
  color: #ffffff;
}

/* GTranslate Wrapper & Docking Rapi di Topbar */
.topbar-gt-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  vertical-align: middle;
  z-index: 1000006 !important;
}

/* Sembunyikan container wrapper kosong agar tidak memakan ruang */
.topbar-gt-wrapper > .gtranslate_wrapper:empty {
  display: none !important;
}

/* Jika ada lebih dari satu widget di dalam topbarGtWrapper, sembunyikan yang kedua */
.topbar-gt-wrapper > *:not(:empty) ~ *:not(:empty) {
  display: none !important;
}

/* GTranslate Switcher: Tampil sebagai SATU Kapsul Putih Bersih di Baris Topbar */
.gt_float_switcher,
#gt_float_wrapper,
.topbar-gt-wrapper .gt_float_switcher {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 100 !important;
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  height: 28px !important;
  min-height: 28px !important;
  line-height: 28px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  margin: 0 !important;
  cursor: pointer !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-sizing: border-box !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: manipulation !important;
}

/* HILANGKAN background & padding ganda pada elemen anak di dalam switcher agar TIDAK ada dobel pill */
.gt_float_switcher .gt-selected,
.gt_float_switcher .gt_selected,
.topbar-gt-wrapper .gt-selected,
.topbar-gt-wrapper .gt_selected {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  line-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Teks dan bendera */
.gt_float_switcher a,
.topbar-gt-wrapper a.glink,
.topbar-gt-wrapper .gt-selected a,
.topbar-gt-wrapper .gt_selected a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #1e293b !important;
  text-decoration: none !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 28px !important;
}

.gt_float_switcher img,
.topbar-gt-wrapper img {
  vertical-align: middle !important;
  border-radius: 2px !important;
  margin-right: 4px !important;
  width: 16px !important;
  height: auto !important;
  display: inline-block !important;
}

/* Menu Dropdown Pilihan Bahasa (.gt_options): Membuka ke Bawah Rapi */
.gt_float_switcher .gt_options,
.topbar-gt-wrapper .gt_options {
  position: absolute !important;
  top: 100% !important;
  bottom: auto !important;
  right: 0 !important;
  left: auto !important;
  margin-top: 6px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid #e2e8f0 !important;
  padding: 6px 0 !important;
  min-width: 130px !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  z-index: 1000010 !important;
  scrollbar-width: thin !important;
}

.gt_float_switcher .gt_options a,
.topbar-gt-wrapper .gt_options a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  color: #1e293b !important;
  text-decoration: none !important;
  transition: background 0.15s ease !important;
  line-height: 1.4 !important;
}

.gt_float_switcher .gt_options a:hover,
.topbar-gt-wrapper .gt_options a:hover {
  background: #f1f5f9 !important;
  color: #059669 !important;
}

/* Styling Fallback jika Menggunakan Dropdown Select Bawaan */
.topbar-gt-wrapper select.gt_selector,
.topbar-gt-wrapper .gt_switcher select,
.gtranslate_wrapper select {
  height: 28px !important;
  line-height: 28px !important;
  padding: 0 16px 0 8px !important;
  border-radius: 999px !important;
  background-color: #ffffff !important;
  color: #1e293b !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  cursor: pointer !important;
  outline: none !important;
}

/* ==========================================================================
   FITUR AKSESIBILITAS: DITANAM DI HEADER, DILARANG MELAYANG
   ========================================================================== */
/* Sembunyikan HANYA tombol floating launcher bawaan UserWay tanpa mematikan modal dialognya */
#userwayAccessibilityIcon,
.uai,
.userway_p0,
div[id="userwayAccessibilityIcon"],
div[id^="userwayAccessibilityIcon"] {
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: -1 !important;
  overflow: hidden !important;
}

/* Pastikan modal dialog panel aksesibilitas saat terbuka bebas tampil di layar */
userway-widget-container,
.uwy-dialog,
.uwy_dialog,
.uwy-modal {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
}

/* ==========================================================================
   FITUR MULTI-BAHASA (GTRANSLATE): DITANAM DI HEADER, DILARANG MELAYANG
   ========================================================================== */
.gt_float_switcher,
#gt_float_wrapper,
.topbar-gt-wrapper .gt_float_switcher,
.gtranslate_wrapper .gt_float_switcher {
  position: static !important;
  bottom: auto !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  box-shadow: none !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  z-index: 1000 !important;
}

/* Responsif Mobile: Topbar tetap ada sebagai utility bar ramping tanpa menabrak menu hamburger */
@media (max-width: 991px) {
  .topbar {
    display: block !important;
    padding: 6px 0;
    background: var(--navy);
  }
  .topbar-info,
  .btn-replay-intro,
  .topbar-social,
  .topbar-divider {
    display: none !important;
  }
  .topbar .container {
    justify-content: flex-end;
    min-height: 32px;
    padding: 0 16px;
  }
  .topbar-tools {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-left: 0;
  }
  .topbar-access-btn {
    height: 28px;
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* Header & Navbar */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000000 !important;
  background: #ffffff;
  box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.08);
  border-bottom: 3px solid var(--primary);
}
body.admin-bar header.site-header {
  top: 32px;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform .25s ease;
}
.brand-logo-img:hover {
  transform: scale(1.02);
}

/* Nav Menu & WordPress Dynamic Menu Support */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-item,
.nav-menu > li {
  position: relative;
}
.nav-link,
.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.1px;
  white-space: nowrap;
  transition: all .2s ease;
}
.nav-link i.fa-chevron-down,
.nav-menu > li > a i.fa-chevron-down {
  font-size: 10px;
  transition: transform .25s ease;
  color: #94a3b8;
  margin-left: 2px;
}
.nav-item:hover > .nav-link,
.nav-menu > li:hover > a {
  background: var(--primary-soft);
  color: var(--primary);
}
.nav-item:hover > .nav-link i.fa-chevron-down,
.nav-menu > li:hover > a i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Sub-Menu Dropdown - Rapi Rata Kiri & Elegan */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
  padding: 8px 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.nav-menu > li:last-child .sub-menu,
.nav-menu > li:nth-last-child(2) .sub-menu {
  left: auto;
  right: 0;
}
.nav-item:hover > .sub-menu,
.nav-menu > li:hover > .sub-menu,
.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu li {
  margin: 2px 0;
  width: 100%;
}
.sub-menu li a,
.sub-menu a {
  display: block;
  text-align: left;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all .18s ease;
}
.sub-menu li a:hover,
.sub-menu a:hover {
  background: #f1f5f9;
  color: var(--primary);
  padding-left: 18px;
  transform: translateX(2px);
}
.sub-menu-badge {
  font-size: 10.5px;
  font-weight: 800;
  background: #ecfdf5;
  color: #047857;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
  margin-left: 8px;
  display: inline-block;
}

@media (min-width: 992px) and (max-width: 1240px) {
  .nav-link,
  .nav-menu > li > a {
    padding: 8px 7px;
    font-size: 12.5px;
    gap: 3px;
  }
  .brand-logo-img {
    height: 44px;
  }
  .nav-actions .btn {
    padding: 8px 14px;
    font-size: 12.5px;
  }
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  border: none;
  transition: all .3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #fff !important;
  box-shadow: 0 8px 20px -6px rgba(5, 150, 105, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(5, 150, 105, 0.65);
}
.btn-outline-primary {
  border: 2px solid #1e3a8a !important;
  color: #1e3a8a !important;
  background: #eff6ff !important;
  font-weight: 700;
  text-decoration: none;
}
.btn-outline-primary:hover {
  background: #1e3a8a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(30, 58, 138, 0.4);
}
.btn-outline-primary:hover i {
  color: #ffffff !important;
}

/* Section Header */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.eyebrow {
  display: inline-block;
  color: var(--emerald);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sec-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}
.sec-desc { color: var(--muted); font-size: 15px; }

/* Hero */
.hero {
  background: radial-gradient(circle at 85% 15%, rgba(5, 150, 105, 0.25), transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(37, 99, 235, 0.2), transparent 40%),
              linear-gradient(155deg, var(--navy), #172554);
  color: #fff;
  padding: 85px 0 125px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #a7f3d0;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: #fff;
}
.hero h1 span { color: #38bdf8; }
.hero p {
  color: #cbd5e1;
  font-size: 16.5px;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 580px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}
.glass-badge {
  display: inline-block;
  background: var(--emerald);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* Hero Event Dual Tabs (Simposium X UNESA & Konferensi X UNS) */
.hero-event-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 4px;
  gap: 6px;
  margin-bottom: 16px;
  position: relative;
  z-index: 5;
}
.hero-event-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.hero-event-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.hero-event-tab-btn.active {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}
.hero-event-tab-btn.tab-uns.active {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.hero-event-panel {
  display: none;
  animation: heroEventFade 0.35s ease forwards;
}
.hero-event-panel.active {
  display: block;
}
@keyframes heroEventFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.glass-card h3 {
  font-size: 20px;
  color: #fff;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}
.glass-card p {
  color: #cbd5e1;
  font-size: 13.5px;
  margin-bottom: 20px;
}
.countdown {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.countdown-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
}
.countdown-box b {
  font-size: 24px;
  color: #fff;
  display: block;
  font-weight: 800;
}
.countdown-box small {
  color: #a7f3d0;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 480px) {
  .countdown {
    gap: 6px;
  }
  .countdown-box {
    padding: 8px 4px;
    border-radius: 8px;
  }
  .countdown-box b {
    font-size: 19px;
  }
  .countdown-box small {
    font-size: 9.5px;
    letter-spacing: 0;
  }
}

/* Stats */
.stats-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  margin-bottom: 70px;
}
.stats-grid {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 20px;
}
.stat-item {
  text-align: center;
  padding: 10px 15px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-num span { color: var(--emerald); }
.stat-item p { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* Journals */
.journal-section { padding: 30px 0 70px; }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.journal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: all .35s ease;
}
.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(15, 23, 42, 0.12);
  border-color: var(--primary-light);
}
.journal-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
}
.icon-ijo {
  background: var(--primary-soft);
  color: var(--primary);
}
.icon-jppd {
  background: var(--emerald-soft);
  color: var(--emerald);
}
.journal-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.journal-badge {
  display: inline-block;
  background: #f1f5f9;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.journal-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.journal-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.journal-link:hover { gap: 10px; color: var(--primary-light); }

/* Services */
.services-section { padding: 60px 0 80px; background: #ffffff; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all .35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-7px);
  background: var(--primary);
  box-shadow: 0 20px 35px -12px rgba(30, 58, 138, 0.35);
  border-color: var(--primary);
}
.svc-card:hover * { color: #fff !important; }
.svc-card:hover .svc-num { color: #93c5fd !important; border-color: rgba(147, 197, 253, 0.4); }
.svc-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #cbd5e1;
}
.svc-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.svc-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.svc-card a {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Flowchart */
.flow-section { padding: 80px 0; background: linear-gradient(180deg, #f8fafc, #ffffff); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.flow-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform .3s ease;
  box-shadow: 0 8px 16px -8px rgba(15, 23, 42, 0.06);
}
.flow-step:hover { transform: translateY(-5px); border-color: var(--emerald); }
.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.4);
}
.flow-step h4 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* News */
.news-section { padding: 80px 0; background: var(--bg-light); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all .35s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 35px -15px rgba(15, 23, 42, 0.15); }
.post-thumb { height: 180px; padding: 20px; display: flex; align-items: flex-start; }
.th-1 { background: linear-gradient(135deg, #1e3a8a, #059669); }
.th-2 { background: linear-gradient(135deg, #0f172a, #2563eb); }
.th-3 { background: linear-gradient(135deg, #047857, #1e3a8a); }
.post-cat {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.post-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.post-date { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.post-body h3 { font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.post-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; flex-grow: 1; }
.post-link { font-size: 13px; font-weight: 700; color: var(--primary); }

/* Profile & Video */
.profile-section { padding: 80px 0; background: #fff; }
.profile-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 46px; align-items: center; }
.video-box {
  background: linear-gradient(145deg, var(--navy), #1e3a8a);
  border-radius: 20px;
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 30px;
  text-align: center;
}
.play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
  box-shadow: 0 10px 25px -4px rgba(5, 150, 105, 0.5);
  cursor: pointer;
  transition: transform .3s ease;
}
.play-btn:hover { transform: scale(1.1); }

/* CTA */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(145deg, var(--primary), #172554);
  color: #fff;
  text-align: center;
}
.cta-box h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; }
.cta-box p { font-size: 16px; max-width: 680px; margin: 0 auto 30px; color: #cbd5e1; }
.btn-white { background: #fff; color: var(--primary) !important; }
.btn-white:hover { background: #f8fafc; transform: translateY(-2px); }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--emerald);
  border-radius: 2px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; font-size: 13.5px; }
.footer-col ul a:hover { color: #34d399; padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13.5px;
}
.footer-contact-item i {
  color: #34d399;
  margin-top: 4px;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Mobile Menu Toggle Button (Sembunyi di Desktop) */
.mobile-menu-toggle {
  display: none !important;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.mobile-menu-toggle:hover {
  background: var(--bg-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* Laptop / Desktop medium viewport: pastikan menu navbar tetap 1 baris & tidak wrapping */
@media (min-width: 992px) and (max-width: 1240px) {
  .nav-menu {
    gap: 2px;
  }
  .nav-link,
  .nav-menu > li > a {
    padding: 8px 6px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .brand-logo-img {
    height: 44px;
  }
  .nav-actions .btn {
    padding: 8px 14px;
    font-size: 12.5px;
  }
}

/* ==========================================================================
   SISTEM RESPONSIVE MOBILE, CROSS-BROWSER & TOUCH NAVIGATION (iOS & ANDROID)
   ========================================================================== */

/* Backdrop Gelap Menu Mobile */
/* Backdrop Gelap Menu Mobile: Berada tepat di belakang menu drawer dan di bawah header */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999990 !important;
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
}
body.mobile-nav-open .mobile-nav-backdrop {
  display: block;
  opacity: 1;
}
body.mobile-nav-open {
  overflow: hidden !important;
}

/* Proteksi Overflow Layar Mobile Secara Global */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

@media (max-width: 991px) {
  /* Header Ramping & Presisi di Mobile */
  .navbar {
    height: 64px;
    position: relative;
    z-index: 1000000 !important;
  }
  .brand-logo-img {
    height: 42px;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    z-index: 1000002 !important;
    position: relative;
  }
  .mobile-menu-toggle:active {
    transform: scale(0.94);
    background: var(--bg-light);
  }

  /* Menu Drawer Mobile: Berada di atas backdrop dan tepat di bawah header */
  .nav-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: calc(100dvh - 64px);
    background: #ffffff;
    flex-direction: column;
    padding: 16px 18px 90px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    gap: 8px;
    z-index: 1000001 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain;
    touch-action: pan-y !important;
  }
  body.admin-bar .nav-menu {
    top: 110px;
    max-height: calc(100dvh - 110px);
  }
  .nav-menu.active {
    display: flex !important;
    animation: mobileNavFade 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes mobileNavFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-menu > li {
    width: 100%;
  }
  .nav-menu > li > a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px; /* Standar Apple HIG / WCAG tap target */
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-menu > li > a i.fa-chevron-down {
    transition: transform 0.25s ease;
    font-size: 12px;
    padding: 4px;
  }

  /* Sub-menu Accordion di Mobile */
  .nav-menu .sub-menu {
    position: static;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 0 0 0 14px;
    margin: 0 0 0 8px;
    background: #ffffff;
    transition: all 0.25s ease-in-out;
  }
  .nav-menu > li.sub-open > .sub-menu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 6px 0 8px 14px;
    margin: 6px 0 8px 8px;
  }
  .nav-menu > li.sub-open > a {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: #bfdbfe;
  }
  .nav-menu > li.sub-open > a i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary);
  }
  .nav-menu .sub-menu li a {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 13.5px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-actions {
    display: none;
  }
  .mobile-nav-cta-item {
    display: block !important;
  }
  .mobile-nav-cta-item a.btn-mobile-cta-kta,
  .btn-mobile-cta-kta,
  a.btn-mobile-cta-kta {
    width: 100% !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    border: none !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
  }
  .mobile-nav-cta-item a.btn-mobile-cta-kta:hover,
  .btn-mobile-cta-kta:hover {
    background: #047857 !important;
    color: #ffffff !important;
  }

  /* Profile Section & Video Box Responsif di Layar HP */
  .profile-section {
    padding: 50px 0;
    background: #ffffff;
    overflow: hidden;
  }
  .profile-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    width: 100% !important;
  }
  .video-box {
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* Hero & Dual Event Card di Layar Mobile/Tablet */
  .hero {
    padding: 38px 0 54px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero h1 {
    font-size: clamp(24px, 6.4vw, 34px);
    line-height: 1.22;
    margin-bottom: 14px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .hero p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14px;
  }

  /* Event Glass Card di Mobile */
  .glass-card {
    padding: 20px 15px;
    border-radius: 16px;
  }
  .hero-event-tabs {
    gap: 4px;
    padding: 3px;
  }
  .hero-event-tab-btn {
    font-size: 11px;
    padding: 7px 5px;
    gap: 4px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .countdown {
    gap: 6px;
    margin-bottom: 16px;
  }
  .countdown-box {
    padding: 8px 3px;
    border-radius: 8px;
  }
  .countdown-box b {
    font-size: 18px;
  }
  .countdown-box small {
    font-size: 9.5px;
  }

  /* Penyesuaian Grid Konten Utama */
  .stats-section {
    margin-top: -24px;
    margin-bottom: 40px;
  }
  .journal-grid, .profile-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stats-grid, .services-grid, .flow-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Penyesuaian Ekstra untuk Layar Smartphone (<= 640px) */
@media (max-width: 640px) {
  .stats-grid, .services-grid, .flow-grid, .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .journal-card {
    padding: 20px 16px;
    gap: 14px;
  }
  .journal-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
  .journal-body h3 {
    font-size: 17px;
  }
  .verified-stats-banner,
  .bank-account-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }
  .cta-section {
    padding: 48px 0;
  }
  .cta-box {
    padding: 26px 16px !important;
    border-radius: 16px !important;
  }
  .cta-box h2 {
    font-size: 22px !important;
    line-height: 1.28 !important;
  }
  .cta-box p {
    font-size: 13.5px !important;
    margin-bottom: 22px !important;
  }
  .cta-box .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  footer.site-footer {
    padding: 44px 0 24px;
  }

  /* Cegah Auto-Zoom di iOS Safari pada Formulir & Search Input */
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ==========================================================================
   FULLSCREEN CODE-BASED SPLASH INTRO (OPENING 2-4 DETIK)
   ========================================================================== */
.apoi-splash-intro {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999999;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.apoi-splash-intro.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  pointer-events: none;
}
.splash-ambient-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.05) 0%, rgba(5, 150, 105, 0.03) 45%, #ffffff 80%);
  pointer-events: none;
}
.splash-skip-top {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 20;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #334155;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s ease;
  font-family: inherit;
  backdrop-filter: blur(8px);
}
.splash-skip-top:hover {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
}
.splash-center-stage {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  max-width: 900px;
}
.splash-brand-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.splash-emblem-box {
  animation: splashEmblemPop 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.09));
  flex-shrink: 0;
}
.splash-emblem-box img {
  height: clamp(80px, 14vw, 135px);
  width: auto;
  display: block;
}
.splash-words-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.08;
}
.splash-word-row {
  overflow: hidden;
  padding: 1px 0;
}
.splash-word {
  display: block;
  font-size: clamp(24px, 4.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  opacity: 0;
  transform: translateX(40px);
  animation-duration: 0.55s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: forwards;
}
.splash-word.word-red {
  color: #dc2626;
  animation-name: splashSlide;
  animation-delay: 0.25s;
}
.splash-word.word-yellow {
  color: #eab308;
  animation-name: splashSlide;
  animation-delay: 0.45s;
}
.splash-word.word-blue {
  color: #1e3a8a;
  animation-name: splashSlide;
  animation-delay: 0.65s;
}
.splash-word.word-green {
  color: #059669;
  animation-name: splashSlide;
  animation-delay: 0.85s;
}
@keyframes splashEmblemPop {
  0% { opacity: 0; transform: scale(0.65) rotate(-3deg); }
  75% { opacity: 1; transform: scale(1.06) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes splashSlide {
  0% { opacity: 0; transform: translateX(35px); filter: blur(4px); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}
.splash-sub-caption {
  margin-top: 26px;
  font-size: clamp(11px, 1.8vw, 13.5px);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #64748b;
  opacity: 0;
  animation: splashFadeIn 0.6s ease forwards;
  animation-delay: 1.1s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.splash-sub-caption::before,
.splash-sub-caption::after {
  content: '';
  display: inline-block;
  width: clamp(20px, 4vw, 40px);
  height: 2px;
  background: linear-gradient(90deg, #cbd5e1, #94a3b8);
  border-radius: 999px;
}
@keyframes splashFadeIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.splash-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}
.splash-progress-track {
  width: 100%;
  height: 4px;
  background: #f1f5f9;
  overflow: hidden;
}
.splash-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #dc2626 0%, #eab308 28%, #1e3a8a 62%, #059669 100%);
  animation: splashFill 2.8s cubic-bezier(0.2, 0, 0.4, 1) forwards;
}
@keyframes splashFill {
  0% { width: 0%; }
  100% { width: 100%; }
}
.splash-bottom-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}
.btn-replay-intro {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s ease;
  margin-left: 8px;
}
.btn-replay-intro:hover {
  background: var(--emerald);
  border-color: var(--emerald);
}
@media (max-width: 640px) {
  .splash-brand-grid {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .splash-words-stack {
    align-items: center;
  }
  .splash-sub-caption {
    text-align: center;
    letter-spacing: 1px;
    flex-direction: column;
    gap: 6px;
  }
  .splash-sub-caption::before,
  .splash-sub-caption::after {
    display: none;
  }
  .splash-bottom-labels {
    padding: 10px 18px;
  }
}

/* ==========================================================================
   SUB-PAGE & WORDPRESS CONTENT STYLING (PAGE.PHP & TYPOGRAPHY)
   ========================================================================== */
.page-hero-banner {
  background: #0f172a !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  padding: 46px 0 42px !important;
  position: relative !important;
  overflow: hidden !important;
  border-bottom: 3px solid #1e3a8a !important;
}
.page-hero-banner h1 {
  color: #ffffff !important;
  font-size: clamp(26px, 3.8vw, 36px) !important;
  font-weight: 800 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}
.page-hero-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(5,150,105,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.page-breadcrumb {
  font-size: 13px !important;
  color: #94a3b8 !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.page-breadcrumb a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
}
.page-breadcrumb a:hover {
  color: #38bdf8 !important;
}
.page-breadcrumb span {
  color: #60a5fa !important;
}

.page-main-wrapper {
  padding: 50px 0 90px;
  background: var(--bg-light);
}
.page-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}
.page-article-box {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px -5px rgba(15,23,42,0.06);
  padding: 40px;
}

/* Rich Academic Content Typography (WordPress Pages & Posts) */
.typography-academic {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}
.typography-academic h1,
.typography-academic h2,
.typography-academic h3,
.typography-academic h4 {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 32px 0 16px;
  line-height: 1.35;
}
.typography-academic h2 {
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.typography-academic h3 {
  font-size: 20px;
}
.typography-academic p {
  margin-bottom: 20px;
}
.typography-academic a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.typography-academic a:hover {
  color: var(--emerald);
}
.typography-academic ul,
.typography-academic ol {
  margin: 16px 0 24px 24px;
  display: grid;
  gap: 10px;
}
.typography-academic li {
  line-height: 1.65;
}
.typography-academic blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--navy);
  font-size: 17px;
}
.typography-academic table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14.5px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15,23,42,0.04);
  border: 1px solid var(--border);
}
.typography-academic th {
  background: var(--navy);
  color: #ffffff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 13.5px;
}
.typography-academic td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: #334155;
}
.typography-academic tr:nth-child(even) td {
  background: #f8fafc;
}
.typography-academic img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  border: 1px solid var(--border);
}

/* Sub-page Grid Layout System */
.page-grid-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 991px) {
  .page-grid-layout,
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns:2fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .page-article-box,
  main.page-article-box {
    padding: 22px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-sidebar-box,
  aside.page-sidebar-box {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   MODERN SUB-PAGE & PROFILE DESIGN SYSTEM (CLEAN & AESTHETIC)
   ========================================================================== */

/* 1. Hero Section */
.page-hero-banner {
  background: linear-gradient(135deg, #0b1528 0%, #111e38 50%, #0d1b2a 100%) !important;
  padding: 56px 0 48px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative;
  overflow: hidden;
}
.page-hero-ambient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(5, 150, 105, 0.18) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.hero-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.hero-meta-pill i {
  color: #60a5fa;
  font-size: 11px;
}
.hero-meta-pill.pill-emerald i {
  color: #34d399;
}

/* Breadcrumb Modern */
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.page-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}
.page-breadcrumb a:hover {
  color: #ffffff;
}
.page-breadcrumb .sep {
  opacity: 0.4;
  font-size: 11px;
}
.page-breadcrumb .current {
  color: #93c5fd;
  font-weight: 700;
}

/* 2. Main Wrapper & Cards */
.page-main-wrapper {
  padding: 50px 0 80px;
  background: #f8fafc;
}
.page-article-box {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 40px;
  box-shadow: 0 4px 25px -5px rgba(15, 23, 42, 0.04);
}

/* Lead Section & Badges */
.badge-clean-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  margin-bottom: 14px;
}
.page-article-lead {
  font-size: 16.5px;
  line-height: 1.8;
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Quick Stats Bar */
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 36px;
}
.profile-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.03);
}
.profile-stat-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}
.profile-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.profile-stat-icon.blue {
  background: #eff6ff;
  color: #2563eb;
}
.profile-stat-icon.emerald {
  background: #ecfdf5;
  color: #059669;
}
.profile-stat-icon.amber {
  background: #fffbeb;
  color: #d97706;
}
.profile-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.profile-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
}

/* Modern Pillar Cards */
.pillar-cards-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}
.pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px -3px rgba(15, 23, 42, 0.04);
}
.pillar-card,
.pillar-card:hover,
.pillar-card:focus,
.pillar-card * {
  text-decoration: none !important;
}
.pillar-card:hover .pillar-title {
  color: #1e3a8a;
}
.pillar-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 28px -6px rgba(30, 58, 138, 0.09);
  transform: translateY(-3px);
}
.pillar-action-btn i {
  transition: transform 0.2s ease;
}
.pillar-card:hover .pillar-action-btn i {
  transform: translateX(4px);
}
.pillar-card-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.pillar-card:hover .pillar-icon-box {
  transform: scale(1.08);
}
.pillar-icon-box.icon-blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.pillar-icon-box.icon-emerald {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.pillar-icon-box.icon-amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.pillar-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.pillar-pill-tag.tag-blue { background: #eff6ff; color: #1e3a8a; }
.pillar-pill-tag.tag-emerald { background: #ecfdf5; color: #047857; }
.pillar-pill-tag.tag-amber { background: #fffbeb; color: #b45309; }

.pillar-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}
.pillar-desc {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}
.pillar-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.pillar-action-btn.btn-outline-blue {
  background: #f8fafc;
  color: #1e3a8a;
  border: 1px solid #cbd5e1;
}
.pillar-card:hover .pillar-action-btn.btn-outline-blue {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}
.pillar-action-btn.btn-outline-emerald {
  background: #f8fafc;
  color: #047857;
  border: 1px solid #cbd5e1;
}
.pillar-card:hover .pillar-action-btn.btn-outline-emerald {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}
.pillar-action-btn.btn-outline-amber {
  background: #f8fafc;
  color: #b45309;
  border: 1px solid #cbd5e1;
}
.pillar-card:hover .pillar-action-btn.btn-outline-amber {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

/* 3. Modern Sidebar Components */
.page-sidebar-box {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sidebar-modern-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.04);
}
.sidebar-modern-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.sidebar-modern-title i {
  color: #2563eb;
}
.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}
.sidebar-nav-link:hover {
  background: #eff6ff;
  color: #1e3a8a;
  border-color: #bfdbfe;
  padding-left: 17px;
}
.sidebar-nav-link.active {
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 700;
  border-color: #93c5fd;
}
.sidebar-nav-link i.chevron {
  font-size: 11px;
  opacity: 0.5;
  transition: transform 0.2s;
}
.sidebar-nav-link:hover i.chevron {
  opacity: 1;
  transform: translateX(3px);
}

/* Sidebar Legalitas Banner (Glass Academic Dark) */
.sidebar-legal-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}
.sidebar-legal-card::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.sidebar-legal-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #34d399;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.sidebar-legal-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.35;
  color: #ffffff;
}
.sidebar-legal-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Sidebar CTA Card */
.sidebar-cta-card {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
}
.sidebar-cta-title {
  font-size: 15px;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0 0 8px;
}
.sidebar-cta-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 16px;
}

@media (max-width: 768px) {
  .profile-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pillar-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .pillar-action-btn {
    width: 100%;
    justify-content: center;
  }
}




