/* News list page */
.list-hero {
  position: relative;
  min-height: 280px;
  color: #fff;
  background: #102033 center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 110px 0 40px;
}

.list-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 28, 0.45), rgba(8, 16, 28, 0.72));
}

.list-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.list-hero h1 {
  margin: 8px 0 10px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.list-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  max-width: 480px;
}

.cats-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.cats-bar__inner {
  display: flex;
  gap: 8px 22px;
  overflow-x: auto;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 700;
}

.cats-bar a {
  color: var(--text-2);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.cats-bar a.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.list-page {
  padding: 32px 0 0;
}

.list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.list-toolbar select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.news-grid .card {
  gap: 12px;
}

.news-grid .card__img {
  aspect-ratio: 16 / 10;
}

.news-grid .card__title {
  font-size: 18px;
}

.news-grid .excerpt {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 36px 0 8px;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-2);
}

.pagination a.is-active {
  background: var(--blue);
  color: #fff;
}

.pagination a:hover:not(.is-active) {
  background: var(--bg-soft);
}

.filters label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.filters .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}

.filters input[type="date"],
.filters input[type="search"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-top: 6px;
}

.filters .btn {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
}

.filters .field {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}

@media (max-width: 1100px) {
  .list-layout {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}
