@charset "UTF-8";
.video-popup__popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* 🔥 затемнение фона */
  align-items: center;
  justify-content: center;
  z-index: 999999;
  display: none;
}
.video-popup__popup-overlay._visible {
  display: flex;
}
.video-popup__popup-close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 22px;
  cursor: pointer;
  z-index: 10;
}
.video-popup__video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 100vw;
}
@media screen and (min-width: 1024px) {
  .video-popup__video-container {
    width: 944px;
    padding-bottom: 531px;
  }
}
@media screen and (min-width: 1440px) {
  .video-popup__video-container {
    width: 1300px;
    padding-bottom: 750px;
  }
}
@media (min-width: 1650px) {
  .video-popup__video-container {
    width: 1440px;
    padding-bottom: 810px;
  }
}
.video-popup__video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.text-page-video {
  margin: 48px 0;
  background-color: var(--color-grey-2);
  height: 350px;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .text-page-video {
    height: 384px;
    margin: 64px 0;
  }
}
@media screen and (min-width: 1024px) {
  .text-page-video {
    margin: 80px 0;
    height: 512px;
  }
}
@media screen and (min-width: 1440px) {
  .text-page-video {
    margin: 80px 0;
    height: 720px;
  }
}
.text-page-video__crop {
  z-index: 3;
}
.text-page-video__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.text-page-video__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(transparent, var(--color-emerald));
}
.text-page-video__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
@media screen and (min-width: 1024px) {
  .text-page-video__content {
    padding: 40px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
}
@media screen and (min-width: 1440px) {
  .text-page-video__content {
    padding: 80px;
  }
}
.text-page-video__play-button {
  cursor: pointer;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease-in-out;
}
@media screen and (min-width: 1024px) {
  .text-page-video__play-button {
    width: 120px;
    height: 120px;
    position: absolute;
    left: calc(50% - 60px);
  }
  .text-page-video__play-button:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
  }
}
@media screen and (min-width: 1440px) {
  .text-page-video__play-button {
    width: 164px;
    height: 164px;
    left: calc(50% - 82px);
  }
}
.text-page-video__title {
  color: var(--color-white);
  width: 240px;
  margin-bottom: 52px;
}
@media screen and (min-width: 768px) {
  .text-page-video__title {
    width: 340px;
    margin-bottom: 34px;
  }
}
@media screen and (min-width: 1024px) {
  .text-page-video__title {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1440px) {
  .text-page-video__title {
    width: 450px;
  }
}
.text-page-video__play-button-icon {
  margin-left: 6px;
  width: 26px;
  height: 26px;
}
@media screen and (min-width: 1024px) {
  .text-page-video__play-button-icon {
    width: 54px;
    height: 54px;
  }
}
@media screen and (min-width: 1440px) {
  .text-page-video__play-button-icon {
    width: 72px;
    height: 72px;
    margin-left: 14px;
  }
}
