/* Visible credit for public domain hero photographs from the Library of Congress.
   Sits inside the hero media box, so it shows and hides with the photograph.
   The credit link is an ordinary external link and goes through the leaving notice in nav.js.
   Added November 3, 2026. */
.hero-photo-credit {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 4;
  max-width: calc(100% - 170px);
  margin: 0;
  font-size: .75rem;
  line-height: 1.4;
  text-align: right;
  color: var(--color-on-deep, #fff);
  opacity: .9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
}
.hero-photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero-photo-credit a:hover,
.hero-photo-credit a:focus-visible {
  opacity: 1;
  text-decoration-thickness: 2px;
}
