:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(90deg, #f5f5f5 0 250px, #fff 250px);
}

a {
  color: inherit;
}

.site-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.site-nav {
  padding: 48px 40px;
}

.site-title {
  margin: 54px 0 54px;
  color: #ff5353;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.site-mark {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 36px;
}

.site-mark span {
  display: block;
  width: 32px;
  height: 32px;
  background: url("/historical-site/assets/robin.png") center / contain no-repeat;
}

.site-mark span:first-child {
  background-image: url("/historical-site/assets/batman.png");
}

.site-nav ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.site-nav span {
  display: inline-block;
  padding: 2px 7px;
  color: #111;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #c93434;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-nav [aria-current="page"] {
  color: #fff;
  background: #171717;
  font-weight: 700;
}

main {
  width: min(100%, 1040px);
  padding: 78px 68px 40px;
}

h1,
h2 {
  color: #242424;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-stretch: condensed;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 58px;
  padding-bottom: 12px;
  border-bottom: 12px solid #ff5353;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  text-align: center;
}

h2 {
  margin: 58px 0 30px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
}

h3 {
  margin: 32px 0 12px;
  color: #ff5353;
  font-size: 1.35rem;
  font-weight: 400;
}

p,
li {
  font-size: 1.05rem;
}

ul,
ol {
  padding-left: 2rem;
}

pre {
  overflow-x: auto;
  padding: 14px 18px;
  border-left: 5px solid #ff5353;
  background: #f5f5f5;
  font-size: 1rem;
}

.board-image {
  display: block;
  width: min(100%, 920px);
  height: auto;
  margin: 36px auto;
}

footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.75rem;
}

.notice-page {
  padding: 3rem 1.5rem;
  background: #fff;
}

.notice-page main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0;
}

.notice-page h1 {
  margin-bottom: 2rem;
  text-align: left;
}

.notice-page a {
  color: #b52f2f;
}

@media (max-width: 760px) {
  body {
    background: #fff;
  }

  .site-shell {
    display: block;
  }

  .site-nav {
    padding: 22px 20px 18px;
    border-bottom: 1px solid #ddd;
    background: #f5f5f5;
  }

  .site-mark {
    display: none;
  }

  .site-title {
    margin: 0 0 16px;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  main {
    padding: 38px 22px 32px;
  }

  h1 {
    margin-bottom: 36px;
    border-bottom-width: 8px;
    text-align: left;
  }

  h2 {
    margin-top: 42px;
  }
}
