

a {
  text-decoration: none !important;
}


/*******************************
   KEGIATAN STYLE
 ******************************/  
.img-kegiatan {
  aspect-ratio: 5 / 5; /* Atau 16 / 9, atau 1 / 1 tergantung keinginan */
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-kegiatan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.img-kegiatan:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}





/***************************************************************************************/


/* ANIMASI FADE IN UP */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* KOTAK GAMBAR BERITA */


.judul-feed {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  margin-bottom: 2px;
  line-height: 1.3;
}

.judul-feed a:hover{
  color: #333 !important;
  visibility: visible !important;
}


.tanggal-feed {
  font-size: 12px;
  color: #888;
}    

.img-feed:hover {
  filter: brightne
ss(1.1) saturate(1.2);
  transform: scale(1.02);
}


.video-thumbnail {
    position: relative;
    width: 100%;
	height: 515px;
    cursor: pointer;
    overflow: hidden;
    }

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    }

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 65px;
    background-color: red;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    }

.play-button::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 22px solid white;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 5px;
    }
.ig-bawah-list {
    font-size: 20px;
    color: #888;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
    }
.gbr-bawah-news {
    weight:30px;
	height:30px;
    }
.folderin{
	width: 30px; 
	height: 30px;
}
.data-diklat {
    font-size: 12px;
    color: #888;
    font-weight: bold;
    text-transform: uppercase;
	line-height:1;
    }
.statistik-kunjung {
    font-size: 16px;
    color: #888;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
	text-align: center;
    }

.fab {
  background-color: #191970 !important;
  font-size: 18px !important;
  color: white !important;
  padding: 10px 20px !important;
  display: inline-block !important;
  border-radius: 10px !important;
  font-weight: bold !important; /* agar tetap bold seperti <strong> */
}


 /* ================= VIEW MOBILE ===================== */  
@media (max-width: 767.98px) and (orientation: portrait) {

  /* ===============================
     GAMBAR BERITA UTAMA
     =============================== */
  .img-berita {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 4px solid #ffffff;
    display: block;
    margin: 0 auto;
  }

  /* ===============================
     GAMBAR FEED IG (ATAS & BAWAH)
     =============================== */
  .ig-feed-bawah img,
  .ig-feed-top img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  /* ===============================
     KONTAINER FEED
     =============================== */
  .ig-feed-bawah,
  .ig-feed-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
  }

  /* ===============================
     TEKS & CAPTION
     =============================== */
  .judul-artikel,
  .caption-feed,
  .ig-caption p,
  #ig-berita-utama-caption p {
    font-size: 12px !important;
    line-height: 1.4;
    color: #333;
    text-align: left;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ===============================
     JUDUL TRENDING
     =============================== */
  .trending-tittle {
    margin-top: 5px !important;
    padding: 0 !important;
  }

  /* ===============================
     HOVER GAMBAR (AMAN DI HP)
     =============================== */
  .img-kegiatan {
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .img-kegiatan:hover {
    filter: brightness(1.05) saturate(1.1);
    transform: scale(1.02);
  }

  /* ===============================
     TEKS BAWAH
     =============================== */
  .ig-bawah-list {
    font-size: 13px;
    color: #888;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
    padding: 10px;
  }

  .data-diklat {
    font-size: 12px;
    color: #888;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  /* ===============================
     ICON & GAMBAR KECIL
     =============================== */
  .gbr-bawah-news,
  .folderin {
    width: 20px;
    height: 20px;
  }

  /* ===============================
     SEMBUNYIKAN ANIMASI BERAT
     =============================== */
  .trending-animated {
    display: none !important;
  }

  /* ===============================
     TOMBOL / FAB
     =============================== */
  .fab {
    background-color: #191970 !important;
    font-size: 12px !important;
    color: #fff !important;
    padding: 10px 18px !important;
    display: inline-block !important;
    border-radius: 10px !important;
    font-weight: bold !important;
  }

}




   /* Overlay hitam transparan dengan animasi fade */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;             /* tetap flex supaya align center berlaku */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 40px 20px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;      /* agar klik tidak aktif sebelum muncul */
    transition: opacity 0.3s ease;
  }

  /* Kotak isi popup dengan animasi zoom */
  .popup-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    aspect-ratio: 3/4;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transform: scale(0.7);
    transition: transform 0.3s ease;
  }

  /* Gambar menyesuaikan kontainer */
  .popup-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  /* Tombol tutup */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4c4c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    cursor: pointer;
    line-height: 36px;
    text-align: center;
    z-index: 10000;
    transition: background 0.3s;
  }

  .close-btn:hover {
    background: #e60000;
  }

  @media (max-width: 600px) and (orientation: portrait) {
  .popup-content {
    width: 100%;
    max-width: none;
    height: clamp(60vh, 68vh, 75vh);    aspect-ratio: auto;   /* bebas menyesuaikan */
    border-radius: 10px;
	background: #f4f6f9;
  }

  .popup-content img {
    object-fit: contain;  /* gambar utuh */
  }

  .close-btn {
    width: 34px;
    height: 34px;
    font-size: 20px;
    top: 8px;
    right: 8px;
  }
}

  /* Saat popup aktif */
  .popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .popup-overlay.active .popup-content {
    transform: scale(1);
  }
  
 /* Area klik transparan */
