

/* Start:/local/components/naekk/experts.page/templates/.default/style.css?178710023810905*/
/* =========================================================
   Эксперты НАЭКК
   Figma: node 28:6875
   ========================================================= */

.experts-page {
    color: #1c2331;
    background: #fff;
    font-family: var(--font-main, "Inter", Arial, sans-serif);
}

.experts-page *,
.experts-page *::before,
.experts-page *::after {
    box-sizing: border-box;
}

.experts-page__container {
    padding-top: 32px;
    padding-bottom: 120px;
}

.experts-page__header {
    width: 100%;
}

.experts-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    color: #1c2331;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    white-space: nowrap;
}

.experts-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.experts-breadcrumbs a:hover {
    color: #d2232a;
}

.experts-breadcrumbs > span[aria-hidden="true"],
.experts-breadcrumbs > span[aria-current="page"] {
    opacity: .4;
}

.experts-page__title,
.expert-card__name,
.experts-modal__title {
    margin: 0;
    font-family: var(--font-accent, "Bebas Neue Cyrillic", "Arial Narrow", sans-serif);
    font-weight: 400;
    text-transform: uppercase;
}

.experts-page__title {
    margin-top: 32px;
    font-size: 52px;
    line-height: 64px;
}

/* Положение: 174 × 64 по Figma */
.experts-document {
    display: inline-flex;
    min-height: 64px;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 16px 30px 16px 18px;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    color: #1c2331;
    background: #fff;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
}

a.experts-document:hover {
    border-color: rgba(210, 35, 42, .45);
    background: #fafafa;
}

.experts-document--disabled {
    cursor: default;
}

.experts-document__icon {
    display: block;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.experts-document__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.experts-document__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 26px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* 4 × 339 px + 3 × 28 px = 1440 px */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 48px;
    width: 100%;
    margin-top: 24px;
    padding-top: 20px;
}

.expert-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 26px;
    overflow: hidden;
}

.expert-card__photo {
    width: 100%;
    aspect-ratio: 339 / 308;
    overflow: hidden;
    border-radius: 10px;
    background: #d9d9d9;
}

.expert-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.expert-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.expert-card__name {
    width: 100%;
    color: #1c2331;
    font-size: 36px;
    line-height: 45px;
}

.expert-card__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #d2232a;
    background: transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 26px;
    cursor: pointer;
}

.expert-card__more svg {
    display: block;
    flex: 0 0 12px;
    transition: transform .2s ease;
}

.expert-card__more:hover svg,
.expert-card__more:focus-visible svg {
    transform: translateX(3px);
}

.experts-page__empty {
    margin-top: 44px;
    padding: 24px;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    color: rgba(28, 35, 49, .65);
    font-size: 15px;
    line-height: 26px;
}

/* =========================================================
   Модальное окно эксперта
   Figma: 28:6917 desktop / 28:6988 mobile
   ========================================================= */

html.naekk-expert-modal-open,
body.naekk-expert-modal-open {
    overflow: hidden;
}

.experts-modal[hidden] {
    display: none !important;
}

.experts-modal {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.experts-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(28, 35, 49, .60);
    cursor: pointer;
}

/* Figma: 832 × 498 */
.experts-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    width: 832px;
    max-width: 100%;
    max-height: calc(100dvh - 48px);
    flex-direction: column;
    gap: 33px;
    padding: 40px 40px 50px;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 50px rgba(0, 0, 0, .17);
}

/* Figma: простой серый X 28×28, без кружка */
.experts-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.experts-modal__close span::before,
.experts-modal__close span::after {
    content: "";
    position: absolute;
    top: 13px;
    left: 6px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #aeb1b5;
}

.experts-modal__close span::before {
    transform: rotate(45deg);
}

.experts-modal__close span::after {
    transform: rotate(-45deg);
}

/* Верхняя часть: 752 × 247 */
.experts-modal__expert {
    display: flex;
    width: 100%;
    height: 247px;
    flex: 0 0 247px;
    align-items: center;
    gap: 36px;
    overflow: hidden;
}

.experts-modal__photo {
    position: relative;
    width: 260px;
    height: 247px;
    flex: 0 0 260px;
    overflow: hidden;
    border-radius: 8px;
    background: #d9d9d9;
}

.experts-modal__photo img {
    position: absolute;
    top: -11.04%;
    left: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 146.75%;
    object-fit: cover;
    pointer-events: none;
}

