﻿
.viewcat-page-item{
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
}

.viewcat-page-item .viewcat-page-thumb{
    display: inline-block;
    max-width: 280px;
    max-height: 180px;
    border-radius: 8px;
    margin-right: 15px;
    float: left;
    overflow: hidden;
}

.viewcat-page-item .viewcat-page-thumb img{
    width: 100%;
}

.viewcat-page-item h2,
.viewcat-page-item h3{
    font-size: 20px;
    margin-bottom: 5px;
}

.viewcat-page-item .publtime{
    color: #555;
    margin-bottom: 10px;
}

.viewcat-page-item p{
    margin: 0;
}

.viewcat-grid-item{
    position: relative;
    margin-bottom: 25px;
}

.viewcat-grid-item .publtime{
    position: relative;
    margin-top: 10px;
    color: #555;
    font-size: 14px;
}

.viewcat-grid-item .publtime:before{
    content: '';
    height: 2px;
    width: 14px;
    display: inline-block;
    background-color: #28974d;
    margin-right: 10px;
    vertical-align: middle;
}

.grid-item-thumb{
    position: relative;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    padding-top: 60%;
}

.grid-item-thumb img{
    right: 0;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
}

.viewcat-grid-item h2,
.viewcat-grid-item h3{
    font-size: 18px;
    margin: 5px 0 8px;
}

.post-header {
    margin-bottom: 15px;
    position: relative;
}

.head-thumbnail {
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.head-thumbnail:before {
    position: absolute;
    left: 0;
    top: 0;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(90deg, #2c2c2ca8 0, #000000db 100%));
    background: -o-linear-gradient(90deg, #2c2c2ca8 0, #000000db 100%);
    background: linear-gradient(90deg, #2c2c2ca8 0, #000000db 100%);
    content: "";
    width: 100%;
    height: 100%;
    opacity: 0.83;
}

.head-thumbnail img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.head-desc {
    position: absolute;
    bottom: 0;
    padding: 40px;
    width: 100%;
}

.head-desc .post-title {
    font-size: 25px;
    margin: 15px 0;
    color: #fff;
}

.head-desc .entry-meta span {
    color: #fff;
    font-size: 14px;
    margin-right: 10px;
}

.head-desc .entry-meta a {
    color: #fff;
}

.post-author img {
    width: 20px;
    height: 20px;
    border-radius: 100px;
    background: #dde8f0;
    vertical-align: middle;
    margin-right: 5px;
}

.news-detail .image-center img{
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.keywords{
    font-size: 13px;
}

.keywords a{
    color: #333;
}

.RelatedPosts{
    position: relative;
    margin-bottom: 25px;
}

.RelatedPosts .heading {
    margin: 30px 0 20px;
    padding: 10px 15px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    background-color: #2869970d;
    border-left: 3px solid #f7b826;
    padding-left: 15px;
    border-radius: 8px;
}

.RelatedPosts ul {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.RelatedPosts .lk_image {
    width: 110px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    float: left;
    margin-right: 15px;
}

.RelatedPosts .lk_image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.RelatedPosts .lk_description h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.RelatedPosts .lk_meta span {
    display: inline-block;
    font-size: 13px;
    margin-right: 5px;
    color: #999;
}

@media (max-width: 767.98px) {
    .head-desc{
        padding: 0 10px 30px;
    }

    .head-desc .post-title{
        font-size: 22px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .head-desc .entry-meta span{
        font-size: 13px;
    }

    .RelatedPosts ul{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (max-width: 499.98px) {
    .viewcat-page-item .viewcat-page-thumb{
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
}



