.page-blog .block-blog {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.075);
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 0;
    max-width: 100%;
    overflow: hidden;
    -webkit-transition-duration: .1s;
    transition-duration: .1s;
}

.page-blog .block-blog .blog-box-text {
    padding: 10px;
}

.page-blog .block-blog img {
    background: #f9f9f9;
}

.page-blog .block-blog h2 {
    font-size: 0.987rem;
    font-size: 0.9rem;
    direction: rtl;
    margin: 10px 0;
    font-weight: 500;
    height: 45px;
    line-height: 22px;
    color: #535353;
    max-width: 95%;
    overflow: hidden;
}

.page-blog .blog-box-image-row {
    width: 100%;
    height: 100%;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    max-width: 100%;
    position: relative;
}

.page-blog .blog-box-image-row img {
    width: 100%;
    /* height: 250px; */
    object-fit: cover;
}

.page-blog .blog-box-image-row .skeleton-text {
    width: 100%;
    height: 250px;
    background: #f6f7f8;
}

.page-blog .blog-box-datetime-row {
    width: 100%;
    text-align: right;
    font-size: 0.987rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #a8a8a8;
    fill: #a8a8a8;
}

.page-blog .blog-box-datetime-row .read__more {
    font-weight: 400;
    border-radius: 4px;
    border: none;
    line-height: 1;
    margin: 0 2px;
    padding: 9px 10px 8px;
    height: 33px;
    background: transparent;
    fill: #222222;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #ffd300;
    color: #222222;
}

.page-blog .blog-box-datetime-row .read__more svg {
    opacity: 0.7;
    margin-top: -2px;
}

.blog__sort {
    list-style: none;
    line-height: 42px;
    padding: 0;
    margin-top: 1px;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: start;
    justify-content: flex-start;
    min-height: 42px;
    margin: 0;
}

.blog__sort:before {
    display: inline-block;
    content: attr(data-label);
    color: #989898;
    margin-left: 5px;
    font-weight: 400;
    font-size: 0.897rem;
    font-size: 0.878rem;
    line-height: 21px;
    vertical-align: middle;
    white-space: nowrap;
}

.blog__sort li {
    display: inline-block;
    margin: 0 1px;
}

.blog__sort li a {
    display: block;
    padding: 4px 15px 4px;
    position: relative;
    font-weight: 400;
    font-size: 0.897rem;
    font-size: 0.878rem;
    line-height: 24px;
    border-radius: 30px;
    white-space: nowrap;
}

.blog__sort li a.active {
    pointer-events: none;
}

.blog__sort li a.active {
    background-color: var(--primary);
    color: var(--primary-reverse);
}

.block-blog .image__mask {
    transition: all .15s;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0;
    pointer-events: none;
    z-index: 3;
    /* background: -webkit-gradient(linear, left bottom, left top, from(#757575), to(transparent));
    background: linear-gradient(to top, #757575, transparent); */
}

.block-blog:hover .image__mask {
    height: 100%;
}

.block-blog .image__badge {
    transition: all .15s;
    position: absolute;
    top: -30px;
    left: 20px;
    z-index: 4;
    color: #fff;
    background-color: var(--secondary);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 50px;
}

.block-blog .image__fav {
    position: absolute;
    transition: all .15s;
    right: 0;
    bottom: -60px;
    left: 0;
    z-index: 4;
    color: #fff;
}

.block-blog:hover .image__fav {
    bottom: 17px;
}

.block-blog:hover .image__badge {
    top: 20px;
}

.blog_search__body {
    position: relative;
    z-index: 1;
}

.blog_search__form {
    height: 42px;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.blog_search__input {
    border: none;
    padding: 0 17px;
    background: #fff;
    width: 1px;
    -ms-flex-positive: 1;
    flex-grow: 1;
    font-size: 0.987rem;
    transition: color .15s;
    color: inherit;
}

.blog_search__button {
    border: none;
    padding: 0;
    background: #fff;
    -ms-flex-positive: 0;
    flex-grow: 0;
    width: 42px;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #bfbfbf;
    transition: fill .15s;
    font-size: 16px;
    position: relative;
}

.blog_search__button::after {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 2px;
    height: calc(100% - 24px);
    background: #d8d8d8;
}

.blog_search__border {
    position: absolute;
    pointer-events: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .15s, background .15s;
}

.blog_search__input~.blog_search__border {
    background: transparent;
    box-shadow: inset 0 0 0 2px #e5e5e5;
}

@media only screen and (max-width: 768px) {
    .page-blog .blog-box-image-row .skeleton-text {
        height: 190px;
    }

    .page-blog .block-blog {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}