/* Lower-page polish. Keep the header, hero and their shared base styles intact. */
/* The original HTML offers all feature details when JavaScript is unavailable. */
.feature-card__details { margin-top: 16px; font-size: 12px; color: #4c6458; }
.feature-card__details summary { padding-block: 10px; color: #087d48; cursor: pointer; }
.feature-card__details ol { padding-left: 20px; }
.feature-card__details li + li { margin-top: 12px; }
.feature-card__details strong { display: block; margin-bottom: 4px; color: #193029; }
.features--spotlight .feature-card__details { display: none; }

:is(.features__header, .syllabus-heading, .ai-workflows__header, .tool-library__header,
    .learning-outcomes .outcome-heading, .learning-outcomes .outcome-copy,
    .course-mentors .outcome-heading) .hero__ribbon {
  padding: 0;
  min-height: 0;
  margin-bottom: 14px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #85d6ad;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .06em;
}

:is(.features__header, .syllabus-heading, .ai-workflows__header, .tool-library__header,
    .learning-outcomes .outcome-heading, .learning-outcomes .outcome-copy,
    .course-mentors .outcome-heading) .hero__ribbon-dot { display: none; }

:is(.features, .syllabus, .ai-workflows, .learning-outcomes, .course-mentors) h2 {
  text-wrap: balance;
}

.features .features__header h2 { white-space: normal; }

:is(.features__intro, .syllabus-heading > div > p:last-child,
    .ai-workflows__header > p:last-child, .tool-library__header > p:last-child,
    .learning-outcomes .outcome-heading > p:last-child,
    .course-mentors .outcome-heading > p:last-child) {
  max-width: 68ch;
  text-wrap: pretty;
  line-height: 1.8;
}

.features__intro,
.syllabus-heading > div > p:last-child,
.ai-workflows__header > p:last-child {
  margin-inline: auto;
  font-size: 14px;
}

.tool-library__header > p:last-child { font-size: 13px; }

/* Give the practical work a quieter, editorial heading treatment. */
#capstone-projects .outcome-heading,
#case-studies .outcome-heading {
  text-align: left;
  max-width: none;
}

#capstone-projects .outcome-heading > p:last-child,
#case-studies .outcome-heading > p:last-child {
  margin-inline: 0;
}

.build-projects__grid { align-items: stretch; }
.project-build {
  display: flex;
  flex-direction: column;
  border-color: #477c6c45;
}
.project-build__top { margin-bottom: 20px; }
.project-build h3,
.project-build > p,
.project-build__output p { min-height: 0; }
.project-build > p {
  font-size: 13px;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.project-build__output { margin-top: auto; }
.project-build__top > span,
.project-build__output > span { font-size: 10px; }
.project-build__output p { font-size: 13px; }

.industry-case { border-color: #477c6c65; }
.industry-case .industry-case__header p { font-size: 12px; }
.industry-case__body p {
  font-size: 13px;
  line-height: 1.75;
  text-wrap: pretty;
}
.industry-case__body > span { font-size: 10px; }
.industry-case__body h4 { font-size: 12px; }

.feature-detail__points p,
.portfolio-steps p { font-size: 13px; }
.syllabus-week li,
.syllabus-output p { font-size: 12px; }
.portfolio-steps h3 { font-size: 14px; }
.certification-skills li { font-size: 13px; }
.certificate-condition { font-size: 12px; }

/* Let the people and their roles stand on their own, without another card frame. */
.course-mentors .team-mentor {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.course-mentors .team-mentor > img { border-radius: 12px; }
.course-mentors .team-mentor > .team-mentor__portrait--ramya { object-position: center 30%; }
.course-mentors .team-mentor > .team-mentor__portrait--gopi { object-position: center 35%; }
.course-mentors .team-mentor > .team-mentor__portrait--padma { object-position: center top; }
.course-mentors .team-mentor > .team-mentor__portrait--sudheer { object-position: center 20%; }
.course-mentors .team-mentor > div { padding: 16px 0 0; }
.course-mentors .team-mentor p {
  font-size: 12px;
  color: #aac6b7;
}

/* Clear keyboard and pressed feedback, scoped away from the hero controls. */
:is(.features, .learning-outcomes, .learner-reviews, .course-enquiry)
  :is(button:not(:disabled), a):focus-visible {
  outline: 2px solid #81e9aa;
  outline-offset: 4px;
}
:is(.learning-outcomes, .learner-reviews, .course-enquiry)
  .course-cta:not(:disabled):active { filter: brightness(.92); }

@media (max-width: 760px) {
  .project-build > p { margin-bottom: 20px; }
  .course-mentors .team-mentor > div { padding-top: 12px; }
  .course-mentors .team-mentor p { font-size: 11px; }
}
