/* ==========================================================================
   Страница записи «Новость»
   ========================================================================== */

.news-single__head {
  padding: 48px 0 24px;
}

.news-single__title {
  margin: 0;
  font-family: var(--font, "Rosatom", sans-serif);
  font-size: 38px;
  font-weight: var(--fw-h1, 600);
  line-height: var(--lh-h1, 110%);
  color: var(--color-primary, #003274);
}

.news-single__intro {
  padding-bottom: 48px;
  font-family: var(--font, "Rosatom", sans-serif);
  font-size: var(--fs-body, 18px);
  line-height: var(--lh-body, 125%);
  color: var(--color-primary, #003274);
}

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

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

.news-single__intro ul,
.news-single__intro ol {
  margin: 0 0 1em 1em;
}

.news-single__cover {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-m, 12px);
  background-color: #d9d9d9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.news-single__more-photos {
  display: flex;
  justify-content: flex-start;
  padding: 32px 0 0;
}
.news-single__more-photos-btn {
  margin-top: 30px;
}

.news-single__more-photos-btn,
.news-photos__download-btn,
.news-photos__back-btn {
  justify-content: center;
  background-color: transparent;
  border: 2px solid var(--color-primary, #003274);
  color: var(--color-primary, #003274);
}

.news-single__more-photos-btn {
  min-width: 220px;
}

.news-photos__download-btn,
.news-photos__back-btn {
  min-width: 160px;
}

.news-single__more-photos-btn:hover,
.news-photos__download-btn:hover,
.news-photos__back-btn:hover {
  background-color: rgba(0, 50, 116, 0.08);
  color: var(--color-primary, #003274);
}

.news-photos__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 0 24px;
}

.news-photos__title {
  margin: 0;
  flex: 1 1 auto;
  font-family: var(--font, "Rosatom", sans-serif);
  font-size: var(--fs-h1, 45px);
  font-weight: var(--fw-h1, 600);
  line-height: var(--lh-h1, 110%);
  color: var(--color-primary, #003274);
}

.news-photos__actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.news-photos .news-gallery {
  padding-top: 0;
  padding-bottom: 0;
}

.news-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 10px 0 32px;
}

.news-gallery__row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.news-gallery__row--reverse {
  grid-template-columns: 1fr 2fr;
}

.news-gallery__item {
  display: block;
  width: 100%;
  max-height: 350px;
  padding: 0;
  border: none;
  border-radius: var(--radius-m, 12px);
  background: #d9d9d9;
  overflow: hidden;
  cursor: pointer;
}

.news-gallery__item img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  display: block;
  transition: transform var(--ease, 240ms ease);
}

.news-gallery__item:hover img {
  transform: scale(1.03);
}

@media (min-width: 1600px) {
  .news-single__cover {
    height: 450px;
  }
}

@media (max-width: 960px) {
  .news-single__head {
    padding: 32px 0 16px;
  }

  .news-single__title {
    font-size: 23px;
  }

  .news-single__intro {
    padding-bottom: 32px;
    font-size: var(--fs-small, 14px);
  }

  .news-single__cover {
    height: 350px;
  }

  .news-single__more-photos {
    padding: 24px 0 0;
  }

  .news-photos__head {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 0 16px;
  }

  .news-photos__title {
    font-size: var(--fs-h3, 28px);
  }

  .news-photos__actions {
    justify-content: flex-start;
  }

  .news-photos .news-gallery {
    padding-bottom: 0;
  }

  .news-gallery {
    padding-top: 10px;
  }

  .news-gallery__row,
  .news-gallery__row--reverse {
    grid-template-columns: 1fr;
  }

  .news-gallery__item {
    max-height: 350px;
  }
}