.klik-jadwal{
  position: absolute;

  bottom: 75px;              
  left: 50%;
  transform: translateX(-50%);

  width: 220px;
  height: 46px;

  background: transparent;
  cursor: pointer;
  z-index: 5;
}

  




/* ===== HEADER TOP ===== */
.header-top {
  font-size: 13px;
}

.header-top .row {
  min-height: 42px; /* tinggi bar stabil */
}

/* ===== ICON ===== */
.header-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

/* ===== KIRI ===== */
.header-info-left {
  display: flex;
  align-items: center;
  color: #fff;
  white-space: nowrap;
}

/* ===== JAM ===== */
#clock {
  font-weight: 600;
  color: red;
}

/* ===== KANAN ===== */
.header-info-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #FFD700;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  transform: translateX(-100px); /* geser teks 100px ke kiri */
  position: relative;            /* penting untuk shimmer */
}

.header-info-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #FFD700;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

/* Geser hanya desktop */
@media (min-width: 992px) {
  .header-info-right {
    transform: translateX(-100px);
  }
}

/* ===== SHIMMER / KILAU EMAS ===== */
.header-info-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}

/* Gerakan shimmer */
@keyframes shimmer {
  0%   { left: -120%; }
  40%  { left: 120%; }
  100% { left: 120%; }
}

/* ===== GLOW EMAS LEMBUT ===== */
@keyframes glowPulse {
  0% {
    text-shadow: 0 0 5px rgba(255,215,0,0.4);
  }
  50% {
    text-shadow:
      0 0 12px rgba(255,215,0,0.9),
      0 0 24px rgba(255,215,0,0.6);
  }
  100% {
    text-shadow: 0 0 5px rgba(255,215,0,0.4);
  }
}

.header-info-right span {
  animation: glowPulse 2s ease-in-out infinite;
}

/* ===== MOBILE ===== */
@media (max-width: 1200px) {
  .header-info-left,
  .header-info-right {
    justify-content: center;
    text-align: center;
  }

  .header-info-right {
    transform: translateX(0); /* reset geser untuk mobile */
    padding-left: 0;
  }

  .welcome-text {
    white-space: normal;
  }
}



/*========================================== */
/* == css hover header banner kemendagri === */
/*========================================== */
.banner-hover {
  display: inline-block;
  transition: transform .35s ease;
}

.banner-hover img {
  transition: box-shadow .35s ease;
  border-radius: 12px; /* opsional, hapus kalau tak mau */
}

.banner-hover:hover {
  transform: translateY(-6px);
}

.banner-hover:hover img {
  box-shadow: 0 22px 45px rgba(0,0,0,.28);
}

		


/* ==============================
   CSS INFORMASI PUBLIK TANPA menu-parent
   ============================== */

/* PARENT MENU */
.main-menu > li {
  position: relative;
  z-index: 9999; /* pastikan muncul di atas layer lain */
}

/* SUBMENU LEVEL 1 */
.main-menu > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px; /* sesuaikan teks terpanjang */
  background: #fff;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  border-radius: 5px;
  padding: 5px 0;
  z-index: 10000;
}

/* TAMPILKAN SUBMENU SAAT HOVER */
.main-menu > li:hover > ul {
  display: block;
}

/* ITEM SUBMENU */
.main-menu > li > ul > li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* LINK SUBMENU */
.main-menu > li > ul > li > a {
  display: block;
  padding: 10px 15px;
  color: #000;
  text-decoration: none;
  white-space: normal; /* wrap teks jika panjang */
  line-height: 1.4;
  transition: background 0.3s;
}

/* HOVER SUBMENU */
.main-menu > li > ul > li > a:hover {
  background-color: #f2f2f2;
}






/* ==============================
   KHUSUS MENU PELATIHAN
   ============================== */

.main-menu li.menu-parent {
    position: relative;
}

/* SUBMENU LEVEL 1 */
.main-menu li.menu-parent > ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    z-index: 9999;
}

/* SUBMENU LEVEL 2 */
.main-menu li.menu-parent ul.submenu li.submenu-parent {
    position: relative;
}

.main-menu li.menu-parent ul.submenu li.submenu-parent > ul.submenu-child {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    z-index: 10000;
}

/* HOVER AKTIF */
.main-menu li.menu-parent:hover > ul.submenu {
    display: block;
}

.main-menu li.menu-parent ul.submenu li.submenu-parent:hover > ul.submenu-child {
    display: block;
}

/* PAKSA VERTIKAL */
.main-menu ul.submenu li,
.main-menu ul.submenu-child li {
    display: block !important;
    width: 100%;
}

/* LINK DASAR */
.main-menu ul.submenu a,
.main-menu ul.submenu-child a {
    display: block;
    padding: 10px 15px;
    color: #000;
    white-space: nowrap;
}

/* HOVER ABU MUDA */
.main-menu ul.submenu li a:hover,
.main-menu ul.submenu-child li a:hover {
    background: #f2f2f2;
}

