/* images-styles.css — Image styles for pillar page */

/* Hero image */
.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Article images */
.article-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Figure containers within sections */
[data-content] figure {
  margin: 2em auto;
  max-width: 100%;
}

[data-content] figure figcaption {
  font-size: 14px;
  line-height: 1.43;
  color: var(--color-text-secondary, #666666);
  text-align: center;
  margin-top: 0.75em;
}

/* Hero figure — full width within container */
[data-content="hero"] figure {
  max-width: 1100px;
  margin: 0 auto;
}

[data-content="hero"] figure figcaption {
  padding: 0 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  [data-content] figure {
    margin: 1.5em auto;
  }

  [data-content] figure figcaption {
    font-size: 13px;
    padding: 0 4px;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  [data-content] figure figcaption {
    color: var(--color-text-secondary, #999999);
  }
}
