/* Shared pre-footer sections. Loaded on ordinary pages as well as the home template. */
.ff-shared-sections{clear:both;width:100%;background:#fff}
.ff-brands{background:var(--ff-gray);border-top:1px solid var(--ff-border)}
.ff-shared-sections h2{color:var(--ff-blue-dark);font-size:clamp(1.5rem,2.5vw,2.25rem);line-height:1.2;font-weight:800;margin:0 0 28px;text-align:center}
.ff-brand-grid{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:24px 40px;max-width:1200px;margin-inline:auto}
.ff-brand-grid a{display:flex;align-items:center;justify-content:center;flex:0 1 160px;min-width:100px;min-height:64px;max-width:180px;text-decoration:none;color:#525a60;font-size:1.2rem;font-weight:800;text-align:center;filter:grayscale(1);opacity:1;transition:opacity .15s ease}
.ff-brand-grid a:hover,.ff-brand-grid a:focus-visible{opacity:1}
.ff-brand-grid img{display:block;max-width:160px;width:100%;height:64px;object-fit:contain;opacity:.78;transition:opacity .15s ease}
.ff-values{background:#fff;border-top:1px solid var(--ff-border)}
.ff-value-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;max-width:1200px;margin-inline:auto;text-align:center}
.ff-value img{display:block;width:40px;height:40px;object-fit:contain;margin:0 auto 14px}
.ff-value h3{font-size:1rem;line-height:1.35;font-weight:750;color:var(--ff-blue-dark);margin:0 0 8px}
.ff-value p{font-size:.9rem;line-height:1.6;color:var(--ff-muted);margin:0 auto;max-width:260px;overflow-wrap:anywhere}
.ff-newsletter{position:relative;isolation:isolate;padding-block:56px;background:var(--ff-blue-dark);color:#fff}
.ff-newsletter>.ff-picture,.ff-newsletter>.ff-newsletter-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.ff-newsletter:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,50,74,.91),rgba(5,50,74,.69));z-index:-1}
.ff-newsletter>.ff-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:center}
.ff-newsletter h2{color:#fff;text-align:left;margin-bottom:12px}
.ff-newsletter p{margin:0;max-width:560px;line-height:1.6;color:#fff}
.ff-newsletter-signup{min-width:0}
.ff-newsletter-signup>.ff-btn{float:right}
.ff-newsletter-signup form{margin:0;max-width:100%}
.ff-newsletter-signup input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),.ff-newsletter-signup select{max-width:100%;width:100%;min-width:0;min-height:46px;border:1px solid #b5c2cb;border-radius:var(--ff-radius);color:var(--ff-charcoal);background:#fff;font:inherit}
.ff-newsletter-signup label{display:block;font-size:.875rem;color:inherit;line-height:1.5}
.ff-newsletter-signup input[type=checkbox],.ff-newsletter-signup input[type=radio]{margin-right:6px}
.ff-newsletter-signup button[type=submit],.ff-newsletter-signup input[type=submit]{min-height:46px;background:var(--ff-orange);border-color:var(--ff-orange);color:var(--ff-charcoal);font-weight:750;border-radius:var(--ff-radius)}
.ff-newsletter-signup a:not(.ff-btn){color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1023px){.ff-brand-grid{gap:20px 26px}.ff-value-grid{gap:24px}.ff-newsletter>.ff-shell{gap:24px}}
@media(max-width:767px){.ff-brand-grid{gap:16px 24px}.ff-brand-grid a{flex-basis:calc(50% - 12px);min-width:0;max-width:140px;min-height:52px;font-size:1rem}.ff-brand-grid img{height:52px;max-width:140px}.ff-value-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}.ff-value h3{font-size:.9375rem}.ff-value p{font-size:.8125rem}.ff-newsletter{padding-block:36px}.ff-newsletter>.ff-shell{grid-template-columns:minmax(0,1fr);gap:22px}.ff-newsletter-signup>.ff-btn{float:none;width:100%}.ff-newsletter h2{text-align:left}.ff-shared-sections h2{margin-bottom:24px}}
@media(max-width:339px){.ff-value-grid{grid-template-columns:minmax(0,1fr)}}

.ff-brand-grid a:hover img,.ff-brand-grid a:focus-visible img{opacity:1}

/* v1.3.0: restored local Difference icons and plugin-powered signup form. */
.ff-value svg.ff-value-icon{display:block;width:40px;height:40px;margin:0 auto 14px;color:var(--ff-blue)}
.ff-newsletter-signup .coc-public-form{margin:0;max-width:none}
.ff-newsletter-signup .coc-consent{display:flex;align-items:flex-start;gap:10px;font-size:.8125rem}
.ff-newsletter-signup .coc-consent input{flex:0 0 auto;margin-top:4px}
.ff-newsletter-signup .coc-privacy{font-size:.8125rem;margin-top:8px}
.ff-newsletter-signup .coc-form-message{margin-top:12px;min-height:1.6em}
