/* === BODY === */
body {
  background-color: #f4f5f7 !important;
  color: #212529;
  margin: 0;
  padding: 0;
}

/* === HEADINGS === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #003366;
}

/* === HILANGKAN PANAH DROPDOWN === */
.sp-megamenu-parent > li.menu-item-has-children > a::after,
.sp-megamenu-parent > li.deeper > a::after,
.sp-megamenu-parent > li.parent > a::after,
.sp-dropdown .sp-dropdown-inner > li.menu-item-has-children > a::after,
.sp-dropdown .sp-dropdown-inner > li.deeper > a::after,
.sp-dropdown .sp-dropdown-inner > li.parent > a::after,
.sp-menu-item > a::after {
  display: none !important;
  content: none !important;
}

/* === MENU UTAMA === */
.sp-megamenu-parent > li > a {
  font-weight: 500;
  color: #222 !important;
  text-transform: none;
  transition: color 0.3s ease;
}
.sp-megamenu-parent > li > a:hover,
.sp-megamenu-parent > li.active > a {
  color: #0d6efd !important;
  text-decoration: none;
}

/* === SUBMENU WRAPPER (LEBIH TRANSPARAN, NO BLUR) === */
/*
.sp-dropdown {
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s ease;
}
*/

.sp-dropdown {
  background: rgba(255, 255, 255, 0.80) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px) saturate(160%);
  -webkit-backdrop-filter: blur(15px) saturate(160%);
  padding: 12px 0;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.35s ease;
}

.sp-dropdown.open,
.sp-dropdown:hover {
  transform: translateY(0);
  opacity: 1;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

/* === ANIMASI MUNCUL === */
.sp-megamenu-parent > li:hover > .sp-dropdown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* === HILANGKAN BORDER DALAM LIST === */
.sp-dropdown ul,
.sp-dropdown-inner,
.sp-dropdown li {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* === SUBMENU ITEM === */
.sp-dropdown .sp-dropdown-inner li a {
  color: #1a468a !important; /* biru lebih pekat */
  padding: 5px 2px;
  font-weight: 550; /* sedikit lebih tebal */
  display: flex;
  flex-direction: column; /* 🔹 ubah jadi kolom (judul di atas, tanggal di bawah) */
  align-items: flex-start; /* teks rata kiri */
  gap: 4px; /* jarak kecil antara judul dan tanggal */
  background: transparent;
  border-radius: 4px;
  margin: 6px 3px;
  text-shadow:
    0.5px 0.5px 0 rgba(255, 255, 255, 0.6),
    -0.5px -0.5px 0 rgba(255, 255, 255, 0.4); /* outline putih lebih halus */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* === HOVER EFFECT (versi lembut & elegan) === */
.sp-dropdown .sp-dropdown-inner li a:hover {
  color: #ffa64d !important; /* oranye lembut (lebih soft dari #ff8c00) */
  text-shadow:
    0.5px 0.5px 0 rgba(255, 255, 255, 0.6),   /* border putih halus */
    -0.5px -0.5px 0 rgba(255, 255, 255, 0.5),
    0 0 2px rgba(255, 166, 77, 0.4);          /* glow oranye lembut */
}

/* === TOPBAR === */
.topbar, .topbar a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}
.topbar a:hover {
  color: #0d6efd;
}

.offcanvas-menu {
  max-height: 100vh;       /* agar tidak melebihi tinggi layar */
  overflow-y: auto;        /* aktifkan scroll vertikal */
  overflow-x: hidden;      /* sembunyikan scroll horizontal */
  -webkit-overflow-scrolling: touch; /* agar scroll halus di iOS */
}

.offcanvas-inner {
  padding-bottom: 1rem;    /* beri ruang bawah supaya tidak mepet */
}

/* === OFFCANVAS MENU === */
.offcanvas-menu a {
  font-weight: 500;
  color: #222;
}
.offcanvas-menu a:hover {
  color: #0d6efd;
}

/* === FOOTER === */
footer.site-footer {
  background-color: #002147;
  color: #fff;
  text-align: center;
  padding: 80px 20px 40px;
  border-top: 5px solid #FFD700;
  position: relative;
  overflow: hidden;
}
footer.site-footer .footer-logo {
  position: absolute;
  top: 25px; left: 30px;
  opacity: 0.95;
  transition: transform 0.3s, opacity 0.3s;
}
footer.site-footer .footer-logo img {
  height: 180px; width: auto; object-fit: contain;
}
footer.site-footer .footer-logo:hover {
  transform: scale(1.03);
  opacity: 1;
}
footer.site-footer .copyright {
  font-size: 0.95rem;
  font-weight: 500;
  color: #f8f9fa;
  margin-top: 20px;
}
@media (max-width:768px){
  footer.site-footer{padding:40px 10px 50px;}
  footer.site-footer .footer-logo{position:static;margin-bottom:10px;}
  footer.site-footer .footer-logo img{height:100px;}
  footer.site-footer .copyright{font-size:0.85rem;}
}

/* === CONTAINER === */
#sp-main-body .container-inner {
  background: #fff !important;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  padding: 28px 24px;
  margin: 0 10px;
  transition: all 0.3s ease;
}
#sp-main-body .container-inner:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
@media (max-width:768px){
  #sp-main-body .container-inner{padding:20px;}
}

/* === HERO TENTANG === */
.hero-tentang .hero-image {
  width:100%; height:80vh; object-fit:cover;
  padding:40px; transition:transform 0.5s;
}
.hero-tentang:hover .hero-image {transform:scale(1.05);}
@media (max-width:768px){.hero-tentang .hero-image{height:60vh;}}

/* === PROGRAM STUDI & STRUKTUR === */
.program-studi, .struktur-wrapper {
  background:#f8f9fa; border-radius:16px;
  padding:30px 24px;
  box-shadow:0 4px 15px rgba(0,0,0,0.05);
  margin:20px 0 35px;
}
.studi-card {
  background:white; transition:all 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center; /* posisi horizontal tengah */
  justify-content: center; /* posisi vertikal tengah (jika perlu) */
  text-align: center;
}
.studi-card:hover {
  transform:translateY(-10px);
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}
.studi-card img {transition:transform 0.3s;}
.studi-card:hover img {transform:scale(1.1);}

/* === ORGANIZATION CHART === */
.org-chart {
  display:flex; flex-direction:column; align-items:center; gap:25px;
}
.org-level {
  display:flex; flex-wrap:wrap; justify-content:center; gap:40px; position:relative;
}
.org-level::before {
  content:""; position:absolute; top:-25px; left:50%;
  width:2px; height:25px; background:#007bff; transform:translateX(-50%);
}
.org-level:first-child::before {display:none;}
.org-box {
  background:#f8f9fa; padding:10px 14px; border-radius:8px;
  min-width:150px; text-align:center; transition:all 0.3s;
  font-size:0.9rem; line-height:1.3;
}
.org-box:hover {background:#0d6efd; color:#fff; transform:translateY(-4px);}
.org-box strong {display:block; font-size:0.95rem;}
.org-box small {display:block; font-size:0.8rem; color:#555;}

/* === SIDEBAR === */
aside#sp-sidebar-right {
  background:#fff; color:#111827;
  padding:18px; border-radius:12px;
  box-shadow:0 6px 18px rgba(15,23,42,0.06);
}
aside#sp-sidebar-right .sp-module {
  margin-bottom:20px;
}
aside#sp-sidebar-right .sp-module-title {
  color:#1e3a8a; font-weight:800;
  font-size:1.08rem; margin-bottom:10px;
}
aside#sp-sidebar-right .sp-module-content {
  background:linear-gradient(180deg,#60a5fa 0%,#3b82f6 100%);
  color:#fff; padding:16px 18px; border-radius:10px;
}
aside#sp-sidebar-right .sp-module-content a {
  color:#fff; text-decoration:none; transition:color 0.25s;
}
aside#sp-sidebar-right .sp-module-content a:hover {
  color:#facc15; text-shadow:0 0 8px rgba(255,255,255,0.6);
}
@media (max-width:991px){
  #sp-sidebar-right{margin:20px 0 0!important;max-width:100%!important;}
}

