/* OGC v23 — refined training-area illustrations.
   Keeps the original discipline artwork, but uses quiet, consistent backgrounds. */
.ogc-home .oh-training-section .oh-area-image--illustration {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  isolation: isolate;
  background: linear-gradient(135deg, #173f4a 0%, #1d605d 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

.ogc-home .oh-training-section .oh-area-image--illustration::before,
.ogc-home .oh-training-section .oh-area-image--illustration::after {
  content: none !important;
  display: none !important;
}

.ogc-home .oh-training-section .oh-area-image--illustration img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.ogc-home .oh-training-section .oh-area-image--illustration .oh-area-index {
  position: absolute !important;
  z-index: 3 !important;
  top: 11px !important;
  left: 11px !important;
  padding: 5px 8px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 6px !important;
  background: rgba(7, 38, 45, .82) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .1em !important;
  box-shadow: none !important;
}

.ogc-home .oh-area-card:hover .oh-area-image--illustration img {
  transform: none !important;
}

@media (max-width: 640px) {
  .ogc-home .oh-training-section .oh-area-image--illustration {
    aspect-ratio: 16 / 9 !important;
  }
  .ogc-home .oh-training-section .oh-area-image--illustration .oh-area-index {
    top: 9px !important;
    left: 9px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ogc-home .oh-training-section .oh-area-image--illustration img {
    transition: none !important;
  }
}
