/* Red Malaga approved family A. Public identity, 2 November 2026. */
img.rm-brand-logo{display:block!important;width:270px!important;max-width:100%!important;height:auto!important;aspect-ratio:3/1;object-fit:contain!important;object-position:center!important;transform:none!important}
.brand:has(>img.rm-brand-logo){width:auto!important;height:auto!important;min-width:0!important;overflow:visible!important;gap:0!important}
.brand:has(>img.rm-brand-logo)>.brand-label{display:none!important}
.site-header .brand:has(>img.rm-brand-logo){flex:0 1 270px;max-width:270px}
.footer img.rm-brand-logo{width:260px!important;margin-bottom:18px}
.qi-brand:has(>img.rm-brand-logo){max-width:270px;min-width:0}
.qi-brand img.rm-brand-logo{width:270px!important}
.auth-brand-logo img.rm-brand-logo{width:250px!important;margin-inline:auto}
.sidebar .brand img.rm-brand-logo{width:100%!important}
#rm-agent-root .rm-avatar img{object-fit:contain!important;transform:none!important}
@media(max-width:900px){
 .site-header .brand img.rm-brand-logo{width:235px!important}
 .legal-header .brand img.rm-brand-logo{width:235px!important}
}
@media(max-width:700px){
 .site-header .header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:6px 12px!important;padding-top:12px!important;padding-bottom:12px!important}
 .site-header .header-inner .brand:has(>img.rm-brand-logo){grid-column:1;grid-row:1/3;max-width:240px!important;width:100%!important;margin:0!important;align-self:center}
 .site-header .header-inner .brand img.rm-brand-logo{width:100%!important;max-width:240px!important}
 .site-header .header-inner .language-switch{grid-column:2;grid-row:1;justify-self:end;margin:0!important;position:static!important}
 .site-header .header-inner .menu-toggle{grid-column:2;grid-row:2;justify-self:end;position:static!important;margin:0!important;min-height:36px;padding:7px 10px!important}
 .site-header .header-inner #main-nav{grid-column:1/-1;grid-row:3;width:100%}
 .site-header .header-inner>.header-cta{display:none}
 .qi-brand:has(>img.rm-brand-logo){max-width:calc(100% - 100px)}
 .qi-brand img.rm-brand-logo{width:240px!important}
 .legal-header .brand img.rm-brand-logo{width:210px!important}
 .auth-brand-logo img.rm-brand-logo{width:240px!important}
 .footer img.rm-brand-logo{width:240px!important}
 #rm-agent-root .rm-launcher,#rm-agent-root .rm-whatsapp-launcher{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;max-width:46px!important;padding:0!important;justify-content:center!important;border-radius:50%!important;bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
 #rm-agent-root .rm-launcher{right:14px!important}
 #rm-agent-root .rm-whatsapp-launcher{right:70px!important}
 #rm-agent-root .rm-launcher-full,#rm-agent-root .rm-launcher-short,#rm-agent-root .rm-whatsapp-launcher span{display:none!important}
}
@media(max-width:360px){body{min-width:0!important}}