/* === SIDEBAR RIGHT ENHANCED (3D ARROW + BORDER PEMISAH) === */
aside#sp-sidebar-right {
  position: relative;
  background: #fff;
  color: #111827;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
  overflow: visible !important; /* pastikan panah bisa keluar */
  z-index: 10; /* naikkan agar tidak ketutup */
}

/* Panah putih 3D di sisi kiri */
aside#sp-sidebar-right::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px; /* lebih dekat biar kelihatan */
  transform: translateY(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 1px solid rgba(229,231,235,0.8); /* putih ke abu-abu */
  box-shadow:
    -2px 2px 4px rgba(0,0,0,0.15),
    inset 1px -1px 2px rgba(255,255,255,0.6);
  z-index: 20; /* pastikan tampil di atas */
}

/* Modul di sidebar */
aside#sp-sidebar-right .sp-module {
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb; /* pemisah antar module */
  padding-bottom: 14px;
}

/* Hilangkan border terakhir */
aside#sp-sidebar-right .sp-module:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Judul module */
aside#sp-sidebar-right .sp-module-title {
  color: #1e3a8a;
  font-weight: 800;
  font-size: 1.08rem;
  margin-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 6px;
}

/* Isi module (menu) */
aside#sp-sidebar-right .sp-module-content {
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
  color: #fff;
  padding: 16px 18px;
  border-radius: 10px;
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.15);
}

/* Link di sidebar */
aside#sp-sidebar-right .sp-module-content a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: all 0.25s ease;
}

/* Hilangkan border terakhir di sub-menu */
aside#sp-sidebar-right .sp-module-content a:last-child {
  border-bottom: none;
}

/* Hover efek link */
aside#sp-sidebar-right .sp-module-content a:hover {
  color: #facc15;
  text-shadow: 0 0 8px rgba(255,255,255,0.6);
  transform: translateX(3px);
}

/* Responsif tetap aman */
@media (max-width: 991px) {
  #sp-sidebar-right {
    margin: 20px 0 0 !important;
    max-width: 100% !important;
  }
  aside#sp-sidebar-right::before {
    display: none; /* sembunyikan panah di mobile */
  }
}

/* === STT YESTOYA COMPONENTS === */
.stt-home, .stt-about, .stt-prodi,
.stt-sambutan .container, .stt-sejarah .container,
.stt-visimisi .container, .stt-education .container {
  background:#fff; border-radius:16px;
  box-shadow:0 8px 22px rgba(0,0,0,0.06);
  padding:30px 25px;
  transition:all 0.3s ease;
}

/* === FIX BORDER + SHADOW UNTUK GAMBAR VISI MISI === */
.stt-visimisi-img {
  border: 1px solid #003366 !important;  /* biru tua elegan */
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease-in-out !important;
  background-color: #fff !important; /* kontras dengan border */
}

.stt-visimisi-img:hover {
  transform: scale(1.02);
  border-color: #0d6efd !important;  /* biru terang saat hover */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25) !important;
}

