/* BF Offer Engage. Every value is copied from sections/BF Offer Engage.dc.html (zigzag update: its <style> block and inline styles). */

.oe-sec { position: relative; padding: 0 24px 0; }
.oe-wrap { max-width: 1280px; margin: 0 auto; }
.oe-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: end; margin-bottom: 72px; }
.oe-head-copy { position: relative; }
.oe-head-copy .bf-glitch { left: -70px; top: 30px; width: 160px; height: 40px; }
.oe-head-copy .bf-glitch span:nth-child(1) { top: 0; left: 0; width: 120px; background: rgba(255,255,255,0.55); }
.oe-head-copy .bf-glitch span:nth-child(2) { top: 11px; left: 30px; width: 90px; background: rgba(255,255,255,0.3); }
.oe-head-copy .bf-glitch span:nth-child(3) { top: 22px; left: 10px; width: 140px; background: rgba(255,255,255,0.45); }
.oe-intro { color: #C4D5E0; margin: 0; max-width: 520px; }

/* Zigzag path */
.oe-path { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; padding: 0 0 8px; }
.oe-track { position: absolute; inset: 0; display: block; pointer-events: none; z-index: 0; }
.oe-track svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.oe-node { position: relative; z-index: 1; display: grid; grid-template-rows: minmax(0, 1fr) 64px minmax(0, 1fr); min-height: 420px; }
.oe-node-dot { grid-row: 2; align-self: center; justify-self: center; width: 52px; height: 52px; border-radius: 50%; background: #011521; border: 2px solid #8DC63F; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: #8DC63F; position: relative; z-index: 2; box-shadow: 0 0 0 10px #011521; transition: background .35s ease, color .35s ease, box-shadow .35s ease; }
.oe-node:hover .oe-node-dot { background: #8DC63F; color: #011521; box-shadow: 0 0 0 10px #011521, 0 0 0 14px rgba(141,198,63,0.22); }
.oe-card { position: relative; align-self: end; padding: 0 8px 28px; }
.oe-node:nth-of-type(odd) .oe-card { grid-row: 1; text-align: left; }
.oe-node:nth-of-type(even) .oe-card { grid-row: 3; align-self: start; padding: 28px 8px 0; }
.oe-card::after { content: ''; position: absolute; left: 50%; width: 1px; height: 28px; background: rgba(141,198,63,0.5); transform: translateX(-50%); }
.oe-node:nth-of-type(odd) .oe-card::after { bottom: 0; }
.oe-node:nth-of-type(even) .oe-card::after { top: 0; }
.oe-n { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: #8DC63F; margin: 0 0 10px; }
.oe-t { font-size: 22px; font-weight: 800; text-transform: uppercase; color: #FFFFFF; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 10px; }
.oe-b { font-size: 15px; line-height: 1.65; color: #C4D5E0; margin: 0; position: relative; }
.oe-b::before { content: ''; position: absolute; inset: -10px -12px; background: rgba(1,21,33,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 8px; z-index: -1; }

/* Tablets and phones: a vertical gradient line down the left with small dots. */
@media (min-width: 768px) and (max-width: 1023px) {
	.oe-sec { padding: 0 32px 0; }
	.oe-head { grid-template-columns: 1fr; gap: 28px; align-items: start; margin-bottom: 48px; }
	.oe-path { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
	.oe-track { left: 25px; right: auto; top: 0; bottom: 0; height: auto; width: 2px; transform: none; background: linear-gradient(180deg, #0096E1, #8DC63F); }
	.oe-node { padding: 0 0 36px 36px; }
	.oe-node-dot { width: 24px; height: 24px; }
}

@media (max-width: 767px) {
	.oe-sec { padding: 0 20px 0; }
	.oe-head { grid-template-columns: 1fr; gap: 22px; align-items: start; margin-bottom: 40px; }
	.oe-path { grid-template-columns: 1fr; gap: 0; padding-left: 30px; }
	.oe-track { left: 19px; right: auto; top: 0; bottom: 0; height: auto; width: 2px; transform: none; background: linear-gradient(180deg, #0096E1, #8DC63F); }
	.oe-node { padding: 0 0 30px 30px; }
	.oe-node-dot { width: 22px; height: 22px; }
	.oe-t { font-size: 20px; }
}

@media (max-width: 1023px) {
	.oe-track svg { display: none; }
	.oe-node { grid-template-rows: none; grid-template-columns: 1fr; min-height: 0; }
	.oe-node-dot { position: absolute; left: -10px; top: 0; transform: translateX(-50%); font-size: 0; box-shadow: 0 0 0 6px #011521; grid-row: auto; justify-self: auto; align-self: auto; }
	.oe-node .oe-card, .oe-node:nth-of-type(even) .oe-card, .oe-node:nth-of-type(odd) .oe-card { grid-row: auto; align-self: auto; padding: 0; }
	.oe-card::after { display: none; }
}
