/* =============================================
   Images Styles — Snooker Wedden Pillar
   ============================================= */

/* Hero image */
[data-content="hero"] figure {
  margin-top: 0;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background-color: var(--color-surface, #F2F2EE);
}

/* Article images */
.article-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background-color: var(--color-surface, #F2F2EE);
}

/* Figure containers inside sections */
[data-content] figure {
  margin: 2.5em 0;
  max-width: 100%;
}

[data-content] figure figcaption {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 14px;
  color: var(--color-text-secondary, #5A5A5A);
  text-align: center;
  margin-top: 0.75em;
  font-style: italic;
  line-height: 1.5;
}

/* Dark theme adjustments */
@media (prefers-color-scheme: dark) {
  .hero-image,
  .article-image {
    background-color: var(--color-surface, #1E1E1C);
  }

  [data-content] figure figcaption {
    color: var(--color-text-secondary, #A0A09A);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  [data-content] figure {
    margin: 2em 0;
  }
}
