/* expert */
.expertTitle {
    font-size: 20px;
    font-weight: 500;
}
.expert {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: max-content;
    gap: 30px;
    padding: 25px;
    background: #f7fff3;
}
.expertContentImg {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.image {
    width: 100% !important;
    border-radius: 50%;
    object-fit: cover;
}
.expertImg {
    display: flex;
    align-items: center;
    gap: 20px;
}
.expertCardNameAuthor {
    text-align: start;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
}
.expertCardName:hover {
    color: var(--green);
}
.specialization {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.expertCardLineAuthor {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--grey);
    color: #fff;
    padding: 4px 12px;
    white-space: nowrap;
    border-radius: 32px;
    font-size: 14px;
    width: max-content;
}
.priceSpanAuthor {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translate(-50%);
}
.expertSpecialization {
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
}
.expertCardNameGroup {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.expertCardWrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.expertCardInfo {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}
.expertInfo {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
}
.expertExperienceSpan {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    background-color: #ffd400;
}

.expertInfoSpan {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    background-color: #52c41a;
    color: #fff;
    border-radius: 100px;
    font-size: 12px;
    padding: 0 14px;
}
.case {
    display: flex;
    align-items: center;
    gap: 10px;
}
.expertCardRating,
.reviews {
    display: flex;
    gap: 10px;
}
.expertCardContent {
    display: flex;
}
.expertCardContentSpan {
    font-weight: 700;
}
.highLight {
    color: var(--green);
}
.expertReviewLink {
    color: #2457fe;
    text-decoration: underline;
    white-space: nowrap;
}
.text {
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
}
.expertCardContentLine {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.expertCardContentGroupAuthor {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.expertCardContenSocial {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.expertCardPhone {
    display: flex;
    align-items: center;
}
.expertCardNumber {
    display: flex;
    align-items: center;
    gap: 10px;
}
.expertCard {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.expertCardSocial {
    display: flex;
    align-items: center;
    gap: 20px;
}
.expertCardRatingText {
    font-size: 14px;
}

.desktop-only {
    display: flex;
}
.mobile-only {
    display: none;
}

@media (max-width: 600px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: flex;
    }
}

@media (max-width: 600px) {
    .expertCard {
        max-width: 100%;
    }
    .expert {
        padding: 20px 16px;
    }
    .socialLine {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .expertCardContentGroupAuthor {
        flex-direction: column;
    }
}
