/* Styling modern untuk Berita Unggulan */
.featured-news-container {
  margin: 2rem 0;
}

.featured-news-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.featured-news-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.featured-news-header h4:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #3498db;
  border-radius: 3px;
}

.featured-news-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.featured-news-slide {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
}

.featured-news-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.featured-news-slide:hover img {
  transform: scale(1.05);
}

.featured-news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transition: all 0.3s ease;
}

.featured-news-slide:hover .featured-news-content {
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.featured-news-category {
  background: #3498db;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  min-width: max-content;
  white-space: nowrap;
  width: fit-content;
}

.featured-news-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
  line-height: 1.4;
}

.featured-news-title a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-news-title a:hover {
  color: #3498db;
}

.featured-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.featured-news-meta li {
  display: flex;
  align-items: center;
  list-style: none;
}

.featured-news-meta i {
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

.featured-news-meta a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.featured-news-meta a:hover {
  color: white;
}

/* Modern slider navigation */
.modern-slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
  z-index: 10;
}

.modern-slider-nav button {
  background: rgba(255,255,255,0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.modern-slider-nav button:hover {
  background: white;
  transform: scale(1.1);
}

.modern-slider-nav i {
  font-size: 1.2rem;
  color: #333;
}

/* Modern pagination */
.modern-slider-pagination {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.modern-slider-pagination button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-slider-pagination button.active {
  background: white;
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .featured-news-slide {
    height: 300px;
  }
  
  .featured-news-title {
    font-size: 1.1rem;
  }
  
  .featured-news-content {
    padding: 1.5rem 1rem 1rem;
  }
}