/* Flores front-end fixes 1.0.2. Scoped: .ffx-* wrappers + a few theme selectors. */
:root{--ffx-green:#4f7d17;--ffx-green-d:#3f6e0f;--ffx-blue:#3840d8;--ffx-panel:#363839;--ffx-line:#e0dede;--ffx-gap:30px}

/* ---- 1. White text that sat on white: give its block a dark panel ---- */
.post-content :is(p,li,h2,h3,h4,h5,h6,blockquote):has(> :is(span,strong,em,a)[style*="color" i]:is([style*="#fff" i],[style*="white" i],[style*="255, 255, 255"],[style*="255,255,255"])):not(.ffx-bg-dark *):not(.ffx-box *){background:var(--ffx-panel);color:#fff;margin:0;padding:.55em 1.5em}
:is(.post-content,.post-content :is(div,section,td))>:is(span,strong,em)[style*="color" i]:is([style*="#fff" i],[style*="white" i],[style*="255, 255, 255"],[style*="255,255,255"]):not(.ffx-bg-dark *):not(.ffx-box *){display:block;background:var(--ffx-panel);padding:.55em 1.5em}
.post-content :is(p,li,h2,h3,h4,h5,h6):has(> span[style*="color" i]:is([style*="#fff" i],[style*="white" i])) a:not([style]){color:#cfe6a9}

.ffx-box:has(:is(span,strong,em)[style*="color" i]:is([style*="#fff" i],[style*="white" i],[style*="255, 255, 255"],[style*="255,255,255"])):not(.ffx-bg-dark *){background:var(--ffx-panel);color:#fff;padding:28px 32px}
.ffx-box:has(span[style*="color" i]:is([style*="#fff" i],[style*="white" i])) a:not([style]){color:#cfe6a9}
@media (max-width:640px){.ffx-box:has(span[style*="color" i]){padding:20px 16px}}

/* ---- 2. Mobile menu ---- */
.ffx-mnav[hidden]{display:none!important}
.ffx-mnav{clear:both;width:100%;margin:14px 0 0;border-top:1px solid #e5e5e5}
.ffx-mnav-list{list-style:none;margin:0;padding:0}
.ffx-mnav-list ul{list-style:none;margin:0;padding:0 0 0 16px}
.ffx-mnav-list a{display:block;padding:13px 20px;border-bottom:1px solid #e5e5e5;background:#fff;color:#333;font:400 15px/1.3 Oswald,Arial,Helvetica,sans-serif;letter-spacing:.5px;text-decoration:none}
.ffx-mnav-list a:hover,.ffx-mnav-list a:focus{background:#f6f6f6;color:var(--ffx-blue)}
.ffx-mnav-list .current-menu-item>a,.ffx-mnav-list .current_page_item>a{color:var(--ffx-blue);border-left:3px solid var(--ffx-blue)}
.ffx-mnav-list .menu-text{display:inline}
.fusion-mobile-menu-icons a.ffx-menu-toggle{display:inline-block;min-width:44px;min-height:44px;line-height:44px;text-align:center;cursor:pointer}
.fusion-mobile-menu-icons a.ffx-menu-toggle:focus-visible,.ffx-mnav-list a:focus-visible{outline:2px solid var(--ffx-blue);outline-offset:2px}
@media (min-width:801px){.ffx-mnav{display:none!important}}

/* ---- 3. Layout from converted Avada shortcodes ---- */
.ffx-sec{margin:0 0 20px;box-sizing:border-box}
.ffx-sec.ffx-has-bg{padding:40px 30px}
.ffx-bg-dark{color:#fff}
.ffx-row{display:flex;flex-wrap:wrap;column-gap:var(--ffx-gap);align-items:flex-start}
.ffx-col{box-sizing:border-box;min-width:0;flex:0 0 calc(var(--ffx-w,100%) - var(--ffx-gap) * (1 - var(--ffx-f,1)));max-width:100%;margin-bottom:20px}
.ffx-col.ffx-has-bg{padding:20px}
.ffx-center{text-align:center}
.ffx-col img,.ffx-text img,.ffx-box img{max-width:100%;height:auto}
.ffx-col-empty{margin-bottom:0}
@media (max-width:800px){.ffx-col{flex-basis:100%}.ffx-col.ffx-col-narrow{flex-basis:calc(50% - var(--ffx-gap)/2)}.ffx-col.ffx-col-tiny{flex-basis:calc(33.333% - var(--ffx-gap)*2/3)}.ffx-row:has(>.ffx-col-tiny:not(.ffx-col-empty)){justify-content:center}.ffx-col-empty{display:none}}
@media (max-width:640px){.ffx-col.ffx-col-narrow:not(.ffx-col-tiny){flex-basis:100%}.ffx-sec.ffx-has-bg{padding:30px 16px}}
@media (max-width:480px){.ffx-col.ffx-col-tiny{flex-basis:calc(50% - var(--ffx-gap)/2)}}

.ffx-title{margin:0 0 20px}
.ffx-title-center{text-align:center}
.ffx-title-right{text-align:right}
.ffx-title>:is(h1,h2,h3,h4,h5,h6){margin:0}
.ffx-title-line{display:flex;align-items:center;gap:14px}
.ffx-title-line::after{content:"";flex:1 1 auto;border-top:1px solid var(--ffx-line)}
.ffx-title-line.ffx-title-center::before{content:"";flex:1 1 auto;border-top:1px solid var(--ffx-line)}
.ffx-title-line.ffx-title-right::after{order:-1}

.ffx-sep{position:relative;height:0;border:0;border-top:1px solid var(--ffx-line);margin:30px auto;width:100%}
.ffx-sep-icon::after{content:"";position:absolute;left:50%;top:-14px;width:26px;height:26px;margin-left:-14px;border:1px solid var(--ffx-line);border-radius:50%;background:#fff}
.ffx-sep-icon::before{content:"";position:absolute;left:50%;top:-5px;width:6px;height:6px;margin-left:-4px;border:solid #bbb;border-width:0 1px 1px 0;transform:rotate(45deg);z-index:1}
.ffx-sep-shadow{border-top-color:#ddd;box-shadow:0 1px 6px rgba(0,0,0,.12)}
.ffx-spacer{height:0;margin:15px 0}

.post-content a.ffx-btn,.post-content span.ffx-btn{display:inline-block;margin:6px 0 16px;padding:13px 29px;border-radius:2px;background:var(--ffx-green);color:#fff;font:400 14px/1.3 Oswald,Arial,Helvetica,sans-serif;letter-spacing:.5px;text-transform:uppercase;text-decoration:none;transition:background-color .2s}
.post-content a.ffx-btn:hover,.post-content a.ffx-btn:focus{background:var(--ffx-green-d);color:#fff}
.post-content a.ffx-btn:focus-visible{outline:2px solid var(--ffx-blue);outline-offset:2px}
.ffx-btn-center{display:table!important;margin-left:auto!important;margin-right:auto!important}

.ffx-checklist{list-style:none;margin:0 0 20px;padding:0}
.ffx-checklist>li{position:relative;margin:0 0 10px;padding-left:32px}
.ffx-checklist>li::before{content:"";position:absolute;left:8px;top:.2em;width:7px;height:13px;border:solid var(--ffx-green);border-width:0 3px 3px 0;transform:rotate(45deg)}
.ffx-checklist>li>p{margin:0}

.ffx-boxes{display:grid;grid-template-columns:repeat(var(--ffx-n,1),minmax(0,1fr));gap:30px;margin:0 0 20px}
.ffx-box-title{margin:0 0 10px}
.ffx-box-more{display:inline-block;margin-top:8px}
@media (max-width:800px){.ffx-boxes{grid-template-columns:minmax(0,1fr)}}

/* Client logos: a paragraph holding several images becomes one row. */
.post-content p:has(> img + img){display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px}
.post-content p:has(> img + img)>img{flex:0 1 calc(20% - 16px);min-width:0;max-width:calc(20% - 16px);height:auto;margin:0;object-fit:contain}
@media (max-width:800px){.post-content p:has(> img + img)>img{flex-basis:calc(33.333% - 14px);max-width:calc(33.333% - 14px)}.post-content p:has(> img + img){justify-content:center}}
@media (max-width:480px){.post-content p:has(> img + img)>img{flex-basis:calc(50% - 10px);max-width:calc(50% - 10px)}}

/* Proofers product cards (custom .prod markup). */
.post-content .prod{box-sizing:border-box;margin:0 0 20px;padding:10px;border:1px solid #706e6e;background:#fff;font-family:Oswald,Arial,Helvetica,sans-serif;color:#333}
.post-content .prod-image img{display:block;width:100%;height:auto;aspect-ratio:auto}
.post-content .prod-desc{margin-top:10px}
.post-content .prod-code,.post-content .prod-pricing{margin-top:5px}
.post-content .prod-pricing span{color:var(--ffx-green)}

/* The site's own helper classes used in the page content (rules were lost with the old theme options). */
.ffx-sec.centered-content{text-align:center}
.ffx-sec.centered-content p{font-size:18px;line-height:30px;margin-top:30px}
.ffx-sec.centered-content :is(ul,.ffx-checklist){text-align:left}
.shadowed-border img{box-sizing:border-box;border:8px solid #fff;box-shadow:0 0 3px 1px rgba(0,0,0,.1)}
.img-bordered img{box-sizing:border-box;border:3px solid #ccc}
.shadowed-border.ffx-col img,.img-bordered .ffx-col img{display:block;margin-left:auto;margin-right:auto}
.post-content .service-box{padding:20px 40px}
.post-content .service-box a{display:inline-block;margin-top:10px;padding:10px;border:1px solid #000;color:#000;text-decoration:none}
.post-content .service-box a:hover,.post-content .service-box a:focus{background:#000;color:#fff}
@media (max-width:640px){.post-content .service-box{padding:16px 8px}}

/* ---- 4. Other findings ---- */
/* Theme option points the title bar image at theme-fusion.com (blocked); drop it. */
body .fusion-page-title-bar{background-image:none}
/* Footer contrast (>= 4.5:1). */
.fusion-footer-copyright-area,.fusion-footer-copyright-area .fusion-copyright-notice,.fusion-footer-copyright-area a{color:#b3b0b0}
.fusion-footer-copyright-area a.privacy{color:#b3b0b0!important}
.fusion-footer-copyright-area a:hover,.fusion-footer-copyright-area a.privacy:hover{color:#fff!important}
.fusion-social-networks a.fusion-social-network-icon{color:#9ea1a2!important}
/* Contact form Send button: theme green #a0ce4e is 1.84:1 with white text (theme hover uses !important). */
.wpcf7-form input.wpcf7-submit[type="submit"]{background:var(--ffx-green)!important;color:#fff}
.wpcf7-form input.wpcf7-submit[type="submit"]:hover,.wpcf7-form input.wpcf7-submit[type="submit"]:focus{background:var(--ffx-green-d)!important;color:#fff}
.wpcf7-form input.wpcf7-submit[type="submit"]:focus-visible{outline:2px solid var(--ffx-blue);outline-offset:2px}
