/* Refinements shared by the captured application and the editorial pages. */
@media (min-width:768px){
  .egapro-nav>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);justify-content:stretch;column-gap:20px;width:100%}
  .egapro-nav>div>div:first-child{flex:none!important;justify-self:start}
  .egapro-nav>div>div:last-child{flex:none!important;justify-self:end}
  .egapro-nav-desktop{flex:none!important;justify-content:flex-start!important;gap:0!important;white-space:nowrap}
  .egapro-nav-desktop>div:nth-child(4){border-left:0;margin-left:32px;padding-left:32px}
  .egapro-nav-desktop>div:nth-child(4)::before{height:24px!important;background:#d2d5d8!important}
  .egapro-nav-desktop>div>a{padding-left:6px!important;padding-right:6px!important}
  .egapro-about-desktop .flex.items-center.gap-2.group.pt-2.text-gray-500{align-items:flex-start!important;gap:15px!important}
  .egapro-about-desktop .flex.items-center.gap-2.group.pt-2.text-gray-500>div:last-child{display:flex;flex:0 0 38px;align-items:flex-start;justify-content:center;margin-top:1px}
  .egapro-about-desktop .flex.items-center.gap-2.group.pt-2.text-gray-500>div:last-child svg{margin:0!important}
}
.egapro-partners-heading{width:min(1280px,calc(100% - 64px));margin:48px auto 20px;font-size:clamp(24px,2.4vw,34px);font-weight:600;letter-spacing:-.035em;color:#171a1d}
.egapro-partners-heading span{display:block;margin-bottom:7px;color:#7a828b;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.egapro-contact-form-wrap[hidden]{display:none!important}
.egapro-contact-form-wrap{display:none!important}
@media (max-width:767px){.egapro-partners-heading{width:calc(100% - 40px);margin-top:36px}}

/* Two illustrated team portraits receive a discreet editorial motion. */
body[data-egapro-route="/"] .egapro-home-content>.container{display:flex;flex-direction:column;gap:clamp(56px,7vw,96px);padding-block:clamp(56px,7vw,96px)}
body[data-egapro-route="/"] .egapro-home-content>.container>*{margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}
body[data-egapro-route="/"] .egapro-partners-heading{position:relative;z-index:11;text-align:center;margin:0 auto 32px;width:100%}
body[data-egapro-route="/"] .egapro-partners{padding-block:0!important}
.egapro-services-desktop img[src="/editorial/trasporto-cargo-cantiere.png"],.egapro-services-mobile img[src="/editorial/trasporto-cargo-cantiere.png"],.ed-service-image img[src="/editorial/trasporto-cargo-cantiere.png"],.ed-photo img[src="/editorial/trasporto-cargo-cantiere.png"]{object-position:center top!important;aspect-ratio:1080/650!important;height:auto!important;width:100%!important;object-fit:cover!important}
.egapro-team-caption small {
  display: block;
  margin-top: 3px;
  font-size: .72rem;
  line-height: 1.3;
  opacity: .78;
  overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: no-preference) {
  .egapro-team-portrait-animated {
    animation: egapro-team-portrait-drift 7s ease-in-out infinite alternate;
  }
}
@keyframes egapro-team-portrait-drift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1.2%, -0.8%, 0); }
}

/* Equal visible spacing on both sides of the brand separator. */
@media(min-width:1024px){
.egapro-nav-desktop{margin-left:0!important;justify-self:center}
.egapro-nav-desktop>div:nth-child(3)>a,.egapro-nav-desktop>div:nth-child(3)>a>span{padding-right:0!important}
.egapro-nav-desktop>div:nth-child(4){position:relative;margin-left:32px!important;padding-left:32px!important;border:0!important}
.egapro-nav-desktop>div:nth-child(4)>a,.egapro-nav-desktop>div:nth-child(4)>a>span{padding-left:0!important}
.egapro-nav-desktop>div:nth-child(4)::before{left:0!important;width:1px!important;height:24px!important}
}
.egapro-partners-heading{position:relative!important;z-index:20!important;width:100%!important;text-align:center!important;margin:0 0 36px!important;font-size:30px!important;line-height:1.2;opacity:1!important}
.egapro-partners{padding:0!important;overflow:visible!important}
.egapro-partners>div.absolute{top:72px!important;height:calc(100% - 72px)!important}
.egapro-home-content>.container{display:flex;flex-direction:column;gap:clamp(56px,6vw,88px)!important;padding-block:clamp(56px,6vw,88px)!important}
.egapro-home-content>.container>*{margin-block:0!important;padding-block:0!important}

/* Explicit logo slots prevent intrinsic image widths taking the whole mobile strip. */
.egapro-partners .rfm-marquee-container{gap:0!important;width:100%!important}
.egapro-partners .rfm-child>div{width:170px;height:56px!important;flex:none;margin:0 24px!important}
.egapro-partners .rfm-child img{width:100%!important;height:100%!important;max-width:100%;object-fit:contain}
@media(max-width:700px){.egapro-partners .rfm-child>div{width:108px;height:46px!important;margin:0 12px!important}.egapro-partners>div.absolute{width:16px!important}}
@media(hover:none) and (prefers-reduced-motion:no-preference){.egapro-partners .rfm-marquee-container:hover div,.egapro-partners .rfm-marquee-container:active div{animation-play-state:running}}
@media(prefers-reduced-motion:reduce){.egapro-partners .rfm-marquee-container{overflow-x:auto;touch-action:pan-x;mask-image:none}.egapro-partners>div.absolute{display:none}.egapro-partners .rfm-marquee{transform:none;animation:none!important}.egapro-partners .rfm-marquee+.rfm-marquee{display:none}}

/* Discreet, keyboard-accessible client entrance in the existing footer. */
.egapro-client-portal-link{display:inline-block;font-size:14px;line-height:1.6;color:#c5cbd2;text-decoration:underline;text-underline-offset:4px;padding:4px 8px}.egapro-client-portal-link:hover{color:#fff}.egapro-client-portal-link:focus-visible{outline:2px solid #fff;outline-offset:4px}
