/**
 * CU Stella Maris – Custom Design System
 * File: custom.css (Divi Child Theme)
 * Mencakup: CSS Variables, Tipografi, Header, Navigasi,
 *            Hero Slider, Sections, Footer, dan Mobile Responsive
 */

/* ============================================================
   1. DESIGN TOKENS / CSS VARIABLES
   ============================================================ */
:root {
  /* Warna Brand */
  --color-primary:       #2b7cb5;   /* Biru utama CU */
  --color-primary-dark:  #1e6096;   /* Biru tua (hover/header) */
  --color-primary-light: #edf2f7;   /* Background body */
  --color-hero:          #4a9ed6;   /* Biru hero/nav */
  --color-section-bg:    #d8e4ef;   /* Background section konten */
  --color-top-bar:       #c4d9eb;   /* Background top bar header */
  --color-accent:        #dc2626;   /* Merah aksen */
  --color-dark:          #1e3a5f;   /* Navy (footer) */
  --color-dark-2:        #0e2244;   /* Navy lebih gelap */
  --color-text:          #1a2744;   /* Teks utama */
  --color-text-light:    #5a6a80;   /* Teks sekunder */
  --color-white:         #FFFFFF;
  --color-gray-bg:       #edf2f7;   /* Background netral */
  --color-border:        #c0cfdf;   /* Border card */
  --color-muted:         #dde6ef;   /* Background muted */

  /* Tipografi */
  --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.7;

  /* Spacing */
  --section-padding: 60px 0;
  --card-radius: 10px;
  --btn-radius: 6px;

  /* Shadow */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 32px rgba(30, 155, 220, 0.18);

  /* Transition */
  --transition: all 0.3s ease;
}

/* ============================================================
   2. TIPOGRAFI GLOBAL
   ============================================================ */
body, #page-container {
  background-color: var(--color-primary-light) !important;
}

body, .et_pb_text, input, textarea, select {
  font-family: var(--font-main) !important;
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-base);
}

h1, h2, h3, h4, h5, h6,
.et_pb_slide_title,
.entry-title {
  font-family: var(--font-main) !important;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

a { color: var(--color-primary); transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }

/* ============================================================
   3. HEADER (Divi Theme Builder)
   ============================================================ */

/* STICKY – seluruh #main-header nempel saat scroll (DESKTOP saja) */
@media (min-width: 768px) {
  #main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
  }
}

/* Mobile: header dalam normal flow, push konten ke bawah */
@media (max-width: 767px) {
  html #main-header,
  html .et-l--header,
  body #main-header,
  body .et-l--header,
  body #main-header.et-fixed-header,
  body #main-header[style] {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
    transform: none !important;
    height: auto !important;
    min-height: 0 !important;
  }

  /* Push konten utama agar tidak tertutup header floating
     Header sekarang 2-kolom horizontal compact (~60px) */
  body,
  #page-container,
  #et-main-area {
    margin-top: 60px !important;
  }
}

/* Hapus padding 30px default Divi pada .et_pb_row di tablet/mobile */
@media (max-width: 980px) {
  .et_pb_column .et_pb_row_inner,
  .et_pb_row {
    padding: 0 !important;
  }
}

/* Mobile: row full-width dengan padding kiri-kanan symmetric
   CATATAN: aturan ini HANYA berlaku untuk section di main area, BUKAN header/footer */
@media (max-width: 767px) {
  /* Section di main content area saja (bukan header/footer) */
  #et-main-area .et_pb_section,
  #main-content .et_pb_section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Row di main content area */
  #et-main-area .et_pb_section .et_pb_row,
  #main-content .et_pb_section .et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  /* Kolom di main content area */
  #et-main-area .et_pb_section .et_pb_row > .et_pb_column,
  #main-content .et_pb_section .et_pb_row > .et_pb_column {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  #et-main-area .et_pb_row > .et_pb_column:last-child,
  #main-content .et_pb_row > .et_pb_column:last-child {
    margin-bottom: 0 !important;
  }

  /* Modules di dalam kolom — hanya di main area */
  #et-main-area .et_pb_column .et_pb_module,
  #et-main-area .et_pb_column .et_pb_text,
  #et-main-area .et_pb_column .et_pb_text_inner,
  #et-main-area .et_pb_column .et_pb_code,
  #et-main-area .et_pb_column .et_pb_code_inner,
  #main-content .et_pb_column .et_pb_module,
  #main-content .et_pb_column .et_pb_text,
  #main-content .et_pb_column .et_pb_text_inner,
  #main-content .et_pb_column .et_pb_code,
  #main-content .et_pb_column .et_pb_code_inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  /* Override Divi core 480px: .et_pb_text_inner { padding-left: 20% } */
  #et-main-area .et_pb_text_inner,
  #main-content .et_pb_text_inner {
    padding-left: 0 !important;
    margin-top: 0 !important;
  }

  /* Body & main: pastikan tidak ada padding kiri-kanan */
  body, #page-container, #et-main-area, #main-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Mobile kecil (≤360px) — header sangat ringkas */
@media (max-width: 360px) {
  body,
  #page-container,
  #et-main-area {
    margin-top: 55px !important;
  }
}

/* Override Divi 480px rule — hanya di main content, tidak di header/footer */
@media (max-width: 480px) {
  #et-main-area .et_pb_text_inner,
  #main-content .et_pb_text_inner {
    padding-left: 0 !important;
    margin-top: 0 !important;
  }
}

/* Tablet kecil (481–767px) — header sedikit lebih tinggi */
@media (min-width: 481px) and (max-width: 767px) {
  body,
  #page-container,
  #et-main-area {
    margin-top: 70px !important;
  }
}

/* iPad / Tablet besar (768–1100px) — desktop layout dengan FIXED header
   Target SEMUA layer header agar tidak ada bagian yang scroll dengan content */
@media (min-width: 768px) and (max-width: 1100px) {
  #main-header,
  .et-l--header,
  .et-l.et-l--header,
  .et-l--header > .et_builder_inner_content,
  body .et-l--header,
  body #main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    transform: none !important;
    background-color: #c4d9eb !important;
  }
  /* Section header juga dikunci ke fixed-nya parent */
  .et-l--header .et_pb_section_0_tb_header {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
  }
  /* Brand row — background putih agar terlihat jelas */
  .et_pb_row_1_tb_header,
  body #page-container .et-db #et-boc .et-l .et_pb_row_1_tb_header.et_pb_row,
  body.et_pb_pagebuilder_layout.single #page-container #et-boc .et-l .et_pb_row_1_tb_header.et_pb_row,
  body.et_pb_pagebuilder_layout.single.et_full_width_page #page-container #et-boc .et-l .et_pb_row_1_tb_header.et_pb_row {
    width: 100% !important;
    max-width: 1280px !important;
    background: #ffffff !important;
  }

  /* Brand block — terpusat horizontal & vertikal di iPad */
  .et-l--header .cu-header-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    text-align: center !important;
  }
  .et-l--header .cu-header-brand-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .et-l--header .cu-header-name {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .et-l--header .cu-brand-tagline {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
  }

  /* Hapus padding-bottom row pertama header di iPad */
  .et-l--header .et_pb_row:first-child {
    padding-bottom: 0 !important;
  }

  /* Kolom 3 (right) module wrappers — center semua */
  .et-l--header .et_pb_column_3_tb_header,
  .et-l--header .et_pb_column_3_tb_header .et_pb_module,
  .et-l--header .et_pb_column_3_tb_header .et_pb_code,
  .et-l--header .et_pb_code_2_tb_header,
  .et-l--header .et_pb_code_2_tb_header .et_pb_code_inner {
    text-align: center !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Right column (social icons + jam + date) — terpusat juga di iPad */
  .et-l--header .cu-header-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: 100% !important;
    text-align: center !important;
    flex-wrap: wrap !important;
  }
  .et-l--header .cu-social-icons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
  }
  .et-l--header .cu-jam-pelayanan {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
  }
  .et-l--header .cu-jam-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .et-l--header .cu-date-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  /* Reset margin-top, pakai padding-top supaya konten tidak nempel di header */
  body,
  #page-container,
  #et-main-area {
    margin-top: 0 !important;
    padding-top: 100px !important;
  }

  /* FOOTER iPad — 4 kolom jadi 2x2 grid */
  .et-l--footer .et_pb_row_0_tb_footer {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px 16px !important;
    width: 92% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
  }
  .et-l--footer .et_pb_row_0_tb_footer > .et_pb_column {
    width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    flex: 0 0 calc(50% - 8px) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  .et-l--footer .et_pb_row_0_tb_footer > .et_pb_column .et_pb_module {
    margin-bottom: 0 !important;
  }
}

