/* Images Styles for Football Betting Guide */

.hero-image {
    width: 100%;
    max-width: var(--wide-width, 90ch);
    margin: 0 auto var(--space-3xl, 3rem);
    border-radius: var(--radius-xl, 20px);
    overflow: hidden;
    box-shadow: var(--shadow-lg, 0 8px 32px rgba(0, 0, 0, 0.5)), var(--shadow-glow, 0 0 40px rgba(35, 140, 78, 0.2));
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-primary, #0a0f0d), transparent 40%);
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 21/9;
    object-fit: cover;
}

.article-image {
    margin: var(--space-2xl, 2rem) 0;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.4));
    max-width: var(--content-width, 72ch);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Light theme adjustments */
@media (prefers-color-scheme: light) {
    .hero-image::after {
        background: linear-gradient(to top, var(--color-bg-primary, #f4f7f5), transparent 40%);
    }
    
    .hero-image {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 40px rgba(35, 140, 78, 0.1);
    }
    
    .article-image {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-image {
        margin-bottom: var(--space-2xl, 2rem);
        border-radius: var(--radius-lg, 12px);
    }
    
    .article-image {
        margin: var(--space-xl, 1.5rem) 0;
        border-radius: var(--radius-md, 8px);
    }
}

/* Footer styles */
.footer-content {
    max-width: var(--wide-width, 90ch);
    margin: 0 auto;
    padding: var(--space-lg, 1.5rem);
    text-align: center;
}

.footer-content p {
    font-size: 0.875rem;
    color: var(--color-text-muted, #5a7268);
    line-height: 1.6;
    max-width: none;
}

.footer-content strong {
    color: var(--color-text-secondary, #9fb3a8);
}

/* Print styles */
@media print {
    .hero-image,
    .article-image {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .hero-image::after {
        display: none;
    }
    
    .footer-content {
        border-top: 1px solid #ccc;
    }
}
