/* Lafer Enterprise • Home, editorial and consistent site shell */
body.lafer-enterprise{--lf-header-clearance:clamp(124px,12vw,176px)}

/* Unify the glass menu proportions and type scale throughout the site */
@media(min-width:1391px){
 html body.lafer-enterprise header.lf-header #mainNav.site-nav,
 html body.lafer-enterprise header.lf-header #mainNav.site-nav.compact{
  --lf-shared-height:94px;
  grid-template-columns:clamp(181px,12.5vw,205px) minmax(0,1fr) max-content!important;
  height:94px!important;min-height:94px!important;
  padding:12px 22px 12px 30px!important;column-gap:clamp(12px,1.35vw,27px)!important;
  background:rgba(252,253,255,.83)!important;
 }
 html body.lafer-enterprise header.lf-header #mainNav.site-nav .brand img,
 html body.lafer-enterprise header.lf-header #mainNav.site-nav.compact .brand img{
  width:170px!important;max-width:100%!important;max-height:62px!important;
 }
 html body.lafer-enterprise header.lf-header #mainNav.site-nav .lf-main-menu>li>a{
  font-size:14.3px!important;line-height:1.25!important;
 }
 html body.lafer-enterprise header.lf-header #mainNav.site-nav .nav-actions>.btn{
  height:54px!important;min-height:54px!important;max-height:54px!important;
  font-size:13px!important;padding:0 18px!important;
 }
}

/* Two matching wide solutions, after the eight compact problem cards */
body.lafer-enterprise #main .solve-wide-actions{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;
 margin-top:clamp(15px,1.8vw,26px);align-items:stretch;
}
body.lafer-enterprise #main .solve-wide-actions .other-help{
 display:grid;grid-template-columns:58px minmax(0,1fr);
 grid-template-areas:"icon copy" "icon action";align-items:center;
 gap:6px 19px;margin:0!important;min-height:130px;padding:25px 30px;
 border-radius:26px;overflow:hidden;
}
body.lafer-enterprise #main .solve-wide-actions .other-help-icon{
 grid-area:icon;width:58px;height:58px;border-radius:18px;
}
body.lafer-enterprise #main .solve-wide-actions .other-help>span:nth-child(2){grid-area:copy;min-width:0}
body.lafer-enterprise #main .solve-wide-actions .other-help strong{
 font-size:clamp(18px,1.85vw,25px);line-height:1.17;letter-spacing:-.035em;font-weight:850;
}
body.lafer-enterprise #main .solve-wide-actions .other-help small{
 font-size:13.5px;line-height:1.45;max-width:440px;margin-top:6px;
}
body.lafer-enterprise #main .solve-wide-actions .other-help-go{
 grid-area:action;justify-self:start;margin:0;font-size:13px;
 white-space:normal;color:#e0edff;
}
body.lafer-enterprise #main .solve-wide-actions .other-help-psico{
 background:radial-gradient(circle at 88% 10%,rgba(136,196,255,.2),transparent 50%),linear-gradient(115deg,#063a9b,#115ac1);
}
body.lafer-enterprise #main .solve-wide-actions .other-help:focus-visible{
 outline:3px solid #ffad71;outline-offset:3px;
}

