
/* =========================================
   EASTWU HOME PAGE - COMPANY STATS
   ========================================= */

.eastwu-stats {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #dfe4e5;
}

.eastwu-stats-wrap {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.eastwu-stat {
    min-width: 0;
    min-height: 80px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset -1px 0 0 #dfe4e5;
}

.eastwu-stat:last-child {
    box-shadow: none;
}

.eastwu-stat-number {
    display: block;
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-size: clamp(22px, 2vw, 30px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #111718 !important;
    white-space: nowrap;
}

.eastwu-stat-label {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(12px, 1vw, 14px) !important;
    line-height: 1.45 !important;
    color: #697478 !important;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {

    .eastwu-stats-wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eastwu-stat {
        min-height: 125px;
        padding: 28px 22px;
        box-shadow:
            inset -1px 0 0 #dfe4e5,
            inset 0 -1px 0 #dfe4e5;
    }

    /* 第3列取消右侧竖线 */
    .eastwu-stat:nth-child(3) {
        box-shadow:
            inset 0 -1px 0 #dfe4e5;
    }

    /* 最后一行取消底线 */
    .eastwu-stat:nth-child(4),
    .eastwu-stat:nth-child(5) {
        box-shadow: inset -1px 0 0 #dfe4e5;
    }

    .eastwu-stat:last-child {
        box-shadow: none;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .eastwu-stats-wrap {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eastwu-stat {
        min-height: 65px;
        padding: 22px 16px;

        /* 默认：右边竖线 + 底部横线 */
        box-shadow:
            inset -1px 0 0 #dfe4e5,
            inset 0 -1px 0 #dfe4e5;
    }

    /* 偶数列取消右边线 */
    .eastwu-stat:nth-child(2n) {
        box-shadow:
            inset 0 -1px 0 #dfe4e5;
    }

    /* 第3个恢复右侧竖线 */
    .eastwu-stat:nth-child(3) {
        box-shadow:
            inset -1px 0 0 #dfe4e5,
            inset 0 -1px 0 #dfe4e5;
    }

    /* 第4个：右侧不要线 */
    .eastwu-stat:nth-child(4) {
        box-shadow:
            inset 0 -1px 0 #dfe4e5;
    }

    /* Global Markets 占满一行 */
    .eastwu-stat:last-child {
        grid-column: 1 / -1;
        min-height: 90px;

        /* 最后一行不要任何边线 */
        box-shadow: none;
    }

    .eastwu-stat-number {
        font-size: 21px !important;
        margin-bottom: 5px !important;
    }

    .eastwu-stat-label {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
}
