/* ========================================
   Images Styles — Hockey heute Pillar
   ======================================== */

/* Hero image — already styled in main CSS via .hero-image */

/* Article images inside <figure> */
figure {
  margin: 2em 0;
  max-width: 100%;
}

figure .article-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.10);
  transition: box-shadow 0.3s ease;
}

figure .article-image:hover {
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.15);
}

figcaption {
  text-align: center;
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 0.6em;
  line-height: 1.4;
  font-style: italic;
}

/* Hero figure override */
[data-content="hero-live-banner"] figure {
  margin: 2rem auto 0;
  max-width: 100%;
}

[data-content="hero-live-banner"] .hero-image {
  width: 1200px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  figure .article-image {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }

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

  figcaption {
    color: #94A3B8;
  }

  [data-content="hero-live-banner"] .hero-image {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  figure {
    margin: 1.5em 0;
  }

  figure .article-image {
    border-radius: 4px;
  }

  figcaption {
    font-size: 0.7rem;
    padding: 0 0.5em;
  }
}
