.hero-home {
  padding: 135px 24px 169px 24px;
  display: flex;
  color: #ffffff;
  position: relative;
  margin-bottom: 160px;
}

@media screen and (min-width: 768px) {
  .hero-home {
    padding: 264px 80px 254px 80px;
    align-items: center;
    margin-bottom: 300px;
  }
}

@media screen and (min-width: 1024px) {
  .hero-home {
    margin-bottom: 0;
  }
}

.hero-home .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media screen and (min-width: 768px) {
  .hero-home .container {
    gap: 40px;
    position: relative;
    padding: 0 80px;
  }
}

@media screen and (min-width: 768px) {
  .hero-home .baseline-mob {
    display: none;
  }
}

.hero-home .baseline-desk {
  display: none;
}

@media screen and (min-width: 768px) {
  .hero-home .baseline-desk {
    display: block;
  }
}

.hero-home p {
  max-width: 757px;
  font-size: 1.25rem;
  font-family: "Borna", sans-serif;
  font-weight: 500;
  line-height: 160%;
}

@media screen and (min-width: 768px) {
  .hero-home p {
    font-size: 1.5rem;
  }
}

.hero-home .container-video {
  position: absolute;
  bottom: -135px;
  left: 0;
  width: 100%;
  height: 240px;
  padding: 0 24px;
}

@media screen and (min-width: 768px) {
  .hero-home .container-video {
    width: 100%;
    height: 400px;
    right: 50%;
    transform: translateX(50%);
    left: unset;
    bottom: -520px;
    padding: 0;
  }
}

@media screen and (min-width: 1025px) {
  .hero-home .container-video {
    width: 50%;
    right: -30px;
    transform: unset;
  }
}
@media screen and (min-width: 1350px) {
  .hero-home .container-video {
    right: 0;
    width: 645px;
  }
}

.hero-home .container-video video {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: relative;
}
/* @media screen and (min-width: 768px) and (max-width: 1280px) {
  .home.page-template-default .hero-home {
    margin-bottom: 112px;
  }
} */
@media screen and (min-width: 1280px) {
  .home.page-template-default .hero-home {
    margin-bottom: 112px;
  }
}
