/* Single specialist — Figma 797:761 */

.mr-specialist-page {
    padding: 0;
    background: #fff;
    color: #42474c;
    font-family: Montserrat, sans-serif;
}

.mr-specialist-page,
.mr-specialist-page *,
.mr-specialist-page *::before,
.mr-specialist-page *::after {
    box-sizing: border-box;
}

.single-specialists .site_wrapper,
.single-specialists .main_wrapper {
    padding-top: 0;
}

.mr-specialist-inner {
    width: min(1440px, calc(100% - 80px));
    margin-inline: auto;
}

.mr-specialist-hero {
    position: relative;
    padding: 72px 0 48px;
}

.mr-specialist-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    border-radius: 0 0 60px 60px;
    background: #f6f8f9;
}

.mr-specialist-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 560px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.mr-specialist-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 23px;
    background: #dad5de;
}

.mr-specialist-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100% !important;
    max-width: none;
    border-radius: 23px;
    object-fit: cover;
}

.mr-specialist-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    padding-top: 16px;
}

.mr-specialist-heading {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mr-specialist-name {
    margin: 0;
    color: #42474c;
    font-size: 36px;
    font-weight: 800;
    line-height: normal;
}

.mr-specialist-role {
    margin: 0;
    color: #42474c;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.mr-specialist-facts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.mr-specialist-facts-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.mr-specialist-rating,
.mr-specialist-languages,
.mr-specialist-location,
.mr-specialist-rating-score {
    display: inline-flex;
    align-items: center;
}

.mr-specialist-rating {
    gap: 11px;
}

.mr-specialist-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.mr-specialist-rating-star {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 17px;
    line-height: 0;
}

.mr-specialist-rating-star svg {
    display: block;
    width: 18px;
    height: 17px;
}

.mr-specialist-rating-star-fill {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 17px;
    overflow: hidden;
}

.mr-specialist-rating-score {
    gap: 4px;
    font-size: 21px;
    font-weight: 700;
    line-height: normal;
}

.mr-specialist-rating-value {
    color: #4f4f4f;
}

.mr-specialist-rating-count {
    color: #828282;
}

.mr-specialist-languages {
    gap: 16px;
    color: #42474c;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.mr-specialist-languages img {
    display: block;
    width: 22px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.mr-specialist-location {
    gap: 8px;
    margin: 0;
    color: #4f4f4f;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
}

.mr-specialist-location img {
    display: block;
    flex: none;
    width: 24px;
    height: 24px;
}

.mr-specialist-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mr-specialist-kicker {
    margin: 0;
    color: #739289;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
}

.mr-specialist-chips,
.mr-specialist-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mr-specialist-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px 24px;
    border: 0.5px solid #c27d57;
    border-radius: 60px;
    background: #f3dbdb;
    color: #1b2426;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    text-align: center;
}

.mr-specialist-chip.is-extra {
    display: none;
}

.mr-specialist-chips.is-expanded .mr-specialist-chip.is-extra {
    display: inline-flex;
}

.mr-specialist-chips-toggle {
    appearance: none;
    cursor: pointer;
}

.mr-specialist-format {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 60px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    text-transform: uppercase;
}

.mr-specialist-format.is-online {
    border: 1px solid #d2c2f8;
    color: #7256b6;
}

.mr-specialist-format.is-in-person {
    border: 1px solid #d5e3df;
    color: #3b675a;
}

.mr-specialist-format img {
    display: block;
    flex: none;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.mr-specialist-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding: 24px 0;
    border-top: 1px solid #cacecf;
}

.mr-specialist-book {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    padding: 14px 28px;
    border-radius: 13px;
    background: #3c5b50;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

.mr-specialist-book-label {
    letter-spacing: 0.42px;
    text-transform: uppercase;
}

.mr-specialist-book-price {
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.mr-specialist-book:hover,
.mr-specialist-book:focus-visible {
    background: #314a42;
    color: #fff;
}

.mr-specialist-share {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #828282;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}

.mr-specialist-share a {
    display: block;
    flex: none;
    line-height: 0;
}

.mr-specialist-share svg {
    display: block;
    width: 32px;
    height: 32px;
}

.mr-specialist-content {
    padding-top: 32px;
}

.mr-specialist-blocks {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mr-specialist-block h2 {
    margin: 0;
    color: #42474c;
    font-size: 24px;
    font-weight: 800;
    line-height: normal;
}

.mr-specialist-block h2::after {
    content: "";
    display: block;
    width: 75px;
    height: 2px;
    margin-top: 8px;
    background: #d2e1dc;
}

.mr-specialist-copy {
    margin-top: 8px;
    color: #7c8689;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.mr-specialist-block:not(:has(h2)) .mr-specialist-copy {
    margin-top: 0;
}

.mr-specialist-copy p,
.mr-specialist-copy ul,
.mr-specialist-copy ol {
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.mr-specialist-copy ul {
    padding-left: 24px;
    list-style: disc;
}

.mr-specialist-copy li {
    margin: 0;
}

.mr-specialist-copy strong {
    font-weight: 700;
}

.mr-specialist-page .how-platform-works {
    margin-top: 80px;
}

.mr-specialist-page .how-platform-works .container {
    width: min(1440px, calc(100% - 80px));
    max-width: none;
}

.mr-specialist-page .how-platform-works .container::before,
.mr-specialist-page .how-platform-works .container::after {
    display: none;
}

.mr-specialist-page .how-platform-works-title {
    margin: 0 0 32px;
    color: #314a42;
    font-size: 42px;
    font-weight: 700;
    line-height: normal;
}

.mr-specialist-page .how-platform-works-title span {
    color: #739289;
    font-size: inherit;
    font-weight: 700;
}

.mr-specialist-page .how-platform-works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}

.mr-specialist-page .how-platform-works-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid #d2c2f8;
    border-radius: 16px;
    background: #fff;
}

.mr-specialist-page .how-platform-works-column-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.mr-specialist-page .how-platform-works-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.mr-specialist-page .how-platform-works-icon img {
    display: block;
    width: auto;
    max-width: 64px;
    height: auto;
    max-height: 64px;
}

.mr-specialist-page .how-platform-works-column h3 {
    margin: 0;
    font-size: 21px;
    font-style: italic;
    font-weight: 700;
    font-variant-numeric: lining-nums proportional-nums;
    line-height: normal;
}

.mr-specialist-page .how-platform-works-column:first-child h3 {
    color: #e5b88f;
}

.mr-specialist-page .how-platform-works-column:nth-child(2) h3 {
    color: #759da8;
}

.mr-specialist-page .how-platform-works-column:nth-child(3) h3 {
    color: #7256b6;
}

.mr-specialist-page .how-platform-works-column p {
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.mr-specialist-cta {
    margin-top: 80px;
}

.mr-specialist-cta-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 641fr) minmax(0, 815fr);
    gap: 40px;
    align-items: center;
    min-height: 365px;
}

.mr-specialist-cta-layout::before {
    content: "";
    position: absolute;
    inset: 32px 0 60px;
    z-index: 0;
    border-radius: 20px;
    background: linear-gradient(104.28deg, rgba(68, 121, 136, 0.75) 2.45%, rgba(114, 86, 182, 0.75) 98.79%);
}

.mr-specialist-cta-devices {
    position: relative;
    z-index: 1;
    height: 365px;
}

.mr-specialist-cta-laptop,
.mr-specialist-cta-phone {
    position: absolute;
    display: block;
}

.mr-specialist-cta-laptop {
    bottom: 0;
    left: 0;
    width: 97.54%;
    height: 102%;
    overflow: hidden;
}

.mr-specialist-cta-laptop img {
    position: absolute;
    top: -42.09%;
    left: -33.81%;
    width: 167.66%;
    max-width: none;
    height: 166.27% !important;
}

.mr-specialist-cta-phone {
    top: 9%;
    left: 54%;
    width: 71%;
    height: 83%;
}

.mr-specialist-cta-phone img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
}

.mr-specialist-cta-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 815px;
    padding: 48px 24px 72px 0;
    color: #fff;
}

.mr-specialist-cta-copy h2,
.mr-specialist-cta-copy p {
    margin: 0;
    color: #fff;
}

.mr-specialist-cta-copy h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: normal;
}

.mr-specialist-cta-copy p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.mr-specialist-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 47px;
    margin-top: 9px;
    padding: 14px 28px;
    border-radius: 15px;
    background: #fff;
    color: #7256b6;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.42px;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.mr-specialist-cta-button:hover,
.mr-specialist-cta-button:focus-visible {
    background: #f5f0e9;
    color: #7256b6;
}

.mr-specialist-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: max-content;
    margin: 64px auto;
    padding: 16px 28px;
    border: 1px solid #d2c2f8;
    border-radius: 15px;
    background: #fff;
    color: #7256b6;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    text-transform: uppercase;
}

