/* ── Gallery section (list pages: home, commandes) ──────── */

.gallery-section-row {
    min-height: 65vh;
}

.gallery-section-empty {
    height: 65vh;
}

.gallery-section-title {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.gallery-section-description {
    text-align: justify;
}

.gallery-section-year {
    color: var(--bs-primary);
    font-size: 0.85rem;
}

/* ── Splide slider ───────────────────────────────────────── */

.gallery-section .gallery-hero-splide .splide__track {
    height: 65vh;
}

.gallery-section .gallery-hero-splide .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-section .gallery-hero-splide .splide__slide img {
    height: 65vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* ── Arrows: large pink circle ───────────────────────────── */

.gallery-section .splide__arrow {
    background: transparent;
    border: 2px solid var(--bs-secondary);
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    opacity: 1;
    transition: background 0.2s, border-color 0.2s;
}

.gallery-section .splide__arrow--prev { left: 1rem; }
.gallery-section .splide__arrow--next { right: 1rem; }

.gallery-section .splide__arrow:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.gallery-section .splide__arrow svg {
    fill: var(--bs-secondary);
    width: 1.1rem;
    height: 1.1rem;
}

.gallery-section .splide__arrow:hover svg {
    fill: #fff;
}


/* ── Gallery list carousel (non-featured galleries) ──────── */

.gallery-list-section {
    overflow: hidden;
}

.gallery-list-heading {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--bs-primary);
    text-align: center;
}

.gallery-list-splide {
    padding: 0 3rem;
}

.gallery-list-splide .splide__arrow--prev { left: 0; }
.gallery-list-splide .splide__arrow--next { right: 0; }

.gallery-list-splide .splide__arrow {
    background: transparent;
    border: 2px solid var(--bs-secondary);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    opacity: 1;
    transition: background 0.2s, border-color 0.2s;
}

.gallery-list-splide .splide__arrow svg {
    fill: var(--bs-primary);
}

.gallery-list-splide .splide__arrow:hover {
    background: var(--bs-primary);
}

.gallery-list-splide .splide__arrow:hover svg {
    fill: #fff;
}

.gallery-list-slide {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
}

.gallery-list-slide-title,
.gallery-list-slide-year {
    display: block;
    text-align: center;
    color: var(--bs-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    padding: 0.4rem 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    min-height: 1.5rem;
}

.gallery-list-slide:hover .gallery-list-slide-title,
.gallery-list-slide:hover .gallery-list-slide-year {
    opacity: 1;
}

.gallery-list-slide-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.gallery-list-slide-empty {
    background: #f0f0f0;
}
