

/* Start:/local/templates/negagroup-site/components/bitrix/search.page/main/style.css?17199210846649*/

.search__title {
    text-align: center;
    margin-bottom: 12px;
}
.catalog-card__img{
    object-fit: contain;
}
.search__result {
    text-align: center;
    font-size: 16px;
    line-height: 19px;
    color: #636B83;
    margin-bottom: 30px;
}

.search__tabs {
    display: flex;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid #DEDEDE;
    margin-bottom: 50px;
}

.search__tab {
    margin-right: 40px;
    font-size: 18px;
    line-height: 21px;
    color: #636B83;
    cursor: pointer;
    position: relative;
    padding-bottom: 8px;
    transition: all 0.3s;

}

.search__tab:last-child {
    margin-right: 0;
}

.search__tab::before {
    content: '';
    width: 0;
    height: 1px;
    background-color: #00305C;
    position: absolute;
    bottom: 0;
    transition: all 0.6s;
    left: 50%;
    right: 50%;
    opacity: 0;
}

.search__tab:hover {
    color: #00305C;
}

.search__tab:hover::before {
    width: 100%;
    left: 0;
    right: 0;
    opacity: 1;
}

.search__tab--active {
    color: #00305C;
}

.search__tab--active::before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #00305C;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1;
}

.search__content {
    margin-bottom: 100px;
}

.search__content-products .catalog-products__items {
    grid-template-columns: repeat(4, 1fr);
}

.search__content-products_btn {
    display: block;
    margin: 50px auto 0 auto;
    width: 285px;
}

.search__content-sections {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.search__content-sections_item {
    display: block;
    padding: 12px 16px;
    background: #F2F2F2;
    border-radius: 8px;
    font-size: 18px;
    line-height: 21px;
    color: #00305C;
    text-decoration: none;
    transition: all 0.3s;
}

.search__content-sections_item:hover {
    background: #F2F2F2;
    color: #29B7D0;
}

.search__content-articles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    /* grid-template-rows: repeat(auto-fit, 390px); */
}

.search__content-articles .article-card__wrap {
    margin: 0;
}

.search__content-promo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.search__not-found_wrap {
    margin: 0 auto;
    width: 50%;
    position: relative;
}

.search__not-found_input {
    width: 100%;
    padding: 14px 120px 14px 45px;
    border: 1px solid #DCE0E5;
    border-radius: 8px;
    transition: all 0.3s;
}

.search__not-found_btn {
    position: absolute;
    right: 0;
    font-size: 16px;
    padding: 14px 32px;
}

.search__not-found_wrap::before {
    content: '';
    background-image: url(/local/templates/negagroup-site/components/bitrix/search.page/main/../icons/header_search.svg);
    position: absolute;
    width: 22px;
    height: 22px;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.search__not-found_input:hover {
    box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.03);
}

.search__not-found_input:focus {
    outline: none;
    border: 1px solid #636B83;
}
.catalog-products__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
    column-gap: 30px;
    grid-template-rows: repeat(auto-fit, 310px);
}


.article-card__wrap {
    max-width: 302px;
    border: 1px solid #DCE0E5;
    border-radius: 8px;
    min-height: 358px;
    transition: all 0.3s;
    position: relative;
}

.article-card {
    display: block;
    text-decoration: none;
}

.article-card__img {
    width: 100%;
    border-radius: 7px 7px 0 0;
}

.article-card__content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    min-height: 202px;
}

.article-card__title {
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
    color: #00305C;
    margin-bottom: 12px;
}

.article-card__text {
    font-size: 16px;
    line-height: 140%;
    color: #636B83;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__tags {
    margin-top: auto;
}

.article-card__tag {
    font-size: 14px;
    line-height: 16px;
    color: #636B83;
    padding-right: 20px;
    position: relative;
}

.article-card__tag::before {
    content: '•';
    position: absolute;
    top: 1px;
    right: 8px;
    font-size: 18px;
    color: #DCE0E5;
}

.article-card__tag:last-child::before {
    content: none;
}

.article-card__wrap:hover {
    box-shadow: 0px 10px 20px rgb(0 0 0 / 5%);
}


.promo-card {
    display: flex;
    flex-direction: column;
    min-height: 425px;
    text-decoration: none;
}

.promo-card__img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 18px;
    max-height: 230px;
    object-fit: cover;
}

.promo-card__title {
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
    color: #00305C;
    margin-bottom: 12px;
}

.promo-card__text {
    font-size: 18px;
    line-height: 140%;
    color: #636B83;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promo-card__bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-card__more {
    font-size: 16px;
    text-decoration-line: underline;
    color: #29B7D0;
}

.promo-card__date {
    font-size: 14px;
    color: #636B83;
}


@media (max-width: 1439px) {
    .search__content-products .catalog-products__items {
        grid-template-columns: repeat(3, 1fr);
    }

    .search__content-articles {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .search__content-products .catalog-products__items {
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    }

    .search__content-articles {
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    }

    .search__content-articles .article-card__wrap {
        max-width: none;
    }

    .search__content-promo {
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    }

    .search__content-promo .promo-card {
        min-height: 360px;
    }

    .search__not-found_wrap {
        margin: 0px;
        width: 100%;
    }

    .search__not-found_btn.line.btn {
        padding: 10px 15px !important;
    }
}
/* End */


/* Start:/local/templates/negagroup-site/components/bitrix/search.form/line/style.css?166902651059*/
.search__not-found_btn.line.btn{
    padding: 8px 15px;
}
/* End */
/* /local/templates/negagroup-site/components/bitrix/search.page/main/style.css?17199210846649 */
/* /local/templates/negagroup-site/components/bitrix/search.form/line/style.css?166902651059 */
