/* EIVA Stage 51.10.12: consistent original logo on interior hero banners and all panels.
 * The existing 51.3 right-side physical positioning, responsive padding and home layout
 * remain authoritative; this scoped stylesheet only deals with missing hero variants. */
.eiva-site .eiva511012-banner-logo,.eiva-dashboard .eiva511012-banner-logo {box-shadow:0 8px 28px rgba(0,0,0,.16)}
/* Short inner-page banners must not clip the badge while scrolling. */
.eiva-site :is(.eiva-page-hero,.e45-hero,.eiva39-specialty-hero)[data-eiva-banner-layout="side-511"] {min-height:170px;overflow:visible}
.eiva-dashboard .e45-banner[data-eiva-banner-layout="side-511"] {min-height:132px;overflow:visible}
/* Prevent a logo from covering the small judicial form banner text. */
.eiva-dashboard .e45-banner[data-eiva-banner-layout="side-511"] > div:not(.eiva51-banner-brand) {padding-right:max(128px,12vw)!important}
.eiva511012-panel-header-logo {display:grid;flex:none;place-items:center;width:42px;height:42px;border-radius:11px;background:#173f35;border:1px solid #bfa06a;overflow:hidden}
.eiva511012-panel-header-logo img {display:block;max-width:100%;height:100%;object-fit:contain;padding:3px;box-sizing:border-box}
@media (max-width:640px){
 .eiva-site :is(.eiva-page-hero,.e45-hero,.eiva39-specialty-hero)[data-eiva-banner-layout="side-511"] {min-height:0}
 .eiva-dashboard .e45-banner[data-eiva-banner-layout="side-511"] {min-height:0}
 .eiva-dashboard .e45-banner[data-eiva-banner-layout="side-511"] > div:not(.eiva51-banner-brand){padding-right:16px!important}
 .eiva511012-panel-header-logo{width:36px;height:36px;border-radius:9px}
}