/* ============================================================
   TICKER / RUNNING TEXT PENGUMUMAN
   ============================================================ */
.cu-ticker-label {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #ff0909 !important;
  font-weight: 700;
  font-size: 11px;
  padding: 6px 10px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  gap: 6px;
  height: 100%;
  font-family: 'Inter', sans-serif;
}
.cu-ticker-wrap {
  flex: 1;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.cu-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  flex-shrink: 0;
  padding: 6px 0;
}
.cu-ticker-track:hover {
  animation-play-state: paused;
}
.cu-ticker-track span {
  display: inline-block;
  padding: 0 4px;
}
.cu-ticker-track a {
  color: #cf2727 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 500;
}
.cu-ticker-track a:hover {
  text-decoration: underline !important;
}
.cu-ticker-sep {
  color: #aaa;
  padding: 0 12px !important;
  font-size: 11px;
}
@keyframes cu-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HEADER BACKGROUND – full width tanpa sisa putih ===== */

/* Layer terluar */
#main-header,
#main-header > div,
.et-l--header {
  background-color: #c4d9eb !important;
}

/* Section & semua kontennya di row pertama */
.et-l--header .et_pb_section,
.et_pb_section_0_tb_header,
.et_pb_section_0_tb_header.et_pb_with_background,
.et_pb_section--with-menu {
  background-color: #c4d9eb !important;
}
.et-l--header .et_pb_section > .et_pb_row:first-child,
.et-l--header .et_pb_section > .et_pb_row:first-child .et_pb_column,
.et-l--header .et_pb_section > .et_pb_row:first-child .et_pb_code,
.et-l--header .et_pb_section > .et_pb_row:first-child .et_pb_code_inner {
  background-color: transparent !important;
  background: transparent !important;
}

/* Wrapper builder */
.et-l--header .et_builder_inner_content,
.et-l--header .et_pb_gutters3,
.et-l--header .et_builder_inner_content.et_pb_gutters3,
.et_builder_inner_content.et_pb_gutters3,
#main-header .et_builder_inner_content,
#main-header .et_pb_gutters3,
#main-header .et_builder_inner_content.et_pb_gutters3 {
  background-color: #c4d9eb !important;
}

/* Nav row warna diatur langsung via shortcode background_color */

#main-header {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

/* Hilangkan box-shadow/border bawaan Divi pada section header */
.et-l--header .et_pb_section {
  box-shadow: none !important;
  padding-bottom: 0 !important;
}

/* Row atas (logo + nama + info): tinggi terkontrol */
.et-l--header .et_pb_row:first-child {
  align-items: center !important;
  min-height: unset !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Brand kolom kiri – biarkan flex default, jangan batasi lebar */
.et-l--header .et_pb_row:first-child > .et_pb_column:first-child {
  padding-right: 8px !important;
}
.et-l--header .et_pb_row:first-child > .et_pb_column:nth-child(2) {
  flex: 0 0 auto !important;
  width: auto !important;
  padding-left: 10px !important;
  padding-right: 16px !important;
}
.et-l--header .et_pb_row:first-child > .et_pb_column:last-child {
  margin-left: auto !important;
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 4px !important;
}

/* Teks jam dan sosmed rata kanan */
.et-l--header .et_pb_row:first-child > .et_pb_column:last-child .et_pb_text_inner {
  text-align: right !important;
}
.et-l--header .et_pb_row:first-child > .et_pb_column:last-child .et_pb_social_media_follow {
  justify-content: flex-end !important;
}

/* Logo image tidak melebihi batas kolom */
.et-l--header .et_pb_image_wrap img {
  max-width: 80px !important;
  max-height: 80px !important;
  object-fit: contain;
}

/* Kolom kanan header: susun vertikal dan rata kanan */
.et-l--header .et_pb_column:last-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 6px !important;
}

/* Social media follow di header: horizontal, ikon kecil */
.et-l--header .et_pb_social_media_follow {
  justify-content: flex-end !important;
  margin: 0 !important;
  padding: 0 !important;
}
.et-l--header .et_pb_social_media_follow li {
  margin: 0 3px !important;
}
.et-l--header .et_pb_social_media_follow li a {
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  font-size: 13px !important;
}

/* Info jam pelayanan */
.header-info-jam {
  font-size: 12px;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* ── Brand kiri ── */
.cu-header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.cu-header-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cu-header-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.cu-header-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.cu-header-name {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  display: block;
}
.cu-brand-ksp {
  color: #dc2626;
  letter-spacing: 0.02em;
}
.cu-brand-stella {
  color: #1e3a5f;
  letter-spacing: 0.01em;
}
.cu-brand-tagline {
  display: block;
  font-family: var(--font-main);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #5a6a80;
  text-transform: uppercase;
  margin-top: 2px;
  line-height: 1;
}

/* ── Info kanan (sosmed + jam) ── */
.cu-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
}
/* Sosmed: ikon FA dalam lingkaran biru */
.cu-social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cu-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff !important;
  font-size: 13px;
  transition: opacity 0.2s ease;
  text-decoration: none !important;
  flex-shrink: 0;
}
.cu-social-icons a:hover {
  opacity: 0.8;
}
/* Jam pelayanan: teks 2 baris dengan border-left */
.cu-jam-pelayanan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid var(--color-border);
  padding-left: 20px;
  color: var(--color-text);
}
.cu-jam-pelayanan > i {
  font-size: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.cu-jam-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cu-jam-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  line-height: 1;
}
.cu-jam-value {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  line-height: 1;
}

/* Nama koperasi */
.et-l--header h1 {
  color: var(--color-primary) !important;
  font-size: clamp(16px, 1.6vw, 22px) !important;
  font-weight: 800 !important;
  letter-spacing: 1px;
  margin: 0 !important;
}
.et-l--header h2 {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #888 !important;
  letter-spacing: 1.5px;
  margin: 0 !important;
  text-transform: uppercase;
}

/* ============================================================
   4. NAVIGASI UTAMA
   ============================================================ */

/* Hilangkan garis/strip di bawah navbar:
   Penyebab = box-shadow header section + padding hero section */
.et-l--header .et_pb_section {
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* Hilangkan padding atas hero slider agar tidak ada celah terang */
.hero-slider-wrap,
.et_pb_section.hero-slider-wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Menu item text */
#main-header .nav li a,
.et_pb_menu .et_pb_menu__menu > nav > ul > li > a {
  font-family: var(--font-main) !important;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-white) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 18px !important;
  transition: var(--transition);
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* Dropdown arrow – ganti dari ETmodules ke Font Awesome chevron
   (mencegah karakter "3" muncul saat ETmodules gagal load) */
.et_pb_menu .et_pb_menu__menu nav ul li.menu-item-has-children > a::after {
  content: '\f078' !important;  /* fa-chevron-down */
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  font-size: 10px !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  position: relative !important;
  top: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 6px !important;
}
/* Hide arrow icon Divi yang lain juga */
.et_pb_menu nav ul li.menu-item-has-children > a > .et_pb_menu__icon,
.et_pb_menu nav ul li.menu-item-has-children > a > .et_pb_menu__dropdown-icon {
  display: none !important;
}
/* Divi 4.x pakai tombol toggle dropdown terpisah */
.et_pb_menu .et_pb_menu__menu nav ul li.menu-item-has-children > a .et_pb_menu__icon,
.et_pb_menu .et_pb_menu__menu nav ul li > a .et_pb_menu__dropdown-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  margin-left: 2px !important;
  line-height: 1 !important;
}

/* Background navigasi biru – #2e85bf sesuai referensi */
#main-header .et_pb_menu_0,
.et_pb_menu.et_pb_menu--style-centered {
  background-color: #2e85bf !important;
}

/* Hover navigasi */
#main-header .nav li a:hover,
#main-header .nav li.current_page_item > a {
  color: var(--color-white) !important;
  background: var(--color-primary-dark) !important;
}

/* Item aktif & hover nav – merah highlight */
#main-header .nav li.current_page_item > a,
#main-header .nav li.current-menu-item > a,
.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a,
.et_pb_menu_1_tb_header.et_pb_menu ul li.current-menu-item a,
.et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu li.current-menu-item a {
  color: #FF2045 !important;
  border-bottom: 3px solid #FF2045 !important;
  background-color: transparent !important;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li:hover > a,
.et_pb_menu_1_tb_header.et_pb_menu ul li:hover > a {
  color: #FF2045 !important;
}

/* Dropdown sub-menu */
#main-header .nav .sub-menu {
  background: var(--color-primary-dark) !important;
  border-top: 3px solid var(--color-accent);
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  box-shadow: var(--shadow-card);
}
#main-header .nav .sub-menu li a {
  font-size: 13px !important;
  color: var(--color-white) !important;
  padding: 10px 18px !important;
}
#main-header .nav .sub-menu li a:hover {
  background: var(--color-primary) !important;
}

