/* Loaded after the main stylesheet for page-level corrections. */

.info-page__section,
.news-archive,
.faq {
  padding-top: var(--p-32);
  padding-bottom: var(--p-64);
}

.info-page__hero {
  max-width: 820px;
  margin-bottom: var(--p-40);
}

.info-page__hero span {
  margin-bottom: var(--p-12);
  color: var(--blue);
  font-size: var(--f-14);
  font-weight: 800;
  display: block;
}

.info-page__hero h1 {
  margin-bottom: var(--p-20);
  font-size: var(--f-56);
  font-weight: 800;
  line-height: 1;
  text-wrap: balance;
}

.info-page__hero p {
  max-width: 720px;
  color: var(--black-50);
  font-size: var(--f-18);
  line-height: 1.45;
}

.faq__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--p-20);
}

.faq__group {
  min-width: 0;
  padding: var(--p-28, 28px);
  border-radius: var(--r-16);
  background-color: var(--white);
}

.faq__group h2 {
  margin-bottom: var(--p-24);
  font-size: var(--f-28);
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
  overflow-wrap: anywhere;
  opacity: 1;
  transform: none;
}

.faq__item summary {
  font-size: var(--f-16);
  line-height: 1.25;
}

.info-card {
  min-width: 0;
  min-height: 180px;
  padding: var(--p-24);
  gap: var(--p-18, 18px);
}

.info-card strong {
  font-size: var(--f-20);
  line-height: 1.14;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.info-card p {
  font-size: var(--f-14);
  line-height: 1.4;
}

.documents-page .info-page__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.documents-page__intro {
  max-width: 760px;
  margin-bottom: var(--p-32);
  color: var(--black-50);
  font-size: var(--f-16);
  line-height: 1.5;
}

.press-page__hero,
.error404-page__section {
  padding-top: var(--p-32);
  padding-bottom: var(--p-64);
}

.press-page .info-page__hero {
  margin-bottom: 0;
}

.press-page__hero-grid,
.error404-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: var(--p-32);
  align-items: end;
}

.press-page__note,
.press-page__contact-card,
.press-page__material-card,
.press-page__guidelines article,
.press-page__form {
  min-width: 0;
}

.press-page__section h2 {
  margin-bottom: var(--p-20);
  font-size: var(--f-32);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
  opacity: 1;
  transform: none;
}

.press-page__material-card strong,
.press-page__contact-card a,
.press-page__contact-card strong,
.press-page__guidelines h3 {
  overflow-wrap: anywhere;
}

.error404-page__hero {
  max-width: 780px;
}

.error404-page__hero span {
  margin-bottom: var(--p-16);
  color: var(--blue);
  font-size: var(--f-20);
  font-weight: 800;
  display: block;
}

.error404-page__hero h1 {
  margin-bottom: var(--p-20);
  font-size: var(--f-64);
  font-weight: 800;
  line-height: 0.98;
  text-wrap: balance;
}

.error404-page__hero p {
  max-width: 640px;
  color: var(--black-50);
  font-size: var(--f-18);
  line-height: 1.45;
}

.error404-page__search {
  width: 100%;
  min-height: 56px;
  align-self: end;
}

.error404-page__links {
  margin-top: var(--p-48);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--r-16);
  background-color: var(--black-10);
}

.error404-page__links a {
  min-height: 170px;
  padding: var(--p-24);
  background-color: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--p-24);
}

.error404-page__links span {
  color: var(--blue);
  font-size: var(--f-12);
  font-weight: 800;
}

.error404-page__links strong {
  font-size: var(--f-20);
  font-weight: 800;
  line-height: 1.14;
  text-wrap: balance;
}

.archive-universal__item {
  padding: var(--p-20);
  grid-template-columns: 110px minmax(0, 1fr);
  gap: var(--p-20);
  align-items: start;
}

.archive-universal__body>a {
  max-width: 760px;
  font-size: var(--f-24);
  line-height: 1.12;
  text-wrap: balance;
}

.archive-universal__body p {
  max-width: 620px;
  margin-top: var(--p-12);
  font-size: var(--f-15, 15px);
  line-height: 1.4;
}

.archive-universal__meta {
  margin-top: var(--p-16);
  align-items: baseline;
  column-gap: var(--p-12);
  row-gap: var(--p-6, 6px);
}

.archive-universal__type {
  white-space: nowrap;
}

.archive-universal__meta time,
.archive-universal__meta span {
  line-height: 1.2;
  display: inline-flex;
  align-items: baseline;
}

@media (max-width: 1199px) {
  .documents-page .info-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .press-page__layout,
  .error404-page__grid {
    grid-template-columns: 1fr;
  }

  .error404-page__search {
    max-width: 520px;
  }

  .error404-page__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .faq__layout,
  .press-page__hero-grid,
  .press-page__contacts-grid,
  .press-page__materials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .info-page__hero h1,
  .error404-page__hero h1 {
    font-size: var(--f-36);
  }

  .info-page__hero p,
  .error404-page__hero p {
    font-size: var(--f-16);
  }

  .faq__group h2,
  .press-page__section h2 {
    font-size: var(--f-24);
  }

  .documents-page .info-page__grid,
  .error404-page__links {
    grid-template-columns: 1fr;
  }

  .archive-universal__item {
    grid-template-columns: 1fr;
  }

  .archive-universal__body>a {
    font-size: var(--f-20);
  }
}