.stt-about:hover {box-shadow:0 6px 20px rgba(0,0,0,0.08);}
.stt-about img {border-radius:12px; max-height:400px; object-fit:cover;}
@media(max-width:768px){.stt-about{padding:1.5rem;}}

/* === STT PRODI === */
.stt-prodi-inner {
  display:flex; flex-wrap:wrap; gap:1.5rem;
}
.stt-prodi-img {
  width:180px; border-radius:8px;
  box-shadow:0 2px 6px rgba(0,0,0,0.08);
  object-fit:cover; flex-shrink:0;
}
.stt-prodi-content h2 {
  color:#0d6efd; font-size:1.6rem; font-weight:700;
}
.stt-prodi-content h4 {
  position:relative; padding-left:12px; color:#0d6efd;
}
.stt-prodi-content h4::before {
  content:"▸"; position:absolute; left:0; color:#0d6efd;
}
.stt-prodi-content ul {
  list-style:none; padding-left:0; margin-bottom:1rem;
}
.stt-prodi-content ul li {
  padding-left:1.6rem; position:relative; margin-bottom:8px;
}
.stt-prodi-content ul li::before {
  content:"✔"; color:#198754; position:absolute; left:0;
}

/* Responsif: gambar di atas teks */
@media(max-width:768px){
  .stt-prodi-inner{flex-direction:column; align-items:center;}
  .stt-prodi-img{margin-bottom:1rem; max-width:60%;}
}

/* === SECTION: BODY, PRODI, STRUKTUR === */
#sp-body, #sp-prodi, #sp-struktur-organisasi {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  padding: 28px 22px;
  margin: 20px 100px 30px; /* ⬅ margin kiri kanan 50px */
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover effect */
#sp-body:hover, #sp-prodi:hover, #sp-struktur-organisasi:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* Image responsif */
#sp-body img, #sp-prodi img, #sp-struktur-organisasi img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* === Tambahan agar #sp-prodi kontennya rata tengah === */
#sp-prodi {
  text-align: center;              /* teks di tengah */
  display: flex;
  flex-direction: column;
  align-items: center;             /* elemen dalam (gambar, paragraf, dsb) ke tengah */
  justify-content: center;
}

/* Responsif */
@media (max-width: 768px) {
  #sp-body, #sp-prodi, #sp-struktur-organisasi {
    padding: 20px 15px;
    margin: 15px 20px 25px; /* lebih kecil di mobile */
  }
}

@media (max-width: 480px) {
  #sp-body, #sp-prodi, #sp-struktur-organisasi {
    padding: 15px 10px;
    margin: 10px 10px 20px;
  }
}

/* === DOSEN SLIDER === */
.dosen-slider {
  position: relative;
}
.dosen-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.dosen-slide.active {
  opacity: 1;
}
.dosen-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 6px solid #fff;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.dosen-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.dosen-bio {
  max-width: 350px;
  color: #555;
  line-height: 1.5;
  text-align: center;
}

/* === SCROLL ANIMATION === */
.fade-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.fade-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === FIX: tampilkan panah 3D sidebar kanan lagi === */
#sp-main-body .row,
#sp-main-body .sp-column {
  overflow: visible !important;   /* biar pseudo-element tidak terpotong */
  position: relative !important;
  z-index: auto !important;
}

/* Pastikan sidebar di atas layer lain */
aside#sp-sidebar-right {
  position: relative !important;
  z-index: 20 !important;
  overflow: visible !important;
}

/* Revisi posisi panah supaya terlihat */
aside#sp-sidebar-right::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px; /* keluar sedikit dari container */
  transform: translateY(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow:
    -2px 2px 4px rgba(0, 0, 0, 0.15),
    inset 1px -1px 2px rgba(255, 255, 255, 0.6);
  z-index: 25 !important;
}

/* Sembunyikan di mobile */
@media (max-width: 991px) {
  aside#sp-sidebar-right::before {
    display: none !important;
  }
}

/* === FOOTER STYLE === */
.footer-info {
  background-color: #1D3A6B; /* biru tua elegan */
  color: #ffffff;
  border-top: 4px solid #f1c40f; /* garis kuning atas */
}

.footer-title {
  color: #f1c40f;
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  margin-bottom: 1rem;
}

/* Strip kuning panjang setelah judul */
.footer-title::after {
  content: "";
  display: inline-block;
  width: 60%;
  height: 2px;
  background-color: #f1c40f;
  margin-left: 10px;
  vertical-align: middle;
  opacity: 0.7;
}

/* Link di footer */
.footer-links p {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links a:hover {
  color: #f1c40f;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
}

/* Garis pemisah antar menu */
.footer-links hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 6px 0;
}

/* Map container */
.map-container iframe {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* Ikon Sosial Media */
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social .social-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
  background-color: #f1c40f;
  color: #002147;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
}

/* Responsif */
@media (max-width: 768px) {
  .footer-title::after {
    width: 40%;
  }
  .footer-info {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
}

/* === TOP BAR === */
#sp-top-bar {
  background-color: #1D3A6B !important;
  color: #ffffff !important;
}

#sp-top-bar a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

#sp-top-bar a:hover {
  color: #f1c40f !important; /* kuning elegan saat hover */
}

/* === BOTTOM (FOOTER) === */
#sp-bottom {
  background-color: #1D3A6B !important;
  color: #ffffff !important;
  padding-top: 40px;
  padding-bottom: 40px;
}

#sp-bottom a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

#sp-bottom a:hover {
  color: #f1c40f !important;
}

