/* Enrichment page (School Life section). */

.enr-banner { min-height: 400px; }
.enr-banner img { object-position: center 26%; }
@media (max-width: 700px) { .enr-banner { min-height: 220px; } }

/* Jump links to the four programs. */
.enr-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.enr-jump a {
  display: inline-block; padding: 8px 16px; border: 1.5px solid var(--navy); border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.enr-jump a:hover { background: var(--navy); color: #fff; }

/* One row per program: photo on the left, text on the right, a rule between rows. */
.enr-section { padding-top: 0; }
.enr-list { display: grid; gap: 0; }
.enr-row { display: grid; gap: 18px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 24px; }
.enr-row:first-child { border-top: 0; padding-top: 8px; }
.enr-row img { width: 100%; height: 260px; object-fit: cover; object-position: center 40%; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 760px) {
  .enr-row { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; }
  .enr-row img { height: 300px; }
}
/* Photo on the left, text in the middle, a card on the right (Karen, Oct 2026). */
@media (min-width: 1000px) { .enr-row { grid-template-columns: 280px minmax(0, 1fr) 280px; gap: 40px; } }
.enr-row__slot {
  display: flex; align-items: center; justify-content: center; text-align: center; height: 300px;
  border: 2px dashed var(--sand-deep); border-radius: var(--radius); background: var(--cream);
  color: var(--warm-400); font-size: 14px; font-weight: 700; letter-spacing: .04em; padding: 16px;
}
@media (max-width: 999px) { .enr-row__slot { display: none; } }
/* The Art row shows two photos stacked in the photo column. */
.enr-row__photos { display: grid; gap: 12px; }
.enr-row .enr-row__photos img { height: auto; }
@media (max-width: 759px) { .enr-row__photos { grid-template-columns: 1fr 1fr; align-items: start; } }
/* Art has two photos on each side (Karen, Nov 2026). On a computer both stacks are the same
   height. On a phone each pair sits side by side at one height. */
.enr-row .enr-row__photos--left img { height: 190px; }
@media (min-width: 760px) {
  .enr-row .enr-row__photos--left img { height: 300px; }
  .enr-row .enr-row__photos--left img + img { height: 260px; object-position: center 45%; }
}
@media (min-width: 1000px) { .enr-row .enr-row__photos--right img { height: 280px; object-position: center; } }
/* A photo whose subject sits low in the frame. */
.enr-row .enr-row__img--low { object-position: center 78%; }
.enr-row h2 { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.025em; line-height: 1.1; }
.enr-row__text p { margin: 0 0 12px; font-size: 16px; line-height: 1.75; max-width: 680px; }
.enr-row__text p:last-child { margin-bottom: 0; }
.enr-objectives { margin: 0; padding-left: 22px; font-size: 16px; line-height: 1.7; columns: 2; max-width: 420px; }
.enr-objectives li { break-inside: avoid; }
@media (max-width: 700px) {
  .enr-row { padding: 20px 0; }
  .enr-row img { height: 200px; }
  .enr-row__text p { font-size: 15px; }
  .enr-objectives { font-size: 15px; }
}

.enr-back { margin: 0; }
.enr-back a { color: var(--brick); font-weight: 700; text-decoration: none; }
.enr-back a:hover { text-decoration: underline; }
