:root {
  --default-box-shadow: var(--card-shadow);
}

.rh-news-override__article {
  text-decoration: none;
  border-radius: 5px;
  background-color: var(--brightest);
  transition: scale 0.4s ease;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
}
.rh-news-override__article:before {
  inset: 0;
  border-radius: 5px;
  box-shadow: var(--default-box-shadow);
  z-index: 10;
  content: "";
  position: absolute;
}
.rh-news-override__article .rh-news-override__news-img-wrap, .rh-news-override__article .rh-news-text-wrapper {
  position: relative;
  z-index: 20;
}
.rh-news-override__article img, .rh-news-override__article .rh-news-override__news-img-wrap {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.rh-news-override__article .rh-news-override__news-img-wrap {
  overflow: hidden;
  background-color: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
@media (min-width: 768px) {
  .rh-news-override__article .rh-news-override__news-img-wrap {
    aspect-ratio: 4/3;
  }
}
.rh-news-override__article:hover {
  scale: 1.1;
  z-index: 100;
}
.rh-news-override__article:hover img {
  scale: 1.2;
}
.rh-news-override__article:after {
  display: none !important;
}
.rh-news-override__article i {
  font-size: 12px;
  margin-left: 5px;
}

.rh-news-override__no-media-element {
  display: block;
  background-color: var(--light-color);
  aspect-ratio: 4/3;
}

.news-logo-preview {
  padding: 20px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 4/3;
}
.news-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rh-news-list-header {
  font-size: 18px;
  color: var(--second-color);
  font-weight: 500;
  text-transform: uppercase;
}
.rh-news-list-header:after {
  content: "";
  height: 4px;
  background-color: var(--first-color);
  width: 100px;
  display: block;
  border-radius: 10px;
  margin: 8px 0 12px 0;
}

.rh-news-override__news-img-wrap {
  overflow: hidden;
}
.rh-news-override__news-img-wrap img {
  width: 100%;
  height: auto;
  transition: scale 0.4s ease;
}

.rh-news-list-teaser-text {
  color: var(--font-color-2);
}

.rh-news-text-wrapper {
  padding: 20px;
}

.read-more-wrapper {
  display: flex;
  justify-content: end;
  align-items: center;
  font-weight: 500;
}

.news-related-wrap {
  display: flex !important;
  width: auto !important;
}

.rh-news-overridr__related-files {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.rh-news-overridr__related-files a {
  text-align: left;
  display: flex;
  column-gap: 10px;
}
.rh-news-overridr__related-files a .news-related-files-size {
  margin-left: auto;
  padding-left: 10px;
}

.news-single .article .rh-news-override-detail .news-img-wrap {
  width: auto;
}

.news-single header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-fslightbox-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap-size);
}
.rh-fslightbox-gallery a {
  border-radius: var(--default-border-radius);
  overflow: hidden;
  transition: scale 0.4s ease;
  box-shadow: var(--default-box-shadow);
}
.rh-fslightbox-gallery a:hover {
  scale: var(--scale-outer-element);
}
.rh-fslightbox-gallery a:hover img {
  scale: var(--scale-inner-image);
}
.rh-fslightbox-gallery img {
  max-width: 100%;
  height: auto;
  transition: scale 0.4s ease;
}

.news-backlink-wrap {
  margin: 60px 0;
}

.news-related-wrap {
  margin-top: 40px !important;
}

.news-blur-bg {
  position: absolute;
  object-fit: cover;
  width: 120% !important;
  height: 120% !important;
  filter: blur(5px);
  opacity: 0.5;
  z-index: 50;
}

.news-nonblur-front {
  position: relative;
  z-index: 100;
}
