/* Images Styles - Paris Tennis Guide */

/* Hero image figure wrapper - extends design.html .hero-image */
.hero-image {
      margin-left: 0;
  margin-right: 0;
    margin-top: 0;
    margin-bottom: var(--space-lg, 2.5rem);
    position: relative;
    overflow: hidden;


}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        var(--color-bg, #fafaf8) 100%
    );
    pointer-events: none;
}

/* Article images - extends design.html .article-image */
.article-image {
    margin: var(--space-lg, 2.5rem) 0;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--color-shadow-strong, rgba(26, 42, 58, 0.15));
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--color-shadow-strong, rgba(26, 42, 58, 0.15));
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-image {
        aspect-ratio: 16/9;
       
    }
    
    .article-image {
        margin: var(--space-md, 1.5rem) 0;
        border-radius: var(--radius-md, 8px);
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .hero-image::after {
        background: linear-gradient(
            to bottom,
            transparent 50%,
            var(--color-bg, #141a22) 100%
        );
    }
    
    .article-image {
        box-shadow: 0 8px 30px var(--color-shadow-strong, rgba(0, 0, 0, 0.5));
    }
    
    .article-image:hover {
        box-shadow: 0 12px 40px var(--color-shadow-strong, rgba(0, 0, 0, 0.5));
    }
}

/* Print styles */
@media print {
    .hero-image,
    .article-image {
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .hero-image::after {
        display: none;
    }
}
