/* Global module - Law Steps (pale section: centred head, 4 numbered steps, consult note, stat card + note card) */
.el-lsteps {
    background: var(--el-color-light);
}

.el-lsteps-head {
    max-width: 820px;
    margin: 0 auto clamp(36px, calc(36px + 20 * (100vw - 1280px) / 640), 56px);
    text-align: center;
}

.el-lsteps-title {
    margin: 0 0 18px;
}

.el-lsteps-text {
    margin: 0;
    font-size: clamp(17px, calc(17px + 2 * (100vw - 1280px) / 640), 19px);
    color: var(--el-color-muted);
}

/* Steps on a thin line; small number in a ring + big faint number top right */
.el-lsteps-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--el-lsteps-cols, 4), minmax(0, 1fr));
    gap: clamp(16px, 1.2vw, 24px);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: el-lsteps;
}

.el-lsteps-list::before {
    content: "";
    position: absolute;
    top: 41px;
    right: 40px;
    left: 40px;
    height: 1px;
    background: #b9cad6;
}

.el-lsteps-step {
    position: relative;
    padding: 28px clamp(22px, 1.6vw, 30px) 30px;
    border: 1px solid #dce5ea;
    border-radius: clamp(20px, 1.4vw, 24px);
    background: var(--el-color-white);
    counter-increment: el-lsteps;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.el-lsteps-step::before {
    content: counter(el-lsteps);
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-bottom: 22px;
    border: 1px solid #9fb6c6;
    border-radius: 50%;
    background: var(--el-color-white);
    font-size: 12px;
    font-weight: 600;
    color: var(--el-color-blue-dark);
    transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.el-lsteps-step::after {
    content: counter(el-lsteps, decimal-leading-zero);
    position: absolute;
    top: 20px;
    right: 22px;
    font-family: var(--el-font-heading);
    font-size: 44px;
    line-height: 1;
    color: var(--el-color-light);
}

.el-lsteps-step:hover {
    border-color: var(--el-color-blue-dark);
    box-shadow: 0 10px 28px rgba(27, 58, 95, 0.09);
    transform: translateY(-3px);
}

.el-lsteps-step:hover::before {
    border-color: var(--el-color-blue-dark);
    background: var(--el-color-blue-dark);
    color: var(--el-color-white);
}

.el-lsteps-step-title {
    margin: 0 0 10px;
    font-size: clamp(24px, calc(24px + 4 * (100vw - 1280px) / 640), 28px);
    color: var(--el-color-blue-dark);
}

.el-lsteps-step-text {
    margin: 0;
    font-size: clamp(15px, calc(15px + 2 * (100vw - 1280px) / 640), 17px);
    line-height: 1.6;
    color: var(--el-color-muted);
}

.el-lsteps-consult {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: clamp(16px, 1.2vw, 24px) 0 0;
    padding: 18px 22px;
    border: 1px dashed #b9cad6;
    border-radius: 16px;
    background: var(--el-color-white);
    font-size: clamp(15px, calc(15px + 2 * (100vw - 1280px) / 640), 17px);
}

.el-lsteps-consult svg {
    flex: none;
    color: var(--el-color-blue-dark);
}

/* Stat card (navy) + note card (white) */
.el-lsteps-pair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: clamp(16px, 1.2vw, 24px);
    margin-top: clamp(16px, 1.2vw, 24px);
}

.el-lsteps-stat,
.el-lsteps-note {
    padding: clamp(28px, 2.1vw, 40px);
    border-radius: clamp(20px, 1.4vw, 28px);
}

.el-lsteps-stat {
    background: var(--el-color-blue-dark);
    color: var(--el-color-white);
}

.el-lsteps-figure {
    margin: 14px 0 18px;
    font-family: var(--el-font-heading);
    font-size: clamp(54px, calc(54px + 22 * (100vw - 1280px) / 640), 76px);
    line-height: 1;
    letter-spacing: -0.02em;
}

.el-lsteps-stat-text {
    margin: 0;
    font-size: clamp(16px, calc(16px + 2 * (100vw - 1280px) / 640), 18px);
    color: #d5e1e8;
}

.el-lsteps-source {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    color: #bfd0dc;
}

/* Review note pill, e.g. "Verify before publishing" */
.el-lsteps-flag {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(241, 98, 42, 0.16);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f8a27c;
}

.el-lsteps-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--el-color-white);
}

.el-lsteps-note-title {
    margin: 0 0 14px;
    color: var(--el-color-blue-dark);
}

.el-lsteps-note-text {
    margin: 0;
    font-size: clamp(16px, calc(16px + 2 * (100vw - 1280px) / 640), 18px);
    color: var(--el-color-muted);
}

@media (max-width: 1199px) {
    .el-lsteps-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .el-lsteps-list::before {
        display: none;
    }
}

@media (max-width: 575px) {
    .el-lsteps-list {
        grid-template-columns: minmax(0, 1fr);
    }
}
