.z-index-up {
  z-index: 1;
}

* {
  box-sizing: border-box;
}

.block--media {
  padding: 60px 0;
  position: relative;
  background: linear-gradient(69deg, #B8F2E4 37.63%, #E6FF9C 100%);
}
.block--media .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1073px;
}
.block--media .media-headline {
  text-align: center;
}
.block--media .media-headline h1, .block--media .media-headline h2 {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: #202432;
  margin: 0;
}
.block--media .media-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block--media .media-wrapper .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  width: 141px;
  height: 141px;
  padding: 0;
  z-index: 10;
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .block--media .media-wrapper .play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
  }
}
.block--media .media-wrapper .play-button svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}
.block--media .media-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1920/1080;
  border-radius: 16px;
  border: 1px solid #8632cf;
  overflow: hidden;
}
.block--media .media-container.has-poster .media-video,
.block--media .media-container.has-poster .media-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.block--media .media-container.has-poster .media-poster {
  z-index: 2;
  transition: opacity 0.3s ease;
}
.block--media .media-container.has-poster .media-video {
  z-index: 1;
}
.block--media .media-poster {
  position: relative;
  width: 100%;
  height: 100%;
}
.block--media .media-poster img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.block--media .media-video {
  position: relative;
  width: 100%;
  height: 100%;
}
.block--media .media-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}
