/* ========================================
   IMAGES STYLES - ApostaVantagem
   Styling for article images and figures
======================================== */

/* Article Images */
.article-image {
    margin: var(--space-xl) 0;
    border-radius: var(--radius);
    overflow: hidden;
}

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

.article-image img:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

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

/* Hero Image - already styled in main CSS, but ensure consistency */
[data-content="hero"] figure img {
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-image {
        margin: var(--space-lg) calc(-1 * var(--space-md));
        border-radius: 0;
    }
    
    .article-image img {
        border-radius: 0;
    }
    
    .article-image figcaption {
        padding: 0 var(--space-lg);
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .article-image figcaption {
        font-size: 0.75rem;
    }
}