.mr-specialist-back:hover,
.mr-specialist-back:focus-visible {
    background: #f7f4fc;
    color: #7256b6;
}

.mr-specialist-back-icon {
    display: block;
    flex: none;
    width: 25px;
    height: 13px;
    transform: rotate(180deg);
}

.mr-specialist-page a:focus-visible,
.mr-specialist-page button:focus-visible {
    outline: 2px solid #3c5b50 !important;
    outline-offset: 3px;
}

@media screen and (max-width: 1100px) {
    .mr-specialist-hero-grid,
    .mr-specialist-page .how-platform-works-grid,
    .mr-specialist-cta-layout {
        grid-template-columns: 1fr;
    }

    .mr-specialist-photo {
        max-width: 480px;
    }

    .mr-specialist-facts {
        align-items: flex-start;
        flex-direction: column;
    }

    .mr-specialist-cta-devices {
        height: 280px;
    }

    .mr-specialist-cta-layout::before {
        inset: 120px 0 24px;
    }

    .mr-specialist-cta-copy {
        padding: 24px 8px 48px;
    }
}

@media screen and (max-width: 767px) {
    .mr-specialist-inner,
    .mr-specialist-page .how-platform-works .container {
        width: calc(100% - 40px);
    }

    .mr-specialist-hero {
        padding: 32px 0 28px;
    }

    .mr-specialist-hero::before {
        border-radius: 0 0 32px 32px;
    }

    .mr-specialist-name,
    .mr-specialist-page .how-platform-works-title {
        font-size: 30px;
    }

    .mr-specialist-actions,
    .mr-specialist-page .how-platform-works-column-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .mr-specialist-book {
        width: 100%;
        justify-content: space-between;
    }

    .mr-specialist-share {
        flex-wrap: wrap;
    }

    .mr-specialist-page .how-platform-works,
    .mr-specialist-cta {
        margin-top: 48px;
    }

    .mr-specialist-cta-devices {
        height: 220px;
    }

    .mr-specialist-back {
        max-width: calc(100% - 40px);
        margin-bottom: 40px;
    }
}
