#steps{--space-y:3rem;--space-x:1rem;--cols:4;position:relative;display:grid;grid-template-columns:repeat(var(--cols),1fr);gap:0 var(--space-x);overflow:hidden}#steps>.step{position:relative;min-height:108px}#steps>.step::after{content:'';position:absolute;top:50%;left:calc(var(--space-x) * -1);z-index:-1;width:var(--space-x);height:2px;transform:translateY(-50%);background:#ccc}#steps>.spacer{grid-column-start:1;grid-column-end:-1;height:2px;margin-top:calc(var(--space-y) / 2);margin-bottom:calc(var(--space-y) / 2);margin-left:calc(100% / calc(var(--cols) * 2) - 6px);margin-right:calc(100% / calc(var(--cols) * 2) - 6px);background:#ccc}@media (min-width:1200px){#steps>.spacer:nth-child(8n){display:block!important}#steps>.step:nth-child(8n+1)::before{content:'';position:absolute;left:50%;top:calc(var(--space-y) / 2 * -1);height:calc(var(--space-y) / 2);width:2px;transform:translateX(-50%);background:#ccc}#steps>.step:nth-child(8n-1)::before{content:'';position:absolute;left:50%;bottom:calc(var(--space-y) / 2 * -1);height:calc(var(--space-y) / 2);width:2px;transform:translateX(-50%);background:#ccc}}@media (max-width:1199.98px) and (min-width:992px){#steps{--cols:3}#steps>.spacer:nth-child(6n){display:block!important}#steps>.step:nth-child(6n+1)::before{content:'';position:absolute;left:50%;top:calc(var(--space-y) / 2 * -1);height:calc(var(--space-y) / 2);width:2px;transform:translateX(-50%);background:#ccc}#steps>.step:nth-child(6n-1)::before{content:'';position:absolute;left:50%;bottom:calc(var(--space-y) / 2 * -1);height:calc(var(--space-y) / 2);width:2px;transform:translateX(-50%);background:#ccc}}@media (max-width:991.98px) and (min-width:768px){#steps{--cols:2}#steps>.spacer:nth-child(4n){display:block!important}#steps>.step:nth-child(4n+1)::before{content:'';position:absolute;left:50%;top:calc(var(--space-y) / 2 * -1);height:calc(var(--space-y) / 2);width:2px;transform:translateX(-50%);background:#ccc}#steps>.step:nth-child(4n-1)::before{content:'';position:absolute;left:50%;bottom:calc(var(--space-y) / 2 * -1);height:calc(var(--space-y) / 2);width:2px;transform:translateX(-50%);background:#ccc}}@media (max-width:767.98px){#steps{--cols:1}#steps>.step{margin-bottom:calc(var(--space-y) / 2)}#steps>.step:last-child{margin-bottom:0}#steps>.step:nth-child(2n+1)::before{content:'';position:absolute;left:50%;top:calc(var(--space-y) / 2 * -1);height:calc(var(--space-y) / 2);width:2px;transform:translateX(-50%);background:#ccc}#steps>.step:nth-child(2n-1)::before{content:'';position:absolute;left:50%;bottom:calc(var(--space-y) / 2 * -1);height:calc(var(--space-y) / 2);width:2px;transform:translateX(-50%);background:#ccc}}