/* Shared section hierarchy and the course project/practice layouts. */
.techspire main:not(.services-refresh) :is(.section, .tech-section, .ts-section) h2:not(.lead-panel h2, .card h2, .course-admissions h2) {
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.16;
  letter-spacing: -.037em;
  text-wrap: balance;
}
.techspire main .course-portfolio { padding-block: clamp(28px, 4vw, 54px); }
.techspire main .course-project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "intro intro" "photo checklist" "ai ai";
  align-items: start;
  gap: 18px clamp(18px, 3.2vw, 42px);
}
.course-project-layout > * { min-width: 0; }
.course-project-layout .course-project-intro { grid-area: intro; max-width: 72ch; }
.course-project-intro .index { margin: 0 0 .45rem; }
.course-project-intro h2 { margin: 0 0 .65rem; }
.techspire .course-project-intro .lede {
  max-width: 70ch;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.55;
}
.course-project-layout .media-project-photo {
  grid-area: photo;
  width: 100%;
  max-width: none;
  margin: 0;
}
.techspire .course-project-layout .portfolio-deliverables {
  grid-area: checklist;
  margin: 0;
  padding: clamp(14px, 2.5vw, 23px);
}
.course-project-layout .portfolio-deliverables h3 { margin: 0 0 .65rem; }
.course-project-layout .deliverable-list li { padding: .56rem .7rem; line-height: 1.45; }
.techspire .course-portfolio .course-project-layout .ai-brief {
  grid-area: ai;
  margin: 0;
  padding: .9rem 1rem;
  background: #f0f6f3;
  border: 1px solid #d4e4dc;
  border-inline-start: 4px solid #14645b;
  border-radius: 8px;
}
.course-project-layout .ai-brief h3 { margin: 0 0 .3rem; }
.course-project-layout .ai-brief p { margin: 0; max-width: 80ch; line-height: 1.55; }
.techspire main #technical-lab {
  padding-block: clamp(26px, 3.7vw, 46px);
  background: #f7f9fa;
  border-block: 1px solid #dbe2ea;
}
.techspire #technical-lab .course-lab-layout {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(16px, 3vw, 36px);
}
#technical-lab .course-lab-layout > * { min-width: 0; }
#technical-lab .course-lab-layout .eyebrow { margin: 0 0 .45rem; }
#technical-lab .course-lab-layout h2 { margin: 0 0 .65rem; }
#technical-lab .course-lab-layout .muted { margin: 0; max-width: 51ch; line-height: 1.55; }
#technical-lab .course-lab-layout .steps { margin: 0; }
@media (min-width: 1080px) {
  .techspire .course-portfolio,
  .techspire #technical-lab { scroll-margin-top: 14px; }
}
@media (max-width: 1079px) {
  html:has(.techspire .course-top + .home-jump) { scroll-padding-top: 0; }
  .techspire .course-top + .home-jump { position: static; }
}
@media (max-width: 760px) {
  .techspire main .course-project-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "checklist" "photo" "ai";
    gap: 14px;
  }
  .techspire #technical-lab .course-lab-layout { grid-template-columns: minmax(0, 1fr); }
}
