body img.training-photo {
  filter: grayscale(1);
  transition: filter .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  body img.training-photo:hover,
  body .course-card:hover img.training-photo,
  body .hero-photo:hover img.training-photo {
    filter: none;
  }
}

body a:focus-visible img.training-photo,
body .course-card:focus-within img.training-photo,
body .hero-photo:focus-within img.training-photo {
  filter: none;
}

@media (hover: none) {
  body img.training-photo {
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body img.training-photo {
    transition: none;
  }
}

body .article img.training-photo-people,
body .split > img.training-photo-people,
body .hero-photo > img.training-photo-people,
body .hero-photo picture > img.training-photo-people {
  object-fit: contain !important;
  object-position: center !important;
}

body .article img.training-photo-people {
  max-height: none !important;
  height: auto !important;
  aspect-ratio: auto !important;
}

body .course-card img.training-photo-people {
  object-fit: cover !important;
  object-position: center 25% !important;
}

.recert-course .recert-hero {
  background: #f8f6f1;
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
}

.recert-course .recert-hero-grid,
.recert-course .recert-details {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.recert-course .recert-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
}

.recert-course h1 {
  font-size: clamp(2rem, 4.1vw, 3.75rem);
  line-height: 1.08;
  margin-block: .5rem .8rem;
}

.recert-course .recert-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.recert-course .recert-facts,
.recert-course .recert-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.4rem;
}

.recert-course .recert-facts {
  margin-block: 1.1rem 1.35rem;
}

.recert-course .recert-facts div {
  padding: .65rem .9rem;
  border: 1px solid #ded9d1;
  border-radius: .65rem;
  background: #fff;
}

.recert-course .recert-facts dt {
  font-size: .85rem;
}

.recert-course .recert-facts dd {
  margin: .1rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.recert-course .recert-actions {
  scroll-margin-top: 9rem;
}

.recert-course .recert-phone,
.recert-course .recert-details a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .16em;
}

.recert-course .recert-details {
  max-width: 66rem;
  gap: 1.5rem;
  padding-block: clamp(1.6rem, 4vw, 3.5rem);
}

.recert-course .recert-details > section + section {
  border-top: 1px solid #ded9d1;
  padding-top: 1.5rem;
}

.recert-course .recert-details h2 {
  margin: 0 0 .65rem;
}

.recert-course .recert-details p,
.recert-course .recert-details ul {
  margin-block: .6rem 0;
}

.recert-course .recert-details li + li {
  margin-top: .3rem;
}

@media (max-width: 800px) {
  .recert-course .recert-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
