.news-top {
    padding: 138px 0 0;
}

.news-top .wrapper {
    border-bottom: 1px solid #000000;
    padding: 0 0 36px;
}

.news-top__title {
    font-size: 38px;
    font-weight: 500;
    max-width: 824px;
    line-height: 1.2;
    margin: 14px 0 0;
}

.news-top__button {
    margin: 45px 0 0;
}

.news {
    margin-top: 42px;
}

.news__wrapper {
    display: flex;
    justify-content: space-between;
}

#news__filter-form {
   position: relative;
    min-width: 210px;
}
select#filter-term-tag,
select#filter-term {
    color: #3888FF;
    font-size: 16px;
    font-weight: normal;
    padding: 13px 16px 13px 20px;
    border: 1px solid #3888FF;
    border-radius: 60px;
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.07099 6.07609L12.021 1.12609C12.1132 1.03058 12.2236 0.954397 12.3456 0.901988C12.4676 0.849579 12.5988 0.821992 12.7316 0.820839C12.8644 0.819685 12.996 0.844986 13.1189 0.895267C13.2418 0.945548 13.3535 1.0198 13.4474 1.11369C13.5413 1.20759 13.6155 1.31924 13.6658 1.44213C13.7161 1.56503 13.7414 1.69671 13.7402 1.82949C13.7391 1.96227 13.7115 2.09349 13.6591 2.21549C13.6067 2.3375 13.5305 2.44784 13.435 2.54009L7.77799 8.19709C7.59046 8.38456 7.33616 8.48988 7.07099 8.48988C6.80583 8.48988 6.55152 8.38456 6.36399 8.19709L0.706991 2.54009C0.611481 2.44784 0.535299 2.3375 0.48289 2.21549C0.430481 2.09349 0.402894 1.96227 0.401741 1.82949C0.400587 1.69671 0.425889 1.56503 0.476169 1.44213C0.52645 1.31924 0.600703 1.20759 0.694596 1.11369C0.788489 1.0198 0.900141 0.945548 1.02304 0.895267C1.14593 0.844986 1.27761 0.819685 1.41039 0.820839C1.54317 0.821992 1.67439 0.849579 1.7964 0.901988C1.9184 0.954397 2.02874 1.03058 2.12099 1.12609L7.07099 6.07609Z' fill='%233888FF'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: 90% 50%;
}

option {
    width: 100%;
}

.news__search {
    display: flex;
    align-items: center;
}

#news__search-form {
    display: flex;
    align-items: center;
}

.news__label-text {
    display: flex;
    align-items: center;
}

#news__search-form input[type="text"] {
    border: none;
    width: 54px;
    font-size: 16px;
}

#news__search-submit {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 17.2251L21 21.2251' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 11.2251C3 15.6434 6.58172 19.2251 11 19.2251C13.213 19.2251 15.2161 18.3266 16.6644 16.8744C18.1077 15.4273 19 13.4304 19 11.2251C19 6.80682 15.4183 3.2251 11 3.2251C6.58172 3.2251 3 6.80682 3 11.2251Z' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 24px 24px;
    border: none;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    cursor: pointer;
    font-size: 0;
    padding: 0;
}

.news__list {
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin: 54px 0 0;
}

.news__list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news__list-item-category {
    background-color: #3888FF;
    position: absolute;
    margin-top: 15px;
    color: #ffffff;
    text-transform: uppercase;
    padding: 10px 20px 10px 10px;
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.5;
}

.news__list-item-thumbnail {
    max-width: 500px;
    max-height: 450px;
    overflow: hidden;
}

.news__list-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news__list-item-block-text {
    max-width: 546px;
}

.news__list-item-title {
    font-size: 38px;
    line-height: 1.2;
}

.news__list-item-block-text p {
    margin: 42px 0 0;
}

.news__list-item-link--txt {
    color: #0094FF;
    font-weight: 600;
    text-transform: capitalize;
    margin: 18px 0 0;
    display: inline-block;
}

.see-rectangle {
    background-image: url('/wp-content/themes/thetaray/css/../images/subscribe-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 77px 0 79px;
    color: #fff;
}


@media screen and (max-width: 1150px) {
    .news__list-item {
        gap: 15px;
    }
}


@media screen and (max-width: 991px) {
    .news-top {
        padding: 90px 0 0;
    }

    .news-top .wrapper {
        padding: 0 0 24px;
        box-sizing: border-box;
        margin: 0 15px;
    }

    .news-top__title {
        font-size: 26px;
    }

    .news-top__button {
        margin: 25px 0 0;
    }

    .news {
        margin-top: 21px;
    }

    .news__wrapper {
        flex-direction: column-reverse;
        gap: 15px;
    }


    select#filter-term {background-position: 95% 50%;}

    #news__search-form input[type="text"] {
        width: 100%;
    }

    .news__label-text {
        width: 100%;
    }

    #news__search-form {
        width: 100%;
    }

    .news__list {
        margin: 26px 0 0;
        gap: 50px;
    }

    .news__list-item {
        flex-direction: column;
    }

    .news__list-item-block-text {
        max-width: 500px;
        margin: 19px 0 0;
    }

    .news__list-item-link--txt {
        font-size: 16px;
        font-weight: normal;
        margin: 13px 0 0;
    }

    .news__list-item-title {
        font-size: 20px;
        line-height: 1.4;
        font-weight: 600;
    }

    .news__list-item-block-text p {
        display: none;
    }

    .see-rectangle {
        margin-top: 50px;
        padding: 50px 15px;
        box-sizing: border-box;
        background-image: url('/wp-content/themes/thetaray/css/../images/subscribe-bg-m.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
}