/* mid-90s campaign-site energy, kept small */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 16px 8px;
  background: #d6d2c4 url("../img/bg.png") repeat;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: #0000ff;
  text-decoration: underline;
}

a:visited {
  color: #800080;
}

a:active {
  color: #ff0000;
}

table.page {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border: 2px solid #000080;
  border-collapse: collapse;
  table-layout: fixed;
  box-sizing: border-box;
}

td.banner {
  padding: 8px 10px 10px;
  background: #000080;
  color: #ffffcc;
}

a.site-title {
  display: block;
  text-decoration: none;
  line-height: 0;
}

a.site-title img {
  display: block;
  width: 78%;
  height: auto;
  margin: 0 auto;
  border: 0;
  background: transparent;
}

td.nav {
  padding: 6px 8px;
  background: #c0c0c0;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #808080;
  font-size: 14px;
}

td.content {
  padding: 14px 18px 20px;
  vertical-align: top;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

td.content img {
  max-width: 100%;
  height: auto;
}

td.content figure {
  margin: 0 0 14px;
  max-width: 100%;
}

td.content figcaption {
  margin-top: 4px;
  font-size: 13px;
  color: #333333;
  line-height: 1.3;
}

td.content h1 {
  font-size: 22px;
  margin: 0 0 10px;
  color: #000080;
}

td.content h2 {
  font-size: 18px;
  margin: 18px 0 8px;
  color: #000080;
  border-bottom: 1px solid #c0c0c0;
}

td.content p {
  margin: 0 0 12px;
  line-height: 1.35;
}

td.content .section {
  margin: 0 0 16px;
}

td.content table.section-row {
  width: 100%;
  border-collapse: collapse;
}

td.content td.section-left {
  width: 34%;
  padding: 0 6px 0 0;
  vertical-align: middle;
}

td.content td.section-right {
  padding: 0 0 0 6px;
  vertical-align: middle;
}

td.content td.section-right p {
  margin: 0;
}

td.content td.section-right p.section-head {
  margin: 0 0 6px;
  color: #000066;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: -0.5px;
}

td.content img.section-emblem {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto;
  border: 0;
  background: transparent;
}

td.content .meta {
  margin-top: -6px;
}

ul.post-list {
  margin: 0 0 12px 18px;
  padding: 0;
}

ul.post-list li {
  margin-bottom: 6px;
}

td.footer {
  padding: 4px 12px 12px;
  font-size: 13px;
  color: #333333;
  text-align: center;
}

td.footer hr {
  border: 0;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #ffffff;
  margin: 0 0 8px;
}

td.footer .footer-quote-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 2px;
}

td.footer .footer-quote-text {
  text-align: center;
}

td.footer .footer-attr {
  margin: 0;
  text-align: center;
}

button.quote-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  color: #666666;
  background: transparent;
  border: 0;
  cursor: pointer;
}

button.quote-play .quote-play-icon {
  display: block;
}

button.quote-play:hover {
  color: #000080;
}

button.quote-play:active {
  color: #000000;
}

/* phones: stack emblem above text so copy isn't clipped */
@media (max-width: 560px) {
  body {
    padding: 8px 4px;
  }

  td.content {
    padding: 12px 10px 16px;
  }

  td.content table.section-row,
  td.content table.section-row tbody,
  td.content table.section-row tr,
  td.content td.section-left,
  td.content td.section-right {
    display: block;
    width: 100%;
  }

  td.content td.section-left {
    padding: 0 0 6px;
    text-align: center;
  }

  td.content td.section-right {
    padding: 0;
  }

  td.content img.section-emblem {
    max-width: 200px;
  }

  td.footer .footer-quote-row {
    flex-wrap: wrap;
    padding: 0 4px;
  }
}