/* Six insurance solution cards + the dedicated claims CTA */
body.lafer-enterprise #main .portfolio-v2 .service-grid-v2{align-items:stretch}
body.lafer-enterprise #main .portfolio-all-wrap{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:17px;max-width:1070px;margin:32px auto 0!important;
 align-items:stretch;
}
body.lafer-enterprise #main .portfolio-all-wrap .portfolio-all-cta{
 width:100%!important;max-width:none!important;min-width:0!important;
 margin:0!important;box-sizing:border-box;min-height:108px;
 border-radius:24px!important;
}
body.lafer-enterprise #main .portfolio-claims-cta{
 display:flex;align-items:center;gap:16px;padding:20px 25px;
 box-sizing:border-box;min-height:108px;border-radius:24px;
 background:radial-gradient(circle at 95% -10%,rgba(255,177,127,.3),transparent 45%),linear-gradient(120deg,#c52b38,#8e1b36);
 color:#fff!important;border:1px solid rgba(255,180,164,.36);
 text-decoration:none;box-shadow:0 15px 42px rgba(167,40,56,.2);
 transition:transform .24s,box-shadow .24s;
}
body.lafer-enterprise #main .portfolio-claims-cta:hover{
 transform:translateY(-3px);box-shadow:0 20px 50px rgba(177,41,58,.3);
}
body.lafer-enterprise #main .portfolio-claims-icon{
 flex:0 0 57px;width:57px;height:57px;display:grid;place-items:center;
 background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.21);border-radius:18px;
}
body.lafer-enterprise #main .portfolio-claims-icon svg{width:29px;height:29px}
body.lafer-enterprise #main .portfolio-claims-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
body.lafer-enterprise #main .portfolio-claims-copy strong{
 font:850 clamp(20px,2vw,28px)/1.16 Montserrat,sans-serif;letter-spacing:-.045em;color:#fff;
}
body.lafer-enterprise #main .portfolio-claims-copy small{
 color:#d3e7ff;font-size:13px;line-height:1.45;
}
body.lafer-enterprise #main .portfolio-claims-arrow{margin-left:auto;color:#e9f3ff;font-size:24px}

/* Case-studies heading stays in two intentional lines */
body.lafer-enterprise #main .cases-v2 .case-story-title{
 max-width:980px!important;width:100%;margin:0 auto!important;
 font-size:clamp(32px,3.8vw,54px)!important;
 line-height:1.13!important;text-align:center!important;
 text-wrap:initial!important;
}
body.lafer-enterprise #main .cases-v2 .case-story-title em{display:inline-block;white-space:nowrap}

/* Readable and balanced three-story editorial mosaic */
body.lafer-enterprise #main .lfx-resources .resources-head,
body.lafer-enterprise #main .lfx-resources .resources-head .section-head{
 text-align:center;max-width:900px;margin-left:auto;margin-right:auto;
}
body.lafer-enterprise #main .lfx-resources .resources-head .section-lead{
 margin:17px auto 0!important;max-width:700px;
 font-size:clamp(16px,1.45vw,19px);line-height:1.6;
}
body.lafer-enterprise #main .lfx-resources .resources-grid-v2{
 display:grid!important;grid-template-columns:1.1fr 1fr;
 grid-template-rows:minmax(295px,auto) minmax(295px,auto)!important;
 gap:18px!important;align-items:stretch;
}
body.lafer-enterprise #main .lfx-resources .resource-card[hidden]{display:none!important}
body.lafer-enterprise #main .lfx-resources .resource-v2{
 display:flex!important;flex-direction:column;justify-content:space-between;
 min-height:295px!important;padding:29px 32px!important;
 border-radius:29px!important;overflow:hidden;min-width:0;max-width:100%;
}
body.lafer-enterprise #main .lfx-resources .resource-v2.resource-r1{
 grid-row:span 2;min-height:608px!important;
}
body.lafer-enterprise #main .lfx-resources .resource-v2 .res-top{
 display:flex;align-items:center;gap:20px;justify-content:space-between;
 position:relative;z-index:3;min-width:0;line-height:1.5!important;
 font-size:11px!important;letter-spacing:.055em!important;overflow-wrap:anywhere;
}
body.lafer-enterprise #main .lfx-resources .resource-v2 .res-body{
 position:relative;z-index:3;display:flex;flex-direction:column;align-items:flex-start;
 min-width:0;max-width:100%;margin-top:34px;
}
body.lafer-enterprise #main .lfx-resources .resource-v2 h3{
 margin:0 0 14px!important;font:850 clamp(22px,2.05vw,32px)/1.17 Montserrat,sans-serif!important;
 letter-spacing:-.047em!important;max-width:100%;overflow-wrap:break-word;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;
}
body.lafer-enterprise #main .lfx-resources .resource-v2.resource-r1 h3{
 font-size:clamp(30px,3vw,48px)!important;line-height:1.13!important;-webkit-line-clamp:4;line-clamp:4;
}
body.lafer-enterprise #main .lfx-resources .resource-v2 p{
 color:#e1ebfb!important;font-size:clamp(14px,1.2vw,16px)!important;
 line-height:1.62!important;margin:0 0 16px!important;max-width:97%;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;
}
body.lafer-enterprise #main .lfx-resources .resource-v2.resource-r1 p{
 font-size:16px!important;-webkit-line-clamp:4;line-clamp:4;
}
body.lafer-enterprise #main .lfx-resources .resource-v2 .res-read{
 display:inline-flex;gap:11px;align-items:center;min-height:32px;
 color:#fff!important;font-size:13px!important;font-weight:800!important;
 margin-top:3px!important;
}
body.lafer-enterprise #main .lfx-resources .resource-v2 .lfx-resource-credit{
 color:#243b61!important;font-size:10.5px!important;margin-top:8px!important;
 max-width:100%;overflow-wrap:break-word;
}

