:root {
  --bg-soft-green: #f2fbf7;
  --bg-white: #ffffff;
  --green-primary: #10b981;
  --green-hover: #059669;
  --green-light: #d1fae5;
  --green-dark: #064e3b;
  --text-body: #4b5563;
  --text-muted: #6b7280;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.announcement-section {
  background-color: var(--bg-soft-green);
  min-height: 100vh;
  padding: 72px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  display: inline-block;
  background-color: var(--green-light);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  color: var(--green-dark);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.announcement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.announcement-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  padding: 28px;
  border-top: 5px solid var(--green-primary);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.announcement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.16);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
}

.badge {
  background-color: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
}

.badge.penting {
  background-color: #fef3c7;
  color: #92400e;
}

.date {
  color: var(--text-muted);
  font-weight: 500;
}

.card-title {
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.card-excerpt {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  color: var(--green-primary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: var(--green-hover);
}

.card-link span {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.card-link:hover span {
  transform: translateX(4px);
}

.section-footer {
  text-align: center;
  margin-top: 44px;
}

.btn-all {
  display: inline-block;
  background-color: var(--green-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-all:hover {
  background-color: var(--green-hover);
  transform: translateY(-2px);
}
