.video-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: auto;
  overflow: hidden;
  border-radius: var(--border-radius-24);
  margin-top: var(--mp32);
}

.video-section {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--border-radius-24);
}

.video-overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--mp24);
  padding: var(--mp40);
  z-index: 1;
}

.video-overlay-content {
  padding: var(--mp40);
  background: #0000004D;
  backdrop-filter: blur(27px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--border-radius-24);
  display: flex;
  flex-direction: column;
  border: 2px solid;
  border-image-source: linear-gradient(95.72deg, rgba(255, 255, 255, 0.5) -3.09%, rgba(255, 255, 255, 0.1) 103.06%);
  gap: 24px;
}

.video-overlay-card {
  background: #fff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius-24);
  padding: var(--mp32) var(--mp48);
  width: 100%;
}

.video-container-title {
  line-height: 160%;
  color: rgba(31, 41, 55, 1);
}

.video-container-title p {
  margin-bottom: var(--mp16);
}

.video-container-title p:last-child {
  margin-bottom: 0;
}

.video-overlay-card--bottom {
  background: #fff;
  padding: var(--mp24) var(--mp48);
}

.video-container-subtitle {
  line-height: 140%;
  text-align: center;
  color: #DC2626;
  margin: 0;
}

@media (max-width: 1024px) {
  .video-overlay-content {
    padding: var(--mp32);
  }

  .video-overlay-card {
    padding: var(--mp24) var(--mp32);
  }

  .video-overlay-card--bottom {
    padding: var(--mp20) var(--mp32);
  }
}

@media (max-width: 768px) {
  .video-container {
    height: auto;
    min-height: 480px;
  }

  .video-section {
    border-radius: var(--border-radius-12);
    position: absolute;
    height: 100%;
  }

  .video-overlay {
    position: relative;
    padding: var(--mp16);
    gap: var(--mp16);
    min-height: 480px;
  }

  .video-overlay-content {
    padding: var(--mp20);
    gap: var(--mp16);
  }

  .video-overlay-card {
    padding: var(--mp20) var(--mp20);
    border-radius: var(--border-radius-12);
  }

  .video-overlay-card--bottom {
    padding: var(--mp16) var(--mp20);
    border-radius: var(--border-radius-12);
  }

  .video-container-subtitle {
    font-size: var(--font-size-18);
  }
}

@media (max-width: 480px) {
  .video-container {
    min-height: 420px;
    border-radius: var(--border-radius-12);
  }

  .video-overlay {
    min-height: 420px;
    padding: var(--mp12);
    gap: var(--mp12);
  }

  .video-overlay-content {
    padding: var(--mp16);
    gap: var(--mp12);
    border-radius: var(--border-radius-12);
  }

  .video-overlay-card {
    padding: var(--mp16);
    border-radius: 8px;
  }

  .video-overlay-card--bottom {
    padding: var(--mp12) var(--mp16);
    border-radius: 8px;
  }

  .video-container-subtitle {
    font-size: var(--font-size-16);
  }
}
