﻿.news-page {
  background: linear-gradient(180deg, #f8fbff 0%, #f5f6f8 100%);
}

.news-page .main-nav a.is-active {
  color: var(--brand-deep);
}

.news-page .main-nav a.is-active::after {
  transform: scaleX(1);
}

.news-page .site-header {
  margin-bottom: 0;
}

.news-hero {
  position: relative;
}

.news-hero img {
  width: 100%;
  display: block;
}

.news-hero__copy {
  position: absolute;
  right: min(13.6vw, 262px);
  top: 70.8%;
  color: #fff;
  text-align: right;
  transform: translateY(-50%);
}

.news-hero__copy p {
  margin: 0 0 6px;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 300;
  line-height: 1.05;
}

.news-hero__copy h1 {
  margin: 0;
  font-size: clamp(34px, 2.8vw, 52px);
  line-height: 1.08;
  font-weight: 700;
}

.news-list-section {
  background: #ffffff;
  padding: 54px 0 96px;
}

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

.news-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 38px;
}

.news-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(22, 87, 157, 0.28);
  background: #fff;
  color: var(--brand);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.news-tab.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.news-list {
  display: grid;
}

.news-item {
  display: grid;
  grid-template-columns: 1fr 442px;
  gap: 52px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(16, 55, 99, 0.12);
  transition: opacity 0.2s;
}

.news-item:hover {
  opacity: 0.8;
}

.news-item:first-child {
  padding-top: 0;
}

.news-item h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.4;
  color: #16304a;
}

.news-item p {
  margin: 0 0 24px;
  color: #6b7789;
  font-size: 14px;
  line-height: 2;
}

.news-item__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #97a3b4;
  font-size: 13px;
}

.news-item__thumb img {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(17, 36, 60, 0.1);
}

@media (max-width: 1180px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .news-item__thumb {
    max-width: 540px;
  }
}

@media (max-width: 768px) {
  .news-page .site-header {
    margin-bottom: 0;
  }

  .news-hero__copy {
    right: 20px;
    top: auto;
    bottom: 36px;
    transform: none;
  }

  .news-hero__copy p {
    font-size: 16px;
  }

  .news-hero__copy h1 {
    font-size: 28px;
  }

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

  .news-shell {
    width: calc(100vw - 32px);
  }

  .news-tabs {
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
  }

  .news-tab {
    min-width: 90px;
    height: 38px;
    padding: 0 16px;
    font-size: 13px;
  }

  .news-item {
    padding: 20px 0;
  }

  .news-item h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .news-item p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
  }

  .news-item__meta {
    font-size: 12px;
  }

  .news-item__thumb img {
    border-radius: 12px;
  }
}
