

/* Start:/local/templates/stuff/components/bitrix/news/articles_new/bitrix/news.detail/.default/style.css?17524799543914*/
/* Основные стили (mobile first) */
.expert-card {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.expert-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 7px;
    right: -7px;
    bottom: -10px;
    background-color: rgb(121, 186, 41);
    border-radius: 11px;
    z-index: 1;
}

.expert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(253, 247, 145);
    border-radius: 11px;
    z-index: 2;
}

.expert-card__content {
    position: relative;
    z-index: 3;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.expert-card__badge {
    color: rgb(88, 154, 73);
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
    font-family: Gilroy-Bold;
}

.expert-card__avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.expert-card__avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(217, 217, 217);
    border-radius: 50%;
    z-index: 1;
}

.expert-card__avatar-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
}

.expert-card__info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.expert-card__details {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.expert-card__name {
    color: rgb(88, 154, 73);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

.expert-card__position {
    color: rgb(88, 154, 73);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

.expert-card__credentials {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.expert-card__degree, .expert-card__experience {
    color: rgb(88, 154, 73);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

/* Планшеты (768px+) */
@media (min-width: 768px) {
    .expert-card {
        margin-bottom: 38px;
    }

    .expert-card__content {
        padding: 25px;
        gap: 25px;
    }

    .expert-card__badge {
        font-size: 16px;
    }

    .expert-card__avatar {
        width: 110px;
        height: 110px;
    }

    .expert-card__info {
        gap: 20px;
    }

    .expert-card__name {
        font-size: 16px;
    }

    .expert-card__position {
        font-size: 15px;
    }

    .expert-card__credentials {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .expert-card__degree, .expert-card__experience {
        font-size: 13px;
        text-align: left;
        font-family: Gilroy-Light;
    }

    .expert-card__degree span, .expert-card__experience span {
        font-family: Gilroy-Regular;
    }
}

/* Десктоп (1024px+) */
@media (min-width: 1024px) {
    .expert-card__content {
        flex-direction: row;
        align-items: center;
        padding: 41px 21px;
        gap: 30px;
    }

    .expert-card__badge {
        font-size: 22px;
        text-align: left;
    }

    .expert-card__avatar {
        width: 123px;
        height: 127px;
        margin: 0;
    }

    .expert-card__info {
        flex: 1;
        gap: 25px;
    }

    .expert-card__name {
        font-size: 20px;
        text-align: left;
        font-family: Gilroy-Bold;
    }

    .expert-card__position {
        font-size: 16px;
        text-align: left;
    }

    .expert-card__credentials {
        flex-direction: row;
        gap: 0;
    }

    .expert-card__degree {
        flex: 1;
    }

    .expert-card__experience {
        flex-shrink: 0;
    }

    .expert-card__degree, .expert-card__experience {
        font-size: 20px;
    }
}

/* End */
/* /local/templates/stuff/components/bitrix/news/articles_new/bitrix/news.detail/.default/style.css?17524799543914 */
