/* standiferhcbs client overrides — linked AFTER static-overrides.css so it wins.
   Every rule here is a measured live-vs-rebuild delta or a render-neutral pin. */

/* Heading hierarchy (inject-fixes.py fix 7): Enfold sizes headings by TAG, so a special
   heading promoted one level to close an h1→h3 / h2→h4 skip is pinned back to the size of
   the tag it was captured with. Per-element Enfold sizes (`.av-special-heading.av-xxx
   .av-special-heading-tag{font-size:…}`) are keyed on the wrapper and outrank these. */
#top .av-special-heading-tag.ym-was-h4 { font-size: var(--enfold-font-size-h4, 23px); }
#top .av-special-heading-tag.ym-was-h3 { font-size: var(--enfold-font-size-h3, 28px); }
#top .av-special-heading-tag.ym-was-h5,
#top .av-share-link-description.ym-was-h5 { font-size: 16px; line-height: 1.1em; }  /* measured h5: 16px / 17.6px, bold, margin from the share-box class */

/* Gold brand text on LIGHT sections fails AA (2.19:1 on white; Lighthouse + contrast-sweep
   2026-11-06). Fleet rule: fills keep the brand, only TEXT shifts, and only where it sits on a
   light surface — the same gold stays untouched on the red bands and the dark footer.
   #8e6b24 is the lightest same-hue gold that clears 4.5:1 on #f9f8f6 / #ffffff (computed). */

/* Gold brand text on the RED bands (.alternate_color: hero + Request A Tour) measures 3.69:1
   against #9b1e22 (pixel-sampled 2026-11-06; the 15px eyebrows and the 18px phone link need
   4.5:1). Fleet rule: fills keep the brand, only TEXT shifts, by the smallest step that clears
   AA. #dfbf80 is the lightest same-hue gold at 4.57:1 on the red. Gold on the dark footer
   (7.3:1) and the white cards is untouched. */
#top .alternate_color .av-subheading,
#top .alternate_color .av-subheading p,
#top .alternate_color .avia_textblock a:not(.avia-button),
#top #requesttour .av-subheading,
#top #requesttour .av-subheading p,
#top #requesttour .iconlist_title a,
#top #requesttour a[href^="tel:"]:not(.avia-button),
#top #av_section_1 .av-subheading,
#top #av_section_1 .av-subheading p { color: #dfbf80 !important; }
/* the form card inside the band keeps its own ink */
#top #requesttour .avia_ajax_form a { color: inherit !important; }
