.category .categories .content-category-post,
.archive.author .content-category-post {
    padding-bottom: 20px;
}
.category .post-category, .archive.author .post-category {
   width: 100%;
   margin-bottom: 20px;
   padding-bottom: 20px;
   position: relative;
}
.category .post-category:after, .archive.author .post-category:after {
    content:'';display: block; width: calc( 100% - 30px); left: 15px;
    border-bottom: 1px dashed #ccc; bottom: 0; position: absolute;
}
.category .post-category .avt-post-category a, .archive.author .post-category .avt-post-category a {
    display: block;
    position: relative;
    overflow: hidden;
    border: 1px solid #ccc;
}
.category .post-category .avt-post-category a:before,
.archive.author .post-category .avt-post-category a:before {
    content: '';
    display: block;
    padding-bottom: 66.66%;
}
.category .post-category .col-4, .archive.author .post-category .col-4 {
    position: relative;
    padding-right: 15px;
    padding-left: 15px; 
}
.category .avt-post-category figure, .archive.author .avt-post-category figure {
    overflow: hidden;
}
.category .avt-post-category img, .archive.author .avt-post-category img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    padding: 5px;
}
.category .avt-post-category img:hover, .archive.author .avt-post-category img:hover {
    transform: scale(1.1);
    transition: .3s;
}
.category .post-category .title-category-post, .archive.author .post-category .title-category-post {
    margin-bottom: 10px;
}
.category .post-category .title-category-post a.post_title,
.archive.author .post-category .title-category-post a.post_title {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333; text-decoration: none;
}
.category .post-category .title-category-post a.post_title:hover,
.archive.author .post-category .title-category-post a.post_title:hover {
    color: #ff0000
}
.category .post-category .meta, .archive.author .post-category .meta {
    color: #a2a2a2;
    padding-bottom: 10px;
    font-size: 14px;
}
.category .content-category-post .pagination, .archive.author .content-category-post .pagination {
    margin-left: 20px;
}
.content-category-post .nav-links {
    display: flex;
    justify-content: center;
}
.content-category-post .nav-links span.page-numbers.current{
    background: #ca2030;
    color: #fff;
    padding: 7px;
}
.content-category-post .nav-links a.page-numbers{
    background: #3d8c03;
    color: #fff;
    padding: 7px;
    margin: 0 2px;

}
@media (max-width: 1024px) {
    .post-category .avt-post-category a {
        border:none;
    }
    .post-category {
        margin-bottom: 10px; padding-bottom: 10px;
    }
    .post-category:after {
        width: 100%; left: 0; transform: none
    }
    .post-category .title-category-post {
        font-size: 1.1rem;
    }
    .title-category h1 {
        text-align: left;
    }
}
@media (max-width: 650px){
    .categories .content-category-post{
        padding-left: 0;
    }
    .post-category .col-8{
        position: relative;
        padding-right: 15px;
        padding-left: 15px; 
    }
    .category #primary, .archive.author #primary {
        padding:0 10px;
    }
}