/* ============================================
   IMAGE & FIGURE STYLES
   ============================================ */

/* Hero figure: full width within hero container, no caption */
.hero-figure {
  position: relative;
  z-index: 1;
  max-width: var(--content-width, 720px);
  margin: 2rem auto 2.5rem;
  padding: 0;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
  background: var(--bg-surface, #f5f5f5);
}

/* Content figures inside article sections */
.content-figure {
  margin: 2rem 0;
  padding: 0;
  max-width: 100%;
}

.content-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
  background: var(--bg-surface, #f5f5f5);
}

.content-figure figcaption {
  margin-top: 0.85rem;
  padding: 0 0.25rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary, #4b5563);
  font-style: italic;
  border-left: 3px solid var(--accent, #1673b5);
  padding-left: 0.85rem;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .hero-figure {
    margin: 1.5rem auto 2rem;
  }

  .content-figure {
    margin: 1.5rem 0;
  }

  .content-figure figcaption {
    font-size: 0.8rem;
    padding-left: 0.7rem;
  }
}
