/* Achievements page. Reference layouts: 1920, 960 and 375 px. */
.page-achievements main { overflow: hidden; }
.page-achievements .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}
.achievements-page {
    color: #27313d;
    background: #fff;
}
.achievements-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #a7aaad;
    font-size: 18px;
    line-height: 1;
}
.achievements-breadcrumbs a { color: #a7aaad; }
.achievements-breadcrumbs span:last-child { color: #27313d; }

.achievements-page h1 {
    margin: 61px 0 74px;
    color: #27313d;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}
.achievements-list {
    padding-bottom: 141px;
}
.achievement-item {
    display: grid;
    grid-template-columns: 560px 600px;
    column-gap: 160px;
    align-items: start;
    padding-bottom: 34px;
    border-bottom: 1px solid #9fa4a9;
}
.achievement-item + .achievement-item {
    margin-top: 33px;
}
.achievement-item h2 {
    max-width: 560px;
    margin: 0;
    color: #27313d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.34;
    text-transform: uppercase;
}
.achievement-item__text {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.48;
}
.achievement-item__image {
    width: 600px;
    overflow: hidden;
}
.achievement-item__image img {
    display: block;
    width: 100%;
    height: auto;
}

.page-achievements .first-visit {
    padding: 0 0 117px;
}
.page-achievements .first-visit .section-head {
    margin-bottom: 58px;
}
.page-achievements .first-visit h2 {
    font-size: 43px;
    line-height: 1.08;
}
.page-achievements .first-visit .text-link {
    font-size: 13px;
    font-weight: 700;
}
.page-achievements .first-visit-video {
    min-height: 800px;
    height: 800px;
}

.achievements-appointment {
    padding: 0 0 128px;
}
.achievements-appointment .appointment-heading {
    width: 50%;
    max-width: 700px;
    margin-bottom: 58px;
}
.achievements-appointment h2 {
    margin-bottom: 28px;
    font-size: 43px;
    line-height: 1.08;
}
.achievements-appointment .appointment-lead {
    max-width: 705px;
    font-size: 14px;
    line-height: 1.55;
}
.achievements-appointment .appointment-collage {
    background-image: url('/local/templates/clinic/assets/images/achievements-form-collage.png');
    background-size: cover;
    background-position: center;
}
.achievements-appointment .clinic-webform .form-question--consent + .col-12 {
    margin-top: 88px;
}

.achievements-contacts {
    padding: 78px 0 128px;
}
.achievements-contacts .contacts-head {
    margin-bottom: 51px;
}
.achievements-contacts .map-frame {
    height: auto;
    aspect-ratio: 1420 / 693;
}

@media (min-width: 960px) and (max-width: 1491.98px) {
    .page-achievements .clinic-container {
        width: calc(100% - 72px);
    }
    .achievements-page h1 {
        margin: 52px 0 50px;
        font-size: 40px;
    }
    .achievements-list {
        padding-bottom: 48px;
    }
    .achievement-item {
        grid-template-columns: 240px 434px;
        column-gap: 38px;
        padding-bottom: 29px;
    }
    .achievement-item + .achievement-item {
        margin-top: 20px;
    }
    .achievement-item h2 {
        max-width: 240px;
        font-size: 15px;
        line-height: 1.35;
    }
    .achievement-item__image {
        width: 434px;
    }
    .achievement-item__image img {
        width: 100%;
        height: auto;
    }

    .page-achievements .first-visit {
        padding: 0 0 70px;
    }
    .page-achievements .first-visit .section-head {
        margin-bottom: 38px;
    }
    .page-achievements .first-visit h2 {
        font-size: 40px;
    }
    .page-achievements .first-visit-video {
        min-height: 500px;
        height: 500px;
    }

    .achievements-appointment {
        padding: 0 0 65px;
    }
    .achievements-appointment .appointment-heading {
        width: 100%;
        max-width: none;
        margin-bottom: 33px;
    }
    .achievements-appointment h2 {
        margin-bottom: 28px;
        font-size: 40px;
    }
    .achievements-appointment .appointment-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .achievements-appointment .appointment-collage {
        height: 700px;
        min-height: 700px;
    }
    .achievements-appointment .clinic-webform .form-question--consent + .col-12 {
        margin-top: 88px;
    }

    .achievements-contacts {
        padding: 65px 0 36px;
    }
    .achievements-contacts .contacts-head {
        margin-bottom: 43px;
    }
    .achievements-contacts .map-frame {
        height: 433px;
        aspect-ratio: auto;
    }
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-achievements .clinic-container {
        width: calc(100% - 48px);
    }
    .achievements-breadcrumbs {
        gap: 9px;
        height: 61px;
        font-size: 14px;
        white-space: nowrap;
    }
    .achievements-page h1 {
        margin: 34px 0 31px;
        font-size: 28px;
        line-height: 1.39;
    }
    .achievements-list {
        padding-bottom: 41px;
    }
    .achievement-item {
        display: block;
        padding-bottom: 31px;
    }
    .achievement-item + .achievement-item {
        margin-top: 32px;
        padding-top: 0;
    }
    .achievement-item h2 {
        max-width: none;
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.39;
    }
    .achievement-item__image {
        width: 100%;
    }
    .achievement-item__image img {
        display: block;
        width: 100%;
        height: auto;
    }

    .page-achievements .first-visit {
        padding: 0 0 48px;
    }
    .page-achievements .first-visit .section-head {
        display: block;
        margin-bottom: 24px;
    }
    .page-achievements .first-visit h2 {
        margin-bottom: 20px;
        font-size: 28px;
        line-height: 1.39;
    }
    .page-achievements .first-visit-video {
        min-height: 321px;
        height: 321px;
    }

    .achievements-appointment {
        padding: 0 0 48px;
    }
    .achievements-appointment .appointment-heading {
        width: 100%;
        margin-bottom: 24px;
    }
    .achievements-appointment h2 {
        margin-bottom: 20px;
        font-size: 28px;
        line-height: 1.39;
    }
    .achievements-appointment .appointment-lead {
        font-size: 14px;
        line-height: 1.52;
    }
    .achievements-appointment .appointment-layout {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .achievements-appointment .appointment-collage {
        min-height: 327px;
        height: 327px;
    }
    .achievements-appointment .clinic-webform .form-question--consent + .col-12 {
        margin-top: 45px;
    }

    .achievements-contacts {
        padding: 48px 0 36px;
    }
    .achievements-contacts .contacts-head {
        display: block;
        margin-bottom: 24px;
    }
    .achievements-contacts .contacts-head h2 {
        margin-bottom: 16px;
        font-size: 18px;
        line-height: 1.39;
    }
    .achievements-contacts .map-frame {
        height: 327px;
        aspect-ratio: auto;
    }
}

@media (max-width: 374.98px) {
    .page-achievements .clinic-container {
        width: calc(100% - 32px);
    }
}
