/* General */

.single-news {
  background: #f9f9f9;
}

/* Hero */

.single-news .hero p.opacity {
  color: #9a9a9a;
}

.single-news .hero .image_wrapper {
  max-height: 357px;
  overflow: hidden;
}

.single-news .hero .image_wrapper img {
  width: 100%;
  height: auto;
  -webkit-mask: url(#svg-mask);
  mask: url(#svg-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  mask-type: alpha;
  max-height: 357px;
}

/* Teaser Cards */

.single-news .teaser_cards .row.teaser-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 30px;
}

.single-news .teaser_cards {
  overflow: hidden;
}

.single-news .teaser_cards .card_wrapper {
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  height: 100%;
  color: #000;
  text-decoration: none;
  width: 100%;
}

.single-news .teaser_cards .card_wrapper .date {
  opacity: 0.5;
}

.single-news .teaser_cards .card_wrapper .image_wrapper .label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: transparent;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.single-news .teaser_cards .card_wrapper .image_wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.single-news .teaser_cards .card_wrapper .image_wrapper img {
  width: 100%;
  height: auto;
  -webkit-mask: url(#svg-mask-card);
  mask: url(#svg-mask-card);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  mask-type: alpha;
  border-radius: 10px;
  aspect-ratio: 2/1;
}

.single-news .teaser_cards .card_wrapper:hover .btn-secondary {
  opacity: 0.8;
}

.single-news .teaser_cards .card_wrapper:hover .btn-secondary svg {
  transform: translateX(5px);
}

/* Media */

@media (min-width: 1400px) {
  .single-news .teaser_cards .card_wrapper .image_wrapper img {
    height: 220px;
  }
}

@media (max-width: 1199px) {
  .single-news .teaser_cards .card_wrapper .image_wrapper .label {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .single-news .teaser_cards .card_wrapper,
  .single-news .teaser_cards,
  .single-news .teaser_cards .card_wrapper .image_wrapper,
  .single-news .teaser_cards .card_wrapper .image_wrapper img {
    min-height: 20vh;
    height: 100%;
  }

  .single-news .teaser_cards .row.teaser-row {
    grid-template-columns: auto;
  }

  .single-news .teaser_cards .card_wrapper {
    justify-content: flex-end;
  }

  .single-news .teaser_cards .card_wrapper .image_wrapper .label {
    font-size: 16px;
  }
}
@media (max-width: 991.98px) {
  .single-news .hero .image_wrapper {
    border-radius: 20px;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .single-news .hero .image_wrapper img {
    -webkit-mask: none;
    mask: none;
  }
}
