/* samtaylormd.com — accessibility fixes (2026-10-09). Site-scoped overrides; loaded after the theme CSS. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* education sidebar: current/hover condition link #E95A28 (3.52:1 on white) -> #d24615 (4.54:1) */
#content-area #educationsidebar .widget>ul ul>li a:hover,#content-area #educationsidebar .widget>ul ul>li a.current-condition{color:#d24615}
/* footer credit: the legacy white monitor background icon sat on top of "Designed By"; the credit carries its own SVG */
.et_pb_blurb:has(.ft-credit){background-image:none!important;padding-left:0!important}
/* slider arrows: Divi hides the "Previous"/"Next" text with display:none, leaving the links unnamed — keep it for screen readers only */
.et-pb-slider-arrows a span{display:block!important;position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
/* visible keyboard focus in the site navy (white on the dark header/footer bands) */
.mobile_menu_bar:focus-visible{outline:3px solid #fff;outline-offset:2px}
/* accessibility statement: strong focus ring on its links */
.a11y-statement a:focus,.a11y-statement a:focus-visible{outline:3px solid #112f52!important;outline-offset:3px}
/* contact forms: visible labels (were display:none, placeholder-only) + required marked in text */
.et_pb_contact_form .et_pb_contact_form_label{display:block!important;margin:0 0 4px;font-size:14px;font-weight:600;line-height:1.3}
.et_pb_contact_field:has([data-required_mark="required"]) .et_pb_contact_form_label::after{content:" (required)";font-weight:400}
.et_pb_contact_submit:focus-visible,.mejs-container:focus-visible,.mejs-overlay-button:focus-visible{outline:3px solid #fff!important;outline-offset:2px;box-shadow:0 0 0 6px #112f52}
/* homepage contact form sits on a dark photo band: labels in white like the band's other text */
body.home .et_pb_section_4 .et_pb_contact_form .et_pb_contact_form_label{color:#fff}
/* reflow (320px / text spacing): long URLs and words used as link text may wrap instead of forcing sideways scroll */
[role="main"] a,[role="main"] p,[role="main"] li,[role="main"] h1,[role="main"] h2,[role="main"] h3{overflow-wrap:anywhere}
/* pause/play control for the homepage background video */
.et_pb_section_video{position:relative}
.a11y-video-toggle{position:absolute;right:16px;bottom:16px;z-index:20;min-height:44px;padding:10px 16px;background:#112f52;color:#fff;border:2px solid #fff;border-radius:4px;font:600 14px/1.2 "Open Sans",Arial,sans-serif;cursor:pointer}
.a11y-video-toggle:hover{background:#0b2038}
.a11y-video-toggle:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #112f52}
/* contact form fields: visible boundary (field fill #eee on white was 1.16:1) */
.et_pb_contact_form .et_pb_contact_field .input{border:1px solid #767676!important}
/* mobile header: the transparent nav row lay on top of the Facebook/Twitter/LinkedIn icons, so taps never reached them */
@media (max-width:980px){#et-top-navigation{pointer-events:none}#et-top-navigation #et_mobile_nav_menu,#et-top-navigation #et_mobile_nav_menu *{pointer-events:auto}}
/* Divi icon-font glyphs drawn with CSS content were read as part of names ("Learn more about Dr. Taylor 5", "4 Previous").
   Same glyphs, empty alternative text for assistive technology. */
.et_pb_button.et_pb_more_button::after,.et_pb_contact_submit.et_pb_button::after{content:"5" / ""}
.et-pb-slider-arrows .et-pb-arrow-prev::before{content:"4" / ""}
.et-pb-slider-arrows .et-pb-arrow-next::before{content:"5" / ""}
.et_pb_testimonial::before{content:"|" / ""}
.mobile_menu_bar::before{content:"a" / ""}
