 :root {
    --swiper-navigation-color:white;
    --swiper-pagination-color:white;
    --swiper-navigation-size:45px;
}

.ghs-swiper {
    max-width: 90%;
    margin: auto;
    margin-top: 30px;
}

.ghs-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    /* Puoi modificare l'altezza fissa */
    overflow: hidden;
    background: #E4EACE;
    /* Colore di sfondo opzionale */
    padding: 10px 0px;
    border-radius: 10px;
}

.ghs-swiper .swiper-slide img {
    height: 90%;
    width: auto;
    object-fit: cover;
    max-width: 95%;
}

.ghs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
}

.ghs-swiper-modal .swiper-wrapper {
    align-items: center;
}

.ghs-modal-inner {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
}

.ghs-modal img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ghs-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}

.ghs-fullscreen-button {
    background-color: #000000ab !important;
    color: #fff;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 10px 0px 10px 0px;
    position: absolute;
    z-index: 10;
    bottom: 0px;
    right: 0px;
    border: 1px solid white;
    border-bottom-width: 0px;
}

.ghs-fullscreen-button:hover {
    background: #000000 !important;
}

.ghs-remove-image {
    position: absolute;
    top: 2px;
    right: 5px;
    font-weight: bold;
    background: white;
    border-radius: 50%;
    padding: 0 6px;
    box-shadow: 0 0 2px #000;
}
#ghs_gallery_preview li {
    display: inline-block;
    margin: 5px;
    position: relative;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after,
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    content: none;
}
.swiper-button-next, .swiper-button-prev {    
    width: calc(var(--swiper-navigation-size) / 35 * 27);
}