/* News Redesign Section */
.news-redesign-section {
  position: relative;
  padding: 4rem 0;
  background-color: #f1f5f9;
}

/* Section Header Layout */
.news-redesign-section .section-header {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Subtitle Tag Above Header (PUSAT INFORMASI) */
.section-subtitle-tag {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #F59E0B !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
  display: block !important;
}

.news-redesign-section .section-title {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.news-redesign-section .section-title__badge {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%) !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* See All Link on Right Header (Semua Berita ↗) */
.news-see-all-link {
  color: #1e3a8a !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all 0.2s ease !important;
}

.news-see-all-link:hover {
  color: #2563eb !important;
  transform: translateX(3px) !important;
}

/* Left Featured News Card */
.news-featured-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 10;
}

/* Category Overlay Badge on top left of Featured Image */
.news-category-overlay-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 14px;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.news-featured-image-box {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0f172a;
}

/* Gradient overlay for text readability */
.news-featured-image-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.news-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-featured-card:hover .news-featured-img {
  transform: scale(1.05);
}

/* Featured Badge Overlay (top right) */
.news-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.news-featured-badge i {
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 0.9rem;
}

.news-featured-badge i:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* Featured Details Inside Card at Bottom */
.news-featured-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 24px 24px 24px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-featured-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.news-featured-title:hover {
  color: #F59E0B;
}

.news-featured-meta {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.news-meta-item {
  display: inline-flex;
  align-items: center;
}

/* Right Column Scrollable List */
.news-right-wrapper {
  position: relative;
}

.news-right-list {
  max-height: 490px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for Right List */
.news-right-list::-webkit-scrollbar {
  width: 7px;
}

.news-right-list::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 10px;
}

.news-right-list::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.news-right-list::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}

/* Scroll control buttons */
.btn-news-scroll {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.btn-news-scroll:hover {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-1px);
}

/* Right Card Item (Clean White Background, Left Accent Line appears on hover/click) */
.news-right-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-left: 4px solid transparent !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.news-right-card:hover,
.news-right-card:active,
.news-right-card:focus {
  background: #ffffff;
  border-left-color: #2563eb !important;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

/* Left Logo Space Box inside Right News Card */
.news-right-logo-box {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.news-right-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-right-card:hover .news-right-logo-img {
  transform: scale(1.08);
}

.news-right-logo {
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

.news-right-logo-icon {
  font-size: 1.3rem;
  color: #1E6FBA;
}

.news-right-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.news-right-card:hover .news-right-title {
  color: #1E6FBA;
}

.news-right-category {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}

.news-right-date {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

/* Dark Mode Support */
.dark-mode .news-featured-title {
  color: #f8fafc;
}

.dark-mode .news-featured-title:hover {
  color: #F59E0B;
}

.dark-mode .news-featured-meta {
  color: #94a3b8;
}

.dark-mode .news-right-card {
  background: rgba(30, 41, 59, 0.7);
}

.dark-mode .news-right-card:hover {
  background: rgba(30, 41, 59, 1);
  border-left-color: #F7941D;
}

.dark-mode .news-right-logo-box {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(51, 65, 85, 0.8);
}

.dark-mode .news-right-title {
  color: #f8fafc;
}

.dark-mode .news-right-category,
.dark-mode .news-right-date {
  color: #94a3b8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .news-redesign-section .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .news-redesign-section .section-title {
    font-size: 1.5rem !important;
    flex-wrap: wrap !important;
  }
  .news-featured-title {
    font-size: 1.15rem;
  }
  .news-right-card {
    padding: 12px 14px;
    gap: 10px;
  }
  .news-right-logo-box {
    width: 44px;
    height: 44px;
  }
  .news-right-title {
    font-size: 0.9rem;
  }
}