/* ==============================
   CHILD: BLOCK TEKS SAJA
   ============================== */

/* CEGAH TINGGI ANEH */
.main-menu ul.submenu-child li {
    height: auto !important;
}

/* ==============================
   SUBMENU NORMAL: BOLEH WRAP TEKS
   ============================== */

.main-menu ul.submenu > li > a {
    white-space: normal !important; /* BOLEH TURUN BARIS */
    line-height: 1.4;
    max-width: 260px;               /* samakan lebar submenu */
}

/* ==============================
   HANYA SUBMENU & SUBMENU-CHILD
   ============================== */

/* submenu level 1 */
.main-menu ul.submenu > li > a {
    display: block !important;
    padding: 10px 15px !important;
    color: #000 !important;
    background: transparent !important;
}

/* submenu level 2 */
.main-menu ul.submenu-child > li > a {
    display: block !important;
    padding: 10px 15px !important;
    color: #000 !important;
    background: transparent !important;
}

/* ==============================
   HOVER (PAKSA NEMBUS THEME)
   ============================== */

.main-menu ul.submenu > li > a:hover,
.main-menu ul.submenu-child > li > a:hover {
    background-color: #f2f2f2 !important;
}

/* JIKA ADA SPAN DI DALAM A */
.main-menu ul.submenu > li > a:hover span,
.main-menu ul.submenu-child > li > a:hover span {
    background-color: #f2f2f2 !important;
    display: block;
}
/* ===== NUKLEAR FIX: HAPUS SEMUA JARAK SUBMENU-CHILD ===== */
.main-menu ul.submenu-child li {
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: normal !important;
}

/* pastikan link rapat */
.main-menu ul.submenu-child li > a {
    display: block !important;
    padding: 6px 12px !important;
    line-height: 1.2 !important;
}







/* BANNER ATAS WRAPPER */
.logo-hutri {
  position: relative;
  display: inline-block;
  padding: 12px;          /* buffer ruang */
  margin: -12px;          /* netralin layout */
   z-index:1;
}

/* IMAGE */
.logo-hutri img {
  width: 300px;
  border-radius: 16px;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* HOVER */
.logo-hutri:hover {
  z-index: 20;
}

.logo-hutri:hover img {
  transform: scale(1.08);
  box-shadow:
    0 18px 40px rgba(0,0,0,.25),
    0 0 0 3px rgba(255,204,0,.55);
}

/* MOBILE FIX */
@media (max-width: 767px) {
  .logo-hutri {
    margin-bottom: 20px; /* beri jarak lebih untuk HP */
	margin-top: 20px;
  }
}

/* ==============================
   FEED KATEGORI & JUDUL
   ============================== */

/* ====KATEGORI (MANAJERIAL, FUNGSIONAL, dll) 
   ==========REPSITORY======================*/

.data-diklat {
    display: inline-block;
    font-size: 11px;          /* diperkecil */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #0d6efd;           /* biru elegan */
    margin-bottom: 4px;
}

/* JUDUL ARTIKEL */
.judul-feed {
    margin: 0;
    line-height: 1.3;
}

.judul-feed a {
    font-size: 14px;          /* lebih kecil & rapi */
    font-weight: 600;
    color: #222;
    text-decoration: none;
    display: block;
}

.judul-feed a:hover {
    color: #0d6efd;
}

/* RAPATKAN TEKS KE GAMBAR */
.trend-bottom-cap {
    margin-top: 6px;
}
/* ==============================
   CAPTION / JUDUL FEED
   ============================== */

.trend-bottom-cap {
    margin-top: 4px;   /* dekat ke gambar */
}

/* CAPTION (judul artikel) */
.judul-feed {
    margin: 2px 0 0;
    line-height: 1.25;
}

.judul-feed a {
    font-size: 13px;          /* KECIL & RAPI */
    font-weight: 500;
    color: #333;
    text-decoration: none;

    display: -webkit-box;     /* POTONG 2 BARIS */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* HOVER */
.judul-feed a:hover {
    color: #0d6efd;
}







.penawaran-card { position: relative; }

.label-new {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: #FFD700; /* emas */
  z-index: 999;
  overflow: hidden;
  
  /* Glow lembut */
  text-shadow: 0 0 5px rgba(255,215,0,0.6), 0 0 10px rgba(255,215,0,0.4);
  
  /* Animasi shimmer horizontal */
}
.label-new::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  pointer-events: none;
  animation: shimmer 2s ease-in-out infinite;
}

/* Shimmer gerak */
@keyframes shimmer {
  0% { left: -120%; }
  50% { left: 120%; }
  100% { left: 120%; }
}

/* Glow pulse lembut */
@keyframes glowPulse {
  0% { text-shadow: 0 0 5px rgba(255,215,0,0.4); }
  50% { text-shadow: 0 0 12px rgba(255,215,0,0.9), 0 0 24px rgba(255,215,0,0.6); }
  100% { text-shadow: 0 0 5px rgba(255,215,0,0.4); }
}

.label-new {
  animation: glowPulse 2s ease-in-out infinite;
}



/* ==============================
   CAPTION + JUDUL (FINAL)
   ============================== */

/* CAPTION / KATEGORI */
.data-diklat{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;      /* maksimal 2 baris */
  overflow: hidden;

  font-size: 9px;             /* kecil & proporsional */
  font-weight: 600;
  line-height: 1.1;

  color: #2b5db7;             /* biru instansi */
  text-align: center;

  height: 10px;               /* kunci tinggi */
  margin-bottom: 0;         /* jarak rapat ke judul */
}

/* JUDUL ARTIKEL */
.judul-feed{
  text-align: left;
  margin: 2px 10px 6px;   /* ⬅️ atas dipersempit */
  height: 40px;               /* kunci tinggi judul */
  display: flex;
  align-items: flex-start;    /* mulai dari atas */
  justify-content: center;
  
}

.judul-feed a{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;      /* judul max 2 baris */
  overflow: hidden;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;

  color: #1f2937;
  text-decoration: none;
}

.judul-feed a:hover{
  color: #1f4fa3;
}

/* ==============================
   THUMBNAIL SERAGAM
   ============================== */
.img-kegiatan img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

/* ==============================
   FOLDER ICON (SELALU RATA)
   ============================== */
.trend-bottom-img{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.folderin{
  width: 32px;
  margin-top: auto;           /* ⬅️ selalu nempel bawah */
  opacity: .85;
  transition: opacity .25s ease;
}

.folderin:hover{
  opacity: 1;
}

@media (max-width: 991px) {
  /* Stack vertikal semua feed */
  .feed-item {
    width: 100% !important;   /* override col-md-6 */
    max-width: 100%;
    margin-bottom: 15px;
  }

  /* Pastikan folder icon tetap nempel bawah */
  .trend-bottom-img {
    display: flex !important;
    flex-direction: column;
    height: 100%;
  }

  /* Thumbnail tetap proporsional */
  .img-kegiatan img {
    height: auto !important;
    object-fit: cover;
  }

  /* Caption & judul tetap rapi */
  .data-diklat {
    font-size: 12px;
    -webkit-line-clamp: 2;
    height: auto;
  }

  .judul-feed a {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }
}




/* =========================
   PENAWARAN CARD
   ========================= */
.penawaran-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  width: 100%;
  background: #fff;
  border: 4px solid #d7d7d7;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  transition: all .35s ease;
}

.penawaran-card a {
  display: block;
  width: 100%;
  height: 100%;
}

.penawaran-card img {
  width: 100%;
  height: auto;
  object-fit: cover; /* pastikan penuh */
  border-radius: 12px;
  display: block;
  transition: transform .4s ease;
}

.penawaran-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}

