/**
 * Horizontal Image Gallery Styles
 */

.single-hero-gallery-wrapper {
    margin-top: var(--space-4);
    margin-bottom: var(--space-8);
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: var(--space-4) 0;
}

.gallery-scroll-container {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-bottom: var(--space-4);
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.gallery-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lg), var(--glow-purple);
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 240px;
    }
}
