/**
 * AI Content Generator - Image Gallery Styles
 *
 * @package AI_Content_Generator
 */

/* Image gallery container */
.ai-content-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

/* Individual image figure */
.ai-content-image {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ai-content-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ai-content-image:hover img {
    transform: scale(1.05);
}

/* Image caption with attribution */
.ai-content-image figcaption {
    padding: 10px 12px;
    background: #f8f9fa;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

.ai-content-image figcaption a {
    color: #0066cc;
    text-decoration: none;
}

.ai-content-image figcaption a:hover {
    text-decoration: underline;
}

/* Responsive: single column on mobile */
@media screen and (max-width: 600px) {
    .ai-content-gallery {
        grid-template-columns: 1fr;
    }

    .ai-content-image img {
        height: 180px;
    }
}

/* Larger images on wider screens */
@media screen and (min-width: 1024px) {
    .ai-content-image img {
        height: 250px;
    }
}
