/* ==============================
   Funfact Icons – Proper Center Fix
============================== */

/* Let Bootstrap grid work normally */
.funfact-one__box {
    position: relative;
}

/* Center each item */
.funfact-one__single {
    text-align: center;
}

/* Remove legacy paddings */
.funfact-one__box li {
    padding-left: 0 !important;
}

/* Vertical divider line – centered */
.funfact-one__box li::before {
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    height: 70px;
    background: #D8DDE1;
}

/* Hide divider on last item */
.funfact-one__box li:last-child::before {
    display: none;
}

/* ICON styling */
.funfact-one__single-inner h2 {
    font-size: 46px;
    line-height: 1;
    margin-bottom: 12px;
}

.funfact-one__single-inner h2 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    color: var(--donatix-base);
}

/* Alternate color */
.funfact-one__single.clr2 .funfact-one__single-inner h2 span {
    color: var(--donatix-secondary);
}

/* Text */
.funfact-one__single-inner p {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Mobile cleanup */
@media (max-width: 991px) {
    .funfact-one__box li::before {
        display: none;
    }
}
/* =========================================
   Funfact Icons – Divider + Spacing Restore
========================================= */

/* Restore visual bottom spacing */
.funfact-one {
    padding-bottom: 112px;
}

/* Ensure list items are positioning context */
.funfact-one__box > li {
    position: relative;
    text-align: center;
}

/* REBUILD divider lines (theme-consistent) */
.funfact-one__box > li::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -15px;              /* center between columns */
    transform: translateY(-50%);
    width: 2px;
    height: 70px;
    background: #D8DDE1;
}

/* Remove divider from last item */
.funfact-one__box > li:last-child::before {
    display: none;
}

/* Icon centering & sizing */
.funfact-one__single-inner h2 {
    font-size: 46px;
    line-height: 1;
    margin-bottom: 10px;
}

.funfact-one__single-inner h2 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    color: var(--donatix-base);
}

/* Alternate color support */
.funfact-one__single.clr2 .funfact-one__single-inner h2 span {
    color: var(--donatix-secondary);
}

/* Text spacing restored */
.funfact-one__single-inner p {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 600;
}

/* Mobile: remove dividers */
@media (max-width: 991px) {
    .funfact-one__box > li::before {
        display: none;
    }
}
