.container_content_page_expert_item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.container_info_expert_item {
    display: flex;
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 30px;
    background: #FFF;
}

.photo_expert_item {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 18px;
}

.title_expert_item {
    color: #141414;
    font-family: var(--font-family-main);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.photo_name_expert_item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.container_info_name_expert_item,
.box_info_top_expert_item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.box_info_name_position_top_expert_item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
}


.position_expert_item {
    display: flex;
    padding: 2px 10px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: #F2F4F6;
    color: #222932;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 142.857% */
}

.text_description_expert_item {
    color: #141921;
    font-family: var(--font-family-main);
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 155%;
    /* 155.556% */
}

.text_experience {
    color: #ADB4BD;
    font-family: "Inter Tight";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.education_internship_services {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.box_education,
.box_internship,
.box_services {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.title_internship,
.title_education,
.title_services {
    color: #141921;
    font-family: var(--font-family-main);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 187%;
    margin: 0;
    /* 187.5% */
}

.list_education,
.list_internship,
.list_services {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    margin: 0;
    padding: 0;
}

.item_education,
.item_internship,
.item_services {
    position: relative;
    padding-left: 34px;
    color: #141921;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 155%;
}

.item_education b, .item_internship b {
    font-weight: 700;
}

.item_education::before, .item_internship::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url('../img/icons//icon_markup_list_done.svg');
}
.item_services::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url('../img/icons//icon_markup_circle.svg');
}

.links_to_articles {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list_links_to_articles {
    padding-left: 34px;
    list-style: disc;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    align-self: stretch;
}

.item_links_to_articles {
    color: #526278;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 145%;
    /* 175% */
    transition: all var(--transition-time-all);
}

.item_links_to_articles:hover {
    color: #EB1C24;
    text-decoration: underline;
}

@media screen and (min-width: 768px) {
    .container_info_expert_item {
        padding: 26px;
        gap: 20px;
    }

    .title_expert_item {
        font-size: 30px;
    }

    .position_expert_item {
        font-size: 14px;
    }

    .container_info_name_expert_item,
    .box_info_top_expert_item {
        gap: 20px;
    }

    .photo_expert_item {
        aspect-ratio: 1 / 0.9;
    }

    .text_description_expert_item {
        font-size: 18px;
    }

    .text_experience {
        font-size: 20px;
    }

    .title_internship,
    .title_education,
    .title_services {
        font-size: 24px;
    }

    .box_education,
    .box_internship,
    .box_services {
        gap: 20px;
    }

    .list_education {
        gap: 20px;
    }

    .list_services,
    .list_internship {
        gap: 12px;
    }

    .item_education,
    .item_internship,
    .item_services {
        font-size: 18px;
    }

    .item_links_to_articles {
        font-size: 16px;
    }

}

@media screen and (min-width: 1024px) {
    .container_info_expert_item {
        padding: 20px;
        border-radius: 30px;
    }

    .photo_name_expert_item {
        flex-direction: row;
        gap: 20px;
    }

    .container_info_name_expert_item{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        flex: 1 0 0;
        align-self: stretch;
    }

    .photo_expert_item{
        width: 360px;
        aspect-ratio: 1/1;
    }
}

.container_page_experts {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 100px;
}

.title_experts {
    color: #141414;
    font-family: var(--font-family-minor);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 20px;
}

.list_content_experts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.link_content_experts {
    display: flex;
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border-radius: 30px;
    background: #FFF;
}

.photo_expert {
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 18px;
    width: 100%;
}

.box_info_name_position {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
}

.name_expert {
    color: #141414;
    font-family: var(--font-family-main);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
}

.position_expert {
    color: #526278;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    /* 150% */
}

.description_expert {
    overflow: hidden;
    color: #8C8F93;
    text-overflow: ellipsis;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 130%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    align-self: stretch;
    /* 20.8px */
}

.info_expert {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    align-self: stretch;
}

.decoration_line_experts {
    height: 1px;
    background: #E2E5E9;
    align-self: stretch;
}

.box_links_item_experts {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box_social_links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social_icon_expert {
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    fill: #ADB4BD;
    transition: all var(--transition-time-all);
}

.link_social_expert.facebook:hover .social_icon_expert {
    fill: #1877F2;
}

.link_social_expert.linkedin:hover .social_icon_expert {
    fill: #0077B5;
}

.link_social_expert.telegram:hover .social_icon_expert {
    fill: #24A1DE;
}


.link_show_more {
    display: flex;
    align-items: center;
    gap: 6px;
}

.link_show_more {
    color: #ADB4BD;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px;
    transition: all var(--transition-time-all);
}

.icon_short_arrow {
    width: 20px;
    height: 20px;
    fill: #ADB4BD;
    transition: all var(--transition-time-all);
}

.link_show_more:hover {
    color: #EB1C24;
}

.link_show_more:hover .icon_short_arrow {
    transform: translateX(8px);
    fill: #EB1C24;
}



@media screen and (min-width: 768px) {
    .container_page_experts {
        padding-top: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .title_experts {
        font-size: 42px;
        text-align: center;
    }

    .link_content_experts {
        padding: 26px;
        border-radius: 30px;
    }

    .name_expert {
        font-size: 20px;
    }

    .position_expert {
        font-size: 16px;
    }

    .description_expert {
        font-size: 16px;
        height: 85px;
    }

    .social_icon_expert {
        width: 25px;
        height: 25px;
    }

}

@media screen and (min-width: 1024px) {
    .container_page_experts {
        padding-left: 60px;
        padding-right: 60px;
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }

    .list_content_experts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .link_content_experts {
        padding: 20px;
    }

    .photo_expert {
        border-radius: 16px;
    }
}

.main_expert_page {
    background: #F2F4F6;
}


.link_author_expert_blog {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.photo_author_expert_blog {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.box_info_author_expert_blog {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.name_author_expert_blog {
    font-family: var(--font-family-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    vertical-align: middle;
    color: #141921;
    transition: all var(--transition-time-all);
}

.link_author_expert_blog:hover .name_author_expert_blog {
    color: #EB1C24;
    text-decoration: underline;
}

.date_post_author_expert_blog {
    font-family: var(--font-family-main);
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #ADB4BD;
}

.container_author_expert_blog{
    width: fit-content;
    margin-top: 25px;
}