.pengumuman {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: #f8fbff;
}

.section-subtitle {
  color: #666;
  max-width: 650px;
  margin: auto;
}

.pengumuman-slider {
  overflow: hidden;
  padding: 25px 10px 50px;
}

.pengumuman-slider .swiper-slide {
  height: auto;
}

.announcement-card {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 28px;
  padding: 30px;
  border: 1px solid rgba(48, 81, 161, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: 0.4s;
  overflow: hidden;
}

.announcement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(48, 81, 161, 0.15);
}

.announcement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 90px;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-20deg);
}

.announcement-card:hover::before {
  animation: shine 1.2s;
}

.announcement-date {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  background: #3051a1;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.announcement-date span {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.announcement-date small {
  font-size: 13px;
}

.announcement-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef5ff;
  color: #3051a1;
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.announcement-content h4 {
  font-size: 24px;
  color: #3051a1;
  font-weight: 700;
  margin-bottom: 15px;
}

.announcement-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #3051a1;
  font-weight: 700;
}

.btn-detail i {
  transition: 0.3s;
}

.btn-detail:hover i {
  transform: translateX(6px);
}

/* Navigation */

.pengumuman-prev,
.pengumuman-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  z-index: 20;
  transition: 0.3s;
}

.pengumuman-prev {
  left: -28px;
}

.pengumuman-next {
  right: -28px;
}

.pengumuman-prev:hover,
.pengumuman-next:hover {
  background: #3051a1;
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

/* Shine */

@keyframes shine {
  from {
    left: -120%;
  }

  to {
    left: 150%;
  }
}

@media (max-width: 991px) {
  .pengumuman-prev,
  .pengumuman-next {
    display: none;
  }
}
