/* News pages: shared layout for list, category and article views. */
.news-page {
  --news-accent: #2563eb;
  --news-accent-dark: #1d4ed8;
  --news-ink: #122235;
  --news-muted: #65768a;
  --news-line: #e5e7eb;
  --news-surface: #f7fafb;
  --news-shell: 1080px;
  color: var(--news-ink);
  background: #fff;
}

.news-page,
.news-page *,
.news-page *::before,
.news-page *::after {
  box-sizing: border-box;
}

.news-page img {
  max-width: 100%;
}

.news-page a:focus-visible,
.news-page button:focus-visible,
.news-page [tabindex]:focus-visible {
  outline: 2px solid var(--news-accent);
  outline-offset: 3px;
}

.news-page .header-news {
  height: 300px;
  background-position: center top;
  background-size: cover;
}

.news-page .banner-200 {
  height: 220px;
}

.news-page .banner-200-keywords {
  margin-top: 14px;
}

.news-page .banner-200-description {
  margin-top: 10px;
}

.news-shell {
  width: min(var(--news-shell), calc(100% - 48px));
  margin: 0 auto;
}

.page-breadcrumb {
  position: relative;
  background: #fff;
}

.page-breadcrumb::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--news-line);
  content: "";
  pointer-events: none;
}

.page-breadcrumb__list {
  display: flex;
  width: min(var(--news-shell), calc(100% - 48px));
  min-height: 54px;
  margin: 0 auto;
  align-items: center;
  color: var(--news-muted);
  font-size: 13px;
}

.page-breadcrumb__item {
  display: flex;
  min-width: 0;
  align-items: center;
}

.page-breadcrumb__item + .page-breadcrumb__item::before {
  width: 5px;
  height: 5px;
  margin: 0 12px;
  border-top: 1px solid #9cabbc;
  border-right: 1px solid #9cabbc;
  content: "";
  flex: 0 0 auto;
  transform: rotate(45deg);
}

.page-breadcrumb__item a,
.page-breadcrumb__item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-breadcrumb__item a {
  color: var(--news-muted);
  transition: color 180ms ease;
}

.page-breadcrumb__item a:hover,
.page-breadcrumb__item a:focus-visible,
.page-breadcrumb__item--current {
  color: var(--news-ink);
}

.page-breadcrumb__item a:hover,
.page-breadcrumb__item a:focus-visible {
  color: var(--news-accent-dark);
}

.news-main {
  overflow: hidden;
  background: var(--news-surface);
}

