/* berita.css */
.card {
  background: var(--bg-card, #fff);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow, rgba(0, 0, 0, 0.08));
  transition: 0.2s;
  border: 1px solid var(--border, #d8e2f0);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px var(--shadow-md, rgba(0, 0, 0, 0.15));
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-thumb-placeholder {
  height: 180px;
  background: linear-gradient(135deg, #0a1628, #162d5e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.card-body {
  padding: 18px;
}
.card-body h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text, #0a1628);
  font-family: "Sora", sans-serif;
  font-weight: 600;
}
.card-body p {
  color: var(--text-soft, #4a5568);
  font-size: 0.9rem;
  line-height: 1.5;
}
.berita-card {
  background: var(--bg-card, #fff);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow, rgba(0, 0, 0, 0.07));
  transition: 0.2s;
  border: 1px solid var(--border, #d8e2f0);
  display: flex;
  flex-direction: column;
}
.berita-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px var(--shadow-md, rgba(0, 0, 0, 0.14));
  border-color: rgba(212, 168, 67, 0.3);
}
.berita-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.berita-card .card-body {
  flex: 1;
  padding: 18px;
}
.berita-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text, #0a1628);
  font-family: "Sora", sans-serif;
}
.berita-card p {
  color: var(--text-soft, #4a5568);
  font-size: 0.88rem;
  line-height: 1.5;
}
.berita-card .meta {
  color: var(--text-muted, #8a9ab5);
  font-size: 0.78rem;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.berita-card .meta i {
  color: #d4a843;
}
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #162d5e 60%, #1e3a78 100%);
  color: #fff;
  padding: 90px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none; /* FIX: jangan blokir klik */
  background:
    radial-gradient(
      ellipse at 70% 40%,
      rgba(212, 168, 67, 0.12) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(41, 82, 163, 0.2) 0%,
      transparent 50%
    );
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none; /* FIX: jangan blokir klik */
  background: linear-gradient(to top, var(--bg, #f8fafd), transparent);
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  font-family: "Sora", sans-serif;
  font-weight: 800;
}
.hero p {
  font-size: 1.05rem;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  font-weight: 300;
}
.hero-cta {
  position: relative;
  z-index: 1; /* FIX: pastikan tombol di atas overlay */
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hero-stat .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: #f0c96a;
  display: block;
  font-family: "Sora", sans-serif;
}
.hero-stat .lbl {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 768px) {
  .hero {
    padding: 60px 16px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-stats {
    gap: 24px;
  }
}
.cta-section {
  background: linear-gradient(135deg, #0a1628, #162d5e);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 12px;
  font-family: "Sora", sans-serif;
}
.cta-section p {
  opacity: 0.8;
  margin-bottom: 28px;
  font-size: 1.05rem;
}