@font-face {
  font-family: 'Roboto Slab';
  src: url('/assets/roboto-slab.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root { color-scheme: light; font-family: Georgia, serif; color: #333; background: #eee; line-height: 1.65; }
body { margin: 0; overflow-wrap: anywhere; }
a { color: #087862; }
.skip { position: absolute; top: -10rem; }
.skip:focus { top: 0; padding: .5rem; background: white; }
.masthead { text-align: center; padding: 4rem 1rem 5rem; color: white; background: #252525 url('/assets/header.jpg') center / cover; }
.site-title { color: inherit; font-family: 'Segoe Script', 'Brush Script MT', cursive; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: bold; text-decoration: none; }
.social { display: flex; justify-content: center; gap: 1.5rem; }
.social a { color: inherit; }
.main-nav, footer { background: #202020; color: #bbb; }
.main-nav ul { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 1.5rem 1rem; gap: .5rem 2rem; }
.main-nav a { color: inherit; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus { color: white; }
.archive, .single { width: min(72rem, calc(100% - 2rem)); margin: 3rem auto; }
.archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; align-items: start; }
.card, .single { background: white; box-shadow: 0 1px 3px #0002; }
.card h2, .card p, .card time { margin: 0; padding: 1rem 1.25rem; }
.card h2 { font-family: 'Roboto Slab', Georgia, serif; font-size: 22.5px; line-height: 1.3; }
.card h2 a { color: inherit; text-decoration: none; }
.card-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.card h2 a:hover, .card h2 a:focus { color: #087862; }
.card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card time { display: block; border-top: 1px solid #eee; color: #666; font-size: .9rem; }
.single { box-sizing: border-box; max-width: 52rem; padding: clamp(1.25rem, 5vw, 4rem); }
.single h1 { line-height: 1.2; margin-top: 0; }
.pagination { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; }
footer { display: flex; justify-content: space-between; padding: 1.5rem max(1rem, calc((100% - 72rem) / 2)); }
footer a { color: inherit; }
img { max-width: 100%; height: auto; }
pre { overflow: auto; padding: 1rem; background: #f3f3f3; }
td, th { padding: .25rem .5rem; }
.archive.masonry { grid-auto-flow: dense; grid-auto-rows: 1px; row-gap: 0; }
.archive.masonry .pagination { grid-row-end: span 48; }
@media (max-width: 1040px) { .archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .archive { grid-template-columns: 1fr; } }
