/* ================================================================
   PoliticalLeaderPortal - HOME STATISTICS STRIP v3
   Reference content and centered six-card alignment.
   ================================================================ */

.public-home-layout .home-statistics-slot {
    position: absolute;
    z-index: 22;
    left: 50%;
    bottom: 14px;
    width: min(1420px, calc(100% - 56px));
    margin: 0;
    padding: 0 !important;
    transform: translateX(-50%);
    background: transparent;
    pointer-events: auto;
}

.public-home-layout .home-impact-stats {
    width: 100%;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #eee4dc;
    border-radius: 15px;
    background: rgba(255,255,255,.99);
    box-shadow: 0 9px 24px rgba(39,28,18,.13);
}

.public-home-layout .home-impact-stats__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    align-items: stretch;
    gap: 0;
}

.public-home-layout .home-impact-stat {
    min-width: 0;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-right: 1px solid #eee6df;
    background: transparent;
    text-align: center;
}

.public-home-layout .home-impact-stat:last-child {
    border-right: 0;
}

.public-home-layout .home-impact-stat__inner {
    width: max-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.public-home-layout .home-impact-stat__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #f05a0a;
    background: #fff3eb;
    box-shadow: inset 0 0 0 1px #f8dfce;
    font-size: 21px;
    line-height: 1;
}

.public-home-layout .home-impact-stat__copy {
    min-width: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.public-home-layout .home-impact-stat__value {
    margin: 0;
    color: #111820;
    font-family: Inter,"Noto Sans Devanagari",Arial,sans-serif;
    font-size: clamp(23px,1.65vw,29px);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: .98;
    white-space: nowrap;
}

.public-home-layout .home-impact-stat__label {
    margin-top: 5px;
    color: #30363a;
    font-family: "Noto Sans Devanagari","Nirmala UI",Arial,sans-serif;
    font-size: clamp(10px,.76vw,13px);
    font-weight: 750;
    line-height: 1.12;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .public-home-layout .home-statistics-slot {
        width: calc(100% - 34px);
        bottom: 12px;
    }

    .public-home-layout .home-impact-stat {
        min-height: 62px;
        padding-inline: 6px;
    }

    .public-home-layout .home-impact-stat__inner {
        gap: 7px;
    }

    .public-home-layout .home-impact-stat__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 17px;
    }

    .public-home-layout .home-impact-stat__value {
        font-size: 20px;
    }

    .public-home-layout .home-impact-stat__label {
        font-size: 9px;
    }
}

@media (max-width: 991.98px) {
    .public-home-layout .home-statistics-slot {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(100% - 24px, 760px);
        margin: 0 auto;
        transform: none;
    }

    .public-home-layout .home-impact-stats__grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .public-home-layout .home-impact-stat {
        min-height: 62px;
        border-bottom: 1px solid #eee6df;
    }

    .public-home-layout .home-impact-stat:nth-child(3n) {
        border-right: 0;
    }

    .public-home-layout .home-impact-stat:nth-last-child(-n+3) {
        border-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .public-home-layout .home-statistics-slot {
        width: calc(100% - 18px);
        margin: 0 auto;
    }

    .public-home-layout .home-impact-stats__grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .public-home-layout .home-impact-stat {
        min-height: 58px;
        padding: 6px 4px;
    }

    .public-home-layout .home-impact-stats {
        padding: 6px;
        border-radius: 12px;
    }

    .public-home-layout .home-impact-stat__inner {
        gap: 6px;
    }

    .public-home-layout .home-impact-stat__copy {
        justify-items: start;
        text-align: left;
    }

    .public-home-layout .home-impact-stat__label {
        white-space: normal;
    }

    .public-home-layout .home-impact-stat:nth-child(3n) {
        border-right: 1px solid #eee6df;
    }

    .public-home-layout .home-impact-stat:nth-child(even) {
        border-right: 0;
    }

    .public-home-layout .home-impact-stat:nth-last-child(-n+3) {
        border-bottom: 1px solid #eee6df;
    }

    .public-home-layout .home-impact-stat:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .public-home-layout .home-impact-stat__icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 15px;
    }

    .public-home-layout .home-impact-stat__value {
        font-size: 18px;
    }

    .public-home-layout .home-impact-stat__label {
        margin-top: 3px;
        font-size: 8.5px;
    }
}