/* === REVISI FINAL SP-MAIN-BODY === */
#sp-main-body {
  padding-left: 50px !important;
  padding-right: 50px !important;
  margin-left: 50px !important;
  margin-right: 50px !important;
  box-sizing: border-box;
}

/* Tablet */
@media (max-width: 991px) {
  #sp-main-body {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
}

/* === FIX AKHIR: MOBILE RAPI & ADA SEDIKIT SPACE === */
@media (max-width: 576px) {
  #sp-main-body,
  #sp-main-body .container,
  #sp-main-body .row,
  #sp-main-body .sp-column,
  #sp-main-body .container-inner {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

/* === MODUL TITLE DENGAN STRIPPING KUNING === */
.sp-module-title {
  position: relative;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1D3A6B; /* biru elegan */
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 16px;
  text-transform: uppercase; /* 🔹 ubah semua huruf jadi kapital */
  letter-spacing: 0.5px; /* sedikit spasi agar lebih tegas */
}

/* Garis kuning di sisi kanan judul */
.sp-module-title::after {
  content: "";
  display: inline-block;
  width: 80px; /* panjang garis */
  height: 3px;
  background-color: #FFD700; /* kuning emas */
  margin-left: 12px;
  vertical-align: middle;
  border-radius: 2px;
  transform: translateY(-2px);
}

/* Jika modul di tengah, garis tetap sejajar */
.sp-module-title.text-center::after {
  display: block;
  margin: 6px auto 0;
}

/* Responsive kecil — garis lebih pendek */
@media (max-width: 576px) {
  .sp-module-title::after {
    width: 50px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .sp-column {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Mobile — lebih rapat tapi masih ada sedikit ruang */
@media (max-width: 576px) {
  .sp-column {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* === MOD ARTICLES CATEGORY - RAPI DAN ELEGAN === */
ul.mod-articlescategory {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

ul.mod-articlescategory li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0; /* lebih rapat */
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* garis pemisah halus */
}

/* Teks tautan */
ul.mod-articlescategory li a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
}

ul.mod-articlescategory li a:hover {
  color: #FFD700;
  text-shadow: 0 0 6px rgba(255,215,0,0.5);
}

/* === Collapsible untuk modul kategori === */
.sp-module .mod-articlescategory.category-module.mod-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* === Judul grup (mis: October 2025) === */
.sp-module .mod-articles-category-group {
  position: relative;
  font-weight: 600;
  color: #FFD700;
  cursor: pointer;
  padding: 6px 0 6px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color 0.3s ease;
}

/* Icon + di kiri */
.sp-module .mod-articles-category-group::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 6px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

/* Saat terbuka (class open di li parent) */
.sp-module .mod-articlescategory.category-module.mod-list > li.open > .mod-articles-category-group::before {
  transform: rotate(45deg);
}

/* Sembunyikan list artikel */
.sp-module .mod-articlescategory.category-module.mod-list > li > ul {
  list-style: none;
  padding-left: 20px;
  margin: 6px 0;
  display: none;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  animation: none;
}

/* Tampilkan saat parent open */
.sp-module .mod-articlescategory.category-module.mod-list > li.open > ul {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-5px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Artikel di dalam grup */
.sp-module .mod-articles-category-title {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.sp-module .mod-articles-category-title:hover {
  color: #FFD700;
  text-shadow: 0 0 6px rgba(255,215,0,0.5);
}

/* === COLLAPSIBLE GROUP BERITA (PERBAIKAN POSISI LIST & ANIMASI) === */
.sp-module .mod-articlescategory.category-module.mod-list > li {
  display: block; /* tiap group berdiri sendiri */
  margin-bottom: 8px;
}

/* Judul group (mis: "October 2025") */
.sp-module .mod-articles-category-group {
  position: relative;
  font-weight: 600;
  color: #FFD700;
  cursor: pointer;
  padding: 8px 0 8px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.3s ease;
  display: block;
}

/* Icon + di kiri */
.sp-module .mod-articles-category-group::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

/* Saat terbuka (ganti + jadi x / rotate 45 derajat) */
.sp-module .mod-articlescategory.category-module.mod-list > li.open > .mod-articles-category-group::before {
  transform: rotate(45deg);
}

/* === LIST ARTIKEL DI BAWAH GROUP === */
.sp-module .mod-articlescategory.category-module.mod-list > li > ul {
  list-style: none;
  padding-left: 22px;
  margin: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.35s ease;
}

/* Saat terbuka, turun vertikal */
.sp-module .mod-articlescategory.category-module.mod-list > li.open > ul {
  max-height: 500px;
  opacity: 1;
  margin-top: 4px;
}

/* Artikel di dalam list */
.sp-module .mod-articlescategory.category-module.mod-list > li > ul li {
  padding: 5px 0;
}

.sp-module .mod-articlescategory.category-module.mod-list > li > ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.sp-module .mod-articlescategory.category-module.mod-list > li > ul li a:hover {
  color: #FFD700;
  text-shadow: 0 0 6px rgba(255,215,0,0.5);
}

/* Hilangkan panah › pada LI yang punya grup (supaya tidak dobel dengan +) */
ul.mod-articlescategory li:has(> .mod-articles-category-group)::before {
  content: none !important;
}

/* === MATIKAN PANAH LAMA DI LI === */
ul.mod-articlescategory li::before {
  content: none !important;
}

/* === STYLE UNTUK LINK ARTIKEL === */
ul.mod-articlescategory .mod-articles-category-title {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* jarak antara panah dan teks */
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* === PANAH DI DEPAN TEKS === */
ul.mod-articlescategory .mod-articles-category-title::before {
  content: "›";
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Tambahkan jarak dari teks */
  margin-right: 8px;

  /* Efek glow lembut di panah */
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8),
               0 0 12px rgba(0, 128, 255, 0.6);

  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

/* === EFEK HOVER === */
ul.mod-articlescategory .mod-articles-category-title:hover {
  color: #ffe082; /* warna teks saat hover */
}

/* Panah ikut animasi kecil waktu hover */
ul.mod-articlescategory .mod-articles-category-title:hover::before {
  transform: translateX(4px); /* panah geser sedikit ke kanan */
  text-shadow: 0 0 8px rgba(255, 255, 255, 1),
               0 0 16px rgba(0, 128, 255, 0.8);
}

.mod-articlescategories.categories-module.mod-list li.hidden-category {
  display: none !important;
}

ul.latestnews li span,
ul.latestnews li time {
    color: #FFA500 !important;
    font-weight: 500;
}

ul.latestnews li {
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

ul.latestnews li:last-child {
    border-bottom: none; /* hilangkan garis di item terakhir */
}

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 25px auto 40px;
}

.title-divider .line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, #FFD700, transparent);
  opacity: 0.8;
}

.title-divider .icon {
  width: 28px;
  height: 28px;
  margin: 0 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFD700' viewBox='0 0 16 16'%3E%3Cpath d='M8.211.5a.5.5 0 0 0-.422 0L.5 4l7.289 3.5L15.078 4 8.211.5zM15.5 5.308v3.12c0 .126-.07.24-.184.299l-6.79 3.252a.5.5 0 0 1-.452 0L1.285 8.727A.339.339 0 0 1 1.1 8.428V5.308l6.789 3.26a.5.5 0 0 0 .422 0l7.189-3.26zM4 9.694v2.456c0 .105.06.203.155.256l3.5 2a.5.5 0 0 0 .49 0l3.5-2A.287.287 0 0 0 12 12.15V9.694l-3.5 1.63a.5.5 0 0 1-.422 0L4 9.694z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
}

.stt-legalitas {
   padding-left: 20px !important;
   padding-right: 20px !important;
}

/* === SIDEBAR TOGGLE SYSTEM (MOBILE ONLY) === */
@media (max-width: 991px) {

  /* Wrapper sidebar collapsible */
  .sidebar-collapsible {
    width: 100%;
    margin-bottom: 1rem;
  }

  /* Header tombol collapse */
  .sidebar-collapse-header {
    width: 100%;
    background: #1D3A6B;
    color: #FFD700;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 14px;
    border: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    transition: background 0.25s ease;
  }

  .sidebar-collapse-header:hover {
    background: #16305A;
    color: #fff;
  }

  .sidebar-collapse-header .icon {
    display: inline-block;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
  }

  /* Sidebar content (isi card) */
  #sp-sidebar-right {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
  }

  /* Saat dibuka */
  #sp-sidebar-right.open {
    max-height: 1000px; /* sesuaikan jika konten panjang */
    opacity: 1;
    padding: 10px 14px;
  }

  /* Pastikan urutan visual di atas sp-component */
  #sp-main-body .row {
    display: flex !important;
    flex-direction: column !important;
  }

  #sp-sidebar-right {
    order: -1 !important;
  }
}

/* === LOGO DI HEADER === */
#sp-header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px !important;   /* tinggi header */
  padding: 0 !important;
  margin: 0 auto !important;
  overflow: hidden;            /* cegah logo keluar area */
}

#sp-header .logo img,
#sp-header .sp-default-logo,
#sp-header .sp-retina-logo {
  height: 200px !important;    /* tinggi logo desktop */
  width: auto !important;
  object-fit: contain;
  display: block;
  line-height: 0 !important;
  transition: all 0.3s ease-in-out;
}

/* Saat sticky header aktif (mengecil saat scroll) */
.sticky-header #sp-header,
.sticky-header #sp-header .logo {
  height: 80px !important;
}
.sticky-header #sp-header .logo img {
  height: 180px !important;
}

