/* ============================================
   IMAGE STYLES
   ============================================ */

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

[data-content="hero"] figure {
    max-width: 1000px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 1;
}

[data-content="hero"] figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: 0.75rem;
}

/* Article Images */
.article-image {
    margin: 2.5rem 0;
    text-align: center;
}

.article-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-image img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.article-image figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: 0.75rem;
    font-style: italic;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .hero-image {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    }
    
    .article-image img {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .article-image img:hover {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    }
}

/* Light mode adjustments */
@media (prefers-color-scheme: light) {
    .hero-image {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .article-image {
        margin: 2rem 0;
    }
    
    [data-content="hero"] figure {
        margin: 1.5rem auto 0;
    }
}

@media (max-width: 480px) {
    .hero-image,
    .article-image img {
        border-radius: 4px;
    }
    
    .article-image {
        margin: 1.5rem 0;
    }
}
