/* The archived desktop stylesheet is loaded first. */
body {
  margin: 8px;
  color: #141414;
  background: #fff;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 100%;
}

.head {
  background-color: #16496c;
}

.head .name .t {
  max-width: calc(100vw - 145px);
  overflow-wrap: anywhere;
  text-shadow: 0 1px 3px #002752;
}

.head .menu {
  height: auto;
  min-height: 40px;
}

.head .menu ul {
  display: flex;
  flex-wrap: wrap;
}

.title h1 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  padding: 10px;
  text-align: center;
}

.historical-columns::after {
  content: "";
  display: block;
  clear: both;
}

.historical-columns .content {
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.historical-columns .content img {
  height: auto;
  max-width: 100%;
}

.historic-intro {
  color: #364d5f;
}

.historical-footer {
  clear: both;
  padding: 12px 0 0;
  color: #364d5f;
  font-size: 14px;
}

.not-found {
  max-width: 40rem;
  margin: 4rem auto;
  padding: 0 1rem;
}

@media (min-width: 1020px) {
  .historical-columns.without-left .center {
    margin-left: 260px;
  }
}

@media (max-width: 1019px) {
  .head {
    background-position: center top;
  }

  .head .menu ul li a {
    padding-inline: 18px;
  }

  .body.historical-columns {
    display: grid;
    grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
    gap: 12px;
  }

  .body.historical-columns.without-left {
    display: block;
  }

  .body.historical-columns :is(.left, .center, .right) {
    float: none;
    width: auto !important;
    margin: 0;
    min-width: 0;
  }

  .body.historical-columns .right {
    grid-column: 2;
  }

  .body.historical-columns .content :is(.column, .date, .text) {
    width: auto !important;
    max-width: 100%;
  }

  .body.historical-columns .content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 580px) {
  .body.historical-columns {
    display: flex;
    flex-direction: column;
  }

  .body.historical-columns .center {
    order: -1;
  }

  .head .menu ul li a {
    font-size: 16px;
    line-height: 36px;
    padding-inline: 10px;
  }

  .head .name {
    left: 10px;
  }

  .name .t {
    font-size: 18px;
    margin-left: 10px;
  }
}
