/* Amazon DSP Video Player — Services Overview (photo + Watch overview link) & Dedicated Page (left video + right copy, autoplay) */

/* ====== SERVICES OVERVIEW: PHOTO CARD WITH "WATCH OVERVIEW" LINK OVERLAY ====== */
.service-spread-media--video-link {
  position: relative;
}

.dsp-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #09185c;
  overflow: hidden;
}

.dsp-video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #09185c;
}

/* Clickable overlay (link on Services overview & fallback button if autoplay blocked) */
.dsp-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 0 20px clamp(18px, 3vw, 28px);
  border: 0;
  text-decoration: none;
  background: linear-gradient(
    180deg,
    rgba(6, 15, 56, .02) 0%,
    rgba(6, 15, 56, .10) 56%,
    rgba(6, 15, 56, .58) 100%
  );
  color: #ffffff;
  cursor: pointer;
  transition: background .25s ease, opacity .28s ease;
}

.dsp-play-overlay:hover {
  background: linear-gradient(
    180deg,
    rgba(6, 15, 56, .02) 0%,
    rgba(6, 15, 56, .10) 55%,
    rgba(6, 15, 56, .52) 100%
  );
}

.dsp-play-overlay:focus-visible {
  outline: 3px solid #00bfed;
  outline-offset: -4px;
}

.dsp-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 22px 12px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(131, 218, 237, .75);
  background: rgba(8, 24, 78, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: "Archivo Pinecrest", Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  box-shadow: 0 12px 30px rgba(3, 10, 38, .45);
  transition: transform .22s cubic-bezier(.22, .8, .2, 1), background .22s ease, border-color .22s ease, color .22s ease;
}

.dsp-play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #00bfed;
  color: #081d55;
  flex: none;
  transition: transform .22s cubic-bezier(.22, .8, .2, 1), background .22s ease;
}

.dsp-play-circle svg {
  display: block;
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.dsp-play-duration {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
  padding-left: 4px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.dsp-play-overlay:hover .dsp-play-btn {
  transform: translateY(-2px) scale(1.03);
  background: #00bfed;
  border-color: #9be8f8;
  color: #081d55;
}

.dsp-play-overlay:hover .dsp-play-circle {
  background: #081d55;
  color: #ffffff;
}

.dsp-play-overlay:hover .dsp-play-duration {
  color: rgba(8, 29, 85, .78);
  border-left-color: rgba(8, 29, 85, .24);
}

.dsp-video-frame.is-playing .dsp-play-overlay {
  opacity: 0;
  pointer-events: none;
}

/* Floating sound toggle shown when browser mutes autoplay on the DSP detail page */
.dsp-sound-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(131, 218, 237, .85);
  background: rgba(8, 24, 78, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: "Archivo Pinecrest", Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(3, 10, 38, .38);
  transition: transform .2s ease, background .2s ease, color .2s ease, opacity .25s ease;
}

.dsp-sound-pill[hidden] {
  display: none;
}

.dsp-sound-pill:hover {
  transform: translateY(-1px);
  background: #00bfed;
  color: #081d55;
  border-color: #a4eaf5;
}

.dsp-sound-pill:focus-visible {
  outline: 3px solid #00bfed;
  outline-offset: 3px;
}

.dsp-sound-pill svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: none;
}

/* Status note shown only if user clicks play before S3 PRODUCTION_SRC is configured */
.dsp-video-note {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .86);
  background: rgba(8, 24, 78, .82);
  padding: 6px 14px;
  border-radius: 999px;
}

.dsp-video-note[hidden] {
  display: none;
}

/* ====== DEDICATED AMAZON DSP PAGE: VIDEO LEFT, COPY RIGHT ====== */
.service-detail.service-detail--video {
  padding-top: clamp(32px, 4.2vh, 56px);
}

.service-detail.service-detail--video .service-breadcrumb {
  margin-bottom: clamp(22px, 3vh, 34px);
}

.service-detail.service-detail--video .service-detail-video-head {
  margin-bottom: clamp(24px, 3.2vh, 36px);
}

.service-detail.service-detail--video .service-detail-video-head h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.03;
  letter-spacing: -.042em;
}

html.pc-desktop-locked.pc-desktop-narrow .service-detail.service-detail--video .service-detail-video-head h1 {
  font-size: 52px;
}

.service-detail.service-detail--video .service-detail-video-subtitle {
  margin: 0;
  font-size: clamp(21px, 2.1vw, 29px);
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -.022em;
  color: #243b6b;
}

.service-detail.service-detail--video .service-detail-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.service-detail-video-stage {
  width: 100%;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #09185c;
  border: 1px solid rgba(15, 33, 89, .14);
  box-shadow: 0 26px 60px rgba(9, 24, 92, .16), 0 6px 18px rgba(9, 24, 92, .08);
}

.service-detail.service-detail--video .service-detail-video-copy p {
  margin: 0 0 26px;
  font-size: clamp(16.5px, 1.32vw, 19px);
  line-height: 1.68;
}

@media (max-width: 960px) {
  .service-detail.service-detail--video .service-detail-video-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-detail-video-stage {
    border-radius: 18px;
  }
}

@media (max-width: 620px) {
  .dsp-play-btn {
    padding: 10px 18px 10px 13px;
    font-size: 14.5px;
  }

  .dsp-play-circle {
    width: 30px;
    height: 30px;
  }

  .dsp-sound-pill {
    top: 10px;
    right: 10px;
    padding: 7px 12px;
    font-size: 13px;
  }
}
