/* Learning labs directory only (/curriculum/learning-labs/). Lab pages keep lab.css.
   Presentation layer: the markup, search, and progress logic are unchanged. */
body {
  background: #f6f4ed;
  color: #17324d;
}
.catalog-header {
  background: #fffefa;
  border-bottom: 1px solid #d8ded8;
  padding-bottom: 28px;
}
.catalog-header h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.02;
  color: #17324d;
}
.labs-lead {
  max-width: 62ch;
  font-size: 1.12rem;
  line-height: 1.6;
  color: #3f505c;
}
.catalog-meta {
  color: #53636e;
}
.catalog-finder {
  border-radius: 14px;
  box-shadow: 0 10px 26px -22px rgb(23 50 77 / .5);
}
.catalog-unit > summary {
  border-top: 1px solid #d8ded8;
}
.catalog-grid {
  gap: 18px;
}
.lab-card {
  position: relative;
  border: 1px solid #d8ded8;
  border-radius: 16px;
  background: #fffefa;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lab-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--accent, #17766f);
}
.lab-card:hover,
.lab-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--accent, #17766f);
  box-shadow: 0 16px 30px -22px rgb(23 50 77 / .45);
}
.lab-card:focus-within {
  outline: 3px solid var(--accent, #17766f);
  outline-offset: 3px;
}
.card-mission {
  color: #3f505c;
  line-height: 1.5;
}
.card-cta {
  color: #17324d;
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .lab-card { transition: none; }
  .lab-card:hover, .lab-card:focus-within { transform: none; }
}
