/* CSS Variables Defaults & Resets */
.scintica-metrics-f386d9b1 {
    --cols: 6;
    --panel-bg-start: #180A1E;
    --panel-bg-end: #3A1B45;
    --panel-bg-angle: 105deg;
    --divider-color: rgba(255,255,255,0.16);
    --divider-width: 1px;
    
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    background: linear-gradient(var(--panel-bg-angle), var(--panel-bg-start) 0%, var(--panel-bg-end) 100%);
    overflow: hidden;
    width: 100%;
}

/* Base Metric Item */
.scintica-metric-f386d9b1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Default spacing fallback, can be overridden by Elementor padding control */
    padding: 30px 16px;
    border-right: var(--divider-width) solid var(--divider-color);
    border-bottom: var(--divider-width) solid var(--divider-color);
}

.scintica-metric__icon-f386d9b1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.scintica-metric__icon-f386d9b1 svg {
    display: block;
}

.scintica-metric__value-f386d9b1 {
    margin-top: 10px;
    margin-bottom: 4px;
}

/* Border Removal Logic Using Responsive nth-child 
   This ensures right and bottom edges do not have double borders,
   respecting standard Elementor Breakpoints */

/* Desktop (>= 1025px) - Default 6 cols */
@media (min-width: 1025px) {
    .scintica-metric-f386d9b1:nth-child(6n) {
        border-right: none;
    }
    .scintica-metric-f386d9b1:nth-last-child(-n+6) {
        border-bottom: none;
    }
}

/* Tablet (768px - 1024px) - Default 3 cols */
@media (max-width: 1024px) and (min-width: 768px) {
    .scintica-metric-f386d9b1 {
        padding: 26px 14px;
    }
    .scintica-metric-f386d9b1:nth-child(3n) {
        border-right: none;
    }
    /* Hide bottom borders on last row of 3 */
    .scintica-metric-f386d9b1:nth-child(n+4):nth-child(-n+6) {
        border-bottom: none;
    }
    /* Support more items robustly */
    .scintica-metric-f386d9b1:last-child,
    .scintica-metric-f386d9b1:nth-last-child(2):nth-child(3n+1),
    .scintica-metric-f386d9b1:nth-last-child(2):nth-child(3n+2),
    .scintica-metric-f386d9b1:nth-last-child(3):nth-child(3n+1) {
        border-bottom: none;
    }
}

/* Mobile (<= 767px) - Default 2 cols */
@media (max-width: 767px) {
    .scintica-metric-f386d9b1 {
        padding: 22px 12px;
    }
    .scintica-metric-f386d9b1:nth-child(2n) {
        border-right: none;
    }
    /* Hide bottom borders on last row of 2 */
    .scintica-metric-f386d9b1:nth-child(n+5):nth-child(-n+6) {
        border-bottom: none;
    }
    /* Robust last-row cleanup */
    .scintica-metric-f386d9b1:last-child,
    .scintica-metric-f386d9b1:nth-last-child(2):nth-child(2n+1) {
        border-bottom: none;
    }
}
