.news-page {
  background: var(--surface-subtle);
}

.news-index-hero,
.news-detail-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 14%, rgba(25, 97, 189, 0.11), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.news-index-hero {
  padding: 92px 0 78px;
}

.news-index-hero h1,
.news-detail-heading h1 {
  margin: 14px 0 0;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.news-index-hero .section-intro {
  max-width: 620px;
}

.news-index-section {
  padding: 88px 0 116px;
}

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

.news-filter {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 38px;
}

.news-filter-group h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.news-filter-options {
  display: grid;
  border-top: 1px solid var(--line);
}

.news-filter-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.2s ease,
    padding 0.2s ease;
}

.news-filter-button small {
  color: #8a95a6;
  font-size: 0.6875rem;
}

.news-filter-button:hover,
.news-filter-button.is-active {
  padding-left: 10px;
  color: var(--blue-dark);
}

.news-filter-button.is-active::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
}

.news-filter-button.is-active span {
  margin-right: auto;
}

.news-index-results-head {
  display: flex;
  min-height: 36px;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.news-index-results-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.news-index-item {
  border-bottom: 1px solid var(--line);
}

.news-index-item a {
  position: relative;
  display: grid;
  grid-template-columns: 126px 96px minmax(0, 1fr) 28px;
  gap: 22px;
  align-items: center;
  min-height: 112px;
  padding: 22px 4px;
  transition:
    background-color 0.2s ease,
    padding 0.2s ease;
}

.news-index-item a:hover {
  padding-inline: 16px 10px;
  background: var(--blue-soft);
}

.news-index-date,
.news-detail-meta time {
  color: var(--text-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
}

.news-index-item .news-category {
  width: fit-content;
  justify-self: start;
}

.news-index-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.news-index-arrow {
  color: var(--blue);
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.news-index-item a:hover .news-index-arrow {
  transform: translateX(4px);
}

.news-empty {
  padding: 72px 0;
  text-align: center;
}

.news-empty p {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.news-detail-container {
  max-width: 700px;
}

.news-detail-hero {
  padding: 34px 0 82px;
}

.news-detail-hero .breadcrumb {
  margin-bottom: 70px;
  color: #98a2b2;
  font-size: 12px;
}

.news-detail-hero .breadcrumb a {
  color: inherit;
}

.news-detail-hero .breadcrumb a:last-child {
  color: var(--text);
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.news-detail-heading h1 {
  margin-top: 24px;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.news-detail-body {
  padding: 88px 0 116px;
  background: var(--white);
}

.news-article {
  width: 100%;
  margin: 0 auto;
}

.news-article p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 2.05;
}

.news-article p + p {
  margin-top: 30px;
}

.news-article h2,
.news-article h3 {
  color: var(--text);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.news-article h2 {
  margin: 68px 0 22px;
  font-size: 1.625rem;
  line-height: 1.55;
}

.news-article h3 {
  margin: 48px 0 18px;
  font-size: 1.1875rem;
  line-height: 1.6;
}

.news-cover-image,
.news-article-image {
  margin: 0;
}

.news-cover-image {
  margin-bottom: 62px;
}

.news-article-image {
  margin: 52px 0;
}

.news-cover-image img,
.news-article-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.news-cover-image figcaption,
.news-article-image figcaption {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 300;
  line-height: 1.7;
}

.news-article ul {
  display: grid;
  gap: 10px;
  margin: 30px 0;
  padding-left: 1.4em;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.85;
}

.news-article li::marker {
  color: var(--blue);
}

.news-article blockquote {
  margin: 52px 0;
  padding: 28px 30px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
}

.news-article blockquote p {
  color: var(--text);
  font-size: 1rem;
}

.news-article blockquote cite {
  display: block;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-style: normal;
}

.news-related-button {
  width: fit-content;
  margin-top: 42px;
}

.news-detail-footer {
  margin-top: 88px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.news-detail-pager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.news-pager-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-size: 0.875rem;
}

.news-pager-next {
  justify-self: end;
}

.news-pager-link span {
  transition: transform 0.2s ease;
}

.news-pager-previous:hover span {
  transform: translateX(-4px);
}

.news-pager-next:hover span {
  transform: translateX(4px);
}

.news-list-button {
  min-height: 46px;
  padding-inline: 22px;
  font-size: 0.8125rem;
}

@media (max-width: 980px) {
  .news-index-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .news-filter {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .news-index-hero {
    padding: 62px 0 54px;
  }

  .news-index-hero h1,
  .news-detail-heading h1 {
    font-size: 1.875rem;
    line-height: 1.5;
  }

  .news-index-section {
    padding: 58px 0 82px;
  }

  .news-index-layout {
    gap: 44px;
  }

  .news-filter {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 0;
  }

  .news-filter-button {
    width: auto;
    min-height: 38px;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
  }

  .news-filter-button:hover,
  .news-filter-button.is-active {
    padding-left: 14px;
    border-color: var(--blue);
    background: var(--blue-soft);
  }

  .news-filter-button.is-active::before {
    display: none;
  }

  .news-index-item a {
    grid-template-columns: auto minmax(0, 1fr) 22px;
    gap: 10px 12px;
    min-height: 0;
    padding: 26px 0;
  }

  .news-index-item a:hover {
    padding-inline: 10px 6px;
  }

  .news-index-date {
    grid-column: 1;
  }

  .news-index-item .news-category {
    grid-column: 2;
    width: fit-content;
  }

  .news-index-title {
    grid-column: 1 / span 2;
    grid-row: 2;
    font-size: 1rem;
  }

  .news-index-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .news-detail-hero {
    padding: 28px 0 60px;
  }

  .news-detail-hero .breadcrumb {
    margin-bottom: 48px;
  }

  .news-detail-heading h1 {
    margin-top: 20px;
  }

  .news-detail-body {
    padding: 62px 0 84px;
  }

  .news-article p {
    font-size: 0.875rem;
    line-height: 1.95;
  }

  .news-article h2 {
    margin-top: 54px;
    font-size: 1.375rem;
  }

  .news-article h3 {
    margin-top: 40px;
    font-size: 1.0625rem;
  }

  .news-cover-image {
    margin-bottom: 46px;
  }

  .news-article-image {
    margin: 42px 0;
  }

  .news-article ul {
    font-size: 0.875rem;
  }

  .news-article blockquote {
    margin: 42px 0;
    padding: 24px 20px;
  }

  .news-related-button {
    width: 100%;
  }

  .news-detail-footer {
    margin-top: 64px;
  }

  .news-detail-pager {
    gap: 8px;
  }

  .news-pager-link {
    gap: 5px;
    font-size: 0.75rem;
  }

  .news-list-button {
    width: auto;
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.75rem;
  }
}