/* Blog index: a proper page with visible article cards below the floating menu */
html body.lafer-enterprise #main>.lfx-blog-shell,
html body.lafer-enterprise #main .lfx-blog-shell{
 box-sizing:border-box;width:100%;padding:clamp(188px,15vw,226px) 0 110px!important;
 min-height:80vh;background:linear-gradient(170deg,#ecf3fc,#f7faff);
}
html body.lafer-enterprise #main .lfx-blog-shell>.container{
 width:min(1460px,calc(100% - 70px));max-width:1460px;
 margin:0 auto;
}
html body.lafer-enterprise #main .lfx-blog-header{
 max-width:1100px;margin:0 auto 52px;text-align:center;
}
html body.lafer-enterprise #main .lfx-blog-header h1{
 font:900 clamp(38px,5vw,69px)/1.08 Montserrat,sans-serif!important;
 letter-spacing:-.06em;margin:0 0 19px;color:#071f55;
}
html body.lafer-enterprise #main .lfx-blog-header p{
 max-width:760px;margin:0 auto;font-size:18px;line-height:1.7;color:#566b88;
}
html body.lafer-enterprise #main .lfx-blog-grid{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:21px;align-items:stretch;
}
html body.lafer-enterprise #main .lfx-blog-grid .resource-card{
 opacity:1!important;transform:none!important;display:flex!important;
 min-height:390px!important;grid-row:auto!important;grid-column:auto!important;
 padding:28px!important;border-radius:27px;overflow:hidden;min-width:0;
}
html body.lafer-enterprise #main .lfx-blog-grid .res-top{
 font-size:11px;letter-spacing:.05em;line-height:1.5;overflow-wrap:anywhere;
}
html body.lafer-enterprise #main .lfx-blog-grid .res-body{max-width:100%;min-width:0;display:flex;flex-direction:column;gap:9px}
html body.lafer-enterprise #main .lfx-blog-grid .res-body h3{
 font-size:clamp(23px,2.05vw,31px)!important;line-height:1.19!important;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;
 overflow-wrap:anywhere;margin:0!important;
}
html body.lafer-enterprise #main .lfx-blog-grid .res-body p{
 font-size:14.5px!important;line-height:1.6!important;max-width:100%;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;
 margin:0!important;
}
html body.lafer-enterprise #main .lfx-blog-grid .res-read{
 display:inline-flex;margin-top:7px;font-size:13px;color:#fff;font-weight:800;
}
html body.lafer-enterprise #main .lfx-blog-grid .res-image{
 background-image:none!important;inset:0!important;
}
html body.lafer-enterprise #main .lfx-blog-grid .res-image img{width:100%;height:100%;object-fit:cover}

