.news-page {
  min-height: 720px;
  padding: 54px 0 92px;
  background: #fff;
  box-sizing: border-box;
}

.news-container {
  width: min(100%, var(--page-max-width));
  margin: 0 auto;
  padding: 0 120px;
  box-sizing: border-box;
}

.news-page h1 {
  margin: 0 0 40px;
  color: #003da5;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
}

.news-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 720px);
  min-height: 56px;
  padding: 6px;
  border: 2px solid #f0f0f0;
  border-radius: 999px;
  box-sizing: border-box;
}

.news-search__field {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 12px;
  padding-left: 12px;
}

.news-search__field img {
  width: 24px;
  height: 24px;
}

.news-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #333;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}

.news-search input::placeholder {
  color: #b8b8b8;
}

.news-search button {
  min-width: 112px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #003da5;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.news-section-divider {
  margin: 60px 0 48px;
  border: 0;
  border-top: 1px solid #f0f0f0;
}

.news-filter {
  display: flex;
  align-items: center;
  gap: 32px;
}

.news-filter h2 {
  flex: 0 0 auto;
  margin: 0;
  color: #003da5;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.news-filter__list {
  display: flex;
  min-width: 0;
  overflow-x: auto;
}

.news-filter__button {
  position: relative;
  flex: 0 0 auto;
  min-height: 58px;
  padding: 0 32px;
  border: 0;
  border-right: 1px solid #f0f0f0;
  color: #5f5f5f;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.news-filter__button:first-child {
  border-left: 1px solid #f0f0f0;
}

.news-filter__button.is-active,
.news-filter__button:hover {
  color: #003da5;
}

.news-filter__button.is-active::after,
.news-filter__button:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #003da5;
}

.news-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 54px;
}

.news-article-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.19);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.news-article-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.news-article-card__image {
  display: block;
  height: 225px;
  overflow: hidden;
}

.news-article-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.news-article-card:hover .news-article-card__image img {
  transform: scale(1.06);
}

.news-article-card__content {
  display: block;
  padding: 20px 20px 0;
}

.news-article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-article-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  background: #003da5;
  font-size: 12px;
  font-weight: 800;
}

.news-article-card__date {
  color: #003da5;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.news-article-card__title,
.news-article-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  text-align: left;
}

.news-article-card__title {
  min-height: 50px;
  margin-top: 14px;
  color: #111;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.news-article-card__excerpt {
  min-height: 36px;
  margin-top: 6px;
  color: #737373;
  font-size: 13px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.news-article-card__footer {
  display: flex;
  justify-content: space-around;
  margin: 18px 20px 0;
  padding: 18px 0 20px;
  border-top: 2px solid transparent;
  border-image: linear-gradient(to right, #deb681 0%, rgba(222, 182, 129, 0) 100%) 1;
}

.news-article-card__action {
  border: 0;
  color: #5f5f5f;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.news-article-card__action:hover {
  color: #003da5;
}

.news-empty-state {
  margin: 48px 0 0;
  color: #737373;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .news-page {
    padding: 42px 0 64px;
    overflow-x: hidden;
  }

  .news-container {
    padding: 0 16px;
  }

  .news-page h1 {
    margin-bottom: 28px;
    font-size: 36px;
  }

  .news-search {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    border-radius: 18px;
  }

  .news-search__field {
    min-height: 38px;
    padding-left: 0;
  }

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

  .news-section-divider {
    margin: 42px 0 32px;
  }

  .news-filter {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .news-filter__list {
    width: 100%;
  }

  .news-filter__button {
    min-height: 50px;
    padding: 0 24px;
  }

  .news-article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 34px;
  }

  .news-article-card__image {
    height: 188px;
  }

  .news-article-card__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
