.t888-image-box-slider-wrap {
    width: 100%;
    overflow: hidden;
}

.t888-image-box-slider {
    width: 100%;
    overflow: visible;
}

.t888-image-box-slider .swiper-wrapper {
    align-items: stretch;
}

.t888-image-box-slider .swiper-slide {
    height: auto;
}

.t888-image-box-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    min-height: 355px;
    padding: 12px 24px 38px;
    border-radius: 18px;
    background: #fff;
    color: var(--primary-color, #1E1E1E);
    text-decoration: none;
    box-shadow: none;
}

.t888-image-box-icon {
    width: 132px;
    height: 132px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18); */
    flex: 0 0 auto;
}

.t888-image-box-icon img {
    width: 132px;
    height: 132px;
    object-fit: contain;
    display: block;
}

.t888-image-box-title {
    margin-bottom: 12px;
    color: #1E1E1E;
    font-family: var(--font-dinroundot);
    font-size: 20px;
    line-height: 27px;
    font-weight: 700;
    margin-top: 0;
}

.t888-image-box-desc {
    color: #757575;
    font-family: var(--font-sfpro);
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
}

.t888-image-box-slider-wrap.style2 {
    max-width: 100%;
    overflow: visible;
}

.t888-image-box-slider-wrap.style2 .t888-image-box-slider {
    box-sizing: border-box;
    width: calc(100% + 32px);
    margin: -16px;
    padding: 16px;
    overflow: visible;
}

.t888-image-box-slider-wrap.style2 .t888-image-box-item {
    align-items: stretch;
    min-height: 180px;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 14px rgba(30, 30, 30, 0.15);
    text-align: center;
}

.t888-image-box-slider-wrap.style2 .t888-image-box-title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin: 0;
    padding: 10px 16px;
    background: #ddd;
    color: #fff;
    font-family: var(--font-dinroundot);
    font-size: 28px;
    line-height: 38px;
    font-weight: 700;
}

/* .t888-image-box-slider-wrap.style2 .swiper-slide:nth-child(even) .t888-image-box-title {
    background: linear-gradient(90deg, #E90380 0%, #EB7EB9 100%);
} */

.t888-image-box-slider-wrap.style2 .t888-image-box-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 128px;
    padding: 40px 20px 30px 20px;
    color: #1E1E1E;
    font-family: var(--font-sfpro);
    font-size: 20px;
    line-height: 32px;
    font-weight: 400;
}

.t888-image-box-slider-wrap.style3 {
    max-width: 100%;
    overflow: visible;
}

.t888-image-box-slider-wrap.style3 .t888-image-box-slider {
    box-sizing: border-box;
    width: calc(100% + 32px);
    margin: -16px;
    padding: 16px;
    overflow: visible;
}

.t888-image-box-slider-wrap.style3 .t888-image-box-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-content: start;
    align-items: center;
    column-gap: 18px;
    row-gap: 16px;
    min-height: 280px;
    padding: 26px 20px 28px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(30, 30, 30, 0.15);
}

.t888-image-box-slider-wrap.style3 .t888-image-box-icon {
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 0;
    background: transparent;
}

.t888-image-box-slider-wrap.style3 .t888-image-box-icon img {
    width: 56px;
    height: 56px;
}

