.doctors > .direction-doctor {
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
}
.doctors > .direction-doctor > a:first-child {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 190px;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}
.doctors .direction-doctor .direction-doctors__image {
    display: block;
    width: 100% !important;
    height: 190px !important;
    max-width: 100%;
    max-height: none !important;
    margin-right: 0 !important;
    object-fit: contain !important;
    object-position: center bottom;
}
.doctors > .direction-doctor > a:first-child,
body .doctor > .doctor__image-block > .doctor__image {
    background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #f0f4f5 55%, #e0e9ed 100%);
}
body .doctor {
    gap: 32px !important;
    flex-direction: row !important;
    align-items: flex-start !important;
}
body .doctor > .doctor__image-block {
    display: flex !important;
    flex: 0 0 400px !important;
    width: 400px !important;
    min-width: 0 !important;
    max-width: 400px !important;
    margin: 0 !important;
}
body .doctor > .doctor__image-block > .doctor__image {
    display: block !important;
    width: 100% !important;
    height: 240px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
}
body .doctor > .doctor__image-block + div {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}
body .doctor form.doctor__mobile-form.form-record {
    display: none !important;
}
body .doctor form.form-record .doctor-form__office {
    width: 100%;
    margin: 0 0 20px;
    color: #fff;
    text-align: left;
}
body .doctor .doctor-form__office-label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,.85);
}
body .doctor .doctor-form__office-address {
    display: block;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
body .doctor form.form-record .doctor-form__consent {
    display: block;
    margin-top: 14px;
    text-align: left;
}
@media (min-width: 1100px) {
    body .doctor > .doctor__image-block {
        flex-basis: 440px !important;
        width: 440px !important;
        max-width: 440px !important;
    }
}
@media (min-width: 1280px) {
    body .doctor > .doctor__image-block {
        flex-basis: 520px !important;
        width: 520px !important;
        max-width: 520px !important;
    }
}
@media (max-width: 940px) {
    body .doctor {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
    }
    body .doctor > .doctor__image-block {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 300px !important;
        align-self: center;
    }
    body .doctor > .doctor__image-block > .doctor__image {
        height: 200px !important;
        border-radius: 24px !important;
    }
    body .doctor > .doctor__image-block + div {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
    body .doctor > .doctor__image-block > form.doctor__form.form-record {
        display: none !important;
    }
    body .doctor form.doctor__mobile-form.form-record {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        align-self: stretch;
        box-sizing: border-box;
        margin: 24px 0 30px !important;
        padding: 24px !important;
        border-radius: 24px !important;
    }
    body .doctor .doctor__surname {
        font-size: clamp(25px, 4.5vw, 34px) !important;
        line-height: 1.18 !important;
        overflow-wrap: anywhere;
    }
    body .doctor .doctor-reception__dates {
        font-size: clamp(22px, 4vw, 28px) !important;
        line-height: 1.3 !important;
    }
    body .doctor .paragraph_default {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    body .doctor form.form-record .form-record__input {
        min-height: 50px !important;
        font-size: 16px !important;
    }
    body .doctor form.form-record .form-record__submit {
        min-height: 52px !important;
        font-size: 17px !important;
    }
    body .doctor form.form-record .helperText,
    body .doctor form.form-record .doctor-form__consent,
    body .doctor form.form-record .doctor-form__consent span {
        color: rgba(255,255,255,.94) !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }
    body .doctor form.form-record .doctor__form-section {
        gap: 12px !important;
    }
}
@media (max-width: 600px) {
    body .doctor { gap: 16px !important; }
    body .doctor > .doctor__image-block { max-width: 240px !important; }
    body .doctor > .doctor__image-block > .doctor__image { height: 180px !important; }
    body .doctor form.doctor__mobile-form.form-record { padding: 22px 18px !important; }
    body .doctor form.form-record .form-record__heading { font-size: 24px !important; margin-bottom: 20px !important; }
}

/* Touch visitors need an explicit booking action without hover. */
@media (hover: none) {
    .direction-doctor .direction-doctor__submit-block,
    .direction-doctor:hover .direction-doctor__submit-block {
        position: static;
        max-height: none;
        padding: 15px 0 0;
        background: transparent;
        box-shadow: none;
    }
    .direction-doctor .direction-doctor__submit { display: block; }
}
