.at-blog-slider-container {
    position: relative;
    padding-bottom: 40px;
    /* Space for pagination */
}

.at-blog-slider {
    width: 100%;
    overflow: hidden;
}

.at-blog-slider-container .swiper-slide {
    height: 400px;
    width: 50% !important;
    /* Exactly half container for 33/100/67 logic */
}

.at-blog-slide-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    /* Fixed height */
    width: 100%;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.at-blog-slide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.at-blog-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.at-blog-slide-card:hover .at-blog-slide-image {
    transform: scale(1.08);
}

.at-blog-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle bottom gradient */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.at-blog-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    z-index: 2;
    box-sizing: border-box;
    text-align: center;
    /* Centered as per image */
}

.at-blog-slide-title {
    color: #ffffff;
    font-size: 18px;
    /* Slightly smaller, cleaner font */
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Swiper Pagination Styling */
.at-blog-slider-container .swiper-pagination {
    bottom: -30px !important;
    /* Move down to make room */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.at-blog-slider-container .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.at-blog-slider-container .swiper-pagination-bullet-active {
    background: #000;
    width: 30px;
    /* Long pill for active */
    border-radius: 4px;
}

/* Navigation Arrows Styling */
.at-blog-slider-container .swiper-button-next,
.at-blog-slider-container .swiper-button-prev {
    color: #000;
    background: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.at-blog-slider-container .swiper-button-next:after,
.at-blog-slider-container .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.at-blog-slider-container .swiper-button-next:hover,
.at-blog-slider-container .swiper-button-prev:hover {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}


/* Hide navigation on very small screens to avoid overflow */
@media (max-width: 1024px) {

    .at-blog-slider-container .swiper-button-next,
    .at-blog-slider-container .swiper-button-prev {
        display: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .at-blog-slide-title {
        font-size: 16px;
    }

    .at-blog-slide-content {
        padding: 15px;
    }

    .at-blog-slide-card {
        aspect-ratio: 1 / 1;
        /* Square on mobile */
    }

    .at-blog-slider-container .swiper-slide {
        width: 100% !important;
    }
}