/*
 * EFLL Site Design - homepage (Draft E) styles.
 * Moved verbatim from the <style> block of draft page 8344, scoped under #efll-home.
 * Removed: Draft E's own header/nav/burger/language-bar rules (the shared header in chrome.css
 * replaces them) and its footer padding rule (re-targeted at the shared footer below).
 * Generic element resets skip .efll-sd-header, which is rendered inside the hero.
 */
html{scroll-behavior:smooth}
body.efll-home-page{margin:0;background:#08111d}
#efll-home{position:relative}
#efll-home *{box-sizing:border-box}
#efll-home :is(h1,h2,h3,p,blockquote,figure,figcaption):not(.efll-sd-header *){color:inherit;font-family:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:none;margin:0;padding:0;border:0;background:none}
#efll-home a:not(.efll-sd-header *){color:#fff;transition:color .2s}
#efll-home a:not(.efll-sd-header *):hover{color:#e6c25a}
#efll-home img:not(.efll-sd-header *){max-width:none;border-radius:0;box-shadow:none}
#efll-home ul:not(.efll-sd-header *){list-style:none;margin:0;padding:0}
@keyframes kb{from{transform:scale(1.02)}to{transform:scale(1.08)}}
@keyframes rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes marq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes glow{0%,100%{opacity:.6}50%{opacity:1}}
@keyframes sweep{from{transform:translateX(-120%)}to{transform:translateX(220%)}}
#efll-home .kb{animation:kb 30s ease-out infinite alternate;transform-origin:50% 90%}
#efll-home .rise{animation:rise 1.3s cubic-bezier(.2,.7,.2,1) both}
#efll-home .d1{animation-delay:.2s}#efll-home .d2{animation-delay:.45s}#efll-home .d3{animation-delay:.7s}#efll-home .d4{animation-delay:.95s}
#efll-home .marq{animation:marq 48s linear infinite}
#efll-home .glow{animation:glow 3.2s ease-in-out infinite}
#efll-home .sweep{animation:sweep 7s ease-in-out infinite}
#efll-home .tm img{filter:grayscale(1) contrast(1.06) brightness(.92);transition:filter .5s ease}
#efll-home .tm:hover img,#efll-home .tm:focus img{filter:none}
#efll-home .pa:hover{background:rgba(212,167,44,.06)}
@media (prefers-reduced-motion:reduce){#efll-home .kb,#efll-home .rise,#efll-home .marq,#efll-home .glow,#efll-home .sweep{animation:none}}
/* badges */
#efll-home .eh-badges{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#efll-home .eh-badge{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:3px;height:62px;width:86px;padding:6px}
#efll-home .eh-badge img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
/* forms (WPForms #1000) */
#efll-home .eh-form .wpforms-container{margin:0!important;padding:0!important}
#efll-home .eh-form .wpforms-field-container{display:grid!important;gap:14px}
#efll-home .eh-form .wpforms-field{padding:0!important;margin:0!important;width:auto!important;max-width:none!important;float:none!important;clear:none!important}
#efll-home .eh-form .wpforms-field-label{display:block;color:#d9e0ea!important;font:600 13px/1.4 'Barlow',sans-serif!important;margin:0 0 5px!important;letter-spacing:.02em}
#efll-home .eh-form .wpforms-required-label{color:#e6c25a!important}
#efll-home .eh-form input[type=text],#efll-home .eh-form input[type=email],#efll-home .eh-form input[type=tel],#efll-home .eh-form textarea{width:100%!important;max-width:none!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:2px!important;color:#fff!important;font:400 16px/1.4 'Barlow',sans-serif!important;padding:11px 12px!important;min-height:46px!important;height:auto!important;box-shadow:none!important}
#efll-home .eh-form input:focus,#efll-home .eh-form textarea:focus{border-color:#d4a72c!important;outline:2px solid rgba(212,167,44,.35)!important;outline-offset:0}
#efll-home .eh-form textarea{resize:vertical}
#efll-home .eh-form .wpforms-submit-container{padding:0!important;margin:16px 0 0!important}
#efll-home .eh-form .wpforms-submit{background:#d4a72c!important;color:#08111d!important;border:0!important;border-radius:2px!important;font:600 18px/1 'Barlow Condensed',sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase!important;padding:15px 30px!important;min-height:50px!important;height:auto!important;box-shadow:none!important;cursor:pointer}
#efll-home .eh-form .wpforms-submit:hover{background:#e6c25a!important}
#efll-home .eh-form label.wpforms-error,#efll-home .eh-form em.wpforms-error{color:#ffb4a2!important;font-size:13px!important}
#efll-home .eh-form .wpforms-confirmation-container-full{background:#13243a!important;border:1px solid #d4a72c!important;color:#fff!important;padding:18px 20px!important}
#efll-home .eh-form-strip .wpforms-field-container{grid-template-columns:repeat(4,minmax(0,1fr))}
#efll-home .eh-form-strip textarea{min-height:46px!important;height:46px!important}
#efll-home .eh-form-full .wpforms-field-container{grid-template-columns:repeat(2,minmax(0,1fr))}
#efll-home .eh-form-full .wpforms-field-name,#efll-home .eh-form-full .wpforms-field-textarea{grid-column:1/-1}
#efll-home .eh-form-full textarea{min-height:120px!important}
@media (max-width:900px){#efll-home .eh-form-strip .wpforms-field-container{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){#efll-home .eh-form-strip .wpforms-field-container,#efll-home .eh-form-full .wpforms-field-container{grid-template-columns:1fr}}
/* mobile call bar */
#efll-home .eh-callbar{display:none}
@media (max-width:760px){
 #efll-home .eh-callbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9990;justify-content:center;align-items:center;gap:10px;min-height:54px;background:#d4a72c;color:#08111d!important;font:600 18px 'Barlow Condensed',sans-serif;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;box-shadow:0 -10px 30px rgba(0,0,0,.35)}
 body.efll-home-page .efll-sd-footer{padding-bottom:54px}
}
/* overrides */
body:has(#efll-home) #efll-es-wrap{display:none!important}
@media (max-width:640px){#efll-home [style*="minmax(240px, 1fr)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}#efll-home [style*="minmax(240px, 1fr)"]>div{padding:18px 12px!important}#efll-home [style*="minmax(240px, 1fr)"]>div>div:first-child{font-size:22px!important}#efll-home [style*="minmax(240px, 1fr)"]>div>div:last-child{font-size:13px!important;line-height:1.45}#efll-home .tm span[style*="font-size: 21px"]{font-size:17px!important}#efll-home [style*="minmax(230px, 1fr)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 14px!important}#efll-home .tm span[style*="letter-spacing: 0.22em"]{font-size:12px!important;letter-spacing:.14em!important}}
html.eh-menu-open #efll-home .eh-callbar,html.efll-sd-menu-open #efll-home .eh-callbar,html.sdh-menu-open #efll-home .eh-callbar,body.sdh-menu-open #efll-home .eh-callbar,body.efll-sd-menu-open #efll-home .eh-callbar{display:none!important}
/* skip-link target printed right after the shared header (templates/front-page.php) */
#efll-home .efll-sd-skip-target{display:block;width:0;height:0;overflow:hidden}
#efll-home .efll-sd-skip-target:focus{outline:0}
/* ---- Small-screen fit (Draft E clipped text at 320-414px). Everything below is inside max-width:1023px,
        so desktop (>=1024px) renders exactly as Draft E. Selectors key off the draft's inline styles. ---- */
@media (max-width:1023px){
 /* auto-fit grids: a column may never be wider than its container (was minmax(Npx,1fr) -> overflow below N) */
 #efll-home [style*="minmax(290px, 1fr)"]{grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr))!important}
 #efll-home [style*="minmax(300px, 1fr)"]{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))!important}
 #efll-home [style*="minmax(320px, 1fr)"]{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr))!important}
 #efll-home [style*="minmax(380px, 1fr)"]{grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr))!important}
 #efll-home [style*="minmax(400px, 1fr)"]{grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr))!important}
 /* flex/grid children may shrink below their longest word; long words wrap instead of overflowing */
 #efll-home [style*="display: flex"]>[style*="flex:"],#efll-home [style*="display: grid"]>*{min-width:0}
 #efll-home :is(h1,h2,h3,p,blockquote,figcaption,li,a,span,div):not([aria-hidden="true"]){overflow-wrap:break-word}
 #efll-home :is(h2,h3,blockquote,[style*="Cinzel"]):not([aria-hidden="true"]){overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}
 /* hero: the centred column used auto margins, which made it as wide as "Employees." */
 #efll-home [style*="padding: clamp(24px, 4vw, 56px) 28px 0"]{width:100%;min-width:0}
 /* hero "Employees." - never wider than the viewport (desktop value kept by the min()) */
 #efll-home [style*="clamp(60px, 11vw, 176px)"]{font-size:min(clamp(60px, 11vw, 176px), calc((100vw - 56px) / 6.4))!important}
 #efll-home [style*="clamp(34px, 5vw, 76px)"]{font-size:min(clamp(34px, 5vw, 76px), calc((100vw - 56px) / 9))!important}
 /* jury-verdict figure (nowrap) and the county list: scale to the viewport on narrow phones */
 #efll-home [style*="clamp(40px, 4.4vw, 68px)"][style*="nowrap"]{font-size:min(clamp(40px, 4.4vw, 68px), calc((100vw - 80px) / 7.4))!important}
 #efll-home [aria-label="Counties we serve"]{font-size:min(clamp(36px, 5.6vw, 88px), calc((100vw - 56px) / 8.8))!important}
}
@media (max-width:640px){
 /* results grid amounts (2 columns on phones): keep each figure on one line and size it to the cell */
 #efll-home [style*="minmax(240px, 1fr)"]>div>div:first-child{white-space:nowrap;overflow-wrap:normal!important;font-size:min(22px, calc((100vw - 104px) / 13))!important}
}
@media (max-width:480px){
 /* mobile call bar: centre the wrapped line and keep it to one line on most phones */
 #efll-home .eh-callbar{text-align:center;padding:6px 12px;font-size:15px!important;letter-spacing:.1em!important}
 #efll-home .pa span[style*="font-size: 24px"]{font-size:20px!important}
 /* "Our commitment to you." card */
 #efll-home [style*="padding: 56px 48px"]{padding:40px 24px!important}
 #efll-home [style*="font-style: italic; font-size: 40px"]{font-size:34px!important}
 /* ERISA panel */
 #efll-home [style$="padding: 56px"]{padding:36px 24px!important}
}
@media (max-width:360px){
 #efll-home .pa{gap:14px!important}
 #efll-home .pa span[style*="font-size: 24px"]{font-size:17px!important}
 #efll-home [style*="font-style: italic; font-size: 40px"]{font-size:30px!important}
}