/* Single articles: spacious horizontal editorial layout with a real outline */
html body.single-post.lafer-enterprise #main .lfx-blog-shell>.container{width:min(1430px,calc(100% - 70px));max-width:1430px}
html body.single-post.lafer-enterprise #main .lfx-article{max-width:1330px!important;margin:0 auto}
html body.single-post.lafer-enterprise #main .lfx-article-hero{padding:49px 55px 51px!important;border-radius:35px}
html body.single-post.lafer-enterprise #main .lfx-article-hero h1{max-width:1110px!important;font-size:clamp(42px,4.6vw,67px)}
html body.single-post.lafer-enterprise #main .lfx-article-featured{
 width:min(100%,1240px);margin:30px auto 0!important;border-radius:28px;
}
html body.single-post.lafer-enterprise #main .lfx-article-featured>img{max-height:590px!important;object-fit:cover!important}
html body.single-post.lafer-enterprise #main .lfx-article-layout{
 display:grid;grid-template-columns:235px minmax(0,1fr);gap:clamp(32px,4vw,67px);
 max-width:1250px;margin:36px auto 0;align-items:start;
}
html body.single-post.lafer-enterprise #main .lfx-article-sidebar{
 position:sticky;top:132px;align-self:start;
 padding:29px 22px 27px;border-radius:23px;
 background:linear-gradient(160deg,#e7f0ff,#f6f9ff);
 border:1px solid #d4e2f8;
}
html body.single-post.lafer-enterprise #main .lfx-article-sidebar-title{
 display:block;font:850 20px/1.2 Montserrat,sans-serif;color:#102d64;margin-bottom:19px;
}
html body.single-post.lafer-enterprise #main .lfx-article-outline{display:flex;flex-direction:column;gap:12px}
html body.single-post.lafer-enterprise #main .lfx-article-outline a{
 display:block;padding:3px 0 3px 12px;border-left:2px solid #b8cdeb;
 color:#456186;font-size:13px;line-height:1.5;text-decoration:none;
 transition:border-color .2s,color .2s;
}
html body.single-post.lafer-enterprise #main .lfx-article-outline a:hover,
html body.single-post.lafer-enterprise #main .lfx-article-outline a:focus-visible{border-color:#053DBD;color:#053DBD}
html body.single-post.lafer-enterprise #main .lfx-article-sidebar-foot{
 display:block;margin-top:26px;padding-top:19px;border-top:1px solid #cddcf1;
 color:#053DBD;font-size:13px;line-height:1.5;font-weight:850;text-decoration:none;
}
html body.single-post.lafer-enterprise #main .lfx-article-layout .lfx-article-content{
 max-width:none!important;width:100%;margin:0!important;padding:48px clamp(32px,4vw,62px) 56px!important;
 border-radius:28px;color:#263851;font-size:18px;line-height:1.85;
}
html body.single-post.lafer-enterprise #main .lfx-article-content h2{scroll-margin-top:136px}
html body.single-post.lafer-enterprise #main .lfx-article-content p{max-width:92ch}

