/* The opening photo follows the road-page title; no competing top alignment. */
.cv-site .cv-road-opening .page-hero-image{align-self:end;margin-top:clamp(2rem,7vw,7rem)}
.cv-site .cv-road-subtitle{font-size:clamp(1.6rem,2.5vw,2.6rem);line-height:1.2;margin-top:1.5rem}
.cv-site .cv-material-facts>p:first-child{margin-bottom:.6rem}
.cv-site .cv-material-facts ul{margin-top:0}
@media(max-width:1000px){.cv-site .cv-road-opening .page-hero-image{margin-top:0}}

/* Align the portrait with the section edge, preserving its full framing. */
.cv-carpenteria .cv-bormio-hero{align-self:end}
.cv-carpenteria .cv-bormio-hero img{height:clamp(320px,28vw,400px);aspect-ratio:3/2;object-fit:cover;object-position:center 85%}
@media(max-width:1000px){.cv-carpenteria .cv-bormio-hero img{height:auto;max-height:400px}}
.cv-site .cv-home-carp img{object-position:center 78%}
@media(min-width:1001px){.cv-depurazione .water-hero-art{position:relative;top:32px}}

/* Basin, shelter and plant connections share one projection and a readable key. */
.cv-depurazione .wi-figure{margin:0;opacity:1;min-width:0}
.wi-drawing{overflow:visible}
.wi-drawing .wi-top{fill:var(--paper,#f0f0e8)}
.wi-drawing .wi-face{fill:var(--paper,#f0f0e8)}
.wi-drawing .wi-side{fill:var(--paper,#f0f0e8)}
.wi-drawing .wi-water{fill:currentColor;fill-opacity:.1;stroke-opacity:.35}
.wi-drawing :is(.wi-water-line,.wi-joint,.wi-roof-seam){stroke-width:.8;opacity:.5}
.wi-drawing :is(.wi-rim,.wi-column,.wi-beam){stroke-width:2.3}
.wi-drawing .wi-bracing{stroke-width:1;opacity:.55}
.wi-drawing .wi-ground{stroke-width:1;opacity:.17}
.wi-drawing .wi-reference{opacity:.13}
.wi-drawing .wi-reference *{fill:none}
.wi-drawing .wi-pipe{stroke-width:3;fill:none}
.wi-drawing .wi-connection .wi-pipe{stroke-dasharray:1}
.cv-depurazione .water-capabilities .water-graphic{max-width:360px;height:185px;opacity:.9}
.wc-drawing .wc-surface{fill:var(--paper,#f0f0e8)}
.wc-drawing .wc-side{fill:var(--paper,#f0f0e8)}
.wc-drawing .wc-water{fill:currentColor;fill-opacity:.09;stroke-opacity:.4}
.wc-drawing .wc-guide{stroke-dasharray:3 6;stroke-width:.9;opacity:.2}
.wc-drawing .wc-detail{stroke-width:.85;opacity:.55}
.wc-drawing .wc-structural{stroke-width:1.7}
.wc-drawing .wc-pipe{stroke-width:3.2}
@media(max-width:600px){.cv-depurazione .water-capabilities .water-graphic{width:min(100%,300px);height:170px}}
.cv-depurazione .wi-figure figcaption{font-size:13px;line-height:1.5;margin:12px 0 18px;opacity:.65}
.wi-key{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:14px}
.wi-key li{border-top:1px solid var(--line);padding-top:10px;font-size:13px;line-height:1.4}
.wi-key span{display:block;font-size:11px;letter-spacing:.08em;margin-bottom:5px;opacity:.6}
@media(max-width:600px){.wi-key{gap:10px}.wi-key li{font-size:11px}.cv-depurazione .wi-figure figcaption{font-size:11px}}
