/* ========================================
   Images Styles - Sweepstakes Casino Guide
   ======================================== */

/* Article Images - General Styling */
.article-image {
  margin: 2rem auto;
  max-width: 100%;
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-image img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.article-image figcaption {
  text-align: center;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  color: #6B7280;
  margin-top: 0.75rem;
  line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
  .article-image figcaption {
    color: #9CA3AF;
  }
  
  .article-image img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .article-image img:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }
}

/* Hero Image - Full Width */
.hero-image {
  margin: 2rem 0 0 0;
  max-width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.hero-image figcaption {
  text-align: center;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  color: #6B7280;
  margin-top: 1rem;
  font-style: italic;
}

@media (prefers-color-scheme: dark) {
  .hero-image figcaption {
    color: #9CA3AF;
  }
  
  .hero-image img {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  }
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .article-image {
    margin: 1.5rem auto;
  }
  
  .article-image img {
    border-radius: 6px;
  }
  
  .hero-image img {
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .article-image {
    margin: 1rem auto;
  }
  
  .article-image img,
  .hero-image img {
    border-radius: 4px;
  }
  
  .article-image figcaption,
  .hero-image figcaption {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}