.penawaran-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #fff;
  padding: 8px 16px;
  border-radius: 6px;
}

.penawaran-card:hover img {
  transform: scale(1.08);
}

.penawaran-card:hover .penawaran-overlay {
  opacity: 1;
}

.penawaran-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,.25);
}

/* =========================
   SWIPER SLIDER FIX HEIGHT
   ========================= */
.trand-right-single.swiper {
  width: 100%;
  max-width: 100%;
  min-height: 300px;
}

/* =========================
   SWIPER SLIDE CENTER & FULL HEIGHT
   ========================= */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* pastikan tiap slide sama tinggi container */
}

/* =========================
   MOBILE FIX – SWIPER & PENAWARAN CARD
   ========================= */
@media (max-width: 991px) and (orientation: portrait) {
  .trand-right-single.swiper {
    width: 100%;
    max-width: 100%;      /* ⬅️ WAJIB */
    margin-top: 40px;
  }

  .penawaran-card {
    max-width: 100%;
  }

  .penawaran-card img {
    width: 100%;
    height: auto;
  }
}

/* =========================
   MEDIA SOSIAL – VERTIKAL
   ========================= */
 .profile {
    	margin: 0 auto;
        text-align: center;
        padding: 0px;
        background: white;
    }  
 
.profile-wrapper {
  position: relative;
  margin-top: 10px;
}

/* CENTER BOX DI DALAM KOLOM */
.profile-wrapper .col-md-6 {
  display: flex;
  justify-content: center;
}

/* Box IG & YT */
.profile {
  width: 100%;
  max-width: 360px;

  padding: 14px;
  border: 2px solid #d7d7d7;
  border-radius: 10px;
  background: #fff;

  text-align: center;
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
}

/* AKSEN INSTAGRAM / YOUTUBE */
#ig-profile {
  border-left: 6px solid #C13584;
  padding-left: 12px;
}

#yt-profile {
  border-left: 6px solid #FF0000;
  padding-left: 12px;
}

/* HOVER */
#ig-profile:hover {
  background: linear-gradient(90deg, rgba(193,53,132,0.06), transparent);
}

#yt-profile:hover {
  background: linear-gradient(90deg, rgba(255,0,0,0.06), transparent);
}

/* =========================
   KONSISTENSI ISI BOX
   ========================= */
  .profile-wrapper a {
  display: block;       /* supaya bisa stretch penuh */
  width: 100%;          /* pastikan lebar sama dengan kolom */
  text-decoration: none; /* hilangkan garis bawah */
}
 
