/* ============== PENGUMUMAN DINAMIS (PERADI) ============== */
.announcements {
  width: min(70%, 1160px);
  margin: 28px auto 56px;
}

.ann-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
}
.ann-head .line { flex: 1; height: 3px; background: var(--accent); border-radius: 2px; }
.ann-head h2 {
  margin: 0;
  font-family: "Story Script", "Great Vibes", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  color: #131f49;
  letter-spacing: .2px;
  white-space: nowrap;
}

.ann-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ann-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ann-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }

.ann-media {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.ann-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}
.ann-card:hover .ann-media img { transform: scale(1.04); filter: brightness(.96); }

.ann-badge {
  position: absolute; left: 12px; top: 12px;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 12px; letter-spacing: .4px;
  padding: 6px 10px; border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
}

.ann-body { padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 10px; }
.ann-title {
  margin: 0; font-size: 18px; font-weight: 800; color: #0f172a; line-height: 1.25;
}
.ann-meta {
  display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: 13px; color: #6b7280;
}
.ann-meta i { opacity: .9; margin-right: 6px; }

.ann-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 8px;
}
.ann-list li {
  font-size: 14px; color: #374151; line-height: 1.5;
  display: flex; align-items: flex-start; gap: 10px;
}
.ann-list i { margin-top: 2px; color: var(--bg); }

.ann-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px 14px; margin-top: auto;
}
.ann-cta .btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800; border-radius: 10px;
  padding: 10px 14px; box-shadow: 0 2px 0 rgba(0,0,0,.12);
}
.ann-cta .btn.primary { background: var(--cta); color: #0f172a; }
.ann-cta .btn.light   { background: #f3f4f6; color: #111827; }
.ann-cta .btn:hover { filter: brightness(.96); }

@media (max-width: 1100px) {
  .announcements { width: 90%; }
  .ann-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ann-head { flex-wrap: wrap; gap: 10px; }
  .ann-head h2 { white-space: normal; }
  .ann-grid { grid-template-columns: 1fr; }
}
