@import "../component-pagination/style.css";
@import "../component-blog-card/style.css";

.home-blog{
    position: relative;
    z-index: 1;
    >.bg{
        position: absolute;
        z-index: -1;
        inset: 0;
        >img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    >.container{
        padding: 100px 24px;
        >h3{
            color: var(--color-primary-1);
            margin-bottom: 24px;
            text-align: center;
        }
        >h2{
            margin-bottom: 60px;
            text-align: center;
        }
    }
}
@media screen and (width < 576px) {
    .home-blog > .container{
        padding: 60px 24px;
        >h2{
            margin-bottom: 40px;
        }
    }
}

.home-blog-swiper{
    margin-bottom: 60px;
    >.swiper-wrapper{
        display: grid;
        grid-auto-flow: column;
    }
}
@media screen and (width < 576px) {
    .home-blog-swiper{
        margin-bottom: 40px;
    }
}

.home-blog-swiper-change-page{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media screen and (width < 576px) {
    .home-blog-swiper-change-page{
        flex-direction: column;
        gap: 40px;
        justify-content: center;
    }
}