/* === MOBILE VERSION === */
@media (max-width: 768px) {
  #sp-header,
  #sp-header .logo {
    height: 200px !important;   /* tinggi header mobile */
  }

  #sp-header .logo img,
  #sp-header .sp-default-logo,
  #sp-header .sp-retina-logo {
    height: 55px !important;   /* logo sedikit lebih kecil */
  }
}

/* Pastikan tidak melebihi area #sp-logo (Helix wrapper default) */
#sp-logo {
  overflow: hidden;
  height: 100% !important;
}

/* === FIX KHUSUS UNTUK LAYAR KECIL (≤ 480px) === */
@media (max-width: 480px) {

  /* Kurangi padding global */
  body, #sp-main-body, .container, .sp-column, .container-inner {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  /* Kurangi margin antar section */
  #sp-body, #sp-prodi, #sp-struktur-organisasi,
  .program-studi, .struktur-wrapper {
    margin: 8px 0 15px !important;
    padding: 15px 10px !important;
    border-radius: 10px !important;
  }

  /* Font heading lebih kecil */
  h1, h2, h3 {
    font-size: 1.2rem !important;
  }
  h4, h5, h6 {
    font-size: 1rem !important;
  }

  /* Menu & modul judul */
  .sp-module-title {
    font-size: 1.1rem !important;
  }

  /* Hero image lebih pendek agar tidak memenuhi layar */
  .hero-tentang .hero-image {
    height: 45vh !important;
    padding: 10px !important;
  }

  /* Sidebar padding diperkecil */
  aside#sp-sidebar-right {
    padding: 12px !important;
    border-radius: 8px !important;
  }

  /* Footer padding & teks lebih kecil */
  footer.site-footer {
    padding: 30px 10px 25px !important;
  }
  footer.site-footer .copyright {
    font-size: 0.8rem !important;
  }

  /* Pastikan elemen gambar tidak overflow */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Hapus efek hover berat (supaya tidak nge-lag di HP kecil) */
  .studi-card:hover, .org-box:hover, aside#sp-sidebar-right .sp-module-content a:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* === STYLING SECTION KHUSUS DENGAN PREFIX .stt- (MOBILE ONLY) === */
