/* Images Styles - GridStake */

/* Hero Image */
[data-content="hero"] figure {
    margin: var(--space-8) 0;
    max-width: 100%;
}

[data-content="hero"] .hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Content Images */
article figure {
    margin: var(--space-8) 0;
    max-width: 100%;
}

article figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid var(--border-subtle);
    transition: box-shadow 0.3s ease;
}

article figure img:hover {
    box-shadow: 0 4px 20px rgba(229, 42, 25, 0.15);
}

article figcaption {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-3);
    padding: 0 var(--space-4);
    font-style: italic;
}

/* Responsive Images */
@media (max-width: 768px) {
    [data-content="hero"] .hero-image {
        border-radius: 0.5rem;
    }
    
    article figure {
        margin: var(--space-6) 0;
    }
    
    article figure img {
        border-radius: 0.5rem;
    }
    
    article figcaption {
        font-size: var(--text-xs);
        padding: 0 var(--space-2);
    }
}

@media (max-width: 480px) {
    [data-content="hero"] figure {
        margin: var(--space-6) calc(-1 * var(--space-4));
    }
    
    [data-content="hero"] .hero-image {
        border-radius: 0;
    }
    
    article figure {
        margin: var(--space-5) 0;
    }
}
