/* ========================================
   GLOBAL - STATS
======================================== */

.ef-reference-subpage {
    background: var(--global-background);
}

.ef-reference-subpage-size {
    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
    padding: 64px 0 0 0;
}

.ef-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ef-home-stats {
    padding: calc(var(--global-padding) - 60px) 0;
}

.ef-stat {
    position: relative;
    text-align: center;
    padding: 22px 0 24px;
}

.ef-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.08);
}

.ef-stat strong {
    display: block;
    font-size: 34px;
    color: #fff;
}

.ef-stat span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.01em;
}

.ef-stat strong.is-complete {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* mobile */
@media (max-width: 767px) {
    .ef-stats {
        grid-template-columns: 1fr;
    }

    .ef-stat {
        padding: 16px 0 18px;
    }

    .ef-stat:not(:last-child)::after{
        display: none;
    }

    .ef-stat strong {
        font-size: 30px;
    }

    .ef-stat span {
        font-size: 12px;
        line-height: 1.35;
    }
}

/* Caribe / EUA / Dubai page-specific fidelity pass */
.ef-caribe-eua-dubai-page .ef-reference-subpage-size {
    width: min(1080px, calc(100% - 64px));
    padding-top: 44px;
}

.ef-caribe-eua-dubai-page .ef-home-stats {
    padding-bottom: 96px;
}

.ef-caribe-eua-dubai-page .ef-stat {
    padding: 18px 0 20px;
}

.ef-caribe-eua-dubai-page .ef-stat strong {
    font-size: 30px;
}

@media (max-width: 767px) {
    .ef-caribe-eua-dubai-page .ef-reference-subpage-size {
        width: min(100%, calc(100% - 32px));
        padding-top: 36px;
    }

    .ef-caribe-eua-dubai-page .ef-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        display: flex;
        flex-direction: column;
    }

    .ef-caribe-eua-dubai-page .ef-stat {
        padding: 14px 8px 16px;
    }

    .ef-caribe-eua-dubai-page .ef-stat strong {
        font-size: 26px;
    }

    .ef-caribe-eua-dubai-page .ef-stat span {
        font-size: 12px;
        line-height: 1.3;
    }
}
