.archive-posts {
    padding: 0 12px;

    background-color: #fff;
}

.archive-page_title {
    text-transform: uppercase;
    padding-top: 20px;
    padding-bottom: 20px;
    font-weight: 700;
    letter-spacing: 3px;
}

.archive-sidebar h2 {
    line-height: 2rem;
    font-size: 1.2rem;
    padding-top: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
}

.archive-card_img {
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 180px;
}

.archive-posts .card:hover .archive-card_img {
    transform: scale(1.1);
    transition: all .5s;
}

.archive-posts .card {
    border: none;
    border-radius: 0;
    margin-bottom: 24px;
}

.archive-posts .card a.btn {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    border-radius: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.archive-posts .card a.btn:hover {
    background-color: rgb(202, 202, 202);
    color: rgb(0, 0, 0);
}

/*ПОСЛЕДНИЕ НОВОСТИ - САЙДБАР СПРАВА*/
.archive-sidebar {
    background-color: rgb(37, 115, 134);
}

.list-post .post-title h3 {
    color: #343a40;
    font-weight: 600;
    line-height: 1.4;
    font-size: .875rem;
}

.list-post .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-post .post-date {
    font-size: .625rem;
    color: #868e96;
}

.list-post:hover .post-title h3 {
    color: rgb(236, 113, 27);
    font-weight: 600;
    line-height: 1.4;
    font-size: .875rem;
}

/*  Дерево таксономий */
.tree-taxonomy {
    width: 972px;
}

#cat {
    width: 100%;
}

.block-post-card {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}



@media (min-width: 768px) and (max-width: 991px) {
    .block-post-card .post-card {
        width: 49%;
    }
}

@media (min-width: 768px) and (max-width: 1399px) {

    .archive-dynamic-sidebar .custom-html-widget,
    .archive-dynamic-sidebar img {
        width: 50% !important;
    }

    .archive-dynamic-sidebar .stuzhka-sidebar-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .archive-dynamic-sidebar .title-text {
        grid-column: 1 / span 2;
    }

    .archive-dynamic-sidebar .stuzhka-sidebar-wrapper .custom-html-widget,
    .archive-dynamic-sidebar .stuzhka-sidebar-wrapper img {
        width: 100% !important;
    }
}