/* =========================
   Spotlight Swiper (scoped)
   ========================= */

.spotlight-swiper {
  --spotlight-eyebrow-font-family: Manrope;
  --spotlight-eyebrow-font-weight: 700;
  --spotlight-eyebrow-color: #9C1C64;
  --spotlight-eyebrow-line-height: 1.2;
  --spotlight-eyebrow-font-size-desktop: 56px;
  --spotlight-eyebrow-font-size-tablet: 41px;
  --spotlight-eyebrow-font-size-mobile: 32px;
  --spotlight-card-gap-desktop: 40px;
  --spotlight-card-gap-mobile: 18px;
  --spotlight-nav-button-bg: #f4f4f4;
  --spotlight-nav-button-text: #111111;
  --spotlight-nav-button-border: #9C1C6405;
  --spotlight-nav-button-hover-bg: #9C1C64AA;
  --spotlight-nav-button-hover-text: #ffffff;
  --spotlight-nav-button-hover-border: #9C1C64;
}

/* Swiper base */
.spotlight-swiper .swiper{
  position: relative;
  padding: 0;
  max-width: 100%;
  box-sizing: border-box;
  touch-action: pan-y pinch-zoom;
  overflow: hidden !important;
}
.spotlight-swiper .swiper:active {
  cursor: grabbing;
}

.spotlight-swiper .swiper-wrapper{
  display: flex;
  width: 100%;
  height: auto;
  box-sizing: content-box;
  align-items: flex-start;
  transition-property: transform, height;
}

.spotlight-swiper .swiper-slide{
  flex-shrink: 0;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  box-sizing: border-box;
}

.spotlight-swiper,
.spotlight-swiper *{
  -webkit-user-select: none;
  user-select: none;
}

.spotlight-swiper:not(.nav-ready) .spotlight-nav{
  visibility: hidden;
}

.spotlight-nav--desktop{ display: none !important; }
.spotlight-nav--mobile{ display: flex !important; }

.spotlight-card{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--spotlight-card-gap-desktop);
  align-items: center;
  min-width: 0;
}

.spotlight-left{
  margin: 0;
  min-width: 0;
}

.spotlight-swiper--no-descriptions .spotlight-card{
  grid-template-columns: 1fr;
}

.spotlight-swiper--no-descriptions .spotlight-right{
  margin-top: 24px;
}

.spotlight-swiper--no-eyebrow .spotlight-right,
.spotlight-swiper--no-eyebrow.spotlight-swiper--no-descriptions .spotlight-right{
  margin-top: 0;
}

.spotlight-eyebrow{
  font-size: var(--spotlight-eyebrow-font-size-desktop);
  font-family: var(--spotlight-eyebrow-font-family);
  font-weight: var(--spotlight-eyebrow-font-weight);
  color: var(--spotlight-eyebrow-color);
  line-height: var(--spotlight-eyebrow-line-height);
}

.spotlight-subtext{
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  min-height: 0;
  -webkit-user-select: text;
  user-select: text;
}

.spotlight-subtext .smaller-subtext{
  font-size: 0.95rem;
}

.spotlight-right{
  position: relative;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1025px){
  .spotlight-right{ margin-top: 24px; }
}

