@layer audit-accessibility {
 @media(max-width:760px) {
  /* Match the compact Home calls to action without shrinking answer cards. */
  html body main#main :is(a.button,button.button):not([data-resource-filter]) {
   width:max-content!important;max-width:100%!important;min-width:0!important;min-height:46px!important;
   flex:0 1 auto!important;padding:12px 17px!important;font-size:14px!important;line-height:1.2!important;
  }
  html body.about-page main#main :is(.about-home-hero__actions,.about-service-actions,.about-why__actions,.about-collab__actions) {
   display:flex!important;flex-wrap:wrap!important;gap:10px!important;justify-content:center!important;align-items:center!important;
  }
  html body.about-page main#main #home.about-home-hero {min-height:0!important;height:auto!important;padding:0!important}
  html body.about-page main#main #home .about-home-hero-background {height:clamp(128px,24svh,200px)!important;min-height:0!important}
  html body.about-page main#main #home>.about-home-hero__inner {padding-block:18px!important;min-height:0!important}
  html body.about-page main#main #home .about-home-hero__copy {display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important;padding:0!important}
  html body.about-page main#main #home .about-home-hero__copy>* {margin:0!important}
  html body.about-page main#main #home .about-home-hero__eyebrow {position:static!important;inset:auto!important;transform:none!important;align-self:flex-start!important;width:max-content!important}
  html body.about-page main#main #home h1 {font-size:clamp(28px,7.6vw,34px)!important;line-height:1.06!important;letter-spacing:-.02em!important}
  html body.about-page main#main #home .about-home-hero__lead {font-size:14px!important;line-height:1.4!important}
  html body.about-page main#main #home .hero-review-proofs {gap:8px!important;min-height:0!important}
  html body.about-page main#main #home .hero-review-proofs a {min-height:20px!important;font-size:11px!important;line-height:1.2!important}
  html body.about-page main#main #home .about-home-hero__actions {margin:0!important;gap:8px!important}
  html body.about-page main#main #home .about-home-hero__actions .button {font-size:13px!important;padding:10px 12px!important;gap:6px!important}
  html body.about-page main#main .about-team-home__grid {
   display:grid!important;grid-auto-flow:column!important;grid-template-columns:none!important;grid-auto-columns:206px!important;
   gap:12px!important;justify-content:start!important;overflow-x:auto!important;overflow-y:hidden!important;
   margin-inline:0!important;padding:0 0 10px!important;width:100%!important;max-width:100%!important;transform:none!important;
  }
  html body.about-page main#main .about-person-card {
   box-sizing:border-box!important;width:206px!important;min-width:0!important;max-width:206px!important;
   padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  }
  html body.about-page main#main .about-person-card__portrait {width:196px!important;max-width:100%!important;height:244px!important;margin-inline:auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  html body.about-page main#main .about-person-card>div:last-child {padding:10px 0 0!important}
  html body.about-page main#main #storia :is(.history-trial-controls,.history-trial-count,.history-explorer__count) {display:none!important}
  html body.about-page main#main #perche-sceglierci .about-why__grid {
   display:grid!important;grid-auto-flow:column!important;grid-template-columns:none!important;grid-auto-columns:min(280px,calc(100vw - 72px))!important;
   gap:16px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;padding-bottom:10px!important;align-items:stretch!important;
  }
  html body.about-page main#main #perche-sceglierci .about-why__grid>article {width:auto!important;max-width:none!important;min-width:0!important;min-height:280px!important;scroll-snap-align:start!important}
  html body.about-page main#main #collabora-con-noi .about-why__tags {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:none!important;margin-inline:0!important}
  html body.about-page main#main #collabora-con-noi .about-why__tags>li {width:100%!important;min-width:0!important;max-width:none!important;min-height:40px!important;padding:8px!important;font-size:12px!important;line-height:1.25!important;white-space:normal!important;gap:6px!important;box-sizing:border-box!important}
  html body.about-page main#main #collabora-con-noi .about-why__tags svg {width:15px!important;height:15px!important;flex:0 0 15px!important}
  html body main#main :is(.resource-filter--segments,.guide-index-filter)>button {display:flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;text-align:center!important;transform:none!important;gap:5px!important}
  html body main#main .guide-index-filter {width:calc(100% - 40px)!important;max-width:390px!important;margin-inline:auto!important;justify-content:center!important}
  html body.preventivo-page main#main .mobile-mim-option {position:relative!important;display:block!important;padding:12px!important}
  html body.preventivo-page main#main .mobile-mim-option>span {display:block!important;width:100%!important;min-width:0!important}
  html body.preventivo-page main#main .mobile-mim-option::after {position:absolute!important;right:10px!important;top:10px!important;width:18px!important;height:18px!important}
  html body.preventivo-page main#main .mobile-mim-option .mobile-mim-copy {font-size:clamp(11.5px,3.3vw,13px)!important;line-height:1.4!important;letter-spacing:0!important;display:block!important}
  html body.preventivo-page main#main .mobile-mim-copy>span {display:block!important;white-space:nowrap!important}
  html body.preventivo-page main#main .mobile-mim-copy>span:first-child {padding-right:22px!important}
  html body.contact-page main#main .about-contact-list {display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  html body.contact-page main#main .about-contact-list>a {
   display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:10px!important;row-gap:3px!important;
   min-height:68px!important;height:auto!important;padding:12px!important;text-align:left!important;align-content:center!important;
  }
  html body.contact-page main#main .about-contact-list>a>span {grid-column:1!important;grid-row:1 / span 2!important;width:34px!important;height:34px!important;margin:0!important;align-self:center!important}
  html body.contact-page main#main .about-contact-list small {grid-column:2!important;grid-row:1!important;font-size:11px!important;line-height:1.25!important}
  html body.contact-page main#main .about-contact-list strong {grid-column:2!important;grid-row:2!important;font-size:14px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
  html body.contact-page main#main .about-contact-map-layout {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  html body.contact-page main#main :is(.about-contact-map-shell,.about-contact-map) {height:280px!important;min-height:280px!important}
  html body.contact-page main#main .about-map-places {display:none!important}
  html body.contact-page main#main .mobile-office-details {padding:16px!important;border:1px solid #d5deec;border-radius:12px;background:#fff;color:#293659}
  html body.contact-page main#main .mobile-office-details>strong {display:block;font-size:16px}
  html body.contact-page main#main .mobile-office-details>p {font-size:14px;line-height:1.5;margin:6px 0 12px}
 }
 @media(max-width:760px) and (max-height:700px) {
  html body.about-page main#main #home .about-home-hero-background {height:clamp(88px,18svh,126px)!important}
  html body.about-page main#main #home>.about-home-hero__inner {padding-block:12px!important}
  html body.about-page main#main #home .about-home-hero__copy {gap:8px!important}
  html body.about-page main#main #home h1 {font-size:28px!important}
  html body.about-page main#main #home .about-home-hero__lead {font-size:13.5px!important;line-height:1.35!important}
 }
 @media(max-width:340px) {
  html body.preventivo-page main#main .mobile-mim-option .mobile-mim-copy {letter-spacing:-.2px!important}
 }
}
