.carousel-filter-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

@media (min-width: 769px){
    .carousel-filter-wrapper {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }
}
.carousel-filter-wrapper .filter-container {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin-bottom: 30px;
}

@media (max-width: 767px){
.carousel-filter-wrapper .filter-container {
    margin-bottom: 50px;
}   
}



.post-swiper-heading {
    color: #ffffff;
    font-size: 35px;
    line-height: 44px;
    margin-bottom: 10px;
    text-align: center;
}

select#post-category-filter option{
    text-wrap-mode: wrap;
    white-space: normal;
    font-size: 16px;
}

@media (max-width: 767px){
    select#post-category-filter option {
        text-wrap-mode: wrap;
        white-space: normal;
        padding-inline: 0;
        font-size: 14px;
    }
}

select#post-category-filter {
    height: 52px;
    padding-left: 10px;
    width: auto;
    border-radius: 8px;
    padding-right: 27px;
    background-color: #ffffff;
    color: #A4227D;
    font-size: 20px;
    font-weight: 700;
    max-width: 100%;
}

@media (min-width: 768px){

    select#post-category-filter {
        height: 52px;
        padding-left: 10px;
        width: auto;
        border-radius: 8px;
        padding-right: 27px;
        max-width: 100%;
    }
}

.carousel-filter-wrapper .filter-container {
    display: flex;
    flex-direction: column;
    align-content: center;
    margin-bottom: 50px;
    width: 100%;
    margin-bottom: 50px;
    align-items: center;
}

@media (min-width: 1150px ){
    .carousel-filter-wrapper .filter-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    select#post-category-filter {
        position: absolute;
        right: 30px;
        width: 25%;
    }
}

.carousel-filter-wrapper .filter-wrapper{
    width: 100%;
    text-align: right;
}

.swiper-container {
    overflow: hidden;
    padding-bottom: 30px;
}

.swiper-slide {
    text-align: left;
}

/* Add transition effect to the posts container */
.swiper-wrapper .swiper-slide{
    opacity: 1;
    transition: opacity 0.5s ease-in-out; /* Adjust timing for smoother transition */
}

.swiper-wrapper.loading .swiper-slide{
    opacity: 0;
}

.custom-post-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.carousel-filter-wrapper .post-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-bottom: 30px;
}

@media (min-width: 767px){
    .carousel-filter-wrapper .post-content-wrapper {
        margin-bottom: 0;
    }
}

.carousel-filter-wrapper .post-title-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (min-width: 767px){
    .carousel-filter-wrapper .post-title-wrapper {
        min-height: 165px;
    }
}

.carousel-filter-wrapper .post-bottom-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carousel-filter-wrapper .post-image {
    display: block;
    width: 100%;
    height: 187px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #0000001a;
}

@media (min-width: 769px){
    .carousel-filter-wrapper .post-image {
        display: block;
        width: 100%;
        border-radius: 8px;
        object-fit: cover;
        border: 1px solid #0000001a;
    }
}


.carousel-filter-wrapper .post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    margin-top: 10px;
    font-weight: 600;
}

.carousel-filter-wrapper .post-title a:hover {
    color: #ffffff;
}

.carousel-filter-wrapper .post-title {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    margin-top: 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    padding: 0 5px;
    text-align: left;
}

@media (min-width: 769px){
    .carousel-filter-wrapper .post-title {
    font-size: 24px;
}
}
.carousel-filter-wrapper p.post-publish-date {
    margin-bottom: 5px;
    margin-top: 15px;
    font-size: 14px;
    padding: 0 5px;
    color: #ffffff;
}

.custom-blog-post #content .lqd-contents {
    width: 100%;
}

.post-top-content {
    position: relative;
}

.category-wrapper {
    display: flex;
    margin-top: 0;
    position: absolute;
    top: 10px;
    left: 10px;
}

.carousel-filter-wrapper .post-category {
    flex: 0 auto;
    padding: .25em 1em;
    margin-inline-end: .5em;
    border-radius: 3px;
    background-color: #f3f3f3;
    margin-bottom: 0;
    font-size:12px;
}

/* NAVIGATION */
.carousel-filter-wrapper .swiper-button-next, .carousel-filter-wrapper .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #000000;
    border-radius: 50%;
}
.carousel-filter-wrapper .swiper-button-next:after, .carousel-filter-wrapper .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 20px;
    text-transform: none!important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

@media (min-width: 768px) and (max-width: 1200px){
.carousel-filter-wrapper  .swiper-button-prev, .carousel-filter-wrapper  .swiper-rtl .swiper-button-next {
    left: -3%;
    right: auto;
}
.carousel-filter-wrapper  .swiper-button-next, .carousel-filter-wrapper  .swiper-rtl .swiper-button-prev {
    right: -3%;
    left: auto;
}    
}
@media (min-width: 1200px){
.carousel-filter-wrapper  .swiper-button-prev, .carousel-filter-wrapper  .swiper-rtl .swiper-button-next {
    left: -5%;
    right: auto;
}
.carousel-filter-wrapper  .swiper-button-next, .carousel-filter-wrapper  .swiper-rtl .swiper-button-prev {
    right: -5%;
    left: auto;
}
}


.carousel-filter-wrapper  .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffffff;;
    width: 15px;
}

.carousel-filter-wrapper  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    display: inline-block;
    border-radius: 50rem;
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.carousel-filter-wrapper  .swiper-button-next.swiper-button-disabled, .carousel-filter-wrapper  .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
}

@media(min-width: 769px){
.carousel-filter-wrapper  .swiper-horizontal>.swiper-pagination-bullets, .carousel-filter-wrapper  .swiper-pagination-bullets.swiper-pagination-horizontal, .carousel-filter-wrapper  .swiper-pagination-custom, .carousel-filter-wrapper  .swiper-pagination-fraction {

    display: none;
}
}