/* ============================================================
   5. HERO SLIDER BERITA [cu_hero_slider] – Peek Carousel Style
   ============================================================ */

/* Hapus padding Divi dari section & row wrapper */
.et_pb_section.hero-slider-wrap,
.hero-slider-wrap .et_pb_row,
.hero-slider-wrap .et_pb_column,
.hero-slider-wrap .et_pb_text_inner {
  padding: 0 !important;
  margin: 0 !important;
}

/* Container utama */
.cu-hslider {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  background: #0a1428;
  font-family: var(--font-main);
  user-select: none;
}

/* Track – flex, digeser via translateX oleh JS */
.cu-hslider__track {
  display: flex;
  height: 100%;
  gap: 16px;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Tiap slide – lebar 65%, sisanya mengintip di kiri/kanan */
.cu-hslide {
  flex: 0 0 65%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  opacity: 0.55;
  transition: opacity 0.55s ease;
  cursor: pointer;
}
.cu-hslide--active {
  opacity: 1;
  cursor: default;
}

/* Background image */
.cu-hslide__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transition: transform 8s ease;
}
.cu-hslide--active .cu-hslide__img {
  transform: scale(1.05);
}

/* Caption panel – solid gelap di bagian bawah */
.cu-hslide__cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 40px 28px;
  background: linear-gradient(
    to top,
    rgba(8,16,40,0.96) 0%,
    rgba(8,16,40,0.88) 55%,
    transparent 100%
  );
  pointer-events: none;
}
.cu-hslide--active .cu-hslide__cap {
  pointer-events: auto;
}

/* Badge kategori */
.cu-hslide__cat {
  display: inline-block;
  background: #2b7cb5;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

/* Judul artikel */
.cu-hslide__title {
  font-size: clamp(18px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff !important;
  margin: 0 0 10px;
}
.cu-hslide__title a {
  color: #fff !important;
  text-decoration: none !important;
}
.cu-hslide__title a:hover {
  text-decoration: underline !important;
}

/* Author · Date */
.cu-hslide__meta {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  font-weight: 500;
}

/* Tombol prev / next */
.cu-hslider__prev,
.cu-hslider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  border: none;
  cursor: pointer;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background 0.2s;
}
.cu-hslider__prev { left: 20px; }
.cu-hslider__next { right: 20px; }
.cu-hslider__prev:hover,
.cu-hslider__next:hover {
  background: rgba(43,124,181,0.75);
}

/* Responsive */
@media (max-width: 980px) {
  .cu-hslider { height: 420px; }
  .cu-hslide { flex: 0 0 78%; }
  .cu-hslide__cap { padding: 24px 28px 20px; }
}
@media (max-width: 600px) {
  .cu-hslider { height: 320px; }
  .cu-hslide { flex: 0 0 88%; }
  .cu-hslide__cap { padding: 18px 18px 16px; }
  .cu-hslide__title { font-size: clamp(15px, 5vw, 22px); }
  .cu-hslide__meta { font-size: 11px; }
  .cu-hslider__prev,
  .cu-hslider__next { width: 36px; height: 36px; font-size: 14px; }
}

/* Arrow slider – tanpa circle (duplikat dihapus) */

/* ============================================================
   6. SECTION – BACKGROUND BIRU MUDA
   ============================================================ */
.section-bg-light {
  background-color: var(--color-primary-light) !important;
}

/* Section heading – uppercase, border bawah abu-abu */
.section-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  color: #374151 !important;
  letter-spacing: 0.06em;
  margin-bottom: 16px !important;
  padding-bottom: 8px;
  border-bottom: 2px solid #c0cfdf;
  display: block;
  width: 100%;
}

/* ============================================================
   7. CARD – PRODUK UNGGULAN (FA icons, 2x2 grid)
   ============================================================ */

/* Grid 2x2 */
.cu-produk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.cu-produk-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  cursor: pointer;
  text-decoration: none !important;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #eff6ff;
}
.cu-produk-card:hover {
  box-shadow: 0 4px 16px rgba(43,124,181,0.15);
  transform: translateY(-3px);
  border-color: #2b7cb5;
}
.cu-produk-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cu-produk-card:hover .cu-produk-icon {
  background: #bfdbfe;
}
.cu-produk-icon i {
  font-size: 22px;
  color: #2b7cb5;
}
.cu-produk-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a2744;
  text-align: center;
  line-height: 1.3;
}

/* Tombol outline biru */
.cu-btn-outline {
  display: inline-block;
  padding: 7px 18px;
  border: 2px solid #2b7cb5;
  border-radius: 6px;
  color: #2b7cb5 !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
  margin-top: 8px;
}
.cu-btn-outline:hover {
  background: #2b7cb5;
  color: #ffffff !important;
}

/* Blog home: white card per item */
.cu-blog-home .et_pb_post {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background 0.2s;
}
.cu-blog-home .et_pb_post:hover {
  background: #eff6ff;
}

/* Hero section: tidak ada padding atas yang bikin gap */
.hero-slider-wrap,
.et_pb_section.hero-slider-wrap {
  padding: 0 !important;
  margin-top: 0 !important;
}

/* ============================================================
   7b. CARD lama (tetap untuk backward compat)
   ============================================================ */
.produk-card {
  background: var(--color-white);
  border: 1px solid #eff6ff;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.produk-card:hover {
  box-shadow: 0 6px 20px rgba(0,168,204,0.15);
  border-color: var(--color-primary);
  transform: translateY(-4px);
}
.produk-card .produk-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.produk-card:hover .produk-icon {
  background: #dbeafe;
}
.produk-card .produk-icon svg,
.produk-card .produk-icon img {
  width: 28px;
  height: 28px;
  color: #2563eb;
}
.produk-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  margin: 0;
}

/* ============================================================
   8. LOOP ARTIKEL – INFORMASI TERBARU
   ============================================================ */
.artikel-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background 0.2s;
  cursor: pointer;
}
.artikel-item:hover { background: #eff6ff; }

.artikel-item .artikel-thumb {
  flex-shrink: 0;
  width: 90px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
}
.artikel-item .artikel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.artikel-item:hover .artikel-thumb img {
  transform: scale(1.08);
}
.artikel-item .artikel-meta h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 4px;
  line-height: 1.4;
}
.artikel-item .artikel-meta .artikel-date {
  font-size: 12px;
  color: var(--color-primary);
}

/* ============================================================
   9. GALERI KEGIATAN
   ============================================================ */
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.galeri-thumb {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.galeri-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.galeri-thumb:hover img {
  transform: scale(1.06);
}

/* ============================================================
   10. FOOTER
   ============================================================ */
#main-footer,
.et-l--footer,
.et-l--footer .et_pb_section {
  background-color: #0e2a47 !important;
}

/* Footer kolom */
.cu-footer-col {
  color: rgba(255,255,255,0.75);
}
.cu-footer-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #3b82f6;
  display: inline-block;
}
/* Kontak list */
.cu-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cu-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.cu-footer-contact li i {
  flex-shrink: 0;
  margin-top: 3px;
  color: #60a5fa;
  font-size: 14px;
  width: 16px;
  text-align: center;
}
.cu-footer-contact a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.cu-footer-contact a:hover {
  color: #ffffff !important;
}
/* Sosmed footer – FA icons dalam lingkaran */
.cu-footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cu-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-hero);
  color: #ffffff !important;
  font-size: 16px;
  transition: background 0.2s ease;
  text-decoration: none !important;
}
.cu-footer-social a:hover {
  background: var(--color-primary) !important;
}
/* Logo footer */
.cu-footer-logo-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cu-footer-logo-col img {
  max-width: 100px;
  opacity: 0.95;
  filter: drop-shadow(0 2px 12px rgba(255,255,255,0.15));
}

/* Link Mitra */
.cu-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cu-footer-links li {
  margin-bottom: 10px;
  font-size: 13px;
}
.cu-footer-links li a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, transform 0.2s;
}
.cu-footer-links li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #60a5fa;
  font-size: 12px;
}
.cu-footer-links li a:hover {
  color: #ffffff !important;
  transform: translateX(3px);
}

