/*
 * Keep the primary banner on Doctors Pro pages consistent with the new
 * 209 Urgent Care condition-page banners: full 1100px content width and 2:1.
 */
#page-content-inner .uc209-site-banner {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#page-content-inner div.uc209-site-banner > figure,
#page-content-inner .uc209-site-banner > a,
#page-content-inner figure.uc209-site-banner {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#page-content-inner .uc209-site-banner img.uc209-site-banner-image {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767px) {
    #page-content-inner .uc209-site-banner {
        width: 100% !important;
    }
}

/*
 * Doctors Pro renders page titles larger on phones than on desktops
 * (66px type on a 345px column with a 48px line height). Keep the real H1,
 * location wording, breadcrumbs, and SEO metadata unchanged while making the
 * title area readable and responsive at every breakpoint.
 */
body .tally_subHeader {
    height: auto !important;
    overflow-x: clip;
}

body .tally_subHeader .tsh_inner {
    align-items: center;
    display: flex;
    gap: 36px;
    height: auto !important;
    justify-content: space-between;
}

body .tally_subHeader .tsh_title_area {
    display: block;
    flex: 0 1 58%;
    max-width: 58% !important;
    min-width: 0;
    width: 58% !important;
}

body .tally_subHeader .tsh_title {
    font-size: clamp(38px, 3.2vw, 46px) !important;
    hyphens: none;
    letter-spacing: -0.015em;
    line-height: 1.14 !important;
    max-width: 100%;
    overflow-wrap: break-word;
    text-wrap: balance;
    word-break: normal;
}

body .tally_subHeader .tsh_breadcrumbs {
    display: block;
    flex: 0 1 38%;
    float: none !important;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 !important;
    max-width: 38% !important;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
    width: 38% !important;
}

@media (max-width: 1024px) {
    body .tally_subHeader {
        padding-bottom: 36px !important;
        padding-top: 36px !important;
    }

    body .tally_subHeader .tsh_inner {
        gap: 24px;
    }

    body .tally_subHeader .tsh_title {
        font-size: clamp(36px, 4.6vw, 42px) !important;
        line-height: 1.15 !important;
    }
}

@media (max-width: 767px) {
    body .tally_subHeader {
        min-height: 0 !important;
        padding-bottom: 28px !important;
        padding-top: 28px !important;
    }

    body .tally_subHeader .tsh_inner {
        display: block;
        height: auto !important;
        min-height: 0;
    }

    body .tally_subHeader .tsh_title_area {
        display: block;
        max-width: 100% !important;
        text-align: center;
        width: 100% !important;
    }

    body .tally_subHeader .tsh_title {
        font-size: clamp(32px, 9.2vw, 36px) !important;
        letter-spacing: -0.01em;
        line-height: 1.16 !important;
        margin: 0;
        max-width: 100%;
        overflow-wrap: break-word;
        text-align: center;
        word-break: normal;
    }

    body .tally_subHeader .tsh_breadcrumbs {
        display: block;
        float: none !important;
        font-size: 13px;
        line-height: 1.45;
        margin-top: 14px !important;
        max-width: 100% !important;
        overflow-wrap: anywhere;
        text-align: center;
        width: 100% !important;
    }
}

@media (max-width: 374px) {
    body .tally_subHeader .tsh_title {
        font-size: 30px !important;
    }
}
