/* aquapros client overrides (hand-authored; survives rebuilds, linked last).
   SEO pass 2026-11-10: the contact page's "Proudly Serving:" heading was an <h5>
   directly under an <h3> (a skipped level). It is retagged <h4 class="ym-h5">.
   Enfold sizes bare headings by TAG (measured: h5 = 32px desktop / 27px under
   768px, line-height 1.1em, no bottom margin; h4 = 37px / 32px with a 4px bottom
   margin), so this pins the h5 rendering on the new tag. The theme's `p + h4`
   rule keeps the 48px top margin because it is 1.5em of this font-size. */
h4.ym-h5 { font-size: 32px; line-height: 1.1em; margin-bottom: 0; }
@media only screen and (max-width: 767px) {
  h4.ym-h5 { font-size: 27px; }
}

/* SEO pass 2026-11-10, mobile LCP: the home hero's parallax photo is a 2048px,
   539 KB JPEG (Lighthouse mobile LCP 8.1 s before the preload, 6.2 s after). Under
   768px the same photo is served at 1024px (164 KB); desktop is untouched. Keep
   this selector identical to the per-post stylesheet's rule plus `#top` so it wins. */
@media only screen and (max-width: 767px) {
  #top .avia-section.av-kdj9bcua-39a3eff75b45484eee97422baa4ea698 .av-parallax .av-parallax-inner {
    background-image: url("../../assets/images/484553562-643617825057067-1488652046980376403-n-1024x768.jpg");
  }
}

/* Operator decisions 2026-11-11 (SEO pass round 2). */

/* Brand blue as TEXT fails AA on white (3.27:1). Enfold paints every brand-coloured
   text node and every white-text button fill from ONE variable, so the darker brand
   (#0077aa, 4.98:1 on white) is set on the main colour section only: links, strong/b,
   the form's required marks, the masonry "Load more", the submit button and the
   theme-colour buttons all move together; section bands, icons and the light-blue
   pills keep their own colours. */
#top .main_color { --enfold-main-color-primary: #0077aa; }
/* The home hero "View Work Gallery" pill is hard-coded per element (white on #0099cc). */
#top #wrap_all .avia-button.av-mf412lap-5eb58e0a94266e700170e45dadceea34 {
  background-color: #0077aa; border-color: #0077aa;
}

/* Primary phone on the home hero: inherits the hero text colour, no link styling. */
#top .av-subheading .ym-hero-tel { color: inherit; text-decoration: none; }
#top .av-subheading .ym-hero-tel:hover,
#top .av-subheading .ym-hero-tel:focus-visible { text-decoration: underline; }

/* "Review us on Google" in the socket: inline SVG mark sized like the 18px font glyphs. */
#socket .social_bookmarks li.av-social-link-google a .ym-google-g {
  display: inline-block; width: 18px; height: 18px; vertical-align: middle; fill: currentColor;
}
