/* DepuraHub Atlante 1.7.0: correzione mappa Leaflet e responsività */

/* Fallback essenziale se il CSS remoto di Leaflet viene bloccato dal browser o dal CDN. */
.leaflet-container{overflow:hidden;position:relative;outline-offset:1px;background:#d9eef5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;touch-action:pan-x pan-y;isolation:isolate}
.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}
.leaflet-container img.leaflet-tile,.leaflet-container .leaflet-marker-icon,.leaflet-container .leaflet-marker-shadow{max-width:none!important;max-height:none!important;width:auto;height:auto;padding:0;border:0}
.leaflet-tile{width:256px;height:256px;user-select:none;visibility:inherit}
.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-animated{transform-origin:0 0}.leaflet-interactive{cursor:pointer}.leaflet-control{position:relative;z-index:800;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:10px}.leaflet-right{right:10px}.leaflet-bottom{bottom:10px}.leaflet-left{left:10px}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-control-zoom a{display:block;width:34px;height:34px;line-height:32px;text-align:center;background:#fff;border-bottom:1px solid #d8e5ec;color:#00345f;text-decoration:none;font-weight:800;box-shadow:0 8px 18px rgba(0,52,95,.14)}.leaflet-control-zoom a:first-child{border-radius:2px 2px 0 0}.leaflet-control-zoom a:last-child{border-bottom:0;border-radius:0 0 2px 2px}.leaflet-control-attribution{background:rgba(255,255,255,.88);padding:3px 7px;font-size:.68rem;color:#506174}.leaflet-control-attribution a{color:#00345f}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{background:#fff;border-radius:2px;box-shadow:0 18px 45px rgba(0,52,95,.20);text-align:left}.leaflet-popup-content{margin:14px;line-height:1.35}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;background:#fff;transform:rotate(45deg);box-shadow:0 10px 26px rgba(0,52,95,.18)}.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:8px 8px 0 0;border:0;text-align:center;width:28px;height:28px;font:18px/18px Arial,sans-serif;color:#66778b;text-decoration:none;background:transparent}.leaflet-popup-close-button:hover{color:#00345f}

/* Impaginazione Atlante. */
.atlante-hero{border-radius:0;min-width:0}.atlante-hero-copy,.atlante-hero-panel{min-width:0}.atlante-hero h1,.atlante-detail-hero h1{text-wrap:balance}.atlante-hero .lead{max-width:760px}.atlante-kpi-grid article,.atlante-card,.atlante-map-shell,.atlante-detail-hero,.atlante-detail-grid .content-panel{min-width:0}.atlante-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}.atlante-filter label{min-width:0}.atlante-filter input,.atlante-filter select{width:100%;min-width:0}.atlante-map-section{position:relative;clear:both}.atlante-map-shell{width:100%;max-width:100%;overflow:hidden;border-radius:0}.atlante-map-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);min-height:0}.atlante-map,.atlas-map{position:relative;width:100%;height:clamp(430px,62vh,680px);min-height:430px;max-height:680px;overflow:hidden;background:#eaf5f9;z-index:1}.atlante-map-shell.single .atlante-map,.atlas-map.single{height:clamp(360px,50vh,500px);min-height:360px;max-height:500px}.atlante-map-card{max-height:680px;overflow:auto}.atlante-map-toolbar{position:relative;z-index:2}.atlante-card h3,.atlante-popup strong,.atlante-detail-mini dd{overflow-wrap:anywhere}.atlante-popup{min-width:min(250px,78vw);max-width:78vw}.atlante-popup dl{margin:8px 0}.atlante-detail-mini{margin-bottom:18px}.atlante-mini-data{min-width:0}.atlante-mini-data div{min-width:0}.atlante-card-grid{align-items:stretch}.atlante-card{height:100%}

/* Compatibilità con la vecchia classe atlas-* usata dalla prima patch Atlante. */
.atlas-map{border:1px solid var(--dh-line);box-shadow:var(--dh-shadow-soft)}.atlas-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}.atlas-filter label{min-width:0}.atlas-filter input,.atlas-filter select{width:100%;min-width:0}.atlas-table-wrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.atlas-table{min-width:900px}

