.wrgal-carrousel-container {
    margin: 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.wrgal-carrousel {
    position: relative;
    overflow: visible;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.wrgal-thumbnails-wrapper {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.wrgal-thumbnails-wrapper::-webkit-scrollbar {
    display: none;
}

.wrgal-thumbnail-overlay .wrgal-overlay-link {
    pointer-events: auto !important;
}

.wrgal-action-button-wrapper {
    text-align: center;
}

.wrgal-thumbnails {
    display: flex;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.wrgal-thumbnail {
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wrgal-thumbnail-inner {
    transition: transform 0.45s ease;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}

.wrgal-text-wrapper {
    display: flex;
    flex-direction: column;
    pointer-events: none !important;
}

.wrgal-thumbnail-inner a {
    cursor: pointer;
    pointer-events: auto;
}

.wrgal-left-arrow,
.wrgal-right-arrow {
    transition: opacity 0.3s ease;
}

.wrgal-main-title {
    white-space: nowrap;
    margin-bottom: 0px !important;
}

.wrgal-clone {
    opacity: 1;
}

.wrgal-active .wrgal-thumbnail-inner {
    pointer-events: auto;
}

.wrgal-action-button {
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.wrgal-thumbnail-overlay {
    pointer-events: auto;
}

.wrgal-thumbnail-overlay a {
    pointer-events: auto;
}

@media (max-width: 770px) {
    #wrgal-top-controls{
        flex-direction: column !important;
    }
    .wrgal-arrows-container{
        align-items: center !important;
        justify-content: center !important;
    }
    .wrgal-main-title{
        white-space: normal !important;
        text-align: center !important;
    }
}