/* ==========================================================================
   Lifestyle Banner ("Roller in action")
   ========================================================================== */

.lifestyle-banner {
  padding-block: var(--space-8);
}

.lifestyle-banner__media-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 1148px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}

@media (width >= 768px) {
  .lifestyle-banner__media-wrap {
    aspect-ratio: 1148 / 560;
  }
}

.lifestyle-banner__media {
  position: absolute;
  inset: 0;
}

.lifestyle-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.lifestyle-banner__overlay {
  position: absolute;
  inset: 0;
  background: #B2B2B2;
  mix-blend-mode: multiply;
  box-shadow: inset 0 0 0 1px #000000;
  pointer-events: none;
}

.lifestyle-banner__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block-start: var(--space-4);
}

.lifestyle-banner__title {
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1.2;
}

.lifestyle-banner__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom:21px;
}

@media (width >= 768px) {
  .lifestyle-banner__content {
    position: absolute;
    inset: 0;
    justify-content: flex-end;
    padding: var(--space-5);
    padding-bottom: 35px; /* Space from bottom */
  }
  .lifestyle-banner__title,
  .lifestyle-banner__sub {
    color: #fff;
  }
}

/* Play button */
.lifestyle-banner__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: var(--radius-pill);
  background-color: rgb(255 255 255 / 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
  border: 2px solid rgb(255 255 255 / 60%);
}

.lifestyle-banner__play:hover {
  background-color: rgb(255 255 255 / 30%);
  transform: translate(-50%, -50%) scale(1.05);
}

.lifestyle-banner__play-icon {
  width: 100%;
  height: 100%;
}

/* Lightbox dialog */
.lifestyle-banner__lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  background-color: rgb(0 0 0 / 90%);
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  display:none;
}

.lifestyle-banner__lightbox[open] {
  display: flex;
}

.lifestyle-banner__lightbox-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  z-index: 1;
}

.lifestyle-banner__lightbox-inner {
  width: min(90vw, 1000px);
  aspect-ratio: 16 / 9;
}

.lifestyle-banner__iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.lifestyle-banner__cta {
  /* extends .btn .btn--primary */
}