@media (max-width: 430px) {

  /* Universal reset untuk semua section stt-* */
  [class^="stt-"],
  [class*=" stt-"],
  .row {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Jarak antar section */
  [class^="stt-"],
  [class*=" stt-"] {
    margin-bottom: 20px !important;
  }

  /* Hilangkan border/shadow untuk section tertentu */
  .stt-legalitas,
  .stt-home,
  .stt-hero,
  .stt-about,
  .stt-mission {
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: none !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  /* === .stt-sambutan === */
  .stt-sambutan {
    margin: 0 !important;
    padding: 10px !important;
  }
  .stt-sambutan .container,
  .stt-sambutan .container-fluid,
  .stt-sambutan .container-inner {
    margin: 0 !important;
    padding: 0 !important;
  }
  #sp-main-body .stt-sambutan {
    margin-left: -10px !important;
    margin-right: -10px !important; /* sejajarkan ke kanan juga */
  }
  .stt-sambutan .row {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .stt-sambutan .col-md-4,
  .stt-sambutan .col-md-8 {
    width: 100% !important;
    padding: 0 !important;
  }

  /* === .stt-education & .stt-visimisi === */
  .stt-education,
  .stt-visimisi {
    margin: 0 !important;
    padding: 10px !important;
  }
  .stt-education .container,
  .stt-education .container-fluid,
  .stt-education .container-inner,
  .stt-visimisi .container,
  .stt-visimisi .container-fluid,
  .stt-visimisi .container-inner {
    margin: 0 !important;
    padding: 0 !important;
  }
  #sp-main-body .stt-education,
  #sp-main-body .stt-visimisi {
    margin-left: -10px !important;
    margin-right: -10px !important; /* sejajarkan kanan-kiri */
  }
  .stt-education .row,
  .stt-visimisi .row {
    flex-direction: column !important;
    gap: 1.2rem !important;
    text-align: left !important;
  }
  .stt-education .col-md-4,
  .stt-education .col-md-8,
  .stt-visimisi .col-md-4,
  .stt-visimisi .col-md-8 {
    width: 100% !important;
    padding: 0 !important;
  }
  .stt-education img,
  .stt-visimisi img {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }
  .stt-education h2,
  .stt-visimisi h2 {
    font-size: 1.4rem !important;
    margin-bottom: 12px !important;
    border-bottom: 2px solid #FFD700 !important;
    padding-bottom: 4px !important;
  }
  .stt-education p,
  .stt-visimisi p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    text-align: justify !important;
    margin-bottom: 12px !important;
  }

  /* Kotak isi (.stt-box) */
  .stt-education .stt-box,
  .stt-visimisi .stt-box {
    box-shadow: none !important;
    border: 1px solid #e0e0e0 !important;
    padding: 12px !important; /* padding isi kotak */
    border-radius: 8px !important;
    background: #fafafa !important;
  }
  .stt-education .stt-box h5,
  .stt-visimisi .stt-box h5 {
    font-size: 1rem !important;
    margin-bottom: 6px !important;
  }
  .stt-education .stt-box p,
  .stt-visimisi .stt-box p,
  .stt-visimisi .stt-box ul {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    padding-left: 16px !important;
  }
}


/* Jika link aktif di dalam li */
#sp-sidebar-right .mod-articlescategory li:has(a.mod-articles-category-title.active) a.mod-articles-category-title {
  color: #FFD700 !important; /* kuning */
  font-weight: 600;
}

#sp-sidebar-right .mod-articlescategories li.active > a {
  color: #FFD700 !important; /* kuning emas saat aktif */
  font-weight: 600;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.6); /* efek glow lembut */
}
#sp-sidebar-right .mod-articlescategory li a.mod-articles-category-title.active {
  color: #FFD700 !important; /* kuning emas */
  font-weight: 600;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
}

/* === JUDUL GROUP (mis. October 2025) — tetap putih tanpa highlight === */
#sp-sidebar-right .mod-articles-category-group {
  color: #fff !important;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 8px;
  padding-bottom: 4px;
}
/* === NONAKTIFKAN highlight untuk item di dalam CATEGORY GROUP === */
#sp-sidebar-right .mod-articlescategory li.open .mod-articles-category-group ~ ul a.mod-articles-category-title.active {
  color: #fff !important;          /* tetap putih */
  font-weight: normal !important;  /* hilangkan tebal */
  text-shadow: none !important;    /* hilangkan efek glow */
}

.stt-news-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stt-news-slider .slider-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.4); /* lapisan hitam tipis */
}

.stt-latest-news {
  background-color: #fff;
  color: #1d3a6b;
  height: 100%;
  overflow-y: auto;
}

.stt-latest-news h4 {
  padding: 16px;
  margin: 0;
  border-bottom: 1px solid #ddd;
}

.stt-latest-news ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stt-latest-news ul li {
  border-bottom: 1px solid #eee;
}

.stt-latest-news ul li a {
  display: block;
  padding: 12px 16px;
  color: #1d3a6b;
  text-decoration: none;
}

.stt-latest-news ul li a:hover {
  background-color: #f5f5f5;
}

