
:root {
  --wrap: 760px;
  --body: #111;
  --muted: #555;
  --link: #003399;
  --visited: #003399;
  --rule: #cfcfcf;
  --soft: #f7f7f7;
}

html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  margin: 0;
  color: var(--body);
  background: #fff;
  font: 14px/1.5 Verdana, Arial, Helvetica, sans-serif;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: var(--link); }
p { margin: 0 0 1em 0; padding: 0; }
h1, h2, h3 { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; }
h3 { font-size: 13px; color: #000; margin-top: 20px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 24px 24px 24px; }
header { position: relative; margin-bottom: 8px; }
.home-logo { position: absolute; top: 0; left: 0; display: block !important; transform: translateY(-17px); }
.home-logo img { width: 28px; height: auto; display: block; }
.search-area { text-align: right; display: flex !important; flex-direction: column; align-items: flex-end; position: absolute; top: 0; right: 0; transform: translateY(-17px); }
.searchbar { display: flex; flex-direction: column; align-items: flex-end; }
.search-wrapper { display: flex; flex-direction: column; align-items: flex-end; }
.searchbar input[type="search"] { width: 225px; padding: 3px 4px; border: 1px solid #888; border-radius: 1px; height: 20px; margin-bottom: 2px; margin-right: 5px; }
.searchbar button { padding: 1px 8px; font-size: 12px; border: 1px solid #888; background: #eee; border-radius: 1px; cursor: pointer; align-self: flex-start; color: inherit; }
.search-toggle { display: none !important; }
.titles { text-align: center; padding-top: 10px; }
.titles h1 { font-size: 25px; margin: 0; line-height: 1.1; padding-top: 50px; }
.tag { font-size: 12px; color: #333; margin-top: 10px; }
hr { border: 0; height: 1px; background: var(--rule); margin: 24px 0; }
.intro { margin-left: 10px; margin-right: 10px; }
.quote-feed { margin: 0 10px; }
.quote-card { padding: 18px 0 22px; border-bottom: 1px solid var(--rule); }
.quote-card h2 { font-size: 16px; margin: 0 0 12px 0; color: var(--link); font-weight: normal; }
.quote-card blockquote, .single-quote blockquote { margin: 0 0 12px 20px; padding: 0 0 0 18px; border-left: 3px solid #d8d8d8; color: #111; font-size: 14px; line-height: 1.6; }
.quote-card .attribution, .single-quote .attribution { margin-left: 38px; color: var(--muted); font-size: 13px; }
.quote-card .read-link { display: inline-block; margin-left: 38px; margin-top: 3px; font-size: 12px; }
.load-area { text-align: center; margin: 24px 0; }
.load-area button { padding: 6px 14px; border: 1px solid #888; background: #eee; border-radius: 1px; cursor: pointer; font: 12px Verdana, Arial, Helvetica, sans-serif; }
.single-quote { margin: 0 10px; }
.quote-nav { display: flex; justify-content: space-between; gap: 12px; margin: 28px 10px 0; padding-top: 18px; border-top: 1px solid var(--rule); }
.quote-nav a, .quote-nav span { font-size: 13px; }
.all-quotes-link { text-align: center; margin-top: 18px; font-size: 13px; }
.no-results { display:none; margin: 24px 10px; color: var(--muted); }
footer { margin: 8px auto 0; text-align: center; font-size: 12px; color: var(--muted); }
footer .links a { color: var(--link); }
.footer-narrow { width: calc(100% - 120px); margin-left: auto; margin-right: auto; }
.footer-note { margin-top: 6px; font-size: 10px; color: #777; line-height: 1.3; text-align: center; }
.social-icons img { transform: scale(0.5); }
@media (max-width: 820px) {
  :root { --wrap: 92vw; }
  .desktop-search { display: none !important; }
  .searchbar input[type="search"] { display: none !important; }
  .search-toggle { display: block !important; width: 28px; height: 28px; border-radius: 6px; border: 1px solid #888; background: #eee; cursor: pointer; font-size: 15px; }
  .search-wrapper.active input[type="search"] { display: inline-block !important; width: 180px; padding: 4px 6px; border: 1px solid #888; margin-right: 6px; height: 26px; }
  .footer-narrow { width: 100%; }
  .quote-nav { flex-direction: column; text-align: center; }
}
@media (min-width: 821px) {
  .desktop-search { display: block !important; }
  .search-toggle { display: none !important; }
}
