/* ✅ Ensures logos are visible without cropping */
.card .logo-container {
    width: 100px; /* Wider container for wide logos */
    height: 60px; /* Standard height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    padding: 4px;
    border-radius: 5px;
    overflow: hidden;
}

/* ✅ Standard Logo Styling */
.card .company-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto; /* Allows wide logos to scale properly */
    height: auto;
    object-fit: contain; /* Prevents cropping */
    display: block;
}

/* ✅ Special Handling for Extremely Wide Logos */
.card .company-logo.wide-logo {
    width: 100%; /* Forces it to fit container width */
    height: auto; /* Maintains aspect ratio */
    object-fit: contain;
}

/* ✅ Mobile Adjustments */
@media (max-width: 768px) {
    .card .logo-container {
        width: 90px;
        height: 50px;
    }
    .card .company-logo {
        max-width: 90%;
        height: auto;
    }
}
