/* images-styles.css - Styles for article images */

/* Hero image - full width above content */
.hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: var(--radius-lg);
    margin-top: var(--space-6);
}

/* Article figures */
article figure {
    margin: var(--space-8) 0;
    padding: 0;
}

article figure img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    margin: 0 auto;
    background-color: var(--color-surface);
}

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

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

@media (max-width: 480px) {
    article figure {
        margin: var(--space-4) 0;
    }
    
    article figure figcaption {
        font-size: 0.75rem;
    }
}
