
.blog-page {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 25px 20px !important;
    overflow: hidden;
}

.homepage-blog-title, .OurCustomers .title {
    margin-bottom: 30px;
}

.blog-background {
    position: absolute;
    left: 0;
    background-color: #F6F6F5;
    height: 665px;
    top: 0;
}

.item-shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.post-head {
    height: 80px;
    border-bottom: none !important;
}

.post-title {
    height: 70px;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    color: #444444;
}

a span {
    line-height: 23px;
    display: inline;
    display: inline-table;
    display: inline-block;
    vertical-align: middle;
    *margin-top: expression(this.offsetHeight < this.parentNode.offsetHeight ? parseInt((this.parentNode.offsetHeight - this.offsetHeight) / 2) + "px" : "0");
}

a span {
    display: inline;
    display: inline-table;
    display: inline-block;
    vertical-align: middle;
    *margin-top: expression(this.offsetHeight < this.parentNode.offsetHeight ? parseInt((this.parentNode.offsetHeight - this.offsetHeight) / 2) + "px" : "0");
}

.post-body {
    height: 150px;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 15px !important;
}

.read-more {
    display: block;
    height: 30px;
    padding: 15px;
    vertical-align: middle
}

    .read-more a {
        display: inline;
        background-color: #0057ad;
        padding: 7px 10px;
        color: #d6d0d0;
        font-size: 13px;
    }

.swiper-slide img {
    width: 100%;
    max-width: 100%;
    margin: auto;
    object-fit: cover;
}

@media (max-width:1366px) and (min-width: 1001px) {
    .home-page .page-body .blog-page {
        display: block !important;
        padding: unset;
        overflow: unset;
        margin: unset;
    }

    .post-title {
        height: 60px;
        line-height: 20px;
        font-size: 16px;
    }

    a span {
        line-height: 20px;
    }

    .post-head {
        height: 75px;
        background-color: white !important
    }

    .post-body {
        height: 125px;
        max-height: 125px;
        line-height: 25px;
    }

    .read-more {
        height: 55px;
        padding: 15px;
        background-color: white;
    }

    .blog-background {
        padding: 0 !important
    }
}

@media (max-width:1000px) and (min-width: 501px) {
    .home-page .page-body .blog-page {
        display: unset !important;
    }

    .post-head {
        height: 75px;
        padding: 15px 15px 0px !important;
    }

    .post-title {
        height: 54px;
        line-height: 18px;
        font-size: 16px;
    }

    a span {
        line-height: 18px;
        display: inline;
        display: inline-table;
        display: inline-block;
        vertical-align: middle;
        *margin-top: expression(this.offsetHeight < this.parentNode.offsetHeight ? parseInt((this.parentNode.offsetHeight - this.offsetHeight) / 2) + "px" : "0");
    }

    .post-body {
        height: 100px;
        max-height: 120px;
        line-height: 20px;
        text-align: left;
        margin: 0px;
    }

    .read-more {
        height: 53px;
        padding: 15px;
    }

        .read-more a {
            padding: 5px 8px;
            font-size: 12px;
        }
}

@media (max-width:500px) {
    .home-page .page-body .blog-page {
        display: unset !important;
    }

    .post-title {
        height: 16vw;
        line-height: 16vw;
        font-size: 17px;
        overflow: hidden;
        font-weight: 600;
        color: #444444;
    }

    a span {
        line-height: 5vw;
        display: inline;
        display: inline-table;
        display: inline-block;
        vertical-align: middle;
        margin-top: expression(this.offsetHeight < this.parentNode.offsetHeight ? parseInt((this.parentNode.offsetHeight - this.offsetHeight) / 2) + "px" : "0");
    }

    .post-head {
        height: 20vw;
    }

    .post-body {
        height: 25vw;
        max-height: 25vw;
        line-height: 5vw;
    }

    .read-more {
        height: 12vw;
        padding: 0px;
    }

    .post-body {
        margin: 0 0 15px;
    }

    .swiper-container {
        width: 75%;
        margin: 0 auto;
    }
}
