/* ========================================
   IMAGES STYLES - OctaStake
   ======================================== */

/* Hero Image */
[data-content="hero"] figure {
    position: relative;
    z-index: 1;
    max-width: var(--content-width);
    margin: 0 auto 2rem;
}

[data-content="hero"] figure img {
    width: 100%;
    height: auto;
        width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Content Images */
article figure {
    margin: 2rem 0;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    [data-content="hero"] figure {
        margin: 0 -1rem 1.5rem;
        max-width: calc(100% + 2rem);
    }
    
    [data-content="hero"] figure img {
        border-radius: 0;
    }
    
    article figure {
        margin: 1.5rem 0;
    }
    
    article figure img {
        border-radius: 6px;
    }
    
    article figcaption {
        font-size: 0.8rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    article figure img {
        border-radius: 4px;
    }
    
    article figcaption {
        font-size: 0.75rem;
    }
}
