/* BF Partners. Every value is copied from sections/BF Partners.dc.html (its <style> blocks and inline styles).
   fp-marquee is defined by other library sections, not by Partners, so on the design homepage the strip sits still;
   on pages like About it scrolls. It is defined here so the strip scrolls everywhere, as intended. */

@keyframes fp-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.fp-partners { position: relative; z-index: 3; padding: 20px 0 130px; }
.bf-partners-head { position: relative; text-align: center; margin: 0 auto 56px; max-width: 900px; padding: 0 20px; }
.bf-partners-head .bf-glitch { width: 160px; height: 40px; }
.bf-partners-gl-l { left: -70px; top: -6px; }
.bf-partners-gl-r { right: -60px; top: 20%; }
.bf-partners-head .bf-glitch span:nth-child(1) { top: 0; left: 0; width: 120px; background: #8DC63F; }
.bf-partners-head .bf-glitch span:nth-child(2) { top: 11px; left: 30px; width: 90px; background: rgba(255,255,255,0.35); }
.bf-partners-head .bf-glitch span:nth-child(3) { top: 22px; left: 10px; width: 140px; background: #29ABE2; }
.bf-partners-head h2 { position: relative; background: linear-gradient(100deg, #29ABE2, #8DC63F); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }

.bf-partners-viewport { overflow: hidden; position: relative; max-width: 1100px; margin: 0 auto; }
.bf-partners-track { display: flex; width: max-content; animation: fp-marquee 36s linear infinite; }
.bf-partners-set { display: flex; align-items: center; gap: 64px; margin-right: 64px; opacity: 0.85; }
.fp-client-logo { display: block; height: 56px; width: auto; }
.bf-partners-fade { position: absolute; top: 0; bottom: 0; width: 120px; }
.bf-partners-fade-l { left: 0; background: linear-gradient(90deg, #011521, rgba(1,21,33,0)); }
.bf-partners-fade-r { right: 0; background: linear-gradient(270deg, #011521, rgba(1,21,33,0)); }

@media (min-width: 768px) and (max-width: 1023px) {
	.fp-partners { padding: 100px 0 100px !important; }
}

@media (max-width: 767px) {
	.fp-client-logo { height: 48px !important; }
	.fp-partners { padding: 80px 0 80px !important; }
	.fp-partners .bf-reveal { margin-bottom: 36px !important; }
}

/* "Space above: None" — the design's About page drops the strip's top padding on tablets and phones. */
@media (max-width: 1023px) {
	.fp-partners.is-flush { padding-top: 0 !important; }
}
