.nb-news {
  padding: 24px 0;
}
.nb-news__header {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto 14px;
}
.nb-news__header h1,
.nb-news__header h2,
.nb-news__header h3,
.nb-news__header h4,
.nb-news__header h5,
.nb-news__header h6 {
  margin: 0;
  font-family: "DM Sans";
  font-weight: 700;
  color: #000;
}
.nb-news__intro {
  color: #404040;
  font-family: "DM Sans";
}
.nb-news__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.nb-news__chip {
  font-family: "DM Sans", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #f7f7f7;
  text-decoration: none;
  color: #0a344c;
  font-weight: 600;
}
.nb-news__chip.is-active,
.nb-news__chip:hover {
  background: #fae1b6;
  border-color: #faa856;
}
.nb-news__grid {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.nb-news__card {
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.nb-news__thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.nb-news__body {
  padding: 12px;
}
.nb-news__title {
  margin: 0 0 8px;
  font: 700 20px/1.3 "DM Sans";
}
.nb-news__title a {
  text-decoration: none;
  color: #000;
}
.nb-news__excerpt {
  color: #404040;
  font-family: "DM Sans";
  font-size: 15px;
}
.nb-news__more {
  font-family: "DM Sans", sans-serif;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  text-decoration: none;
  color: #000;
  background: #fff;
}
.nb-news__more:hover {
  border-color: #0b3a4f;
}
.nb-news__pagination {
  max-width: 1440px;
  width: 90%;
  margin: 16px auto 0;
  display: flex;
  justify-content: center;
}
.nb-news__pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nb-news__pagination .page-numbers a,
.nb-news__pagination .page-numbers span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  background: #fff;
  color: #111;
  text-decoration: none;
  font: 600 14px/1 "DM Sans";
}
.nb-news__pagination .page-numbers a:hover,
.nb-news__pagination .page-numbers span.current {
  background: #111;
  color: #fff;
  border-color: #111;
}
@media (max-width: 900px) {
  .nb-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .nb-news__grid {
    grid-template-columns: 1fr;
  }
}
