/* Team page. Breakpoints: desktop >= 960px; adaptive 375–959.98px; compact < 375px. */
.page-crew main { overflow: hidden; }
.crew-page { color: #27313d; background: #fff; }
.crew-page__container { padding-top: 0; }

.crew-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #27313d;
    font-size: 18px;
    line-height: 1;
}
.crew-breadcrumbs a { color: #a7aaad; }
.crew-breadcrumbs a:hover { color: #27313d; }

.crew-page h1 {
    margin: 91px 0 59px;
    font-size: 43px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.crew-intro-video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1420 / 795;
    overflow: hidden;
    background: #d9d7d5;
}
.crew-intro-video img { width: 100%; height: 100%; object-fit: cover; }
.crew-intro-video .play-button { width: 80px; height: 80px; color: #fff; background: rgba(82,72,65,.78); }

.crew-intro-text {
    width: 720px;
    max-width: 100%;
    margin: 64px 0 132px;
    font-size: 24px;
    line-height: 1.23;
    text-transform: uppercase;
}

.crew-groups { padding-bottom: 0; }
.crew-group h2 {
    margin: 0 0 62px;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}
.crew-group__divider {
    height: 1px;
    margin: 64px 0 66px;
    background: #a9adb0;
}
.crew-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.crew-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    color: #fff;
    background: #d8d8d8;
}
.crew-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1);
    transition: transform .35s ease;
}
.crew-card:hover img { transform: scale(1.015); }
.crew-card__placeholder { position: absolute; inset: 0; background: #d8d8d8; }
.crew-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(39,49,61,.9) 0, rgba(39,49,61,.48) 20%, rgba(39,49,61,0) 53%);
}
.crew-card__content {
    position: absolute;
    z-index: 2;
    right: 21px;
    bottom: 20px;
    left: 21px;
    display: block;
}
.crew-card__content strong {
    display: block;
    max-width: 390px;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.28;
    text-transform: uppercase;
}
.crew-card__content small {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 16px;
    line-height: 1.28;
}

.page-crew .first-visit { padding: 0 0 118px; }
.page-crew .first-visit .clinic-container { width: min(calc(100% - 48px), 1420px); }
.page-crew .first-visit .section-head { margin-bottom: 58px; }
.page-crew .first-visit h2 { font-size: 43px; line-height: 1.08; }
.page-crew .first-visit .text-link { font-size: 18px; }
.page-crew .first-visit-video { min-height: 0; height: auto; aspect-ratio: 1420 / 795; }
.page-crew .first-visit-video img { object-fit: cover; }

.page-crew .crew-appointment { padding-top: 84px; }
.page-crew .crew-contacts { padding-top: 49px; }

