.berita-wrapper {
  margin-top: 20px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tab {
  border: 2px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.tab.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.tab-panels {
  margin-top: 28px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 16px;
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.news-card-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.news-card-desc {
  color: #4b5563;
  margin-bottom: 12px;
  min-height: 60px;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.webinar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.webinar-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.webinar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.webinar-desc {
  color: #4b5563;
  margin-bottom: 14px;
}

.webinar-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}

.webinar-form input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
}

.webinar-form input[type="email"]:focus {
  outline: none;
  border-color: #2563eb;
}

.alert {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.alert-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.muted {
  color: #6b7280;
  font-size: 0.9rem;
}

.live-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.live-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.live-card iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: 0;
}

.live-card .live-body {
  padding: 14px 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  text-align: left;
}

.section-subtitle {
  color: #475569;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .webinar-grid {
    grid-template-columns: 1fr;
  }
  .live-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .webinar-form {
    grid-template-columns: 1fr;
  }
}
