a{
    color: #333;
    text-decoration: none;
}
a:hover{
    color: #2793FF;
    text-decoration: none;
}


.blog-page{
    padding-top: 60px;
}

img{
    object-fit:scale-down;
    image-rendering: -webkit-optimize-contrast;
}

.blog-section-1 .container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end; 
}

.blog-section-1 .title{
    width: 100%;
    margin: 0;
    text-align: right;
}

.blog-section-2{
    background-color: #f2f2f2;
}

.blog-section-2 .container{
    position: relative;
}

.blog-section-2 .item-input{
    position: relative;
    display: inline-block;
}

.blog-section-2 .back-btn{
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 15px;
    display: inline-block;
    margin-top: 2px;
    margin-bottom: 30px;
}

.blog-section-2 .search-part{
    margin-left: 30px;
}

.blog-section-2 .search-input{
    width: 350px;
    border-radius: 8px;
    border: 1px solid #ccc;
    line-height: 36px;
    outline: none;
    text-indent: 8px;
}
.blog-section-2 .search-input::placeholder {
    color: #888888;
    /*font-size: 16px;*/
}
.blog-section-2 .search-img{
    position: absolute;
    width: 20px;
    top: 10px;
    right: 13px;
    cursor: pointer;
}
.blog-section-2 .type-part{
    position: relative;
    display: inline-block;
    float: right;
}
.blog-section-2 .type-select{
    border: 1px solid #4F5B7D;
    border-radius: 8px;
    line-height: 36px;
    height: 36px;
    outline: none;
    min-width: 161px;
    text-align: center;
}
.blog-section-2 .img{
    height: 270px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 10px 10px 0px 0px;
}
.blog-section-2 .title{
    font-size: 20px;
    font-weight: bold;
    color: #191919;
    padding: 0 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    margin: 0;
    -webkit-line-clamp: 2;
    width: 100%;
    text-align: left;
    margin-top: 25px;
}
.blog-section-2 .title a{
    color: #191919;
}
.blog-section-2 .date{
    font-size: 16px;
    color: #2793FF;
    margin-top: 15px;
    margin-bottom: 12px;
    padding: 0 20px;
}
.blog-section-2 .des {
    font-size: 16px;
    color: #888888;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    padding: 0 20px;
}
.blog-section-2 .swiper-slide{
    border-radius: 10px 10px 10px 10px;
}

.blog-section-2 .item{
    min-height: 520px;
    border-radius: 10px 10px 10px 10px;
    background: #ffffff;
    text-align: left;
}

.blog-section-2 .swiper-button-prev,.blog-section-2 .swiper-button-next {
    width: 52px;
    height: 52px;
    top: 50%;
    --swiper-navigation-size: 25px;
    background: #000;
    opacity: 0.1;
    border-radius: 50%;
    margin-top: -26px;
}

.blog-section-2 .swiper-button-prev::after,.blog-section-2 .swiper-button-next::after {
    color: #fff;
}

.page-posts{
    padding-top: 90px;
}
.page-posts .post-title{
    text-align: center;
    font-size: 24px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.wp-block-image img{
    width: 100%;
    border-radius: 10px 10px 0px 0px;
}

.page-posts h1{
    color: #000 !important
    ;
}

@media (min-width: 768px){
    .blog-section-1{
        width: 100%;
        height: 380px;
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
    }

    .blog-section-2 .swiper-button-prev{
        padding-right: 5px;
        left: -62px;
    }
    
    .blog-section-2 .swiper-button-next {
        padding-left: 5px;
        right: -62px;

    }
}


@media (max-width: 768px) {
    .blog-section-1{
        width: 100%;
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
    }

    .blog-section-2 .search-form{
        text-align: center;
    }
    .blog-section-2 .type-part{
        float: none;
        margin: 10px 0;
    }
    .blog-section-2 .item{
        min-height: 520px;
    }

    .blog-section-1 h1{
        font-size: 28px;
        font-weight: bold;
        color: #ffffff;
        line-height: 38px;
    }

    .blog-section-2 .swiper-button-prev{
        padding-right: 5px;

    }
    
    .blog-section-2 .swiper-button-next {
        padding-left: 5px;
    }
}
