/* OPCT Website v1.5.12 — full homepage hero restore.
   This file loads last and intentionally overrides only the homepage hero
   sizing rules introduced in v1.5.8. The approved artwork must always remain
   fully visible: no fixed/clamped height and no object-fit cropping. */

.opct-home-image-hero {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000;
}

.opct-home-image-hero .opct-home-hero-image,
.opct-home-hero-image {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center top !important;
}

/* Keep the image fully visible on laptop, tablet and mobile breakpoints too. */
@media (max-width: 1180px), (max-width: 768px), (max-width: 420px),
       (min-width: 769px) and (max-height: 900px) {
  .opct-home-image-hero .opct-home-hero-image,
  .opct-home-hero-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
}
