.archive.category #sidebar ul {
    padding-left: 0 !important;
    list-style: none;
}

#sidebar form[role="search"] {
    display: none;
}

.nav-links {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.nav-links .nav-next,
.nav-links .nav-previous {
    margin: 0 15px;
}

.post_category {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 15px;
}

.post_cat_item .post_img_wrapper {
    position: relative;
}

.post_cat_item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: 0.22s;
}

a.post_cat_item:hover img {
    transform: scale(1.5);
}

a.post_cat_item .post_img_wrapper {
    position: relative;
    overflow: hidden;
}

.title_wrapper {
    min-height: 60%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    z-index: 2;
}

.title_wrapper span {
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: var(--white-color) !important;
    width: 100%;
    display: block;
}

.post_cat_item h2 {
    font-style: italic;
    font-weight: 900;
    font-size: clamp(1.8rem, calc(1.8rem + (3 - 1.8) * ((100vw - 32rem) / (192 - 32))), 3rem);
    min-height: 0vw;
    line-height: 1.3;
    text-align: center;
    color: var(--white-color);
    top: 0;
    z-index: 100;
    position: relative;
}

.post_cat_item .entry {
    background: var(--black-color);
    padding: clamp(1.5rem, calc(1.5rem + (3 - 1.5) * ((100vw - 32rem) / (192 - 32))), 3rem);
    font-size: 16px;
    color: var(--white-color);
}

.post_cat_item .entry p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines to show */
    -webkit-box-orient: vertical;
    margin-bottom: 0 !important;
}

.post_img_wrapper:before {
    position: absolute;
    content: '';
    background: #0000007a;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.post_img_wrapper {
    position: relative;
}

#sidebar h2 {
    font-size: 20px;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
}

#sidebar h2:after {
    position: absolute;
    content: '';
    width: 100%;
    display: block;
    top: 0;
    left: -10px;
    height: 16px;
    z-index: -1;
    background: var(--WB_green);
}

h1.entry-title {
    color: #000;
    font-style: italic;
    font-weight: 800;
}

@media (min-width: 992px) {
    #sidebar h2:after {
        left: -20px;
    }
    #sidebar h2 {
        font-size: 24px;
    }
    h1.entry-title {
        font-size: 38px;
    }
    .post_category {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

#sidebar ul.wp-block-latest-posts__list.wp-block-latest-posts li {
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}