.social-pic img {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
  
  display: inline-block;
  border: 4px solid #d7d7d7;    /* border mengelilingi div */
  padding: 4px;                  /* ⬅ jarak antara foto & border */
  margin-bottom: 2px;           /* jarak ke label */
  box-sizing: border-box;        /* padding + border tidak merusak ukuran */
}

.social-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.social-label.instagram {
  color: #C13584;
}

.social-label.youtube {
  color: #FF0000;
}

.social-stats {
  font-size: 13px;
  color: #444;
  line-height: 1.2;       /* ⬅ rapatkan jarak antar line */
  margin-bottom: 4px;     /* jarak bawah ke elemen selanjutnya */
}

.social-stats strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 2px;     /* ⬅ jarak ke <span> lebih rapat */
}

.social-stats span {
  font-size: 12px;
  color: #666;
  display: block;
}


/* =========================
   LINES / SECTION DIVIDER
   ========================= */
.section-line {
  width: 100%;
  height: 2px;
  background: #ddd;
  margin: 15px 0;
}

/* =========================
   MEDIA SOSIAL MOBILE
   ========================= */
@media (max-width: 768px) {

  /* Paksa kolom tetap 50% */
  .profile-wrapper .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;

    display: flex;
    justify-content: center;
  }

  /* Box diperkecil */
  .profile {
    max-width: 100%;
    padding: 10px;
  }

  /* Foto diperkecil */
  .social-pic img {
    width: 85px;
    height: 85px;
    border-width: 3px;
    padding: 3px;
  }

  .social-label {
    font-size: 9px;
  }

  .social-stats strong {
    font-size: 14px;
  }

  .social-stats span {
    font-size: 10px;
  }
  
}


/* =========================
   SIMANTAP CARD
   ========================= */
.simantap-box {
  width: 100%;
  background: #ffffff;
  padding: 12px 14px;       /* Jauh lebih ramping dan proporsional */
  margin-top: 12px;         /* Jarak antar card */
  margin-bottom: 12px;      /* Jarak bawah agar tidak terlalu longgar */
  transition: all 0.3s ease;
  box-sizing: border-box;   /* Pastikan padding masuk hitungan lebar */

  display: flex;
  justify-content: center;   /* Pusatkan konten secara horizontal */
}

.simantap-box a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;                /* Pastikan anchor mengambil seluruh lebar container */
}

.simantap-box img {
  max-width: 100%;            /* Gambar mengisi lebar kontainer hingga 100% */
  height: auto;               /* Tinggi otomatis untuk menjaga proporsi gambar */
  display: block;
  border-radius: 10px;
  max-height: 300px;          /* Batasi tinggi gambar agar tidak terlalu tinggi */
  transition: transform 0.3s ease-in-out;  /* Menambahkan animasi untuk transformasi */
}

/* Animasi pada hover */
.simantap-box:hover img {
  transform: translateY(-2px) rotate(15deg); /* Gambar akan naik dan sedikit berputar */
}

/* MOBILE */
@media (max-width: 768px) {
  .simantap-box {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px;             /* Lebih ramping di layar kecil */
  }

  .simantap-box img {
    max-width: 100%;           /* Maksimal lebar gambar 90% di HP */
    max-height: 200px;        /* Batasi tinggi gambar agar tidak terlalu besar di mobile */
  }
}


/*====================
  VIDEO KAPUS PROFIL
======================*/
/* Frame premium */
.ppsdm-premium-box {
    border-radius: 15px;
    border: 5px solid #C0C0C0;
    padding: 25px;
    background: #fdfdfd;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
    margin: 40px 0;
    animation: ppsdmGlow 4s infinite linear;
}

@keyframes ppsdmGlow {
    0% { box-shadow: 0 0 10px rgba(0,123,255,0.3); }
    50% { box-shadow: 0 0 25px rgba(0,123,255,0.5); }
    100% { box-shadow: 0 0 10px rgba(0,123,255,0.3); }
}

/* Video wrapper */
.ppsdm-video-wrapper {
    position: relative;
}

/* Iframe video */
.ppsdm-video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: none;
    border-radius: 18px;
}

/* Thumbnail */
.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    border-radius: 18px;
}

/* Play button */
.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
}

.play-button::after {
    content: "";
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
}

/* Text */
.ppsdm-text h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.ppsdm-text p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Custom button */
.btn-ppsdm {
    border-radius: 10px;
    padding: 10px 22px;
    font-weight: 600;
}

/* ===================================================== */
/* MOBILE ONLY ≤768px */
/* ===================================================== */
@media (max-width: 768px) {

    /* Wrapper thumbnail */
    .ppsdm-video-wrapper .video-thumbnail {
        width: 100%;
        position: relative;
        overflow: hidden;
        border-radius: 18px;

        /* Paksa landscape */
        height: 0;
        padding-bottom: 56.25%; /* 16:9 */
    }

    /* Gambar thumbnail */
    .ppsdm-video-wrapper .video-thumbnail img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Tombol play */
    .ppsdm-video-wrapper .play-button {
        width: 50px;
        height: 50px;
        background: rgba(255, 0, 0, 0.6);
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 12px rgba(0,0,0,0.4);
    }

    .ppsdm-video-wrapper .play-button::after {
        content: "";
        border-left: 14px solid white;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
        position: absolute;
        top: 50%;
        left: 55%;
        transform: translate(-50%, -50%);
    }
}





