/* Reusable V3 footer and content-grid presentation. No business/data selectors. */
body.hd-v3 .site-footer.hd-evidence-footer{background:#223647;color:#c7d1da;border-top:0;padding:76px 0 24px;margin-top:0}
.hd-evidence-footer__grid{display:grid;grid-template-columns:minmax(210px,1.2fr) repeat(3,minmax(130px,.85fr)) minmax(242px,1.15fr);gap:28px;align-items:start}
.hd-evidence-footer__grid>*{min-width:0}
body.hd-v3 .hd-evidence-footer p{margin:0 0 16px;color:#c7d1da;font-size:14px;line-height:1.65}
body.hd-v3 .hd-evidence-footer a{color:#e5edf3;text-decoration:none;overflow-wrap:anywhere}
body.hd-v3 .hd-evidence-footer a:hover{color:#82c8ff}
body.hd-v3 .hd-evidence-footer a:focus-visible,.hd-evidence-footer summary:focus-visible{outline:2px solid #82c8ff;outline-offset:5px}
.hd-evidence-footer__logo{display:inline-flex;align-items:center;gap:12px;margin-bottom:16px}
.hd-evidence-footer__logo img{display:block;width:48px;height:48px;object-fit:contain;background:#fff;border-radius:50%;padding:3px}
body.hd-v3 .hd-evidence-footer__logo strong{color:#fff;font-size:26px;letter-spacing:.025em;line-height:1.2}
body.hd-v3 .hd-evidence-footer .hd-evidence-footer__tagline{color:#fff;font-weight:650;line-height:1.5}
body.hd-v3 .hd-evidence-footer .hd-evidence-footer__promise{margin-bottom:0;font-size:13px}
.hd-evidence-footer__contact{grid-column:5;grid-row:1;background:#1268ad;border:1px solid #4186ba;border-radius:6px;padding:24px}
body.hd-v3 .hd-evidence-footer__contact h2{color:#fff;font-size:14px;letter-spacing:.08em;line-height:1.4;margin:0 0 20px}
.hd-evidence-footer__contact dl{margin:0;display:grid;gap:16px}
.hd-evidence-footer__contact dt{font-size:11px;line-height:1.4;color:#d3e7f6;margin-bottom:3px;text-transform:uppercase;letter-spacing:.05em}
.hd-evidence-footer__contact dd{margin:0;font-size:14px;line-height:1.5}
body.hd-v3 .hd-evidence-footer__contact dd a,body.hd-v3 .hd-evidence-footer__contact address{color:#fff;font-style:normal;font-weight:600}
body.hd-v3 .hd-evidence-footer a.hd-evidence-footer__cta{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#ff8a32;color:#14263a;font-weight:750;font-size:13px;line-height:1.5;padding:13px 14px;border-radius:3px;margin-top:23px}
body.hd-v3 .hd-evidence-footer a.hd-evidence-footer__cta:hover{background:#ffa15a;color:#14263a}
.hd-evidence-footer__links{border:0;margin:0;padding:8px 0 0;grid-row:1}
.hd-evidence-footer__links:nth-of-type(1){grid-column:2}
.hd-evidence-footer__links:nth-of-type(2){grid-column:3}
.hd-evidence-footer__links:nth-of-type(3){grid-column:4}
.hd-evidence-footer__links summary{list-style:none;font-size:14px;font-weight:750;line-height:1.5;color:#fff;margin-bottom:18px;cursor:pointer}
.hd-evidence-footer__links summary::-webkit-details-marker{display:none}
.hd-evidence-footer__links summary>span{display:none}
.hd-evidence-footer__links nav{display:grid;gap:13px}
.hd-evidence-footer__links nav a{display:block;font-size:13px;line-height:1.5}
.hd-evidence-footer__legal{border-top:1px solid #506271;margin-top:40px;padding-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 24px;font-size:12px;line-height:1.6}
/* One real card fills its section; never keep an empty second grid column. */
body.hd-v3 .v8-content-page .content-card-grid:has(>.content-card:only-child){grid-template-columns:minmax(0,1fr);max-width:none}
body.hd-v3 .v8-content-page .content-card-grid>.content-card:only-child{grid-column:1/-1}
/* The final materials explainer needs separation, not another oversized white band. */
body.hd-v3 main>.hd-rm-section.content-section:last-child{padding-top:72px;padding-bottom:72px}
body.hd-v3 .v8-content-page .news-library{padding-top:56px}
@media(min-width:768px){.hd-evidence-footer__links summary{pointer-events:none;cursor:default}}
@media(min-width:768px) and (max-width:1179px){.hd-evidence-footer__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.hd-evidence-footer__brand{grid-column:1/3}.hd-evidence-footer__contact{grid-column:3;grid-row:1/3}.hd-evidence-footer__links{grid-row:auto}.hd-evidence-footer__links:nth-of-type(1),.hd-evidence-footer__links:nth-of-type(2),.hd-evidence-footer__links:nth-of-type(3){grid-column:auto}}
@media(max-width:767px){
 body.hd-v3 main>.hd-rm-section.content-section:last-child{padding-top:40px;padding-bottom:40px}
 body.hd-v3 .v8-content-page .news-library{padding-top:36px}
 body.hd-v3 .site-footer.hd-evidence-footer{padding:40px 0 22px}
 .hd-evidence-footer__grid{grid-template-columns:minmax(0,1fr);gap:0}
 .hd-evidence-footer__brand{margin-bottom:24px}
 body.hd-v3 .hd-evidence-footer__brand p{margin-bottom:12px}
 .hd-evidence-footer__logo{margin-bottom:12px}
 .hd-evidence-footer__logo img{width:40px;height:40px}
 .hd-evidence-footer__contact{grid-column:auto;grid-row:auto;margin-bottom:22px;padding:20px}
 .hd-evidence-footer__contact dl{gap:12px}
 body.hd-v3 .hd-evidence-footer__contact h2{margin-bottom:16px}
 body.hd-v3 .hd-evidence-footer a.hd-evidence-footer__cta{margin-top:18px}
 .hd-evidence-footer__links,.hd-evidence-footer__links:nth-of-type(1),.hd-evidence-footer__links:nth-of-type(2),.hd-evidence-footer__links:nth-of-type(3){grid-column:auto;grid-row:auto;padding:0;border-bottom:1px solid #506271}
 .hd-evidence-footer__links summary{margin:0;padding:17px 0;display:flex;justify-content:space-between;gap:18px;font-size:15px}
 .hd-evidence-footer__links summary>span{display:block;font-size:20px;line-height:1}
 .hd-evidence-footer__links[open] summary>span{transform:rotate(45deg)}
 .hd-evidence-footer__links nav{padding:0 0 20px;gap:13px}
 .hd-evidence-footer__legal{margin-top:23px;padding-top:18px;flex-direction:column;gap:10px}
}
