/*
Theme Name: Entrust
Description: Entrust Rentals child theme of Twenty Twenty-Five. Replaces the 2016 Beaver Builder theme.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: entrust
*/

/* Top bar */
.entrust-topbar { background: var(--wp--preset--color--accent-1); padding-block: 6px; font-size: 14px; }
.entrust-topbar a { color: var(--wp--preset--color--base); text-decoration: none; }
.entrust-topbar a:hover, .entrust-topbar a:focus { color: var(--wp--preset--color--accent-4); }

/* Header: skyline (animated line from the original header) over the main menu */
.entrust-header { padding-block: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20); border-bottom: 1px solid var(--wp--preset--color--accent-5); }
.entrust-skyline { margin-block: 0 var(--wp--preset--spacing--20); }
.entrust-skyline img { width: min(100%, 600px); height: auto; }

/* Footer */
.entrust-footer { padding-block: var(--wp--preset--spacing--40); border-top: 1px solid var(--wp--preset--color--accent-5); color: var(--wp--preset--color--accent-6); font-size: 14px; }
.entrust-footer p { margin: 0; }

/* Navigation */
.wp-block-navigation a { text-decoration: none; }
.wp-block-navigation a:hover, .wp-block-navigation a:focus { text-decoration: underline; }

/* Legacy: WPL carousel captions (ported from Beaver Builder global CSS) */
.ei-title h2 { font-size: 36px; }
.ei-title h2, .ei-title h3 { text-align: left; }
.ei-title a { float: none !important; display: inline-block !important; }
.ei-title { top: 3% !important; left: 3%; text-align: center; }
.main-carousel img { height: 100% !important; }

/* WPL's frontend.css sets `.fa { font-family: wpl-front; font-weight: normal }` site-wide, which breaks legacy
   `fa fa-*` icons in Beaver Builder modules: wrong font, or Font Awesome Regular (400) which lacks most glyphs.
   Restore FA's family and default Solid weight. :where() keeps specificity at (0,1,1) so v4-shims rules such as
   `.fa.fa-file-pdf-o { font-weight: 400 }` still win. Icons re-picked in BB (saved as `fas fa-*`) don't need this. */
:where(.fl-builder-content) i.fa { font-family: var(--_fa-family); font-weight: var(--fa-style, 900); }
