.elementor-6872 .elementor-element.elementor-element-1c143ec{--display:flex;}/* Start custom CSS for html, class: .elementor-element-6bce21e */.categories {
    background: var(--light-gray);
    padding: 4rem 0;
}

.device-categories h2 {
    font-size: 20px;
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
}

.categories-grid {
    display: grid;
    /* This rule handles responsiveness on smaller screens */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* MINIMAL CHANGE: ADD THIS MEDIA QUERY TO LIMIT TO 3 COLUMNS *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
@media (min-width: 900px) {
    .categories-grid {
        /* This overrides the auto-fit rule on wide screens and forces exactly 3 columns. */
        grid-template-columns: repeat(3, 1fr);
    }
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-light);
}/* End custom CSS */