/*================
     KEGIATAN STYLE
  ================*/
.img-kegiatan {
  aspect-ratio: 5 / 5; /* Atau 16 / 9, atau 1 / 1 tergantung keinginan */
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-kegiatan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.img-kegiatan:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}





/***************************************************************************************/


/* ANIMASI FADE IN UP */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* KOTAK GAMBAR BERITA */


.judul-feed {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  margin-bottom: 2px;
  line-height: 1.3;
}

.judul-feed a:hover{
  color: #333 !important;
  visibility: visible !important;
}


.tanggal-feed {
  font-size: 12px;
  color: #888;
}    

.img-feed:hover {
  filter: brightne
ss(1.1) saturate(1.2);
  transform: scale(1.02);
}


.video-thumbnail {
    position: relative;
    width: 100%;
	height: 515px;
    cursor: pointer;
    overflow: hidden;
    }

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    }

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 65px;
    background-color: red;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    }

.play-button::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 22px solid white;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 5px;
    }
.ig-bawah-list {
    font-size: 20px;
    color: #888;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
    }
.gbr-bawah-news {
    weight:30px;
	height:30px;
    }
.folderin{
	width: 30px; 
	height: 30px;
}
.data-diklat {
    font-size: 12px;
    color: #888;
    font-weight: bold;
    text-transform: uppercase;
	line-height:1;
    }
.statistik-kunjung {
    font-size: 16px;
    color: #888;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
	text-align: center;
    }

.fab {
  background-color: #191970 !important;
  font-size: 18px !important;
  color: white !important;
  padding: 10px 20px !important;
  display: inline-block !important;
  border-radius: 10px !important;
  font-weight: bold !important; /* agar tetap bold seperti <strong> */
}


 /* ================= VIEW MOBILE ===================== */  
@media (max-width: 767.98px) and (orientation: portrait) {

  /* ===============================
     GAMBAR BERITA UTAMA
     =============================== */
  .img-berita {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 4px solid #ccc;
    display: block;
    margin: 0 auto;
  }

  /* ===============================
     GAMBAR FEED IG (ATAS & BAWAH)
     =============================== */
  .ig-feed-bawah img,
  .ig-feed-top img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  /* ===============================
     KONTAINER FEED
     =============================== */
  .ig-feed-bawah,
  .ig-feed-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
  }

  /* ===============================
     TEKS & CAPTION
     =============================== */
  .judul-artikel,
  .caption-feed,
  .ig-caption p,
  #ig-berita-utama-caption p {
    font-size: 12px !important;
    line-height: 1.4;
    color: #333;
    text-align: left;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ===============================
     JUDUL TRENDING
     =============================== */
  .trending-tittle {
    margin-top: 5px !important;
    padding: 0 !important;
  }

  /* ===============================
     HOVER GAMBAR (AMAN DI HP)
     =============================== */
  .img-kegiatan {
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .img-kegiatan:hover {
    filter: brightness(1.05) saturate(1.1);
    transform: scale(1.02);
  }

  /* ===============================
     TEKS BAWAH
     =============================== */
  .ig-bawah-list {
    font-size: 13px;
    color: #888;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
    padding: 10px;
  }

  .data-diklat {
    font-size: 12px;
    color: #888;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  /* ===============================
     ICON & GAMBAR KECIL
     =============================== */
  .gbr-bawah-news,
  .folderin {
    width: 20px;
    height: 20px;
  }

  /* ===============================
     SEMBUNYIKAN ANIMASI BERAT
     =============================== */
  .trending-animated {
    display: none !important;
  }

  /* ===============================
     TOMBOL / FAB
     =============================== */
  .fab {
    background-color: #191970 !important;
    font-size: 12px !important;
    color: #fff !important;
    padding: 10px 18px !important;
    display: inline-block !important;
    border-radius: 10px !important;
    font-weight: bold !important;
  }

}

   /* Overlay hitam transparan dengan animasi fade */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;             /* tetap flex supaya align center berlaku */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 40px 20px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;      /* agar klik tidak aktif sebelum muncul */
    transition: opacity 0.3s ease;
  }

  /* Kotak isi popup dengan animasi zoom */
  .popup-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    aspect-ratio: 3/4;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transform: scale(0.7);
    transition: transform 0.3s ease;
  }

  /* Gambar menyesuaikan kontainer */
  .popup-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  /* Tombol tutup */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4c4c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    cursor: pointer;
    line-height: 36px;
    text-align: center;
    z-index: 10000;
    transition: background 0.3s;
  }

  .close-btn:hover {
    background: #e60000;
  }

  @media (max-width: 600px) and (orientation: portrait) {
  .popup-content {
    width: 100%;
    max-width: none;
    height: clamp(60vh, 68vh, 75vh);    aspect-ratio: auto;   /* bebas menyesuaikan */
    border-radius: 10px;
	background: #f4f6f9;
  }

  .popup-content img {
    object-fit: contain;  /* gambar utuh */
  }

  .close-btn {
    width: 34px;
    height: 34px;
    font-size: 20px;
    top: 8px;
    right: 8px;
  }
}

  /* Saat popup aktif */
  .popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .popup-overlay.active .popup-content {
    transform: scale(1);
  }
  
  /* Area klik transparan */
