* { box-sizing: border-box; }
html { background: #e8e8e8; }
body {
  margin: 0;
  color: #111;
  background: #e8e8e8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1.4;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 22px 40px;
  background: #fff;
  border-left: 2px solid #777;
  border-right: 2px solid #777;
}
h1 { margin: 0 0 8px; font-size: 38px; line-height: 1.15; }
h2 { margin: 34px 0 8px; font-size: 29px; line-height: 1.2; }
h3 { margin: 0; font-size: 24px; line-height: 1.25; }
p { margin: 10px 0; }
a { color: #111; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus, input:focus, button:focus { outline: 4px solid #555; outline-offset: 3px; }
.subtitle { margin: 0 0 22px; color: #333; }
.search {
  margin: 22px 0 28px;
  padding: 18px;
  background: #eee;
  border: 2px solid #777;
}
.search label { display: block; margin-bottom: 8px; font-weight: bold; }
.search input, .search button {
  display: block;
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  border: 2px solid #111;
  border-radius: 3px;
  font: inherit;
}
.search input { margin-bottom: 12px; background: #fff; color: #111; }
.search button { background: #111; color: #fff; font-weight: bold; }
.chart { margin-top: 30px; padding-top: 4px; border-top: 3px solid #222; }
.chart h2 { margin-top: 16px; }
.source-line { margin: 0 0 12px; color: #333; font-size: 18px; }
.notice {
  margin: 14px 0;
  padding: 12px 14px;
  background: #f2f2f2;
  border: 2px solid #888;
  font-size: 19px;
}
.book-list { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: books; }
.book-list li { margin: 0; padding: 0; border-top: 2px solid #aaa; counter-increment: books; }
.book-list li:first-child { border-top-color: #333; }
.book-list a {
  display: block;
  position: relative;
  min-height: 82px;
  padding: 16px 8px 16px 58px;
  color: #111;
  text-decoration: none;
}
.book-list a::before {
  content: counter(books) ".";
  position: absolute;
  left: 5px;
  top: 16px;
  width: 42px;
  font-weight: bold;
  font-size: 25px;
}
.book-title { display: block; font-weight: bold; font-size: 24px; line-height: 1.25; }
.book-author { display: block; margin-top: 5px; color: #333; font-size: 20px; }
.book-meta { display: block; margin-top: 3px; color: #444; font-size: 17px; }
.back { display: inline-block; margin: 0 0 20px; padding: 10px 0; font-weight: bold; }
.detail { border-top: 3px solid #222; padding-top: 18px; }
.detail .author { font-size: 25px; font-weight: bold; }
.description { margin: 22px 0; padding: 18px 0; border-top: 2px solid #aaa; border-bottom: 2px solid #aaa; }
.actions { margin: 22px 0; }
.action {
  display: block;
  min-height: 66px;
  margin: 0 0 14px;
  padding: 15px 16px;
  background: #111;
  color: #fff;
  border: 2px solid #111;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
.action.secondary { background: #fff; color: #111; }
.help { margin-top: 26px; padding: 18px; background: #eee; border: 2px solid #888; font-size: 19px; }
.help h2 { margin: 0 0 8px; font-size: 23px; }
.footer { margin-top: 32px; padding-top: 16px; border-top: 2px solid #999; color: #444; font-size: 17px; }
.tiles { width: 100%; border-collapse: separate; border-spacing: 10px; margin: 0 -10px; }
.tiles td { width: 50%; padding: 0; vertical-align: top; }
.tile { display: block; padding: 20px 8px 18px; background: #fff; color: #111; border: 2px solid #111; border-radius: 3px; text-align: center; text-decoration: none; font-weight: bold; font-size: 23px; line-height: 1.25; }
.tile img { display: block; width: 128px; height: 128px; margin: 0 auto 12px; }
.error { border: 3px solid #111; padding: 16px; background: #eee; }
.article-list { margin: 18px 0 0; padding: 0; list-style: none; }
.article-list li { border-top: 2px solid #999; }
.article-list a { display: block; min-height: 88px; padding: 18px 6px; color: #111; text-decoration: none; }
.article-title { display: block; font-size: 25px; font-weight: bold; line-height: 1.25; }
.article-summary { display: block; margin-top: 7px; color: #333; font-size: 20px; line-height: 1.35; }
.reader-article { border-top: 3px solid #222; padding-top: 18px; }
.reader-article h1 { font-size: 34px; }
.article-body { margin: 22px 0 28px; font-size: 22px; line-height: 1.52; overflow-wrap: break-word; }
.article-body p { margin: 0 0 18px; }
.article-body h2, .article-body h3 { margin: 28px 0 10px; font-size: 26px; }
.article-body ul, .article-body ol { padding-left: 28px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { margin: 18px 0; padding-left: 16px; border-left: 4px solid #777; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 18px; }
.article-body td, .article-body th { padding: 8px; border: 1px solid #777; text-align: left; vertical-align: top; }
.article-body figure { margin: 16px 0; }
.article-body figure .article-image { margin: 0; }
.article-body figcaption { margin-top: 6px; color: #444; font-size: 17px; line-height: 1.35; }
.article-image { display: block; width: 100%; max-width: 100%; height: auto; margin: 16px 0; border: 1px solid #777; }
.weather-now { margin: 22px 0; padding: 20px; text-align: center; background: #eee; border: 2px solid #777; }
.weather-now .temperature { display: block; font-size: 58px; font-weight: bold; line-height: 1.1; }
.weather-now h2 { margin: 10px 0 4px; }
.weather-section { margin-top: 26px; border-top: 3px solid #222; }
.weather-section h2 { margin-top: 16px; }
.weather-list { margin: 12px 0; padding: 0; list-style: none; }
.weather-list li { padding: 14px 4px; border-top: 2px solid #aaa; }
.weather-list strong, .weather-list span { display: block; }
.weather-list strong { font-size: 22px; }
.weather-list span { margin-top: 4px; color: #333; font-size: 19px; }
@media (max-width: 600px) {
  body { font-size: 20px; }
  main { padding: 20px 16px 32px; border: 0; }
  h1 { font-size: 32px; }
  .book-title, .article-title { font-size: 23px; }
  .article-summary { font-size: 19px; }
  .article-body { font-size: 21px; }
}
