.language-custom-carousel-wrap {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 44px; /* room for the nav buttons */
    box-sizing: border-box;
}

.language-custom-carousel {
    width: 100%;
    overflow: hidden;
}

/* Fallback BEFORE Swiper initializes (or if JS fails to load):
   lay slides out in a row instead of stacking, so it never looks broken. */
.language-custom-carousel .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
}

.language-custom-carousel .swiper-slide {
    text-align: center;
    flex-shrink: 0;
}

.language-custom-carousel .swiper-slide a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.swiper.language-custom-carousel h3 {
    color: #939393 !important;
    font-family: "Oswald", Sans-serif !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    line-height: 1.2em !important;
    letter-spacing: 1px !important;
    margin-top: 0px !important;
    margin-bottom:30px !important;
}
.language-custom-carousel .swiper-slide h3 {
    min-height: 29px !important;
}
.swiper.language-custom-carousel .is-active-lang h3{
    color:#ffca00 !important;
}
.language-custom-carousel .swiper-slide.is-active-lang img{
    border-radius:0px !important;
}
/* Label ABOVE the image */
.language-custom-carousel .swiper-slide h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}
.language-custom-carousel {
    padding: 15px;
}
div#ulv-viewer-column {
    margin: 0 auto;
}
.language-custom-carousel .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Highlight the slide matching the current site language */
.language-custom-carousel .swiper-slide.is-active-lang img {
    box-shadow: 0 0 0 3px #FFCA00;
}
button.lc-nav {
    background: #ecbb00;
    color: black;
}
/* Nav buttons */
.lc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-nav-prev { left: 0; }
.lc-nav-next { right: 0; }

.language-custom-carousel-wrap:has(.language-custom-carousel[dir="rtl"]) .lc-nav-prev {
    left: auto;
    right: 0;
}
.language-custom-carousel-wrap:has(.language-custom-carousel[dir="rtl"]) .lc-nav-next {
    right: auto;
    left: 0;
}
.language-custom-carousel .swiper-slide a {
    transition: all 0.3s ease;
}

.language-custom-carousel .swiper-slide a:hover{
    opacity:1 !important;
    transform:scale(1.05);
}
/* ===== Desktop: 5 slides per view ===== */
@media (min-width: 782px) {
    .language-custom-carousel .swiper-slide {
        width: calc((100% - 4 * 20px) / 5);
        
    }
}

/* ===== Mobile: 1 slide per view ===== */
@media (max-width: 781px) {
    .language-custom-carousel-wrap {
        padding: 0 40px;
    }
    .language-custom-carousel .swiper-slide {
        width: 100%;
    }
}