:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f7f8f4;
  --white: #ffffff;
  --canvas: #eef1eb;
  --ink: #202820;
  --dark: #dce9aa;
  --muted: #566254;
  --soft: #687465;
  --line: #d9dfd5;
  --green: #4b6741;
  --lime: #e6efc5;
  --gold: #efe2bc;
  --deep: #223020;
  --wash: #e7ece3;
  --raised: #e7ece5;
  --outline: #a7b2a0;
  --focus: #456b3b;
  color: var(--ink);
  background: var(--paper);
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--outline);
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
  line-height: 1;
}

.theme-toggle:hover,
.theme-toggle[aria-pressed="true"] {
  background: var(--wash);
  border-color: var(--focus);
}

:root[data-theme="light"] .site-header {
  box-shadow: 0 2px 12px rgb(32 40 32 / 5%);
}

.bpo-footer-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid var(--line);
}

.bpo-footer-service-links {
  display: flex;
  flex: 1 1 28rem;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.25rem;
  min-width: 0;
}

.bpo-footer-service-links a {
  display: inline-block;
  max-width: 100%;
  color: var(--muted);
  line-height: 1.5;
  text-decoration-thickness: .06em;
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}

.bpo-footer-service-links a:hover {
  color: var(--ink);
}

.bpo-footer-notifications {
  flex: 0 1 auto;
  min-width: 0;
}

.bpo-footer-notifications .bpo-push-link {
  max-width: 100%;
  white-space: normal;
  text-align: start;
}

@media (max-width: 700px) {
  .bpo-footer-extras {
    align-items: flex-start;
    flex-direction: column;
    gap: .75rem;
    padding-right: 6rem;
    padding-right: max(6rem, calc(env(safe-area-inset-right) + 5.5rem));
  }

  .bpo-footer-service-links {
    flex-basis: auto;
    gap: .55rem 1rem;
  }

  .bpo-footer-notifications {
    width: 100%;
  }
}

.content-cover--headline {
  position: relative;
  isolation: isolate;
  height: clamp(300px, 52vw, 590px);
  overflow: hidden;
  border-radius: 18px;
  background: #14231c;
}

.content-cover--headline > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.content-cover--headline::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(180deg, rgb(7 15 11 / 0%) 22%, rgb(7 15 11 / 12%) 48%, rgb(7 15 11 / 82%) 100%);
  content: "";
  pointer-events: none;
}

.content-cover-headline {
  position: absolute;
  z-index: 1;
  inset-inline: clamp(18px, 4vw, 54px);
  bottom: clamp(20px, 4vw, 48px);
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4.3vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgb(0 0 0 / 65%);
}

@media (max-width: 620px) {
  .content-cover--headline {
    height: clamp(300px, 88vw, 410px);
    border-radius: 14px;
  }

  .content-cover-headline {
    inset-inline: 18px;
    bottom: 22px;
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }
}
