.sources-page {
  color: #111;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
}

.sources-page .nav-control.is-active {
  color: #fff;
  background: var(--navy);
}

.sources-main {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 18px 24px 56px;
}

.sources-main h1,
.sources-main h2 {
  width: fit-content;
  margin: 0 0 18px;
  padding: 0 10px 5px;
  color: var(--navy);
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  font-weight: 400;
  line-height: 1.15;
}

.sources-main h1 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.sources-main h2 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.legal-section,
.contact-section {
  max-width: 1180px;
}

.legal-section ul,
.contact-section ul {
  margin: 0;
  padding-left: 1.5rem;
}

.legal-section li,
.contact-section li {
  margin-bottom: 1rem;
  padding-left: 0.25rem;
  line-height: 1.35;
}

.contact-section {
  margin-top: 24px;
}

.contact-section a,
.reference-entry a {
  color: #0070c0;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.references-section {
  margin-top: 30px;
}

.references-section > h2 {
  color: #111;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 700;
}

.references-list {
  max-width: 1120px;
  padding-left: 8px;
}

.reference-entry {
  padding: 12px 0 15px;
  border-bottom: 1px solid rgba(45, 61, 84, 0.18);
}

.reference-entry:last-child {
  border-bottom: 0;
}

.reference-entry h3 {
  margin: 0 0 7px;
  color: #111;
  font-size: 1.05rem;
  line-height: 1.2;
}

.reference-entry ul {
  margin: 0;
  padding-left: 1.45rem;
}

.reference-entry li {
  margin-bottom: 0.32rem;
  padding-left: 0.18rem;
  line-height: 1.32;
}

@media (max-width: 900px) {
  .sources-main {
    width: min(100% - 32px, 1280px);
    padding-inline: 8px;
  }
}

@media (max-width: 620px) {
  .sources-main {
    width: 100%;
    padding: 14px 18px 40px;
  }

  .sources-main h1,
  .sources-main h2 {
    padding-inline: 6px;
  }

  .legal-section li,
  .contact-section li {
    margin-bottom: 0.8rem;
  }

  .references-list {
    padding-left: 0;
  }

  .reference-entry {
    padding-block: 11px 13px;
  }
}

@media print {
  .site-header {
    display: none !important;
  }

  .sources-main {
    width: 100%;
    padding: 0;
  }

  .reference-entry a {
    color: #111;
  }
}
