.page-news-article .nav-list__link:hover {
  color: var(--text-dark);
}

.news-article-page {
  display: block;
  position: relative;
  padding-bottom: clamp(
    50px,
    calc(50px + (80 - 50) * ((100vw - 360px) / (768 - 360))),
    80px
  );
  background-color: var(--bg-light);
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .news-article-page {
    padding-bottom: clamp(
      80px,
      calc(80px + (110 - 80) * ((100vw - 768px) / (1280 - 768))),
      110px
    );
  }
}

@media (min-width: 1280px) {
  .news-article-page {
    padding-bottom: clamp(
      110px,
      calc(110px + (130 - 110) * ((100vw - 1280px) / (1920 - 1280))),
      130px
    );
  }
}

.news-article-page__top {
  position: relative;
  height: clamp(
    108px,
    calc(108px + (150 - 108) * ((100vw - 360px) / (768 - 360))),
    150px
  );
  background-color: var(--bg-primary);
}

@media (min-width: 768px) {
  .news-article-page__top {
    height: clamp(
      150px,
      calc(150px + (188 - 150) * ((100vw - 768px) / (1280 - 768))),
      188px
    );
  }
}

@media (min-width: 1280px) {
  .news-article-page__top {
    height: clamp(
      188px,
      calc(188px + (228 - 188) * ((100vw - 1280px) / (1920 - 1280))),
      228px
    );
  }
}

@media (min-width: 1920px) {
  .news-article-page__top {
    height: 228px;
  }
}

.news-article-page__content {
  padding: 20px 14px 60px;
}

@media (min-width: 768px) {
  .news-article-page__content {
    padding: 34px 16px 80px;
  }
}

@media (min-width: 1280px) {
  .news-article-page__content {
    padding: 42px 60px 100px;
  }
}

@media (min-width: 1920px) {
  .news-article-page__content {
    padding: 54px 322px 120px;
  }
}

.news-article-page__container {
  max-width: 1520px;
  margin: 0 auto;
}

.news-article-page__title {
  margin: 0;
  color: var(--text-dark);
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  line-height: 110%;
}

@media (min-width: 768px) {
  .news-article-page__title {
    font-size: 32px;
  }
}

@media (min-width: 1280px) {
  .news-article-page__title {
    font-size: 40px;
  }
}

@media (min-width: 1920px) {
  .news-article-page__title {
    font-size: 48px;
  }
}

.news-article-page__date {
  margin-top: 10px;
  color: #a6a6a6;
  text-align: center;
  font-family: var(--font-family-body);
  font-size: 14px;
  line-height: 120%;
}

@media (min-width: 768px) {
  .news-article-page__date {
    margin-top: 14px;
    font-size: 16px;
  }
}

.news-article {
  margin-top: 22px;
}

@media (min-width: 768px) {
  .news-article {
    margin-top: 30px;
  }
}

@media (min-width: 1280px) {
  .news-article {
    margin-top: 42px;
  }
}

.news-article__intro::after {
  display: block;
  clear: both;
  content: "";
}

.news-article__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
}

@media (min-width: 768px) {
  .news-article__image {
    width: 600px;
    max-width: 100%;
    height: 700px;
    margin-bottom: 28px;
    border-radius: 40px;
    object-fit: cover;
  }
}

@media (min-width: 1280px) {
  .news-article__image {
    float: left;
    width: 600px;
    max-width: 100%;
    height: 700px;
    margin-right: 40px;
    margin-bottom: 20px;
    object-fit: cover;
  }
}

@media (min-width: 1920px) {
  .news-article__image {
    margin-right: 48px;
  }
}

.news-article__content,
.news-article__bottom {
  color: #2a2a2a;
  font-family: var(--font-family-body);
}

.news-article__content > *:first-child,
.news-article__bottom > *:first-child {
  margin-top: 0;
}