@media (max-width:1100px){.atlante-filter,.atlas-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.atlante-map-layout{grid-template-columns:1fr}.atlante-map-card{max-height:none;border-left:0;border-top:1px solid var(--dh-line)}.atlante-map,.atlas-map{height:560px;max-height:640px}.atlante-hero{grid-template-columns:1fr;padding:34px;background:linear-gradient(135deg,#001f3d,#00345f)}.atlante-hero-panel{min-height:auto}.atlante-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media (max-width:760px){html,body{max-width:100%;overflow-x:hidden}.container{width:min(100% - 24px,1180px)}.site-main{overflow:hidden}.atlante-hero,.atlante-detail-hero{padding:22px 18px;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-left:0;border-right:0}.atlante-hero h1,.atlante-detail-hero h1{font-size:clamp(2rem,11vw,3.25rem);letter-spacing:-.055em}.atlante-hero .lead{font-size:1.02rem;line-height:1.45}.atlante-hero-panel{padding:20px}.atlante-hero-panel strong{font-size:clamp(2.4rem,18vw,4rem)}.hero-actions{display:grid;grid-template-columns:1fr;gap:8px}.hero-actions .button{width:100%}.atlante-kpi-grid{grid-template-columns:1fr 1fr;gap:8px}.atlante-kpi-grid article{padding:16px;min-height:auto}.atlante-kpi-grid strong{font-size:clamp(1.8rem,10vw,2.8rem)}.atlante-filter,.atlas-filter{grid-template-columns:1fr;padding:14px;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-left:0;border-right:0}.atlante-filter .button,.atlante-filter a.button,.atlas-filter .button,.atlas-filter a.button{width:100%}.atlante-map-section{margin-top:28px}.atlante-map-shell{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);width:100vw;max-width:100vw;border-left:0;border-right:0;box-shadow:none}.atlante-map-toolbar{padding:12px 14px;gap:6px 10px}.atlante-map-toolbar strong{font-size:1.05rem}.atlante-map-toolbar span{font-size:.82rem;margin-right:6px}.atlante-map,.atlas-map{height:min(70svh,500px);min-height:380px;max-height:500px;border-left:0;border-right:0}.atlante-map-shell.single .atlante-map,.atlas-map.single{height:min(58svh,420px);min-height:340px;max-height:420px}.atlante-map-card{padding:18px;max-height:none}.atlante-map-card h3{font-size:1.35rem}.atlante-detail-mini div{padding-top:8px}.atlante-card-grid{grid-template-columns:1fr;gap:12px}.atlante-card{padding:18px}.atlante-card-head{display:grid;gap:6px}.atlante-mini-data{grid-template-columns:1fr}.atlante-detail-grid{grid-template-columns:1fr}.atlante-detail-table div{grid-template-columns:1fr;gap:3px}.leaflet-top{top:6px}.leaflet-left{left:6px}.leaflet-right{right:6px}.leaflet-bottom{bottom:6px}.leaflet-control-zoom a{width:38px;height:38px;line-height:36px}.leaflet-popup-content{margin:12px}.leaflet-popup{max-width:86vw}}

@media (max-width:420px){.atlante-kpi-grid{grid-template-columns:1fr}.atlante-map,.atlas-map{height:430px;min-height:360px;max-height:430px}.atlante-map-shell.single .atlante-map,.atlas-map.single{height:340px;min-height:320px}.atlante-map-toolbar{display:grid;grid-template-columns:auto 1fr;align-items:center}.atlante-popup{min-width:220px;max-width:82vw}.leaflet-control-attribution{max-width:70vw;white-space:normal;line-height:1.2}.atlante-detail-summary strong{font-size:1.6rem}}

/* DepuraHub Atlante 1.8.0: schede più leggibili, glossario e marker con logo */
.atlante-hero.enhanced,.atlante-detail-hero.enhanced{position:relative;overflow:hidden;background:linear-gradient(135deg,#001f3d 0%,#00345f 56%,#006f8f 100%);color:#fff;border:0;box-shadow:0 18px 46px rgba(0,52,95,.14)}
.atlante-hero.enhanced h1,.atlante-detail-hero.enhanced h1,.atlante-hero.enhanced .lead,.atlante-detail-hero.enhanced .lead{color:#fff}.atlante-hero.enhanced .eyebrow,.atlante-detail-hero.enhanced .eyebrow{color:#b9f1f5}.atlante-detail-hero.enhanced{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,340px);gap:22px;align-items:stretch;padding:38px}.atlante-detail-hero-copy{min-width:0}.atlante-detail-summary{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);padding:22px;display:grid;align-content:center;gap:8px}.atlante-detail-summary strong{color:#fff;font-size:clamp(1.8rem,4vw,3.4rem);line-height:1;overflow-wrap:anywhere}.atlante-detail-summary span,.atlante-detail-summary p{color:rgba(255,255,255,.78);margin:0}.atlante-detail-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.atlante-detail-badges .badge{background:#fff;color:#00345f;border-color:rgba(255,255,255,.5)}
.atlante-glossario-intro{margin:24px 0}.atlante-glossary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.atlante-glossary-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.atlante-glossary-grid article{background:#f8fbfc;border:1px solid var(--dh-line);padding:14px;min-width:0}.atlante-glossary-grid strong{display:block;color:var(--dh-navy);font-size:.95rem;margin-bottom:5px}.atlante-glossary-grid p{margin:0;color:var(--dh-muted);font-size:.9rem;line-height:1.42}.atlante-note-box{margin:24px 0}.atlante-filter-note{margin:14px 0 26px}
.atlante-filter.enhanced{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.atlante-filter-field{display:grid;gap:5px;min-width:0}.atlante-filter-field span{font-weight:850;color:var(--dh-ink)}.atlante-filter-field small{display:block;color:var(--dh-muted);font-size:.78rem;line-height:1.32;min-height:2em}.atlante-filter-field.is-disabled select{background:#edf3f6;color:#79899b;cursor:not-allowed}.atlante-filter.enhanced .button{align-self:end}.atlante-filter.enhanced a.button{align-self:end;text-align:center}
.atlante-detail-grid.enhanced{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:26px 0}.atlante-detail-grid.enhanced .content-panel{min-width:0;overflow:hidden}.atlante-detail-grid.enhanced .content-panel.wide{grid-column:1/-1}.atlante-detail-table.enhanced{max-width:100%;overflow:hidden}.atlante-detail-table.enhanced dl{margin:0;border-top:1px solid var(--dh-line)}.atlante-detail-table.enhanced .atlante-detail-row{display:grid;grid-template-columns:minmax(180px,.62fr) minmax(0,1fr);gap:18px;padding:14px 0;border-bottom:1px solid var(--dh-line)}.atlante-detail-table.enhanced dt,.atlante-detail-table.enhanced dd{margin:0;min-width:0}.atlante-detail-table.enhanced dt span{display:block;font-weight:900;color:var(--dh-ink);line-height:1.25}.atlante-detail-table.enhanced dt small{display:block;color:var(--dh-muted);font-size:.82rem;line-height:1.35;margin-top:5px;font-weight:500}.atlante-detail-table.enhanced dd{font-weight:750;color:var(--dh-text);overflow-wrap:anywhere;word-break:break-word;line-height:1.45}.atlante-detail-table.enhanced dd a{font-weight:850}.atlante-detail-table.enhanced .atlante-detail-row:has(dd:empty) dd::after{content:'Non dichiarato';color:var(--dh-muted);font-weight:600}.atlante-detail-grid h2,.atlante-glossario h2{margin-top:0}.atlante-map-section.compact-map .section-heading{margin-bottom:12px}.content-section{min-width:0;overflow-wrap:anywhere}
.dh-atlante-logo-marker{background:transparent!important;border:0!important;display:grid;place-items:center;filter:drop-shadow(0 9px 16px rgba(0,52,95,.28))}.dh-atlante-logo-marker-inner{display:block;width:100%;height:100%;border-radius:999px;background:#fff url('/depurahub/assets/img/loghi/depurahub-simbolo-vettoriale.svg') center/68% 68% no-repeat;border:3px solid #006fae;box-shadow:0 0 0 2px rgba(255,255,255,.96),0 0 0 7px rgba(0,111,174,.16)}.dh-atlante-logo-marker.is-critical .dh-atlante-logo-marker-inner{border-color:#c40018;box-shadow:0 0 0 2px rgba(255,255,255,.96),0 0 0 7px rgba(196,0,24,.16)}.dh-atlante-logo-marker.is-data .dh-atlante-logo-marker-inner{border-color:#006fae}.dh-atlante-logo-marker.is-neutral .dh-atlante-logo-marker-inner{border-color:#66778b;box-shadow:0 0 0 2px rgba(255,255,255,.96),0 0 0 7px rgba(102,119,139,.14)}.dh-atlante-logo-marker:hover .dh-atlante-logo-marker-inner{transform:scale(1.08)}
.atlante-popup dl{display:grid;gap:4px;margin:8px 0}.atlante-popup dl div{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px;border-top:1px solid #e2edf2;padding-top:5px}.atlante-popup dt{font-weight:850;color:#00345f}.atlante-popup dd{margin:0;overflow-wrap:anywhere}.atlante-map-card .atlante-detail-mini div{grid-template-columns:120px minmax(0,1fr)}.atlante-place{min-height:1.4em;color:var(--dh-muted)}
@media (max-width:1100px){.atlante-filter.enhanced{grid-template-columns:repeat(2,minmax(0,1fr))}.atlante-detail-hero.enhanced{grid-template-columns:1fr}.atlante-glossary-grid.compact,.atlante-glossary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.atlante-detail-grid.enhanced{grid-template-columns:1fr}.atlante-detail-grid.enhanced .content-panel.wide{grid-column:auto}}
@media (max-width:760px){.atlante-detail-hero.enhanced{padding:22px 18px;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-left:0;border-right:0}.atlante-detail-summary{padding:18px}.atlante-detail-badges .badge{width:100%;justify-content:flex-start}.atlante-filter.enhanced{grid-template-columns:1fr}.atlante-filter-field small{min-height:0}.atlante-glossary-grid.compact,.atlante-glossary-grid{grid-template-columns:1fr}.atlante-detail-table.enhanced .atlante-detail-row{grid-template-columns:1fr;gap:7px;padding:13px 0}.atlante-detail-table.enhanced dt small{font-size:.8rem}.atlante-detail-table.enhanced dd{font-size:.98rem;background:#f8fbfc;border:1px solid var(--dh-line);padding:10px}.atlante-map-card .atlante-detail-mini div{grid-template-columns:1fr}.dh-atlante-logo-marker-inner{border-width:2px}.atlante-popup dl div{grid-template-columns:1fr;gap:2px}.atlante-glossario-intro{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-left:0;border-right:0}.atlante-filter-note{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-left:0;border-right:0}}
@media (max-width:420px){.atlante-detail-table.enhanced dd{font-size:.94rem}.atlante-glossary-grid article{padding:12px}.atlante-filter-field span{font-size:.95rem}.dh-atlante-logo-marker-inner{background-size:70% 70%}.atlante-hero.enhanced h1,.atlante-detail-hero.enhanced h1{font-size:clamp(1.9rem,10vw,2.7rem)}}

/* DepuraHub Atlante 1.9.0: correzione scheda impianto, popup con logo e marker semplice */
.atlante-detail-hero.enhanced{grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:24px;align-items:stretch;max-width:100%;}
.atlante-detail-hero-copy,.atlante-detail-summary{min-width:0;max-width:100%;}
.atlante-detail-hero.enhanced h1{font-size:clamp(2.15rem,4.7vw,4rem)!important;line-height:1.03!important;letter-spacing:-.055em!important;max-width:100%;overflow-wrap:anywhere;word-break:break-word;hyphens:auto;margin-bottom:16px;}
.atlante-detail-hero.enhanced .lead{font-size:clamp(1rem,1.6vw,1.25rem);line-height:1.35;max-width:72ch;}
.atlante-detail-summary{padding:22px;overflow:hidden;}
.atlante-detail-summary strong{font-size:clamp(1.9rem,3.3vw,3rem)!important;line-height:1.02!important;letter-spacing:-.045em;white-space:normal;overflow-wrap:anywhere;word-break:break-word;}
.atlante-detail-summary p strong{font-size:clamp(1.75rem,3vw,2.75rem)!important;}
.atlante-detail-badges .badge{max-width:100%;overflow-wrap:anywhere;white-space:normal;line-height:1.25;}
.atlante-detail-grid.enhanced .content-panel{overflow:hidden;}
.atlante-detail-grid.enhanced .content-panel h2{font-size:clamp(1.75rem,3.2vw,2.8rem);line-height:1.08;letter-spacing:-.04em;margin-bottom:18px;overflow-wrap:anywhere;}
.atlante-detail-table.enhanced .atlante-detail-row{grid-template-columns:minmax(230px,.85fr) minmax(0,1.15fr);gap:22px;align-items:start;}
.atlante-detail-table.enhanced dt,.atlante-detail-table.enhanced dt span,.atlante-detail-table.enhanced dt small,.atlante-detail-table.enhanced dd{text-transform:none!important;letter-spacing:0!important;word-spacing:0!important;}
.atlante-detail-table.enhanced dt span{font-size:.92rem;line-height:1.25;}
.atlante-detail-table.enhanced dt small{font-size:.84rem;line-height:1.42;font-weight:500;max-width:40ch;}
.atlante-detail-table.enhanced dd{font-size:1rem;line-height:1.45;white-space:normal;overflow-wrap:anywhere;word-break:break-word;}
.atlante-map-card{overflow-y:auto;overflow-x:hidden;min-width:0;}
.atlante-map-card *{max-width:100%;}
.atlante-map-card h3{font-size:clamp(1.35rem,2.1vw,1.9rem);line-height:1.12;overflow-wrap:anywhere;}
.atlante-map-card .atlante-detail-mini{min-width:0;}
.atlante-map-card .atlante-detail-mini div{grid-template-columns:minmax(105px,125px) minmax(0,1fr);gap:12px;}
.atlante-map-card .atlante-detail-mini dt,.atlante-map-card .atlante-detail-mini dd{min-width:0;overflow-wrap:anywhere;word-break:break-word;}
.atlante-card h3{overflow-wrap:anywhere;word-break:break-word;line-height:1.16;}
.atlante-mini-data dd{overflow-wrap:anywhere;word-break:break-word;}

.dh-atlante-drop-marker{background:transparent!important;border:0!important;display:grid;place-items:center;filter:drop-shadow(0 9px 16px rgba(0,52,95,.25));}
.dh-atlante-drop-pin{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:999px;background:#fff;border:3px solid #006fae;box-shadow:0 0 0 2px rgba(255,255,255,.96),0 0 0 7px rgba(0,111,174,.15);}
.dh-atlante-drop-pin::after{content:"";position:absolute;left:50%;bottom:-8px;width:14px;height:14px;background:#fff;border-right:3px solid #006fae;border-bottom:3px solid #006fae;transform:translateX(-50%) rotate(45deg);border-bottom-right-radius:3px;}
.dh-atlante-drop-core{position:relative;z-index:1;width:46%;height:58%;display:block;}
.dh-atlante-drop-core::before{content:"";position:absolute;inset:0;background:#006fae;border-radius:50% 50% 55% 55%;transform:rotate(45deg);transform-origin:50% 62%;}
.dh-atlante-drop-marker.is-critical .dh-atlante-drop-pin{border-color:#c40018;box-shadow:0 0 0 2px rgba(255,255,255,.96),0 0 0 7px rgba(196,0,24,.16);}
.dh-atlante-drop-marker.is-critical .dh-atlante-drop-pin::after{border-color:#c40018;}
.dh-atlante-drop-marker.is-critical .dh-atlante-drop-core::before{background:#c40018;}
.dh-atlante-drop-marker.is-neutral .dh-atlante-drop-pin{border-color:#66778b;box-shadow:0 0 0 2px rgba(255,255,255,.96),0 0 0 7px rgba(102,119,139,.14);}
.dh-atlante-drop-marker.is-neutral .dh-atlante-drop-pin::after{border-color:#66778b;}
.dh-atlante-drop-marker.is-neutral .dh-atlante-drop-core::before{background:#66778b;}
.dh-atlante-drop-marker:hover .dh-atlante-drop-pin{transform:translateY(-2px) scale(1.04);}
.atlante-popup-brand{display:flex;align-items:center;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid #e2edf2;}
.atlante-popup-brand img{display:block;width:112px;height:auto;max-height:34px;object-fit:contain;}
.atlante-popup strong{display:block;font-size:1rem;line-height:1.2;overflow-wrap:anywhere;word-break:break-word;margin-bottom:4px;}
.atlante-popup span{display:block;color:#66778b;margin-bottom:8px;}
.atlante-popup p{margin:8px 0 10px;line-height:1.35;}

@media (max-width:1100px){
  .atlante-detail-hero.enhanced{grid-template-columns:1fr;padding:32px;}
  .atlante-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
  .atlante-detail-summary>strong,.atlante-detail-summary>span{grid-column:1;}
  .atlante-detail-summary>p{grid-column:2;grid-row:1 / span 2;}
}
@media (max-width:760px){
  .atlante-detail-hero.enhanced h1{font-size:clamp(1.85rem,9vw,2.9rem)!important;line-height:1.08!important;letter-spacing:-.04em!important;}
  .atlante-detail-summary{grid-template-columns:1fr;padding:18px;gap:6px;}
  .atlante-detail-summary>strong,.atlante-detail-summary>span,.atlante-detail-summary>p{grid-column:auto;grid-row:auto;}
  .atlante-detail-summary strong,.atlante-detail-summary p strong{font-size:clamp(1.6rem,9vw,2.25rem)!important;}
  .atlante-detail-grid.enhanced .content-panel h2{font-size:clamp(1.55rem,8vw,2.1rem);letter-spacing:-.03em;}
  .atlante-detail-table.enhanced .atlante-detail-row{grid-template-columns:1fr;gap:8px;}
  .atlante-detail-table.enhanced dt small{max-width:none;font-size:.82rem;}
  .atlante-detail-table.enhanced dd{font-size:.96rem;}
  .atlante-map-card .atlante-detail-mini div{grid-template-columns:1fr;gap:3px;}
}
@media (max-width:420px){
  .atlante-detail-hero.enhanced{padding:20px 16px;}
  .atlante-detail-hero.enhanced h1{font-size:clamp(1.72rem,10vw,2.35rem)!important;}
  .atlante-detail-badges .badge{font-size:.82rem;}
  .atlante-popup-brand img{width:98px;}
}

/* DepuraHub Atlante 1.9.2: lingua più chiara, breadcrumb responsive, scheda centrata e marker circolari leggeri */
.breadcrumb{margin:14px 0 18px;max-width:100%;overflow:hidden}
.breadcrumb ol{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:7px;max-width:100%;min-width:0;flex-wrap:wrap}
.breadcrumb li{display:flex;align-items:center;min-width:0;max-width:100%}
.breadcrumb li:not(:last-child)::after{content:"/";display:inline-block;margin-left:7px;color:#9aabb8;font-weight:700}
.breadcrumb a,.breadcrumb span{display:inline-flex;align-items:center;max-width:100%;min-width:0;border:1px solid var(--dh-line);background:#fff;color:var(--dh-muted);text-decoration:none;border-radius:999px;padding:6px 10px;font-size:.84rem;line-height:1.15;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.breadcrumb a:hover{background:var(--dh-ice);color:var(--dh-navy)}
.breadcrumb li:last-child{flex:1 1 180px;min-width:0}
.breadcrumb li:last-child span{color:var(--dh-navy);background:#f8fbfc;max-width:100%}
.atlante-detail-hero.enhanced{box-sizing:border-box;justify-items:center;align-items:center}
.atlante-detail-hero-copy{display:grid;align-content:center;min-width:0;max-width:100%}
.atlante-detail-summary{box-sizing:border-box;justify-items:start;text-align:left;align-self:stretch;width:100%}
.atlante-detail-badges{max-width:100%;align-items:stretch}.atlante-detail-badges .badge{min-width:0;text-align:left}
.atlante-detail-table.enhanced dd{min-width:0}.atlante-detail-table.enhanced dd:has(+ *){min-width:0}
.atlante-detail-table.enhanced dd,.atlante-detail-table.enhanced dt small{hyphens:auto}
.atlante-filter-field select option{font-weight:500}.atlante-glossary-grid article strong{line-height:1.25}.atlante-note-box p strong{color:var(--dh-navy)}
.leaflet-interactive{transition:stroke-width .12s ease,fill-opacity .12s ease}.leaflet-interactive:hover{stroke-width:3;fill-opacity:.82}
@media (max-width:1100px){.atlante-detail-summary{max-width:720px;justify-self:center}.atlante-detail-hero-copy{justify-items:start}.breadcrumb li:last-child{flex-basis:260px}}
@media (max-width:760px){
  .breadcrumb{margin:10px 0 14px;overflow:visible}
  .breadcrumb ol{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding-bottom:3px;scrollbar-width:none}
  .breadcrumb ol::-webkit-scrollbar{display:none}
  .breadcrumb li{flex:0 0 auto}.breadcrumb li:last-child{flex:0 1 auto;max-width:54vw}.breadcrumb a,.breadcrumb span{font-size:.78rem;padding:6px 9px}
  .atlante-detail-hero.enhanced{margin-left:0!important;margin-right:0!important;width:100%;padding:22px 16px!important;border-radius:0;gap:18px;text-align:center}
  .atlante-detail-hero-copy{justify-items:center;text-align:center;width:100%}
  .atlante-detail-hero.enhanced .lead{margin-left:auto;margin-right:auto;text-align:center}
  .atlante-detail-badges{width:100%;justify-content:center}.atlante-detail-badges .badge{width:auto;max-width:100%;justify-content:center;text-align:center}
  .atlante-detail-summary{width:min(100%,430px);margin:0 auto;justify-items:center;text-align:center;align-self:auto;border-radius:18px}
  .atlante-detail-summary>strong,.atlante-detail-summary>span,.atlante-detail-summary>p{text-align:center;justify-self:center}
  .atlante-detail-table.enhanced dd{padding:10px 12px}.atlante-detail-table.enhanced dt{text-align:left}.atlante-detail-table.enhanced dt small{text-align:left}
}
@media (max-width:420px){.breadcrumb li:last-child{max-width:48vw}.atlante-detail-hero.enhanced{padding:20px 14px!important}.atlante-detail-summary{border-radius:14px}.atlante-detail-badges .badge{font-size:.8rem}}

/* DepuraHub Atlante 1.9.4: filtri mancanti spiegati e non finti */
.atlante-filter-missing{border:1px dashed #bfd1dc;background:#f8fbfc;border-radius:16px;padding:13px 14px;align-self:stretch;min-height:100%;box-sizing:border-box}
.atlante-filter-missing span{display:block;font-weight:850;color:var(--dh-ink);margin-bottom:4px}
.atlante-filter-missing small{display:block;min-height:0!important;color:var(--dh-muted);font-size:.78rem;line-height:1.32;margin-bottom:8px}
.atlante-filter-missing p{margin:0;color:var(--dh-ink);font-size:.9rem;line-height:1.38}
.atlante-filter-note strong{color:var(--dh-navy)}
.atlante-enrichment-panel code{white-space:normal;overflow-wrap:anywhere}
@media (max-width:760px){.atlante-filter-missing{border-radius:0;border-left:0;border-right:0;margin-left:-14px;margin-right:-14px;padding:14px}.atlante-filter-missing p{font-size:.88rem}}
