@import url("/styles/light.min.css") layer(base);

@layer reset {
  body {
    max-width: unset;
  }

  tbody tr:last-of-type {
    border-bottom: none;
  }
}

@layer base {
  body {
    display: grid;
    grid-template-columns: 1fr min(70ch, 100%) 1fr;
    grid-template-rows: auto;
  }

  body > * {
    grid-column-start: 2;
  }
}

.dot-counters {
  h1 {
    counter-increment: h1;
    counter-reset: h2;
  }

  h2 {
    counter-increment: h2;
    counter-reset: h3;
  }

  h3 {
    counter-increment: h3;
  }

  h3::before {
    content: counter(h3) ". ";
  }
}

.row-year td {
  font-weight: bold;
}

footer {
  --color: var(--b-link);
  border: 1px solid var(--color);
  padding: 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  text-align: center;
}

footer p:last-child {
  margin-bottom: 0;
}
