/* ===========================================
   IMAGES STYLES - GridBet NFL Betting Guide
   =========================================== */

/* Base figure styling */
figure {
    margin: 2rem 0;
    padding: 0;
}

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

figcaption {
    font-size: 0.875rem;
    color: #525252;
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* Hero image specific styling */
.hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

[data-content="hero"] figure {
    margin: 0 0 1.5rem 0;
}

/* Content section images */
[data-content] figure {
    margin: 2rem 0;
}

[data-content] figure img {
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

[data-content] figure img:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.12);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    figure {
        margin: 1.5rem 0;
    }
    
    figure img {
        border-radius: 6px;
    }
    
    .hero-image {
        border-radius: 8px;
    }
    
    figcaption {
        font-size: 0.8125rem;
        padding: 0 0.5rem;
    }
}

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