/*! NEO hero · v1.1 · Sesy Core · the map first + the header that steps aside
 * The hero lives OUTSIDE the header box, full width (flex/grid parents included), map height from neo-hero.js (--neo-map-h). */
.nlm,#site-header{transition:transform .35s ease}
html.neo-compact .nlm-hb{display:none}
html.neo-hide .nlm,html.neo-hide #site-header{transform:translateY(-110%)}
html.nlx-lock .nlm{transform:none!important}

/* the shell: one full row whatever the parent layout is */
.neo-hero-shell{display:block;width:100%!important;max-width:none!important;flex:0 0 100%!important;grid-column:1/-1!important;margin:0!important;box-sizing:border-box}
.neo-hero-map{display:block;width:100%;max-width:none!important;margin:0!important;padding:10px 0 28px!important;background:var(--paper,#FBF7EF);box-sizing:border-box}
.neo-hero-map .wrap{max-width:none!important;padding-inline:max(12px,1.2vw)!important}

/* the map component: search + base map + layers on one line on wide screens, the map, the fly-through */
.neo-hero-map .atlas{display:grid;gap:10px;grid-template-columns:minmax(260px,1fr) auto}
.neo-hero-map .atlas>.atlas-bar{grid-column:1}
.neo-hero-map .atlas>.atlas-layers{grid-column:2;justify-content:flex-end;align-self:center}
.neo-hero-map .atlas>.atlas-map,.neo-hero-map .atlas>.atlas-tour,.neo-hero-map .atlas>:not(.atlas-bar):not(.atlas-layers){grid-column:1/-1}
.neo-hero-map .atlas-map{height:var(--neo-map-h,calc(100svh - 260px))!important;min-height:360px;border-radius:22px}

/* the title, buttons and credits of the atlas section follow the map */
.neo-hero-map .row-head{margin-top:22px}
.neo-hero-map .actions-row,.neo-hero-map .note{margin-top:12px}

@media (max-width:1100px){
  .neo-hero-map .atlas{grid-template-columns:1fr}
  .neo-hero-map .atlas>.atlas-bar,.neo-hero-map .atlas>.atlas-layers{grid-column:1;justify-content:flex-start}
}
@media (max-width:700px){
  .neo-hero-map{padding-top:6px!important}
  .neo-hero-map .atlas-bar{flex-wrap:nowrap!important;gap:6px}
  .neo-hero-map .atlas-find{flex:1 1 auto!important;min-width:0}
  .neo-hero-map .atlas-find input{height:42px!important;font-size:.95rem!important}
  .neo-hero-map .atlas-base{flex:none;flex-wrap:nowrap!important}
  .neo-hero-map .atlas-base button,.neo-hero-map .atlas-layers button{height:36px!important;padding:0 11px!important}
  .neo-hero-map .atlas-layers{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px}
  .neo-hero-map .atlas-layers::-webkit-scrollbar{display:none}
  .neo-hero-map .atlas-layers button{flex:none!important}
  .neo-hero-map .atlas-map{border-radius:16px}
}
@media (prefers-reduced-motion:reduce){.nlm,#site-header{transition:none}}
/* atlas page and NEO home: the map block sits right in the hero (no .wrap) */
.neo-hero-map>.atlas,.neo-hero-map>.n34>.atlas{margin-inline:max(12px,1.2vw)}
