/* GENERAL */

.news-carousel {
  padding: var(--verticalSpacing) 0px var(--verticalSpacing) var(--horizontalSpacing);
  font-family: "Herokid", sans-serif;
  font-weight: 600;
  font-stretch: semi-condensed;
  background-color: var(--backgroundColor);
}

.news-carousel .owl-stage {
  padding-left: 0 !important;
}

.news-carousel a {
  color: var(--colorText);
}

.news-carousel p {
  margin: 0;
}

.news-carousel .view-content {
  display: flex;
  flex-wrap: wrap-reverse;
}

.news-carousel .view-news {
  position: relative;
}

/* CONTROLS */

.news-carousel .owl-nav {
  position: absolute;
  top: 0;
  right: var(--horizontalSpacing);
  margin: 0;
}

.news-carousel .owl-next,
.news-carousel .owl-prev {
  font-size: 0;
}

.news-carousel .owl-nav .owl-prev:hover,
.news-carousel .owl-nav .owl-next:hover {
  background: unset;
  color: unset;
  text-decoration: unset;
}

.news-carousel.owl-theme .owl-next {
  margin: 0;
  margin-left: 4px;
}

.news-carousel.owl-theme .owl-prev {
  margin: 0;
  margin-right: 4px;
}

.news-carousel .owl-next::before,
.news-carousel .owl-prev::before {
  content: "";
  width: 24px;
  height: 16px;
  display: block;
  background-color: var(--colorText);
  mask-image: url(../../img/arrow_thick_no_feathering.svg);
  -webkit-mask-image: url(../../img/arrow_thick_no_feathering.svg);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
}


.news-carousel .owl-prev::before {
  transform: rotate(180deg);
}

/* CONTENT */

/* header */

.news-carousel .view-header {
  line-height: 130%;
  margin-bottom: 70px;
}

.news-carousel .view-header a {
  font-weight: 500;
}

.news-carousel .view-header h2 {
  display: flex;
  align-items: center;
  color: var(--colorText);
  font-size: 12px;
  font-weight: 600;
  line-height: 130%;
  text-transform: uppercase;
  margin: 0;
}

.news-carousel .view-header h2::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 14px;
  background-color: var(--colorText);
  margin-right: 10px;
}

.news-carousel .view-header {
  display: flex;
  justify-content: space-between;
  padding-right: var(--horizontalSpacing);
}

.news-carousel .view-header a {
  display: flex;
  margin-right: 106px;
  text-transform: uppercase;
  flex-direction: column;
  position: relative;
  font-weight: 500;
}

.news-carousel .view-header a::after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  bottom: -4px;
  background-color: var(--colorText);
}

/* footer */

.news-carousel .view-footer header {
  display: none;
}

.news-carousel .view-footer .cta {
  width: fit-content;
  padding: 15px 35px;
  margin-top: 35px;
  margin-bottom: 40px;
  color: var(--colorTextNegative);
}

/* carousel content */

.news-carousel .views-field-title {
  font-family: "Herokid", sans-serif;
  font-weight: 400;
  font-stretch: semi-condensed;
  font-size: 32px;
  line-height: 140%;
  margin-top: 28px;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
  .news-carousel .views-field-title {
    font-size: 25px;
  }
}

@media (max-width: 768px) {
  .news-carousel {
    padding-bottom: 120px;
    padding-right: 0px;
  }

  .news-carousel .owl-item img {
    object-fit: cover;
    height: 210px;
  }

  .news-carousel .owl-nav {
    display: none;
  }

  .news-carousel .view-header a {
    position: static;
    position: absolute;
    bottom: -70px;
    left: 0;
  }

  .news-carousel .view-header {
    margin-bottom: 35px;
  }
}
