/* Alliance Assays v2.2.1 Elementor native spacing with stable responsive grids.
   Converted containers carry .aaec-converted. Layout/spacing controls remain
   editable in Elementor, including responsive overrides. The original parent
   theme remains untouched and all legacy shortcodes remain dynamic. */
body.aaec-elementor .site-content.entry-content{width:100%;max-width:none;margin:0;padding:0;}
body.aaec-elementor .site-content>.elementor{width:100%;max-width:none;}
body.aaec-elementor .elementor .e-con.aaec-native-hero,
body.aaec-elementor .elementor .e-con.lwm-section,
body.aaec-elementor .elementor .e-con.lwm-cta{width:100%;max-width:none;}
body.aaec-elementor .aaec-native-hero{display:var(--display,flex);background:linear-gradient(115deg,#f5faf8,#fff);overflow:hidden;}
body.aaec-elementor .aaec-native-hero .e-con.hero-copy{min-width:0;}
body.aaec-elementor .aaec-hero-eyebrow .elementor-widget-container p.eyebrow{font-size:.7rem;font-weight:750;letter-spacing:.18em;color:var(--teal);text-transform:uppercase;}
body.aaec-elementor :where(.aaec-native-hero .elementor-widget-aaec-hero-heading h1){line-height:1.12;letter-spacing:-.045em;font-size:clamp(2.55rem,4.5vw,4.5rem);font-weight:600;color:var(--ink);}
body.aaec-elementor :where(.aaec-native-hero.hero-inner .elementor-widget-aaec-hero-heading h1){font-size:clamp(2.45rem,3.7vw,3.75rem);}
body.aaec-elementor .aaec-hero-intro p.hero-intro{max-width:530px;color:var(--ink-soft);font-size:1.02rem;line-height:1.85;margin:25px 0 0;}
body.aaec-elementor .aaec-native-hero .e-con.hero-actions{width:auto;max-width:none;}
body.aaec-elementor .aaec-native-hero .hero-actions > .elementor-widget{flex:0 0 auto;width:auto;max-width:100%;}
body.aaec-elementor .aaec-native-hero .elementor-widget-aaec-hero-notes{border-top:1px solid var(--line);max-width:490px;}
body.aaec-elementor .aaec-native-hero .elementor-widget-aaec-hero-notes .hero-notes{display:flex;gap:24px;border:0;max-width:none;flex-wrap:wrap;}
body.aaec-elementor .aaec-native-hero .elementor-widget-aaec-hero-image{align-self:stretch;position:relative;min-height:440px;width:100%;max-width:none;}
body.aaec-elementor .aaec-native-hero.hero-inner .elementor-widget-aaec-hero-image{min-height:340px;max-height:460px;}
body.aaec-elementor .elementor-widget-aaec-hero-image>.elementor-widget-container{height:100%;}
body.aaec-elementor .elementor-widget-aaec-hero-image figure.hero-visual{height:100%;min-height:inherit;position:relative;max-height:inherit;}
body.aaec-elementor .elementor-widget-aaec-hero-image figure.hero-visual>img{width:100%;height:100%;max-height:inherit;object-fit:cover;object-position:60% center;border-radius:5px;display:block;}
body.aaec-elementor .hero-inner .elementor-widget-aaec-hero-image figure.hero-visual>img{object-position:center;}
body.aaec-elementor .elementor-widget-aaec-hero-image figure.hero-visual:after{content:"";position:absolute;inset:65% 0 0;background:linear-gradient(transparent,#082a3966);pointer-events:none;border-radius:5px;}
body.aaec-elementor .elementor-widget-aaec-hero-image figure.hero-visual figcaption{position:absolute;right:14px;bottom:10px;color:white;font-size:.55rem;z-index:2;text-shadow:0 1px 5px #000;}
body.aaec-elementor .elementor-widget-aaec-hero-image .image-label{position:absolute;bottom:44px;left:-28px;background:#fff;display:flex;align-items:center;gap:19px;box-shadow:var(--shadow);z-index:2;font-size:.64rem;line-height:1.8;letter-spacing:.12em;}
body.aaec-elementor .e-con.lwm-section{background:#fff;}
body.aaec-elementor .e-con.lwm-section.aaec-band-even{background:var(--paper);}
body.aaec-elementor .e-con.lwm-section.is-navy{background:var(--navy);color:#d9e7e9;}
body.aaec-elementor .e-con.section-heading{max-width:750px;}
body.aaec-elementor :where(.section-heading h2){margin-bottom:20px;}
body.aaec-elementor .section-heading .elementor-widget-text-editor:not(.eyebrow) p{max-width:650px;color:var(--ink-soft);}
body.aaec-elementor .section-heading .elementor-widget-text-editor p.eyebrow{font-size:.7rem;letter-spacing:.18em;font-weight:750;color:var(--teal);}

body.aaec-elementor .e-con.lwm-card{min-width:0;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);}
body.aaec-elementor .lwm-card .elementor-widget-aaec-image img{width:100%;aspect-ratio:1.58;object-fit:cover;}
body.aaec-elementor :where(.card-body h3){font-size:1.35rem;letter-spacing:-.02em;line-height:1.25;}
body.aaec-elementor :where(.card-body h3) a{color:var(--ink);text-decoration:none;}
body.aaec-elementor .card-body .elementor-widget-text-editor p{font-size:.9rem;color:var(--ink-soft);}
body.aaec-elementor .e-con.lwm-step{min-width:0;border-top:1px solid #abbeb6;}
body.aaec-elementor .e-con.lwm-step .elementor-widget-text-editor p.step-number{font-size:.83rem;font-weight:700;color:var(--teal);}
body.aaec-elementor :where(.e-con.lwm-step h3){font-size:1.25rem;}
body.aaec-elementor .e-con.lwm-step p{font-size:.9rem;color:var(--ink-soft);}
body.aaec-elementor .lwm-split .elementor-widget-aaec-image figure img{width:100%;min-height:380px;max-height:500px;object-fit:cover;border-radius:var(--radius);}
body.aaec-elementor .lwm-split .section-heading{margin-bottom:0;}
body.aaec-elementor .elementor-widget-aaec-list ul.lwm-bullets{list-style:none;}
body.aaec-elementor .elementor-widget-aaec-list .lwm-bullets li{border-bottom:1px solid var(--line);position:relative;font-size:.9rem;}
body.aaec-elementor .elementor-widget-aaec-list .lwm-bullets li:before{content:"↗";position:absolute;left:0;color:var(--teal);}
body.aaec-elementor .is-navy h2,body.aaec-elementor .is-navy h3{color:#fff;}
body.aaec-elementor .is-navy .eyebrow{color:#81d1c0;}
body.aaec-elementor .is-navy .section-heading .elementor-widget-text-editor p:not(.eyebrow){color:#c2d4d9;}
body.aaec-elementor .e-con.lwm-faq{max-width:900px;width:100%;}
body.aaec-elementor .lwm-faq .elementor-widget-aaec-faq details{border-bottom:1px solid var(--line);}
body.aaec-elementor .lwm-faq .elementor-widget-aaec-faq summary{font-size:1.05rem;font-weight:600;line-height:1.55;cursor:pointer;position:relative;padding-right:38px;list-style:none;}
body.aaec-elementor .lwm-faq .elementor-widget-aaec-faq summary::-webkit-details-marker{display:none;}
body.aaec-elementor .lwm-faq .elementor-widget-aaec-faq summary:after{content:"+";position:absolute;right:5px;top:-3px;color:var(--teal);font-size:1.3rem;}
body.aaec-elementor .lwm-faq .elementor-widget-aaec-faq details[open] summary:after{content:"−";}
body.aaec-elementor .lwm-faq .elementor-widget-aaec-faq details p{color:var(--ink-soft);font-size:.95rem;}
body.aaec-elementor .e-con.lwm-cta{background:var(--mint);}
body.aaec-elementor .lwm-cta .e-con.cta-copy{flex:1 1 auto;min-width:0;}
body.aaec-elementor .lwm-cta .e-con.wp-block-buttons{width:auto;flex:0 0 auto;}
body.aaec-elementor :where(.lwm-cta h2){font-size:2.5rem;margin-bottom:12px;}
body.aaec-elementor .lwm-cta p{margin:0;color:var(--ink-soft);}
body.aaec-elementor .wp-block-buttons>.elementor-widget-aaec-button{width:auto;max-width:100%;}
body.aaec-elementor .elementor-widget-aaec-button a.button{display:inline-flex;max-width:100%;align-items:center;justify-content:center;text-decoration:none;}
body.aaec-parts-active .e-con.aaec-header-root{width:100%;max-width:none;}
body.aaec-parts-active .e-con.aaec-utility-bar{width:100%;max-width:none;}
body.aaec-parts-active .aaec-utility-inner .elementor-widget{width:auto;}
body.aaec-parts-active .aaec-utility-inner .elementor-widget-text-editor span{font-size:.63rem;letter-spacing:.1em;color:#d9e7e9;}
body.aaec-parts-active .aaec-utility-inner .elementor-widget-aaec-inline-link a{font-size:.7rem;color:#f4ffff;text-decoration:none;letter-spacing:.025em;}
body.aaec-parts-active .e-con.aaec-site-header{width:100%;max-width:none;position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line);background:#fffffffa;}
body.admin-bar.aaec-parts-active .e-con.aaec-site-header{top:32px;}
body.aaec-parts-active .e-con.aaec-header-inner{height:89px;}
body.aaec-parts-active .aaec-header-inner>.elementor-widget-aaec-site-logo{width:auto;min-width:0;flex:0 1 auto;}
body.aaec-parts-active .aaec-header-inner>.elementor-widget-aaec-site-menu{width:auto;min-width:0;flex:0 1 auto;margin-left:auto;}
body.aaec-parts-active .aaec-header-inner .aaec-menu-inline{display:flex;align-items:center;gap:22px;}
body.aaec-parts-active .aaec-header-inner .site-nav{display:flex;align-items:center;gap:25px;}
body.aaec-parts-active .aaec-header-inner .menu-toggle{display:none;}
body.aaec-parts-active .aaec-header-inner .brand{display:flex;align-items:center;gap:12px;line-height:1;text-decoration:none;}
body.aaec-parts-active .aaec-header-inner .brand-symbol{display:grid;grid-template-columns:repeat(3,6px);gap:3px;align-items:center;height:33px;transform:skew(-12deg);}
body.aaec-parts-active .e-con.aaec-site-footer{width:100%;max-width:none;background:var(--navy);color:#c0d3d9;}
body.aaec-parts-active .e-con.aaec-footer-column,body.aaec-parts-active .e-con.aaec-footer-top .footer-brand{min-width:0;}
body.aaec-parts-active .aaec-site-footer .elementor-widget-aaec-site-logo .brand{color:white;}
body.aaec-parts-active .aaec-site-footer .elementor-widget-aaec-site-logo .brand small{color:#9db8c0;}
body.aaec-parts-active .aaec-site-footer .brand-symbol i{background:#83d3c1;}
body.aaec-parts-active .aaec-site-footer .footer-brand .elementor-widget-text-editor p{font-size:.83rem;color:#c0d3d9;}
body.aaec-parts-active .aaec-site-footer .elementor-widget-aaec-footer-contact a,
body.aaec-parts-active .aaec-site-footer .elementor-widget-aaec-footer-contact p{font-size:.83rem;color:#c0d3d9;}
body.aaec-parts-active .aaec-site-footer .aaec-footer-column h2{font-size:.85rem;color:#fff;letter-spacing:0;margin:0 0 21px;}
body.aaec-parts-active .aaec-site-footer .aaec-footer-links a,
body.aaec-parts-active .aaec-site-footer a.aaec-staff-link{display:block;text-decoration:none;color:#c0d3d9;font-size:.79rem;margin-bottom:12px;}
body.aaec-parts-active .aaec-site-footer a:hover{color:white;}
body.aaec-parts-active .e-con.aaec-footer-bottom{border-top:1px solid #ffffff25;}
body.aaec-parts-active .aaec-footer-bottom .elementor-widget{width:auto;}
body.aaec-parts-active .aaec-footer-bottom p{margin:0;color:#c0d3d9;font-size:.73rem;}
body.aaec-parts-active .aaec-footer-bottom .aaec-footer-links{display:flex;gap:20px;align-items:center;flex-wrap:wrap;}
body.aaec-parts-active .aaec-footer-bottom .aaec-footer-links a{margin:0;font-size:.73rem;}
body.aaec-parts-active .aaec-footer-disclaimer p{color:#95abb1;font-size:.64rem;margin:0;}
body.aaec-parent-fallback .aaec-native-hero{display:none!important;}
@media(min-width:1450px){body.aaec-elementor :where(.hero-home .elementor-widget-aaec-hero-heading h1){font-size:4.6rem;}}
@media(max-width:1150px){body.aaec-elementor :where(.aaec-native-hero.hero-home .elementor-widget-aaec-hero-heading h1){font-size:3.5rem;}
body.aaec-parts-active .aaec-header-inner .site-nav{gap:15px;}}
@media(max-width:1050px){body.aaec-parts-active .aaec-header-inner .menu-toggle{display:flex;}
body.aaec-parts-active .aaec-header-inner .site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:25px;border-bottom:1px solid var(--line);box-shadow:var(--shadow);align-items:stretch;}
body.aaec-parts-active .aaec-header-inner .site-nav.nav-open{display:flex;flex-direction:column;}
body.aaec-parts-active .aaec-header-inner .site-nav ul{display:flex;flex-direction:column;align-items:stretch;gap:18px;}
body.aaec-parts-active .aaec-header-inner .site-nav .sub-menu{position:static;box-shadow:none;border:0;padding:10px 0 0 18px;}}
@media(max-width:900px){body.aaec-elementor .aaec-native-hero .elementor-widget-aaec-hero-image{max-height:480px;}
body.aaec-parts-active .aaec-footer-top>.footer-brand{grid-column:1/-1;}}
@media(max-width:760px){body.aaec-elementor .aaec-native-hero .elementor-widget-aaec-hero-image{min-height:300px;max-height:430px;}
body.aaec-elementor .aaec-native-hero .elementor-widget-aaec-hero-image .image-label{left:0;bottom:25px;}
body.aaec-elementor :where(.aaec-native-hero.hero-home .elementor-widget-aaec-hero-heading h1){font-size:clamp(2.5rem,9vw,3.5rem);}
body.aaec-parts-active .e-con.aaec-header-inner{height:73px;}
body.admin-bar.aaec-parts-active .e-con.aaec-site-header{top:46px;}}
@media(max-width:420px){body.aaec-elementor .aaec-native-hero .elementor-widget-aaec-hero-notes .hero-notes{gap:14px;}
body.aaec-parts-active .aaec-utility-inner .elementor-widget-text-editor span{font-size:.51rem;letter-spacing:.03em;}
body.aaec-parts-active .aaec-site-footer .aaec-footer-column h2{margin-bottom:12px;}}
@media(prefers-reduced-motion:reduce){body.aaec-elementor .elementor-element{transition:none!important;animation:none!important;}}
body.aaec-parts-active .aaec-part-header{position:sticky;top:0;z-index:50;background:#fff;}
body.admin-bar.aaec-parts-active .aaec-part-header{top:32px;}
body.aaec-parts-active .aaec-part-header .e-con.aaec-site-header{position:relative;top:auto;z-index:1;}
@media(max-width:782px){body.admin-bar.aaec-parts-active .aaec-part-header{top:46px;}}
body.aaec-elementor .aaec-native-hero .e-con.hero-grid>.e-con.hero-copy{flex:1.02 1 0;min-width:0;}
body.aaec-elementor .aaec-native-hero .e-con.hero-grid>.elementor-widget-aaec-hero-image{flex:1 1 0;min-width:0;}



body.aaec-elementor .e-con.lwm-split>.elementor-element{flex:1 1 0;min-width:0;}
body.aaec-parts-active .e-con.aaec-footer-top>.e-con{flex:1 1 0;min-width:0;}
body.aaec-parts-active .e-con.aaec-footer-top>.e-con.footer-brand{flex:1.5 1 0;}
body.aaec-elementor .elementor-editor-element-settings,
body.aaec-elementor .elementor-editor-element-settings li{list-style:none!important;padding-left:0!important;}
@media(max-width:900px){body.aaec-elementor .aaec-native-hero .e-con.hero-grid>.e-con.hero-copy,body.aaec-elementor .aaec-native-hero .e-con.hero-grid>.elementor-widget-aaec-hero-image{flex:0 1 auto;}


body.aaec-parts-active .e-con.aaec-footer-top>.e-con.footer-brand{flex:0 0 100%;}}
@media(max-width:760px){body.aaec-elementor .e-con.lwm-grid>.e-con.lwm-card,
body.aaec-elementor .e-con.lwm-split>.elementor-element{flex:0 1 auto;width:100%;}
body.aaec-parts-active .e-con.aaec-footer-top>.e-con:not(.footer-brand){flex:0 0 calc((100% - 20px)/2);}}
@media(max-width:420px){
body.aaec-parts-active .e-con.aaec-footer-top>.e-con:not(.footer-brand):last-child{flex-basis:100%;}}
/* The original Gutenberg theme uses hard-coded physical padding and grid
   layouts. Refer to Elementor's own responsive CSS variables instead. */
body.aaec-elementor .elementor .e-con.aaec-converted,
body.aaec-parts-active .elementor .e-con.aaec-converted{
 display:var(--display,flex);
 flex-direction:var(--flex-direction,column);
 flex-wrap:var(--flex-wrap,nowrap);
 align-items:var(--align-items,stretch);
 justify-content:var(--justify-content,flex-start);
 gap:var(--gap,0px);
 padding:var(--padding-top,0px) var(--padding-right,0px) var(--padding-bottom,0px) var(--padding-left,0px);
 margin-top:var(--margin-top,0px);
 margin-bottom:var(--margin-bottom,0px);
}
/* Width and centering remain responsive but Elementor width/margin adjustments
   now alter the final value via --width and --margin-* when configured. */
body.aaec-elementor .elementor .e-con.aaec-converted:is(.hero-grid,.lwm-section-inner),
body.aaec-parts-active .elementor .e-con.aaec-converted:is(.aaec-utility-inner,.aaec-header-inner,.aaec-footer-top,.aaec-footer-bottom,.aaec-footer-disclaimer){
 width:min(var(--width,1240px),calc(100% - 80px));
 max-width:none;
 margin-left:var(--margin-left,auto);
 margin-right:var(--margin-right,auto);
}
body.aaec-elementor .elementor .e-con.aaec-converted.lwm-faq{
 width:min(var(--width,900px),100%);
 max-width:none;
 margin-left:var(--margin-left,auto);margin-right:var(--margin-right,auto);
}
body.aaec-elementor .elementor .e-con.aaec-converted.section-heading{
 width:min(var(--width,750px),100%);
 max-width:none;
}
/* Make the original card and step grids editor-safe without forcing gaps. */
body.aaec-elementor .elementor .e-con.aaec-converted:is(.hero-grid,.lwm-grid,.lwm-steps,.lwm-split),
body.aaec-parts-active .elementor .e-con.aaec-converted.aaec-footer-top{
 display:var(--display,flex);
}
body.aaec-elementor .elementor .e-con.aaec-converted.hero-grid>.e-con.hero-copy{flex:1.02 1 0;min-width:0}
body.aaec-elementor .elementor .e-con.aaec-converted.hero-grid>.elementor-widget-aaec-hero-image{flex:1 1 0;min-width:0}
@media(max-width:1150px){
 body.aaec-elementor .elementor .e-con.aaec-converted:is(.hero-grid,.lwm-section-inner),
 body.aaec-parts-active .elementor .e-con.aaec-converted:is(.aaec-utility-inner,.aaec-header-inner,.aaec-footer-top,.aaec-footer-bottom,.aaec-footer-disclaimer){width:min(var(--width,1240px),calc(100% - 50px))}
}
@media(max-width:760px){
 body.aaec-elementor .elementor .e-con.aaec-converted:is(.hero-grid,.lwm-section-inner),
 body.aaec-parts-active .elementor .e-con.aaec-converted:is(.aaec-utility-inner,.aaec-header-inner,.aaec-footer-top,.aaec-footer-bottom,.aaec-footer-disclaimer){width:min(var(--width,1240px),calc(100% - 36px))}
}

/* v2.2.1 STABLE LAYOUT REGRESSION REPAIR
   Elementor containers default --width to 100%. v2.2.0 mistakenly used that
   as the flex-basis for each card, causing 3-up and 2-up grids to stack.
   Flexbox is retained because Elementor editor overlays should not become
   extra CSS Grid cells. --column-gap is supplied by Elementor flex_gap.
   These selectors only target already converted Alliance Elementor pages. */
body.aaec-elementor .elementor .e-con.lwm-grid,
body.aaec-elementor .elementor .e-con.lwm-steps {
    display:flex!important;
    flex-direction:var(--flex-direction,row);
    flex-wrap:var(--flex-wrap,wrap);
    gap:var(--gap,24px 24px);
    align-items:stretch;
    width:100%;
}
body.aaec-elementor .elementor .e-con.lwm-grid>.e-con.lwm-card {
    flex:0 0 calc((100% - var(--column-gap,24px) - var(--column-gap,24px))/3);
    width:calc((100% - var(--column-gap,24px) - var(--column-gap,24px))/3);
    max-width:calc((100% - var(--column-gap,24px) - var(--column-gap,24px))/3);
    min-width:0;
}
body.aaec-elementor .elementor .e-con.lwm-grid.aaec-grid-2>.e-con.lwm-card {
    flex-basis:calc((100% - var(--column-gap,24px))/2);
    width:calc((100% - var(--column-gap,24px))/2);
    max-width:calc((100% - var(--column-gap,24px))/2);
}
body.aaec-elementor .elementor .e-con.lwm-steps {
    gap:var(--gap,28px 28px);
}
body.aaec-elementor .elementor .e-con.lwm-steps>.e-con.lwm-step {
    flex:0 0 calc((100% - var(--column-gap,28px) - var(--column-gap,28px) - var(--column-gap,28px))/4);
    width:calc((100% - var(--column-gap,28px) - var(--column-gap,28px) - var(--column-gap,28px))/4);
    max-width:calc((100% - var(--column-gap,28px) - var(--column-gap,28px) - var(--column-gap,28px))/4);
    min-width:0;
}
body.aaec-elementor .elementor .e-con.lwm-split {
    display:flex!important;
    flex-direction:var(--flex-direction,row);
    flex-wrap:var(--flex-wrap,nowrap);
    gap:var(--gap,70px 70px);
}
body.aaec-elementor .elementor .aaec-native-hero .e-con.hero-grid {
    display:flex!important;
    flex-direction:var(--flex-direction,row);
    gap:var(--gap,55px 55px);
    align-items:center;
}
@media(max-width:900px){
 body.aaec-elementor .elementor .e-con.lwm-grid>.e-con.lwm-card {
    flex-basis:calc((100% - var(--column-gap,22px))/2);
    width:calc((100% - var(--column-gap,22px))/2);
    max-width:calc((100% - var(--column-gap,22px))/2);
 }
 body.aaec-elementor .elementor .e-con.lwm-steps>.e-con.lwm-step {
    flex-basis:calc((100% - var(--column-gap,28px))/2);
    width:calc((100% - var(--column-gap,28px))/2);
    max-width:calc((100% - var(--column-gap,28px))/2);
 }
 body.aaec-elementor .elementor .aaec-native-hero .e-con.hero-grid {
    flex-direction:var(--flex-direction,column);
 }
}
@media(max-width:760px){
 body.aaec-elementor .elementor .e-con.lwm-grid>.e-con.lwm-card,
 body.aaec-elementor .elementor .e-con.lwm-grid.aaec-grid-2>.e-con.lwm-card {
    flex-basis:100%;width:100%;max-width:100%;
 }
 body.aaec-elementor .elementor .e-con.lwm-split {
    flex-direction:var(--flex-direction,column);
 }
}
@media(max-width:420px){
 body.aaec-elementor .elementor .e-con.lwm-steps>.e-con.lwm-step {
    flex-basis:100%;width:100%;max-width:100%;
 }
}