/* === Sidebar Kanan STT Yestoya (#sp-right) === */
#sp-right {
    background-color: rgba(15, 80, 150, 0.95); /* biru lebih gelap */
    padding: 5px 5px 5px 5px; 
    margin: 0;
    border: none;
    box-shadow: none;
}

/* Module container mepet semua */
#sp-right .sp-module {
    padding: 0;
    margin-top: 20px;
    border: none;
}

/* Judul module dengan badge orange gelap */
#sp-right .sp-module-title {
    display: flex;
    justify-content: center; /* horizontal center */
    text-align: justify; /* agar jika lebih dari 1 baris, tiap baris rata kiri-kanan */
    background-color: #FF6600;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 600;
    padding-bottom: 5px;
    margin: 0;
    border-radius: 0;
}

/* List artikel */
#sp-right .latestnews {
    list-style: none; /* hilangkan bullet */
    padding: 0px 0px 15px 15px; /* padding mepet */
    margin-left: 15px; /* padding mepet */
    border: none; /* hilangkan garis horizontal */
}

#sp-right .latestnews li {
    padding: 0; /* jarak antar list sedikit */
    border: none;
}

#sp-right .sp-module-title::after {
    content: none !important;
}


#sp-right .latestnews li a {
    color: #ffffff; /* teks putih */
    text-decoration: none;
    display: block;
    padding: 0px 0px 15px 15px; /* padding mepet */
    margin: 0px 0px 0px 15px; /* margin mepet */
    border: none;
}

#sp-right .latestnews li a span {
    display: none; /* hilangkan tanggal */
}

/* Hover effect */
#sp-right .latestnews li a:hover {
    color: #ffd700; /* highlight saat hover */
}

/* === Responsif Mobile === */
@media (max-width: 991px) {
    #sp-right {
        width: 100%;
        padding: 0;
        margin-top: 10px;
        border-radius: 10px;
    }
    
    #sp-body {
        width: 100%;
        padding: 0;
        margin-top: 10px;
        border-radius: 10px;
    }
    
    #sp-right .sp-module {
    padding-top: 5px;
    margin-top: 20px;
    border: none;
    }

    #sp-right .sp-module-title {
    display: flex;
    justify-content: center; /* horizontal center */
    text-align: justify; /* agar jika lebih dari 1 baris, tiap baris rata kiri-kanan */
    background-color: #FF6600;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 600;
    padding-bottom: 5px;
    margin: 0;
    border-radius: 0;
    }

    #sp-right .latestnews li {
        padding: 3px 0;
    }
}

@media (max-width: 430px) {
    #sp-right {
        width: 100%;
        padding: 0;
        margin-top: 10px;
        border-radius: 10px;
    }
    
    #sp-body {
        width: 100%;
        padding: 0;
        margin-top: 10px;
        border-radius: 10px;
    }
    
    #sp-right .sp-module {
    padding-top: 5px;
    margin-top: 20px;
    border: none;
    }

    #sp-right .sp-module-title {
    display: flex;
    justify-content: center; /* horizontal center */
    text-align: justify; /* agar jika lebih dari 1 baris, tiap baris rata kiri-kanan */
    background-color: #FF6600;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 600;
    padding-bottom: 5px;
    margin: 0;
    border-radius: 0;
    }

    #sp-right .latestnews li {
        padding: 3px 0;
    }
    
    #sp-slider {
        background-image: url('images/bg-yestoya6.png') !important;
        background-size: contain !important;
        background-position: left !important;
        background-repeat: repeat-x !important;
    }
}
/* === SECTION: LATEST NEWS HOME === */
#sp-latest-news-home {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  padding: 28px 22px;
  margin: 20px 100px 30px;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#sp-latest-news-home:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* Gambar di dalam section */
#sp-latest-news-home img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Responsif */
@media (max-width: 768px) {
  #sp-latest-news-home {
    padding: 20px 15px;
    margin: 15px 20px 25px;
  }
}

@media (max-width: 480px) {
  #sp-latest-news-home {
    padding: 15px 10px;
    margin: 10px 10px 20px;
  }
}

