.posts_archive {
    position: relative;
}

.posts_archive:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 500px;
    /* background: #f2f5f7; */
    z-index: -1;
    background: url(/wp-content/themes/abagency/assets/images/decor-background.webp);
    opacity: .3;
}

.posts_archive-top {
    padding: 50px 0 50px;
}

.posts_archive_categories-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
    flex-wrap: wrap;
    margin: 30px 0 30px;
    row-gap: 10px;
}

.posts_archive_categories-item {
    min-width: fit-content;
}

.posts_archive_categories-item a {
    position: relative;
    display: flex;
    align-items: center;
    color: #9a9a9a;
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -ms-transition: all .3s linear;
    -o-transition: all .3s linear;
    margin-right: 5px;
}

.posts_archive_categories-item a svg {
    margin-right: 7px;
}

.posts_archive_categories-item a svg path {
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -ms-transition: all .3s linear;
    -o-transition: all .3s linear;
}

.posts_archive_categories-item .active {
    color: var(--accent-color);
}

.posts_archive_categories-item .active svg path {
    stroke: var(--accent-color);
}

.posts_archive_categories-item a:hover {
    color: var(--accent-color);
}

.posts_archive_categories-item a:hover svg path {
    stroke: var(--accent-color);
}

.posts_archive-posts {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 30px;
}

.post_card {
    flex: 1 370px;
    max-width: 400px;
    position: relative;
    margin-bottom: 30px;
}

.post_card > a {
    margin-right: 20px;
    display: block;
}

.post_card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.post_card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all .7s ease-in;
}

.post_card:hover .post_card-image img {
    transform: scale(1.1);
}

.post_card-category {
    position: absolute;
    top: 180px;
    right: -70px;
    width: 150px;
    height: 20px;
    font-size: 12px;
    transform: rotateZ(-90deg);
}

.post_card-content {
    position: relative;
    padding: 20px 0;
}

.post_card-content__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 5px 0 15px;
    line-height: 1.2;
}

.post_card-content__readmore {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.post_card:hover .post_card-content__readmore {
    color: var(--accent-color);
}

.post_card-content__readmore span {
    display: block;
    position: relative;
    transition: width .3s ease;
    height: 0;
    width: 2.5rem;
    border-top: 2px solid;
    transform: translateZ(0);
    margin-top: 3px;
    margin-left: 15px;
}

.post_card-content__readmore span:after {
    content: "";
    position: absolute;
    top: -1px;
    left: 100%;
    margin-left: -6px;
    border: 2px solid;
    border-bottom-width: 0;
    border-left-width: 0;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    transform-origin: top right;
}

.post_card:hover .post_card-content__readmore span {
    width: 6.25rem;
}