/* OMT V24 — Studio Showcase right-column artwork + hover motion
   Keeps the established OMT placeholder dimensions intact. */

/* Preserve the three original right-column placeholder proportions:
   showcase-8 = 682x384, showcase-6 = 812x540, showcase-9 = 870x540. */
#omt-home-content .omt-showcase-right .omt-showcase-right-slot {
  width: 100%;
  position: relative;
  overflow: hidden;
}

#omt-home-content .omt-showcase-right .omt-showcase-right-slot--1 {
  aspect-ratio: 682 / 384;
}

#omt-home-content .omt-showcase-right .omt-showcase-right-slot--2 {
  aspect-ratio: 812 / 540;
}

#omt-home-content .omt-showcase-right .omt-showcase-right-slot--3 {
  aspect-ratio: 870 / 540;
}

#omt-home-content .omt-showcase-right .omt-showcase-right-slot img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}

/* Framing tuned to keep each subject visible within the source placeholder. */
#omt-home-content .omt-showcase-right .omt-showcase-right-slot--1 img {
  object-position: 52% 50%;
}

#omt-home-content .omt-showcase-right .omt-showcase-right-slot--2 img {
  object-position: 50% 50%;
}

#omt-home-content .omt-showcase-right .omt-showcase-right-slot--3 img {
  object-position: 50% 49%;
}

/* Gaming-style interaction across the complete Studio Showcase without
   changing layout geometry or invoking expensive blur filters. */
#omt-home-content .studio-showcase-thumb {
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

#omt-home-content .studio-showcase-thumb img {
  transform: scale(1.001);
  transform-origin: center center;
  transition: transform .72s cubic-bezier(.2,.72,.22,1), filter .45s ease;
  will-change: transform;
}

#omt-home-content .studio-showcase-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(15,0,212,.055) 55%, transparent 78%);
  transition: opacity .45s ease;
}

#omt-home-content .studio-showcase-thumb:hover img {
  transform: scale(1.075);
  filter: brightness(1.035) saturate(1.06);
}

#omt-home-content .studio-showcase-thumb:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #omt-home-content .studio-showcase-thumb img,
  #omt-home-content .studio-showcase-thumb::after {
    transition: none !important;
  }
  #omt-home-content .studio-showcase-thumb:hover img {
    transform: none !important;
    filter: none !important;
  }
}