/* Statistik – cu_visitor_counter */
.cu-stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cu-stats-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
}
.cu-stats-list li i {
  color: #60a5fa;
  margin-right: 6px;
  width: 14px;
  text-align: center;
}
.cu-stats-list li strong {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  margin-left: auto;
}

/* === WPS Visitor Counter — restyle agar match footer navy === */
.cu-footer-stats-wrap #mvcwid {
  color: #ffffff !important;
  text-align: left !important;
}
.cu-footer-stats-wrap #wpsvccount {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.cu-footer-stats-wrap #wpsvccount img {
  width: 22px;
  height: auto;
  filter: brightness(1.6) contrast(1.1);
  display: inline-block;
  margin: 0;
}
.cu-footer-stats-wrap #wpsvctable {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cu-footer-stats-wrap #wpsvcviews,
.cu-footer-stats-wrap #wpsvcyesterday {
  color: rgba(255,255,255,0.78) !important;
  font-size: 12.5px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  text-align: left !important;
}
.cu-footer-stats-wrap #wpsvcviews img,
.cu-footer-stats-wrap #wpsvcyesterday img {
  width: 16px;
  height: auto;
  filter: brightness(0) invert(1) opacity(0.7);
}
.cu-footer-stats-wrap #wpsvcattribution {
  color: rgba(255,255,255,0.35) !important;
  font-size: 10px !important;
  margin-top: 10px;
  text-align: left !important;
}
.cu-footer-stats-wrap #wpsvcattribution a {
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none;
}
.cu-footer-stats-wrap #wpsvcattribution a:hover {
  color: #ffffff !important;
}
/* Copyright */
.cu-footer-copyright {
  text-align: center;
  padding: 20px 0 0;
}
.cu-footer-copyright p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ============================================================
   11. MOBILE RESPONSIVENESS
   ============================================================ */

/* --- Hamburger Menu --- */
.mobile_menu_bar::before {
  color: var(--color-primary) !important;
  font-size: 28px !important;
}

/* Drawer mobile menu */
#et-top-navigation .et_mobile_menu {
  background: var(--color-dark) !important;
  border-top: 3px solid var(--color-primary);
}
#et-top-navigation .et_mobile_menu li a {
  color: var(--color-white) !important;
  font-size: 15px;
  padding: 12px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* --- Tablet (768–980px) --- */
@media (min-width: 768px) and (max-width: 980px) {
  .et_pb_slide_title {
    font-size: clamp(20px, 4vw, 32px) !important;
  }

  /* Galeri pindah ke bawah: 2 kolom */
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Informasi terbaru: full width */
  .artikel-item {
    flex-direction: row;
  }
}

/* --- Mobile (≤767px) --- */
@media (max-width: 767px) {
  /* Sembunyikan info jam pelayanan di mobile */
  .header-info-jam { display: none; }

  /* Semua tombol full-width di mobile */
  .et_pb_button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center;
  }

  /* Hero slider teks terpusat */
  .et_pb_slide_description {
    text-align: center !important;
  }
  .et_pb_slide_title {
    font-size: clamp(20px, 6vw, 30px) !important;
  }
  .et_pb_slide_content { font-size: 14px !important; }

  /* 3 kolom → 1 kolom vertikal */
  .et_pb_row.three-col-home > .et_pb_column {
    width: 100% !important;
    margin-bottom: 24px;
  }

  /* Artikel: thumbnail di atas judul */
  .artikel-item {
    flex-direction: column;
    gap: 8px;
  }
  .artikel-item .artikel-thumb {
    width: 100%;
    height: 180px;
  }

  /* Galeri: 2 kolom di mobile */
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer: 1 kolom vertikal */
  #main-footer .et_pb_column {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 24px;
  }

  /* Cegah overflow horizontal */
  body, #page-container {
    overflow-x: hidden !important;
  }

  /* Ukuran font minimal 14px */
  body { font-size: 14px !important; }

  /* Produk grid tetap 2x2 dengan padding lebih besar */
  .produk-card {
    padding: 24px 12px;
  }
}

/* ============================================================
   12. INNER PAGES – Profil, Produk, Galeri, Kontak
   ============================================================ */

/* Page hero / judul halaman */
.et_pb_section .et_pb_text h1 {
  font-family: var(--font-main);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 16px;
  line-height: 1.2;
}
.et_pb_section .et_pb_text h2.section-title {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 3px solid #2b7cb5;
  padding-bottom: 10px;
  margin-bottom: 24px;
}

/* ============================================================
   BERITA GRID – featured + compact list
   ============================================================ */
.cu-berita-grid { display: block; }

/* 2 featured card di atas */
.cu-berita-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.cu-berita-featured-card {
  display: block;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  text-decoration: none !important;
}
.cu-berita-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
}
.cu-berita-featured-overlay .cu-berita-cat {
  color: #FFD700;
  margin-bottom: 4px;
}
.cu-berita-featured-overlay h4 {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  line-height: 1.35;
  margin: 0 0 4px;
}
.cu-berita-featured-overlay .cu-berita-date { color: rgba(255,255,255,0.75); }

