/* images-styles.css — styling for images and figures
   Matches the dark data-dashboard palette of the site. */

/* ---------- Hero image ---------- */
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 2rem 0 0;
  border-radius: var(--radius, 8px);
  border: 1px solid var(--border, #1f2937);
  background: var(--surface, #161a23);
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.hero figure {
  margin: 0;
  padding: 0;
}

/* ---------- Content figures ---------- */
.content-figure {
  margin: 2.25rem auto;
  padding: 0;
  max-width: 100%;
  display: block;
}

.content-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius, 8px);
  border: 1px solid var(--border, #1f2937);
  background: var(--surface, #161a23);
  aspect-ratio: 1200 / 675;
  object-fit: cover;
}

.content-figure figcaption {
  margin-top: 0.85rem;
  padding: 0 0.25rem;
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted, #9ca3af);
  font-style: italic;
  text-align: left;
  border-left: 2px solid var(--accent, #25b08d);
  padding-left: 0.85rem;
}

/* ---------- Mobile adjustments ---------- */
@media (max-width: 720px) {
  .hero-image {
    margin-top: 1.5rem;
  }
  .content-figure {
    margin: 1.75rem auto;
  }
  .content-figure figcaption {
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .content-figure img,
  .hero-image {
    border-radius: 6px;
  }
  .content-figure figcaption {
    padding-left: 0.7rem;
  }
}

/* ---------- Header logo ---------- */
header img {
  display: block;
  height: auto;
  max-width: 100%;
}
