/* =========================================================
   Article images CSS — figures inside data-content sections
   The hero image already has its own .hero-image styling in design.
   ========================================================= */

figure.article-figure {
  margin: 2.5rem auto;
  max-width: 100%;
  text-align: center;
}

figure.article-figure img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg, 8px);
  box-shadow: 0 4px 12px rgba(15, 20, 17, 0.06), 0 2px 4px rgba(15, 20, 17, 0.04);
  background-color: var(--surface, #f5f7f6);
}

figure.article-figure figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted-text, #5b6661);
  line-height: 1.5;
  text-align: center;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.5rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  figure.article-figure {
    margin: 1.75rem auto;
  }
  figure.article-figure figcaption {
    font-size: 0.825rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  figure.article-figure img {
    border-radius: var(--radius, 4px);
  }
}

/* Print: hide article figures to save ink, keep figcaption as text */
@media print {
  figure.article-figure img {
    display: none;
  }
  figure.article-figure figcaption {
    font-style: normal;
    color: #000;
  }
}
