/* Shared History of Psychoanalysis footer. Outer dark band on all five pages. */
.history-research-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .9rem 2rem;
  font: 400 .75rem/1.65 Arial, Helvetica, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
.history-footer-copy {
  flex: 1 1 36rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.history-research-footer .history-footer-copy p {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.history-footer-secondary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem 1.6rem;
}
.history-research-footer .history-footer-secondary a,
.history-research-footer .history-footer-top {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.history-research-footer .history-footer-top {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .history-research-footer { font-size: .69rem; }
  .history-footer-secondary { justify-content: flex-start; }
}

/* Full-width dark footer, outside each page's content shell. */
.history-research-footer.history-footer-band {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.65rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(201, 163, 90, .26);
  background: #050303;
  color: #e2d7c8;
  font-size: .8rem;
}
.history-research-footer.history-footer-band .history-footer-copy p {
  color: #e2d7c8;
}
.history-research-footer.history-footer-band .history-footer-secondary p {
  color: #cec0ad;
}
.history-research-footer.history-footer-band .history-footer-secondary a,
.history-research-footer.history-footer-band .history-footer-top {
  color: #ead0a4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.history-research-footer.history-footer-band a:hover {
  color: #fff1d5;
}
@media (max-width: 700px) {
  .history-research-footer.history-footer-band {
    padding-block: 1.4rem;
    font-size: .74rem;
  }
}
@media print {
  .history-research-footer.history-footer-band { display: none !important; }
}
