/*
 Theme Name:    Anago Child New
 Theme URI:    
 Description:  child theme for anago
 Author:       
 Author URI:   
 Template:     anago-theme-new
 Version:      1.0.1
 Tags:         flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, translation-ready, light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/

/* Special Gothic Condensed One ships a single weight, so <strong>/<b> inside a
 * heading (common in editor content, e.g. "Contact Anago today to learn more"
 * on About Master Franchising, SC #53) made the browser synthesize a smeared
 * faux bold. Headings carry their own weight; don't stack bold on top. */
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong,
h1 b, h2 b, h3 b, h4 b, h5 b, h6 b,
.font-heading strong, .font-heading b,
.ss-rich :is(h1, h2, h3, h4, h5, h6) :is(strong, b) { font-weight: inherit; }

/* Location finder result cards (SC #146): the distance ("11 mi") and the
 * Directions link sat cramped together. Space them apart and lead the link
 * with a map-pin (Font Awesome 4.7, already loaded sitewide). */
.cu-locator .wpsl-direction-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.cu-locator .wpsl-directions { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cu-locator .wpsl-directions::before { content: "\f041"; font-family: FontAwesome; font-weight: normal; font-size: 1.1em; line-height: 1; }

/* Contact Us HQ info list (SC #172): the copy was inset 24px past the start
 * of the divider line under each item and ran to the box's right edge (the
 * email clipped on phones). Start the text where the line starts, keep a
 * little right-hand air, and let long emails wrap. */
.cu-hq-row { padding-left: 0; padding-right: 12px; }
.cu-hq-row p, .cu-hq-row a { overflow-wrap: anywhere; }

/* Form subtitles (SC #207–#216, per the client's Website Forms deck slides 4
 * and 6): the parent's `.ss-quote-form--has-jobtop .ss-qf-title + p` rule was
 * meant to hide an old in-form "Looking for a job?" line, but no form carries
 * that line after its title any more, so it was hiding the real subtitles
 * ("Speak with our team about available territories…", "We'll connect you
 * with our national team"). Show the subtitle; still hide it only if it is a
 * careers link. */
.ss-quote-form--has-jobtop .ss-qf-title + p { display: block; }
.ss-quote-form--has-jobtop .ss-qf-title + p:has(a[href*="career"]) { display: none; }

/* Phone numbers never split across lines (SC #198, About Us: "(800) 213-" /
 * "5857" — browsers may break at the hyphen). Applies to every tel: link. */
a[href^="tel:"] { white-space: nowrap; }

/* SC #220 (round 3, "universal note"): the "Disrupting the Commercial Cleaning
   Industry" feature grid sits under a centred heading, but its items were left
   aligned on phones. Centre each item's title, icon and text below 640px only;
   tablet and desktop keep the left-aligned columns. */
@media (max-width: 639px) {
  .dz-features > div { text-align: center; }
  .dz-features > div > div { margin-left: auto; margin-right: auto; }
}
