/**
 * How It Works Section CSS
 * Single responsibility: styles for how-it-works section
 * Ensures 3 steps display in one row on mobile
 */

/* Override default grid to show 3 columns on all screen sizes */
.wpo-event-section .wpo-event-wrap .wpo-event-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Increase circle size and change font */
.wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text i.glass-icon {
    width: 180px !important;
    height: 180px !important;
}

.wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text i.glass-icon img {
    width: 45px !important;
    height: 45px !important;
}

.wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text span {
    font-family: Montserrat, system-ui, sans-serif !important;
    font-size: 28px !important;
    font-weight: 600 !important;
}

/* Mobile adjustments - keep 3 columns but reduce sizes */
@media (max-width: 991px) {
    .wpo-event-section .wpo-event-wrap .wpo-event-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 30px 15px !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text i.glass-icon {
        width: 120px !important;
        height: 120px !important;
        margin-bottom: 8px !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text i.glass-icon img {
        width: 32px !important;
        height: 32px !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text span {
        font-size: 18px !important;
        font-family: Montserrat, system-ui, sans-serif !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item h4 {
        font-size: 12px !important;
        margin-top: 6px !important;
        max-width: 100% !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 575px) {
    .wpo-event-section .wpo-event-wrap .wpo-event-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px 8px !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text i.glass-icon {
        width: 90px !important;
        height: 90px !important;
        margin-bottom: 6px !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text i.glass-icon img {
        width: 26px !important;
        height: 26px !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text span {
        font-size: 14px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        font-family: Montserrat, system-ui, sans-serif !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item h4 {
        font-size: 10px !important;
        line-height: 1.4 !important;
        margin-top: 4px !important;
    }
}

@media (max-width: 400px) {
    .wpo-event-section .wpo-event-wrap .wpo-event-inner {
        gap: 15px 6px !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text i.glass-icon {
        width: 75px !important;
        height: 75px !important;
        margin-bottom: 5px !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text i.glass-icon img {
        width: 22px !important;
        height: 22px !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item .wpo-event-text span {
        font-size: 12px !important;
        line-height: 1.2 !important;
        font-family: Montserrat, system-ui, sans-serif !important;
    }
    
    .wpo-event-section .wpo-event-wrap .wpo-event-item h4 {
        font-size: 9px !important;
        line-height: 1.3 !important;
        margin-top: 3px !important;
    }
}
