/* JTL Video — sand band + centred navy video panel + centred text block.
   Figma Transition-Pages node 397:7061. The nested JTLText atoms keep their own
   design-system typography; this sheet owns only the band, the video panel and
   the layout. Every selector is scoped under .jtl-video. */
.jtl-video {
  background: #eeeee7;
  padding: 80px 64px;
}
@media only screen and (max-width: 1199px) {
  .jtl-video {
    padding: 64px 40px;
  }
}
@media only screen and (max-width: 991px) {
  .jtl-video {
    padding: 56px 24px;
  }
}
@media only screen and (max-width: 767px) {
  .jtl-video {
    padding: 48px 16px;
  }
}

.jtl-video__inner {
  max-width: 864px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Video panel: navy fallback, 864:522 aspect, poster + play button centred. */
.jtl-video__media {
  position: relative;
  width: 100%;
  aspect-ratio: 864 / 522;
  background: #0b1b45;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jtl-video__poster {
  position: absolute;
  inset: 0;
}
.jtl-video__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jtl-video__play {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 0;
  transition: transform 0.2s ease;
}
.jtl-video__play svg {
  width: 84px;
  height: 84px;
}
.jtl-video__play:hover {
  transform: scale(1.06);
}
@media only screen and (max-width: 767px) {
  .jtl-video__play svg {
    width: 64px;
    height: 64px;
  }
}
/* Injected on play (see script.js): the embedded iframe / video fills the panel. */
.jtl-video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Centred text block below the video. Spacing between the nested atoms lives
   here; the atoms themselves carry no outer margins. */
.jtl-video__text {
  margin-top: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.jtl-video__text .jtl-text {
  width: 100%;
}
.jtl-video__text .jtl-text--h2 {
  margin-top: 4px;
}
.jtl-video__text .jtl-text--paragraph {
  margin-top: 12px;
}
@media only screen and (max-width: 991px) {
  .jtl-video__text {
    margin-top: 32px;
  }
}
