/* ==========================================================================
   Bloc - World KPIs
   ========================================================================== */

.lxo-world-kpis {
    background-color: var(--wp--preset--color--blue);
    color: var(--wp--preset--color--dark-blue);
    overflow: hidden;
}

.lxo-world-kpis__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 936;
    min-height: 520px;
}

.lxo-world-kpis__map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lxo-world-kpis__items {
    position: absolute;
    inset: 0;
}

.lxo-world-kpis__item {
    position: absolute;
    top: var(--kpi-y);
    left: var(--kpi-x);
    z-index: 1;
    display: flex;
    width: var(--kpi-width);
    min-width: 220px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.lxo-world-kpis__heading {
    width: 100%;
    margin: 0;
    color: var(--wp--preset--color--dark-blue);
    font-family: var(--wp--preset--font-family--inter);
    font-size: clamp(2rem, 2.86vw, 3.4375rem);
    font-weight: var(--wp--custom--font-weight--bold);
    line-height: 1;
}

.lxo-world-kpis__item--title .lxo-world-kpis__heading {
    font-size: clamp(1.5rem, 1.82vw, 2.1875rem);
    line-height: 1.05;
}

.lxo-world-kpis__capsule {
    width: 100%;
    margin: 0;
    padding: 16px;
    border-radius: 24px;
    background-color: var(--wp--preset--color--shiny-green);
    color: var(--wp--preset--color--dark-blue);
    font-family: var(--wp--preset--font-family--inter);
    font-size: var(--wp--preset--font-size--base);
    font-weight: var(--wp--custom--font-weight--normal);
    line-height: 1.18;
}

.lxo-world-kpis__item:last-child .lxo-world-kpis__capsule {
    padding-block: 8px;
}

@media (max-width: 960px) {
    .lxo-world-kpis {
        /* padding-block: var(--wp--preset--spacing--8);*/
    }

    .lxo-world-kpis__stage {
        display: flex;
        min-height: 0;
        aspect-ratio: auto;
        flex-direction: column;
        gap: var(--wp--preset--spacing--6);
        padding-inline: var(--wp--preset--spacing--6);
        padding-block: var(--wp--preset--spacing--6);
    }

    .lxo-world-kpis__map {
        position: absolute;
        aspect-ratio: 1920 / 936;
        height: 100%;
        border-radius: 0;
        object-fit: cover;
    }

    .lxo-world-kpis__items {
        position: relative;
        display: grid;
        gap: var(--wp--preset--spacing--4);
    }

    .lxo-world-kpis__item {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        min-width: 0;
    }

    .lxo-world-kpis__heading {
        font-size: 3.4375rem;
        line-height: 1.1;
    }
    .lxo-world-kpis__item--title .lxo-world-kpis__heading {
        font-size: 2.1875rem;
        line-height: 1.1;
    }
    .lxo-world-kpis__capsule {
        /* border-radius: 18px; */
    }
}
