.news-index {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 12px 60px;
}

.news-index__toolbar {
  min-height: 52px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.news-index__toolbar > p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.news-categories {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.news-categories a {
  min-height: 34px;
  position: relative;
  padding: 4px 24px;
  color: #38546b;
  font-size: 13px;
  white-space: nowrap;
  transition: color .25s ease, transform .25s ease;
}

.news-categories a:first-child { padding-left: 14px; }
.news-categories a + a::before {
  width: 1px;
  height: 15px;
  position: absolute;
  top: 5px;
  left: 0;
  content: "";
  background: #a7b9c5;
}

.news-categories a::after {
  height: 1px;
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  content: "";
  background: var(--ink);
  transition: right .25s ease, left .25s ease;
}

.news-categories a.is-current::after { right: 0; left: 0; }

.news-card {
  min-height: 161px;
  display: grid;
  grid-template-columns: 120px 228px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 18px;
  scroll-margin-top: 86px;
  border-bottom: 1px solid var(--line);
}

.news-card:last-child { border-bottom: 0; }

.news-card__meta {
  align-self: center;
  display: grid;
  justify-items: start;
  gap: 17px;
}

.news-card__meta time {
  color: #38546b;
  font-size: 14px;
}

.news-card__meta span {
  min-width: 71px;
  padding: 5px 12px;
  color: #52697b;
  background: #edf4f8;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.news-card__image {
  width: 228px;
  aspect-ratio: 229 / 121;
  display: block;
  overflow: hidden;
  background: #edf4f8;
  transition: box-shadow .25s ease, transform .25s ease;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .25s ease, transform .4s ease;
}

.news-card__body { padding: 4px 8px 0 0; }
.news-card__body h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: .035em;
}

.news-card__body h2 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: color .25s ease, background-size .3s ease;
}

.news-card__body p {
  margin: 0;
  color: #52697b;
  font-size: 14px;
  line-height: 1.75;
}

.news-card__arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 17px var(--sans);
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

@media (max-width: 900px) {
  .news-index { padding-right: 6vw; padding-left: 6vw; }
  .news-index__toolbar { display: grid; }
  .news-categories { max-width: 100%; overflow-x: auto; padding-bottom: 6px; }
  .news-index__toolbar > p { display: none; }
  .news-card { grid-template-columns: 104px 190px minmax(0, 1fr) 32px; gap: 15px; }
  .news-card__image { width: 190px; }
  .news-card__body h2 { font-size: 18px; }
}

@media (max-width: 680px) {
  .news-index { padding: 38px 6vw 44px; }
  .news-index__toolbar { min-height: 58px; margin: 0 -6vw; padding: 0 6vw; overflow: hidden; }
  .news-categories a { padding-right: 18px; padding-left: 18px; font-size: 12px; }
  .news-categories a:first-child { padding-left: 6px; }
  .news-card {
    min-height: 0;
    padding: 25px 0 28px;
    grid-template-columns: 1fr 28px;
    gap: 14px 10px;
  }
  .news-card__meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 13px; }
  .news-card__meta time { font-size: 16px; }
  .news-card__meta span { min-width: 0; font-size: 12px; }
  .news-card__image { width: 100%; grid-column: 1 / -1; aspect-ratio: 229 / 121; }
  .news-card__body { padding: 0; }
  .news-card__body h2 { margin-bottom: 9px; font-size: 20px; }
  .news-card__body p { font-size: 16px; line-height: 1.8; }
  .news-card__arrow { align-self: start; margin-top: -2px; }
}

@media (hover: hover) {
  .news-categories a:hover { color: #23627a; transform: translateY(-2px); }
  .news-categories a:hover::after { right: 8px; left: 8px; }
  .news-card__image:hover { box-shadow: 0 8px 20px rgba(22,65,84,.16); transform: translateY(-2px); }
  .news-card__image:hover img { filter: saturate(1.06) brightness(1.02); transform: scale(1.035); }
  .news-card__body h2 a:hover { color: #23627a; background-size: 100% 1px; }
  .news-card__arrow:hover { color: #fff; background: #23627a; transform: translateX(3px); }
}
