/* FTR footer (template 5705). Owner: FTR agent. Only what Elementor controls cannot do. */

/* Animated logo: crop the 16:9 clip to the logo so it fills the column width, feather every edge into the navy. */
body.page-id-5703 .lz-ftr-logo .elementor-wrapper{position:relative;overflow:hidden;aspect-ratio:2/1;height:auto;padding:0;background:#001124;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 3%,#000 97%,transparent 100%),linear-gradient(180deg,transparent 0,#000 8%,#000 92%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0,#000 3%,#000 97%,transparent 100%),linear-gradient(180deg,transparent 0,#000 8%,#000 92%,transparent 100%);mask-composite:intersect}
body.page-id-5703 .lz-ftr-logo .elementor-wrapper video{position:absolute;left:50%;top:50%;width:156%;max-width:none;height:auto;aspect-ratio:16/9;transform:translate(-50%,-50%);background:#001124;object-fit:cover;pointer-events:none}

/* Keep the fixed scroll to top button (24px from the right, 45px wide) clear of the Pekan credit, with the smallest inset that still leaves a gap. */
@media (min-width:768px){body.page-id-5703 .elementor-element.elementor-element-844d19b{padding-right:max(0px,calc(92px - (100vw - 100%) / 2))!important}}
body.page-id-5703 .lz-ftr-credit img{display:block;height:auto}
/* Narrow phones: the copyright wraps to two even lines instead of leaving "Reserved." alone. */
body.page-id-5703 .lz-ftr-bar .elementor-widget-text-editor p{text-wrap:balance}
/* No lone last word ("communities." / "Communities") in the about paragraph or the Get In Touch list when they wrap. */
body.page-id-5703 .lz-ftr-desc p{text-wrap:pretty}
body.page-id-5703 .lz-ftr-contact .elementor-icon-list-text{text-wrap:balance}

/* "Licensed And Insured" is not a link: no hover colour (must beat Elementor's .elementor-5705 .elementor-element.elementor-element-ID hover rule). */
body.page-id-5703 .elementor-element.lz-ftr-contact .elementor-icon-list-item:not(:has(a)):hover .elementor-icon-list-text{color:#fff}

/* Visible keyboard focus on the navy footer. !important: the theme forces a grey dotted outline on Tab (body.show_outline). */
body.page-id-5703 .elementor-element-637a76d a:focus-visible{outline:2px solid #fff!important;outline-offset:3px!important;border-radius:4px}
body.page-id-5703 .lz-ftr-social a:focus-visible{border-radius:50%}

/* Phones and tablets (mobile round 1). Nothing here applies at 1280px and wider. */
@media (max-width:1279px){
/* Footer links are 44px tap targets: Elementor's list gap is 0 at tablet/mobile, so each row is 44px tall around its text, and the list is pulled in by the extra half row so the space under each title stays as before. */
body.page-id-5703 .lz-ftr :is(.lz-ftr-links,.lz-ftr-contact) .elementor-icon-list-items{margin-block:-10px}
body.page-id-5703 .lz-ftr :is(.lz-ftr-links,.lz-ftr-contact) .elementor-icon-list-item{min-height:44px}
body.page-id-5703 .lz-ftr :is(.lz-ftr-links,.lz-ftr-contact) .elementor-icon-list-item>a{min-height:44px;min-width:44px}
/* Animated logo: at most 420px wide (360px on phones) so it never fills a landscape screen. Its box still starts left of the column so the "L" lines up with the text below,
   but never more than 20px into the side margin (so never past the screen edge): any further offset moves the video inside the box instead. */
body.page-id-5703 .lz-ftr .elementor-element.elementor-element-7e3f05e{--lz-ftr-logo-w:min(100%,420px);width:var(--lz-ftr-logo-w);max-width:var(--lz-ftr-logo-w);margin-left:max(-20px,calc(var(--lz-ftr-logo-w) * -.0629))}
body.page-id-5703 .lz-ftr-logo .elementor-wrapper video{left:calc(50% - max(0px,6.29% - 20px))}
}
@media (max-width:767px){
body.page-id-5703 .lz-ftr .elementor-element.elementor-element-7e3f05e{--lz-ftr-logo-w:min(100%,360px)}
}
