/* Official MAXUS films (click to load) and a photo lightbox.
   Self-contained so the showroom, the cinematic pages, and the MAXUS sites
   can share one file. No remote images. */

.mx-media {
  background: #052057;
  color: #fff;
  border-top: 3px solid #e31837;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2rem);
  font-family: inherit;
}
.mx-media__inner { max-width: 1100px; margin: 0 auto; }
.mx-media h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.mx-media__lead {
  margin: 0.45rem 0 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}
.mx-media__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 1.1rem;
}
.mx-film { margin: 0; min-width: 0; }
.mx-film__play {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #031433;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.mx-film__play:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.mx-film__play img,
.mx-film__play iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
.mx-film__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: #e31837;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.mx-film__icon::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
}
.mx-film figcaption {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}
.mx-film figcaption a { color: #fff; }
.mx-film figcaption a:hover { color: #f6c1ca; }

.strip img,
.gallery__strip img { cursor: zoom-in; }
.strip img:focus-visible,
.gallery__strip img:focus-visible {
  outline: 3px solid #052057;
  outline-offset: 3px;
}

.mx-lb {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(5, 10, 24, 0.92);
}
.mx-lb[hidden] { display: none; }
.mx-lb img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.mx-lb__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #052057;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.mx-lb__close:focus-visible { outline: 3px solid #e31837; outline-offset: 3px; }

@media (max-width: 720px) {
  .mx-media__row { grid-template-columns: 1fr; }
  .mx-film__icon { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .mx-film__icon::before { left: 22px; top: 16px; }
  .mx-lb { padding: 56px 10px 16px; }
}
