/*------------------------------------*\
    Process List
\*------------------------------------*/

/* Root */
.process-list-section__intro {
    --spacing-x: 2rem;
}

/* List */
.process-list {
    display: flex;
    flex-direction: column;
    gap: 1.625rem;
    margin: 0;
    padding: 0;
}

.process-list__item {
    display: flex;
    /* gap: 1.4375rem; */
    margin-bottom: 0;
    position: relative;
}

.process-list__item:before {
    content: none;
}

.process-list__item-icon {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 0 0 auto;
    width: 4.5rem;
    position: relative;
    font-size: 2.5rem;
}

.process-list__item-icon img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.process-list__item-icon i {
    width: auto;
    height: 3rem;
    position: relative;
    line-height: 1;
    color: var(--fx-color-sky-blue-dark);
}

.process-list__item:nth-child(even) .process-list__item-icon i {
    color: var(--fx-color-crimson-dark);
}

.process-list__item-icon i:before {
    position: relative;
    z-index: 22;
}

.process-list__item-icon i:after {
    content: "";
    display: block;
    width: 1.3125rem;
    height: 1.3125rem;
    position: absolute;
    z-index: 11;
    border-radius: 100%;
    background-color: var(--fx-color-light-sky-dark);
}

.process-list__item:nth-child(5n + 1) .process-list__item-icon i:after {
    bottom: 0;
    right: 0;
    transform: translate(25%, 0);
}

.process-list__item:nth-child(5n + 2) .process-list__item-icon i:after {
    top: 0;
    left: 0;
    transform: translate(-25%, 0);
}

.process-list__item:nth-child(5n + 3) .process-list__item-icon i:after {
    bottom: 0;
    left: 0;
    transform: translate(-25%, 0);
}

.process-list__item:nth-child(5n + 4) .process-list__item-icon i:after {
    top: 0;
    right: 0;
    transform: translate(25%, 0);
}

.process-list__item:nth-child(5n + 5) .process-list__item-icon i:after {
    top: 50%;
    left: 0;
    transform: translate(-25%, -50%);
}

.process-list__item-icon::after {
    content: "";
    width: 0.125rem;
    height: calc(100% - 2.5rem);
    background-color: #C6C9E0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 3.5rem);
}

.process-list__item:last-child .process-list__item-icon::after {
    content: none;
}

.process-list__item-content {
    flex: 1;
}

.process-list__item-content-title {
    margin-bottom: 0.625rem;
}

@media (min-width: 768px) {
    /* Root */
    .process-list-section__intro {
        --spacing-x: 3rem;
    }

    .process-list-section__intro :where(h1, h2, h3, h4, h5, h6) {
        margin-bottom: 0.5rem;
    }

    /* Process List */
    .process-list {
        gap: 2.375rem;
        margin-bottom: 3rem;
    }

    .process-list__item {
        gap: 2rem;
    }

    .process-list__item-icon {
        width: 4.75rem;
    }
}