.problem-figure {
  margin: 1.2rem 0;
  text-align: center;
}

.problem-figure img {
  width: min(100%, 520px);
  height: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface-soft);
}

.problem-figure figcaption {
  max-width: 620px;
  margin: 0.55rem auto 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.problem-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.problem-summary-card {
  padding: 1.05rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
}

.problem-summary-card strong {
  display: block;
  margin-bottom: 0.4rem;
}

.problem-summary-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .problem-summary-grid {
    grid-template-columns: 1fr;
  }
}
