:root{--header-h:136px}
.brand.amal-brand{min-width:0;gap:0;line-height:0;flex-shrink:0}
.amal-brand .amal-emblem{display:block;width:192px;height:128px;max-width:100%;object-fit:contain;filter:none}
.legal-page-header .header-bar{height:var(--header-h)}
.brand--footer.amal-brand{display:inline-flex;background:#fffafb;border-radius:4px;padding:8px;max-width:100%}
.brand--footer.amal-brand .amal-emblem{width:300px;height:200px}
.firm-intro,.lawyer-team{scroll-margin-top:calc(var(--header-h) + 16px)}
.case-folio img{width:120px;height:80px;object-fit:contain;opacity:1}
@media(max-width:700px){:root{--header-h:112px}.amal-brand .amal-emblem{width:156px;height:104px}.brand--footer.amal-brand .amal-emblem{width:276px;height:184px}}
@media(max-width:520px){:root{--header-h:104px}.amal-brand .amal-emblem{width:144px;height:96px}.legal-page-header .header-bar{height:auto;min-height:var(--header-h);padding-block:4px}.brand--footer.amal-brand .amal-emblem{width:252px;height:168px}}

/* Keep responsive navigation below the fixed brand/language header. */
@media (max-width:1500px){
 body.menu-open .site-header{background:var(--paper);box-shadow:0 1px 0 var(--line);transform:none}
 .mobile-menu{top:var(--header-h);height:calc(100svh - var(--header-h));height:calc(100dvh - var(--header-h));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .mobile-menu-inner{min-height:100%;padding:20px 24px max(32px,env(safe-area-inset-bottom))}
 .mobile-menu-top{gap:16px;padding-bottom:16px}
 .mobile-menu-top .kicker{min-width:0;line-height:1.5;letter-spacing:.12em;font-size:.65rem}
 .mobile-menu-top .kicker::before{flex-shrink:0}
 .mobile-close{flex-shrink:0;min-width:44px;min-height:44px;padding:8px}
 .mobile-nav-primary{padding-top:16px}
 .mobile-contact-panel{margin-top:24px;padding-top:24px}
 html[dir="rtl"] .mobile-menu-top .kicker{letter-spacing:0}
 html[dir="rtl"] .mobile-nav-primary>a,html[dir="rtl"] .mobile-services-toggle{text-align:right}
}
