/*Company Item List*/
@media screen and (max-width: 768px) {
    .company-main .company-industry-item {
        width: 110px !important;
        height: 48px !important;
        border-top: 1px solid #000000 !important;
        display: flex;
        align-items: center;
    }

    .company-main .company-industry-item a {
        font-size: 14px !important;
        width: 100%;
    }
}

.text-left {
    text-align: left !important;
}

.company-popup-subimgs {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    width: 100%; /* Full width */
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f1f1f1;
}

.company-popup-subimgs .company-popup-thumb {
    flex: 0 0 calc(33.333% - 8px); /* Mỗi ảnh chiếm 1/3 width trừ gap */
    width: calc(33.333% - 8px);
    height: 80px; /* Tăng chiều cao cho đẹp hơn */
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    min-width: 0; /* Đảm bảo ảnh không bị overflow */
}

@media (max-width: 1400px) {
    .company-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1300px) {
    .company-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1000px) {
    .company-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}