/* Shared “Black and Yellow” chapter layout (index-2, history, tt, support, chaptermap) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000 url("/img/Infinity_Blue_by_vladstudio.jpg") no-repeat center top;
  background-size: cover;
  color: #ff0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

a {
  color: #ff0;
}

a:hover {
  color: #fff;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: center;
  align-items: center;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 2px solid #ff0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav a {
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  padding: 0.25rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 3px;
}

.site-nav a:hover {
  border-color: #ff0;
  background: rgba(255, 255, 0, 0.08);
}

.site-nav a[aria-current="page"] {
  border-color: #ff0;
  background: rgba(255, 255, 0, 0.12);
}

.rand {
  border: thin solid #ff0;
}

.achtergrondimghoofdtabel {
  background-image: url("/img/home.jpg");
  border: thin solid #ff0;
}

.Achtergrond-midden-tabel {
  background-repeat: no-repeat;
  background-image: url("/img/home-midle.jpg");
  background-position: center top;
  text-align: center;
}

.Achtergrond-midden-tabel .rand {
  font-weight: normal;
}

.Achtergrond-midden-tabel table {
  text-align: left;
}

.vervolg-onder tr td {
  color: #fff;
  font-weight: bold;
}

.chapter-shell {
  max-width: 1114px;
  margin: 0 auto 2rem;
  padding: 0 0.5rem;
}

.chapter-shell table.rand {
  width: 100%;
  max-width: 1114px;
  margin: 0 auto;
}

.chapter-shell img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

@media (max-width: 900px) {
  .chapter-shell table.rand,
  .chapter-shell table.rand tr,
  .chapter-shell table.rand td {
    display: block;
    width: 100% !important;
    height: auto !important;
  }

  .chapter-shell table.rand td[width="193"],
  .chapter-shell table.rand td[width="189"] {
    text-align: center;
  }

  .Achtergrond-midden-tabel {
    min-height: 280px;
    padding: 1rem 0.5rem;
  }
}
