/* Historical material retains its original markup and photo captions. */
.historical-page .site-header {
  border-bottom: 4px solid #38BDF8;
}

.historical-content {
  word-wrap: break-word;
}

.historical-content p {
  max-width: none;
}

.historical-content img {
  max-width: 100%;
  height: auto;
}

.historical-content img[align="left"] {
  margin: 0 12px 8px 0;
}

.historical-content img[align="right"] {
  margin: 0 0 8px 12px;
}

.historical-content.article font[face="Courier New"] {
  font-family: "Segoe UI", Arial, sans-serif;
}

.historical-content.article font[size="2"] {
  font-size: inherit;
}

.historical-content.article > p:first-child,
.historical-content.photos > center:first-of-type,
.historical-content.directory > center:first-of-type,
.historical-content.archive-diary > p:first-child {
  margin: 0 0 16px;
  color: #142335;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.25;
}

.historical-content.article > p:first-child font,
.historical-content.photos > center:first-of-type font,
.historical-content.directory > center:first-of-type font,
.historical-content.archive-diary > p:first-child font {
  color: inherit;
  font: inherit;
}

.historical-content.archive-diary .auto-style9,
.historical-content.archive-diary .auto-style11,
.historical-content.archive-diary .auto-style15,
.historical-content.archive-diary .auto-style33 {
  color: #075985;
}

@media (max-width: 520px) {
  .historical-content img[align="left"],
  .historical-content img[align="right"] {
    float: none;
    display: block;
    margin: 0 auto 8px;
  }
}

/* Keep the original contest score columns aligned on narrow screens. */
.historical-content.archive-diary pre {
  max-width: 100%;
  overflow: auto;
}
