/* thelockfather client overrides — linked AFTER static-overrides.css so it wins.
   Every rule here is a measured live-vs-rebuild delta; see 05-review/fidelity/. */

/* (1) Dropdown caret. This theme already draws its own text caret via the captured
   `.menu li > a:after{content:' ▼'}`, so the shared currentColor caret on
   `.avia-menu-text:after` renders a SECOND arrow ("Services ⌄ ▼" vs live "Services ▼"). */
#top #header .av-main-nav > li.menu-item-has-children > a .avia-menu-text:after { content: none !important; }

/* Blog shim (08-blog-migration): the feed serves uncropped originals, while Enfold's
   archive grid used the 495x400 `portfolio` crop and the single post the 1210x423
   `entry_without_sidebar` crop. Reproduce the crops in CSS so card heights line up. */
#blog-list .slide-image img { width: 100%; height: auto; aspect-ratio: 495 / 400; object-fit: cover; }
#post-figure #post-image { width: 100%; height: auto; aspect-ratio: 1210 / 423; object-fit: cover; }
#blog-list .ym-blog-status { padding: 40px 0; }

/* 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-outline repair (inject-fixes.fix_heading_outline): the theme sizes these by TAG
   (`h5{font-size:27px}`), so the h5 → h3 / h2 promotion is pinned to the measured h5 values. */
#top .av-special-heading-h5 .av-special-heading-tag,
#top .av-share-link-description { font-size: 27px; line-height: 1.1em; }

/* Footer legal row (Privacy / Terms), emitted by build-utility-pages.py as a <p> sibling of
   the copyright line in the lime socket bar. The copyright <p> is centred and black via its
   own inline style; Enfold's generic footer link colour painted the new row light on lime
   and left-aligned. Match the line it sits under. 2026-11-10 */
#top #footer-page p.ym-legal-links { text-align: center; margin-top: 0; }
#top #footer-page p.ym-legal-links a { color: inherit; text-decoration: underline; }

/* Linked contact details (2026-11-19). The email and phone in the contact icon
   list were plain text on the source; wrapping them in mailto:/tel: anchors made
   them tappable and measurable, and must not repaint them in the link colour. */
.iconlist_content a[href^="mailto:"],
.iconlist_content a[href^="tel:"] {
  color: inherit;
}
