.archive-page{
    margin-top: 30px;
}
.box-top{
    margin-bottom: 40px;
}
.archive_title{
    font-size: 28px;
}
.archive_description p{
    color:rgba(64, 26, 8, 0.9)
}
.post_item{
    /* padding: 12px; */
}
.post_item:hover{
    /* border-radius:16px ;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    cursor: pointer; */
}
.post_thumb img{
    border-radius: 12px;
}
.post_thumb .icon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
    opacity: 0.6;
    width: 48px;
    height: 48px;
}
.post-excerpt{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
            line-clamp: 3; 
    -webkit-box-orient: vertical;
}
.post-link a{
    color: var(--primary-background-color);
    text-decoration: underline;
}
.post-link a:hover{
    color: var(--primary-background-color);
}
.cs-pagination{
    justify-content: center
}
.cs-pagination .nav-links .page-numbers{
    background-color: #fff;
    border: solid 1px #F1F1F1;
    border-radius: 10px;
    width: 40.73px;
    height: 40.73px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-background-color);
}
.cs-pagination .nav-links .page-numbers:hover{
    background-color: #F1F1F1;
}
.cs-pagination .nav-links .page-numbers.current{
    background-color: var(--primary-background-color);
    color: #fff;
    border: solid 1px var(--primary-background-color);
}
/* Related post */
.post_item .post_thumb {
    /* height: 272px; */
    overflow: hidden;
}

.post_item .wp-post-image {
    height: 100%;
    object-position: top;
    object-fit: cover;
    aspect-ratio: 1.4/1;
}

.preview-thumb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 150px;
    width: 100%;
}

.post_info {
    /* overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical; */
}
.archive-page .box-head::after {
    display: none;
}

.archive-page #breadcrumbs span span {
    text-transform: uppercase;
    font-weight: 700;
    color: #8D9092;
}

.archive-page #breadcrumbs span a {
    color: #8D9092;
}

.archive-page #breadcrumbs span.breadcrumb_last {
    color: #000;
}

.featured-posts {
    display: flex;
}

.first-post .post-item.large {
    width: 100%;
    height: 100%;
}

.other-posts {
    display: flex;
    flex-direction: column;
}

.post-item.small {
    flex: 1;
    /* Chia đều 3 bài còn lại */
}

.post-item.large .post_thumb img {
    max-height: 340px;
    height: 100%;
}

.post-item.large .post_meta,
.post-item.large .post-link,
.post-item.small .post-link {
    /* display: none; */
}

.other-post .post_meta {
    /* display: none; */

}

.post-item.small article {
    display: flex;
    gap: 20px;
}

.post-item.small .post_thumb {
    max-width: 242px;
    width: 100%;
    margin-bottom: 0 !important;
}

.post-item.small .post_thumb img {
    max-height: 145px;
    height: 100%;


}

.post-item.small .post_meta {
    font-size: 14px;
}

.featured-posts .post-excerpt {
    color: #000 !important;
    font-size: 15px;
}

.other-post .post_item {
    /* border-radius: 20px;
    background: #FAFAFA; */
}

.featured-posts .post_item:hover {
    box-shadow: none;
}
/* Popup form dịch vụ */
/* .postModal  .devvn-popup-inner{
    max-width: 750px !important;
} */
/* .postModal  .modal-body{
    display: flex;
    
}
.postModal  .modal-body .modal-form ,.postModal  .modal-body .modal-info{
    flex: 1
    ;
} */
.archive-dichvu .box-cate{
    margin-bottom: 100px;
}
.postModal  .modal-body .modal-form input{
    height: auto;
    border: solid 1px #8D9092;
    border-radius: 0;
    margin-bottom: 0;
    padding: 10px !important;
}
.postModal  .modal-body .modal-form textarea{
    border: solid 1px #8D9092;
    border-radius: 0;
    min-height: 50px;
    max-height: 100px;
    padding: 10px !important;
}
.archive-dichvu .post_item .action-btn-box .devvn_buy_now_style,.post_item  .action-btn-box .btn-lh{
    height: 40px;
}
.archive-dichvu .post-title{
    margin: 30px 0 !important;
}
.postModal .modal-body .modal-form input[type="submit"]{
    width: fit-content;
    min-width: 100px;
    padding: 0 !important;
}
@media screen and (min-width:990px) {
    .featured-posts {
        padding-bottom: 30px;
        border-bottom: solid 1px rgba(211, 208, 208, 0.40);
    }

    .other-posts {
       
    }
}
@media screen and (max-width:768px) {
    .post_item .post_thumb {
        height: 100%;
    }
}