/* =========================================================
   EDUCON / HELIX3 - CUSTOM.CSS (BERSIH & RAPi)
   - Header full width
   - Logo UNMUS di kiri (boleh sedikit turun)
   - Menu rata kanan
   - Hamburger/offcanvas nempel kanan tanpa geser menu
   - Warna header + footer sama
   - Offcanvas warna sama header
   - Perbaikan teks flipbox (SSO) biar kelihatan
   ========================================================= */


/* ===============================
   RESET RINGAN
   =============================== */
body{
  margin:0 !important;
}


/* ===============================
   HEADER FULL WIDTH + WARNA
   =============================== */
#sp-header{
  width:100%;
  left:0;
  right:0;
  position: relative;
  margin-top:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  background-color:#f47f7f !important;  /* warna header */
}

/* Hilangkan batas container khusus header */
#sp-header .container,
#sp-header .container-fluid{
  max-width:100% !important;
  width:100% !important;
  padding-left:20px !important;
  padding-right:20px !important;
}

/* Rapikan row header */
#sp-header .row{
  align-items:center !important;
}


/* ===============================
   LOGO (KIRI) + UKURAN
   =============================== */
#sp-logo{
  display:flex !important;
  align-items:flex-start !important; /* logo sejajar atas */
}

#sp-logo .logo{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  margin:0 !important;
  padding:0 !important;
}

/* Ukuran logo UNMUS (atur sesuai kebutuhan) */
#sp-logo img{
  max-height:120px !important;
  width:auto !important;

  /* bagian bawah logo boleh turun dikit */
  margin-top:0 !important;
  margin-bottom:-18px !important;
}


/* ===============================
   MENU (KANAN) + WARNA TEKS
   =============================== */
#sp-menu .sp-column{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
}

/* menu tetap rata kanan */
#sp-menu .sp-megamenu-parent{
  justify-content:flex-end !important;
  flex-wrap:nowrap !important;
}

/* ukuran & jarak menu */
#sp-menu ul.sp-megamenu-parent > li > a{
  color:#ffffff !important;
  font-size:13px !important;
  padding-left:10px !important;
  padding-right:10px !important;
}

/* hover/aktif */
#sp-menu ul.sp-megamenu-parent > li.active > a,
#sp-menu ul.sp-megamenu-parent > li > a:hover{
  color:#ffeb3b !important;
}


/* ===============================
   ALIGN HEADER DESKTOP (opsional)
   =============================== */
@media (min-width: 992px){
  #sp-header{
    min-height:90px !important;
  }

  /* bikin item menu sejajar tinggi header */
  #sp-menu ul.sp-megamenu-parent > li > a{
    line-height:90px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
  }
}

/* Mobile: jangan dipaksa tinggi 90px */
@media (max-width: 991.98px){
  #sp-header{ min-height:auto !important; }
  #sp-menu ul.sp-megamenu-parent > li > a{ line-height:normal !important; }
}


/* ==================================================
   HAMBURGER / OFFCANVAS BUTTON DI KANAN (FIX)
   - tidak menggeser menu
   - menempel kanan layar header
   ================================================== */
#sp-menu .sp-column{
  position:relative !important;  /* jadi wadah referensi */
}

/* wrapper menu dikasih ruang kanan supaya tidak ketimpa hamburger */
#sp-menu .sp-megamenu-wrapper{
#  width:100% !important;
#  padding-right:60px !important; /* ruang untuk icon hamburger */
#}

/* tombol hamburger nempel kanan */
#sp-menu .offcanvas-toggler,
#sp-menu a.offcanvas-toggler,
#sp-menu button.offcanvas-toggler{
  position:absolute !important;
  right:15px !important;
  left:auto !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  margin:0 !important;
  z-index:9999 !important;
}


/* ===============================
   OFFCANVAS MENU WARNA SAMA HEADER
   =============================== */
.offcanvas-menu,
.offcanvas-menu .offcanvas-inner{
  background-color:#f47f7f !important;
}

/* judul */
.offcanvas-menu h3,
.offcanvas-menu .sp-module-title{
  color:#ffffff !important;
  font-weight:600 !important;
}

/* item menu */
.offcanvas-menu .sp-megamenu-parent > li > a{
  color:#ffffff !important;
  font-weight:500 !important;
}

/* hover */
.offcanvas-menu .sp-megamenu-parent > li > a:hover{
  background-color:rgba(255,255,255,0.15) !important;
}


/* ===============================
   FOOTER WARNA SAMA HEADER
   =============================== */
#sp-footer,
#sp-bottom{
  background-color:#f47f7f !important;
  color:#ffffff !important;
}

/* teks copyright tajam */
#sp-footer .copyright,
#sp-footer .sp-copyright,
#sp-footer small,
#sp-footer p,
#sp-footer span{
  color:#ffffff !important;
  font-weight:600 !important;
  font-size:14px !important;
  letter-spacing:0.5px !important;
}

/* link di footer */
#sp-footer a,
#sp-bottom a{
  color:#fff3c4 !important;
  font-weight:600 !important;
}
#sp-footer a:hover,
#sp-bottom a:hover{
  color:#ffffff !important;
  text-decoration:underline !important;
}

/* kalau mau hilangkan "Designed by" bawaan template (opsional) */
.sp-copyright{
  display:none !important;
}


/* ===============================
   FIX TEKS FLIPBOX (SSO) BIAR TERLIHAT
   =============================== */
