/* ============================================================================
 * Component: photo-gallery — Splide-powered carousel.
 * ========================================================================= */

.rc-comp-gallery {
    padding: 56px 16px;
    background: #FFFBF5;
    color: #1A1F26;
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
}
.rc-comp-gallery *,
.rc-comp-gallery *::before,
.rc-comp-gallery *::after { box-sizing: border-box; }

.rc-comp-gallery-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.rc-comp-gallery-eyebrow {
    display: inline-block;
    font-family: 'Plakkaat', 'ProximaNova', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #00A356;
    background: #E6F9F0;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.rc-comp-gallery-h2 {
    font-family: 'ProximaNova', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -0.015em;
}
.rc-comp-gallery-lead {
    font-size: 17px;
    color: #555E6B;
    margin: 0;
    line-height: 1.55;
}

.rc-comp-gallery-splide {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
.rc-comp-gallery-splide .splide__slide {
    aspect-ratio: 4 / 3;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
}
.rc-comp-gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Splide arrow + pagination brand overrides */
.rc-comp-gallery-splide .splide__arrow {
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15,23,42,0.12);
    border: 1px solid #DEE2E8;
    width: 44px;
    height: 44px;
    opacity: 1;
}
.rc-comp-gallery-splide .splide__arrow svg { fill: #1A1F26; transition: fill .15s ease; }
.rc-comp-gallery-splide .splide__arrow:hover { background: #00BF63; border-color: #00BF63; }
.rc-comp-gallery-splide .splide__arrow:hover svg { fill: #FFFFFF; }
.rc-comp-gallery-splide .splide__arrow:disabled { opacity: 0.45; }
.rc-comp-gallery-splide .splide__arrow--prev { left: -4px; }
.rc-comp-gallery-splide .splide__arrow--next { right: -4px; }

.rc-comp-gallery-splide .splide__pagination { bottom: -28px; }
.rc-comp-gallery-splide .splide__pagination__page {
    background: #DEE2E8;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    transition: transform .15s ease, background .15s ease;
}
.rc-comp-gallery-splide .splide__pagination__page.is-active {
    background: #00BF63;
    transform: scale(1.3);
}

@media (min-width: 600px) {
    .rc-comp-gallery-splide { padding: 0 48px; }
}
@media (min-width: 768px) {
    .rc-comp-gallery { padding: 80px 32px; }
    .rc-comp-gallery-h2 { font-size: 36px; }
    .rc-comp-gallery-splide { padding: 0 56px; }
}
