@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Roboto+Slab:wght@300;400;700&family=Sorts+Mill+Goudy:ital@0;1&display=swap');

:root {
  --green: #5cdb95;
  --green-dark: #4bc882;
  --teal-dark: #379683;
  --navy: #2d3436;
  --accent: #5cdb95;
  --bg: #379683;
  --white: #ffffff;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.7);
  --border: rgba(255,255,255,0.2);
  --source-bg: rgba(255,255,255,0.1);
  --serif: 'Roboto Slab', Georgia, serif;
  --sans: 'Public Sans', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  background-color: var(--teal-dark) !important;
  color: var(--text);
  line-height: 1.6;
}

/* ---- Header ---- */
header {
  background: var(--green);
  color: #000;
  padding: 2rem 0;
}
header .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
header h1 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---- Navigation ---- */
nav {
  background: var(--green);
}
nav .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
}
nav a {
  color: rgba(0,0,0,0.6);
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a.active {
  color: #000;
  border-bottom-color: #000;
}

/* ---- Main content ---- */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ---- FAQ page ---- */
.faq-section {
  max-width: 680px;
}
.faq-item {
  margin-bottom: 1.75rem;
}
.faq-item h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.faq-item p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
}
.faq-item p a {
  color: var(--green);
  text-decoration: none;
}

/* ---- Blog post ---- */
.blog-post {
  max-width: 680px;
}
.blog-post .meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.blog-post p {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.blog-post blockquote {
  border-left: 3px solid var(--green);
  padding-left: 1.25rem;
  margin: 1.25rem 0;
  font-style: italic;
  color: var(--text-muted);
}

/* ---- Footer ---- */
footer {
  background: var(--teal-dark) !important;
  color: rgba(255,255,255,0.6);
  padding: 2rem 0;
  font-size: 0.8rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
}
footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
footer .original-credit {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Archive notice ---- */
.archive-notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #664d03;
  margin-bottom: 2rem;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  header h1 { font-size: 1.35rem; }
  nav a { padding: 0.6rem 0.75rem; font-size: 0.8rem; }
  .chart-embed { height: 420px; }
}

/* ================================================================
   WAYBACK FIDELITY PASS — coviddashboard.live September 2021
   ================================================================ */

:root {
  --sage-green: #5cdb95;
  --sage-green-dark: #4bc882;
  --sage-teal: #379683;
  --sage-black: #000000;
  --sage-text-dark: #202020;
  --sage-text-light: #ffffff;
  --sage-muted: rgba(255,255,255,0.7);
  --sage-link-dark: #000000;
  --sage-link-light: #ffffff;
}

html,
body {
  background: var(--sage-teal) !important;
  color: var(--sage-text-light) !important;
  font-family: "Public Sans", Arial, sans-serif;
  line-height: 1.65;
}

header {
  background: var(--sage-green) !important;
  color: var(--sage-black) !important;
  padding: 34px 0 12px;
}

header .container,
nav .container,
main,
footer {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

header h1 {
  color: var(--sage-black) !important;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

.subtitle {
  display: none !important;
}

nav {
  position: static !important;
  background: var(--sage-green) !important;
  box-shadow: none !important;
  border: 0 !important;
}

nav .container {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  overflow: visible;
  padding-top: 10px;
  padding-bottom: 22px;
}

nav a {
  color: var(--sage-black) !important;
  opacity: 1;
  padding: 0 0 6px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

nav a.active,
nav a:hover {
  color: var(--sage-black) !important;
  border-bottom-color: var(--sage-black);
}

main,
body {
  background: var(--sage-teal) !important;
}

main {
  padding-top: 0;
  padding-bottom: 56px;
}

/* ---- Intro band ---- */
.intro-band {
  background: transparent !important;
  color: var(--sage-text-light) !important;
  padding: 26px 0 0;
  margin: 0;
}

.intro-band p,
.intro-band li,
.intro-band h3,
.intro-band h6 {
  color: var(--sage-text-light) !important;
}

.intro-band a {
  color: var(--sage-text-light) !important;
  text-decoration: underline;
}

.intro-text {
  max-width: 820px;
  margin-bottom: 28px;
}

.intro-text p:first-child {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 22px;
  line-height: 1.55;
  margin-bottom: 18px;
}

/* ---- Contents block ---- */
.contents-block {
  margin: 24px 0 36px;
}

.contents-block h3 {
  color: var(--sage-text-light) !important;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 24px;
  margin: 0 0 14px;
}

.contents-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

.contents-col h6 {
  color: var(--sage-text-light) !important;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 16px;
  margin: 18px 0 6px;
}

.contents-col ul {
  margin: 0 0 14px 20px;
  padding: 0;
}

.contents-col li {
  margin-bottom: 5px;
}

.contents-col a {
  color: var(--sage-text-light) !important;
  text-decoration: underline;
}

/* ---- Section divider heading ---- */
.section-divider {
  background: transparent !important;
  padding: 12px 0 18px;
  margin: 0;
}

.section-divider h1 {
  color: var(--sage-text-light) !important;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 44px;
  line-height: 1.15;
  margin: 0;
}

/* ---- Chart / graph sections ---- */
.graphs {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  margin: 0 0 46px;
  color: var(--sage-text-light) !important;
}

.graphs .section-header {
  padding: 0;
}

.graphs h2 {
  color: var(--sage-text-light) !important;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 14px;
}

.graphs p,
.graphs .description {
  color: var(--sage-text-light) !important;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.graphs a,
.graphs .description a,
.graphs .sources a,
.back-to-top a {
  color: var(--sage-text-light) !important;
  text-decoration: underline;
}

.chart-embed {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  background: #ffffff;
  margin: 18px 0;
}

.graphs .sources {
  background: transparent !important;
  border: 0 !important;
  color: var(--sage-text-light) !important;
  padding: 0;
  font-size: 15px;
}

.graphs .sources strong {
  color: var(--sage-text-light) !important;
  font-weight: 700;
}

/* ---- Back to top ---- */
.back-to-top {
  padding: 0;
  margin: 12px 0 0;
  font-size: 15px;
}

.back-to-top a {
  color: var(--sage-text-light) !important;
  text-decoration: none;
}

.back-to-top a:hover {
  text-decoration: underline;
}

/* ---- Footer (fidelity pass) ---- */
footer {
  background: var(--sage-teal) !important;
  color: var(--sage-text-light) !important;
  text-align: center;
  padding-top: 36px;
  padding-bottom: 42px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

footer a,
footer .original-credit {
  color: var(--sage-muted) !important;
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
  header .container,
  nav .container,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  nav .container {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

  header h1 {
    font-size: 24px;
  }

  .contents-columns {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-divider h1 {
    font-size: 34px;
  }

  .graphs h2 {
    font-size: 21px;
  }

  .chart-embed {
    height: 430px;
  }
}
