/* Import Rubik font */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');

.nc-7956-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    font-family: 'Rubik', sans-serif;
    padding: 40px 20px;
    box-sizing: border-box;
}

.nc-7956-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    background-color: #ffffff;
    border-radius: 8px; /* Default overridden by settings */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Default overridden by settings */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 calc(25% - 30px); /* 4 columns minus gap */
    min-width: 220px; /* Prevent shrinking too much */
    max-width: 350px;
}

.nc-7956-item:hover {
    transform: translateY(-5px);
}

.nc-7956-horizontal-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: left;
}

.nc-7956-icon-pos-right .nc-7956-horizontal-wrapper {
    text-align: right;
}

.nc-7956-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.nc-7956-icon-pos-left .nc-7956-icon,
.nc-7956-icon-pos-right .nc-7956-icon {
    margin-bottom: 0;
}

.nc-7956-content-wrapper {
    display: flex;
    flex-direction: column;
}

.nc-7956-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: inherit;
    color: #1a1f33; /* Default color overridden by settings */
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.nc-7956-order-text_top .nc-7956-number-wrapper {
    margin-top: 10px;
    margin-bottom: 0;
}

.nc-7956-number {
    display: inline-block;
}

.nc-7956-suffix {
    font-size: 0.75em;
    font-weight: 500;
    margin-left: 5px;
}

.nc-7956-label {
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.4;
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .nc-7956-item {
        flex: 1 1 calc(50% - 30px); /* 2 columns */
    }
}

/* Mobile Portrait */
@media (max-width: 767px) {
    .nc-7956-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 10px;
        width: 100%;
    }
    
    .nc-7956-item {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
    
    .nc-7956-number-wrapper {
        font-size: 36px;
    }
    
    .nc-7956-label {
        font-size: 16px;
    }
}