.experts-page {
    background: #f6f6f6;
    padding: 106px 0 40px;
    min-height: 100vh;
}

.experts-page ~ footer {
    background: #f6f6f6;
}

.experts-page__intro {
    margin-bottom: 80px;
}

.experts-page__intro h1 {
    color: #191919;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 30px;
}

.experts-page__intro p {
    max-width: 470px;
    color: #727272;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.experts-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experts-card {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 200px;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px 5px rgb(152 183 148 / 10%);
    color: inherit;
    text-decoration: none;
}

.experts-card:hover,
.experts-card:focus-visible {
    color: inherit;
    text-decoration: none;
}

.experts-card:focus-visible {
    outline: 2px solid #009973;
    outline-offset: 3px;
}

.experts-card__photo {
    width: 165px;
    height: 150px;
    flex: 0 0 165px;
    border-radius: 5px;
    object-fit: cover;
}

.experts-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
}

.experts-card__name {
    max-width: 315px;
    color: #009973;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.experts-card__description {
    max-width: 600px;
    color: #9a9a9a;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.experts-load {
    min-height: 1px;
    color: #727272;
    font-size: 16px;
}

.experts-load button {
    color: #009973;
    text-decoration: underline;
    border: 0;
    background: none;
    cursor: pointer;
}

@media (max-width: 641px) {
    .experts-page {
        padding: 90px 0 20px;
    }

    .experts-page__inner {
        padding: 0 20px;
    }

    .experts-page__intro {
        margin-bottom: 40px;
    }

    .experts-page__intro h1 {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 30px;
    }

    .experts-page__intro p {
        font-weight: 400;
    }

    .experts-list {
        gap: 35px;
    }

    .experts-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        min-height: 0;
        padding: 15px;
        border-radius: 5px;
    }

    .experts-card__photo {
        width: 100px;
        height: 91px;
        flex: none;
    }

    .experts-card__name {
        max-width: none;
        font-size: 16px;
        line-height: 1.2;
    }
}
