/* ═══════════════════════════════════════════════
   programs.css — Programs page styles
═══════════════════════════════════════════════ */

.programs-section { background: var(--bg); }

.all-programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.prog-detail-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.prog-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-mid);
}

.prog-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.prog-header-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.prog-header-info h3 {
  font-family: 'Poppins', sans-serif;
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
}

.prog-header-info .prog-age-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  margin-top: 6px;
}

.prog-card-body { padding: 1.75rem 2rem; }

.prog-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.prog-highlights { display: flex; flex-direction: column; gap: 0.6rem; }

.prog-highlight {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.prog-check {
  width: 18px; height: 18px;
  background: var(--sky);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
  font-weight: 800;
}

.prog-highlight span { color: var(--text-dark); font-size: 0.875rem; line-height: 1.5; }

/* ── SCHEDULE TABLE ── */
.schedule-section { background: white; }

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-table thead {
  background: var(--primary);
  color: white;
}

.schedule-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.schedule-table td {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--sky-mid);
}

.schedule-table tbody tr:nth-child(even) { background: var(--bg); }
.schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:hover td { background: var(--sky); }

.badge-age {
  display: inline-block;
  background: var(--sky);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
}

@media (max-width: 768px) {
  .all-programs-grid { grid-template-columns: 1fr; }
  .schedule-table { font-size: 0.82rem; }
  .schedule-table th, .schedule-table td { padding: 0.75rem 0.85rem; }
}
