/* Auto-generated by scripts/css_mechanical_split.py
   Source: portal-home.css
   Part 2/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

  @media (max-width:760px){
    .home-shell{
      margin-top:8px;
    }

    .home-topbar{
      justify-content:center;
      gap:10px;
    }

    .home-btn{
      min-height:42px;
      padding:0 16px;
      font-size:14px;
    }

    .home-logo{
      margin-bottom:12px;
    }

    .home-logo img{
      width:min(420px, 88vw);
    }

    .home-hero-copy{
      margin-bottom:18px;
    }

    .home-hero-copy h1{
      font-size:clamp(32px, 9vw, 44px);
      line-height:1.05;
      letter-spacing:-.035em;
    }

    .home-title-break{
      display:none;
    }

    .home-hero-kicker{
      margin-top:14px;
      font-size:11px;
      line-height:1.75;
      letter-spacing:.14em;
    }

    .home-panel-links{
      justify-content:flex-start;
      overflow-x:auto;
      flex-wrap:nowrap;
      padding:2px 2px 12px;
      -webkit-overflow-scrolling:touch;
    }

    .home-panel-links a{
      flex:0 0 auto;
      white-space:nowrap;
    }

    .home-search-form{
      gap:10px;
    }

    .home-field input,
    .home-field select,
    .home-submit{
      min-height:52px;
      border-radius:17px;
    }

    .home-services{
      grid-template-columns:repeat(2, minmax(0, 1fr));
      gap:12px;
      margin-top:14px;
      margin-bottom:22px;
    }

    .home-service{
      min-height:128px;
      border-radius:22px;
    }

    .home-service-icon{
      width:50px;
      height:50px;
      border-radius:16px;
      font-size:22px;
    }

    .home-story-stack{
      gap:16px;
      margin-top:28px;
    }

    .home-story-card,
    .home-story-card.is-reverse{
      border-radius:24px;
    }

    .home-story-media{
      min-height:185px;
    }

    .home-story-actions{
      flex-direction:column;
    }

    .home-story-actions .home-btn{
      width:100%;
    }
  }

  @media (max-width:420px){
    .home-services{
      grid-template-columns:1fr;
    }
  }



/* DEMO FIX — compattezza primo viewport home */
@media (min-width: 900px){
  .public-topbar,
  .portal-topbar,
  .site-topbar,
  .home-topbar{
    margin-top: 14px !important;
  }

  .home-hero,
  .portal-home-hero,
  .hero-home,
  .hero{
    margin-top: 10px !important;
  }

  .home-hero-card,
  .portal-hero-card,
  .hero-card{
    min-height: calc(100vh - 150px) !important;
  }
}

@media (max-width: 899px){
  .public-topbar,
  .portal-topbar,
  .site-topbar,
  .home-topbar{
    margin-top: 8px !important;
  }

  .home-hero,
  .portal-home-hero,
  .hero-home,
  .hero{
    margin-top: 8px !important;
  }
}
