::selection {
  background: #000;
  color: #fff;
  text-shadow: none;
}

/* Typography */
html { font-size: 18px; }
body {
  background-color: #fff;
  color: #111;
  font-family: Georgia, 'Times New Roman', Times, serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #000;
  font-weight: 700;
  line-height: 1.25;
}

p { margin: 0 0 1.25rem; }

a {
  color: #000;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #000;
  text-decoration: underline;
}

blockquote {
  color: #444;
  font-style: italic;
  border-left: 3px solid #000;
  padding-left: 1rem;
  margin-left: 0;
}

hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
}

/* Layout */
.container {
  max-width: 960px;
}

.header,
.footer {
  padding: 1.5rem 0 1rem;
}

.header {
  border-bottom: 1px solid #000;
}

.header img {
  margin-bottom: 1rem;
  filter: grayscale(100%);
}

.header .title {
  font-weight: 800;
  margin-bottom: .25rem;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.header .title a { color: #000; text-decoration: none; }
.header .title a:hover { text-decoration: none; }

.header ul,
.header li {
  margin-bottom: .5rem;
}

.header ul {
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
}

.main {
  background-color: #fff;
  padding: 1.5rem 0;
}

.footer {
  border-top: 1px solid #000;
  color: #444;
}

.highlight pre {
  border: 1px solid #e5e5e5;
  padding: 1rem;
}

.pagination .page-link {
  color: #000;
  border: 1px solid #000;
}

/* Listing teasers */
.teaser header ul {
  list-style: none;
  padding-left: 0;
}

.teaser header li {
  margin-bottom: .5rem;
}

.teaser .content p {
  margin-bottom: 0;
}

/* Article */
.article header ul,
.article header li {
  margin-bottom: .5rem;
}

.article header li:not(:last-child) {
  margin-right: 10px;
}

.article .content a {
  text-decoration: underline;
}

.article .content img {
  filter: grayscale(100%);
}

/* Masthead sizing */
@media (min-width: 576px) {
  .header .title {
    font-size: 3.25rem;
  }
}

@media (max-width: 576px) {
  .header,
  .footer {
    text-align: center;
  }

  .teaser header li {
    display: inline-block;
  }

  .teaser header li:not(:last-child) {
    margin-right: 10px;
  }
}

.subtitle { color: #444; font-style: italic; margin-top: .25rem; }

/* Newspaper tiles grid */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1.25rem;
}

.tile {
  border-top: 1px solid #000;
  padding-top: 1rem;
}

.tile .tile-title {
  margin: 0 0 .5rem;
}

.tile .tile-meta {
  color: #555;
  font-size: .875rem;
  margin: 0 0 .5rem;
}

.tile .tile-summary {
  color: #222;
}

.tile .tile-link { color: inherit; text-decoration: none; }
.tile .tile-link:hover .tile-title { text-decoration: underline; }

/* Lead tile larger and centered */
.tile.lead {
  border-top: none;
  padding-top: 0;
}

.tile.lead .tile-body {
  text-align: center;
  padding: .5rem 0 1rem;
}

.tile.lead .tile-title {
  font-size: 2rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tile.lead {
    grid-column: 1 / -1; /* span all columns */
  }

  .tile.lead .tile-body {
    margin: 0 auto;
  }
}
