:root {
    --blc-grayscale: 100%;
    --blc-hover-scale: 1.05;
    --blc-transition: 300ms;
}

.blc-4ce2cf2a-wrapper {
    padding: 20px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.blc-4ce2cf2a-swiper {
    width: 100%;
    height: 100%;
    padding: 10px 0 30px; /* added bottom padding for scrollbar */
}

.blc-4ce2cf2a-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
}

.blc-4ce2cf2a-link {
    display: block;
    width: 100%;
    outline: none;
}

.blc-4ce2cf2a-link:focus-visible {
    outline: 2px solid #0056b3;
    outline-offset: 4px;
    border-radius: 4px;
}

.blc-4ce2cf2a-item img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    transition: all var(--blc-transition) ease-in-out;
}

/* Grayscale effect applied only if enabled */
.blc-4ce2cf2a-effect-yes .blc-4ce2cf2a-item img {
    filter: grayscale(var(--blc-grayscale));
    transform: scale(1);
}

.blc-4ce2cf2a-effect-yes .blc-4ce2cf2a-item:hover img {
    filter: grayscale(0%);
    transform: scale(var(--blc-hover-scale));
}

.blc-4ce2cf2a-text-placeholder {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Swiper navigation styling */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: 1px solid #e0e0e0;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
}

.swiper-scrollbar {
    background: rgba(0,0,0,0.1);
}

.swiper-scrollbar-drag {
    background: #333;
}

/* Accessibility for animations */
@media (prefers-reduced-motion: reduce) {
    .blc-4ce2cf2a-item img {
        transition: none !important;
        transform: none !important;
    }
}
