/* ============================================================
   Berita (post type "berita") — /berita/ & detail
   Memakai token home.css; header/footer via .nav/.footer.
   ============================================================ */
.news-page { min-height: 60vh; padding: 0 20px 88px; }

/* Hero */
.news-hero {
  text-align: center;
  padding: 72px 16px 32px;
}
.news-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.news-hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
}
.news-hero h1 .grad {
  background: linear-gradient(90deg, var(--blue), var(--blue-lt));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.news-sub { margin-top: 12px; color: var(--slate); font-size: 17px; }

/* Grid kartu */
.news-grid {
  width: min(var(--max), 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eef1f7;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(28, 35, 61, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-media { aspect-ratio: 16 / 10; background: var(--gray-30); }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-date {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
}
.news-body h3 { font-size: 18px; font-weight: 800; color: var(--navy); line-height: 1.35; }
.news-body p { font-size: 14.5px; color: var(--slate); line-height: 1.6; flex: 1; }
.news-more { font-size: 14px; font-weight: 700; color: var(--blue); }
.news-card:hover .news-more { color: var(--blue-lt); }

/* Empty */
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--slate);
  border: 1px dashed #d7deeb;
  border-radius: var(--radius);
}
.news-empty strong { display: block; font-size: 18px; color: var(--navy); margin-bottom: 6px; }

/* Pagination */
.news-pagination { margin-top: 44px; text-align: center; }
.news-pagination .nav-links { display: inline-flex; gap: 6px; }
.news-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid #e6ebf3;
  color: var(--navy);
  font-weight: 600;
}
.news-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.news-pagination .page-numbers:hover:not(.current) { border-color: var(--blue); color: var(--blue); }

/* Detail artikel */
.news-single { padding-top: 40px; }
.news-article { width: min(820px, 100%); margin: 0 auto; }
.news-article-head { text-align: center; margin-bottom: 24px; }
.news-article-head h1 { font-size: clamp(28px, 4.5vw, 42px); font-weight: 800; color: var(--navy); line-height: 1.15; }
.news-meta { margin-top: 12px; color: var(--slate); font-size: 14px; }
.news-meta-dot { margin: 0 6px; }
.news-cover { border-radius: var(--radius); overflow: hidden; margin: 0 0 28px; }
.news-cover img { width: 100%; height: auto; }
.news-article .content-body { font-size: 17px; }
.news-back { margin-top: 40px; }

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-page { padding: 0 14px 60px; }
}
