/**
 * Logo de plataforma → home: mismas dimensiones y comportamiento en público y panel admin.
 * (Antes: .fh-strip .fh-bar__logo-* vs .admin-header-strip__logo-* desalineados.)
 */
.bm-platform-logo {
    flex: 0 0 auto;
    min-width: 0;
}
.bm-platform-logo__slot {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: auto;
    max-width: min(340px, calc(100vw - 140px));
    height: auto;
    min-width: 0;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    line-height: 0;
}
.bm-platform-logo__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    line-height: 0;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}
.bm-platform-logo__img {
    display: block;
    width: auto;
    height: clamp(80px, 8vw, 120px);
    max-height: 120px;
    max-width: min(340px, calc(100vw - 140px));
    border-radius: 12px;
    object-fit: contain;
    object-position: left center;
}
.bm-platform-logo__fallback {
    display: inline-block;
    max-width: min(220px, calc(100vw - 120px));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}
.bm-platform-logo__fallback:hover {
    text-decoration: underline;
}
@media (max-width: 720px) {
    .bm-platform-logo__img {
        height: clamp(60px, 12vw, 90px);
        max-height: 90px;
    }
}
@media (max-width: 520px) {
    .bm-platform-logo__img {
        height: clamp(52px, 14vw, 78px);
        max-height: 78px;
        max-width: min(300px, calc(100vw - 96px));
    }
}

/* Hero público: imagen plana (sin pastilla / radio de tarjeta) */
.bm-home-hero .bm-platform-logo--hero-only .bm-platform-logo__slot,
.bm-home-hero .bm-platform-logo--hero-only .bm-platform-logo__link,
.bm-home-hero .bm-platform-logo--hero-only .bm-platform-logo__img {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: none;
}
