@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/montserrat.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url('/assets/fonts/source-sans-3.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

body:not(.cc-home, .dedicated-edition) {
  --ink: #17324d;
  --cream: #f7f3e8;
  --teal: #246d68;
  --muted: #495b68;
  --line: #c8d9d5;
  --rust: #973c2b;
  --coastal-seafoam: #78bbb3;
  --coastal-mist: #e4f1ee;
  --coastal-coral: #e87961;
  background: var(--cream);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
}

body:not(.cc-home, .dedicated-edition) :is(h1, h2, h3) {
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 750;
}

body:not(.cc-home, .dedicated-edition) > header {
  background: #fff;
  border-bottom: 3px solid var(--coastal-seafoam);
}

body:not(.cc-home, .dedicated-edition) :is(.button, .date-buttons button[aria-pressed="true"]) {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

body:not(.cc-home, .dedicated-edition) :is(.button, .date-buttons button[aria-pressed="true"]):hover {
  background: #234863;
  border-color: #234863;
  color: #fff;
}

body:not(.cc-home, .dedicated-edition) :is(
  .event-controls, .event-sponsor, .event-empty, .sitemap-grid section,
  .library-filters, .library-policy, .contact-options, .faq-main details[open] summary,
  .faq-main .cta, .reader-bar
) {
  background: var(--coastal-mist);
  border-color: var(--line);
}

body:not(.cc-home, .dedicated-edition) :is(.event-feature, .archive-notice) {
  background: var(--coastal-mist);
  border-color: var(--coastal-coral);
}

body:not(.cc-home, .dedicated-edition) :is(.reader-title, .library-card, .search-page article) {
  background: #fff;
  border-color: var(--line);
}

body:not(.cc-home, .dedicated-edition) .reader-nav {
  background: var(--ink);
  color: #fff;
  border-color: var(--coastal-seafoam);
}

body:not(.cc-home, .dedicated-edition) .reader-nav a {
  color: inherit;
}

body:not(.cc-home, .dedicated-edition) .reader-nav a:hover {
  text-decoration: underline 2px var(--coastal-coral);
  text-underline-offset: .24em;
}

body:not(.cc-home, .dedicated-edition) footer.public-footer {
  border-top: 2px solid var(--coastal-seafoam);
}

body:not(.cc-home, .dedicated-edition) :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

body:not(.cc-home, .dedicated-edition) .reader-nav a:focus-visible {
  outline-color: var(--coastal-coral);
}
