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

/* Content images */
article figure {
    margin: 2rem 0;
    max-width: 100%;
}

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

article figure figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    font-style: italic;
    line-height: 1.5;
}

/* Hero image specific - already styled in main CSS but reinforce */
.hero-image {
    margin: 0 auto;
    max-width: 100%;
}

.hero-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    article figure {
        margin: 1.5rem 0;
    }

    article figure img {
        border-radius: 6px;
    }

    article figure figcaption {
        font-size: 0.8125rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    article figure {
        margin: 1.25rem 0;
    }

    article figure img {
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    article figure figcaption {
        font-size: 0.75rem;
    }
}
