/**
* Block Name: teaser_cards
*/

section.teaser_cards .teaser_wrapper {
  margin-bottom: 15px;
}

section.teaser_cards .card_content {
  background: var(--green-light);
  margin-bottom: 15px;
  padding: 23px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

section.teaser_cards .card_content .svg_container {
  gap: 15px;
}

section.teaser_cards .square_card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

section.teaser_cards .img_wrapper {
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
  -webkit-transition: 0.8s;
  -moz-transition: 0.8s;
  -ms-transition: 0.8s;
  -o-transition: 0.8s;
  opacity: 1;
}

section.teaser_cards .img_wrapper svg {
  width: 100%;
  max-height: 450px;
  height: auto;
}

section.teaser_cards .btn-primary:before {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  left: 1px;
  right: 1px;
  top: 1px;
}

section.teaser_cards .btn-primary:hover::before {
  background: transparent;
}

@media (max-width: 992px) {
  section.teaser_cards .img_wrapper svg {
    max-height: max-content;
  }

  section.teaser_cards .teaser_wrapper {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media only screen and (max-width: 1460px) and (min-width: 992px) {
  section.teaser_cards .card_content .svg_container {
    min-height: 87px;
  }
}