.box-title{
  font-size:16px !important;
  font-weight:600 !important;
  margin-bottom:8px !important;
}

/* teks lebih kontras */
.box-text{
  font-size:11px !important;
  line-height:1.5 !important;
  text-align:justify !important;
  color:#ffffff !important; /* biar kebaca di background oranye/merah */
}

/* ===============================
   FIX: Hamburger kanan TANPA bikin menu ikut geser
   (DESKTOP saja)
   =============================== */
@media (min-width: 992px){

  /* kolom menu jadi wadah */
  #sp-menu .sp-column{
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }

  /* menu wrapper JANGAN full width */
  #sp-menu .sp-megamenu-wrapper{
    width: auto !important;
    flex: 0 1 auto !important;
    margin-left: auto !important;     /* dorong wrapper menu ke kanan normal */
    padding-right: 55px !important;   /* sisakan ruang utk hamburger */
  }

  /* menu tetap inline */
  #sp-menu .sp-megamenu-parent{
    justify-content: flex-end !important;
    white-space: nowrap !important;
  }

  /* hamburger: absolut, mentok kanan */
  #sp-menu .offcanvas-toggler,
  #sp-menu a.offcanvas-toggler,
  #sp-menu button.offcanvas-toggler{
    position: absolute !important;
    right: 15px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 9999 !important;
  }
}

/* =========================================================
   FOOTER LAYOUT (3 KOLOM) - TANPA FOTO
   ========================================================= */

/* judul modul di footer/bottom */
#sp-bottom .sp-module-title,
#sp-footer .sp-module-title{
  color:#ffffff !important;
  font-weight:700 !important;
  font-size:16px !important;
  margin-bottom:14px !important;
  text-transform:none !important;
}

/* teks umum footer */
#sp-bottom,
#sp-footer{
  font-size:13px !important;
  line-height:1.7 !important;
}

/* rapikan paragraf biar tidak terlalu mepet */
#sp-bottom p,
#sp-footer p{
  margin-bottom:10px !important;
}

/* link list footer */
#sp-bottom .footer-links,
#sp-footer .footer-links{
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
}

#sp-bottom .footer-links li,
#sp-footer .footer-links li{
  margin:0 0 8px 0 !important;
}

#sp-bottom .footer-links a,
#sp-footer .footer-links a{
  color:#fff3c4 !important;
  text-decoration:none !important;
  font-weight:600 !important;
}

#sp-bottom .footer-links a:hover,
#sp-footer .footer-links a:hover{
  color:#ffffff !important;
  text-decoration:underline !important;
}

/* bikin footer punya jarak atas-bawah enak */
#sp-bottom{
  padding-top:50px !important;
  padding-bottom:30px !important;
}
#sp-footer{
  padding-top:18px !important;
  padding-bottom:18px !important;
  border-top:1px solid rgba(255,255,255,0.25) !important;
}

/* footer bawah (copyright) rata tengah */
#sp-footer .footer-bottom,
#sp-footer .copyright,
#sp-footer .sp-copyright{
  text-align:center !important;
}

/* ===============================
   PENGUMUMAN – CARD MODERN CLEAN
   =============================== */

/* Card utama */
.sppb-addon-articles .sppb-article-item{
  background:#ffffff;
  border-radius:16px;
  padding:22px 22px 26px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition:all .35s ease;
  height:100%;
  position:relative;
}

/* Hover efek */
.sppb-addon-articles .sppb-article-item:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 45px rgba(0,0,0,.15);
}

/* Hilangkan intro text total */
.sppb-article-introtext,
.sppb-article-content{
  display:none !important;
}

/* Tanggal */
.sppb-article-meta-date{
  font-size:13px;
  color:#888;
  margin-bottom:6px;
}

/* Kategori badge */
.sppb-article-meta-category a{
  display:inline-block;
  background:#f47f7f;
  color:#fff !important;
  font-size:11px;
  padding:4px 10px;
  border-radius:20px;
  margin-bottom:10px;
}

/* Judul */
.sppb-article-title{
  font-size:18px;
  font-weight:600;
  line-height:1.4;
  margin-top:8px;
}

.sppb-article-title a{
  color:#222 !important;
  text-decoration:none !important;
}

/* Full card clickable (opsional tapi cakep) */
.sppb-article-item a::after{
  content:"";
  position:absolute;
  inset:0;
}

/* KHUSUS HALAMAN CATEGORY BLOG */
body.view-category #sp-title,
body.view-category .sp-page-title,
body.view-category .page-title,
body.view-category .sppb-page-title,
body.view-category .sppb-section.page-title {
  display: none !important;
}

/* HALAMAN FOOTER */

/* FOOTER LAYOUT */
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1140px;
  margin: 0 auto;
  color: #fff;
}

/* KIRI */
.footer-left {
  flex: 1;
  text-align: left;
}

/* KANAN */
.footer-right {
  flex: 1;
  text-align: right;
}

/* JUDUL */
.footer-wrapper h5 {
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

/* TEKS */
.footer-wrapper p,
.footer-wrapper a {
  color: #fff;
  line-height: 1.6;
  font-size: 14px;
}

/* COPYRIGHT */
.footer-bottom {
  text-align: center;
  padding: 15px 10px;
  font-size: 13px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.25);
}

/* RESPONSIVE (HP) */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    text-align: left;
  }

  .footer-right {
    text-align: left;
  }
}

