/* Images Styles - BundesWetten */

/* Article Images */
article figure {
  margin: var(--space-xl) 0;
  max-width: 100%;
}

article figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

article figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  padding: 0 var(--space-md);
  line-height: 1.5;
}

/* Hero Figure Override */
.hero-figure {
  margin: var(--space-xl) auto;
  max-width: var(--content-width);
  padding: 0 var(--space-lg);
}

.hero-figure img {
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Responsive Images */
@media (max-width: 768px) {
  article figure {
    margin: var(--space-lg) 0;
  }
  
  article figure img {
    border-radius: 4px;
  }
  
  article figcaption {
    font-size: 0.8125rem;
    padding: 0;
  }
  
  .hero-figure {
    padding: 0 var(--space-md);
  }
}
