/* ===========================
   Berita
   =========================== */
.berita-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.berita-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.12), 0 8px 10px -6px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.berita-card-img { position: relative; height: 208px; background: #e5e7eb; overflow: hidden; }
.berita-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.berita-card:hover .berita-card-img img { transform: scale(1.06); }
.berita-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.25), transparent 45%);
}
.berita-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 9999px;
}
.berita-card-body { padding: 1.5rem; }
.berita-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.berita-card:hover .berita-card-title { color: var(--red); }
.berita-card-excerpt {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.berita-card-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #9ca3af;
  font-size: 0.75rem;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}
.berita-card-foot > div { display: flex; align-items: center; gap: 5px; }
.berita-card-foot svg { width: 14px; height: 14px; flex-shrink: 0; }
.berita-card-more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.berita-card-more svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.berita-card:hover .berita-card-more svg { transform: translateX(4px); }