:root {
  --bg: #1c1c1e;
  --text: #e8e8ea;
  --muted: #9a9aa2;
  --accent: #7fb2e5;
  --border: #333336;
  --max-width: 680px;
}

* { box-sizing: border-box; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  font-size: 1.05rem;
}

header {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.site-name {
  font-weight: bold;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-sep {
  color: var(--muted);
}
  color: var.top-nav a {(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.top-nav a:hover {
  color: var(--accent);
}

h1 {
  font-size: 1.7rem;
  line-height: 1.3;
  margin: 0.5rem 0 1rem;
  color: var(--text);
}

h2, h3 {
  margin-top: 2rem;
  color: var(--text);
}

a {
  color: var(--accent);
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.post-meta a {
  color: var(--muted);
}

article p, article ul, article ol, article blockquote {
  margin: 1rem 0;
}

blockquote {
  border-left: 3px solid var(--border);
  margin-left: 0;
  padding-left: 1rem;
  color: var(--muted);
}

code {
  background: #2a2a2d;
  color: var(--text);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background: #2a2a2d;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 4px;
}

pre code {
  background: none;
  padding: 0;
}

.footnotes {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.post-list-item {
  margin-bottom: 1.75rem;
}

.post-list-item h2 {
  margin: 0 0 0.15rem;
  font-size: 1.2rem;
}

.post-list-item h2 a {
  text-decoration: none;
  color: var(--text);
}

.post-list-item h2 a:hover {
  color: var(--accent);
}

.post-list-item .post-meta {
  margin-bottom: 0.4rem;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

footer nav a {
  color: var(--muted);
  text-decoration: underline;
}

footer nav a:hover {
  color: var(--accent);
}

.copyright {
  margin-top: 0.5rem;
}
figure {
  margin: 2rem 0;
}

figure img {
  width: 100%;
  border-radius: 4px;
}

figcaption {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.5rem;
  line-height: 1.4;
}

figcaption .photo-credit {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.tag-search-input {
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}

.tag-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.tag-pill:hover {
  border-color: var(--accent);
  color: var(--text);
}

.tag-pill.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.clear-tags-btn {
  background: none;
  border: none;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  padding: 0;
  font-family: inherit;
}

.no-results {
  color: var(--muted);
}