/* LAFER · QA layout repair 2026-11-13
   1. Keep both editorial logos inside the existing first navigation grid cell.
   2. Remove unconvincing flat asterisk decorations.
   3. Ensure the ARL dialog cannot overflow or produce a narrow notice column.
   Applied after original component styles; only affected pages are targeted.
*/
body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout,
body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout.compact{
  grid-template-columns:clamp(218px,15.2vw,246px) minmax(0,1fr) max-content!important;
  column-gap:clamp(9px,1.1vw,19px)!important;
}
body.lafer-enterprise .lf-header .site-nav .lf-brand-group{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:clamp(8px,.9vw,15px)!important;min-width:0!important;width:100%!important;
  flex:0 1 auto!important;grid-column:auto!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;
}
body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.brand{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex:0 1 clamp(138px,9.4vw,159px)!important;
  width:clamp(138px,9.4vw,159px)!important;max-width:159px!important;min-width:0!important;
  margin:0!important;
}
body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.brand img{
  width:100%!important;max-width:159px!important;height:auto!important;max-height:59px!important;
  object-fit:contain!important;
}
body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.lfpe-nav-brand{
  display:flex!important;align-items:center!important;justify-content:center!important;
  position:relative!important;flex:0 0 73px!important;min-width:0!important;width:73px!important;
  height:64px!important;max-width:73px!important;overflow:visible!important;
  background:transparent!important;box-shadow:none!important;border:0!important;
  margin:0!important;padding:0!important;
}
body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.lfpe-nav-brand img{
  width:100%!important;height:100%!important;max-width:73px!important;max-height:64px!important;
  object-fit:contain!important;transform:scale(1.1);transform-origin:center!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
}
body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .primary-links,
body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .nav-actions{
  min-width:0!important;grid-row:1!important;position:static!important;
}
body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .lf-brand-group{
  grid-column:1!important;grid-row:1!important;
}
body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .primary-links{grid-column:2!important;}
body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .nav-actions{grid-column:3!important;}
@media(min-width:1200px) and (max-width:1440px){
 body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout,
 body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout.compact{
   grid-template-columns:215px minmax(0,1fr) max-content!important;
   padding-left:18px!important;padding-right:17px!important;
   column-gap:11px!important;
 }
 body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .lf-main-menu{gap:clamp(7px,.85vw,13px)!important;}
 body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .lf-main-menu>li>a{font-size:12.4px!important;}
 body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .nav-actions>a.btn{padding-inline:13px!important;font-size:11.8px!important;}
 body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.brand{flex-basis:135px!important;width:135px!important;}
 body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.lfpe-nav-brand{flex-basis:65px!important;width:65px!important;}
}
@media(max-width:1199px){
 body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout,
 body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout.compact{
  grid-template-columns:minmax(0,1fr) max-content!important;
 }
 body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .lf-brand-group{grid-column:1!important;}
 body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .primary-links{display:none!important;}
 body.lafer-enterprise .lf-header .site-nav.lfpe-nav-layout .nav-actions{grid-column:2!important;}
}
@media(max-width:740px){
 body.lafer-enterprise .lf-header .site-nav .lf-brand-group{gap:5px!important;}
 body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.brand{
   flex:0 0 clamp(128px,35vw,140px)!important;width:clamp(128px,35vw,140px)!important;
 }
 body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.brand img{max-width:140px!important;}
 body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.lfpe-nav-brand{
   flex-basis:49px!important;width:49px!important;height:45px!important;max-width:49px!important;
 }
 body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.lfpe-nav-brand img{
   max-width:49px!important;max-height:45px!important;transform:scale(1.18)!important;
 }
}
@media(max-width:375px){
 body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.brand{flex-basis:113px!important;width:113px!important;}
 body.lafer-enterprise .lf-header .site-nav .lf-brand-group>.lfpe-nav-brand{flex-basis:43px!important;width:43px!important;}
}

/* Stop all static asterisk glyphs and pseudo-element copies. */
body.lafer-enterprise #main.lfpe .lfpe-leading:before,
body.lafer-enterprise #main.lfpe .lfpe-story--lead:after,
body.lafer-enterprise #main.lfpe .lfpe-digest-decoration,
body.lafer-enterprise #main.lfpe .lfpe-newsletter-symbol,
body.lafer-enterprise #main.lfpe .lfpe-abstract-cross{content:none!important;display:none!important;}
body.lafer-enterprise #main.lfpe .lfpe-story.has-no-image .lfpe-story-abstract:before{
  content:"";position:absolute;top:22%;left:23%;width:50%;aspect-ratio:1;
  border-radius:50%;background:radial-gradient(circle at 30% 25%,#e1f4ff 0%,#70baf7 39%,#165bba 75%,#09326c 100%);
  box-shadow:17px 20px 35px rgba(0,26,90,.22),inset -11px -15px 19px rgba(5,43,112,.18);
  transform:rotate(-15deg);pointer-events:none;
}