/* Compact list 2 kolom */
.cu-berita-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.cu-berita-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none !important;
  padding: 12px 8px 12px 0;
  border-bottom: 1px solid #c0cfdf;
  transition: background 0.15s;
}
.cu-berita-card:nth-child(odd) {
  padding-right: 16px;
  border-right: 1px solid #c0cfdf;
}
.cu-berita-card:nth-child(even) { padding-left: 16px; }
.cu-berita-card:hover { background: rgba(255,255,255,0.55); border-radius: 6px; }
.cu-berita-thumb { flex-shrink: 0; width: 100px; }
.cu-berita-thumb img {
  width: 100px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.cu-berita-no-img {
  width: 100px;
  height: 68px;
  background: #c4d9eb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #2b7cb5;
}
.cu-berita-content { flex: 1; }
.cu-berita-cat {
  font-size: 10px;
  font-weight: 700;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 4px;
}
.cu-berita-card h4 {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  line-height: 1.4;
  margin: 0 0 6px;
}
.cu-berita-date { font-size: 11px; color: #5a6a80; }

/* Kategori sidebar */
.cu-kategori-box {
  background: #fff;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(30,58,95,0.08);
  margin-top: 12px;
}
.cu-kategori-title {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  color: #1e3a5f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
}
.cu-kategori-title i { color: #2b7cb5; margin-right: 6px; }
.cu-kategori-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cu-kategori-list li { border-bottom: 1px solid #d8e4ef; }
.cu-kategori-list li:last-child { border-bottom: none; }
.cu-kategori-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-family: var(--font-main);
  font-size: 13px;
  color: #2b7cb5 !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.cu-kategori-list a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #2b7cb5;
  border-bottom: 2px solid #2b7cb5;
  transform: rotate(-45deg);
  flex-shrink: 0;
}
.cu-kategori-list a:hover { color: #1e3a5f !important; }

/* Formulir sidebar box */
.cu-formulir-box {
  background: #fff;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(30,58,95,0.08);
}
.cu-formulir-title {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  color: #1e3a5f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}
.cu-formulir-title i { color: #2b7cb5; margin-right: 6px; }
.cu-formulir-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cu-formulir-links li { margin-bottom: 8px; }
.cu-formulir-links a {
  font-family: var(--font-main);
  font-size: 13px;
  color: #2b7cb5 !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.cu-formulir-links a:hover { color: #1e3a5f !important; }

/* Produk section (background biru) */
.cu-produk-grid .cu-produk-card { background: rgba(255,255,255,0.12); color: #fff; }
.cu-produk-grid .cu-produk-icon { background: rgba(255,255,255,0.2); color: #fff; }
.cu-produk-grid .cu-produk-label { color: #fff; }
.cu-produk-grid .cu-produk-card:hover { background: rgba(255,255,255,0.2); }

/* ============================================================ */

/* Nilai Inti – 4 kolom FA icon cards */
.cu-nilai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .cu-nilai-grid { grid-template-columns: repeat(2, 1fr); }
}
.cu-nilai-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(30,58,95,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cu-nilai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(43,124,181,0.15);
}
.cu-nilai-icon {
  width: 60px;
  height: 60px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: #2b7cb5;
}
.cu-nilai-card h4 {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 10px;
}
.cu-nilai-card p {
  font-family: var(--font-main);
  font-size: 13px;
  color: #5a6a80;
  line-height: 1.6;
  margin: 0;
}

/* Layanan Digital – list dengan FA icon */
.cu-layanan-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cu-layanan-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(30,58,95,0.07);
  transition: box-shadow 0.2s;
}
.cu-layanan-item:hover {
  box-shadow: 0 6px 20px rgba(43,124,181,0.14);
}
.cu-layanan-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #dbeafe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #2b7cb5;
}
.cu-layanan-body h4 {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 6px;
}
.cu-layanan-body p {
  font-family: var(--font-main);
  font-size: 13px;
  color: #5a6a80;
  line-height: 1.6;
  margin: 0;
}

/* Toggle / accordion (Produk) */
.et_pb_toggle_title {
  font-family: var(--font-main) !important;
  color: #1e3a5f !important;
  font-size: 15px !important;
}
.et_pb_toggle_open .et_pb_toggle_title {
  color: #2b7cb5 !important;
}
.et_pb_toggle_content {
  font-family: var(--font-main) !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: #334155;
}
.et_pb_toggle_content ul {
  padding-left: 20px;
}
.et_pb_toggle_content ul li {
  margin-bottom: 6px;
}
.et_pb_toggle_content ul li::marker {
  color: #2b7cb5;
}

/* Kontak – info items */
.et_pb_text p i.fa-solid,
.et_pb_text p i.fa-regular {
  margin-right: 6px;
  vertical-align: middle;
}

/* Form kontak */
.et_contact_bottom_container .et_pb_button {
  background: #2b7cb5 !important;
  border-color: #2b7cb5 !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-family: var(--font-main) !important;
  font-weight: 600 !important;
  transition: background 0.2s;
}
.et_contact_bottom_container .et_pb_button:hover {
  background: #1e6096 !important;
  border-color: #1e6096 !important;
}
.et_pb_contact_field_input,
.et_pb_contact_field textarea {
  border-radius: 6px !important;
  border-color: #c0cfdf !important;
  font-family: var(--font-main) !important;
}
.et_pb_contact_field_input:focus,
.et_pb_contact_field textarea:focus {
  border-color: #2b7cb5 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(43,124,181,0.15);
}

/* Galeri grid */
.et_pb_gallery_item {
  border-radius: 8px !important;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.et_pb_gallery_item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(30,58,95,0.2);
}

/* ============================================================
   13. GALERI OTOMATIS [cu_galeri_otomatis]
   ============================================================ */
.cu-galeri-auto {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cu-galeri-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  background: #d8e4ef;
}
.cu-galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.cu-galeri-item:hover img {
  transform: scale(1.06);
}
.cu-galeri-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,58,95,0.45);
  color: #fff;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.2s;
}
.cu-galeri-item:hover .cu-galeri-zoom {
  opacity: 1;
}

/* Lightbox */
#cu-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#cu-lightbox[aria-hidden="true"] {
  display: none;
}
#cu-lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,20,40,0.88);
  cursor: pointer;
}
#cu-lightbox-img {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
  z-index: 1;
}
#cu-lightbox-close,
#cu-lightbox-prev,
#cu-lightbox-next {
  position: absolute;
  background: rgba(30,58,95,0.7);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}
#cu-lightbox-close:hover,
#cu-lightbox-prev:hover,
#cu-lightbox-next:hover {
  background: #2b7cb5;
}
#cu-lightbox-close { top: 20px; right: 20px; font-size: 28px; }
#cu-lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
#cu-lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 980px) {
  .cu-galeri-auto { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .cu-galeri-auto { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ============================================================
   TP (Tempat Pelayanan) – Halaman Kontak
   ============================================================ */
.cu-tp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.cu-tp-card {
  background: #ffffff;
  border: 1px solid #d8e4ef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30,58,95,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-main);
}
.cu-tp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(30,58,95,0.12);
}
.cu-tp-card__img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f0f4f8;
}
.cu-tp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cu-tp-card:hover .cu-tp-card__img img {
  transform: scale(1.05);
}
.cu-tp-card__img .cu-tp-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.cu-tp-card__head {
  background: linear-gradient(135deg, #1e3a5f 0%, #2b7cb5 100%);
  color: #ffffff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.cu-tp-card__head i {
  font-size: 18px;
  color: #ffffff;
  background: rgba(255,255,255,0.18);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cu-tp-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
}
.cu-tp-card__badge {
  background: #FF2045;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
}

/* Featured card – sedikit lebih menonjol */
.cu-tp-card--featured {
  grid-column: span 2;
}
.cu-tp-card--featured .cu-tp-card__img {
  height: 240px;
}
@media (max-width: 768px) {
  .cu-tp-card--featured { grid-column: span 1; }
  .cu-tp-card--featured .cu-tp-card__img { height: 180px; }
}
.cu-tp-card__info {
  list-style: none;
  padding: 20px 24px;
  margin: 0;
}
.cu-tp-card__info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
  border-bottom: 1px dashed #e2e8f0;
}
.cu-tp-card__info li:last-child { border-bottom: none; }
.cu-tp-card__info li i {
  color: #2b7cb5;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 13px;
}
.cu-tp-card__info li strong {
  color: #1e3a5f;
  font-weight: 600;
}
.cu-tp-card__info li a {
  color: #2b7cb5;
  text-decoration: none;
}
.cu-tp-card__info li a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .cu-tp-grid { grid-template-columns: 1fr; }
  .cu-tp-card__head { padding: 16px 18px; }
  .cu-tp-card__info { padding: 16px 18px; }
}

/* ============================================================
   APP PROMO – Escete SuperApp (Beranda di bawah berita)
   ============================================================ */
.cu-app-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2b7cb5 100%);
  border-radius: 14px;
  padding: 32px;
  color: #ffffff;
  font-family: var(--font-main);
  box-shadow: 0 8px 28px rgba(30,58,95,0.18);
  position: relative;
  overflow: hidden;
}
.cu-app-promo::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: top right;
  pointer-events: none;
}
.cu-app-promo__left,
.cu-app-promo__right {
  position: relative;
  z-index: 1;
}

.cu-app-promo__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.cu-app-promo__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
.cu-app-promo__icon i {
  font-size: 24px;
  color: #ffffff;
}

.cu-app-promo__badge {
  display: inline-block;
  background: #FF2045;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.cu-app-promo__title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 10px;
  line-height: 1.2;
}

.cu-app-promo__desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0 0 18px;
}

/* Download buttons */
.cu-app-promo__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cu-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #ffffff !important;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.15);
}
.cu-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  color: #ffffff !important;
}
.cu-app-btn i {
  font-size: 26px;
  color: #ffffff;
}
.cu-app-btn__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--font-main);
}
.cu-app-btn__txt small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1px;
}
.cu-app-btn__txt strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

/* Right column: features */
.cu-app-promo__subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.cu-app-promo__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.cu-app-promo__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}
.cu-app-promo__features li i {
  color: #4ade80;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .cu-app-promo { grid-template-columns: 1fr; padding: 24px 20px; }
  .cu-app-promo__title { font-size: 20px; }
  .cu-app-btn { padding: 8px 12px; }
  .cu-app-btn__txt strong { font-size: 13px; }
}

/* ============================================================
   14. FITUR / LAYANAN UNGGULAN – Beranda (3 kartu dark navy)
   ============================================================ */
.cu-fitur-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  font-family: var(--font-main);
}

.cu-fitur-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, transform 0.3s;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: top right;
}
.cu-fitur-card:hover {
  background-color: rgba(43,124,181,0.15);
  transform: translateY(-4px);
}

.cu-fitur-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #222B99;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  flex-shrink: 0;
}

.cu-fitur-body { display: flex; flex-direction: column; gap: 6px; }

.cu-fitur-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.cu-fitur-sub {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #111111;
  background: #ffffff;
  border: 1px solid #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  padding: 5px 14px;
  border-radius: 999px;
  align-self: flex-start;
}

.cu-fitur-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 4px 0 0;
}