.klik-jadwal{
  position: absolute;

  bottom: 75px;              
  left: 50%;
  transform: translateX(-50%);

  width: 220px;
  height: 46px;

  background: transparent;
  cursor: pointer;
  z-index: 5;
}


/*=======================
	CSS WIDYA ISWARA
=========================*/

.teacher-card {
  position: relative;
  overflow: hidden;
  border-radius: .9rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform .28s ease, box-shadow .28s ease;
  background: #fff;
}

.teacher-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.teacher-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.teacher-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.teacher-card:hover .teacher-img-wrapper img {
  transform: scale(1.08);
}

/* Overlay */
.teacher-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* tetap di bawah */
  padding: 0.8rem 0.9rem;    /* kurangi sedikit */
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 60%,       /* turunkan start gradient agar tidak terlalu tinggi */
    rgba(0,0,0,0.65) 100%
  );
  color: #fff;
}

/* Nama */
.teacher-name {
  margin: 0;
  font-weight: 800;
  font-size: 0.72rem !important;
  letter-spacing: 0.25px;
  color: #ffb400;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}

/* Jabatan */
.teacher-position {
  margin-top: 0.1rem;       /* kurangi jarak dari nama */
  font-size: 0.70rem !important;
  opacity: 0.95;
  color: #f1f1f1;
  font-weight: 400;
  line-height: 1.1;         /* rapatkan teks */
}

/* =========================
   ≤575px (Extra Small Mobile)
========================= */
@media (max-width: 575px) {
  .teacher-overlay {
    padding: 0.5rem 0.5rem; /* kurangi padding agar overlay tidak terlalu menutupi */
  }

  .teacher-name {
    font-size: 0.60rem !important;  /* lebih kecil */
  }

  .teacher-position {
    font-size: 0.50rem !important;  /* lebih kecil */
    margin-top: 0.03rem;            /* rapatkan jarak dari nama */
    line-height: 1.1;
  }
}

/* Media Queries untuk mobile & tablet */
@media (max-width: 768px) {
  .teacher-overlay {
    padding: 0.6rem 0.6rem;
  }
  .teacher-name { font-size: 0.68rem; }
  .teacher-position { font-size: 0.58rem; margin-top: 0.05rem; line-height: 1.1; }
}

@media (min-width: 769px) and (max-width: 991px) {
  .teacher-overlay {
    padding: 0.7rem 0.6rem;
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0) 65%,
      rgba(0,0,0,0.7) 100%
    );
  }
  .teacher-name { font-size: 0.65rem !important; }
  .teacher-position { font-size: 0.60rem !important; margin-top: 0.05rem; }
}

@media (min-width: 992px) {
  .teacher-overlay { padding: 1rem 1rem; }
  .teacher-name { font-size: 1.02rem; }
  .teacher-position { font-size: 0.78rem; margin-top: 0.08rem; }
}



/* ========================================
   css MONITORING JAWAL WIDYA ISWARA IFRAME
   ======================================== */

.widyaiswara-note {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 0px;
    padding: 12px 16px;

    background: linear-gradient(90deg, #f8fbff, #eef4ff);
    border-left: 4px solid #1f4fa3;
    border-radius: 10px;

    font-size: 13px;
    line-height: 1.4;
}

.widyaiswara-note .note-label {
    font-weight: 600;
    color: #1f4fa3;
}

.widyaiswara-note a {
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
}

.widyaiswara-note a:hover {
    color: #1f4fa3;
}

/* MOBILE */
@media (max-width: 768px) {
    .widyaiswara-note {
        font-size: 14px;
        padding: 14px;
    }
}




/* ============================
   MODE POTRAIT — RESPONSIF
   ============================ */
   
/* BERITA UTAMA TAMPILAN DEPAN */	
.img-berita {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border: 4px solid #ccc;
    border-radius: 15px;
    position: relative;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);  /* bayangan lembut */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* animasi halus */
}
.img-berita:hover {
     filter: brightne
ss(1.1) saturate(1.2);
  transform: scale(1.02);
}


/* Kotak gambar dinormalisasi ke bentuk portrait */
.img-berita-slide {
  width: 100%;
  aspect-ratio: 1/1;        /* standar feed portrait */
  object-fit: contain;      /* tampil sesuai proporsi */
  object-position: center;
  background: #000;         /* kotak hitam profesional */
  border-radius: 14px;
}

/* Fade smooth */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity .8s ease-in-out;
}
.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Caption */
#berita-caption-wrapper {
  text-align: left;
  margin-top: 15px;
}
.judul-slide {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;      /* SPASI NORMAL */
}
.tanggal-slide {
  font-size: 13px;
  color: #777;
  margin: 0;
  line-height: 1.2;      /* SPASI NORMAL */
}

