/* Banner Reel — reusable scroll-expand media + view reel player */

.banner-reel {
  position: relative;
  margin: 40px 0 60px;
  --banner-side-margin: 160px;
  --banner-scale: 0.88;
  --banner-radius: 24px;
}

.banner-reel__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: none;
  text-align: left;
}

.banner-reel__frame {
  display: block;
  margin-left: var(--banner-side-margin);
  margin-right: var(--banner-side-margin);
  border-radius: var(--banner-radius);
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  transform: scale(var(--banner-scale));
  transform-origin: center center;
  will-change: margin, transform;
}

.banner-reel__image {
  display: block;
  width: 100%;
  height: 950px;
  object-fit: cover;
  object-position: center center;
}

.banner-reel__cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.72);
  color: #ffffff;
  font-family: var(--misiom-font, "Neue Montreal", Arial, sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, -50%, 0) scale(0.92);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: none;
}

.banner-reel__cursor.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.banner-reel-modal[hidden] {
  display: none !important;
}

.banner-reel-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.banner-reel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.banner-reel-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.banner-reel-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.banner-reel-modal__close:hover {
  transform: scale(1.05);
}

.banner-reel-modal__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.banner-reel-modal__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

body.banner-reel-open {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .banner-reel {
    --banner-side-margin: 80px;
  }
}

@media (max-width: 991px) {
  .banner-reel {
    --banner-side-margin: 24px !important;
    --banner-scale: 1 !important;
    margin: 30px 0 40px;
  }

  .banner-reel__trigger {
    cursor: pointer;
  }

  .banner-reel__cursor {
    display: none;
  }

  .banner-reel__image {
    height: 480px;
  }
}

@media (max-width: 575px) {
  .banner-reel {
    --banner-side-margin: 10px !important;
  }

  .banner-reel__image {
    height: 360px;
  }

  .banner-reel-modal {
    padding: 12px;
  }

  .banner-reel-modal__dialog {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-reel__frame {
    transform: none;
  }
}
