.elementor-ajax-carousel-wrapper {

    position: relative;

    width: 100%;

    display: block;

}

.elementor-ajax-carousel-wrapper .swiper-slide{
    overflow: inherit;
    height: auto;
    transition: all 0.4s;
}
.elementor-ajax-carousel-wrapper .swiper-slide .swiper-slide-content{
    transition: all 0.4s;
}

.elementor-ajax-carousel-wrapper .swiper-slide:hover .swiper-slide-content{
    transform: translateY(-7px);
}

.carousel-filter-container {

    display: flex;

}





.carousel-taxonomy-filter {

    padding: 0;

    font-size: 18px;

    border: 0px;

    border-radius: 0px;

    background-color: transparent;

    cursor: pointer;

    outline: none;

    box-shadow: none;

    width: 210px;

    padding-right: 15px;

}



.swiper-container {

    width: 100%;

    position: relative;

    overflow: hidden;

}



.elementor-ajax-carousel-wrapper  .swiper-slide-content{

    min-height: 100%;

    display: flex;

}

.carousel-post-item {

    background: #fff;

    overflow: hidden;

    display: flex !important;

    flex-direction: column;

    box-sizing: border-box;

    min-height: 100%;

    width: 100%;

}



.post-thumbnail img {

    max-width: 100%;

    display: block;

}



.post-content-wrap {

    display: flex;

    flex-direction: column;

    flex-grow: 1;

}



.post-terms-badges-wrap {

    display: flex;

    flex-wrap: wrap;

    gap: 5px;

    margin-bottom: 10px;

    align-items: center;

}



.post-term-badge {

    display: inline-block;

    font-size: 11px;

    text-transform: uppercase;

    font-weight: 700;

}



.elementor-ajax-carousel-wrapper .post-title {

}

.post-title a {

    text-decoration: none;

    box-shadow: none;

}



.post-excerpt {

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 15px;

}



.post-btn {

    display: inline-block;

    align-self: flex-start;

    text-decoration: none;

    text-align: center;

    margin-top: auto; 

    transition: all 0.25s ease-in-out;

}



.elementor-swiper-button {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    cursor: pointer;

    font-size: 24px;

    color: #333;

}

.elementor-swiper-button-prev { left: 10px; }

.elementor-swiper-button-next { right: 10px; }



.swiper-pagination {

    position: relative;

    margin-top: 20px;

    text-align: center;

}



.elementor-ajax-carousel-wrapper.carousel-loading .elementor-carousel-render-target {

    opacity: 0.5;

    pointer-events: none;

    transition: opacity 0.2s ease;

}



.carousel-header-wrapper{

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    align-items: flex-start;

}

.elementor-ajax-carousel-wrapper .swiper-pagination-progressbar{

    position: relative !important;

    height: 2px !important;

    display: flex;

    align-items: center;

    border-radius: 6px;

    max-width: calc(100vw - 30px);

    margin-right: auto !important;

    margin-left: auto !important;

}

.elementor-ajax-carousel-wrapper .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{

    height: 4px !important;

    border-radius: 6px;

    top: -1px !important;

}









/* Apply these fixes ONLY inside the active Elementor Editor panel frame */

.elementor-editor-active .elementor-ajax-carousel-wrapper {

    width: 100% !important;

    max-width: 100% !important;

    display: block !important;

}



.elementor-editor-active .swiper-container {

    width: 100% !important;

    max-width: 100% !important;

    display: block !important;

    overflow: hidden !important;

    position: relative;

}



/* Fix Swiper Loop track calculation collapses */

.elementor-editor-active .swiper-wrapper {

    display: flex !important;

    flex-direction: row !important;

    width: auto !important; /* Let Swiper JS take control explicitly */

}



/* Prevent layout breaking while Elementor clones slides for infinite loop mode */

.elementor-editor-active .swiper-slide {

    backface-visibility: hidden;

    -webkit-backface-visibility: hidden;

    flex-shrink: 0 !important;

}