/* ---- University Stats Grid ---- */
.fnf-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.fnf-stats-cell {
    position: relative;
    height: 360px;
    overflow: hidden;
}

.fnf-stats-cell-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 110%;
    top: -5%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.55);
    transition: filter 0.4s ease;
    will-change: transform;
    transform-origin: center center;
}

.fnf-stats-cell:hover .fnf-stats-cell-img {
    filter: brightness(0.45);
}

.fnf-stats-hex-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 210px;
    height: 242px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fnf-stats-hex {
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(255, 37, 37, 0.55);
    border: none;
}

.fnf-stats-hex::before {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.04);
    transform-origin: center;
}

.fnf-stats-hex-content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    pointer-events: none;
}

.fnf-stats-hex-number {
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: clamp(28px, 2.8vw, 36px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.5px;
}

.fnf-stats-hex-label {
    font-size: clamp(13px, 0.9vw, 11px);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    line-height: 1.4;
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .fnf-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fnf-stats-cell {
        height: 260px;
    }

    .fnf-stats-hex-wrap {
        width: 170px;
        height: 196px;
    }
}

@media (max-width: 480px) {
    .fnf-stats-grid {
        grid-template-columns: 1fr;
    }

    .fnf-stats-cell {
        height: 280px;
    }

    .fnf-stats-hex-wrap {
        width: 190px;
        height: 219px;
    }
}
