/* ===========================================
   Images Styles — Apuestas Tenis ATP
   =========================================== */

/* ---- Hero Image ---- */
.hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* ---- Article Images ---- */
.article-figure {
  margin: 2em 0;
  max-width: 100%;
}

.article-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}

.article-image:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.article-figure figcaption {
  text-align: center;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--color-text-secondary, #616161);
  margin-top: 0.5em;
  line-height: 1.5;
}

/* ---- Dark Mode ---- */
@media (prefers-color-scheme: dark) {
  .hero-image {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  }

  .article-image {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  }

  .article-image:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  }

  .article-figure figcaption {
    color: var(--color-text-secondary, #A0A0A0);
  }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .article-figure {
    margin: 1.5em 0;
  }

  .hero-image {
    border-radius: 4px;
  }
}
