/**
* Block Name: teaser_gross
*/

section.teaser_gross {
  max-width: 100vw;
  overflow: hidden;
  height: 600px;
  cursor: pointer;
  position: relative;
}

section.teaser_gross .container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 80px;
  z-index: 2;
}

section.teaser_gross .container > * {
  color: var(--ecru);
}

section.teaser_gross .container h3 {
  margin-bottom: var(--small);
}

section.teaser_gross .container .btn-primary {
  color: var(--ecru);
  border-color: var(--ecru);
}

section.teaser_gross .container .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

section.teaser_gross .cover_image {
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

section.teaser_gross .image_wrapper {
  position: relative;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
}

section.teaser_gross .image_wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      to top,
      rgba(91, 147, 95, 0.62) 0%,
      rgba(91, 147, 95, 0.62) 100%
    ),
    linear-gradient(to top, #5b935f 0%, #5b935f 100%);
  background-blend-mode: screen;
  z-index: 1;
  opacity: 0.82;
}

@media (max-width: 1660px) {
  section.teaser_gross .container {
    max-width: 1460px;
    padding-bottom: 75px;
  }
}

@media (max-width: 1460px) {
  section.teaser_gross .container {
    max-width: 1320px;
    padding-bottom: 70px;
  }
}

@media (max-width: 1400px) {
  section.teaser_gross .container {
    max-width: 1140px;
    padding-bottom: 65px;
  }
}

@media (max-width: 1200px) {
  section.teaser_gross .container {
    max-width: 960px;
    padding-bottom: 60px;
  }
}

@media (max-width: 992px) {
  section.teaser_gross .container {
    max-width: 720px;
    padding-bottom: 50px;
  }

  section.teaser_gross {
    height: 35svh;
  }

  section.teaser_gross .container {
    padding-bottom: 50px;
  }
}

@media (max-width: 768px) {
  section.teaser_gross .container {
    max-width: 540px;
    padding-bottom: 40px;
  }
}

@media (max-width: 576px) {
  section.teaser_gross .container {
    max-width: 95%;
    padding-bottom: 30px;
  }
}
