.news-slider {
  width: 100%;
  position: relative;
  container-type: inline-size;
  position: relative;
  margin-left: max(4%, (100% - var(--maxWidthBig)) / 2);
  margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
  .news-slider {
    padding-top: 0;
    padding-bottom: 0;
  }
}
.news-slider figure.wp-block-image {
  width: 100%;
}
.news-slider .sliderwrapper {
  position: relative;
  z-index: 2;
  margin-left: clamp(5rem, 4.2060810811rem + 3.9695945946vw, 7.9375rem);
}
@media screen and (max-width: 768px) {
  .news-slider .sliderwrapper {
    margin-left: 0;
  }
}
.news-slider .splide {
  padding-bottom: 50px;
}
@media screen and (max-width: 768px) {
  .news-slider .splide {
    padding-bottom: 0;
  }
}
.news-slider .splide__slide {
  display: flex;
  flex-direction: column;
  z-index: 2;
  position: relative;
  transition: var(--baseTransition);
  max-width: clamp(17.5rem, 14.3074324324rem + 15.9628378378vw, 29.3125rem);
}
.news-slider .splide__slide .date {
  font-size: 14px;
  margin-bottom: 6px;
}
.news-slider .splide__slide .image-wrapper {
  width: 100%;
  height: 278px;
  margin-bottom: 20px;
}
.news-slider .splide__slide .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--borderRadius);
}
.news-slider .splide__slide .excerpt {
  margin-bottom: 40px;
}
.news-slider .splide__slide .button {
  margin-top: auto;
  color: var(--mainColor);
  font-family: var(--headline);
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  transition: var(--baseTransition);
  position: relative;
  padding-left: 20px;
  width: fit-content;
}
.news-slider .splide__slide .button:hover {
  padding-left: 0px;
  padding-right: 20px;
}
.news-slider .splide__slide .button:hover::before {
  left: calc(100% - 10px);
}
.news-slider .splide__slide .button::before {
  content: "";
  display: inline-block;
  position: absolute;
  background-color: var(--mainColor);
  mask: url("../img/arrow-orange.svg") no-repeat right center/100% auto;
  height: 14px;
  width: 12px;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  transition: var(--baseTransition);
}
.news-slider .splide__pagination {
  display: flex !important;
  gap: 0px;
  bottom: -50px;
  left: 0px;
  justify-content: flex-start;
  padding-left: 0;
  position: relative;
  flex-wrap: nowrap;
}
.news-slider .splide__pagination li {
  padding-left: 0px !important;
  margin: 0;
  line-height: 4px;
  width: clamp(1.25rem, -2.3648648649rem + 18.0743243243vw, 14.625rem);
}
.news-slider .splide__pagination li::before {
  display: none !important;
}
.news-slider .splide__pagination::after {
  content: "";
  width: 76.5%;
  height: 2px;
  background-color: var(--greyLight);
  position: absolute;
  bottom: 3px;
  left: 1px;
}
@media screen and (max-width: 1400px) {
  .news-slider .splide__pagination::after {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .news-slider .splide__pagination {
    margin-bottom: 20px;
  }
}
.news-slider .splide__pagination__page.is-active {
  background: var(--mainColor);
  width: clamp(1.25rem, -2.3648648649rem + 18.0743243243vw, 14.625rem);
  transform: none;
  border-radius: 50px;
  margin: 0;
  height: 4px;
  transition: none;
}
.news-slider .splide__pagination__page {
  background-color: var(--greyLight);
  transition: var(--baseTransition);
  opacity: 1;
  height: 2px;
  width: 100%;
  border-radius: 0;
  width: 234px;
}
@media screen and (max-width: 768px) {
  .news-slider .roofline {
    display: none;
  }
}

.wp-block-columns .content-slider,
.px-frame-layout .content-slider,
.accordion-content .content-slider,
.tab_wrapper .content-slider {
  width: 100%;
}