/* Global module - Key Facts (row of short facts under the hero) */
.el-facts {
    margin-inline: clamp(0px, 1.35vw, 26px); /* the bottom line stops 26px from the edges at 1920 */
    padding-block: clamp(40px, calc(40px + 22 * (100vw - 1280px) / 640), 62px) clamp(48px, calc(48px + 22 * (100vw - 1280px) / 640), 70px);
    border-bottom: 1px solid #dde3e9;
}

.el-facts-list {
    display: grid;
    grid-auto-columns: minmax(0, 1fr); /* one equal column per fact */
    grid-auto-flow: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.el-facts-item {
    padding-inline: clamp(24px, calc(24px + 16 * (100vw - 1280px) / 640), 40px);
}

.el-facts-item:first-child {
    padding-left: 0;
}

.el-facts-item + .el-facts-item {
    border-left: 1px solid #dde3e9;
}

.el-facts-title {
    margin: 0;
    font-family: var(--el-font-heading);
    font-size: clamp(38px, calc(38px + 14 * (100vw - 1280px) / 640), 52px);
    line-height: 1.15;
    color: var(--el-color-heading);
}

.el-facts-title::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    margin: clamp(12px, calc(12px + 6 * (100vw - 1280px) / 640), 18px) 0 clamp(18px, calc(18px + 10 * (100vw - 1280px) / 640), 28px);
    background: var(--el-color-orange);
}

.el-facts-text {
    margin: 0;
    font-family: var(--el-font-heading);
    font-size: clamp(20px, calc(20px + 6 * (100vw - 1280px) / 640), 26px);
    line-height: 1.25;
    color: var(--el-color-blue-dark);
}

@media (max-width: 991px) {
    .el-facts-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        row-gap: 36px;
    }

    .el-facts-item:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .el-facts-title {
        font-size: 36px;
    }

    .el-facts-text {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .el-facts-list {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .el-facts-item,
    .el-facts-item + .el-facts-item {
        padding: 24px 0;
        border-left: 0;
    }

    .el-facts-item + .el-facts-item {
        border-top: 1px solid #dde3e9;
    }

    .el-facts-item:first-child {
        padding-top: 0;
    }

    .el-facts-item:last-child {
        padding-bottom: 0;
    }

    .el-facts-title {
        font-size: 32px;
    }
}
