/* ==========================================================================
   News & updates page — Figma frame 204:3153. Section-by-section, pixel-matched.
   New classes are prefixed `news-` / `project-` to avoid clashing with
   home.css (.latest-news). Reuses shared .card / .tag / .filter-tab /
   .pagination / .eyebrow / .container.
   ========================================================================== */

/* ---- Featured (204:3162) ------------------------------------------------- */
.news-featured { background: #fff; padding-block: 80px 40px; }
.news-featured .eyebrow { display: flex; margin-bottom: 24px; }
.news-featured__card {
  display: flex;
  align-items: center;
  min-height: 456px;
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.news-featured__media {
  flex: 0 0 560px;
  height: 380px;
  background: var(--blue-100);
  position: relative;
}
.news-featured__media img,
.news-featured__media .img-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-featured__body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 40px 48px;
}
.news-featured__body > * { margin: 0; }
.news-featured__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
}
.news-featured__title a { color: var(--blue-700); text-decoration: none; }
.news-featured__title a:hover { color: var(--blue-900); }
.news-featured__excerpt { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--secondary); }
.news-featured__meta { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--secondary); white-space: pre-wrap; }
.news-featured__cta { --btn-h: 46px; padding: 0 26px; }
@media (max-width: 900px) {
  .news-featured__card { flex-direction: column; align-items: stretch; min-height: 0; }
  .news-featured__media { flex: 0 0 auto; height: auto; aspect-ratio: 560 / 380; }
  .news-featured__body { padding: 32px; }
}

/* ---- News grid + toolbar (204:3175) -------------------------------------- */
.news-grid { padding-block: 48px 88px; }
.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.news-toolbar .search-box { width: 240px; min-width: 0; height: 44px; min-height: 0; padding: 0 16px; }
.news-toolbar .search-box input::placeholder { color: var(--secondary); opacity: 1; }
.news-toolbar .search-box svg { color: var(--secondary); width: 14px; height: 14px; }
.news-grid__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.news-grid .card { min-height: 470px; }
.news-grid .card__foot { padding-top: 10px; }
.news-grid .pagination { margin-top: 32px; }
.news-grid .pagination .is-disabled { color: var(--secondary); opacity: .5; }
@media (max-width: 900px) { .news-grid__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .news-grid__grid { grid-template-columns: 1fr; }
  .news-grid .card { min-height: 0; }
  .news-toolbar .search-box { width: 100%; }
}

/* ---- Current projects (204:3207) ----------------------------------------- */
.news-projects { padding-block: 100px; }
.news-projects .section-head { max-width: none; margin-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.news-projects .section-head > * { margin: 0; }
.news-projects .section-head p { max-width: 760px; }
.news-projects .eyebrow { display: flex; }
.news-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: var(--r-card-sm);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.project-card > * { margin: 0; }
.project-card__status {
  display: inline-flex;
  align-items: center;
  height: 29px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--blue-700);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  line-height: 17px;
}
.project-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  letter-spacing: 0;
  color: var(--blue-700);
}
.project-card__text { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--secondary); }
.project-card__link {
  font-weight: 600;
  font-size: var(--fs-button);
  line-height: var(--lh-button);
  color: var(--ink);
  text-decoration: none;
}
.project-card__link:hover { color: var(--blue-700); }
@media (max-width: 900px) { .news-projects__grid { grid-template-columns: 1fr; } }
