/* Alumni firm grid. */
.company-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px 24px;
    width: 50%;
    margin: 0 auto 60px;
    padding: 0 15px;
}
.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 74px;
}
.company-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.company-logo .logo-on-white { filter: brightness(0); }

/* Optical sizing: equal image boxes do not produce equal-looking logos. */
.company-logo img {
    width: 90%;
    height: auto;
    max-width: 160px;
    max-height: 46px;
    object-fit: contain;
}
/* Compact marks need less width than long, fine-lettered wordmarks. */
.company-logo img[alt="Amazon"],
.company-logo img[alt="Google"],
.company-logo img[alt="DRW"] { width: 76%; max-height: 42px; }
.company-logo img[alt="Hudson River Trading"] { width: 76%; max-height: 48px; }
.company-logo img[alt="AQR"],
.company-logo img[alt="Citadel Securities"] { max-height: 54px; }
.company-logo img[alt="Bloomberg"] { width: 84%; max-height: 38px; }
.company-logo img[alt="Brevan Howard"],
.company-logo img[alt="Centerview Partners"],
.company-logo img[alt="Headlands Technologies"],
.company-logo img[alt="Millennium"],
.company-logo img[alt="Morgan Stanley"] { width: 100%; max-width: 180px; }
/* Radix's square source has large transparent margins above and below. */
.company-logo img[alt="Radix"] {
    width: 100%;
    max-width: 180px;
    height: 32px;
    max-height: 32px;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 575px) {
    .company-logo img { max-height: 38px; }
    .company-logo img[alt="AQR"],
    .company-logo img[alt="Citadel Securities"] { max-height: 44px; }
}

@media (max-width: 991px) {
    .company-grid { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