.spotlight-video,
.spotlight-video-link{
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  margin: 0;
  padding: 0;
  cursor: grab;
  background: transparent;
  overflow: hidden;
  touch-action: pan-y;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

button.spotlight-video,
button.spotlight-video:hover,
button.spotlight-video:active,
button.spotlight-video:focus,
button.spotlight-video:focus-visible,
a.spotlight-video-link,
a.spotlight-video-link:hover,
a.spotlight-video-link:active,
a.spotlight-video-link:focus,
a.spotlight-video-link:focus-visible{
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
}

button.spotlight-video:focus-visible,
a.spotlight-video-link:focus-visible{
  outline: 3px solid rgba(156, 28, 100, .6) !important;
  outline-offset: 6px;
}

.spotlight-video-link{
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.spotlight-video--playing{
  cursor: default;
}

.spotlight-video--playing .spotlight-frame{
  cursor: default;
}

.spotlight-frame{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--spotlight-video-aspect-ratio, 16 / 9);
  height: auto;
  max-height: none;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 6px 4px rgba(0,0,0,.06);
}

.spotlight-frame .spotlight-thumb{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.spotlight-frame iframe,
.spotlight-frame video{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.spotlight-play{
  position: absolute;
  left: 50%;
  top: 50%;
  cursor: pointer;
  transform: translate(-50%,-50%);
  background: transparent;
  line-height: 0;
}

.spotlight-external-badge{
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.74);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.spotlight-external-icon{
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}

.play-icon{
  width: 64px;
  height: 64px;
  display: block;
}

@media (max-width: 767px){
  .play-icon{
    width: 52px;
    height: 52px;
  }
}

.spotlight-swiper .spotlightSwiper{
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.spotlight-swiper .spotlight-nav{
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: auto;
  min-height: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0;
  margin: 16px 0 0;
  z-index: 9;
  overflow: visible;
}

.spotlight-nav.spotlight-nav--mobile{
  overflow: visible;
}

.spotlight-swiper .swiper{
  padding: 0;
  height: auto !important;
  overflow: hidden !important;
}

.spotlight-swiper .swiper-slide,
.spotlight-swiper .swiper-slide.swiper-slide-prev,
.spotlight-swiper .swiper-slide.swiper-slide-next {
  overflow: hidden;
}

@media (min-width: 1025px){
  .spotlight-swiper--with-descriptions .spotlight-nav {
    margin-left: calc(50% + (var(--spotlight-card-gap-desktop) / 2));
  }

  .spotlight-swiper--no-descriptions .spotlight-nav {
    margin-left: 0;
  }
}

@media (max-width: 1024px){
  .spotlight-swiper .spotlight-nav{
    width: auto;
    margin: 16px 0 0;
    padding: 0;
  }
}
.spotlight-prev,
.spotlight-next{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--spotlight-nav-button-border);
  background: var(--spotlight-nav-button-bg);
  color: var(--spotlight-nav-button-text);
  box-shadow: 0 0 6px 4px rgba(0,0,0,.04);
  cursor: pointer;
  font-size: 2rem;
  font-weight: 800;
  font-family: Manrope;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all .3s ease;
}

.spotlight-prev:hover,
.spotlight-next:hover{
  background: var(--spotlight-nav-button-hover-bg);
  color: var(--spotlight-nav-button-hover-text);
  border: 3px solid var(--spotlight-nav-button-hover-border);
  transform: translateY(-3px);
  box-shadow: 0 0 6px 6px rgba(0,0,0,.04);
}

.spotlight-prev:active,
.spotlight-next:active{
  transform: translateY(0) scale(.96);
}

@media (max-width: 1024px){
  .spotlight-swiper {
    display: block;
    justify-content: center;
  }

  .spotlight-card{
    grid-template-columns: minmax(0, 1fr);
    gap: var(--spotlight-card-gap-mobile);
    align-items: start;
  }

  .spotlight-eyebrow{
    font-size: var(--spotlight-eyebrow-font-size-tablet);
    text-align: center;
  }

  .spotlight-subtext{
    margin-top: 16px;
    text-align: center;
    min-height: 0;
    display: block;
  }

  .spotlight-right,
  .spotlight-swiper--no-descriptions .spotlight-right{
    margin-top: 0;
  }

  .spotlight-prev,
  .spotlight-next {
    border: 3px solid #9C1C6499;
  }
}

@media (max-width: 767px){
  .spotlight-eyebrow{
    font-size: var(--spotlight-eyebrow-font-size-mobile);
  }

  .spotlight-subtext {
    min-height: 0;
  }

  .spotlight-swiper .swiper{
    padding: 0;
  }

  .spotlight-swiper .spotlight-nav {
    margin: 14px 0 0;
  }
}

.spotlight-swiper.nav-ready .spotlight-prev,
.spotlight-swiper.nav-ready .spotlight-next{
  visibility: visible;
}

.spotlight-swiper.at-start .spotlight-prev{
  visibility: hidden;
}

.spotlight-swiper.at-end .spotlight-next{
  visibility: hidden;
}

.spotlight-swiper.at-start .spotlight-prev,
.spotlight-swiper.at-end .spotlight-next{
  pointer-events: none;
}
