
  .news-img-wrapper {
  width: 100%;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
  /* ========================= */
/* RAMADHAN POPUP ISLAMIC */
/* ========================= */

.event-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
  backdrop-filter: blur(4px);
}

.popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 2;
  animation: popupFade 0.6s ease;
}

/* Islamic Gold Glow */
.popup-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.6),
    0 0 40px rgba(255, 215, 0, 0.4),
    0 0 80px rgba(255, 215, 0, 0.2);
  animation: glowPulse 2.5s infinite ease-in-out;
}

/* Close Button */
.popup-close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: gold;
  color: #000;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255,215,0,0.7);
  transition: 0.3s;
}

.popup-close:hover {
  transform: scale(1.1);
}

/* Responsive Image */
.desktop-img { display: block; }
.mobile-img { display: none; }

@media (max-width: 768px) {
  .desktop-img { display: none; }
  .mobile-img { display: block; }
}

/* Animation */
@keyframes popupFade {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes glowPulse {
  0% {
    box-shadow:
      0 0 20px rgba(255, 215, 0, 0.6),
      0 0 40px rgba(255, 215, 0, 0.4),
      0 0 80px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow:
      0 0 35px rgba(255, 215, 0, 0.9),
      0 0 70px rgba(255, 215, 0, 0.6),
      0 0 120px rgba(255, 215, 0, 0.4);
  }
  100% {
    box-shadow:
      0 0 20px rgba(255, 215, 0, 0.6),
      0 0 40px rgba(255, 215, 0, 0.4),
      0 0 80px rgba(255, 215, 0, 0.2);
  }
}

  /* ========================= */
/* EVENT POPUP STYLE */
/* ========================= */

.event-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 2;
  animation: fadeInScale 0.4s ease;
}

.popup-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Close Button */
.popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Responsive Control */
.desktop-img { display: block; }
.mobile-img { display: none; }

@media (max-width: 768px) {
  .desktop-img { display: none; }
  .mobile-img { display: block; }
}

/* Animation */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

    .content-box {
      max-width: 520px;
      margin-right: auto;
      /* kunci agar dia nempel kiri */
      text-align: left;
    }

    /*#slider-img {*/
    /*  transition: opacity 0.8s ease-in-out;*/
    /*  opacity: 1;*/
    /*}*/

    /*#slider-img.fade-out {*/
    /*  opacity: 0;*/
    /*}*/

    /*#slider-text {*/
    /*  transition: opacity 0.8s ease-in-out, transform 0.8s ease;*/
    /*  opacity: 1;*/
    /*  transform: translateX(0);*/
    /*}*/

    /*#slider-text.fade-text {*/
    /*  opacity: 0;*/
    /*  transform: translateX(10px);*/
    /*}*/
