/*
 * Latest Insights block (wpta/insights-teaser): a card for each of the three newest articles. Each card is a fixed
 * third of the row, so one or two articles keep their size and leave room for the next, rather than stretching
 * across the page. Stacked on phones.
 */

.insights-teaser {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 700px) {
  .insights-teaser {
    grid-template-columns: minmax(0, 1fr);
  }
}

.insights-teaser__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.insights-teaser__card:hover,
.insights-teaser__card:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(21, 89, 82, 0.1);
}

/* The label, such as "April 2026 update", as a small teal pill */

.insights-teaser__label {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal-darker);
  font-size: 12px;
  font-weight: 600;
}

.insights-teaser__title {
  color: #0d3d39;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.insights-teaser__excerpt {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.insights-teaser__meta {
  margin-top: auto;
  color: var(--text-muted);
  font-size: 13px;
}
