/* Pagine servizio: modello editoriale responsive */
.editorial-hero{min-height:clamp(500px,70vh,760px);background-image:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.90) 29%,rgba(255,255,255,.15) 64%,rgba(255,255,255,0) 100%),var(--hero-image);background-size:cover;background-position:center;display:flex;align-items:center}
.editorial-hero-content{width:min(1200px,94%);margin:auto;padding:45px 0;color:#073d31}.editorial-hero-content>*{max-width:550px}
.editorial-hero .eyebrow{font-size:15px;letter-spacing:.1em;font-weight:800;color:#087a52}
.editorial-hero h1{font-size:clamp(42px,5vw,78px);line-height:1.02;letter-spacing:-.04em;margin:15px 0}
.editorial-hero h2{font-size:clamp(23px,2.2vw,32px);margin:0 0 16px}
.editorial-hero p{font-size:clamp(18px,1.45vw,23px);line-height:1.5}
.editorial-actions,.request-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.editorial-btn,.editorial-request button,.editorial-bottom a{display:inline-block;background:#00865a;color:white!important;padding:16px 22px;border-radius:12px;font-size:18px;font-weight:800;text-decoration:none;border:2px solid #00865a;cursor:pointer}
.editorial-btn.outline{background:white;color:#007a52!important}
.editorial-container{max-width:1260px;margin:auto;padding:0 22px 95px;color:#093f34}
.feature-row{display:grid;grid-template-columns:repeat(5,1fr);background:#f0f9f4;border-radius:20px;margin:24px 0 36px;padding:22px 12px;gap:8px}
.feature-row article{text-align:center;padding:8px 12px;border-right:1px solid #d8e8df}.feature-row article:last-child{border:0}
.feature-dot{display:flex;width:88px;height:88px;background:#d2f3df;border-radius:50%;align-items:center;justify-content:center;margin:auto auto 12px}
.feature-dot img{width:57px;height:57px;object-fit:contain}
.editorial-container h2{font-size:clamp(27px,3vw,39px);margin:0 0 16px}.editorial-container h3{font-size:19px;margin:9px 0 4px}.editorial-container p{font-size:17px;line-height:1.5;margin:4px 0}
.editorial-section{margin:36px 0}.editorial-grid{display:grid;gap:17px}.editorial-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.editorial-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.editorial-card{min-width:0}.mini-visual{height:145px;border-radius:12px;overflow:hidden}.mini-visual img{width:100%;height:100%;object-fit:cover}.editorial-card:nth-child(even) img{object-position:right}
.editorial-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;text-align:center}.editorial-steps article{background:#f2faf5;border-radius:16px;padding:20px 12px}.editorial-steps b{display:grid;place-items:center;background:#078a5c;color:white;border-radius:50%;width:44px;height:44px;font-size:22px;margin:auto}
.editorial-two{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:40px 0}.editorial-panel{background:#f1f9f5;border-radius:18px;padding:25px}.editorial-panel .editorial-btn{margin-top:16px}.editorial-panel details{background:white;border-radius:10px;margin:8px 0;padding:13px 16px}.editorial-panel summary{cursor:pointer;font-weight:700;font-size:17px}
.editorial-request{background:#eff8f3;border-radius:22px;padding:clamp(22px,4vw,48px);scroll-margin-top:110px}.editorial-request form{margin-top:20px;display:grid;gap:15px}.editorial-request label{display:grid;gap:8px;font-size:19px;font-weight:700}.editorial-request input,.editorial-request textarea{width:100%;box-sizing:border-box;border:2px solid #a2c5b2;border-radius:10px;background:white;padding:16px;font:inherit;font-size:19px}.editorial-request button{font:inherit;font-size:19px;font-weight:800}.editorial-request .form-note{font-size:15px}
.editorial-bottom{background:#00543e;color:white;border-radius:18px;padding:28px;margin:28px 0 0}.editorial-bottom h2,.editorial-bottom p{color:white}.editorial-bottom a{background:white;color:#00543e!important;border-color:white;margin:15px 12px 0 0}
@media(max-width:900px){.feature-row{grid-template-columns:repeat(3,1fr)}.editorial-grid.four,.editorial-grid.five{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-two{grid-template-columns:1fr}.editorial-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.editorial-hero{min-height:670px;align-items:flex-end;background-image:linear-gradient(0deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 43%,rgba(255,255,255,0) 80%),var(--hero-image);background-position:60% center}.editorial-hero-content{padding:24px 0}.feature-row{grid-template-columns:repeat(2,1fr)}.feature-row article{border:0}.feature-dot{width:65px;height:65px}.feature-dot img{width:42px;height:42px}.editorial-grid.four,.editorial-grid.five{gap:12px}.mini-visual{height:115px}.editorial-steps{grid-template-columns:1fr 1fr}.editorial-container{padding:0 15px 110px}.editorial-request button{width:100%}}

/* Fotografie solo dove realmente pertinenti; pittogrammi distinti per le altre attività. */
.mini-icon-visual{display:flex;align-items:center;justify-content:center;background:#e7f6ed}.mini-icon-visual img{width:76px!important;height:76px!important;object-fit:contain!important}.feature-dot img{width:57px;height:57px;object-fit:contain}

/* Margini laterali coerenti su desktop, tablet e telefono */
body main .editorial-container{width:calc(100% - 96px)!important;max-width:1240px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}
body main .editorial-container .editorial-section,body main .editorial-container .editorial-two,body main .editorial-container .editorial-request,body main .editorial-container .editorial-bottom{width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important}
body main .editorial-container .editorial-grid{width:100%!important;max-width:100%!important;gap:20px!important;box-sizing:border-box!important}
body main .editorial-container .editorial-card{min-width:0!important;overflow:hidden}
body main .editorial-container .editorial-card .mini-visual{height:175px}
body main .editorial-container .editorial-card h3{line-height:1.25}
body main .editorial-container .editorial-card p{margin-top:10px}
body main .editorial-container .editorial-section h2{margin-bottom:24px}
@media(max-width:900px){body main .editorial-container{width:calc(100% - 48px)!important}body main .editorial-container .editorial-grid{gap:16px!important}}
@media(max-width:600px){body main .editorial-container{width:calc(100% - 32px)!important}body main .editorial-container .editorial-grid{gap:14px!important}body main .editorial-container .editorial-card .mini-visual{height:125px}}

/* Visuali pertinenti: foto per attività documentate, pittogrammi quando non c'è una foto specifica. */
.detail-main .editorial-icon-visual{display:flex!important;align-items:center!important;justify-content:center!important;background:#e7f6ee!important}
.detail-main .editorial-icon-visual img{width:72px!important;height:72px!important;max-width:40%!important;max-height:60%!important;object-fit:contain!important;position:static!important;transform:none!important}

/* Correzione definitiva: tutte le sezioni rispettano gli stessi margini */
.detail-main > .editorial-content-wrap { width:calc(100% - 96px)!important; max-width:1240px!important; margin:0 auto!important; padding:0!important; box-sizing:border-box!important; }
.detail-main > .editorial-content-wrap > .editorial-section { margin:36px 0!important; }
.detail-main > .editorial-content-wrap .editorial-grid { width:100%!important; max-width:100%!important; gap:20px!important; }
.detail-main > .editorial-content-wrap .editorial-card { min-width:0!important; }
.detail-main > .editorial-content-wrap .mini-visual { height:175px; }
@media(max-width:900px){.detail-main > .editorial-content-wrap {width:calc(100% - 48px)!important;}}
@media(max-width:600px){.detail-main > .editorial-content-wrap {width:calc(100% - 32px)!important;}.detail-main > .editorial-content-wrap .mini-visual{height:125px;}}
.portinaio-fixed-dock a {
  transition: filter 0.2s ease, transform 0.2s ease !important;
}

.portinaio-fixed-dock a:hover {
  filter: brightness(1.18) !important;
  transform: translateY(-3px) !important;
}