/* Apna Legal Saathi v1.9.4 — additive, reversible, scoped visual corrections only. */
/* The reusable brand banner appears at the TOP of pages; not sticky while scrolling. */
.alsu-global-brand{max-width:1180px;width:calc(100% - 22px);margin:12px auto 24px;padding:clamp(10px,1.5vw,20px);background:linear-gradient(125deg,#eff9f5,#f2f6ff 45%,#fff8eb);border:1px solid #d4dee9;border-radius:16px;box-shadow:0 7px 24px rgba(12,31,64,.12);box-sizing:border-box;position:relative;z-index:1;clear:both}
.alsu-global-brand-images{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(0,.8fr);align-items:center;justify-items:center;gap:clamp(9px,2vw,26px);width:100%}
.alsu-global-brand :is(.alsu-global-brand-flag,.alsu-global-brand-logo,.alsu-global-brand-founder){min-width:0;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}
.alsu-global-brand img{max-width:100%;height:auto;display:block;object-fit:contain;border:none;box-shadow:none;position:static!important;filter:none!important}
.alsu-global-brand-flag img{max-width:240px;max-height:164px}
.alsu-global-brand-logo img{max-width:355px;max-height:178px}
.alsu-global-brand-founder img{max-width:170px;max-height:175px;object-fit:contain}
.alsu-global-brand-logo a{display:flex;justify-content:center;align-items:center}
.alsu-global-founder-link{display:inline-flex!important;min-height:37px;align-items:center;justify-content:center;max-width:100%;border-radius:8px;padding:8px 13px!important;font-size:clamp(12px,1.1vw,15px)!important;line-height:1.3!important;font-weight:800!important;text-align:center;color:#fff!important;-webkit-text-fill-color:#fff!important;background:#000080!important;text-decoration:none!important;opacity:1!important;visibility:visible!important;transform:none!important;animation:none!important;white-space:normal!important}
.alsu-global-founder-link:hover,.alsu-global-founder-link:focus{background:#191c67!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
/* Preserve original homepage photographs and the separately attached Founder button. */
body.home .entry-content > p:first-child:has(img[src*="ind-flag.gif"]):has(img[src*="ALS-main-Logo.png"]),
body.page-id-282 .entry-content > p:first-child:has(img[src*="ind-flag.gif"]):has(img[src*="ALS-main-Logo.png"]){display:flex;flex-wrap:wrap;justify-content:space-around;align-items:center;gap:14px;background:linear-gradient(125deg,#eff9f5,#f2f6ff 45%,#fff8eb)!important;padding:clamp(12px,2vw,20px)!important;border:1px solid #d4dee9;border-radius:16px;margin:12px auto 0;max-width:1180px;box-sizing:border-box}
body.home .entry-content > p:first-child:has(img[src*="ind-flag.gif"]) img,
body.page-id-282 .entry-content > p:first-child:has(img[src*="ind-flag.gif"]) img{max-width:100%;height:auto!important}
/* Increase Spectra's own heading elements (general h1–h6 already enlarged in v1.9.3). */
body:not(.wp-admin) .entry-content .wp-block-uagb-advanced-heading h1.uagb-heading-text,
body:not(.wp-admin) .entry-content h1.uagb-heading-text{font-size:clamp(2.2rem,4.8vw,3.65rem)!important;line-height:1.14!important}
body:not(.wp-admin) .entry-content .wp-block-uagb-advanced-heading h2.uagb-heading-text,
body:not(.wp-admin) .entry-content h2.uagb-heading-text{font-size:clamp(1.85rem,3.7vw,2.85rem)!important;line-height:1.2!important}
body:not(.wp-admin) .entry-content :is(h3.uagb-heading-text,h3.uagb-ifb-title){font-size:clamp(1.4rem,2.8vw,2.15rem)!important;line-height:1.24!important}
body:not(.wp-admin) .entry-content :is(h4.uagb-heading-text,h4.uagb-ifb-title){font-size:clamp(1.25rem,2.3vw,1.8rem)!important;line-height:1.3!important}
body:not(.wp-admin) .entry-content :is(h5.uagb-heading-text,h5.uagb-ifb-title){font-size:clamp(1.1rem,2vw,1.45rem)!important}
body:not(.wp-admin) .entry-content :is(h6.uagb-heading-text,h6.uagb-ifb-title){font-size:clamp(1.05rem,1.8vw,1.35rem)!important}
body:not(.wp-admin) .entry-content .wp-block-uagb-info-box :is(h1.uagb-ifb-title,h2.uagb-ifb-title){font-size:clamp(1.45rem,2.7vw,2.25rem)!important;line-height:1.24!important}
/* Increase upper-small-label font, not unrelated body paragraphs/forms. */
body:not(.wp-admin) .entry-content .wp-block-uagb-advanced-heading .uagb-desc-text{font-size:clamp(14px,1.5vw,19px)!important;line-height:1.55!important}
/* Add contrast ONLY to light text found over an actual photo-background block. */
.alsu-photo-contrast .alsu-white-over-photo{text-shadow:0 2px 5px rgba(0,0,0,.94),0 0 12px rgba(0,0,0,.65)!important;background-color:rgba(8,22,48,.58)!important;box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:5px;padding:.09em .22em;color:#fff!important;-webkit-text-fill-color:#fff!important}
/* Transparent header text over images receives shadow without replacing the existing image. */
.ast-theme-transparent-header #masthead .main-header-menu > li > a,
.ast-theme-transparent-header #masthead .ast-builder-menu-1 a{filter:drop-shadow(0 1px 2px rgba(0,0,0,.75))}
/* IMPORTANT LINKS is a menu trigger, NEVER a page link. Keep submenu separate. */
#masthead li.alsu-important-dropdown-parent > a,.mega-menu li.alsu-important-dropdown-parent > a{cursor:pointer}
#masthead li.alsu-important-dropdown-parent.alsu-menu-open > :is(ul.sub-menu,ul.mega-sub-menu),
.mega-menu li.alsu-important-dropdown-parent.alsu-menu-open > :is(ul.sub-menu,ul.mega-sub-menu){display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
#masthead li.alsu-important-dropdown-parent:not(.alsu-menu-open):not(:hover):not(:focus-within) > :is(ul.sub-menu,ul.mega-sub-menu),
.mega-menu li.alsu-important-dropdown-parent:not(.alsu-menu-open):not(:hover):not(:focus-within) > :is(ul.sub-menu,ul.mega-sub-menu){display:none!important}
@media (max-width:700px){
 .alsu-global-brand{width:calc(100% - 12px);padding:9px;margin:8px auto 16px}
 .alsu-global-brand-images{grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr) minmax(0,.85fr);gap:5px}
 .alsu-global-brand-flag img{max-height:85px}.alsu-global-brand-logo img{max-height:95px}.alsu-global-brand-founder img{max-height:98px}
 .alsu-global-founder-link{font-size:10px!important;padding:6px 3px!important;min-height:32px!important;line-height:1.2!important}
 body.home .entry-content > p:first-child:has(img[src*="ind-flag.gif"]),body.page-id-282 .entry-content > p:first-child:has(img[src*="ind-flag.gif"]){padding:8px!important;gap:8px}
}
