/* VIDEO SECTION */
.wedding-video-section {
  background-color: var(--color-bg);
  padding-block: 80px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .wedding-video-section {
    padding-block: 120px;
  }
}

.wedding-video-section__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 20px;
}

@media (min-width: 1024px) {
  .wedding-video-section__container {
    padding-inline: 40px;
  }
}

/* Title */
.wedding-video-section__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  text-wrap: balance;
}

.wedding-video-section__brand {
  color: var(--color-primary);
}

.wedding-video-section__break-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .wedding-video-section__title {
    margin-bottom: 56px;
    max-width: 1100px; /* Ample space to prevent premature wrapping */
    text-wrap: normal; /* Disable balance to let the explicit <br> take control */
  }
  .wedding-video-section__break-desktop {
    display: block;
  }
}

/* Wrapper */
.wedding-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-alt); /* Placeholder while loading */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Iframe */
.wedding-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
