﻿.viewcat-grid .viewcat-item {
    position: relative;
    padding: 20px;
    border: 1px solid #efefef;
    -webkit-box-shadow: 0 0 30px rgb(0 0 0 / 5%);
    -moz-box-shadow: 0 0 30px rgba(0,0,0,.05);
    -ms-box-shadow: 0 0 30px rgba(0,0,0,.05);
    box-shadow: 0 0 30px rgb(0 0 0 / 5%);
    border-radius: 8px;
    margin-bottom: 20px;
}

.viewcat-item .box-thumb {
    position: relative;
    height: auto;
    overflow: hidden;
    padding-top: 56%;
    background-position: 50% 50%;
    background-size: cover;
}

.viewcat-item .box-thumb img {
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    transform: translateZ(0);
    transition: filter .6s, opacity .6s, transform .6s, box-shadow .3s;
}

.viewcat-item:hover .box-thumb img {
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.viewcat-item .category-name {
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.viewcat-item .category-name a {
    color: #666;
}

.viewcat-item h2,
.viewcat-item h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    margin: 5px 0 10px;
    min-height: 44px;
}

.viewcat-item h2 a,
.viewcat-item h3 a {
    color: #000;
}

.viewcat-item h2:hover a,
.viewcat-item h3:hover a {
    color: #f9cd1f;
}

.viewcat-item p {
    margin: 0;
}

.news-detail h2{
    font-size: 18px;
    margin: 10px 0;
}

.news-detail h3{
    font-size: 16px;
    margin: 10px 0;
}

.other-news .h3{
    margin: 10px 0;
}

.other-news li{
    margin-bottom: 5px !important;
}

.other-news li a{
    color: #333;
    font-size: 16px;
}
