/* stylelint-disable */
/* stylelint-disable max-line-length */
:root {
  --breakpoint-xxl: 1920px;
  --breakpoint-xl: 1440px;
  --breakpoint-lg: 1280px;
  --breakpoint-md: 1024px;
  --breakpoint-md-s: 992px;
  --breakpoint-sm: 768px;
  --breakpoint-xs: 512px;
  --breakpoint-xxs: 390px;
}

/* stylelint-disable */
/* stylelint-disable */
/* stylelint-disable */
/*
  This mixin can be used to set the object-fit:
  @include object-fit(contain);

  or object-fit and object-position:
  @include object-fit(cover, top);
*/
.news_title h1 {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.news-gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0 2rem;
}
.news-gallery a {
  flex: 1 0 100%;
  display: block;
  width: 100%;
}
@media (min-width: 768px) {
  .news-gallery a {
    flex: 0 0 calc(50% - 0.5rem);
    width: calc(50% - 0.5rem);
  }
}
.news-gallery a img {
  max-width: 100%;
  height: auto;
}

.single-news-content .button-cta--wrapper {
  margin: 2rem auto 1rem;
  text-align: center;
}

.related-news {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 2px solid var(--wp--preset--color--second);
}
.related-news .posts-block .block-item {
  background: #fff;
}
.related-news .posts-block .block-item img {
  max-width: 100%;
  aspect-ratio: 6/4;
  -o-object-fit: cover;
     object-fit: cover;
  height: auto;
}
.related-news .posts-block .block-item .news-title {
  font-weight: 500;
  text-align: center;
  padding-top: 0.5rem;
}
