﻿.archive_template_grid_proportional_wrapper .whitebox-vertical_image-title-excerpt-button:not(:nth-last-of-type(-n+2)) {
    margin-bottom: 50px;
}
.whitebox-vertical_image-title-excerpt-button__wrap {
    position: relative;
    overflow: hidden;
}
.whitebox-vertical_image-title-excerpt-button__wrap .item_whitebox_vertical_image {
    height: 260px;
    background-color: #ededed;
}
.whitebox-vertical_image-title-excerpt-button__wrap .item_whitebox_vertical_image > img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.whitebox-vertical_image-title-excerpt-button__wrap .loop_post_content {
    position: relative;
    min-height: 245px;
    padding: 30px 40px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.whitebox-vertical_image-title-excerpt-button__wrap .loop_post_content,
.whitebox-vertical_image-title-excerpt-button__wrap .loop_post_title {
    color: #171717;
}
.is_label .loop_post_title {
    width: 85%;
}
.whitebox-vertical_image-title-excerpt-button__description {
    font-size: 14px;
    line-height: 22px;
    font-weight: 300;
}
.whitebox-vertical_image-title-excerpt-button__btn-wrap .btn {
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    color: #171717;
    border: 1px solid #cacaca;
    border-radius: 4px;
}
.whitebox-vertical_image-title-excerpt-button__btn-wrap .btn:hover {
    color: #000;
    border: 1px solid #171717;
}
.whitebox-vertical_image-title-excerpt-button__label {
    position: absolute;
    right: 40px;
    top: 30px;
}
.whitebox-vertical_image-title-excerpt-button__label-new {
    display: inline-block;
    padding: 7px 9px;
    font-size: 14px;
    line-height: 1;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background: #4caf50;
    border: 1px solid currentColor;
    border-radius: 4px;
}
.rtl .whitebox-vertical_image-title-excerpt-button__label {
    left: 40px;
    right: initial;
}
.am_category_expired {
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.5);
}
.am_category_expired_text {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    background: #d0d0d0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.am_category_expired + a .item_whitebox_vertical_image > img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (max-width: 992px) {
    .archive_template_grid_proportional_wrapper {
        margin-bottom: 5px;
    }
    .archive_template_grid_proportional_wrapper .whitebox-vertical_image-title-excerpt-button:not(:nth-last-of-type(-n+2)) {
        margin-bottom: 25px;
    }
    .whitebox-vertical_image-title-excerpt-button__wrap .loop_post_content {
        padding: 1.2rem 1.4rem;
    }
    .whitebox-vertical_image-title-excerpt-button__wrap .item_whitebox_vertical_image {
        height: 190px;
    }
    .whitebox-vertical_image-title-excerpt-button__wrap .loop_post_title {
        font-size: 16px;
    }
    .is_label .loop_post_title {
        width: 80%;
    }
    .whitebox-vertical_image-title-excerpt-button__label {
        top: 20px;
        right: 20px;
    }
    .rtl .whitebox-vertical_image-title-excerpt-button__label {
        left: 20px;
        right: initial;
    }
    .archive_template_grid_proportional_wrapper .wp-pagenavi {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}
@media (max-width: 767px) {
    .is_label .loop_post_title {
        width: 100%;
    }
    .whitebox-vertical_image-title-excerpt-button__label {
        position: initial;
        margin-bottom: 10px;
    }
    .whitebox-vertical_image-title-excerpt-button__label + div {
        margin-bottom: auto;
    }
    .whitebox-vertical_image-title-excerpt-button__label-new {
        font-size: 12px;
    }
}
@media (max-width: 576px) {
    .archive_template_grid_proportional_wrapper .whitebox-vertical_image-title-excerpt-button:not(:last-of-type) {
        margin-bottom: 15px;
    }
    .whitebox-vertical_image-title-excerpt-button__wrap .loop_post_content {
        min-height: auto;
        padding: 1rem;
    }
}
