.historical-theme { min-height: 100vh; color: #111; }
.historical-theme .header nav {
  height: auto;
  min-height: 35px;
  background-color: #24416e;
}
.historical-theme .header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .4rem clamp(1rem, 4.5vw, 4rem);
  max-width: 1000px;
  min-height: 35px;
  margin: auto;
  padding: .5rem 1rem;
  box-sizing: border-box;
}
.historical-theme .header nav li { width: auto; margin: 0; }
.historical-theme nav a { line-height: 1.4; color: #e9ecf6; }
.historical-theme nav a:hover, .historical-theme nav a:focus-visible { text-decoration: underline; color: #fff; }
.historical-theme nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
.historical-theme .header_main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2rem, 1000px);
  min-height: 85px;
  height: auto;
  padding: .75rem 0;
  box-sizing: border-box;
}
.historical-theme .header_main .logo { float: none; margin: 0; flex: 0 1 auto; }
.historical-theme .logo img { display: block; max-width: 100%; height: auto; }
.historical-theme .site-name { font-size: 1.4rem; font-weight: 700; color: #263f63; }
.historical-theme .context { max-width: 27rem; font-size: .875rem; color: #445363; line-height: 1.45; }
.historical-theme .historical-hero {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(170px, 24vw, 330px);
  margin: 0;
  padding: 1rem 0;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
}
.historical-theme .historical-hero .header_info { width: min(100% - 2rem, 1000px); margin: 0 auto; }
.historical-theme .historical-hero .header_info > p {
  float: none;
  width: fit-content;
  max-width: min(25rem, 100%);
  margin: 0;
  padding: .8rem 1rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .9);
  color: #162b4a;
  font-size: clamp(1.1rem, 2.7vw, 1.55rem);
  text-transform: none;
  text-align: left;
}
.historical-theme .historical-hero .header_info span {
  display: block;
  margin-top: .35rem;
  font-size: .875rem;
  line-height: 1.4;
}
.historical-theme .wrapper {
  width: min(100% - 2rem, 1000px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.84fr);
  gap: 2rem;
  margin: 0 auto 2rem;
  align-items: start;
}
.historical-theme .content {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  float: none;
  margin: 0;
  overflow-wrap: anywhere;
  padding: 25px 20px;
}
.historical-theme .left-sidebar {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  float: none;
  margin: 0;
  padding: 1rem;
}
.historical-theme .left-sidebar ul { margin: 0; padding: 0; list-style: none; }
.historical-theme .left-sidebar li + li { margin-top: .65rem; }
.historical-theme .left-sidebar a { font-size: .9375rem; color: #245080; text-underline-offset: .15em; }
.historical-theme .footer_content { display: flex; gap: 1rem; justify-content: space-between; padding-inline: 1rem; box-sizing: border-box; }
.historical-theme .footer_content a { color: inherit; text-decoration: underline; }
@media (max-width: 760px) {
  .historical-theme .wrapper { display: flex; flex-direction: column; gap: 1rem; }
  .historical-theme .content, .historical-theme .left-sidebar { width: 100%; box-sizing: border-box; }
  .historical-theme .content H1 { font-size: clamp(1.4rem, 5.5vw, 1.65rem); }
  .historical-theme .header_main { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .historical-theme .header nav ul { justify-content: flex-start; }
}
