.t888-list-gallery.style1 {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.t888-list-gallery .t888-list-gallery-items {
    width: 100%;
    overflow: hidden;
}

.t888-list-gallery .t888-list-gallery-image-inner{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 24px;
    overflow: hidden;
    background: #fff;
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
.t888-list-gallery .list-gallery-wrapper-logo{
    align-items: stretch;
}
.t888-list-gallery .t888-list-gallery-title{
    margin-top: 0;
    margin-bottom: 24px;
}
.t888-list-gallery .swiper-button-next{
    display: none !important;
    top: -86px;
    right: 0;
    z-index: 5;
}
.t888-list-gallery .swiper-button-next:hover{
   background:var(--third-color);
   color: var(--secondary-color);
    border: 1px solid var(--third-color);
}
.t888-list-gallery .swiper-button-next:hover i{
    color: var(--secondary-color);
}
.t888-list-gallery .swiper-button-prev{
    display: none !important;
    top: -86px;
    right: 36px;
    left: auto;
    z-index: 5;
}
.t888-list-gallery .swiper-button-prev:hover{
   background:var(--third-color);
   color: var(--secondary-color);
   border: 1px solid var(--third-color);
}
.t888-list-gallery .swiper-button-prev:hover i{
    color: var(--secondary-color);
}
.t888-list-gallery-image-inner img {
    width: auto;
    max-width: 68%;
    max-height: 62%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.t888-list-gallery-item.swiper-slide {
    height: auto;
}

.t888-list-gallery-image-inner > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .t888-list-gallery.style1 {
        padding: 18px;
    }

    .t888-list-gallery .t888-list-gallery-image-inner {
        padding: 16px;
        clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
    }
}
