
.cpsw-process {
    --cpsw-line-color: #d5d9e3;
    --cpsw-line-size: 2px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 30px;
    padding: 30px 20px;
}

.cpsw-process::before {
    content: "";
    position: absolute;
    top: 59px;
    left: 0;
    right: 0;
    height: var(--cpsw-line-size);
    background: var(--cpsw-line-color);
    z-index: 0;
}

.cpsw-step {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    z-index: 1;
    text-align: center;
}

.cpsw-number {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2583aa;
    color: #fff;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.cpsw-title {
    margin: 0 0 10px;
    padding: 0;
    color: #26374d;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
}

.cpsw-description {
    color: #687386;
    font-size: 16px;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .cpsw-process {
        gap: 20px;
    }

    .cpsw-step,
    .cpsw-title,
    .cpsw-description {
        text-align: center;
    }

    .cpsw-number {
        margin-left: auto;
        margin-right: auto;
    }

    .cpsw-description {
        font-size: 15px;
    }
}

/* MOBILE: force every element to the center */
@media (max-width: 767px) {
    .cpsw-process {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 35px !important;
        padding: 30px 20px !important;
    }

    .cpsw-process::before {
        display: none !important;
        content: none !important;
    }

    .cpsw-step {
        width: 100% !important;
        flex: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .cpsw-number {
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .cpsw-title,
    .cpsw-description {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
}