@media (max-width: 980px) {
  .cu-fitur-wrap { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width: 600px) and (max-width: 980px) {
  .cu-fitur-wrap { grid-template-columns: repeat(2, 1fr); }
  .cu-fitur-card:last-child { grid-column: 1 / -1; max-width: 460px; margin: 0 auto; }
}

/* ============================================================
   15. UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary) !important; }
.text-dark { color: var(--color-dark) !important; }
.bg-primary-light { background: var(--color-primary-light) !important; }
.bg-dark { background: var(--color-dark) !important; }
.rounded { border-radius: var(--card-radius); }
.shadow { box-shadow: var(--shadow-card); }

/* ============================================================
   16. COMPREHENSIVE RESPONSIVE — TABLET & MOBILE
   ============================================================ */

/* ---------------------------------------------------------- */
/* TABLET / IPAD (768px – 1024px)                              */
/* ---------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {

  /* HEADER – brand & jam pelayanan kompak */
  .cu-header-brand img { width: 50px !important; height: 50px !important; }
  .cu-brand-ksp,
  .cu-brand-stella { font-size: 18px !important; }
  .cu-brand-tagline { font-size: 8px !important; letter-spacing: 0.14em; }
  .cu-jam-value { font-size: 11px !important; }
  .cu-social-icons a { width: 28px !important; height: 28px !important; font-size: 13px !important; }

  /* TICKER – label tetap muncul tapi compact */
  .cu-ticker-label { font-size: 10px !important; padding: 5px 8px; }
  .cu-ticker-track a { font-size: 11px !important; }

  /* HERO SLIDER */
  .cu-hslider { height: 440px; }
  .cu-hslide { flex: 0 0 72%; }
  .cu-hslide__title { font-size: clamp(18px, 2.6vw, 28px); }

  /* FITUR CARDS – 3 sejajar tetap, lebih compact */
  .cu-fitur-card { padding: 24px 20px; }
  .cu-fitur-title { font-size: 16px; }
  .cu-fitur-desc { font-size: 13px; }

  /* APP PROMO – tetap 2 kolom, font lebih kecil */
  .cu-app-promo { padding: 24px; gap: 20px; }
  .cu-app-promo__title { font-size: 20px; }
  .cu-app-promo__features li { font-size: 12px; }
  .cu-app-btn { padding: 8px 12px; }
  .cu-app-btn__txt strong { font-size: 13px; }

  /* BERITA GRID – featured card lebih pendek */
  .cu-berita-featured-card { height: 170px; }
  .cu-berita-featured-overlay h4 { font-size: 12px; }
  .cu-berita-thumb,
  .cu-berita-thumb img,
  .cu-berita-no-img { width: 80px; height: 56px; }

  /* TP CARDS – auto-fit grid sudah cocok */
  .cu-tp-card__img { height: 180px; }
  .cu-tp-card--featured .cu-tp-card__img { height: 200px; }

  /* FOOTER – 2x2 grid */
  .et-l--footer .et_pb_column { width: 48% !important; margin-bottom: 24px; }
  .cu-footer-logo-col img { max-width: 80px; }

  /* INNER PAGES – nilai-grid 2x2 */
  .cu-nilai-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ---------------------------------------------------------- */
/* MOBILE (≤ 767px)                                            */
/* ---------------------------------------------------------- */
@media (max-width: 767px) {

  /* === HEADER MOBILE — KONSEP PUSKOPCUINA STYLE ===
       Layout vertikal centered: Logo+Brand → Sosial → Date Badge → Hamburger
       ============================================================== */

  /* Pastikan section header tidak overflow */
  .et-l--header,
  .et-l--header .et_pb_section,
  #main-header { overflow: visible !important; }

  /* Mobile: header bukan sticky — push slider ke bawah, jangan overlay */
  #main-header,
  .et-l--header {
    position: relative !important;
    top: auto !important;
  }

  /* Hero slider tidak boleh ditarik ke atas (no negative margin) */
  .et_pb_section.hero-slider-wrap,
  .hero-slider-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  /* Background section header putih bersih */
  .et-l--header .et_pb_section,
  #main-header,
  #main-header > div,
  .et-l--header {
    background-color: #ffffff !important;
  }

  /* Sembunyikan TICKER di mobile */
  .et-l--header .et_pb_row_0_tb_header {
    display: none !important;
  }

  /* === ROW 1: BRAND + INFO — 2 KOLOM HORIZONTAL ===
       Kiri: Logo + KSP CU STELLA MARIS
       Kanan: Date badge + Social icons */
  .et-l--header .et_pb_row_1_tb_header,
  .et-l--header .et_pb_section .et_pb_row_1_tb_header,
  .et-l--header .et_pb_section--with-menu .et_pb_row_1_tb_header,
  .et-l--header .et_pb_section--with-menu > .et_pb_row_1_tb_header,
  .et-l--header .et_pb_row_1_tb_header.et_pb_equal_columns,
  body .et-l--header .et_pb_row_1_tb_header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    box-sizing: border-box;
    position: relative !important;
    z-index: 5 !important;
  }
  .et-l--header .et_pb_row_1_tb_header > .et_pb_column,
  .et-l--header .et_pb_row_1_tb_header > .et_pb_column_1_2,
  .et-l--header .et_pb_row_1_tb_header > .et_pb_column_2_tb_header,
  .et-l--header .et_pb_row_1_tb_header > .et_pb_column_3_tb_header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    min-height: 0 !important;
  }
  /* Kolom kiri (brand) — rata kiri */
  .et-l--header .et_pb_row_1_tb_header > .et_pb_column:first-child {
    text-align: left !important;
  }
  /* Kolom kanan (date + social) — rata kanan */
  .et-l--header .et_pb_row_1_tb_header > .et_pb_column:last-child {
    text-align: right !important;
  }
  .et-l--header .et_pb_row_1_tb_header .et_pb_module,
  .et-l--header .et_pb_row_1_tb_header .et_pb_code,
  .et-l--header .et_pb_row_1_tb_header .et_pb_code_inner {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Sembunyikan <br> yang muncul karena wpautop */
  .cu-header-brand br,
  .cu-header-name br,
  .cu-header-brand-text br,
  .cu-header-right br,
  .cu-social-icons br,
  .cu-jam-pelayanan br,
  .cu-jam-text br { display: none !important; }

  /* === BRAND — Logo + nama horizontal (left column) === */
  .cu-header-brand {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .cu-header-brand img {
    width: 44px !important;
    height: 44px !important;
    display: block !important;
    margin: 0 !important;
    flex-shrink: 0;
  }
  .cu-header-logo-link {
    display: inline-block !important;
    border: none !important;
    background: transparent !important;
    flex-shrink: 0;
  }
  .cu-header-brand-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    flex: 1;
    min-width: 0;
  }
  .cu-header-name {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.1 !important;
    align-items: flex-start !important;
  }
  .cu-brand-ksp { font-size: 14px !important; color: #FF2045 !important; }
  .cu-brand-stella { font-size: 14px !important; color: #1e3a5f !important; }
  .cu-brand-tagline {
    font-size: 7px !important;
    letter-spacing: 0.12em;
    margin-top: 2px !important;
    color: #FF2045 !important;
  }

  /* === RIGHT COLUMN: Date badge + Social icons (vertikal, rata kanan) === */
  .cu-header-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 6px !important;
  }
  .cu-social-icons {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 6px !important;
  }
  .cu-social-icons a {
    width: 26px !important;
    height: 26px !important;
    background: #1e3a5f !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s, background 0.2s;
  }
  .cu-social-icons a:hover {
    background: #2b7cb5 !important;
    transform: translateY(-2px);
  }

  /* Sembunyikan jam pelayanan di mobile (diganti date badge) */
  .cu-jam-pelayanan { display: none !important; }

  /* === DATE BADGE — pill gelap compact === */
  .cu-date-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    background: #1e3a5f;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    line-height: 1;
  }
  .cu-date-badge i { font-size: 9px; }

  /* === SEPARATOR GARIS TIPIS === */
  .et-l--header .et_pb_row_1_tb_header::after {
    content: '';
    display: block;
    width: calc(100% - 32px);
    height: 1px;
    background: #e5e7eb;
    margin: 14px auto 0;
  }

  /* Sembunyikan Row 2 (desktop menu) di mobile */
  .et-l--header .et_pb_row_2_tb_header {
    display: none !important;
  }

  /* === ROW 3: NAV MENU MOBILE (hamburger) — bg putih === */
  .et-l--header .et_pb_row_3_tb_header,
  body .et-l--header .et_pb_row_3_tb_header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #ffffff !important;
    padding: 8px 16px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-height: 56px !important;
  }
  .et-l--header .et_pb_row_3_tb_header > .et_pb_column,
  .et-l--header .et_pb_row_3_tb_header .et_pb_column_4_4 {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .et-l--header .et_pb_row_3_tb_header .et_pb_module,
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu_inner_container {
    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu__logo-wrap {
    display: none !important;
  }
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu__wrap,
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu__menu {
    display: flex !important;
    visibility: visible !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .et-l--header .et_pb_row_3_tb_header .et_mobile_nav_menu,
  .et-l--header .et_pb_row_3_tb_header .mobile_nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }
  /* Hamburger jadi pill bulat berwarna brand */
  .et-l--header .mobile_menu_bar {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #1e3a5f !important;
    border: none !important;
    padding: 9px 22px !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .et-l--header .mobile_menu_bar:hover {
    background: #2b7cb5 !important;
    transform: translateY(-1px);
  }
  .et-l--header .mobile_menu_bar::before {
    color: #ffffff !important;
    font-size: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .et-l--header .mobile_menu_bar::after {
    content: 'MENU';
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  /* Sembunyikan dropdown default Divi — kita pakai drawer custom */
  .et_mobile_menu { display: none !important; }
}

/* ============================================================
   FORCE MOBILE NAV VISIBILITY — HANYA mobile (≤767px), tidak tablet
   ============================================================ */
@media (max-width: 767px) {
  /* Row 2 (desktop menu) hidden */
  .et-l--header .et_pb_row_2_tb_header {
    display: none !important;
  }

  /* Row 3 + semua chain di dalamnya HARUS visible */
  .et-l--header .et_pb_row_3_tb_header,
  .et-l--header .et_pb_row_3_tb_header > div,
  .et-l--header .et_pb_row_3_tb_header > .et_pb_column,
  .et-l--header .et_pb_row_3_tb_header .et_pb_module,
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu,
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu_inner_container,
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu__wrap,
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu__menu,
  .et-l--header .et_pb_row_3_tb_header .et_mobile_nav_menu,
  .et-l--header .et_pb_row_3_tb_header .mobile_nav,
  .et-l--header .et_pb_row_3_tb_header .mobile_menu_bar {
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    pointer-events: auto !important;
  }

  .et-l--header .et_pb_row_3_tb_header,
  .et-l--header .et_pb_row_3_tb_header > div,
  .et-l--header .et_pb_row_3_tb_header > .et_pb_column,
  .et-l--header .et_pb_row_3_tb_header .et_pb_module,
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu,
  .et-l--header .et_pb_row_3_tb_header .et_mobile_nav_menu,
  .et-l--header .et_pb_row_3_tb_header .mobile_nav {
    display: block !important;
  }

  .et-l--header .et_pb_row_3_tb_header .et_pb_menu_inner_container,
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu__wrap,
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu__menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .et-l--header .et_pb_row_3_tb_header .mobile_menu_bar {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #1e3a5f !important;
    padding: 9px 22px !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    cursor: pointer !important;
    min-width: 100px !important;
    min-height: 36px !important;
  }
  .et-l--header .et_pb_row_3_tb_header .mobile_menu_bar::before {
    color: #ffffff !important;
    font-size: 14px !important;
  }
  .et-l--header .et_pb_row_3_tb_header .mobile_menu_bar::after {
    content: 'MENU';
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  /* Sembunyikan logo wrap di menu module mobile + desktop nav */
  .et-l--header .et_pb_row_3_tb_header .et_pb_menu__logo-wrap,
  .et-l--header .et_pb_row_3_tb_header .et-menu-nav {
    display: none !important;
  }

  /* === HERO SLIDER === */
  /* Paksa slider section tidak dibatasi padding/margin Divi */
  .et_pb_section.hero-slider-wrap,
  .hero-slider-wrap,
  .hero-slider-wrap .et_pb_row,
  .hero-slider-wrap .et_pb_column,
  .hero-slider-wrap .et_pb_text,
  .hero-slider-wrap .et_pb_text_inner,
  .hero-slider-wrap .et_pb_module {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 320px !important;
    overflow: visible !important;
    display: block !important;
    position: relative !important;
    box-sizing: border-box;
  }
  .hero-slider-wrap .et_pb_text,
  .hero-slider-wrap .et_pb_text_inner {
    min-height: 0 !important;
  }

  /* Container slider — paksa tinggi & lebar */
  .cu-hslider {
    height: 320px !important;
    width: 100% !important;
    min-height: 320px !important;
    display: block !important;
    overflow: hidden !important;
    position: relative !important;
  }

  /* Track + slides */
  .cu-hslider__track {
    height: 100% !important;
    gap: 0 !important;
  }
  .cu-hslide {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    border-radius: 0 !important;
  }
  .cu-hslide__img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  .cu-hslide__cap { padding: 16px 16px 14px; }
  .cu-hslide__cat { font-size: 9px; padding: 3px 8px; }
  .cu-hslide__title { font-size: 15px; line-height: 1.25; }
  .cu-hslide__meta { font-size: 10.5px; }
  .cu-hslider__prev,
  .cu-hslider__next { width: 32px; height: 32px; font-size: 12px; }
  .cu-hslider__prev { left: 8px; }
  .cu-hslider__next { right: 8px; }

  /* === FITUR CARDS === */
  .cu-fitur-wrap { grid-template-columns: 1fr !important; gap: 14px; }
  .cu-fitur-card { padding: 20px 18px; }
  .cu-fitur-icon { width: 50px; height: 50px; font-size: 20px; }
  .cu-fitur-title { font-size: 16px; }
  .cu-fitur-sub { font-size: 10px; padding: 4px 10px; }
  .cu-fitur-desc { font-size: 13px; }

  /* === BERITA GRID (BERANDA) === */
  /* Featured: stack 1 kolom */
  .cu-berita-featured { grid-template-columns: 1fr; gap: 12px; }
  .cu-berita-featured-card { height: 180px; }
  .cu-berita-featured-overlay { padding: 12px 14px; }
  .cu-berita-featured-overlay h4 { font-size: 13px; }

  /* List: 1 kolom */
  .cu-berita-list { grid-template-columns: 1fr; }
  .cu-berita-card:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }
  .cu-berita-card:nth-child(even) { padding-left: 0; }
  .cu-berita-thumb,
  .cu-berita-thumb img,
  .cu-berita-no-img { width: 90px; height: 60px; }

  /* === APP PROMO === */
  .cu-app-promo { grid-template-columns: 1fr; padding: 20px 18px; gap: 20px; }
  .cu-app-promo__title { font-size: 18px; }
  .cu-app-promo__desc { font-size: 12px; }
  .cu-app-promo__btns { gap: 8px; }
  .cu-app-btn { padding: 8px 12px; }
  .cu-app-btn i { font-size: 22px; }
  .cu-app-btn__txt strong { font-size: 12px; }
  .cu-app-btn__txt small { font-size: 8px; }
  .cu-app-promo__features li { font-size: 12px; }

  /* === TP CARDS === */
  .cu-tp-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .cu-tp-card--featured { grid-column: span 1 !important; }
  .cu-tp-card__img,
  .cu-tp-card--featured .cu-tp-card__img { height: 160px; }
  .cu-tp-card__head { padding: 14px 16px; }
  .cu-tp-card__title { font-size: 14px; }
  .cu-tp-card__info { padding: 14px 16px; }
  .cu-tp-card__info li { font-size: 12.5px; }

  /* === FOOTER === */
  .et-l--footer .et_pb_section { padding: 36px 0 24px !important; }
  .et-l--footer .et_pb_row { width: 92% !important; }
  .et-l--footer .et_pb_column {
    width: 100% !important;
    margin-bottom: 24px !important;
  }
  .cu-footer-logo-col {
    align-items: center !important;
    text-align: center;
  }
  .cu-footer-heading { font-size: 15px; margin-bottom: 14px; }
  .cu-footer-contact li,
  .cu-footer-links li { font-size: 12.5px; }
  .cu-stats-list li { font-size: 12px; padding: 6px 10px; }
  .cu-stats-list li strong { font-size: 13px; }
  .cu-footer-copyright p { font-size: 11px; }

  /* === BLOG / SIDEBAR === */
  #content-area {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 20px 0 32px !important;
  }
  .cu-sidebar { width: 100% !important; }

  /* === INNER PAGES === */
  .cu-nilai-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .cu-layanan-list li { padding: 12px 14px; font-size: 13px; }

  /* === MENU BURGER ITEM === */
  .et_mobile_menu li a {
    font-size: 14px !important;
    padding: 10px 18px !important;
  }

}

/* ---------------------------------------------------------- */
/* SMALL MOBILE (≤ 480px)                                      */
/* ---------------------------------------------------------- */
@media (max-width: 480px) {

  .cu-brand-ksp,
  .cu-brand-stella { font-size: 13.5px !important; }
  .cu-brand-tagline { display: none !important; }

  .cu-header-brand img { width: 40px !important; height: 40px !important; }

  /* Hero slider sangat kompak */
  .cu-hslider { height: 240px; }
  .cu-hslide__title { font-size: 13.5px; }
  .cu-hslide__excerpt { display: none; }

  /* App promo: 2 tombol stack vertikal */
  .cu-app-promo__btns { flex-direction: column; }
  .cu-app-btn { width: 100%; }

  /* TP card foto lebih kecil */
  .cu-tp-card__img,
  .cu-tp-card--featured .cu-tp-card__img { height: 140px; }
}

/* ---------------------------------------------------------- */
/* GLOBAL — hindari horizontal scroll & touch target           */
/* ---------------------------------------------------------- */
@media (max-width: 1024px) {
  body, #page-container, #main-content { overflow-x: hidden !important; }
}

/* ============================================================
   17. MOBILE DRAWER — Slide-out Menu Navigasi
   ============================================================ */
.cu-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  visibility: hidden;
  font-family: var(--font-main);
}
.cu-drawer--open {
  pointer-events: auto;
  visibility: visible;
}

.cu-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,20,40,0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.cu-drawer--open .cu-drawer__backdrop { opacity: 1; }

.cu-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100%;
  background: linear-gradient(180deg, #1e3a5f 0%, #0e2a47 100%);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -8px 0 28px rgba(0,0,0,0.3);
}
.cu-drawer--open .cu-drawer__panel { transform: translateX(0); }

/* === HEADER PANEL === */
.cu-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cu-drawer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex: 1;
  min-width: 0;
}
.cu-drawer__brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cu-drawer__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.cu-drawer__ksp {
  color: #FF2045;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.cu-drawer__stella {
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.cu-drawer__close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.cu-drawer__close:hover { background: #FF2045; }

/* === SEARCH === */
.cu-drawer__search {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cu-drawer__search form {
  position: relative;
  display: flex;
  align-items: center;
}
.cu-drawer__search i {
  position: absolute;
  left: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.cu-drawer__search input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  padding: 9px 12px 9px 34px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: background 0.2s, border-color 0.2s;
}
.cu-drawer__search input::placeholder { color: rgba(255,255,255,0.5); }
.cu-drawer__search input:focus {
  background: rgba(255,255,255,0.14);
  border-color: #4a9ed6;
}

/* === NAV LIST === */
.cu-drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.cu-drawer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cu-drawer__menu li { list-style: none; }
.cu-drawer__menu .arrow_plus { display: none; }

.cu-drawer__menu > li > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: background 0.2s, padding 0.2s;
}
.cu-drawer__menu > li > a:hover {
  background: rgba(255,255,255,0.06);
  padding-left: 26px;
}
.cu-drawer__menu > li.current-menu-item > a,
.cu-drawer__menu > li.current_page_item > a {
  background: rgba(255,32,69,0.15);
  border-left: 3px solid #FF2045;
  padding-left: 19px;
}

.cu-drawer__icon {
  width: 22px;
  font-size: 14px;
  color: #4a9ed6;
  text-align: center;
  flex-shrink: 0;
}

/* Caret submenu */
.cu-drawer__caret {
  margin-left: auto;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform 0.3s ease, background 0.2s;
}
.cu-drawer__caret:hover { background: rgba(255,255,255,0.18); }
.cu-drawer__menu .cu-open > a > .cu-drawer__caret {
  transform: rotate(180deg);
  background: #FF2045;
}

/* Submenu */
.cu-drawer__menu .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.18);
  transition: max-height 0.4s ease;
}
.cu-drawer__menu .cu-open > .sub-menu {
  max-height: 800px;
}
.cu-drawer__menu .sub-menu li a {
  display: flex;
  align-items: center;
  padding: 11px 22px 11px 58px;
  color: rgba(255,255,255,0.78) !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  transition: color 0.2s, padding-left 0.2s;
}
.cu-drawer__menu .sub-menu li a::before {
  content: '';
  position: absolute;
  left: 38px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-right: 2px solid #4a9ed6;
  border-bottom: 2px solid #4a9ed6;
  transform: translateY(-50%) rotate(-45deg);
}
.cu-drawer__menu .sub-menu li a:hover {
  color: #ffffff !important;
  padding-left: 64px;
  background: rgba(255,255,255,0.04);
}

/* === FOOTER PANEL === */
.cu-drawer__footer {
  padding: 18px 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
}
.cu-drawer__footer-title {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}
.cu-drawer__social {
  display: flex;
  gap: 10px;
}
.cu-drawer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none !important;
}
.cu-drawer__social a:hover {
  background: #2b7cb5;
  transform: translateY(-2px);
}

