.single-video-section:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 400px;
  border-radius: 48px;
  background-color: var(--section-bg);
  margin-left: -48px;
  margin-right: -48px;
  z-index: 1;
}
.single-video-section__video-box {
  width: 100%;
  max-width: 640px;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 380px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 28px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.18);
}
.single-video-section__video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}
.single-video-section__video-box video::-internal-media-controls-download-button {
  display: none !important;
}
.single-video-section__video-box video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}
.single-video-section__video-box video::-webkit-media-controls-download-button {
  display: none !important;
}
.single-video-section__back-image {
  position: absolute;
  bottom: -90px;
  left: -110px;
  width: 180px;
  height: 210px;
  z-index: 1;
  animation: up-down-single-video-section-back-image-animation 4s ease-in-out infinite;
}
.single-video-section__back-image img {
  max-width: 100%;
  max-height: 100%;
}
.rtl .single-video-section__back-image {
  left: auto;
  right: -110px;
}
.single-video-section__play-box {
  position: absolute;
  bottom: 24px;
  right: 24px;
  left: auto;
  z-index: 4;
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.rtl .single-video-section__play-box {
  right: auto;
  left: 24px;
}
.single-video-section__play-button {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.single-video-section__play-button svg {
  margin: 0;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease;
}
.single-video-section__play-button:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.75);
  transform: scale(1.08);
  box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.single-video-section__play-button:hover svg {
  transform: scale(1.06);
}
.single-video-section__play-button:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.28);
}
.single-video-section__badge {
  position: absolute;
  bottom: 128px;
  right: -48px;
  background-color: var(--primary);
  transform: rotate(-10.975deg);
  padding: 8px 16px;
  border-radius: 32px;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  z-index: 5;
}
.rtl .single-video-section__badge {
  right: auto;
  left: -48px;
}
@media (max-width: 991px) {
  .single-video-section:after {
    height: 320px;
    margin-left: -24px;
    margin-right: -24px;
  }
  .single-video-section__video-box {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 260px;
  }
  .single-video-section__play-box {
    bottom: 16px;
    right: 16px;
    left: auto;
  }
  .rtl .single-video-section__play-box {
    right: auto;
    left: 16px;
  }
  .single-video-section__play-button {
    width: 48px;
    height: 48px;
  }
  .single-video-section__play-button svg {
    width: 22px;
    height: 22px;
  }
  .single-video-section__badge {
    bottom: -12px;
    right: -24px;
    font-size: 14px;
  }
  .rtl .single-video-section__badge {
    right: auto;
    left: -24px;
  }
  .single-video-section__back-image {
    bottom: -80px;
    left: -24px;
    width: 100px;
    height: 110px;
  }
  .rtl .single-video-section__back-image {
    left: auto;
    right: -24px;
  }
}
