.news-list__meta {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  --font-size: 12px;
  --font-size-rem: 0.75rem;
  --line-height: 16px;
  --line-height-rem: 1rem;
  font-size: var(--font-size-rem);
  line-height: var(--line-height-rem);
}

.news-list__tab, .news-list__link {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  --font-size: 12px;
  --font-size-rem: 0.75rem;
  --line-height: 16px;
  --line-height-rem: 1rem;
  font-size: var(--font-size-rem);
  line-height: var(--line-height-rem);
}

.news-list {
  padding: 0 0 5rem;
  background-color: #fcfaf8;
}
.news-list__toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.news-list__tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.75rem;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.news-list__tabs::-webkit-scrollbar {
  display: none;
}
.news-list__tab {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(17, 27, 33, 0.2);
  border-radius: 24px;
  background: none;
  color: #111b21;
  white-space: nowrap;
  cursor: pointer;
  transition: 150ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.news-list__tab:not(.-active):hover {
  border-color: #111b21;
}
.news-list__tab.-active {
  border-color: transparent;
  background-color: #111b21;
  color: #faf8f1;
}
.news-list__search-input {
  width: 100%;
  padding: 0 0 0.75rem;
  border: 0;
  border-bottom: 1px solid rgba(17, 27, 33, 0.32);
  border-radius: 0;
  background: none;
  color: #111b21;
  font: inherit;
  --font-size: 14px;
  --font-size-rem: 0.875rem;
  --line-height: 20px;
  --line-height-rem: 1.25rem;
  font-size: var(--font-size-rem);
  line-height: var(--line-height-rem);
}
.news-list__search-input::placeholder {
  color: rgba(17, 27, 33, 0.42);
}
.news-list__search-input:focus-visible {
  outline: none;
  border-color: #111b21;
}
.news-list__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}
.news-list__featured {
  margin-bottom: 3rem;
}
.news-list__featured[hidden] {
  display: none;
}
.news-list__item {
  height: 100%;
}
.news-list__item[hidden] {
  display: none;
}
.news-list__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid transparent;
  background-color: #ffffff;
  box-shadow: 0 14px 16px -8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 150ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.-featured .news-list__card {
  background-color: transparent;
  box-shadow: none;
}
.news-list__photo {
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  padding: 1rem;
}
.news-list__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 150ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
  border-radius: 8px;
}
.news-list__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.5rem;
}
.news-list__meta {
  display: block;
  margin-bottom: 0.5rem;
  color: #194547;
}
.news-list__title {
  margin: 0 0 0.5rem;
  color: #111b21;
  font-weight: 600;
  --font-size: 20px;
  --font-size-rem: 1.25rem;
  --line-height: 28px;
  --line-height-rem: 1.75rem;
  font-size: var(--font-size-rem);
  line-height: var(--line-height-rem);
}
.-featured .news-list__title {
  --font-size: 22px;
  --font-size-rem: 1.375rem;
  --line-height: 30px;
  --line-height-rem: 1.875rem;
  font-size: var(--font-size-rem);
  line-height: var(--line-height-rem);
}
.news-list__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 1.25rem;
  color: #5c5c5c;
  --font-size: 14px;
  --font-size-rem: 0.875rem;
  --line-height: 22px;
  --line-height-rem: 1.375rem;
  font-size: var(--font-size-rem);
  line-height: var(--line-height-rem);
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.-featured .news-list__excerpt {
  --font-size: 15px;
  --font-size-rem: 0.9375rem;
  --line-height: 24px;
  --line-height-rem: 1.5rem;
  font-size: var(--font-size-rem);
  line-height: var(--line-height-rem);
}
.news-list__link {
  align-self: flex-start;
  margin-top: auto;
  color: #111b21;
  font-weight: 600;
  border-bottom: 1px solid rgba(17, 27, 33, 0.32);
  padding-bottom: 2px;
  letter-spacing: 0.04em;
  transition: 150ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.news-list__card:hover .news-list__link, .news-list__card:focus-visible .news-list__link {
  color: #194547;
  border-color: currentColor;
}
.news-list__empty {
  margin: 0 0 2.5rem;
  color: rgba(17, 27, 33, 0.5);
  text-align: center;
}
.news-list__empty[hidden] {
  display: none;
}
.news-list__footer {
  display: flex;
  justify-content: center;
}
.news-list__footer:has(> [hidden]) {
  display: none;
}
@media screen and (min-width: 768px) {
  .news-list__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 992px) {
  .news-list {
    padding-bottom: 7rem;
  }
  .news-list__toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
  }
  .news-list__search {
    flex: 0 0 280px;
  }
  .news-list__grid {
    margin-bottom: 3rem;
  }
  .news-list__featured {
    margin-bottom: 5rem;
  }
  .-featured .news-list__card {
    flex-direction: row;
    align-items: stretch;
  }
  .-featured .news-list__photo {
    flex: 0 0 48%;
    height: auto;
  }
  .-featured .news-list__photo img {
    height: 100%;
    aspect-ratio: auto;
  }
  .-featured .news-list__body {
    justify-content: center;
    padding: 2.5rem 3rem;
  }
  .-featured .news-list__title {
    --font-size: 30px;
    --font-size-rem: 1.875rem;
    --line-height: 40px;
    --line-height-rem: 2.5rem;
    font-size: var(--font-size-rem);
    line-height: var(--line-height-rem);
  }
  .-featured .news-list__excerpt {
    --font-size: 16px;
    --font-size-rem: 1rem;
    --line-height: 26px;
    --line-height-rem: 1.625rem;
    font-size: var(--font-size-rem);
    line-height: var(--line-height-rem);
  }
}
@media (hover: hover) {
  .news-list__card:hover {
    box-shadow: 0 20px 28px -12px rgba(0, 0, 0, 0.14);
  }
  .news-list__card:hover .news-list__photo img {
    transform: scale(1.05);
  }
  .-featured .news-list__card:hover {
    box-shadow: none;
  }
}