/* Hanya tampil di mobile/tablet (sampai iPad Pro 1100px) */
@media (min-width: 1101px) {
  .cu-drawer { display: none !important; }
}

/* ============================================================
   CUSTOM MOBILE NAVBAR — Hamburger + Search (Injected via JS)
   ============================================================ */
.cu-mobile-navbar {
  display: none;
}

@media (max-width: 1100px) {
  .cu-mobile-navbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px 14px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    font-family: var(--font-main);
    position: relative;
    z-index: 100;
  }

  /* Sembunyikan SEMUA Divi mobile menu (universal, tanpa prefix) */
  .et_mobile_nav_menu,
  .mobile_nav,
  .mobile_menu_bar,
  .et_mobile_menu,
  .et_pb_menu_0_tb_header,
  .et_pb_menu_1_tb_header,
  .et_pb_row_2_tb_header,
  .et_pb_row_3_tb_header,
  body .et_mobile_nav_menu,
  body .mobile_nav,
  body .mobile_menu_bar,
  body .et_mobile_menu,
  html body .et_mobile_nav_menu,
  html body .et_mobile_menu {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
  }

  .cu-mnav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #1e3a5f;
    transition: transform 0.2s, color 0.2s;
  }
  .cu-mnav-btn:hover,
  .cu-mnav-btn:focus {
    transform: scale(1.05);
    color: #2b7cb5;
  }

  /* Hamburger MENU button (pill) */
  .cu-mnav-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1e3a5f;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: 0 2px 8px rgba(30,58,95,0.2);
  }
  .cu-mnav-menu:hover {
    background: #2b7cb5;
    color: #ffffff;
    transform: translateY(-1px);
  }

  /* 3-line animated hamburger icon */
  .cu-mnav-hamburger {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 14px;
    flex-shrink: 0;
  }
  .cu-mnav-hamburger span {
    position: absolute;
    left: 0;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.25s ease;
  }
  .cu-mnav-hamburger span:nth-child(1) { top: 0; }
  .cu-mnav-hamburger span:nth-child(2) { top: 6px; }
  .cu-mnav-hamburger span:nth-child(3) { top: 12px; }

  .cu-mnav-label {
    line-height: 1;
  }

  /* Search button */
  .cu-mnav-search {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #1e3a5f;
    box-shadow: 0 1px 4px rgba(30,58,95,0.08);
  }
  .cu-mnav-search:hover {
    background: #1e3a5f;
    color: #ffffff;
  }
}

