/* hakimfarlaw.com – paste AFTER wp-divi-common-a11y.css
   BEST FIX: Divi > Theme Customizer > General Settings > Theme Accent Color  #ba8f2d -> #7d5f1a
   and update the gold/teal colours in the Divi Builder modules (Design tab > Text/Heading colour).
   The rules below cover what the scan found if the module colours are left as-is.
   Ratios measured: #ba8f2d on #fff = 2.97:1 (needs 4.5:1 normal / 3:1 large text);
   #6dc9b0 = 1.97:1; #23c7b2 = 2.12:1; #f2f2f2 on #ba8f2d = 2.65:1; #7a7a7a small text = 4.29:1. */

/* gold headings, menu current item, CCW link, contact button: #7d5f1a = 5.96:1 on white */
#top-menu li.current-menu-item > a, #top-menu li.current-menu-ancestor > a,
#top-menu li.current_page_item > a, .et_pb_text_inner h1, .et_pb_text_inner h1 a,
a[href$="/laccw"], .et_pb_text_inner a { color: #7d5f1a !important; }
.et_pb_contact_submit, .et_pb_button { color: #ffffff !important; background-color: #7d5f1a !important; border-color: #7d5f1a !important; }
/* teal sub-headings (#6dc9b0 / #23c7b2): #1f7a63 = 5.22:1 */
.et_pb_text_inner h3, .et_pb_text_inner h5 { color: #1f7a63 !important; }
/* Footer bar: light text on gold -> keep light text, darken bar */
#footer-bottom { background-color: #5c4613 !important; }
#footer-info, #footer-info a { color: #ffffff !important; }
/* Small grey instructions text (#7a7a7a 4.29:1) */
.contact-inst p { color: #595959 !important; }

/* Contact page "Let's Chat" heading (module CSS: .et_pb_text_1 h1 {color:#23c7b2 !important}) */
body.page-id-38 #page-container .et_pb_text_1 h1 { color: #1f7a63 !important; }
/* Menu hover colour #23c7b2 (2.12:1) */
#top-menu-nav #top-menu a:hover, #mobile_menu_slide a:hover { color: #1f7a63 !important; }

/* fix-all 2026-11-23: heading-level fixes keep their original look */
body.page-id-213 #page-container h1.a11y-h1-keep-h2 { font-size: 20px !important; font-weight: 500 !important; line-height: 1em !important; color: #474747 !important; padding-bottom: 10px; margin: 0 0 1px; letter-spacing: normal !important; font-family: Trebuchet, "Trebuchet MS", Helvetica, Arial, Lucida, sans-serif !important; }
body.page-id-954 #page-container h2.a11y-keep-h5 { font-size: 16px !important; font-weight: 500 !important; line-height: 1em !important; color: #1f7a63 !important; padding-bottom: 10px; letter-spacing: normal !important; }
/* fix-all 2026-11-23: blog posts (single.php now renders) use the same accessible palette */
body.single #left-area .entry-title, body.single .entry-content h1, body.single .entry-content h1 *,
body.single .entry-content a { color: #7d5f1a !important; }
body.single .entry-content h3 { color: #1f7a63 !important; }
#sidebar h2, #sidebar h1 { color: #7d5f1a !important; }
#sidebar h3 { color: #1f7a63 !important; }
#searchsubmit { color: #222222 !important; }
body.single .et_post_meta_wrapper a, body.single .post-meta a { color: #404040 !important; }