/* PANAH SLIDER — putih + background hitam */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 40%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.6); /* kotak hitam */
  border-radius: 50%;                /* bulat */
  width: 50px;
  height: 50px;
  background-image: none !important;
  position: relative;
}

/* Panah putih */
.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-top: 4px solid #fff;   /* panah putih */
  border-right: 4px solid #fff; /* panah putih */
  transform: translate(-50%, -50%);
}

/* Rotasi panah */
.carousel-control-prev-icon::after {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.carousel-control-next-icon::after {
  transform: translate(-50%, -50%) rotate(45deg);
}



.berita-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;      /* 1440 x 1440 */
  background: #f2f2f2;
  overflow: hidden;
  border-radius: 12px;
}

/* background blur (tetap) */
.berita-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.2);
  opacity: 0.45;
}

/* gambar utama */
.berita-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* ⬅️ PAKSA MERATA */
}



/* Wrapper video landscape */
.ig-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;        /* KUNCI */
  overflow: hidden;
  border-radius: 12px;
  border: 3px solid #bbb;
  background: #000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Video mengikuti wrapper */
.ig-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* POTONG VISUAL SAJA */
}

/* Caption */
.judul-link {
  text-decoration: none;
  color: #333;
}

.judul-link:hover {
  text-decoration: underline;
}






.header-bottom {
  position: sticky;
  top: 0;
  z-index: 999;
  transition: transform 0.45s ease, opacity 0.45s ease;
  will-change: transform, opacity;
}

.header-bottom.nav-hide {
  transform: translateY(-100%);
  opacity: 0;
}



.label-new {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: red;
  color: #fff;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 10;

  /* Animasi berkedip */
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
  100% { opacity: 1; }
}



/*==================================
   Style HTML sticky floating adss IKLAN 
 ======================================= */

#iklan-kanan-scroll {
  position: fixed;
  top: 50%;
  right: -340px;
  transform: translateY(-50%);
  width: 320px;
  z-index: 9999;
  transition: right 1s ease;
}

#iklan-kanan-scroll.show {
  right: 20px;
}

/* TOMBOL CLOSE MERAH */
.iklan-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: #d32f2f;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 30px;
  cursor: pointer;
  z-index: 10000;
}

.iklan-close:hover {
  background: #b71c1c;
}

.penawaran-card img {
  width: 100%;
  border-radius: 8px;
}
.swiper-penawaran-iklan {
  overflow: hidden;
  position: relative;
}




/* MATIKAN DI MOBILE */
@media (max-width: 768px) {
  #iklan-kanan-scroll {
    display: none;
  }
}







/* ===== MATIKAN SLICK DOTS KHUSUS HP ===== */
@media (max-width: 980px) {
  .slick-dots { display: none !important; }
}





/*========================================
  RECENT ARTICLES – EXECUTIVE SOFT (SAFE)
==========================================*/

.single-recent {
    padding: 0 10px;
}

/* WRAPPER GAMBAR */
.single-recent .what-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

/* GAMBAR AMAN */
.single-recent .what-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* OVERLAY GRADASI ANIMASI */
.single-recent .what-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
        135deg,
        rgba(10, 40, 80, 0.45),
        rgba(20, 80, 140, 0.35),
        rgba(30, 120, 95, 0.12),
        rgba(180, 50, 50, 0.06),
        rgba(255, 255, 255, 0.18)
    );

    background-size: 260% 260%;
    animation:
        premiumFlow 6s ease-in-out infinite,
        premiumBreath 5s ease-in-out infinite;
}

/* BADGE PIMPINAN AKTIF */
.badge-pimpinan {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;

    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;

    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
    background: linear-gradient(135deg, #3cb371, #1f8f5f);
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);

    display: inline-flex;
    align-items: center;
    gap: 4px;

    animation: badgePulse 2.6s ease-in-out infinite;
}

/* BINTANG */
.badge-pimpinan::before {
    content: "★";
    color: #ffd700;
    font-size: 12px;
}

/* KEYFRAMES */
@keyframes premiumFlow {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes premiumBreath {
    0%,100% { opacity: .9; }
    50% { opacity: 1; }
}

@keyframes badgePulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}




/* ===============================
   WEEKLY SLIDER FINAL FIX
   =============================== */

/* center track slider */
.weekly-news-active {
    justify-content: center;
}

/* slide tetap center, teks normal */
.weekly-single {
    margin: 0 auto;
    text-align: left;
}

/* gambar saja yang center */
.weekly-img {
    text-align: center;
    border: 4px solid #ccc;
    border-radius: 12px;
    padding: 5px;
    display: inline-block;
}

/* gambar proporsional */
.weekly-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* caption di bawah gambar */
.weekly-caption {
    margin-top: 6px;
}

/* kategori (span bawaan template) */
.weekly-caption span {
    font-size:8px;
    color: #007bff;
    display: block;
    margin-bottom: 3px;
}

/* judul (h4 bawaan template) */
.weekly-caption h4 {
    font-size: 11px;
    line-height: 1.35;
    margin: 0;
    color: #222;
}



/* mobile lebih kecil */
@media (max-width: 576px) {
    .weekly-caption h4 {
        font-size: 12px;
    }
}



									
										