@media(max-width:1120px){
 body.lafer-enterprise #main .solve-wide-actions{gap:12px}
 body.lafer-enterprise #main .solve-wide-actions .other-help{padding:22px;min-height:128px;gap:6px 13px}
 body.lafer-enterprise #main .solve-wide-actions .other-help strong{font-size:19px}
 body.lafer-enterprise #main .solve-wide-actions .other-help small{font-size:12.5px}
 html body.lafer-enterprise #main .lfx-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.single-post.lafer-enterprise #main .lfx-article-layout{grid-template-columns:195px minmax(0,1fr);gap:22px}
}
@media(max-width:850px){
 body.lafer-enterprise #main .solve-wide-actions{grid-template-columns:1fr;gap:12px}
 body.lafer-enterprise #main .solve-wide-actions .other-help{min-height:112px}
 body.lafer-enterprise #main .portfolio-all-wrap{grid-template-columns:1fr;max-width:610px}
 body.lafer-enterprise #main .lfx-resources .resources-grid-v2{
   grid-template-columns:1fr!important;grid-template-rows:none!important;gap:14px!important;
 }
 body.lafer-enterprise #main .lfx-resources .resource-v2,
 body.lafer-enterprise #main .lfx-resources .resource-v2.resource-r1{
   grid-row:auto!important;min-height:335px!important;padding:27px!important;
 }
 body.lafer-enterprise #main .lfx-resources .resource-v2 h3,
 body.lafer-enterprise #main .lfx-resources .resource-v2.resource-r1 h3{
   font-size:clamp(26px,4vw,35px)!important;-webkit-line-clamp:3;line-clamp:3;
 }
 body.lafer-enterprise #main .lfx-resources .resource-v2 p,
 body.lafer-enterprise #main .lfx-resources .resource-v2.resource-r1 p{font-size:14.5px!important;-webkit-line-clamp:3;line-clamp:3}
 html body.single-post.lafer-enterprise #main .lfx-article-layout{display:block;margin-top:24px}
 html body.single-post.lafer-enterprise #main .lfx-article-sidebar{display:none}
 html body.single-post.lafer-enterprise #main .lfx-article-layout .lfx-article-content{margin:0 auto!important}
}
@media(max-width:740px){
 body.lafer-enterprise #main .solve-wide-actions .other-help{gap:4px 12px;padding:20px 19px;grid-template-columns:48px minmax(0,1fr)}
 body.lafer-enterprise #main .solve-wide-actions .other-help-icon{width:48px;height:48px}
 body.lafer-enterprise #main .solve-wide-actions .other-help strong{font-size:18.5px}
 body.lafer-enterprise #main .solve-wide-actions .other-help small{font-size:12px}
 body.lafer-enterprise #main .solve-wide-actions .other-help-go{font-size:12px}
 body.lafer-enterprise #main .portfolio-claims-cta{padding:18px;min-height:96px}
 body.lafer-enterprise #main .portfolio-claims-icon{width:49px;height:49px;flex-basis:49px}
 body.lafer-enterprise #main .portfolio-claims-copy strong{font-size:19px}
 body.lafer-enterprise #main .portfolio-claims-copy small{font-size:12px}
 body.lafer-enterprise #main .cases-v2 .case-story-title{font-size:clamp(23px,5.7vw,40px)!important}
 html body.lafer-enterprise #main .lfx-blog-shell{padding:127px 0 75px!important}
 html body.lafer-enterprise #main .lfx-blog-shell>.container{width:calc(100% - 32px)}
 html body.lafer-enterprise #main .lfx-blog-header h1{font-size:clamp(34px,8.5vw,47px)!important}
 html body.lafer-enterprise #main .lfx-blog-header p{font-size:16px}
 html body.lafer-enterprise #main .lfx-blog-grid{grid-template-columns:1fr;gap:15px}
 html body.lafer-enterprise #main .lfx-blog-grid .resource-card{min-height:345px!important;padding:25px!important}
 html body.lafer-enterprise #main .lfx-blog-grid .res-body h3{font-size:25px!important}
 html body.single-post.lafer-enterprise #main .lfx-blog-shell>.container{width:calc(100% - 25px)}
 html body.single-post.lafer-enterprise #main .lfx-article-hero{padding:24px 21px 27px!important;border-radius:22px}
 html body.single-post.lafer-enterprise #main .lfx-article-hero h1{font-size:clamp(30px,7vw,42px)!important}
 html body.single-post.lafer-enterprise #main .lfx-article-layout .lfx-article-content{padding:27px 23px 33px!important;font-size:16.5px}
 html body.single-post.lafer-enterprise #main .lfx-article-featured{margin-top:19px!important}
 html body.single-post.lafer-enterprise #main .lfx-article-featured>img{max-height:60vh!important;object-fit:contain!important}
}
@media(max-width:390px){
 body.lafer-enterprise #main .cases-v2 .case-story-title{font-size:clamp(22px,6.3vw,28px)!important}
}
/* Psicosocial now reads as its own sixth solution instead of a repeated green card. */
body.lafer-enterprise #main .service-grid-v2 .service-psico{
 background:radial-gradient(circle at 100% 0%,rgba(157,192,255,.25),transparent 46%),linear-gradient(138deg,#f0f5ff,#dbe9ff)!important;
 border-color:rgba(121,166,234,.35)!important;color:#082f7a!important;
}
body.lafer-enterprise #main .service-grid-v2 .service-psico .svc-orb{
 background:linear-gradient(145deg,#fff,#d1e1ff)!important;
}
body.lafer-enterprise #main .service-grid-v2 .service-psico .svc-name{color:#082f7a!important}

