/* ===== WRAPPER ===== */

.workflow-steps {
    width: 100%;
    font-family: inherit;
}

/* ===== TRACK (boxes + connectors) ===== */

.workflow-steps__track {
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 20px;
}

.workflow-steps__item {
	position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===== BOX ===== */

.workflow-steps__box {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
	min-width: 150px;
    min-height: 72px;
    padding: 16px 16px 12px ;
    background: #E5F5F9;
    border-radius: 8px;
    border: 1px solid #CED4D4;
}

.workflow-steps__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #242424;
}

.workflow-steps__subtitle {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #495057;
    margin-top: 3px;
}

/* ===== CONNECTOR ===== */

.workflow-steps__connector {
    flex: 1;
    height: 1px;
    border-top: 2px solid #b8d0eb;
    min-width: 16px;
	margin: 37px 10px 0 10px;
}

/* ===== DESCRIPTIONS ===== */

.workflow-steps__descriptions {
    display: flex;
    justify-content: center;
    gap: 0;
}

.workflow-steps__desc {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    padding: 0 8px;
}

/* ===== CAPTION ===== */

.workflow-steps__caption {
    text-align: center;
    font-style: italic;
    color: #888780;
    margin-top: 30px;
}

/* ===== RESPONSIVE — tablet ===== */

@media (max-width: 780px) {

    .workflow-steps__track {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .workflow-steps__item {
        flex-direction: column;
        align-items: center;
        width: 100%;
		max-width: 150px;
    }

    .workflow-steps__box {
        width: 100%;
        justify-content: center;
        gap: 8px;
        text-align: center;
        min-height: unset;
        padding: 16px 16px 12px;
    }

    .workflow-steps__subtitle {
        margin-top: 0;
    }

    .workflow-steps__connector {
        width: 2px;
        height: 30px;
        border-top: none;
        border-left: 2px solid #b8d0eb;
        min-width: unset;
        margin: 20px 0;
		flex: unset;
    }

    .workflow-steps__descriptions {
        flex-direction: column;
        margin-top: 16px;
        gap: 4px;
    }

    .workflow-steps__desc {
        text-align: center;
        padding: 0;
    }
}