/* DCCC WHO WE ARE — HOME-REFERENCE FOOTER COMPATIBILITY FIX v3
   Purpose: keep the deploy-injected legacy stylesheet compatible with the canonical
   4 columns x 7 links footer. Do not hide, collapse, duplicate or remap routes. */

body.dccc-who-footer-master [data-dccc-global-footer="1"],
body.dccc-who-footer-master .dccc-v6-footer{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:10px 0 0!important;
  padding:0!important;
  border:0!important;
  border-top:1px solid #313941!important;
  background:#0d1319!important;
  color:#fff!important;
  overflow:visible!important;
}

body.dccc-who-footer-master [data-dccc-global-footer="1"] [data-dccc-footer-main="1"],
body.dccc-who-footer-master [data-dccc-global-footer="1"] .footer-inner,
body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-v6-footer-inner,
body.dccc-who-footer-master .dccc-v6-footer .dccc-v6-footer-inner,
body.dccc-who-footer-master .dccc-who-master-footer-main{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:auto!important;
  gap:0 26px!important;
  align-items:start!important;
  width:min(1480px,calc(100% - 28px))!important;
  max-width:1480px!important;
  min-height:0!important;
  height:auto!important;
  margin:0 auto!important;
  padding:18px 0 14px!important;
  background:transparent!important;
  text-align:left!important;
}

body.dccc-who-footer-master .dccc-who-master-links{
  box-sizing:border-box!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  min-width:0!important;
  width:auto!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
body.dccc-who-footer-master .dccc-who-master-links:nth-child(1){grid-column:1!important;grid-row:1!important}
body.dccc-who-footer-master .dccc-who-master-links:nth-child(2){grid-column:2!important;grid-row:1!important}
body.dccc-who-footer-master .dccc-who-master-links:nth-child(3){grid-column:3!important;grid-row:1!important}
body.dccc-who-footer-master .dccc-who-master-links:nth-child(4){grid-column:4!important;grid-row:1!important}

body.dccc-who-footer-master .dccc-who-master-links h3{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  min-height:30px!important;
  margin:0!important;
  padding:0 0 7px!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:17px!important;
}
body.dccc-who-footer-master .dccc-who-master-links h3::after{display:none!important;content:none!important}

body.dccc-who-footer-master .dccc-who-master-links nav{
  box-sizing:border-box!important;
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  grid-template-columns:1fr!important;
  grid-template-rows:repeat(7,minmax(27px,auto))!important;
  gap:0!important;
  width:100%!important;
  max-width:none!important;
  min-height:189px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}

body.dccc-who-footer-master .dccc-who-master-links a,
body.dccc-who-footer-master .dccc-who-master-links a[data-dccc-footer-link="1"]{
  box-sizing:border-box!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  min-width:0!important;
  min-height:27px!important;
  height:auto!important;
  margin:0!important;
  padding:2px 0!important;
  color:#dce1e5!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.2!important;
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:anywhere!important;
  text-decoration:none!important;
}
body.dccc-who-footer-master .dccc-who-master-links a::before,
body.dccc-who-footer-master .dccc-who-master-links a[data-dccc-footer-link="1"]::before{
  content:'→'!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  margin-right:7px!important;
  color:#f6bf00!important;
  font-weight:900!important;
  line-height:1!important;
}
body.dccc-who-footer-master .dccc-who-master-links a:hover,
body.dccc-who-footer-master .dccc-who-master-links a:focus-visible{color:#f6bf00!important}

/* Only true duplicate footer nodes are suppressed. Canonical groups/links stay visible. */
body.dccc-who-footer-master [data-dccc-footer-duplicate="1"]{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-footer-signature-inner{
  width:min(1480px,calc(100% - 28px))!important;
  max-width:1480px!important;
  margin:0 auto!important;
  padding:12px 0 11px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)!important;
  gap:20px!important;
  align-items:center!important;
}
body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-footer-signature-company{font-size:13px!important;color:#f6bf00!important;text-align:left!important}
body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-footer-signature-community{font-size:12px!important;color:#e30613!important;text-align:center!important}
body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-footer-signature-tagline{font-size:13px!important;color:#f6bf00!important;text-align:right!important}

body.dccc-who-footer-master [data-dccc-global-footer="1"] [data-dccc-footer-legal="1"],
body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-global-footer-legal-v5,
body.dccc-who-footer-master .dccc-v6-footer-bottom{
  box-sizing:border-box!important;
  min-height:42px!important;
  height:auto!important;
  margin:0!important;
  padding:11px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-top:1px solid #313941!important;
  background:#090d11!important;
  color:#fff!important;
  text-align:center!important;
  font-size:11px!important;
  line-height:1.3!important;
}

@media(max-width:800px){
  body.dccc-who-footer-master [data-dccc-global-footer="1"] [data-dccc-footer-main="1"],
  body.dccc-who-footer-master [data-dccc-global-footer="1"] .footer-inner,
  body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-v6-footer-inner,
  body.dccc-who-footer-master .dccc-v6-footer .dccc-v6-footer-inner,
  body.dccc-who-footer-master .dccc-who-master-footer-main{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0 9px!important;
    width:calc(100% - 20px)!important;
    padding:14px 0 12px!important;
  }
  body.dccc-who-footer-master .dccc-who-master-links h3{min-height:28px!important;font-size:10.5px!important;line-height:12px!important}
  body.dccc-who-footer-master .dccc-who-master-links nav{grid-template-rows:repeat(7,minmax(25px,auto))!important;min-height:175px!important}
  body.dccc-who-footer-master .dccc-who-master-links a{min-height:25px!important;font-size:8.8px!important;line-height:10px!important;padding:2px 0!important}
  body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-footer-signature-inner{grid-template-columns:1fr!important;gap:5px!important}
  body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-footer-signature-company,
  body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-footer-signature-community,
  body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-footer-signature-tagline{text-align:left!important;white-space:normal!important}
}

@media(max-width:430px){
  body.dccc-who-footer-master [data-dccc-global-footer="1"] [data-dccc-footer-main="1"],
  body.dccc-who-footer-master [data-dccc-global-footer="1"] .footer-inner,
  body.dccc-who-footer-master [data-dccc-global-footer="1"] .dccc-v6-footer-inner,
  body.dccc-who-footer-master .dccc-v6-footer .dccc-v6-footer-inner,
  body.dccc-who-footer-master .dccc-who-master-footer-main{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0 6px!important;
    width:calc(100% - 16px)!important;
    padding:12px 0 10px!important;
  }
  body.dccc-who-footer-master .dccc-who-master-links h3{min-height:27px!important;font-size:9px!important;line-height:10px!important}
  body.dccc-who-footer-master .dccc-who-master-links nav{grid-template-rows:repeat(7,minmax(24px,auto))!important;min-height:168px!important}
  body.dccc-who-footer-master .dccc-who-master-links a{min-height:24px!important;font-size:7.6px!important;line-height:9px!important;padding:1px 0!important}
}
