

/* Start:/local/templates/main_new/components/bitrix/news/v_spaces/bitrix/news.list/.default/style.css?17739265305427*/
.spaces-tiles {
    padding: 87px 0;
    border-top: 1px solid var(--border-color);
}

.spaces-tiles__title {
    margin-bottom: 60px;
    margin-top: 0;
}

.spaces-tiles__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.spaces-tiles__item {
    height: 300px;
    flex: 0 0 auto;
    min-width: 0;
    box-sizing: border-box;
}


.spaces-tiles__item:nth-child(1),
.spaces-tiles__item:nth-child(8) {
    width: calc(51.1% - 20px);
}

.spaces-tiles__item:nth-child(2),
.spaces-tiles__item:nth-child(3),
.spaces-tiles__item:nth-child(7),
.spaces-tiles__item:nth-child(9) {
    width: calc(24.3% - 20px);
}

.spaces-tiles__item:nth-child(4) {
    width: calc(33.2% - 20px);
}

.spaces-tiles__item:nth-child(5) {
    width: calc(24.3% - 20px);
}

.spaces-tiles__item:nth-child(6) {
    width: calc(42.2% - 20px);
}

@media (max-width: 960px) {
    .spaces-tiles {
        padding: 78px 0;
    }

    .spaces-tiles__title {
        margin-bottom: 40px;
    }
}

@media (max-width: 960px) and (min-width: 801px) {
    .spaces-tiles__grid {
        gap: 20px;
    }

    .spaces-tiles__item {
        height: 206px;
    }

    .spaces-tiles__item:nth-child(1),
    .spaces-tiles__item:nth-child(8) {
        width: calc(51.1% - 13.4px) !important;
    }

    .spaces-tiles__item:nth-child(2),
    .spaces-tiles__item:nth-child(3),
    .spaces-tiles__item:nth-child(7),
    .spaces-tiles__item:nth-child(9) {
        width: calc(24.3% - 13.4px) !important;
    }

    .spaces-tiles__item:nth-child(4) {
        width: calc(33.2% - 13.4px) !important;
    }

    .spaces-tiles__item:nth-child(5) {
        width: calc(24.3% - 13.4px) !important;
    }

    .spaces-tiles__item:nth-child(6) {
        width: calc(42.2% - 13.4px) !important;
    }
}


@media (max-width: 800px) {
    .spaces-tiles__grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .spaces-tiles__item {
        height: 244px;
        width: 100% !important;
        flex: none !important;
    }

    .spaces-tiles__item:nth-child(n) {
        width: 100% !important;
    }

    .spaces-tiles__item:nth-child(1),
    .spaces-tiles__item:nth-child(8),
    .spaces-tiles__item:nth-child(9) {
        grid-column: span 2;
    }

    .spaces-tiles__item:nth-child(2),
    .spaces-tiles__item:nth-child(3),
    .spaces-tiles__item:nth-child(4),
    .spaces-tiles__item:nth-child(5),
    .spaces-tiles__item:nth-child(6),
    .spaces-tiles__item:nth-child(7) {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .spaces-tiles {
        padding: 68px 0;
    }
}


@media (max-width: 540px) {
    .spaces-tiles__grid {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
    }

    .spaces-tiles__item {
        height: 200px;
        width: 100% !important;
    }

    .spaces-tiles__item:nth-child(n) {
        grid-column: auto !important;
    }
}

.spaces-tiles__card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--black);
    text-decoration: none;
}

.spaces-tiles__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.spaces-tiles__filter {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at left bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 80%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.spaces-tiles__overlay {
    position: absolute;
    inset: 0;
    padding: 27px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.spaces-tiles__content-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.spaces-tiles__name {
    color: var(--white);
    font-size: 24px;
    font-weight: var(--weight-regular);
    margin: 0;
    transform: translateY(30px);
    transition: transform 0.3s ease, margin-bottom 0.3s ease;
}

.spaces-tiles__btn {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.spaces-tiles__card:hover .spaces-tiles__img {
    transform: scale(1.02);
}

.spaces-tiles__card:hover .spaces-tiles__filter {
    opacity: 1;
}

.spaces-tiles__card:hover .spaces-tiles__name {
    transform: translateY(0);
    margin-bottom: 20px;
}

.spaces-tiles__card:hover .spaces-tiles__btn {
    opacity: 1;
    height: auto;
    margin-top: 10px;
    padding: 12px 25px;
    transform: translateY(0);
}

.spaces-tiles__card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 3;
}

.spaces-tiles__card:hover::after {
    transform: scaleX(1);
}

.spaces-hero__breadcrumbs a,
.spaces-hero__breadcrumbs span,
.page-custom.pomeshcheniya .bx-breadcrumb-item a,
.page-custom.pomeshcheniya .bx-breadcrumb-item a span {
    color: var(--accent) !important;
}

.page-custom.pomeshcheniya .bx-breadcrumb-item .separator {
    background-color: var(--gray-400);
    opacity: 0.5;
}

.page-custom.pomeshcheniya .bx-breadcrumb-item>span[itemprop="name"] {
    color: var(--gray-300) !important;
    cursor: default;
}

.spaces-hero__title {
    margin-bottom: 321px;
}
/* End */


/* Start:/local/templates/main_new/components/bitrix/breadcrumb/v_custom/style.css?17740264451269*/
.bx-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 0;
    font-family: sans-serif;
}

.bx-breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1;
}

.bx-breadcrumb-item a,
.bx-breadcrumb-item a span {
    color: var(--accent) !important;
    text-decoration: none;
    transition: opacity 0.2s;
}

.page-custom .bx-breadcrumb-item a,
.page-custom .bx-breadcrumb-item a span {
    color: var(--white) !important;
}

.bx-breadcrumb-item a:hover {
    opacity: 0.7;
}

.bx-breadcrumb-item>span[itemprop="name"] {
    color: var(--gray-300);
    cursor: default;
}

.bx-breadcrumb-item .separator {
    display: block;
    width: 4px;
    height: 4px;
    background-color: var(--gray-400);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0.5;
}

.page-custom .bx-breadcrumb-item .separator,
.block-custom .bx-breadcrumb-item .separator {
    background-color: var(--white);
    opacity: 1;
}


@media (max-width: 640px) {
    .bx-breadcrumb {
        align-items: flex-start;
        padding: 20px 0;
        flex-direction: column;
    }

    .bx-breadcrumb-item {
        margin: 0 0 7px 0;
    }

    .bx-breadcrumb-item .separator {
        display: none;
    }
}
/* End */
/* /local/templates/main_new/components/bitrix/news/v_spaces/bitrix/news.list/.default/style.css?17739265305427 */
/* /local/templates/main_new/components/bitrix/breadcrumb/v_custom/style.css?17740264451269 */