#sp-title,
.sp-page-title {
  background-image: url("/images/images/banner-page-title.png") !important;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* === PAGE TITLE HEADING === */
.sp-page-title-heading {
  color: #1a4d9c !important; /* biru akademik elegan */
  font-weight: 700;
  padding-left: 15px !important;
  text-shadow:
    0.5px 0.5px 0 #fff,
    -0.5px -0.5px 0 #fff,
    0 0 3px rgba(255, 255, 255, 0.5); /* border putih & bayangan halus */
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* === BREADCRUMB STYLE === */
.mod-breadcrumbs__wrapper,
.mod-breadcrumbs__item a {
  color: #1a4d9c !important; /* biru akademik */
  text-shadow:
    0.5px 0.5px 0 #fff,
    -0.5px -0.5px 0 #fff,
    0 0 2px rgba(255, 255, 255, 0.4); /* border halus & lembut */
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* === LINK AKTIF (halaman sekarang) === */
.mod-breadcrumbs__item.active span {
  color: #ff9d33 !important; /* oranye lembut */
  text-shadow:
    0.5px 0.5px 0 #fff,
    -0.5px -0.5px 0 #fff,
    0 0 3px rgba(255, 157, 51, 0.3); /* glow halus oranye */
  font-weight: 600;
}

/* === HOVER BREADCRUMB === */
.mod-breadcrumbs__item a:hover {
  color: #ff8c00 !important; /* oranye saat hover */
  text-shadow:
    0 0 2px rgba(255, 140, 0, 0.4),
    0 0 4px rgba(255, 140, 0, 0.3);
}

/* === ICON / DIVIDER === */
.mod-breadcrumbs__divider span {
  color: #1a4d9c !important;
  text-shadow:
    0.5px 0.5px 0 #fff,
    -0.5px -0.5px 0 #fff;
}

@media (max-width: 991px) {
  .sp-page-title {
    background-image: url("/images/images/banner-page-title.png") !important;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 50px 15px 30px; /* agar teks tidak mepet */
  }

  .sp-page-title-heading {
    font-size: 1.6rem;
    padding-left: 15px !important;
    text-align: left;
  }

  .mod-breadcrumbs__wrapper {
    justify-content: center;
    text-align: center;
  }

  /* === KECILKAN FONT BREADCRUMB === */
  .mod-breadcrumbs__item,
  .mod-breadcrumbs__item a,
  .mod-breadcrumbs__item span {
    font-size: 0.75rem !important;
  }
}

/* === STRUKTUR ORGANISASI (DIBUNGKUS BOX) === */
.custom-org-section {
  background: #f9fbff;
  border: 2px solid #e0e6f2;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(29, 58, 107, 0.08);
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* === CHART STYLE === */
.custom-org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.custom-org-level {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: relative;
  margin-bottom: 50px;
}

.custom-org-box {
  display: flex;
  flex-direction: column;
  align-items: center; /* posisi horizontal tengah */
  justify-content: center; /* posisi vertikal tengah (jika perlu) */
  text-align: center;
  background: #fff;
  border: 1px solid #1a4d9c;
  border-radius: 12px;
  padding: 15px;
  width: 180px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.custom-org-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* === FOTO STRUKTUR === */
.custom-org-photo {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 3px solid #1a4d9c;
  transition: all 0.3s ease;
}

/* === GARIS PENGHUBUNG === */
.custom-org-connector-vertical {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 40px;
  background: #1a4d9c;
  transform: translateX(-50%);
  z-index: 0;
}

.custom-org-connector-horizontal {
  content: "";
  position: absolute;
  top: -25px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #1a4d9c;
  z-index: 0;
}

/* === CAROUSEL === */
.custom-dosen-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.custom-carousel-main {
  text-align: center;
  position: relative;
}

.custom-carousel-focus {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.custom-carousel-focus img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 4px solid #1a4d9c;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.custom-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s;
}

.custom-thumb.active,
.custom-thumb:hover {
  border-color: #1a4d9c;
  opacity: 1;
  transform: scale(1.05);
}

/* Tombol carousel */
.custom-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1a4d9c;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.custom-carousel-btn:hover {
  background: #ffb800;
}

.custom-prev { left: 10px; }
.custom-next { right: 10px; }

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .custom-org-level {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
  }
  .custom-org-box {
    width: 150px;
    padding: 10px;
    font-size: 0.9rem;
  }
  .custom-org-photo {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .custom-org-section {
    padding: 25px 10px;
  }
  .custom-org-level {
    flex-wrap: wrap;
    gap: 15px;
  }
  .custom-org-box {
    width: 130px;
    padding: 8px;
    font-size: 0.85rem;
  }
  .custom-org-photo {
    width: 50px;
    height: 50px;
  }
  .custom-org-connector-horizontal {
    top: -15px;
  }
  .custom-org-connector-vertical {
    height: 25px;
  }

  /* Carousel */
  .custom-carousel-focus img {
    width: 130px;
    height: 130px;
  }

  .custom-thumb {
    width: 55px;
    height: 55px;
    margin: 3px;
  }

  .custom-prev { left: 5px; }
  .custom-next { right: 5px; }
}

@media (max-width: 480px) {
  .custom-org-box {
    width: 110px;
    padding: 6px;
    font-size: 0.8rem;
  }
  .custom-org-photo {
    width: 45px;
    height: 45px;
  }
  .custom-carousel-focus img {
    width: 110px;
    height: 110px;
  }
  .custom-thumb {
    width: 45px;
    height: 45px;
  }
  .custom-carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

.com-content-article__body {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  display: block;
  position: relative;
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* agar tabel tetap punya lebar scroll */
}

/* === FOOTER STT YESTOYA === */
#sp-footer {
  text-align: center;            /* teks di tengah */
  display: flex;
  justify-content: center;       /* isi di tengah horizontal */
  align-items: center;           /* isi di tengah vertikal */
  flex-direction: column;
  /* padding: 15px 0; */               /* jarak atas bawah */
  background-color: #0f5096; /* contoh: biru tua */
}

#sp-footer .sp-column {
  text-align: center;
}

#sp-footer .sp-copyright {
  display: inline-block;
  color: #fff;                   /* ubah sesuai warna tema kamu */
  font-size: 14px;
  letter-spacing: 0.5px;
}

@media (max-width: 576px) {
  #sp-footer .sp-copyright {
    font-size: 13px;
  }
}

/* Thumbnail SVG */
.svg-wrapper {
  display: inline-block;
  position: relative;
  cursor: zoom-in;
}

.svg-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.svg-plus-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(0,0,0,0.5);
  pointer-events: none;
}

/* Fullscreen overlay, default hidden */
.svg-zoom-fullscreen {
  display: none;
  position: fixed;
  top:0; left:0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  text-align: center;
}

/* Menampilkan overlay saat hover parent */
.svg-wrapper:hover + .svg-zoom-fullscreen,
.svg-zoom-fullscreen:hover {
  display: flex;
}

.svg-zoom-fullscreen img {
  max-width: 95%;
  max-height: 95%;
  margin: auto;
}

/* Tombol close */
.close-zoom {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
