.digr_image_carousel .digric_container {
    display: flex;
    flex-direction: column;
}

.digr_image_carousel .digric_container .digric_inner_wrapper,
.digr_image_carousel .swiper-container {
    width: 100%;
}

.digr_image_carousel .swiper-container {
    order: 1;
}

.digr_image_carousel .et_pb_module.swiper-slide {
    margin-bottom: 0;
}

.digr_image_carousel .digric_title,
.digr_image_carousel .digric_description p {
    line-height: 1em;
}

/*force full width */
.digric_container.force_fullwidth .swiper-container .swiper-wrapper .swiper-slide .et_pb_module_inner {
    width: 100%;
}

/*======== button ======*/
.digric_button_wrapper {
    margin-top: 10px;
}

.digric_button {
    border-style: solid;
    padding: 10px 15px;

}

/* Arrow styles */
.digr_image_carousel .digric_arrows {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-item-align: center;
    align-self: center;
    -ms-flex-order: 2;
    order: 2;
    width: 100%;
    z-index: 99;
}

.digric_arrows .swiper-button-next,
.digric_arrows .swiper-button-prev {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 0;
    pointer-events: all;
    background-color: #00ff40;
    width: auto;
    height: 100%;
    padding: 7px;
}

.digric_arrows .swiper-button-next {
    -ms-flex-order: 2;
    order: 2;
}

/* .digric_arrows .swiper-button-prev:after {
    content: 'prev'
}

.digric_arrows .swiper-button-next:after {
    content: 'next'
} */

.digric_arrows .swiper-button-prev:after,
.digric_arrows .swiper-button-next:after {

    content: attr(data-icon) !important;
}

.et-boc.et-fb-root-ancestor .digric_arrows .swiper-button-prev:after,
.et-boc.et-fb-root-ancestor .digric_arrows .swiper-button-next:after {
    font-family: inherit;
}

/* .digr_image_carousel .digr_image_carousel_item,
.et-boc.et-fb-root-ancestor .digr_image_carousel .swiper-slide {
    width: auto;
} */


/* overlay */
.digr_image_carousel .digr_ic_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.digr_image_carousel .always-show-description,
.digr_image_carousel .always-show-title {
    opacity: 1 !important;
}

.digr_image_carousel .digric_inner_wrapper {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.digr_image_carousel .swiper-container-flip figure,
.digr_image_carousel .swiper-container-cube figure {
    width: 100%;
}

.digr_image_carousel .digric_container .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.digr_image_carousel .digric_container .swiper-wrapper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.digr_image_carousel .digric_container .swiper-wrapper .swiper-slide figure {
    width: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

/* For flip and cube effects, ensure figure takes full container */
.digr_image_carousel .swiper-container-flip .swiper-slide figure,
.digr_image_carousel .swiper-container-cube .swiper-slide figure {
    height: auto;
    min-height: auto;
}

.digr_image_carousel .digric_container .swiper-wrapper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 450px;
    object-fit: cover;
}

.digr_image_carousel .digric_container .swiper-container-flip .swiper-wrapper .swiper-slide img,
.digr_image_carousel .digric_container .swiper-container-cube .swiper-wrapper .swiper-slide img {
    object-position: top;
    height: 100%;
    min-height: 450px;
}

.digric_container .digr_swiper_imagecarousel .swiper-wrapper .swiper-slide img {
    max-width: 100%;
}

/* custom image pagination */
.digr_image_carousel .swiper-pagination span {
    margin-right: 6px;
    opacity: 1;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    pointer-events: all;
    vertical-align: top;
}

.digr_image_carousel .swiper-pagination {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100% !important;
    gap: 10px;
}

/* ======== pagination fraction =========*/
.digr_image_carousel .swiper-pagination.swiper-pagination-fraction {
    margin-top: 25px;
    gap: 0;
}

.digr_image_carousel .swiper-pagination.swiper-pagination-fraction.swiper-pagination span {
    margin: 0 6px;
}

/* item and image border style*/
.digr_image_carousel .swiper-pagination.digric_img_pagi img,
.digr_image_carousel .swiper-pagination.digric_img_pagi .swiper-pagination-bullet-active img,
.et-boc.et-fb-root-ancestor .digric_container .swiper-wrapper .swiper-slide,
.digric_container .swiper-wrapper .swiper-slide figure {
    border: 0px transparent solid;
}

.swiper-pagination.digric_img_pagi span {
    width: 50px;
    height: 50px;
    display: inline-block;
    opacity: 0.4;
}

.swiper-pagination-bullets.digric_img_pagi span img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.swiper-pagination.digric_img_pagi span.swiper-pagination-bullet-active {
    opacity: 1;
}

/*pagination position table and mobile */
@media screen and (max-width:980px) {
    .digr_image_carousel .digric_container .swiper-pagination {
        flex-direction: row !important;
        margin: 10px !important;
        flex-basis: 100% !important;
    }
}

/* hover settings */
.swiper-wrapper .digr_image_carousel_item .digr-hover {
    background-color: transparent;

}