.expert {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.4;
    padding: 40px;
    border-radius: 40px;
    background: #FFF
}

.expert__row {
    display: flex;
    -moz-column-gap: 40px;
    column-gap: 40px
}

.expert__img {
    width: 320px;
    height: 320px;
    border-radius: 40px;
    overflow: hidden
}

.expert__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.expert__content {
    flex: 1
}

.expert__content--tablet {
    display: none
}

.expert__name {
    margin-bottom: 18px
}

.expert__text {
    margin-bottom: 20px;
    max-width: 660px
}

.expert__experience {
    max-width: 660px
}

.expert__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.expert__skills span {
    background: #F4F3EE;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 14px
}

.expert__link {
    margin-bottom: 14px;
    padding-right: 14px
}

.expert__link a {
    position: relative;
    text-decoration: underline;
    font-weight: 600
}

.expert__link a:after {
    content: url(../img/new-front/arrow.svg);
    position: absolute;
    left: calc(100% + 3px);
    bottom: -1px;
    width: 24px;
    height: 24px
}

.expert__directions {
    max-width: 600px
}

.expert__block {
    margin-bottom: 20px
}

.expert__block b {
    display: block;
    margin-bottom: 8px
}

.expert__block ul {
    -moz-column-count: 2;
    column-count: 2;
    padding-left: 16px;
    margin: 0
}

.expert__block li {
    margin-bottom: 12px
}

.expert--post {
    background: #f4f3ee;
    margin: 32px 0;
    padding: 40px 40px 30px;
    border-radius: 24px
}

.expert--post .expert__row {
    -moz-column-gap: 20px;
    column-gap: 20px;
    flex-wrap: nowrap;
    align-items: flex-start
}

.expert--post .expert__img {
    width: 100px;
    height: 100px;
    border-radius: 20px
}

.expert--post .expert__content {
    margin: 0
}

.expert--post .expert__content--tablet {
    display: none
}

.expert--post .expert__content--desktop {
    display: block
}

.expert--post .expert__name {
    margin: 0 0 12px;
    font-size: 20px
}

@media (max-width: 1024px) {
    .expert {
        margin-bottom: 30px;
        padding: 32px
    }

    .expert__row {
        flex-wrap: wrap;
        align-items: center;
        -moz-column-gap: 24px;
        column-gap: 24px
    }

    .expert__content {
        width: 100%;
        margin-top: 30px
    }

    .expert__content--desktop {
        display: none
    }

    .expert__content--tablet {
        display: block;
        width: calc(100% - 344px)
    }

    .expert--post {
        padding: 32px 32px 24px
    }
}

@media (max-width: 767px) {
    .expert {
        margin-bottom: 24px;
        padding: 24px
    }

    .expert__row {
        display: block
    }

    .expert__img {
        max-width: 320px;
        width: auto;
        height: auto;
        margin-bottom: 20px
    }

    .expert__name {
        font-size: 32px
    }

    .expert__content--tablet {
        width: 100%
    }
}