/* Page differences only. Layout, buttons, WPForms and focus styles reuse bonifiche.css. */
.ds-investigazioni .hero{grid-template-columns:1.05fr 1fr;gap:58px;padding-top:22px}
.ds-investigazioni .hero-visual{min-height:390px;aspect-ratio:1.35;align-self:center;max-width:none;width:100%;margin:0;overflow:hidden;background:var(--soft)}
.ds-investigazioni .hero-visual>picture{display:block;position:absolute;inset:0;width:100%;height:100%}
.ds-investigazioni .hero-visual img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
.ds-investigazioni .hero-description{font-size:19px;line-height:1.65;max-width:620px}
.ds-investigazioni .hero-caption{position:absolute;inset:auto 20px 20px;margin:0;background:#102a40ed;box-shadow:0 10px 25px #10203022}
.ds-investigazioni .hero-caption strong{font-size:20px}
.ds-investigazioni .service-icon{display:block;flex:0 0 auto;width:32px;height:32px;stroke:currentColor;fill:none;stroke-width:1.6;color:var(--blue)}
.ds-investigazioni .service-strip{list-style:none;margin:0;padding:0}
.ds-investigazioni .service-strip>li{display:flex;align-items:center;min-width:0;margin:0;padding:25px 22px;font-size:15px;font-weight:700;gap:14px;border-right:1px solid var(--line)}
.ds-investigazioni .service-strip>li:last-child{border-right:0}
.ds-investigazioni .intro-grid{grid-template-columns:1fr 1.35fr;gap:75px}
.ds-investigazioni .intro-grid h2{max-width:460px;margin-bottom:0}
.ds-investigazioni .investigation-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ds-investigazioni .investigation-card{min-width:0;border:1px solid #ffffff30;border-radius:12px;background:#ffffff06;padding:36px}
.ds-investigazioni .card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}
.ds-investigazioni .investigation-card .service-icon{width:40px;height:40px;color:#acd4f2;stroke-width:1.5}
.ds-investigazioni .card-number{font-size:13px;letter-spacing:.08em;color:#a7cbea}
.ds-investigazioni .investigation-card h3{font-size:28px;margin-bottom:20px}
.ds-investigazioni .investigation-card .prose{font-size:16px;line-height:1.8}
.ds-investigazioni .investigation-card .prose>p{margin-bottom:0}
.ds-investigazioni .partner-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:75px;align-items:center}
.ds-investigazioni .partner-emblem{display:flex;align-items:center;gap:24px}
.ds-investigazioni .partner-emblem>div{min-width:0;overflow-wrap:anywhere}
.ds-investigazioni .partner-emblem>.service-icon{width:64px;height:64px;stroke-width:1.25}
.ds-investigazioni .partner-emblem h2{font-size:36px;margin:0;max-width:350px}
.ds-investigazioni .partner-emblem .eyebrow{margin-bottom:12px}
.ds-investigazioni .contact-intro>p{max-width:440px}
.ds-investigazioni .required-note{font-size:12px;color:var(--muted);margin:16px 0 0;clear:both}
.ds-investigazioni .hero-copy,.ds-investigazioni .prose,.ds-investigazioni .section-heading,.ds-investigazioni .contact-intro{min-width:0;overflow-wrap:anywhere}
.ds-investigazioni .quote-form div.wpforms-container .wpforms-field-hp{display:none!important}
@media(min-width:761px){
 .ds-investigazioni .quote-form div.wpforms-container [id$="-field_12-container"],.ds-investigazioni .quote-form div.wpforms-container [id$="-field_9-container"]{float:left;width:calc(50% - 9px);clear:none}
 .ds-investigazioni .quote-form div.wpforms-container [id$="-field_12-container"]{clear:both;margin-left:0}
 .ds-investigazioni .quote-form div.wpforms-container [id$="-field_9-container"]{margin-left:18px}
}
@media(min-width:1700px){.ds-investigazioni .hero{gap:80px}}
@media(max-width:1100px){
 .ds-investigazioni .service-strip>li{padding:20px 12px}
 .ds-investigazioni .hero{gap:32px}
 .ds-investigazioni .hero-visual{min-height:360px}
 .ds-investigazioni .intro-grid,.ds-investigazioni .partner-summary{gap:40px;grid-template-columns:1fr 1.4fr}
 .ds-investigazioni .investigation-card{padding:28px}
 .ds-investigazioni .partner-emblem{align-items:flex-start;gap:18px}
 .ds-investigazioni .partner-emblem h2{font-size:30px}
 .ds-investigazioni .partner-emblem>.service-icon{width:48px;height:48px}
}
@media(max-width:900px){
 .ds-investigazioni .hero{grid-template-columns:1fr;gap:28px}
 .ds-investigazioni .hero-visual{aspect-ratio:1.5;min-height:0}
 .ds-investigazioni .service-strip{grid-template-columns:1fr 1fr}
 .ds-investigazioni .service-strip>li:nth-child(2){border-right:0}
 .ds-investigazioni .service-strip>li:nth-child(-n+2){border-bottom:1px solid var(--line)}
}
@media(max-width:760px){
 .ds-investigazioni .hero-description{font-size:17px}
 .ds-investigazioni .hero-description br{display:none}
 .ds-investigazioni .hero-caption{inset:auto 14px 14px;padding:14px}
 .ds-investigazioni .hero-caption strong{font-size:18px}
 .ds-investigazioni .service-strip>li{font-size:14px;padding:20px 13px;gap:10px}
 .ds-investigazioni .service-strip .service-icon{width:27px;height:27px}
 .ds-investigazioni .intro-grid,.ds-investigazioni .partner-summary{grid-template-columns:minmax(0,1fr);gap:28px}
 .ds-investigazioni .investigation-grid{grid-template-columns:1fr;gap:18px}
 .ds-investigazioni .investigation-card{padding:26px}
 .ds-investigazioni .card-top{margin-bottom:22px}
 .ds-investigazioni .investigation-card h3{font-size:26px}
 .ds-investigazioni .contact-intro h2{font-size:35px}
 .ds-investigazioni .partner-emblem h2{font-size:32px}
 .ds-investigazioni .quote-form div.wpforms-container .wpforms-field.wpforms-one-half{float:none;width:100%;margin-left:0}
}
@media(max-width:380px){
 .ds-investigazioni .partner-emblem{display:block}
 .ds-investigazioni .partner-emblem>.service-icon{margin-bottom:20px}
 .ds-investigazioni .service-strip>li{font-size:13px;gap:8px;padding-inline:10px}
 .ds-investigazioni .hero-caption{padding:12px;gap:8px}
 .ds-investigazioni .hero-caption strong{font-size:16px}
}
/* Override the legacy global mobile heading sizes only within this template. */
@media(max-width:768px){
 .ds-investigazioni h2{font-size:30px!important}
 .ds-investigazioni .investigation-card h3{font-size:26px!important}
 .ds-investigazioni .partner-emblem h2{font-size:32px!important}
 .ds-investigazioni .contact-intro h2{font-size:35px!important}
}
@media print{
 .ds-investigazioni .investigation-card{break-inside:avoid;border-color:#999}
 .ds-investigazioni .card-number{color:#333}
 .ds-investigazioni .service-icon{color:#1e5f9e}
}
