.news-section { border-bottom: 1px solid var(--hairline); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.4vw, 3.25rem);
  margin-top: clamp(1.5rem, 3.2vw, 3rem);
}

.news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 1rem;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: start;
}

.news-card:focus-visible { outline-offset: 4px; }

.news-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: var(--surface);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.news-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: .375rem;
}

.news-topic { color: var(--muted); font-size: .8125rem; }

.news-title, .news-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.news-title {
  -webkit-line-clamp: 3;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
}

.news-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .625rem;
}

.news-arrow { margin-top: .125rem; }

.news-summary {
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: .9375rem;
}

@media (hover: hover) {
  .news-card:hover .news-title { text-decoration: underline; text-decoration-thickness: 1px; }
  .news-card:hover img { transform: scale(1.03); }
}

.news-dialog-content { padding: clamp(1rem, 4vw, 2rem); }

.news-dialog-content img {
  width: 100%;
  height: min(43dvh, 22rem);
  object-fit: contain;
  background: var(--surface);
}

.news-dialog-content p {
  max-width: 62ch;
  margin-top: 1.25rem;
  color: var(--muted);
}

.news-dialog .dialog-header h2 { overflow-wrap: anywhere; }

@media (max-width: 650px) {
  .news-grid { grid-template-columns: 1fr; }
}
