

/* Start:/local/templates/landingnch/components/bitrix/news.list/persons/style.css?17713661085856*/
.history--persons .history__cards-container {
    margin-bottom: 34px;
    overflow: visible;
}
.history--persons .history__title {
    margin-bottom: 34px;
}
.history--persons .persons-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.history--persons .persons-title__main {
    display: block;
    margin: 0;
    font-size: clamp(52px, 6.4vw, 108px);
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.history--persons .persons-title__sub {
    display: block;
    margin: 0;
    font-size: clamp(13px, 1.3vw, 18px);
    line-height: 1.25;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    opacity: 0.62;
}
.history--persons .history__inner {
    overflow: visible;
}
.history--persons .persons-swiper {
    overflow: visible !important;
}
.history--persons .persons-swiper .swiper-wrapper {
    overflow: visible;
}
.history--persons .persons__card {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    position: relative;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}
.history--persons .persons-swiper .swiper-slide {
    width: 300px;
}
.history--persons .persons-swiper .swiper-slide .persons__card {
    border-radius: 24px !important;
}
.history--persons .persons__card::before {
    background: none;
}
.history--persons .persons__card-content {
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 22px 20px;
    gap: 9px;
    background: none;
    backdrop-filter: none;
    opacity: 1;
    transition: none;
}
.history--persons .persons__card-content::before,
.history--persons .persons__card-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
}
.history--persons .persons__card-content::before {
    top: 0;
    height: 130px;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.78) 0%, rgba(5, 5, 5, 0) 100%);
}
.history--persons .persons__card-content::after {
    bottom: 0;
    height: 240px;
    background: linear-gradient(0deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0) 100%);
}
.history--persons .persons__card-content > * {
    position: relative;
    z-index: 1;
}
.history--persons .persons__card:hover .persons__card-content,
.history--persons .persons__card.active .persons__card-content {
    background: none;
    backdrop-filter: none;
}
.history--persons .persons-card__position {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 5px 12px;
    border-radius: 40px;
    background: linear-gradient(111deg, #58ac4b 0%, #8abc47 100%);
    color: #121212;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.history--persons .persons-card__name {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    line-height: 0.92;
    text-transform: uppercase;
    max-width: 82%;
    transition: transform 0.25s ease, color 0.25s ease;
}
.history--persons .persons-card__description {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    line-height: 1.35;
    max-width: 88%;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.history--persons .persons-card__line {
    display: block;
    width: 42px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.history--persons .history__card-open-hint {
    position: absolute;
    top: 16px;
    right: 14px;
    margin: 0;
}
.history--persons .persons__card--has-stories .history__card-open-hint {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
}
.history--persons .persons__card--has-stories:hover .history__card-open-hint {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.history--persons .history__pagination {
    gap: 10px;
}
.history--persons .persons__nav-btn {
    width: 92px;
    height: 62px;
    border-radius: 64px;
    background: #f4f4f4e5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0;
}
.history--persons .persons__nav-btn:hover {
    background: #f0f0f0;
}
.history--persons .persons__nav-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.history--persons .persons__nav-btn--prev .icon-arrow-big {
    transform: rotate(180deg);
}
@media (max-width: 1024px) {
    .history--persons .persons__card--has-stories .history__card-open-hint,
    .history--persons .persons__card--has-stories:hover .history__card-open-hint {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .history--persons .persons-card__name {
        font-size: 33px;
        max-width: 92%;
    }
    .history--persons .persons-card__description {
        font-size: 15px;
        max-width: 95%;
    }
}
@media (max-width: 640px) {
    .history--persons .history__title {
        margin-bottom: 20px;
    }
    .history--persons .persons-title {
        gap: 8px;
    }
    .history--persons .persons-title__main {
        line-height: 1;
    }
    .history--persons .persons-title__sub {
        letter-spacing: 0.06em;
    }
    .history--persons .persons-card__name {
        font-size: 28px;
    }
    .history--persons .persons-card__description {
        font-size: 14px;
    }
}
/* End */


/* Start:/local/templates/landingnch/components/bitrix/news.list/projects/style.css?17719386466782*/
.popup-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9990;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
}

.popup_project {
    position: relative;
    width: min(1120px, 100%);
    height: min(88dvh, 680px);
    max-height: 100dvh;
    background: #fff;
    border-radius: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.55);
}

.left_block {
    background: #f4f4f4;
    height: 100%;
    display: flex;
    overflow: hidden;
}

.gallery_wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 12px;
    width: 100%;
    height: 100%;
    padding: 16px;
}

.gallery_main {
    width: 100%;
    min-width: 0;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background-color: #ddd;
}

.main_pic {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.main_pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-image-description-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    background: #6cba5c;
    color: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    z-index: 8;
    white-space: normal;
    word-break: break-word;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}


.project-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 12;
}

.project-gallery-nav-prev {
    left: 12px;
}

.project-gallery-nav-next {
    right: 12px;
}

.project-gallery-nav:hover {
    background: rgba(0, 0, 0, 0.58);
}

.gallery_thumbs {
    width: 88px;
    min-width: 0;
    height: 100%;
}

.gallery_thumbs .swiper-wrapper {
    width: 100%;
}

.thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 0;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    opacity: 0.62;
    transition: opacity .25s ease, transform .25s ease;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery_thumbs .swiper-slide-thumb-active {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 2px #6cba5c;
}


.right_block {
    padding: 38px 46px 30px 34px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    background-color: #f9f9f9;
    min-height: 0;
}

.right_block-header {
    margin-bottom: 18px;
    flex-shrink: 0;
}

.project_name {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project_badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.project-status-badge {
    margin-bottom: 0;
}

.project-status-badge.is-ready {
    background: #6cba5c;
    color: #fff;
}

.project-status-badge.is-pending {
    background: #dedede;
    color: #111;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #6cba5c;
    color: #fff;
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.project_name h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.14;
    color: #111;
    font-weight: 700;
}

.right_block-description {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 8px;
    color: #444;
    line-height: 1.58;
    font-size: 15px;
}

.right_block-description p {
    margin: 0 0 12px;
}

.right_block-description::-webkit-scrollbar {
    width: 6px;
}

.right_block-description::-webkit-scrollbar-track {
    background: #eee;
}

.right_block-description::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 999px;
}

body.project-popup-open {
    overflow: hidden;
}

.fancybox__container {
    z-index: 12050 !important;
}

@media (max-width: 900px) {
    .popup-overlay {
        padding: 0;
        align-items: stretch;
    }

    .popup_project {
        width: 100%;
        min-height: 100dvh;
        height: auto;
        max-height: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .left_block {
        border-radius: 0;
        height: 450px;
        flex: 0 0 450px;
    }

    .gallery_wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        padding: 14px;
        height: auto;
    }

    .gallery_main {
        border-radius: 18px;
        height: clamp(220px, 42vh, 340px);
    }

    .gallery_thumbs {
        width: 100%;
        height: auto;
    }

    .thumb {
        width: 64px;
        border-radius: 12px;
    }

    .gallery_thumbs .swiper-slide-thumb-active {
        transform: none;
    }

    .project-gallery-nav {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .project-gallery-nav-prev {
        left: 10px;
    }

    .project-gallery-nav-next {
        right: 10px;
    }

    .project-image-description-badge {
        left: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
        width: fit-content;
        padding: 7px 10px;
        border-radius: 10px;
        font-size: 12px;
    }

    .right_block {
        padding: 14px 16px 16px;
        height: auto;
        min-height: auto;
        flex: 0 0 auto;
    }

    .project_name h2 {
        font-size: 22px;
    }

    .right_block-description {
        font-size: 14px;
        padding-right: 2px;
        overflow: visible;
        min-height: auto;
        flex: initial;
    }

    .close-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 12020;
    }

    .project_badges {
        margin-bottom: 10px;
        gap: 8px;
    }

    .category-badge {
        padding: 7px 11px;
        font-size: 11px;
    }
}

/* End */
/* /local/templates/landingnch/components/bitrix/news.list/persons/style.css?17713661085856 */
/* /local/templates/landingnch/components/bitrix/news.list/projects/style.css?17719386466782 */
