/*
 * archive-banner.css — the only styling on these pages that is NOT from 2011.
 *
 * Kept in its own file, and deliberately unlike Bartik in every respect
 * (dark, sans-serif, full-bleed, tight leading), so a visitor can tell at a
 * glance where the framing ends and the original begins. bartik.css stays a
 * pure reproduction; nothing here leaks into it.
 */

.archive-banner {
  background: #1b1f24;
  color: #d7dbe0;
  border-bottom: 3px solid #009cbf;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.archive-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 15px;
}

.archive-banner__line {
  margin: 0;
}

.archive-banner__line + .archive-banner__line {
  margin-top: 3px;
}

.archive-banner__line--muted {
  color: #9aa3ad;
  font-size: 12px;
}

.archive-banner strong {
  color: #fff;
  font-weight: 600;
}

.archive-banner em {
  font-style: italic;
}

.archive-banner a {
  color: #56cdea;
  text-decoration: none;
  border-bottom: 1px solid rgba(86, 205, 234, 0.35);
}

.archive-banner a:hover,
.archive-banner a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

.archive-banner__sep {
  margin: 0 0.6em;
  color: #4a525b;
}

.archive-banner time {
  white-space: nowrap;
}

@media (max-width: 979px) {
  .archive-banner__inner { padding: 9px 15px; }
  .archive-banner { font-size: 12.5px; }
  .archive-banner__sep { display: block; height: 0; overflow: hidden; margin: 0; }
}

@media print {
  /* On paper the framing matters more, not less — keep it, but make it legible. */
  .archive-banner { background: none; color: #000; border-bottom: 1px solid #000; }
  .archive-banner a { color: #000; }
}

/* ------------------------------------------------ the one-page comment thread
 * /comments/index.html — every comment the site received, in order. Styled with
 * the archive's own serif so it reads as part of the 2011 material, but with
 * more air than Drupal gave it, because here it is the primary text rather than
 * an afterthought below an article.
 */
.thread { max-width: 42em; }

.thread > p {
  font-size: 1.071em;
  line-height: 1.6;
  margin: 0 0 1.2em;
}

.thread-item {
  margin: 2em 0;
  padding: 1em 0 0;
  border-top: 1px solid #d3d7d9;
}

.thread-meta {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.821em;
  color: #68696b;
  margin-bottom: 0.4em;
}

.thread-author { font-weight: bold; color: #4a4a4a; }
.thread-when::before,
.thread-on::before { content: ' · '; color: #b8bcbf; }
.thread-on a { color: #009cbf; text-decoration: none; }

.thread-item h3 {
  margin: 0.2em 0 0.5em;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.17em;
  font-weight: normal;
}

.thread-body { line-height: 1.6; }
.thread-body p { margin: 0 0 0.8em; }

/* ------------------------------------------------------ the contents page
 * /contents.html — a flat index of everything, because the 2011 menu only ever
 * showed the branch you were standing in.
 */
.toc { list-style: none; margin: 0.6em 0 1.6em; padding: 0; }
.toc li { margin: 0.28em 0; line-height: 1.45; }
.toc a { color: #009cbf; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Indentation mirrors the original book hierarchy. */
.toc-d1 { padding-left: 1.5em; }
.toc-d2 { padding-left: 3em; }
.toc-d3 { padding-left: 4.5em; }

.toc-date {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.786em;
  color: #68696b;
  white-space: nowrap;
}

.toc-chrono { list-style: none; padding: 0; }
.toc-chrono .toc-date { display: inline-block; width: 6.5em; }

.toc-foot { font-size: 0.929em; color: #68696b; }
