.expert-opinion.msg-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) fit-content(45%);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    margin: 30px 0;
    padding: 40px 50px;
    overflow-wrap: anywhere;
}

.expert-opinion__quote {
    position: relative;
    margin: 0;
    padding: 0 0 0 30px;
    border: 0;
    border-left: 3px solid #eb4a53;
    text-align: start;
}

.expert-opinion__quote > :is(h2, h3, h4, h5, h6):first-child {
    margin: 0 0 clamp(20px, 3vw, 40px);
    font-size: clamp(24px, 2.5vw, 38px);
    line-height: 1.18;
}

.expert-opinion__quote > :first-child:not(:is(h2, h3, h4, h5, h6)) {
    margin-top: 0;
}
.expert-opinion__quote > :last-child {
    margin-bottom: 0;
}

.expert-opinion__doctor {
    position: relative;
    margin: 0;
    color: #4f4f4f;
    text-align: center;
    font-size: 14px;
}

.text_block img.expert-opinion__photo {
    width: clamp(150px, 17vw, 240px);
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto 16px;
    border-radius: 50%;
    object-fit: cover;
}

.expert-opinion__doctor a {
    border-bottom: 0;
    text-decoration: underline;
}

@media (hover: hover) {
    .expert-opinion__doctor a:hover {
        color: #e72530;
        text-decoration: none;
    }
}

@media (width > 768px) {
    .expert-opinion__doctor {
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .expert-opinion.msg-block {
        grid-template-columns: minmax(0, 1fr);
        padding: clamp(24px, 5vw, 32px) clamp(20px, 5vw, 32px);
    }

    .expert-opinion__quote {
        padding-left: 15px;
    }

    .text_block img.expert-opinion__photo {
        width: min(100%, 180px);
    }
}