@media (min-width: 375px) and (max-width: 960px) {
    .crew-page__container { width: calc(100% - clamp(48px, 7.5vw, 72px)); max-width: none; }
    .crew-breadcrumbs { height: 61px; font-size: 18px; }
    .crew-page h1 {
        margin: clamp(33px, calc(28.513px + 1.1966vw), 40px) 0 clamp(35px, calc(32.436px + .6838vw), 39px);
        font-size: clamp(28px, calc(20.308px + 2.0513vw), 40px);
        line-height: 1.25;
    }
    .crew-intro-video { aspect-ratio: 888 / 499; }
    .crew-intro-video .play-button {
        width: clamp(34px, calc(18.615px + 4.1026vw), 58px);
        height: clamp(34px, calc(18.615px + 4.1026vw), 58px);
        font-size: clamp(12px, calc(6.872px + 1.3675vw), 20px);
    }
    .crew-intro-text {
        width: 100%;
        margin: clamp(33px, calc(29.154px + 1.0256vw), 39px) 0 clamp(30px, calc(24.231px + 1.5385vw), 39px);
        font-size: clamp(18px, calc(14.154px + 1.0256vw), 24px);
        line-height: 1.39;
    }
    .crew-groups { padding-bottom: 0; }
    .crew-group h2 {
        margin-bottom: clamp(33px, calc(27.231px + 1.5385vw), 42px);
        font-size: clamp(28px, calc(20.308px + 2.0513vw), 40px);
        line-height: 1.39;
    }
    .crew-group__divider {
        width: calc(100% - clamp(0px, calc(39.385px - 4.1026vw), 24px));
        margin: clamp(32px, calc(30.077px + .5128vw), 35px) auto clamp(33px, calc(27.231px + 1.5385vw), 42px);
    }
    .crew-grid { grid-template-columns: repeat(auto-fit, minmax(min(327px, 100%), 1fr)); gap: 20px; }
    .crew-card__content { right: 20px; bottom: 18px; left: 20px; }
    .crew-card__content strong { font-size: clamp(20px, 2.5vw, 24px); }
    .crew-card__content small { font-size: clamp(14px, 1.67vw, 16px); }
    .page-crew .first-visit { padding: 0 0 48px; }
    .page-crew .first-visit .clinic-container { width: calc(100% - clamp(48px, 7.5vw, 72px)); max-width: none; }
    .page-crew .first-visit .section-head { margin-bottom: clamp(24px, calc(12.462px + 3.0769vw), 42px); }
    .page-crew .first-visit h2 { font-size: clamp(28px, calc(20.308px + 2.0513vw), 40px); line-height: 1.39; }
    .page-crew .first-visit .text-link { font-size: clamp(14px, calc(11.436px + .6838vw), 18px); white-space: normal; }
    .page-crew .first-visit-video { aspect-ratio: 888 / 499; }
    .page-crew .crew-appointment { padding-top: 48px; }
    .page-crew .crew-contacts { padding-top: 48px; }
}

@media (max-width: 374.98px) {
    .crew-page__container { width: calc(100% - 48px); max-width: none; }
    .crew-breadcrumbs { height: 61px; gap: 12px; font-size: 18px; }
    .crew-page h1 { margin: 39px 0 35px; font-size: 28px; line-height: 1.25; }
    .crew-intro-video { aspect-ratio: 327 / 183; }
    .crew-intro-video .play-button { width: 34px; height: 34px; padding-left: 2px; font-size: 12px; }
    .crew-intro-text { width: 100%; margin: 33px 0 35px; font-size: 18px; line-height: 1.39; }
    .crew-groups { padding-bottom: 0; }
    .crew-group h2 { margin-bottom: 33px; font-size: 28px; line-height: 1.39; }
    .crew-group__divider { width: calc(100% - 24px); margin: 32px auto 33px; }
    .crew-grid { grid-template-columns: 1fr; gap: 20px; }
    .crew-card__content { right: 20px; bottom: 19px; left: 20px; }
    .crew-card__content strong { font-size: 24px; line-height: 1.36; }
    .crew-card__content small { margin-top: 4px; font-size: 16px; line-height: 1.28; }
    .page-crew .first-visit { padding: 0 0 27px; }
    .page-crew .first-visit .clinic-container { width: calc(100% - 48px); max-width: none; }
    .page-crew .first-visit .section-head { display: block; margin-bottom: 24px; }
    .page-crew .first-visit h2 { margin-bottom: 20px; font-size: 28px; line-height: 1.39; }
    .page-crew .first-visit .text-link { min-height: 0; font-size: 14px; white-space: normal; }
    .page-crew .first-visit-video { aspect-ratio: 327 / 183; }
    .page-crew .crew-appointment { padding-top: 24px; }
    .page-crew .crew-contacts { padding-top: 24px; }
}

.crew-group__divider--after { margin-bottom: 66px; }
@media (min-width: 375px) and (max-width: 960px) {
    .crew-group__divider--after { margin-bottom: clamp(33px, calc(27.231px + 1.5385vw), 42px); }
}
@media (max-width: 374.98px) {
    .crew-group__divider--after { margin-bottom: 33px; }
}
