.home-category-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    border-top: 1px solid #e1e1e1;
    border-left: 1px solid #e1e1e1;
}

.home-category-item {
    min-width: 0;
    min-height: 132px;
    padding: 12px 8px 10px;
    color: #4d4d4d;
    text-align: center;
    border-right: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.home-category-item:hover {
    color: var(--main-color);
    background-color: #fafafa;
    box-shadow: inset 0 0 0 1px var(--main-color);
}

.home-category-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 78px;
    margin-bottom: 8px;
}

.home-category-image img {
    max-width: 100%;
    max-height: 78px;
    object-fit: contain;
}

.home-category-name {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.home-industry-item {
    overflow: hidden;
    color: #202020;
    text-align: center;
    border: 1px solid #cfcfcf;
    transition: box-shadow .2s ease, transform .2s ease;
}

.home-industry-item:hover {
    color: #202020;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
    transform: translateY(-2px);
}

.home-industry-image {
    display: block;
    aspect-ratio: 1.62 / 1;
    background: #f3f3f3;
}

.home-industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-industry-name {
    display: block;
    padding: 8px 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    background-color: #fff;
}

@media (max-width: 991px) {
    .home-category-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-item {
        min-height: 115px;
        padding: 8px 5px;
    }

    .home-category-image {
        height: 65px;
        margin-bottom: 6px;
    }

    .home-category-image img {
        max-height: 65px;
    }

    .home-category-name {
        font-size: 12px;
    }

    .home-industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-industry-name {
        padding: 7px 5px;
        font-size: 13px;
    }
}
