.custom-select__wrapper {
    position: relative;
    display: flex;
    gap: 15px;
    align-items: center;
}

.custom-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-width: 320px;
    padding: 14px 18px 14px 16px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(17, 20, 39, 0.02), 0 7px 7px 0 rgba(17, 20, 39, 0.02), 0 16px 9px 0 rgba(17, 20, 39, 0.01), 0 28px 11px 0 rgba(17, 20, 39, 0), 0 43px 12px 0 rgba(17, 20, 39, 0);
    background: #FFF;
}

.blog-filter__item-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-filter__item-author img {
    border-radius: 100%;
    width: 46px;
    height: 46px;
    object-fit: cover;
}

.blog-filter__item-author-name {
    color: #000;
    font-size: 16px;
}

.custom-select__options {
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-radius: 10px;
    padding: 14px 18px 14px 16px;
    z-index: 999;
    box-shadow: 0 2px 4px 0 rgba(17, 20, 39, 0.02), 0 7px 7px 0 rgba(17, 20, 39, 0.02), 0 16px 9px 0 rgba(17, 20, 39, 0.01), 0 28px 11px 0 rgba(17, 20, 39, 0), 0 43px 12px 0 rgba(17, 20, 39, 0);
    transition: all 0.3s ease;
    margin-top: 17px;
    min-width: 250px;
}

.select-options-opened .custom-select__options{
    opacity: 1;
    pointer-events: auto;
}

.custom-select__icon {
    transition: all 0.5s ease;
}

.select-options-opened  .custom-select__icon {
    transform: rotateX(180deg);
}

.custom-select__option {
    border: 2px solid transparent;
    border-radius: 38px;
    padding: 8px 16px;
    font-weight: 700;
    color: #484851;
    transition: all 0.3s ease;
}

.custom-select__option.selected {
    border: 2px solid #484851;
}

.custom-select__option:hover {
    border: 2px solid #484851;
}

/* Select END */

.blog-filter__wrapper {
    background: #FFF;
    padding: 80px;
    border-radius: 40px;
}

.blog-filter__heading {
    color: #202029;
}

.blog-filter__top {
    margin-bottom: 42px;
    display: flex;
    align-items: center;
    gap: 100px;
    justify-content: space-between;
}

.blog-filter__item {
    border-radius: 20px;
    border: 1px solid #FF5A46;
    overflow: hidden;
}

.blog-filter__image-wrapper {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.blog-filter__image {
    width: 100%;
    height: 255px;
    object-fit: contain;
    object-position: top;
}

.blog-filter__item-content {
    padding: 0 25px 25px 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-filter__link {
    position: absolute;
    width: 100%;
    height: 100%;
}

.blog-filter__item-category {
    display: flex;
    column-gap: 10px;
    row-gap: 0;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.blog-filter__category-link {
    color: #000;
}


.blog-filter__item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}

.blog-filter__item-reading-time {
    color: #000;
    font-weight: 300;
    border: 1px solid #000;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    min-width: fit-content;
}

.blog-filter__item-heading {
    color: #000;
    flex-basis: 100%;
    margin-bottom: 15px;
}

.blog-filter__item-link {
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: #FF5A46;
}

.blog-filter__item-meta {
    display: flex;
    justify-content: space-between;
}

.blog-filter__item-date {
    color: #484851;
}


.blog-filter__item {
    display: flex;
    flex-direction: column;
    flex-basis: calc((100% - 60px ) / 3);
}

.blog-filter__posts {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.blog-filter__top-bar {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
    border-radius: 16px;
    background: #F1F4F9;
    padding: 15px 20px 12px 20px;
    margin-bottom: 37px;
}


.custom-select__heading {
    color: #202029;
}

.custom-select__current {
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: #202029;
}
/* Search */

.blog-filter__wrapper #ajaxsearchlite1 .probox, div.asl_w .probox {
    background: #FFF;
    padding: 3px 0 3px 16px;
    border-radius: 8px;
    height: fit-content;
    align-items: center;
    box-sizing: border-box;
    min-width: 268px;
}

.blog-filter__wrapper #ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input::placeholder {
    color: #484851!important;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6!important;
    letter-spacing: 0.02em;
    font-family: 'HelveticaNeueCyr', sans-serif;
}

.blog-filter__wrapper  #ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input {
    height: auto;
}

