.sp-left-right-image-content {
  padding-top: var(--wp--preset--spacing--space-80);
  padding-bottom: var(--wp--preset--spacing--space-80);
}

.sp-left-right-image-content__image {
  width: 40%;
}

.sp-left-right-image-content__details {
  width: 60%;
  padding: 0 var(--wp--preset--spacing--space-80) 0 0;
}

.sp-left-right-image-content__img {
  height: 414px;
  object-fit: cover;
  width: 100%;
  display: block;
  border-radius: var(--wp--custom--border-radius--m);
}

.sp-left-right-image-content__content {
  max-width: 520px;
}

.sp-left-right-image-content__title {
  color: var(--wp--preset--color--secondary);
  font-weight: normal;
  font-size: var(--wp--preset--font-size--h-5);
  line-height: var(--wp--preset--font-size--h-4);
  font-weight: 600;
  max-width: 500px;
}

.sp-left-right-image-content__list+.sp-left-right-image-content__list {
  margin: var(--wp--preset--spacing--space-70) 0 0 0;
}

.sp-left-right-image-content__list:nth-child(even)>.sp-left-right-image-content__flex .sp-left-right-image-content__details {
  padding: 0 0 0 var(--wp--preset--spacing--space-80);
}

.sp-left-right-image-content__list:nth-child(even)>.sp-left-right-image-content__flex {
  flex-direction: row-reverse;
}

.sp-left-right-image-content__video {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-height: 400px;
  border-radius: var(--wp--custom--border-radius--m);
}

.sp-left-right-image-content__video-wrap {
  width: 40%;
  position: relative;
  cursor: pointer;
}

.sp-left-right-image-content__video-popup {
  display: none;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.49);
  z-index: 9;
}

.icon.sp-left-right-image-content__video-popup-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 9;
  cursor: pointer;
}

.sp-left-right-image-content__video-popup-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.sp-left-right-image-content__video-popup.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-left-right-image-content__video-wrap::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url(https://stockspiscinas.wp.omitsisdev.com/wp-content/uploads/2024/12/play-icon.png);
  background-size: contain;
  z-index: 2;
}

.sp-left-right-image-content__video-wrap::after {
  content: '';
  background: rgba(0, 0, 0, 0.36);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  border-radius: var(--wp--custom--border-radius--m);
}

.sp-left-right-image-content__popup-video {
  width: 100%;
}

@media screen and (max-width:1199px) {
  .sp-left-right-image-content {
    padding-top: var(--wp--preset--spacing--space-50);
    padding-bottom: var(--wp--preset--spacing--space-60);
  }

  .sp-left-right-image-content>div,
  .sp-left-right-image-content:nth-child(even)>div {
    display: flex;
    flex-flow: row wrap;
    flex-direction: column-reverse;
  }

  .sp-left-right-image-content__details {
    width: 50%;
    padding: var(--wp--preset--spacing--space-30) var(--wp--preset--spacing--space-30) var(--wp--preset--spacing--space-30) 0;
  }

  .sp-left-right-image-content__content,
  .sp-left-right-image-content__title {
    max-width: 100%;
  }

  .sp-left-right-image-content__content {
    line-height: var(--wp--preset--font-size--font-size-l);
    font-size: var(--wp--preset--font-size--font-size-m);
  }

  .sp-left-right-image-content__title {
    margin: 0 0 var(--wp--preset--spacing--space-10) 0;
  }

  .sp-left-right-image-content__image {
    width: 50%;
  }

  .sp-left-right-image-content__img {
    height: 340px;
  }

  .sp-left-right-image-content__list:nth-child(even)>.sp-left-right-image-content__flex .sp-left-right-image-content__details {
    padding: 0 0 0 var(--wp--preset--spacing--space-30);
  }

  .sp-left-right-image-content__list+.sp-left-right-image-content__list {
    margin: 0;
  }

  .sp-left-right-image-content__video-wrap {
    width: 50%;
  }

  .sp-left-right-image-content .sp-left-right-image-content__list {
    margin-bottom: 50px;
  }
}

@media screen and (max-width:767px) {
  .sp-left-right-image-content__details {
    width: 100%;
    padding: var(--wp--preset--spacing--space-30) 0 0 0;
    text-align: center;
  }

  .sp-left-right-image-content__image {
    width: 100%;
  }

  .sp-left-right-image-content__img {
    height: 240px;
  }

  .sp-left-right-image-content__list:nth-child(even)>div .sp-left-right-image-content__details {
    padding: 0;
  }

  .sp-left-right-image-content__video-wrap {
    width: 100%;
  }

  .sp-left-right-image-content__details {
    margin-bottom: var(--wp--preset--spacing--space-30);
    padding: 0;
  }

  .sp-left-right-image-content__list:nth-child(even)>.sp-left-right-image-content__flex .sp-left-right-image-content__details {
    padding: 0;
  }
}