﻿/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

.viewcat-page-item{
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.viewcat-page-item:last-child{
    border: none;
    padding: 0;
}

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

.viewcat-page-item img{
    height: 140px;
    border-radius: 6px;
    margin-right: 15px;
    object-fit: cover;
}

.detail-news h1{
    font-size: 24px;
}

.detail-news h2{
    font-size: 22px;
    margin-bottom: 5px;
}

.detail-news h3{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.detail-news .h5{
    font-size: 15px;
}

.other-news .other-news-head {
    margin: 30px 0 20px;
    padding: 8px 15px;
    font-size: 18px;
    font-weight: 500;
    background-color: #2869970d;
    border-left: 4px solid #0c6cb4;
    padding-left: 15px;
}

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

.other-news ul li img {
    width: 110px;
    height: 70px;
    border-radius: 6px;
    margin-right: 12px;
    -o-object-fit: cover;
    object-fit: cover;
}

.other-news ul h4 {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.other-news .pubtime {
    color: #555;
    margin-top: 4px;
    font-size: 14px;
}

.groups-list li{
    margin-bottom: 15px !important;
    line-height: 1.3;
}

.groups-list li img{
    border-radius: 6px;
    margin-right: 10px;
    height: 75px;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .viewcat-page-item img{
        width: 100%;
        height: 200px;
        margin: 0 0 10px 0;
    }
}