/* =============================================================================
   Images Styles — F1 Gokken Pillar Page
   ============================================================================= */

/* Hero Image */
.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
    .hero-image {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }
}

/* Article Images */
.article-image {
    margin: 2.5rem 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

@media (prefers-color-scheme: dark) {
    .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);
    }
}

.article-image figcaption {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    color: var(--color-text-secondary, #666666);
    margin-top: 12px;
    text-align: center;
    font-style: italic;
    line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
    .article-image figcaption {
        color: var(--color-text-secondary, #A0A0A0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-image {
        margin: 2rem 0;
    }
    
    .article-image img {
        border-radius: 4px;
    }
    
    .article-image figcaption {
        font-size: 13px;
        padding: 0 8px;
    }
}

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