/* ARL native dialog — explicit reset to prevent inherited grid sizing/overflow.
   This modal stays compact on desktop and scrollable only vertically on mobile. */
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog{
  position:fixed!important;z-index:99999!important;
  display:block;box-sizing:border-box!important;
  width:min(900px,calc(100vw - 36px))!important;max-width:900px!important;
  min-width:0!important;min-height:0!important;
  height:fit-content!important;max-height:calc(100dvh - 36px)!important;
  margin:auto!important;padding:0!important;
  border:1px solid #c8dafa!important;border-radius:26px!important;
  background:#fff!important;box-shadow:0 35px 95px rgba(0,12,64,.35)!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog:not([open]){display:none!important;}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog,
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog *{box-sizing:border-box!important;}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-quote-inner{
  display:block!important;box-sizing:border-box!important;width:100%!important;
  max-width:100%!important;min-width:0!important;
  margin:0!important;padding:clamp(24px,3.1vw,37px)!important;
  height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-quote-heading{
  display:block!important;max-width:760px!important;width:100%!important;
  margin:0!important;padding:0 48px 0 0!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-quote-heading h2{
  font-size:clamp(25px,3.2vw,40px)!important;line-height:1.15!important;max-width:100%!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-quote-heading>p{
  margin:8px 0 0!important;padding:0!important;max-width:720px!important;
  font-size:13px!important;line-height:1.55!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog form#arlLeadForm{
  display:block!important;position:static!important;
  width:100%!important;max-width:100%!important;
  height:auto!important;min-height:0!important;margin:18px 0 0!important;
  padding:0!important;overflow:visible!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-form-fields{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  align-items:start!important;gap:12px 17px!important;
  margin:0!important;padding:0!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-form-fields>label{
  display:flex!important;flex-direction:column!important;
  gap:7px!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:auto!important;margin:0!important;padding:0!important;
  color:#123b79;font-size:12px!important;line-height:1.5!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-form-fields :is(input,select){
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:47px!important;margin:0!important;padding:10px 13px!important;border-radius:11px!important;
  border:1px solid #ccdef4!important;background:#f7faff!important;
  font-size:13px!important;color:#15376f!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-consent{
  display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:9px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:16px 0 0!important;padding:0!important;
  font-size:11px!important;line-height:1.5!important;color:#617895!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-consent input{
  display:block!important;appearance:auto!important;flex:0 0 18px!important;
  min-width:18px!important;width:18px!important;height:18px!important;margin:0!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-consent span{
  display:block!important;min-width:0!important;max-width:100%!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-form-submit-row{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;gap:9px!important;
  margin:18px 0 0!important;padding:0!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-form-submit-row button#arlLeadTrigger{
  display:flex!important;flex:0 0 auto!important;align-self:stretch!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:52px!important;min-height:52px!important;max-height:52px!important;
  margin:0!important;padding:12px 18px!important;font-size:14px!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-form-submit-row>p{
  display:block!important;flex:none!important;align-self:stretch!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;text-align:center!important;
  white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;
  line-height:1.5!important;font-size:11px!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-form-status{
  width:100%!important;margin:12px 0 0!important;padding:10px 13px!important;min-height:0!important;
}
html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-quote-close{
  position:absolute!important;top:18px!important;right:18px!important;
  margin:0!important;width:38px!important;height:38px!important;z-index:2!important;
}
/* Editorial identity clearance. Shared shell removes #main padding globally;
   restore only the Perspectivas index's space for the fixed 94px nav.
   Do not change the navbar height, width, or other landing layouts. */
html body.lafer-enterprise #main.lfpe {
  padding-top:clamp(106px,7.2vw,124px)!important;
}
html body.lafer-enterprise #main.lfpe .lfpe-masthead-core {
  padding-top:clamp(8px,1.25vw,20px)!important;
}
/* The original square logo artwork has transparent margins.
   Enlarge the painted mark within its existing nav slot, not the nav itself. */
html body.lafer-enterprise .lf-header #mainNav .lf-brand-group>.lfpe-nav-brand {
  overflow:visible!important;
}
html body.lafer-enterprise .lf-header #mainNav .lf-brand-group>.lfpe-nav-brand .lfpe-nav-logo {
  transform:scale(1.62)!important;
  transform-origin:center center!important;
  object-fit:contain!important;
}
@media(max-width:1199px){
  html body.lafer-enterprise .lf-header #mainNav .lf-brand-group>.lfpe-nav-brand .lfpe-nav-logo {
    transform:scale(1.52)!important;
  }
}
@media(max-width:740px){
  html body.lafer-enterprise #main.lfpe {
    padding-top:104px!important;
  }
  html body.lafer-enterprise #main.lfpe .lfpe-masthead-core {
    padding-top:9px!important;
  }
  html body.lafer-enterprise .lf-header #mainNav .lf-brand-group>.lfpe-nav-brand .lfpe-nav-logo {
    transform:scale(1.72)!important;
  }
}
body.lafer-arl-dialog-open{overflow:hidden!important;}
@media(max-width:700px){
 html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog{
  width:calc(100vw - 18px)!important;max-height:calc(100dvh - 20px)!important;border-radius:19px!important;
 }
 html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-quote-inner{padding:25px 18px 22px!important;}
 html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-quote-heading{padding-right:32px!important;}
 html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-form-fields{grid-template-columns:1fr!important;gap:11px!important;}
 html body.lafer-enterprise #main.lafer-arl dialog#arlQuoteDialog .arl-quote-heading h2{font-size:28px!important;}
}