.news-content {
  padding: 54px 0 92px;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.news-primary,
.news-side {
  min-width: 0;
}

.news-section-heading {
  margin-bottom: 34px;
}

.news-section-heading__title {
  color: var(--news-ink);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
}

.news-section-heading__description {
  max-width: 680px;
  margin-top: 12px;
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.8;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-card {
  position: relative;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(19, 43, 68, 0.06);
  gap: 22px;
  transition: box-shadow 350ms cubic-bezier(0.16, 1, 0.3, 1), transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover,
.news-card:focus-within {
  box-shadow: 0 24px 52px -18px rgba(15, 23, 42, 0.2);
  transform: translateY(-4px);
}

.news-card__media {
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #edf3f8;
}

.news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-card__media img {
  transform: scale(1.035);
}

.news-card__body {
  display: flex;
  min-width: 0;
  padding: 3px 2px 2px 0;
  flex-direction: column;
}

.news-card__meta,
.news-article__meta {
  display: flex;
  color: var(--news-muted);
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.6;
}

.news-card__meta > * + *,
.news-article__meta > * + * {
  margin-left: 14px;
}

.news-card__category,
.news-article__category {
  display: inline-flex;
  padding: 4px 10px;
  color: var(--news-accent-dark);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.news-card__title {
  margin-top: 12px;
  color: var(--news-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

.news-card__title a {
  color: inherit;
  transition: color 180ms ease;
}

.news-card__title a:hover,
.news-card__title a:focus-visible {
  color: var(--news-accent-dark);
}

.news-card__excerpt {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card__link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 14px;
  color: var(--news-accent-dark);
  align-items: center;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
}

.news-card__link::after {
  margin-left: 6px;
  content: "\2192";
  transition: transform 180ms ease;
}

.news-card__link:hover::after,
.news-card__link:focus-visible::after {
  transform: translateX(3px);
}

.news-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.news-side__block {
  padding: 22px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(19, 43, 68, 0.06);
}

.news-side__header {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
}

.news-side__title {
  color: var(--news-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.news-side__more {
  color: var(--news-muted);
  font-size: 12px;
  transition: color 180ms ease;
}

.news-side__more:hover,
.news-side__more:focus-visible {
  color: var(--news-accent-dark);
}

.news-side__nav {
  display: grid;
  gap: 6px;
}

.news-side__nav a {
  display: flex;
  min-height: 40px;
  padding: 9px 12px;
  color: #42546a;
  border-radius: 7px;
  align-items: center;
  font-size: 13px;
  line-height: 1.5;
  transition: color 180ms ease, background-color 180ms ease;
}

.news-side__nav a:hover,
.news-side__nav a:focus-visible,
.news-side__nav a.is-active {
  color: var(--news-accent-dark);
  background: rgba(37, 99, 235, 0.08);
}

.news-side__nav a.is-active {
  font-weight: 600;
}

.news-side__reading {
  display: grid;
  gap: 14px;
}

.news-side__reading a {
  display: grid;
  min-width: 0;
  color: var(--news-ink);
  gap: 9px;
}

.news-side__reading-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 7px;
  background: #edf3f8;
}

.news-side__reading img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.news-side__reading a:hover img {
  transform: scale(1.035);
}

.news-side__reading-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-side__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-side__tag {
  display: inline-flex;
  min-height: 32px;
  padding: 7px 11px;
  color: #52657a;
  border-radius: 7px;
  background: #f3f7fa;
  align-items: center;
  font-size: 12px;
  line-height: 1.3;
  transition: color 180ms ease, background-color 180ms ease;
}

.news-side__tag:hover,
.news-side__tag:focus-visible {
  color: var(--news-accent-dark);
  background: rgba(37, 99, 235, 0.08);
}

.news-pagination {
  margin-top: 30px;
}

.news-page .page {
  display: flex;
  width: auto;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.news-page .page li {
  float: none;
  list-style: none;
}

.news-page .page li > a,
.news-page .page li > span {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  color: #52657a;
  border: 0;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(19, 43, 68, 0.06);
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 36px;
  transition: color 180ms ease, background-color 180ms ease;
}

.news-page .page a span {
  display: inline;
  height: auto;
  padding: 0;
  background: none;
  line-height: inherit;
}

.news-page .page a:hover,
.news-page .page a:focus-visible,
.news-page .page a.this {
  color: #fff;
  background: var(--news-accent);
}

.news-page .page .points {
  display: inline-flex;
  min-width: 26px;
  height: 36px;
  color: var(--news-muted);
  align-items: center;
  justify-content: center;
}

.news-article {
  padding: 42px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(19, 43, 68, 0.06);
}

.news-article__header {
  padding-bottom: 26px;
}

.news-article__title {
  color: var(--news-ink);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.news-article__meta {
  margin-top: 16px;
}

.news-article__content {
  padding-top: 26px;
  color: #334155;
  font-size: 16px;
  line-height: 1.9;
  overflow-x: auto;
  overflow-wrap: anywhere;
}

.news-article__content p {
  margin: 0 0 1.1em;
}

.news-article__content img {
  display: block;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
}

.news-article__content h2,
.news-article__content h3,
.news-article__content h4 {
  margin: 1.5em 0 0.65em;
  color: var(--news-ink);
  font-weight: 600;
  line-height: 1.5;
}

.news-article__content h2 {
  font-size: 24px;
}

.news-article__content h3 {
  font-size: 20px;
}

.news-article__content ul,
.news-article__content ol {
  margin: 0 0 1.1em;
  padding-left: 1.5em;
}

.news-article__content ul {
  list-style: disc;
}

.news-article__content ol {
  list-style: decimal;
}

.news-article__content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  color: #52657a;
  border-left: 3px solid var(--news-accent);
  background: #f6f9fc;
}

.news-article__content table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.news-article__content th,
.news-article__content td {
  padding: 10px 12px;
  border: 1px solid var(--news-line);
  text-align: left;
}

.news-navigation {
  display: grid;
  margin-top: 18px;
  gap: 10px;
}

.news-navigation__item {
  display: grid;
  min-width: 0;
  padding: 15px 18px;
  color: var(--news-ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(19, 43, 68, 0.05);
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
  transition: color 180ms ease, box-shadow 180ms ease;
}

.news-navigation__item:hover,
.news-navigation__item:focus-visible {
  color: var(--news-accent-dark);
  box-shadow: 0 10px 28px rgba(19, 43, 68, 0.09);
}

.news-navigation__label {
  color: var(--news-muted);
  font-size: 12px;
}

.news-navigation__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-empty {
  padding: 64px 24px;
  color: var(--news-muted);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(19, 43, 68, 0.06);
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
}

.news-page .mobile-inner-nav.is-open {
  display: block;
}

@media screen and (max-width: 1024px) {
  .news-page .header-container .header,
  .news-page .header-container-scroll .header {
    width: calc(100% - 32px);
  }

  .news-page .header-container .header-nav,
  .news-page .header-container-scroll .header-nav {
    width: 70px;
  }

  .news-page .header-container .header-shadow,
  .news-page .header-container-scroll .header-shadow {
    width: 100%;
    min-width: 0;
  }

  .news-content {
    padding: 46px 0 72px;
  }

  .news-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 24px;
  }

  .news-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media screen and (max-width: 860px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

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

  .news-side__block:first-child {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 720px) {
  .news-shell,
  .page-breadcrumb__list {
    width: calc(100% - 32px);
  }

  .page-breadcrumb__list {
    min-height: 48px;
    font-size: 12px;
  }

  .news-content {
    padding: 38px 0 58px;
  }

  .news-section-heading {
    margin-bottom: 28px;
  }

  .news-section-heading__title {
    font-size: 29px;
  }

  .news-card {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 16px;
  }

  .news-card__media {
    aspect-ratio: 16 / 9;
  }

  .news-card__title {
    font-size: 20px;
  }

  .news-side {
    grid-template-columns: 1fr;
  }

  .news-side__block:first-child {
    grid-column: auto;
  }

  .news-article {
    padding: 26px 20px;
  }

  .news-article__title {
    font-size: 26px;
  }

  .news-article__content {
    padding-top: 22px;
    font-size: 15px;
    line-height: 1.85;
  }

  .news-navigation__item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .news-navigation__text {
    white-space: normal;
  }

  .news-page .foot_fd {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-page *,
  .news-page *::before,
  .news-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
