/* Rugby World Cup Betting - Image Styles */

.hero-image {
    width: 100%;
    margin: 0 0 var(--space-md, 2rem);
    padding: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg, 1rem);
    box-shadow: 0 4px 20px var(--color-shadow, rgba(0, 0, 0, 0.08)), 
                0 8px 40px var(--color-shadow, rgba(0, 0, 0, 0.08));
    display: block;
}

.article-image {
    margin: var(--space-md, 2rem) 0;
    padding: 0;
    text-align: center;
}

.article-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md, 0.5rem);
    box-shadow: 0 2px 12px var(--color-shadow, rgba(0, 0, 0, 0.08));
    transition: transform var(--transition-base, 250ms ease), 
                box-shadow var(--transition-base, 250ms ease);
    display: block;
}

.article-image img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-shadow-strong, rgba(0, 0, 0, 0.12));
}

figure.hero-image,
figure.article-image {
    display: block;
}

@media (max-width: 768px) {
    .hero-image {
        margin: 0 0 1.5rem;
    }
    
    .article-image {
        margin: 1.5rem 0;
    }
    
    .hero-image img,
    .article-image img {
        border-radius: 0.5rem;
    }
}

@media (prefers-color-scheme: dark) {
    .hero-image img,
    .article-image img {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .article-image img:hover {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    }
}

@media print {
    .hero-image img,
    .article-image img {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}