.experts-modal__info {
    display: flex;
    min-width: 0;
    height: 100%;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 32px 20px 32px 0;
}

.experts-modal__title {
    width: 100%;
    padding: 0;
    color: #1c2331;
    font-size: 36px;
    line-height: 45px;
    white-space: nowrap;
}

.experts-modal__position {
    margin: 0;
    color: rgba(37, 46, 63, .9);
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: -.16px;
    text-transform: none;
}

/* Нижняя часть: линия + отступ 24 + текст */
.experts-modal__details {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 24px;
}

.experts-modal__divider {
    width: 100%;
    height: 1px;
    flex: 0 0 1px;
    background: #d8dadd;
}

.experts-modal__text {
    margin: 0;
    color: #1c2331;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
}

.experts-modal__text p {
    margin: 0 0 16px;
}

.experts-modal__text p:last-child {
    margin-bottom: 0;
}

.expert-modal-source__detail {
    margin: 0;
}

/* =========================================================
   Tablet / mobile
   ========================================================= */

@media (max-width: 1023px) {
    .experts-page__container {
        padding-top: 14px;
        padding-bottom: 64px;
    }

    .experts-breadcrumbs {
        gap: 4px;
        height: 16px;
        overflow: hidden;
        font-size: 11px;
        line-height: 16px;
    }

    .experts-breadcrumbs > * {
        flex: 0 0 auto;
    }

    .experts-page__title {
        margin-top: 24px;
        font-size: 34px;
        line-height: 35px;
    }

    .experts-document {
        min-height: 54px;
        gap: 10px;
        margin-top: 20px;
        padding: 11px 18px 11px 14px;
        border-radius: 10px;
    }

    .experts-document__icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .experts-document__text {
        font-size: 12px;
        line-height: 21px;
    }

    .experts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 20px;
        margin-top: 20px;
        padding-top: 12px;
    }

    .expert-card {
        gap: 18px;
    }

    .expert-card__name {
        font-size: 30px;
        line-height: 37px;
    }

    .expert-card__more {
        font-size: 13px;
        line-height: 22px;
    }

    .experts-modal {
        padding: 20px;
    }

    .experts-modal__dialog {
        width: min(832px, 100%);
        max-height: calc(100dvh - 40px);
    }
}

@media (max-width: 767px) {
    .experts-grid {
        grid-template-columns: 1fr;
        row-gap: 34px;
    }

    .expert-card {
        gap: 18px;
    }

    .expert-card__photo {
        aspect-ratio: 320 / 291;
        border-radius: 10px;
    }

    .expert-card__name {
        font-size: 28px;
        line-height: 35px;
    }

    /* Figma mobile: 340 × 656 */
    .experts-modal {
        align-items: center;
        padding: 10px;
    }

    .experts-modal__dialog {
        width: 340px;
        max-width: 100%;
        max-height: calc(100dvh - 20px);
        gap: 16px;
        padding: 0 0 26px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 16px;
    }

    .experts-modal__close {
        top: 16px;
        right: 16px;
        width: 20px;
        height: 20px;
    }

    .experts-modal__close span::before,
    .experts-modal__close span::after {
        top: 9px;
        left: 4px;
        width: 12px;
        height: 1.5px;
        background: #aeb1b5;
    }

    .experts-modal__expert {
        height: auto;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        overflow: visible;
    }

    .experts-modal__photo {
        width: 100%;
        height: 304px;
        flex: 0 0 304px;
        border-radius: 0;
    }

    .experts-modal__info {
        width: 100%;
        height: auto;
        gap: 8px;
        padding: 0 24px;
    }

    .experts-modal__title {
        font-size: 26px;
        line-height: 33px;
        white-space: nowrap;
    }

    .experts-modal__position {
        color: #252e3f;
        font-size: 12px;
        font-weight: 400;
        line-height: 21px;
        letter-spacing: 0;
    }

    .experts-modal__details {
        gap: 16px;
        padding: 0 24px;
    }

    .experts-modal__text {
        font-size: 12px;
        line-height: 21px;
    }
}

@media (max-width: 374px) {
    .experts-page__title {
        font-size: 32px;
    }

    .expert-card__name {
        font-size: 26px;
        line-height: 33px;
    }
}

/* End */
/* /local/components/naekk/experts.page/templates/.default/style.css?178710023810905 */
