/* Keep the background at 60% strength without fading the hero text. */
body.site-v2.corporate-site[data-route="tools"] main > .page-intro {
 position:relative; isolation:isolate; overflow:hidden;
 min-height:clamp(340px,29vw,480px);
 display:flex; flex-direction:column; justify-content:flex-end;
 background:#103b60;
}
body.site-v2.corporate-site[data-route="tools"] main > .page-intro::before,
body.site-v2.corporate-site[data-route="tools"] main > .page-intro::after {
 content:""; display:block; position:absolute; inset:0; z-index:-1; pointer-events:none;
}
body.site-v2.corporate-site[data-route="tools"] main > .page-intro::before {
 background:url('assets/tools-business-city.png') center 40% / cover no-repeat;
 opacity:.6;
}
body.site-v2.corporate-site[data-route="tools"] main > .page-intro::after {
 background:linear-gradient(0deg,rgba(8,32,53,.9),rgba(8,32,53,.3) 45%,transparent 80%);
}
body.site-v2.corporate-site[data-route="tools"] main > .page-intro :is(h1,p) { color:#fff; }
@media(max-width:600px) {
 body.site-v2.corporate-site[data-route="tools"] main > .page-intro { min-height:360px; padding-block:180px 32px; }
 body.site-v2.corporate-site[data-route="tools"] main > .page-intro::before { background-position:88% center; }
}

/* Five adviser-supplied covers, in the order agreed with the owner. */
body.site-v2.corporate-site[data-route="tools"] .tool-grid:not(.compact) { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
body.site-v2.corporate-site[data-route="tools"] .tool-card-with-cover { padding:0; overflow:hidden; min-width:0; }
.tool-card-cover { aspect-ratio:8/5; width:100%; overflow:hidden; background:#edf3f8; flex-shrink:0; }
.tool-card-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.tool-cover-disease img { object-position:50% 25%; }
.tool-cover-health img { object-position:50% 28%; }
.tool-cover-hospital img { object-position:50% 30%; }
.tool-cover-tax img { object-position:50% 0%; }
.tool-cover-retirement img { object-position:50% 28%; }
.tool-card-content { display:flex; flex-direction:column; flex:1; padding:24px; }
body.site-v2.corporate-site #main .tool-card-content h3 { font-size:22px; line-height:1.55; margin:0; }
body.site-v2.corporate-site #main .tool-card-content p { font-size:16px; font-weight:300; color:#000; margin:10px 0 22px; }
.tool-card-action { color:#075da2; font-size:15px; font-weight:400; margin-top:auto; }
.tool-card-with-cover:focus-visible { outline:3px solid #075da2; outline-offset:4px; }
@media(max-width:1000px) {
 body.site-v2.corporate-site[data-route="tools"] .tool-grid:not(.compact) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
 body.site-v2.corporate-site[data-route="tools"] .tool-grid:not(.compact) { grid-template-columns:minmax(0,1fr); }
 .tool-card-content { padding:20px; }
 body.site-v2.corporate-site #main .tool-card-content h3 { font-size:21px; }
}
