.single-news {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--black);
  background: var(--light-grey);
}

.single-news__article {
  width: 100%;
  padding-bottom: 100px;
  overflow-wrap: anywhere;
}

.single-news__heading {
  margin: 0 0 25px;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.single-news__date {
  display: block;
  margin-bottom: 25px;
  font-size: 14px;
  color: var(--grey);
}

.single-news__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.single-news+.bd-footer {
  margin-top: 0;
}

.single-news-block {
  min-width: 0;
}

.single-news-richtext> :first-child {
  margin-top: 0;
}

.single-news-richtext> :last-child {
  margin-bottom: 0;
}

.single-news-richtext p,
.single-news-richtext ul,
.single-news-richtext ol,
.single-news-richtext blockquote {
  margin: 0 0 25px;
}

.single-news-richtext ul,
.single-news-richtext ol {
  padding-left: 2em;
}

/* .single-news-richtext li + li {
  margin-top: 5px;
} */

.single-news-richtext h2,
.single-news-richtext h3,
.single-news-richtext h4,
.single-news-richtext h5,
.single-news-richtext h6 {
  margin: 30px 0 18px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--red);
}

.single-news-richtext h2 {
  font-size: 28px;
}

.single-news-richtext h3 {
  font-size: 24px;
}

.single-news-richtext h4 {
  font-size: 22px;
}

.single-news-richtext h5 {
  margin-bottom: 0;
  font-size: 20px;
  line-height: inherit;
}

.single-news-richtext h6 {
  font-size: 18px;
}

.single-news-richtext a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-news-richtext blockquote {
  padding-left: 20px;
  border-left: 3px solid var(--red);
}

.single-news-photo {
  min-width: 0;
  margin: 0;
}

.single-news-photo__media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.single-news-photo__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: var(--news-image-position, center);
}

.single-news-photo__caption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--grey);
}

.single-news-block--cropped .single-news-photo__media {
  height: var(--news-image-height-desktop, 500px);
}

.single-news-block--cropped .single-news-photo__image {
  height: 100%;
}

.single-news-gallery {
  position: relative;
}

.single-news-gallery__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
}

.single-news-gallery__track.keen-slider {
  align-items: flex-start;
  gap: 0;
}

.single-news-gallery__track.keen-slider .single-news-photo {
  min-height: 0;
  overflow: visible;
}

.single-news-gallery__pagination {
  position: absolute;
  z-index: 2;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.single-news-gallery__pagination[hidden] {
  display: none;
}

.single-news-gallery__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--grey-elements);
  opacity: 0.65;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.single-news-gallery__dot.is-active {
  background: var(--red);
  opacity: 1;
}

.single-news-gallery__dot:focus-visible,
.single-news-gallery__track:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.single-news-block--image-pair.single-news-block--cropped .single-news-photo__media {
  height: var(--news-image-height-desktop, 380px);
}

.single-news-block--image-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "photo text";
  align-items: stretch;
  gap: 30px;
}

.single-news-block--image-right {
  grid-template-areas: "text photo";
}

.single-news-block--image-text>.single-news-photo {
  display: flex;
  flex-direction: column;
  grid-area: photo;
}

.single-news-block--image-text .single-news-photo__media {
  flex: 1;
  min-height: 280px;
}

.single-news-block--image-text .single-news-photo__image {
  position: absolute;
  inset: 0;
  height: 100%;
}

.single-news-block__text {
  grid-area: text;
  min-width: 0;
}

.single-news-block--single-column,
.single-news-block--one-photo .single-news-gallery__track {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: none;
}

.single-news-block--single-column>.single-news-photo,
.single-news-block--single-column>.single-news-block__text {
  grid-area: auto;
}

.single-news-block--single-column .single-news-photo__media {
  flex: none;
  min-height: 0;
}

.single-news-block--single-column .single-news-photo__image {
  position: static;
  height: auto;
}

.single-news-block--button {
  display: flex;
}

.single-news-block--align-center {
  justify-content: center;
}

.single-news-block--align-right {
  justify-content: flex-end;
}

.single-news-block__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.single-news-block--highlight {
  padding: 24px 28px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: var(--white);
}

.single-news__content a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media screen and (max-width: 1023px) {
  .single-news__heading {
    font-size: 36px;
  }

  .single-news__content {
    font-size: 16px;
  }

  .single-news__article {
    padding-bottom: 80px;
  }

  .single-news-richtext h2 {
    font-size: 22px;
  }

  .single-news-richtext h3 {
    font-size: 20px;
  }

  .single-news-richtext h4 {
    font-size: 18px;
  }

  .single-news-richtext h5,
  .single-news-richtext h6 {
    font-size: 16px;
  }

  .single-news-block--cropped .single-news-photo__media {
    height: var(--news-image-height-tablet, 360px);
  }

  .single-news-block--image-pair.single-news-block--cropped .single-news-photo__media {
    height: var(--news-image-height-tablet, 300px);
  }

  .single-news-block--image-text {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "text";
  }

  .single-news-block--tablet-image-after {
    grid-template-areas: "text" "photo";
  }

  .single-news-block--single-column {
    grid-template-areas: none;
  }

  .single-news-block--image-text .single-news-photo__media {
    flex: none;
    min-height: 0;
  }

  .single-news-block--image-text .single-news-photo__image {
    position: static;
    height: auto;
  }

  .single-news-block--highlight {
    padding: 22px 24px;
  }
}

@media screen and (max-width: 767px) {
  .single-news__heading {
    font-size: 26px;
  }

  .single-news__content {
    font-size: 14px;
  }

  .single-news__article {
    padding-bottom: 60px;
  }

  .single-news__content {
    gap: 24px;
  }

  .single-news-richtext h2 {
    font-size: 18px;
  }

  .single-news-richtext h3 {
    font-size: 16px;
  }

  .single-news-richtext h4 {
    font-size: 15px;
  }

  .single-news-richtext h5,
  .single-news-richtext h6 {
    font-size: 14px;
  }

  .single-news-richtext p,
  .single-news-richtext ul,
  .single-news-richtext ol,
  .single-news-richtext blockquote {
    margin-bottom: 16px;
  }

  .single-news-richtext> :last-child {
    margin-bottom: 0;
  }

  .single-news-gallery__track {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .single-news-block--cropped .single-news-photo__media {
    height: var(--news-image-height-mobile, 240px);
  }

  .single-news-block--image-pair.single-news-block--cropped .single-news-photo__media {
    height: var(--news-image-height-mobile, 220px);
  }

  .single-news-block--image-text {
    gap: 20px;
  }

  .single-news-block--mobile-image-before {
    grid-template-areas: "photo" "text";
  }

  .single-news-block--mobile-image-after {
    grid-template-areas: "text" "photo";
  }

  .single-news-block--single-column {
    grid-template-areas: none;
  }

  .single-news-photo__caption {
    font-size: 12px;
  }

  .single-news-block--highlight {
    padding: 18px 16px;
  }

  .single-news-richtext ul,
  .single-news-richtext ol {
    padding-left: 1.4em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .single-news-gallery__dot {
    transition: none;
  }
}