.t888-image-box-slider-wrap.style3 .t888-image-box-title {
    min-width: 0;
    margin: 0;
    color: var(--third-color, #00377B);
    font-size: 22px;
    line-height: 33px;
}

.t888-image-box-slider-wrap.style3 .t888-image-box-desc {
    grid-column: 1 / -1;
    color: #1E1E1E;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
}

.t888-image-box-slider-wrap.style4 {
    max-width: 100%;
    overflow: visible;
    position: relative;
}

.t888-image-box-slider-wrap.style4 .t888-image-box-slider {
    box-sizing: border-box;
    width: calc(100% + 32px);
    margin: -16px;
    padding: 16px;
    overflow: visible;
}

.t888-image-box-slider-wrap.style4 .t888-image-box-item {
    align-items: stretch;
    min-height: 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.t888-image-box-slider-wrap.style4 .t888-image-box-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 215 / 134;
    margin: 0;
    border-radius: 0;
    background: transparent;
}

.t888-image-box-slider-wrap.style4 .t888-image-box-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t888-image-box-slider-wrap.style4 .t888-image-box-title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 30px;
    padding-bottom: 21px;
    color: var(--third-color, #00377B);
    font-family: var(--font-dinroundot);
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

.t888-image-box-slider-wrap.style4 .t888-image-box-desc {
    text-align: justify;
    color:#00377B;
    font-size: 18px;
    font-weight: 400;
    font-family: var(--font-sfpro);
    padding: 0 30px 30px 30px;
    line-height: 20px;
    /* display: none; */
}

.t888-image-box-slider-wrap.style4 .t888-image-box-slider-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 50px;
    height: 50px;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t888-image-box-slider-wrap.style4 .t888-image-box-slider-nav::before {
    /* content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff; */
}

.t888-image-box-slider-wrap.style4 .t888-image-box-slider-prev {
    left: -14px;
}

.t888-image-box-slider-wrap.style4 .t888-image-box-slider-prev::before {
    transform: translate(-35%, -50%) rotate(-45deg);
}

.t888-image-box-slider-wrap.style4 .t888-image-box-slider-next {
    right: -14px;
}

.t888-image-box-slider-wrap.style4 .t888-image-box-slider-next::before {
    transform: translate(-65%, -50%) rotate(135deg);
}

.t888-image-box-slider-wrap.style4 .t888-image-box-slider-nav:hover,
.t888-image-box-slider-wrap.style4 .t888-image-box-slider-nav:focus-visible {
    background: rgba(0, 0, 0, 0.4);
}

.t888-image-box-slider-wrap.style4 .t888-image-box-slider-nav.swiper-button-disabled {
    opacity: 0.45;
    cursor: default;
}

.t888-image-box-slider-wrap.style5 {
    max-width: 100%;
    overflow: visible;
}

.t888-image-box-slider-wrap.style5 .t888-image-box-slider {
    box-sizing: border-box;
    width: calc(100% + 32px);
    margin: -16px;
    padding: 16px;
    overflow: hidden;
}

.t888-image-box-slider-wrap.style5 .t888-image-box-item {
    align-items: stretch;
    min-height: 0;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.t888-image-box-slider-wrap.style5 .t888-image-box-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 337 / 211;
    margin: 0;
    border-radius: 20px;
    background: transparent;
}

.t888-image-box-slider-wrap.style5 .t888-image-box-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.t888-image-box-slider-wrap.style5 .t888-image-box-title {
    position: relative;
    margin: 0 0 20px;
    padding-left: 20px;
    padding-top: 6px;
    padding-bottom: 6px;
    color: var(--third-color, #00377B);
    font-family: var(--font-dinroundot);
    font-size: 28px;
    line-height: 38px;
    font-weight: 700;
}

.t888-image-box-slider-wrap.style5 .t888-image-box-title::before {
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0;
    width: 4px;
    background: var(--forth-color, #E90380);
}

.t888-image-box-slider-wrap.style5 .t888-image-box-desc {
    color: #757575;
    font-family: var(--font-sfpro);
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    text-align: justify;
}

.t888-image-box-slider-wrap.style5 .t888-image-box-title,
.t888-image-box-slider-wrap.style5 .t888-image-box-desc {
    margin-left: 30px;
    margin-right: 30px;
}

.t888-image-box-slider-wrap.style5 .t888-image-box-title {
    margin-top: 30px;
}

.t888-image-box-slider-wrap.style5 .t888-image-box-desc {
    margin-bottom: 33px;
}

.t888-image-box-slider-wrap.style6 {
    max-width: 100%;
    overflow: visible;
}

.t888-image-box-slider-wrap.style6 .t888-image-box-slider {
    box-sizing: border-box;
    width: calc(100% + 32px);
    margin:-55px -16px;
    padding: 55px 16px;
    overflow: hidden;
}

.t888-image-box-slider-wrap.style6 .swiper-slide:nth-child(5n + 1) {
    --spire-color: #7675B1;
}

.t888-image-box-slider-wrap.style6 .swiper-slide:nth-child(5n + 2) {
    --spire-color: #92CCBE;
}

.t888-image-box-slider-wrap.style6 .swiper-slide:nth-child(5n + 3) {
    --spire-color: #EFB740;
}

.t888-image-box-slider-wrap.style6 .swiper-slide:nth-child(5n + 4) {
    --spire-color: #A8CC5E;
}

.t888-image-box-slider-wrap.style6 .swiper-slide:nth-child(5n + 5) {
    --spire-color: #DB5D72;
}

.t888-image-box-slider-wrap.style6 .t888-image-box-item {
    position: relative;
    align-items: stretch;
    min-height: 370px;
    padding: 84px 20px 20px;
    border-radius: 10px;
    overflow: visible;
    background: var(--spire-color);
    color: #fff;
    box-shadow: none;
}

.t888-image-box-slider-wrap.style6 .t888-image-box-spire-heading {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 54px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    color: var(--spire-color);
    background: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.t888-image-box-slider-wrap.style6 .t888-image-box-spire-heading::before,
.t888-image-box-slider-wrap.style6 .t888-image-box-spire-heading::after {
    content: "";
    position: absolute;
    top: 0;
    width: 20px;
    height: 54px;
    background: var(--spire-color);
}

.t888-image-box-slider-wrap.style6 .t888-image-box-spire-heading::before {
    left: -20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 7px;
}

.t888-image-box-slider-wrap.style6 .t888-image-box-spire-heading::after {
    right: -20px;
    border-top-left-radius: 7px;
    border-top-right-radius: 10px;
}

.t888-image-box-slider-wrap.style6 .t888-image-box-spire-letter {
    display: block;
    margin-top: -55px;
    font-family: var(--font-dinroundot);
    font-size: 100px;
    line-height: 1;
    font-weight: 700;
}

.t888-image-box-slider-wrap.style6 .t888-image-box-spire-label {
    display: block;
    font-family: var(--font-dinroundot);
    font-size: 26px;
    line-height: 30px;
    font-weight: 700;
    margin-top: -17px;
}

.t888-image-box-slider-wrap.style6 .t888-image-box-title {
    margin: 0 0 20px;
    color: #fff;
    font-family: var(--font-dinroundot);
    font-size: 28px;
    line-height: 38px;
    font-weight: 700;
}

.t888-image-box-slider-wrap.style6 .t888-image-box-desc {
    color: #fff;
    font-family: var(--font-sfpro);
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    text-align: justify;
}

@media (min-width: 1025px) {
    .t888-image-box-slider-wrap {
        overflow: visible;
    }

    .t888-image-box-slider {
        overflow: hidden;
    }

    .t888-image-box-slider-wrap.style2 {
        overflow: visible;
    }

    .t888-image-box-slider-wrap.style2 .t888-image-box-slider {
        overflow: visible;
    }

    .t888-image-box-slider-wrap.style3 {
        overflow: visible;
    }

    .t888-image-box-slider-wrap.style3 .t888-image-box-slider {
        overflow: visible;
    }

    .t888-image-box-slider-wrap.style4 {
        overflow: visible;
    }

    .t888-image-box-slider-wrap.style4 .t888-image-box-slider {
        /* overflow: hidden; */
    }

    .t888-image-box-slider-wrap.style5 {
        overflow: visible;
    }

    .t888-image-box-slider-wrap.style6 {
        overflow: visible;
    }
}

@media (max-width: 1024px) {
    /* .t888-image-box-slider-wrap {
        padding-right: 0;
    }

    .t888-image-box-item {
        min-height: 330px;
        padding: 14px 20px 24px;
        border-radius: 10px;
    }

    .t888-image-box-title {
        font-size: 18px;
        line-height: 1.22;
    } */

    .t888-image-box-slider-wrap.style2 .t888-image-box-item {
        min-height: 176px;
    }

    .t888-image-box-slider-wrap.style3 .t888-image-box-item {
        grid-template-columns: 60px minmax(0, 1fr);
        column-gap: 16px;
        row-gap: 20px;
        min-height: 174px;
        padding: 20px;
        border-radius: 20px;
    }

    .t888-image-box-slider-wrap.style3 .t888-image-box-icon,
    .t888-image-box-slider-wrap.style3 .t888-image-box-icon img {
        width: 60px;
        height: 60px;
    }

    .t888-image-box-slider-wrap.style3 .t888-image-box-title {
        font-size: 22px;
        line-height: 33px;
    }

    .t888-image-box-slider-wrap.style3 .t888-image-box-desc {
        font-size: 14px;
        line-height: 26px;
    }

    .t888-image-box-slider-wrap.style4 .t888-image-box-slider {
        width: calc(100% + 24px);
        margin: -12px;
        padding: 12px;
    }

    .t888-image-box-slider-wrap.style4 .t888-image-box-title {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 12px;
        line-height: 16px;
    }

    .t888-image-box-slider-wrap.style4 .t888-image-box-slider-prev {
        left: -2px;
    }

    .t888-image-box-slider-wrap.style4 .t888-image-box-slider-next {
        right: -2px;
    }

}

@media (max-width: 575px) {
    /* .t888-image-box-slider {
        padding-right: 38px;
    }

    .t888-image-box-item {
        min-height: 199px;
        padding: 10px 12px 16px;
        border-radius: 8px;
    }

    .t888-image-box-icon {
        width: 62px;
        height: 62px;
        margin-bottom: 17px;
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.16);
    }

    .t888-image-box-icon img {
        width: 43px;
        height: 43px;
    }

    .t888-image-box-title {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.15;
    }

    .t888-image-box-desc {
        font-size: 9px;
        line-height: 1.22;
    } */

    .t888-image-box-slider-wrap.style2 .t888-image-box-title {
        min-height: 100px;
        padding: 9px 12px;
        font-size: 28px;
        line-height: 38px;
    }

    .t888-image-box-slider-wrap.style2 .t888-image-box-desc {
        min-height: 180px;
        padding: 20px;
        font-size: 20px;
        line-height: 32px;
    }

    .t888-image-box-slider-wrap.style3 .t888-image-box-slider {
        width: calc(100% + 24px);
        margin: -12px;
        padding: 12px;
    }

    .t888-image-box-slider-wrap.style4 .t888-image-box-title {
        min-height: 72px;
        font-size: 20px;
        line-height: 27px;
    }

    .t888-image-box-slider-wrap.style5 .t888-image-box-slider {
        width: calc(100% + 24px);
        margin: -12px;
        padding: 12px;
    }


    .t888-image-box-slider-wrap.style5 .t888-image-box-title,
    .t888-image-box-slider-wrap.style5 .t888-image-box-desc {
        margin-left: 14px;
        margin-right: 14px;
    }

    .t888-image-box-slider-wrap.style5 .t888-image-box-title {
        margin-top: 12px;
        margin-bottom: 10px;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 20px;
        line-height: 22px;
    }


    .t888-image-box-slider-wrap.style5 .t888-image-box-desc {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 21px;
    }

    .t888-image-box-slider-wrap.style6 .t888-image-box-slider {

    }

    .t888-image-box-slider-wrap.style6 .t888-image-box-item {
        min-height: 330px;
        padding: 86px 20px 24px;
    }

    .t888-image-box-slider-wrap.style6 .t888-image-box-spire-letter {
        margin-top: -38px;
        font-size: 88px;
    }

    .t888-image-box-slider-wrap.style6 .t888-image-box-spire-label {
        padding-top: 13px;
        font-size: 24px;
        line-height: 30px;
    }

    .t888-image-box-slider-wrap.style6 .t888-image-box-title {
        margin-bottom: 22px;
        font-size: 28px;
        line-height: 38px;
    }

    .t888-image-box-slider-wrap.style6 .t888-image-box-desc {
        font-size: 16px;
        line-height: 24px;
    }
    .t888-image-box-slider-wrap.style4 .t888-image-box-slider-nav{
        display: none;
    }
}
