/*
 * Reference logo standard
 * Upload canvas: 600 x 240 px (5:2)
 * Safe area: 520 x 160 px, centered
 */
.reference-logo-frame {
    width: 180px;
    max-width: 100%;
    aspect-ratio: 2 / 1;
    padding: 14px 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    transition: border-color .3s ease, background-color .3s ease;
}

.reference-logo-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.reference-logo-frame:hover {
    border-color: rgba(244, 126, 62, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.reference-logo-frame--plain,
.reference-logo-frame--plain:hover {
    border-color: transparent;
    background: transparent;
}

.marquee-content .reference-logo-frame {
    min-width: 180px;
}

@media (max-width: 767px) {
    .reference-logo-frame {
        width: 150px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .marquee-content .reference-logo-frame {
        min-width: 150px;
    }
}