.news-article__content h2,
.news-article__content h3,
.news-article__content > p:first-child {
  margin: 0 0 18px;
  color: var(--text-dark);
  font-family: var(--font-family-h3);
  font-size: var(--h3-size);
  font-weight: 600;
  line-height: 110%;
  letter-spacing: 0.03em;
}

.news-article__content h3 {
  font-weight: 800;
}

.news-article__content p,
.news-article__bottom p {
  margin: 0 0 14px;
  color: #2a2a2a;
  font-size: var(--body-size);
  line-height: 1.2;
  letter-spacing: 0;
}

.news-article__content a,
.news-article__bottom a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-article__content a:hover,
.news-article__bottom a:hover {
  color: var(--text-dark);
}

.news-article__content ul,
.news-article__content ol,
.news-article__bottom ul,
.news-article__bottom ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.news-article__content li,
.news-article__bottom li {
  margin-bottom: 4px;
  color: #2a2a2a;
  font-size: var(--body-size);
  line-height: 110%;
  letter-spacing: 0.02em;
}

.news-article__quote,
.news-article__bottom,
.news-article__actions {
  clear: both;
}

.news-article__quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
  padding: 22px 16px 20px;
  border-radius: 22px;
  background-color: var(--color-primary);
  overflow: hidden;
}

@media (min-width: 768px) {
  .news-article__quote {
    gap: 14px;
    margin-top: 34px;
    border-radius: 40px;
  }
}

@media (min-width: 1280px) {
  .news-article__quote {
    margin-top: 16px;
    padding: 28px;
    border-radius: 40px;
  }
}

.news-article__quote-mark {
  display: flex;
  gap: 6px;
}

.news-article__quote-mark img {
  display: block;
  width: 22px;
  height: auto;
}

@media (min-width: 768px) {
  .news-article__quote-mark img {
    width: 28px;
  }
}

@media (min-width: 1280px) {
  .news-article__quote-mark img {
    width: 32px;
  }
}

.news-article__quote-mark--lead {
  position: relative;
  z-index: 2;
  margin-bottom: 34px;
}

.news-article__quote-mark--lead img {
  opacity: 1;
}

.news-article__quote-mark--ghost {
  display: none;
}

@media (min-width: 768px) {
  .news-article__quote-mark--ghost {
    position: absolute;
    right: 24px;
    bottom: 18px;
    display: flex;
    gap: 10px;
    z-index: 1;
  }

  .news-article__quote-mark--ghost img {
    width: 92px;
    opacity: 0.15;
  }
}

@media (min-width: 1280px) {
  .news-article__quote-mark--ghost {
    right: 24px;
    bottom: 20px;
  }

  .news-article__quote-mark--ghost img {
    width: 108px;
  }
}

.news-article__quote-content {
  position: relative;
  z-index: 2;
}

.news-article__quote-text {
  color: var(--text-light);
  font-family: "OpenSans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.18;
}

@media (min-width: 768px) {
  .news-article__quote-text {
    font-size: 18px;
    line-height: 1.2;
  }
}

@media (min-width: 1280px) {
  .news-article__quote-text {
    font-size: 24px;
  }
}

.news-article__quote-author {
  margin-top: 18px;
  color: var(--text-light);
  font-family: "OpenSans", sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .news-article__quote-author {
    margin-top: 16px;
    font-size: 16px;
  }
}

.news-article__bottom {
  margin-top: 24px;
}

@media (min-width: 768px) {
  .news-article__bottom {
    margin-top: 40px;
  }
}

.news-article__actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .news-article__actions {
    margin-top: 36px;
  }
}

.news-article__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 220px);
  min-height: 50px;
  border-radius: 14px;
  background-color: #ececec;
  color: #b4b4b4;
  font-family: var(--font-family-button);
  font-size: 16px;
  font-weight: 700;
  line-height: 120%;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

@media (min-width: 768px) {
  .news-article__back {
    width: 188px;
    min-height: 54px;
    border-radius: 16px;
  }
}

.news-article__back:hover {
  background-color: var(--color-primary);
  color: var(--text-light);
}
