:root {
  --ink: #1d1d1b;
  --muted: #5f6368;
  --rule: #ddd8cf;
  --paper: #fdfcf9;
  --accent: #b5470f;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 19px/1.6 var(--serif); }
a { color: var(--accent); }
a:hover { color: var(--ink); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { border-bottom: 3px solid var(--ink); background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 10px; flex-wrap: wrap; }
.site-name { font: 800 28px/1 var(--sans); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; text-transform: uppercase; }
.site-search input { font: 15px var(--sans); padding: 7px 10px; border: 1px solid var(--rule); border-radius: 4px; width: 220px; max-width: 100%; }
.archive-note { margin: 0; padding: 6px 20px; background: #f3efe6; font: 14px/1.4 var(--sans); color: var(--muted); text-align: center; }

/* article */
main.wrap { padding-top: 28px; padding-bottom: 48px; }
.kicker { font: 700 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px; }
.kicker a { text-decoration: none; }
.post h1 { font: 700 38px/1.15 var(--sans); letter-spacing: -0.015em; margin: 0 0 14px; }
.meta { font: 15px/1.4 var(--sans); color: var(--muted); margin: 0 0 24px; }
.meta a { color: var(--ink); }
.hero { margin: 0 0 28px; }
.hero figcaption, .wp-caption-text, .wp-media-credit, figcaption { font: 14px/1.45 var(--sans); color: var(--muted); margin: 6px 0 0; }
.wp-media-credit { text-align: right; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
.entry img, .hero img { max-width: 100%; height: auto; display: block; }
.entry iframe { max-width: 100%; border: 0; }
.entry .wp-caption { max-width: 100% !important; margin: 24px 0; }
.entry .alignright { float: right; margin: 6px 0 12px 20px; max-width: 45% !important; }
.entry .alignleft { float: left; margin: 6px 20px 12px 0; max-width: 45% !important; }
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.entry blockquote { margin: 28px 0; padding: 4px 22px; border-left: 4px solid var(--accent); background: #f6f2ea; }
.entry table { border-collapse: collapse; font: 15px var(--sans); width: 100%; overflow-x: auto; display: block; }
.entry td, .entry th { border: 1px solid var(--rule); padding: 6px 8px; }
.entry h2, .entry h3, .entry h4 { font-family: var(--sans); line-height: 1.25; margin-top: 1.8em; }
.entry .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.entry .gallery br { display: none; }
.entry .gallery-item { margin: 0; }
.entry::after { content: ""; display: block; clear: both; }
.terms { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--rule); font: 15px/1.5 var(--sans); color: var(--muted); }
.terms p { margin: 4px 0; }

/* listings */
.intro { font-size: 18px; border-bottom: 1px solid var(--rule); margin-bottom: 12px; }
.listing-title { font: 700 30px/1.2 var(--sans); margin: 0 0 20px; }
.listing { list-style: none; margin: 0; padding: 0; }
.summary { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.summary h2 { font: 700 22px/1.25 var(--sans); margin: 0 0 6px; }
.summary h2 a { color: var(--ink); text-decoration: none; }
.summary h2 a:hover { color: var(--accent); }
.summary .meta { margin-bottom: 8px; }
.summary p { margin: 0; font-size: 17px; }

.site-footer { border-top: 1px solid var(--rule); font: 14px/1.5 var(--sans); color: var(--muted); padding: 20px 0 40px; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .post h1 { font-size: 29px; }
  .entry .alignright, .entry .alignleft { float: none; margin: 16px 0; max-width: 100% !important; }
}

/* Navis slideshows from the old site, shown as stacked slides */
.entry .navis-slideshow > div { margin: 24px 0; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.entry .navis-slideshow > div:last-child { border-bottom: 0; }

.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; font: 15px var(--sans); color: var(--muted); }
.site-footer a { color: var(--muted); }