/* ============================================================
   FINAL OVERRIDE — Mobile Menu Visibility (HANYA phone ≤767px)
   ============================================================ */
@media (max-width: 767px) {
  html body .et-l--header .et_pb_row_3_tb_header,
  html body #main-header .et_pb_row_3_tb_header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 60px !important;
    overflow: visible !important;
    background-color: #ffffff !important;
    padding: 8px 16px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body .et-l--header .et_pb_row_3_tb_header * {
    visibility: visible !important;
    opacity: 1 !important;
  }
  html body .et-l--header .et_pb_row_3_tb_header .et_pb_menu_inner_container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  html body .et-l--header .et_pb_row_3_tb_header .et_pb_menu__logo-wrap,
  html body .et-l--header .et_pb_row_3_tb_header .et-menu-nav {
    display: none !important;
  }
  html body .et-l--header .et_pb_row_3_tb_header .et_pb_menu__wrap {
    display: flex !important;
    justify-content: center !important;
    width: auto !important;
  }
  html body .et-l--header .et_pb_row_3_tb_header .et_mobile_nav_menu,
  html body .et-l--header .et_pb_row_3_tb_header .mobile_nav {
    display: block !important;
    width: auto !important;
  }
  html body .et-l--header .et_pb_row_3_tb_header .mobile_menu_bar {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #1e3a5f !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    cursor: pointer !important;
    min-width: 110px !important;
    min-height: 40px !important;
  }
  html body .et-l--header .et_pb_row_3_tb_header .mobile_menu_bar::before {
    color: #ffffff !important;
    font-size: 16px !important;
  }
  html body .et-l--header .et_pb_row_3_tb_header .mobile_menu_bar::after {
    content: 'MENU' !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }
}
