/* OGC v21 homepage image framing and floating customer support launcher. */
.ogc-home .oh-area-image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  overflow: hidden !important;
  background: #123e49 !important;
  isolation: isolate;
}
.ogc-home .oh-area-image img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
}
.ogc-home .oh-course-image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 168px !important;
  min-height: 168px !important;
  overflow: hidden !important;
  background: #dcebe5 !important;
}
.ogc-home .oh-course-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 42% !important;
  transform: none;
  transition: transform .35s ease;
}
.ogc-home .oh-course-card:hover .oh-course-image img { transform: scale(1.035); }
.ogc-home .oh-course-image:after { pointer-events: none; }
@media (max-width: 640px) {
  .ogc-home .oh-course-image { height: 184px !important; min-height: 184px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ogc-home .oh-course-image img { transition: none; }
  .ogc-home .oh-course-card:hover .oh-course-image img { transform: none; }
}

/* OGC v22: restrained, photographic training-area image treatment. */
.ogc-home .oh-area-image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #f1f4f2 !important;
  isolation: isolate;
  border-bottom: 1px solid #e7eeea;
}
.ogc-home .oh-area-image::before,
.ogc-home .oh-area-image::after {
  content: none !important;
  display: none !important;
}
.ogc-home .oh-area-image img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
}
.ogc-home .oh-area-image.oh-area-image--contain img {
  object-fit: contain !important;
  padding: 8px 12px !important;
  background: #f1f4f2 !important;
}
.ogc-home .oh-area-image .oh-area-index {
  z-index: 2;
  top: 12px;
  left: 12px;
  background: rgba(13, 42, 50, .88);
  box-shadow: none;
}
.ogc-home .oh-area-card:hover .oh-area-image img {
  transform: none !important;
}
.ogc-home .oh-training-image-credits {
  margin: 18px 0 0;
  color: #647770;
  font-size: 12px;
  line-height: 1.65;
}
.ogc-home .oh-training-image-credits summary {
  width: fit-content;
  color: #167d64;
  cursor: pointer;
  font-weight: 650;
  list-style-position: inside;
}
.ogc-home .oh-training-image-credits > div {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid #e5ece8;
  border-radius: 10px;
  background: #f8faf9;
}
.ogc-home .oh-training-image-credits a {
  color: #117d63;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 640px) {
  .ogc-home .oh-area-image { aspect-ratio: 16 / 9 !important; }
  .ogc-home .oh-area-image .oh-area-index { top: 9px; left: 9px; }
}
