﻿.viewcat-grid h1,
.viewcat-page h1{
    font-size: 28px;
    font-weight: 400;
    color: #2267af;
    margin-bottom: 10px;
}

.list-subcat{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.list-subcat a{
    position: relative;
    background-color: #fff;
    border: 1px solid #2267af;
    font-size: 14px;
    color: #2267af;
    padding: 5px 8px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.list-subcat a:hover{
    background-color: #2267af;
    color: #fff;
}

.viewcat-content{
    column-gap: 40px;
    row-gap: 20px;
}

.viewcat-content .list-news-item{
    position: relative;
    width: calc(50% - 20px);
}

.viewcat-content .list-news-item:nth-child(2n + 1):before{
    position: absolute;
    content: '';
    background-color: #ddd;
    width: 1px;
    height: 100%;
    top: 0;
    right: -20px;
}

.viewcat-content .list-news-item h2{
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    margin: 10px 0 6px;
}

.viewcat-content .list-news-item h2 a{
    color: #111;
}

.viewcat-content .list-news-item:hover h2 a{
    color: #2267AF;
    text-decoration: underline;
}

.viewcat-content .list-news-item p{
    margin-bottom: 2px;
}

.news-detail-header{
    position: relative;
    margin-bottom: 10px;
}

.news-detail-header h1{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0000006b;
    color: #fff;
    padding: 10px 15px;
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    z-index: 99;
}

.news-detail-header .socialbutton{
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.news-author{
    position: relative;
    display: flex;
    align-items: center;
}

.news-author:before{
    position: absolute;
    content: '';
    width: 2px;
    height: 120px;
    top: 50%;
    transform: translateY(-50%);
    left: 190px;
    background-color: #eee;
}

.news-author img{
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.news-author .author-content{
    padding-left: 80px;
}

.news-author .author-title{
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 10px;
}

@media (max-width: 767.98px) {
    .news-author{
        flex-wrap: wrap;
        justify-content: center;
    }

    .news-author:before{
        display: none;
    }

    .news-author .author-content{
        padding: 10px;
        text-align: center;
    }
}
