body:has(> .consulting-footer) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body:has(> .consulting-footer) > main {
  flex: 1 0 auto;
  min-width: 0;
}

body > footer.consulting-footer {
  margin-top: auto;
}

body > footer.consulting-footer .footer-content {
  align-items: flex-start;
}

body > footer.consulting-footer .footer-content > div {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

body > footer.consulting-footer .footer-name {
  text-decoration: none;
}

body > footer.consulting-footer .footer-name .mark {
  display: block;
  width: 37px;
  height: 37px;
}

body > footer.consulting-footer nav {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 600px) {
  body > footer.consulting-footer .footer-content {
    flex-direction: column;
  }
}

/* Match the footer typography used on the Work page. */
body > footer.consulting-footer .footer-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 400 23px/1.1 Georgia, serif;
}

body > footer.consulting-footer .footer-name small {
  display: block;
  margin-top: 4px;
  color: #d4fa58;
  font: 700 10px/1.2 system-ui, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}

body > footer.consulting-footer .footer-content p {
  font: 400 16px/1.6 system-ui, sans-serif;
}

body > footer.consulting-footer nav a {
  font: 400 14px/1.6 system-ui, sans-serif;
}

body > footer.consulting-footer .footer-bottom small {
  font: 650 11px/1.6 system-ui, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

/* Use the original case-study green on interior page title banners. */
html:not(:has(head link[rel="canonical"][href="https://davidshowersconsulting.com/"]))
  body :is(.page-intro-banner, .work-intro, .hero, .bc-lead, .taj-lead, .rop-lead):has(h1) {
  background-color: #19452f;
}
