#footer-outer.cdc-footer {
  --cdc-ink: #132b49;
  --cdc-muted: #42566c;
  background-color: #f2f5f8 !important;
  color: var(--cdc-muted);
  border-top: 1px solid #d9e1e9;
  font-size: 16px;
  line-height: 1.65;
}

#footer-outer.cdc-footer .cdc-footer__inner {
  width: min(87.5%, 1260px);
  margin-inline: auto;
}

.cdc-footer__columns {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.75rem, 5vw, 4.75rem);
  align-items: start;
}

#footer-outer.cdc-footer h2 {
  color: var(--cdc-ink);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 .75rem;
}

#footer-outer.cdc-footer p { margin: 0; padding: 0; }

#footer-outer.cdc-footer .cdc-footer__brand a {
  display: inline-block;
  max-width: 100%;
}

#footer-outer.cdc-footer .cdc-footer__brand img {
  display: block;
  width: min(100%, 230px);
  height: auto;
  margin: 0;
}

#footer-outer.cdc-footer address { font-style: normal; margin: 0; }

.cdc-footer__contact {
  display: grid;
  justify-items: start;
  gap: .2rem;
  margin-top: .8rem;
}

#footer-outer.cdc-footer a {
  color: var(--cdc-ink);
  overflow-wrap: anywhere;
  text-underline-offset: .2em;
}

#footer-outer.cdc-footer a:hover { text-decoration: underline; }

#footer-outer.cdc-footer a:focus-visible {
  outline: 2px solid var(--cdc-ink);
  outline-offset: 4px;
}

.cdc-footer__bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem 2rem;
  flex-wrap: wrap;
  border-top: 1px solid #d3dde7;
  padding-block: 1.25rem;
  font-size: .9rem;
}

.cdc-footer__bottom nav { display: flex; gap: .4rem 1.5rem; flex-wrap: wrap; }

#ajax-content-wrap .cdc-referral .row-bg { background-color: #65778d; }
#ajax-content-wrap .cdc-referral a.nectar-button { color: #132b49 !important; }
#ajax-content-wrap .cdc-legacy-video .row-bg { background-color: #43566e; }

#page-header-bg.cdc-blank-header { background-color: #465b73 !important; }

.cdc-media-blank {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: fill;
}

.img-wrap:has(> .cdc-media-blank) { display: block; width: 100%; }
.cdc-media-blank--muted { filter: brightness(.86); }
#ajax-content-wrap .image-icon.cdc-blank-avatar { background-color: #d8e2ec; }

@media (max-width: 900px) {
  .cdc-footer__columns {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.65rem 2.75rem;
  }
  .cdc-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  #footer-outer.cdc-footer .cdc-footer__inner { width: calc(100% - 48px); }
  .cdc-footer__columns { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  #footer-outer.cdc-footer .cdc-footer__brand img { width: 190px; }
  .cdc-footer__bottom { flex-direction: column; }
}
