/* gentrycpa client overrides. Additions only; the captured Enfold CSS is the source of truth. */

/* Blog list shell: status line shown while the feed loads. */
#blog-main .ym-blog-status { padding: 40px 0; }

/* About Us: a team row holding a single person keeps the standard portrait size.
   These rows are display:table, so a row with one person stretches that person to
   fill it and the portrait renders far larger than the rest of the team. The widths
   below are load-bearing: under the default table-layout:auto a cell width is only a
   suggestion the algorithm overrides from intrinsic content, and nothing else in the
   loaded CSS declares a width for these cells. 22.75% + 3% + 74.25% = 100%, matching
   the other team rows. Cells stack to display:block below the theme breakpoint, where
   table-layout no longer applies, so phone layout is unaffected. */
body.page-id-32 .flex_column_table.ym-team-row { table-layout: fixed; }
body.page-id-32 .flex_column_table.ym-team-row > .flex_column.av_one_fourth { width: 22.75%; }
body.page-id-32 .flex_column_table.ym-team-row > .flex_column.av_three_fourth { width: 74.25%; }
body.page-id-32 .flex_column_table.ym-team-row > .av-flex-placeholder { width: 3%; }

/* Visually hidden page h1 for the blog list shell (the captured Enfold archive renders none). */
.ym-seo-h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Heading-hierarchy repair: SIZE PIN so the promotion is render-neutral.
   Operator picked "promote and pin" 2026-12-01.
   inject-fixes.py promotes the headings that caused h1->h3 skips on 7 pages. On this
   theme the swap is NOT free: Enfold sizes these from the BARE TAG, not the wrapper
   class (verified by probing a synthetic element of each tag+class pair in the live
   DOM), so an unpinned promotion would visibly grow them. Measured before -> after:

     h3.av-special-heading-tag   20px/22px    -> as h2 would be 28px/30.8px
     h3.av-magazine-title        14px/18.2px  -> as h2 would be 28px/30.8px
     h4.av_iconlist_title        18px/19.8px  -> as h3 would be 20px/22px
     h4.av-special-heading-tag   18px/19.8px  -> as h3 would be 20px/22px

   IMPORTANT, learned by measuring rather than reasoning: Enfold ALSO emits per-element
   rules of the form `#top #wrap_all .av-special-heading.av-<hash> .av-special-heading-tag`,
   whose specificity (0,2,3,0) beats anything here, and those carry DIFFERENT sizes for
   different elements — the four About Us team names are 25px while "Our Commitment" is
   20px, both `h3.av-special-heading-tag`. So these font-size values are a FALLBACK that
   only applies where the theme has no per-element rule; where it does, the theme wins and
   that is correct.

   line-height is therefore UNITLESS, not px. A fixed `line-height: 22px` was tried and
   measured: it beat the theme on the 25px team names and squashed them from 27.5px to
   22px — a real regression introduced by the pin itself. Every one of these headings uses
   a 1.1 ratio (22/20 and 27.5/25 both equal 1.1; the magazine title is 1.3), so a ratio
   tracks whatever size actually wins instead of fighting it.
   If a future recapture changes these numbers, re-measure — do not trust this block. */
h2.av-special-heading-tag    { font-size: 20px; line-height: 1.1; margin: 0; }
h2.av-magazine-title         { font-size: 14px; line-height: 1.3; margin: 0; }
h3.av_iconlist_title         { font-size: 18px; line-height: 1.1; margin-top: 17px; margin-bottom: 0; }
h3.av-special-heading-tag    { font-size: 18px; line-height: 1.1; margin: 0; }
h2.av-share-link-description { font-size: 16px; line-height: 1.1; margin-top: 0; margin-bottom: 20px; }

/* WCAG AA on the "Have More Questions?" CTA (the two Resources sub-pages).
   Enfold's `avia-color-blue` is #7BB0E7, and the button label is white 15px text:
   2.28:1 against a 4.5 requirement. Operator picked the darken option 2026-12-01.
   #2F6FAE takes white to 5.24:1 and still reads as the same blue button.
   Border follows the theme's own pattern of a slightly darker edge than the fill.
   Scoped to `a.avia-button` so the unrelated `.avia_message_box.avia-color-blue`
   rule (a pale #F5F6FC info box with dark text, which already passes) is untouched. */
a.avia-button.avia-color-blue,
a.avia-button.avia-color-blue:hover,
a.avia-button.avia-color-blue:focus {
  background-color: #2F6FAE;
  border-color: #255A8E;
  color: #fff;
}

/* NOT FIXED HERE, deliberately — home slider pagination dots, Lighthouse `target-size`.
   Enfold renders the two `.goto-slide` dots at 14x14, 16px apart centre-to-centre,
   leaving a 2px edge gap. WCAG 2.2 AA wants 24x24; SEO.md §3 asks for 48x48.
   A transparent 44x44 ::after hit-area was tried and REVERTED: measured in the live
   DOM, elementFromPoint at the pseudo-element's offset returned the parent div, not
   the anchor, so it bought nothing — and at 16px spacing two 24px+ targets would
   overlap each other anyway, which is its own axe failure. Giving these dots a
   compliant target means respacing them, i.e. changing the approved home page.
   Logged as a §0 operator decision in 07-SEO/seo-config.md instead of pretending.
   The keyboard/screen-reader half IS fixed: both dots carry an aria-label
   ("Go to slide N") from inject-fixes.py, and the slider's larger prev/next arrows
   remain as an alternative control. */