.blog-filter__wrapper div.asl_w {
    background: none;
    max-width: 268px;
    border-radius: 8px;
}

.blog-filter__wrapper #ajaxsearchlite1 .probox .proinput, div.asl_w .probox .proinput {
    margin: 0;
    padding: 0;
    flex-shrink: 1;
    flex-grow: 0;
    width: fit-content;
}


.blog-filter__wrapper div.asl_w .probox .promagnifier {
    background: #FFF;
    width: 48px;
    height: 48px;
}

.blog-filter__wrapper div.asl_m .probox .promagnifier .innericon {
    display: flex!important;
    align-items: center;
    justify-content: center;
}

.blog-filter__wrapper div.asl_w .probox .promagnifier .innericon svg {
    fill: #202029;
    width: 26px;
    height: 26px;
}

.blog-filter__wrapper div.asl_m .probox .proinput form {
    display: flex!important;
}

 div.asl_r.vertical .results,
 div.asl_r.vertical {
    border-radius: 8px!important;
}

.blog-filter__wrapper div.asl_m .probox .proinput input.autocomplete {
    display: none;
}
/* Search */

@media screen and (max-width: 1199.98px) {
    .blog-filter__wrapper {
        padding: 60px;
    }

    .blog-filter__item {
        flex-basis: calc((100% - 30px) / 2);
    }
}

@media screen and (max-width: 1023.98px) {
    .blog-filter__image {
        height: auto;
    }


    .blog-filter__wrapper #ajaxsearchlite1 .probox, div.asl_w .probox {
        min-width: fit-content;
    }

    .blog-filter__wrapper {
        padding: 40px;
    }

    .blog-filter__top {
        margin-bottom: 25px;
    }

    .blog-filter__navigation {
        display: none;
    }

    .blog-filter__image-wrapper {
        margin-bottom: 20px;
    }

    .blog-filter__wrapper {
        border-radius: 20px;
    }

    .blog-filter__item-top {
        gap: 20px;
    }

    .custom-select {
        gap: 20px;
        min-width: auto;
        width: 100%;
    }


    .custom-select__options {
        margin-top: 10px;
    }

    .blog-filter__top-bar {
        margin-bottom: 25px;
    }

    .blog-filter__posts {
        gap: 17px;
    }

    .custom-select__option {
        padding: 5px 10px;
    }
}

@media screen and (max-width: 767.98px) {
    .blog-filter__top-bar {
        flex-direction: column-reverse;
        gap: 14px;
        align-items: flex-start;
        padding: 15px;
        margin-bottom: 20px;
    }


    .custom-select__wrapper {
        flex-basis: 100%;
        width: 100%;
        flex-grow: 1;
    }

    .blog-filter__search-form {
        width: 100%;
    }

    .blog-filter__wrapper #ajaxsearchlite1 .probox .proinput, div.asl_w .probox .proinput {
        margin-right: auto;
    }

    .blog-filter__wrapper div.asl_w {
        max-width: 100%;
    }

    .blog-filter__wrapper #ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input::placeholder {
        font-size: 16px;
    }

    .blog-filter__wrapper div.asl_w .probox .promagnifier {
        width: 24px;
        height: 24px;
    }

    .blog-filter__wrapper #ajaxsearchlite1 .probox, div.asl_w .probox {
        padding: 8px 18px 8px 16px;
    }

    .custom-select {
        padding: 8px 18px 8px 16px;
    }

    .custom-select__icon,
    div.asl_w .probox .proclose{
        width: 24px;
        height: 24px;
    }

    .custom-select__wrapper {
        gap: 24px;
    }
}


@media screen and (max-width: 599.98px) {
    .blog-filter__wrapper {
        padding: 40px 25px;
    }

    .blog-filter__item {
        flex-basis: 100%
    }

    .blog-filter__image {
        min-height: 208px;
    }

    .blog-filter__item-content {
        padding: 0 15px 20px 15px;
    }

    .blog-filter__item-reading-time {
        font-size: 16px;
    }

    .custom-select__options {
        min-width: 200px;
        padding: 10px;
    }
}