/* Main slide styles */
.qntm-blog-slider .swiper-slide {
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.qntm-blog-slider-post-slide {
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 1) 0%, hsla(0, 0%, 95%, 1) 100%);
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.qntm-blog-slide-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 15px;
}

.qntm-blog-title {
    font-size: 20px;
    font-weight: 600;
    color: #e03c31;
    margin-bottom: 10px;
    padding: 0 10px;
}

.qntm-blog-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding: 0 10px;
}

.qntm-blog-read-more {
    text-align: right;
    padding: 0 10px;
}

.qntm-blog-read-more .qntm-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #e03c31;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.qntm-blog-read-more .qntm-button:hover {
    background-color: #b32015;
}

/* Swiper container fix for pagination */
/* .qntm-blog-slider {
    position: relative;
    padding-bottom: 40px; /* Make space for pagination 

} */

/* Navigation arrows */
/* .qntm-blog-slider .swiper-button-next,
.qntm-blog-slider .swiper-button-prev {
    color: #e03c31 !important;
} */

/* Pagination dot styles */
.qntm-blog-slider .swiper-pagination-bullet-active {
    background-color: #e03c31 !important;
}

/* .qntm-blog-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
} */



.qntm-blog-slider {
    position: relative;
    overflow: hidden;
    padding: 0 60px 40px; /* 60px padding on sides to make room for arrows */
}



.qntm-blog-slider .swiper-button-next,
.qntm-blog-slider .swiper-button-prev {
    color: #e03c31 !important;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 11;
}

.qntm-blog-slider .swiper-button-prev {
    left: 10px;
}

.qntm-blog-slider .swiper-button-next {
    right: 10px;
}

/* Optional: Prevent bullet pagination from overlapping the slider */
.qntm-blog-pagination {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.qntm-blog-slider .swiper-slide:not(.is-active-group) {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.qntm-blog-slider .swiper-slide.is-active-group {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}




.qntm-blog-category-link {
    color: #fff !important;
    background-color: #e03c31;
    border-color: #e03c31 !important;
    border: none;
    box-shadow: 0 5px #961c13;
    display: inline-block;
    padding: 5px;
    position: absolute;
    top: 60px;
    left: 5px;
}

.qntm-blog-category-link:hover {
        box-shadow: none;
    transform: translateY(5px);
    color: #e03c31 !important;
    background-color: #fff;
}