/* ===== News archive (Figma 391:364) — the header reuses the shared .hero ===== */
.news {
  font-family: "Inter", sans-serif;
}

/* ----- Body / toolbar ----- */
.news-body {
  padding: 0 0 80px;
}
.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 40px 0 28px;
}
.news-search {
  position: relative;
  flex: 1 1 320px;
  max-width: 520px;
}
.news-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #87878d;
  pointer-events: none;
}
.news-search input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border: 1px solid #e6e4e0;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #0f0f10;
}
.news-search input::placeholder {
  color: #87878d;
}
.news-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-sort__label {
  font-size: 14px;
  color: #424248;
}
.news-sort__field {
  position: relative;
}
.news-sort__select {
  appearance: none;
  -webkit-appearance: none;
  padding: 11px 38px 11px 18px;
  border: 1px solid #e6e4e0;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #0f0f10;
  cursor: pointer;
}
.news-sort__chev {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #0f0f10;
  pointer-events: none;
}

/* ----- Grid + cards ----- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.news-grid.is-loading {
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e6e4e0;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.news-card:hover {
  border-color: #d8d4cf;
  box-shadow: 0 8px 28px rgba(15, 15, 16, 0.06);
}
.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
/* Whole card is clickable via the title link (stretched over the card). */
.news-card__title-link {
  color: inherit;
  text-decoration: none;
}
.news-card__title-link::after {
  content: "";
  position: absolute;
  inset: 0;
}
/* The category link stays clickable above the stretched title link. */
.news-meta__cat {
  position: relative;
  z-index: 1;
}
.news-card__more {
  margin-top: auto;
  padding-top: 40px;
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.news-meta__cat {
  color: #c00;
  font-weight: 700;
  text-decoration: none;
}
.news-meta__by {
  color: #87878d;
}
.news-card__title {
  margin: 0 0 12px;
  color: #0f0f10;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.2px;
}
.news-card__excerpt {
  margin: 0;
  color: #424248;
  font-size: 14px;
  line-height: 20.93px;
  letter-spacing: -0.08px;
}
.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c00;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.08px;
}
.news-card__more svg {
  transition: transform 0.2s ease;
}
.news-card:hover .news-card__more svg {
  transform: translateX(3px);
}

/* ----- Load more ----- */
.news-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.news-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid #e6e4e0;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #0f0f10;
  cursor: pointer;
  transition: 0.2s;
}
.news-more__btn:hover {
  border-color: #c00;
  color: #c00;
}
.news-more__btn.is-loading {
  opacity: 0.6;
  cursor: progress;
}
.news-empty {
  color: #424248;
  font-size: 16px;
}

@media (max-width: 991px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .news-search {
    max-width: none;
  }
}
