/* Apna Legal Saathi v1.9.5 — only user-requested layout/text refinements. */
/* Target top navigation links (Astra/Max Mega Menu), NOT content headings. */
body:not(.wp-admin) #masthead li.alsu-nav-heading-large > a,
body:not(.wp-admin) header nav li.alsu-nav-heading-large > a,
body:not(.wp-admin) #masthead li.alsu-nav-heading-large > a.mega-menu-link,
body:not(.wp-admin) [id^="mega-menu-wrap-"] li.alsu-nav-heading-large > a.mega-menu-link {
 font-size:20px!important;font-weight:700!important;line-height:1.35!important;
 letter-spacing:.005em;opacity:1!important;visibility:visible!important;
}
/* Keep the owner-approved existing nav colour and hover/dropdown styling. */
@media(max-width:1100px){
 body:not(.wp-admin) #masthead li.alsu-nav-heading-large > a,
 body:not(.wp-admin) header nav li.alsu-nav-heading-large > a,
 body:not(.wp-admin) [id^="mega-menu-wrap-"] li.alsu-nav-heading-large > a.mega-menu-link {font-size:18px!important}
}
@media(max-width:767px){
 body:not(.wp-admin) #masthead li.alsu-nav-heading-large > a,
 body:not(.wp-admin) header nav li.alsu-nav-heading-large > a,
 body:not(.wp-admin) [id^="mega-menu-wrap-"] li.alsu-nav-heading-large > a.mega-menu-link {font-size:17px!important;line-height:1.4!important}
}
/* All SIX native calculators: CALCULATE flush left and BACK flush right inside box. */
.alsu-native .alsu-calculator-actions{display:flex!important;width:100%!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap;margin:18px 0 14px;padding:0!important;box-sizing:border-box}
.alsu-native .alsu-calculator-actions .alsu-calc-submit,
.alsu-native .alsu-calculator-actions .alsu-back-to-calculators{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;height:48px!important;box-sizing:border-box!important;margin:0!important;border-radius:8px!important;font-size:16px!important;line-height:1.3!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap}
.alsu-native .alsu-calculator-actions .alsu-back-to-calculators{margin-left:auto!important;padding:12px 21px!important;background:#000080!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.alsu-native .alsu-calculator-actions .alsu-calc-submit{padding:12px 22px!important}
@media(max-width:390px){.alsu-native .alsu-calculator-actions{gap:8px!important}.alsu-native .alsu-calculator-actions .alsu-calc-submit,.alsu-native .alsu-calculator-actions .alsu-back-to-calculators{padding:10px 12px!important;font-size:14px!important}}
/* Only the original Contact-page login prompt. Keep its text and link unchanged. */
body.page-id-296 .entry-content .uagb-block-8d17a762 p:has(a[href*="/login/"]){font-size:clamp(18px,2.1vw,22px)!important;line-height:1.45!important}
body.page-id-296 .entry-content .uagb-block-8d17a762 p a[href*="/login/"]{
 font-size:clamp(18px,2.1vw,22px)!important;font-weight:700!important;line-height:1.45!important;
 color:#17355c!important;-webkit-text-fill-color:#17355c!important;text-decoration:underline!important;
 text-decoration-thickness:1px;text-underline-offset:3px;opacity:1!important;
}
body.page-id-296 .entry-content .uagb-block-8d17a762 p a[href*="/login/"]:focus-visible{outline:2px solid #0e4d95!important;outline-offset:3px}
