/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: > 0.1% and not dead
*/

:root {
  --newsitem-time-font-size: 14px;
  --newsitem-time-font-weight: 400;
  --newsitem-time-line-heigh: 16px;
  --newsitem-time-color: var(--main-color-opacity-50);
  --newsitem-time-margin-top: 64px;

  --newsitem-title-margin-top: 40px;

  --newsitem-article-margin-top: 64px;

  --newsitem-gallery-max-width: 720px;

  --newsitem-gallery-list-gap: 32px;
}



.content.news-item__content {
  text-align: left;
}

.news-item__time {
  display: block;
  position: relative;
  font-size: var(--newsitem-time-font-size);
  font-weight: var(--newsitem-time-font-weight);
  line-height: var(--newsitem-time-line-height);
  color: var(--newsitem-time-color);
}

.image.news-item__image img {
  width: 100%;
}

.news-item__image + .news-item__time {
  margin-top: var(--newsitem-time-margin-top);
}

.title.news-item__title {
  text-align: left;
  padding: 0 !important;
  margin-top: var(--newsitem-title-margin-top);
}

.article.news-item__article {
  margin-top: var(--newsitem-article-margin-top);
}

.news-item__gallery {
  display: block;
  position: relative;
  overflow: hidden;
}
.news-item__gallery:before,
.news-item__gallery:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: calc(50% + (var(--newsitem-gallery-max-width) / 2));
  background: linear-gradient(90deg, var(--second-color-opacity-90) 0%, var(--second-color-opacity-70) 64%, var(--second-color-opacity-00) 100%);
  pointer-events: none;
  z-index: 1;
}
.news-item__gallery:after {
  left: calc(50% + (var(--newsitem-gallery-max-width) / 2));
  right: 0;
  background: linear-gradient(270deg, var(--second-color-opacity-90) 0%, var(--second-color-opacity-70) 64%, var(--second-color-opacity-00) 100%);
}


.news-item-gallery__wrapper {
  max-width: var(--newsitem-gallery-max-width);
  margin: 0 auto;
}

.news-item-gallery__list {
  display: flex;
  position: relative;
  align-items: stretch;
  overflow: hidden;
  gap: var(--newsitem-gallery-list-gap);
}

.news-item__gallery .news-item-gallery__item {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: stretch;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  margin: 0;
  opacity: 0.80;
}
.news-item__gallery .news-item-gallery__item:before {
  display: none;
}

.news-item__gallery .news-item-gallery__item.glide__slide--active {
  opacity: 1;
}


.news-item__gallery .news-item-gallery__item img {
  width: 100%;
  margin: auto;
}




@media screen and (min-width: 1900px) {
  :root {
    --newsitem-time-font-size: 0.73vw;
    --newsitem-time-line-heigh: 0.83vw;
    --newsitem-time-margin-top: 3.33vw;

    --newsitem-title-margin-top: 2.08vw;

    --newsitem-article-margin-top: 3.33vw;

    --newsitem-gallery-max-width: 37.5vw;

    --newsitem-gallery-list-gap: 1.67vw;
  }
}



@media screen and (max-width: 1348px) {
  .image.news-item__image {
    max-width: calc(100% + (2 * var(--content-padding-width)));
    margin: 0 calc(-1 * var(--content-padding-width));
  }
}



@media screen and (max-width: 1000px) {
  :root {
    --newsitem-time-margin-top: 48px;

    --newsitem-title-margin-top: 40px;

    --newsitem-article-margin-top: 48px;
  }
}



@media screen and (max-width: 900px) {
  :root {
    --newsitem-gallery-list-gap: 0;
  }
}



@media screen and (max-width: 600px) {
  :root {
    --newsitem-time-margin-top: 24px;

    --newsitem-title-margin-top: 32px;

    --newsitem-article-margin-top: 32px;
  }
}



@media screen and (max-width: 400px) {
  :root {
    --newsitem-time-margin-top: 24px;

    --newsitem-title-margin-top: 24px;

    --newsitem-article-margin-top: 32px;
  }
}