/* =============================================
   BERITA PREMIUM HEADER
============================================= */

.berita-header-section {
  padding: 110px 0 60px;
  background: #f8f9fb;
}

.berita-title {
  font-size: 40px;
  font-weight: 700;
  color: #1a2b4c;
  position: relative;
  margin-bottom: 18px;
}

.berita-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f1d37a);
  margin-top: 12px;
  border-radius: 3px;
}

.berita-subtitle {
  font-size: 17px;
  color: #6b7280;
  max-width: 600px;
}

/* =============================================
   BERITA CARD PREMIUM
============================================= */

.berita-list-section {
  padding: 40px 0 90px;
  background: #f8f9fb;
}

.berita-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.berita-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.berita-image-wrapper {
  overflow: hidden;
}

.berita-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s ease;
}

.berita-card:hover .berita-image {
  transform: scale(1.08);
}

.berita-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.berita-date {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.berita-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.berita-excerpt {
  font-size: 14px;
  color: #6b7280;
  flex-grow: 1;
}

.berita-readmore {
  margin-top: 18px;
  font-weight: 600;
  color: #1a2b4c;
  text-decoration: none;
  transition: 0.3s;
}

.berita-readmore:hover {
  color: #d4af37;
}

/* =============================================
   PAGINATION
============================================= */

.berita-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

/* =============================================
   MOBILE
============================================= */

@media (max-width: 768px) {
  .berita-title {
    font-size: 28px;
  }

  .berita-subtitle {
    font-size: 15px;
  }

  .berita-image {
    height: 200px;
  }
}
/* untuk detail berita */
/* =============================================
   HEADER DETAIL PREMIUM
============================================= */

.berita-detail-header {
  padding: 120px 0 50px;
  background: #f8f9fb;
}

.berita-back-btn {
  display: inline-block;
  margin-bottom: 25px;
  padding: 8px 18px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  font-size: 14px;
  color: #1f2937;
  transition: 0.3s;
}

.berita-back-btn:hover {
  background: #1a2b4c;
  color: #ffffff;
}

.berita-detail-title {
  font-size: 42px;
  font-weight: 700;
  color: #1a2b4c;
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative;
}

.berita-detail-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f1d37a);
  margin-top: 16px;
  border-radius: 3px;
}

.berita-meta {
  font-size: 15px;
  color: #6b7280;
}

/* =============================================
   CONTENT SECTION
============================================= */

.berita-detail-section {
  background: #f8f9fb;
  padding-bottom: 100px;
}

.berita-hero-image {
  margin: 40px 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.berita-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   ARTICLE CONTENT STYLE (EDITORIAL LOOK)
============================================= */

.berita-detail-content {
  font-size: 17px;
  line-height: 1.9;
  color: #374151;
}

.berita-detail-content p {
  margin-bottom: 20px;
}

.berita-detail-content h2,
.berita-detail-content h3 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #1a2b4c;
}

.berita-detail-content ul,
.berita-detail-content ol {
  margin: 20px 0;
  padding-left: 20px;
}

.berita-detail-content img {
  max-width: 100%;
  border-radius: 14px;
  margin: 30px 0;
}

/* =============================================
   FOOTER META
============================================= */

.berita-footer-meta {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  color: #9ca3af;
}

/* =============================================
   MOBILE
============================================= */

@media (max-width: 768px) {
  .berita-detail-title {
    font-size: 28px;
  }

  .berita-detail-header {
    padding: 100px 0 40px;
  }

  .berita-detail-content {
    font-size: 15px;
  }
}
.berita-pagination .pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.berita-pagination .page-item {
  display: block;
}

.berita-pagination .page-link {
  padding: 10px 16px;
  border-radius: 10px;
  background: #ffffff;
  color: #1a2b4c;
  text-decoration: none;
  font-weight: 600;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.berita-pagination .page-item.active .page-link {
  background: linear-gradient(90deg, #d4af37, #f1d37a);
  color: #1a2b4c;
}

.berita-pagination .page-link:hover {
  background: #1a2b4c;
  color: #ffffff;
}
.berita-pagination {
  position: relative;
  z-index: 10;
}

.pagination {
  position: relative;
  z-index: 11;
}
footer {
  position: relative;
  z-index: 1;
}
.berita-list-section {
  padding-bottom: 140px;
}
.berita-pagination {
  position: relative;
  z-index: 9999;
}
/* =============================================
   FILTER SEKOLAH
============================================= */

.berita-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  color: #1f2937;
  text-decoration: none;
  transition: 0.3s;
}

.filter-btn:hover {
  background: #1a2b4c;
  color: #ffffff;
}

/* =============================================
   SIDEBAR PORTAL BERITA
============================================= */

.sidebar-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #1a2b4c;
}

.sidebar-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar-list li {
  margin-bottom: 12px;
  font-size: 14px;
}

.sidebar-list li a {
  text-decoration: none;
  color: #374151;
  transition: 0.2s;
}

.sidebar-list li a:hover {
  color: #d4af37;
}
/* =============================================
   SIDEBAR NEWS PROFESSIONAL
============================================= */

.sidebar-news-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  text-decoration: none;
  align-items: center;
}

.sidebar-news-img img {
  width: 65px;
  height: 55px;
  object-fit: cover;
  border-radius: 10px;
}

.sidebar-news-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}

.sidebar-news-date {
  font-size: 12px;
  color: #9ca3af;
  display: block;
  margin-bottom: 3px;
}

.sidebar-news-item:hover .sidebar-news-title {
  color: #d4af37;
}

/* =============================================
   SIDEBAR ACTIVITY PROFESSIONAL
============================================= */

.sidebar-activity {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fb;
  padding: 10px 14px;
  border-radius: 10px;
}

.activity-school {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.activity-count {
  background: linear-gradient(90deg, #d4af37, #f1d37a);
  color: #1a2b4c;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.activity-school {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}
