

/* Start:/local/templates/bar20/components/bitrix/news/portfolio/bitrix/news.list/.default/style.css?17885148416415*/
.h1_catalog_element{
	margin-bottom: 30px!important;
	padding-left: 0!important;
}

.portfolio-filter {
    width: 100%;
    margin-bottom: 38px;
}

.portfolio-filter__top {
    margin-bottom: 16px;
}

.portfolio-filter__title {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    color: #222;
}

.portfolio-filter__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.portfolio-filter__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    box-sizing: border-box;
    border: 1px solid #dedede;
    border-radius: 4px;
    background: #fff;
    color: #555;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.portfolio-filter__item:hover {
    border-color: #63071E;
    background: #fff;
    color: #63071E;
    text-decoration: none;
}

.portfolio-filter__item--active {
    border-color: #63071E;
    background: #63071E;
    color: #fff;
}

.portfolio-filter__item--active:hover {
    border-color: #63071E;
    background: #63071E;
    color: #fff;
}

.portfolio-new {
    width: 100%;
}

.portfolio-new__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 24px;
}

.portfolio-new__card {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.portfolio-new__card-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.portfolio-new__card-link:hover {
    color: inherit;
    text-decoration: none;
}

.portfolio-new__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f4f4f4;
}

.portfolio-new__media::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background-color .35s ease;
}

.portfolio-new__image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease;
}

.portfolio-new__content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0;
    width: min(82%, 330px);
    padding: 18px 24px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .9);
    transform: translateY(-50%);
    transition: background-color .3s ease, padding-left .3s ease;
}

.portfolio-new__title {
    margin: 0;
    padding: 0;
    color: #222;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
}

.portfolio-new__more {
    display: block;
    margin-top: 8px;
    color: #63071E;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 500;
}

.portfolio-new__arrow {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: #63071E;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease, background-color .3s ease, color .3s ease;
}

.portfolio-new__arrow svg {
    display: block;
    width: 20px;
    height: 20px;
}

.portfolio-new__card-link:hover .portfolio-new__image {
    transform: scale(1.035);
}

.portfolio-new__card-link:hover .portfolio-new__media::after {
    background: rgba(0, 0, 0, .08);
}

.portfolio-new__card-link:hover .portfolio-new__content {
    padding-left: 29px;
    background: rgba(255, 255, 255, .96);
}

.portfolio-new__card-link:hover .portfolio-new__arrow {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-new__empty {
    padding: 50px 0;
    color: #777;
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
}

.portfolio-new__pagination {
    margin-top: 45px;
}

@media (max-width: 1200px) {
    .portfolio-new__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .portfolio-new__content {
        width: 86%;
        padding: 16px 20px;
    }

    .portfolio-new__title {
        font-size: 17px;
    }

    .portfolio-new__more {
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .portfolio-filter {
        margin-bottom: 32px;
    }

    .portfolio-filter__nav {
        gap: 8px;
    }

    .portfolio-filter__item {
        min-height: 40px;
        padding: 8px 15px;
        font-size: 14px;
    }

    .portfolio-new__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .portfolio-new__content {
        width: 82%;
        max-width: 320px;
    }
}

@media (max-width: 650px) {
    .portfolio-filter {
        margin-bottom: 26px;
    }

    .portfolio-filter__top {
        margin-bottom: 12px;
    }

    .portfolio-filter__title {
        font-size: 15px;
    }

    .portfolio-filter__nav {
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-filter__nav::-webkit-scrollbar {
        display: none;
    }

    .portfolio-filter__item {
        flex: 0 0 auto;
        min-height: 39px;
        padding: 8px 14px;
        font-size: 14px;
        white-space: nowrap;
    }

    .portfolio-new__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-new__media {
        aspect-ratio: 16 / 11;
    }

    .portfolio-new__content {
        left: 0;
        width: calc(100% - 58px);
        max-width: none;
        padding: 13px 16px;
        background: rgba(255, 255, 255, .92);
        transform: none;
    }

    .portfolio-new__title {
        font-size: 16px;
        line-height: 1.3;
    }

    .portfolio-new__more {
        margin-top: 5px;
        font-size: 12px;
    }

    .portfolio-new__arrow {
        right: 12px;
        bottom: 12px;
        width: 40px;
        height: 40px;
        opacity: 1;
        transform: none;
    }

    .portfolio-new__arrow svg {
        width: 18px;
        height: 18px;
    }

    .portfolio-new__card-link:hover .portfolio-new__content {
        padding-left: 16px;
    }

    .portfolio-new__pagination {
        margin-top: 35px;
    }
}
/* End */


/* Start:/local/templates/bar20/components/bitrix/menu/portfolio_filter/style.css?17884602002990*/
.portfolio-filter {
    width: 100%;
    margin-bottom: 42px;
}

.portfolio-filter__top {
    display: none;
}

.portfolio-filter__nav {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.portfolio-filter__item {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 82px;
    padding: 16px 16px 14px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #ddd8d5;
    background: #f8f6f5;
    color: #3e3937;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
    text-decoration: none;
    box-shadow: inset 0 0 0 5px #f1eeec;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease, color .25s ease;
}

.portfolio-filter__item::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    width: 30px;
    height: 3px;
    border-radius: 10px;
    background: #bdb5b1;
    transform: translateX(-50%);
    transition: width .25s ease, background-color .25s ease;
}

.portfolio-filter__item::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 7px;
    height: 1px;
    background: rgba(0, 0, 0, .06);
}

.portfolio-filter__item:hover {
    transform: translateY(-4px);
    border-color: #c6bbb7;
    background: #fff;
    color: #63071E;
    box-shadow: inset 0 0 0 5px #f5f1ef, 0 12px 24px rgba(46, 32, 28, .10);
    text-decoration: none;
}

.portfolio-filter__item:hover::before {
    width: 38px;
    background: #63071E;
}

.portfolio-filter__item--active {
    border-color: #63071E;
    background: #63071E;
    color: #fff;
    box-shadow: inset 0 0 0 5px rgba(255,255,255,.08), 0 12px 26px rgba(99, 7, 30, .16);
}

.portfolio-filter__item--active::before {
    width: 38px;
    background: #fff;
}

.portfolio-filter__item--active::after {
    background: rgba(255,255,255,.12);
}

.portfolio-filter__item--active:hover {
    background: #63071E;
    color: #fff;
}

.portfolio-filter__item--active:hover::before {
    background: #fff;
}

@media (max-width: 1200px) {
    .portfolio-filter__nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .portfolio-filter__nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portfolio-filter__item {
        min-height: 74px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .portfolio-filter {
        margin-bottom: 28px;
    }

    .portfolio-filter__nav {
        display: flex;
        gap: 9px;
        overflow-x: auto;
        padding: 4px 0 12px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-filter__nav::-webkit-scrollbar {
        display: none;
    }

    .portfolio-filter__item {
        flex: 0 0 150px;
        min-height: 70px;
        padding: 15px 13px 12px;
    }

    .portfolio-filter__item::before {
        top: 13px;
        width: 26px;
    }
}
/* End */
/* /local/templates/bar20/components/bitrix/news/portfolio/bitrix/news.list/.default/style.css?17885148416415 */
/* /local/templates/bar20/components/bitrix/menu/portfolio_filter/style.css?17884602002990 */
