/* Nuestros Programas Institucionales — after-school.html hub */
body.ls-programas-hub footer.footer {
  margin-top: 24px !important;
}
.prog-page {
  background: #fff;
  padding: 36px 0 0;
}
.prog-wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 20px 8px;
}
.prog-intro {
  margin: 0 auto 28px;
  max-width: 820px;
  text-align: center;
}
.prog-kicker {
  color: #2aa3d9;
  display: block;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 12px;
  letter-spacing: 1.4px;
  margin: 0 0 10px;
}
.prog-title {
  color: #0b1f4d;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 14px;
}
.prog-divider {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0 0 16px;
}
.prog-divider span {
  background: #e8edf5;
  flex: 0 0 48px;
  height: 2px;
}
.prog-divider i {
  color: #e7128b;
  font-size: 14px;
}
.prog-lead {
  color: #5b6b7c;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.prog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 28px;
}
.prog-filter {
  align-items: center;
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 999px;
  color: #0b1f4d;
  cursor: pointer;
  display: inline-flex;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 12px;
  gap: 8px;
  line-height: 1;
  padding: 11px 16px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.prog-filter i {
  font-size: 13px;
}
.prog-filter:hover {
  border-color: #0b1f4d;
  box-shadow: 0 6px 16px rgba(11, 31, 77, 0.08);
}
.prog-filter.is-active {
  background: #0b1f4d;
  border-color: #0b1f4d;
  color: #fff;
}
.prog-filter[data-filter="ambiental"] i { color: #2f9e6f; }
.prog-filter[data-filter="social"] i { color: #e7128b; }
.prog-filter[data-filter="emprendimiento"] i { color: #f59e0b; }
.prog-filter[data-filter="academicos"] i { color: #2563eb; }
.prog-filter[data-filter="afterschool"] i { color: #7c3aed; }
.prog-filter.is-active i { color: #fff; }

.prog-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 28px;
}
.prog-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prog-card:hover {
  box-shadow: 0 16px 36px rgba(15, 39, 68, 0.12);
  transform: translateY(-3px);
}
.prog-card.is-hidden {
  display: none;
}
.prog-card-media {
  min-height: 190px;
  overflow: hidden;
  position: relative;
}
.prog-card-media img {
  display: block;
  height: 190px;
  object-fit: cover;
  width: 100%;
}
.prog-card-tag {
  align-items: center;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 10px;
  gap: 6px;
  letter-spacing: 0.4px;
  padding: 6px 10px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
}
.prog-card-tag .fa { font-size: 11px; }
.prog-card-tag--green { background: #2f9e6f; }
.prog-card-tag--pink { background: #e7128b; }
.prog-card-tag--orange { background: #f59e0b; }
.prog-card-tag--blue { background: #3b82f6; }
.prog-card-tag--purple { background: #7c3aed; }
.prog-card-tag--navy { background: #0b1f4d; }
.prog-card-overlay {
  bottom: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Gotham-Bold", sans-serif;
  font-size: 11px;
  left: 12px;
  letter-spacing: 0.6px;
  position: absolute;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  z-index: 2;
}
.prog-card-overlay--pill {
  border-radius: 999px;
  padding: 6px 10px;
  text-shadow: none;
}
.prog-card-overlay--green {
  background: #2f9e6f;
  color: #fff;
}
.prog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 16px;
}
.prog-card-body h3 {
  color: #0b1f4d;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 10px;
}
.prog-card-body p {
  color: #5b6b7c;
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
}
.prog-card-btn {
  align-items: center;
  background: #eef3f9;
  border-radius: 12px;
  color: #0b1f4d;
  display: flex;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 13px;
  justify-content: center;
  padding: 12px 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.prog-card-btn:hover,
.prog-card-btn:focus {
  background: #0b1f4d;
  color: #fff;
  text-decoration: none;
}
.prog-card-btn span {
  margin-left: 6px;
}

.prog-impact {
  background: linear-gradient(135deg, #0b1f4d 0%, #152447 55%, #1e3a8a 100%);
  border-radius: 24px;
  color: #fff;
  margin: 8px 0 10px;
  padding: 36px 28px 30px;
  text-align: center;
}
.prog-impact-badge {
  background: #f4e24a;
  border-radius: 999px;
  color: #0b1f4d;
  display: inline-block;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 11px;
  letter-spacing: 0.8px;
  margin: 0 0 14px;
  padding: 7px 14px;
}
.prog-impact h3 {
  color: #fff;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.prog-impact > p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 auto 24px;
  max-width: 720px;
}
.prog-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.prog-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 12px;
}
.prog-stat strong {
  display: block;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 34px;
  line-height: 1;
  margin: 0 0 8px;
}
.prog-stat span {
  color: rgba(255, 255, 255, 0.88);
  display: block;
  font-family: "Gotham-Bold", sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  line-height: 1.35;
}
.prog-stat--yellow strong { color: #f4e24a; }
.prog-stat--pink strong { color: #ff6eb4; }
.prog-stat--orange strong { color: #fb923c; }
.prog-stat--green strong { color: #4ade80; }

.prog-page .admision-cta-banner {
  margin-bottom: 0;
  margin-top: 24px;
}

.prog-empty {
  color: #5b6b7c;
  display: none;
  grid-column: 1 / -1;
  padding: 28px 12px;
  text-align: center;
}
.prog-empty.is-visible {
  display: block;
}

@media (max-width: 991px) {
  .prog-title { font-size: 28px; }
  .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog-impact h3 { font-size: 24px; }
}
@media (max-width: 640px) {
  .prog-grid { grid-template-columns: 1fr; }
  .prog-filters { justify-content: flex-start; }
  .prog-stats { grid-template-columns: 1fr; }
  .prog-impact { padding: 28px 18px 22px; }
}
