/* Scoped to approved components. Contact panel styles remain in office-text.css. */
html body .bsw-hide-lead,
html body .bsw-planned-hidden,
body.bsw-hide-assessment a[href*="/service-assessment/"] { display: none !important; }
html body .hero-copy .bsw-new-patients {
    color: #073b96 !important;
    font-size: clamp(20px, 2vw, 26px) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: .01em !important;
    margin: 0 0 18px !important;
    text-transform: none !important;
}
html body .bsw-nav-consistent,
html body .bsw-nav-consistent:visited,
html body .bsw-nav-consistent:hover { color: #073b96 !important; }
html body .bsw-nav-consistent:hover { text-decoration: underline; }
html body .bsw-booking-button,
html body .bsw-booking-button:visited { background: #a74d24 !important; border-color: #a74d24 !important; color: #fff !important; }
html body .bsw-booking-button:hover { background: #8e3f1c !important; border-color: #8e3f1c !important; }
html body .bsw-booking-button:focus-visible,
html body .bsw-hero-text:focus-visible,
html body .bsw-conditions-link:focus-visible,
html body .bsw-privacy-notice-link:focus-visible { outline: 3px solid #073b96; outline-offset: 3px; }
html body .hero-action-row.bsw-hero-contact-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 10px 16px !important;
    max-width: 490px;
}
html body .bsw-hero-contact-row > strong { grid-column: 1 / -1; }
html body .bsw-booking-stack { min-width: 0; }
html body .bsw-booking-stack .hero-button { display: flex; align-items: center; justify-content: center; min-height: 76px; box-sizing: border-box; font-size: 18px; font-weight: 800; }
html body .hero-copy .bsw-saturday-note { margin: 8px 0 0 !important; color: #12345f !important; font: 600 14px/1.4 Arial, sans-serif !important; text-align: center; }
html body .bsw-hero-text {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 76px; box-sizing: border-box; gap: 4px; padding: 12px 14px; border-radius: 9px;
    background: #65418b !important; color: #fff !important;
    font: 800 18px/1.3 Arial, sans-serif; text-align: center; text-decoration: none !important;
}
html body .bsw-hero-text:visited { color: #fff !important; }
html body .bsw-hero-text:hover { background: #50336f !important; }
html body .step-call.bsw-call-two-lines {
    display: flex !important; flex-direction: column !important; align-items: center !important;
    justify-content: center !important; gap: 4px !important; padding: 12px 14px !important;
    min-height: 76px; box-sizing: border-box; font-size: 18px !important;
    line-height: 1.3 !important; text-align: center !important;
}
html body .bsw-hero-text > .bsw-contact-label,
html body .bsw-hero-text > .bsw-contact-number,
html body .bsw-call-two-lines > .bsw-contact-label,
html body .bsw-call-two-lines > .bsw-contact-number {
    display: block !important; margin: 0 !important; padding: 0 !important;
    color: inherit !important; font: inherit !important; line-height: 1.3 !important;
    white-space: nowrap !important; text-align: center !important;
}
html body .bsw-conditions-link { display: inline-block; color: #073b96 !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
html body footer .bsw-explore-links,
html body .shared-footer .bsw-explore-links { display: grid !important; gap: 10px !important; margin: 0 !important; padding: 0 !important; }
html body .bsw-explore-links > a { display: block !important; margin: 0 !important; padding: 0 !important; line-height: 1.5 !important; }
html body .provider-row .person .bsw-provider-intro { margin: 10px 0 12px; color: #315564; font: 400 14px/1.5 Arial, sans-serif; text-align: inherit; overflow-wrap: break-word; }
@media (max-width: 600px) {
    html body .bsw-mobile-logo { flex-wrap: nowrap !important; transform: scale(var(--bsw-logo-scale, 1)); transform-origin: left center; }
    html body .hero-action-row.bsw-hero-contact-row { grid-template-columns: minmax(0, 1fr); gap: 8px !important; margin-left: auto; margin-right: auto; }
    html body .hero-copy .bsw-new-patients { font-size: 22px !important; }
}
/* The Contact Us inquiry form is inline; its X returns to the preceding site page. */
html body #contact-our-office.bsw-contact-has-exit { position: relative; }
html body #contact-our-office.bsw-contact-has-exit #bsw-co-heading { padding-right: 58px !important; }
html body #contact-our-office .bsw-contact-exit {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    display: inline-flex !important; align-items: center; justify-content: center;
    width: 44px; height: 44px; box-sizing: border-box; padding: 0 !important; margin: 0 !important;
    border: 1px solid #cbd9e6; border-radius: 8px; background: #fff !important;
    color: #173f6a !important; font: 400 30px/1 Arial, sans-serif !important;
    text-decoration: none !important; cursor: pointer;
}
html body #contact-our-office .bsw-contact-exit:hover { background: #e5edf5 !important; }
html body #contact-our-office .bsw-contact-exit:focus-visible { outline: 3px solid #a74d24; outline-offset: 3px; }
