/* ============================================================
   Cards shared by the homepage and the product pages.
   ============================================================ */

/* Question cards — the "any of the study's data" claim, made concrete.
   Each card is tagged with the dataset the question touches. */
.q-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.q-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 879px) {
  .q-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  .q-grid,
  .q-grid--three {
    grid-template-columns: minmax(0, 1fr);
  }
}

.q-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.q-grid--three .q-card {
  padding: 15px 17px;
  gap: 9px;
}

.q-tag {
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.q-text {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.4;
}

.q-grid--three .q-text {
  font-size: 0.92rem;
}

/* Highlight cards — the overnight briefing. Supporting content, not the
   headline: the severity pill reuses the platform's own severity ramp. */
.hl-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hl-head {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.hl-title {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}

.hl-body {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.hl-open {
  font-size: 0.76rem;
  color: var(--accent);
  border-top: 1px solid var(--border-subtle);
  padding-top: 9px;
}
