/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base ── */
body {
  background: #1a1a1a;
  color: #ccc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ── Links ── */
a {
  color: #cc7832;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ── Header ── */
.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #444;
  padding-bottom: 1rem;
}
.site-title a {
  color: #e8e8e8;
}
.site-title .rss {
  font-size: 0.9rem;
  color: #cc7832;
  vertical-align: middle;
}

/* ── Headings ── */
h2 {
  font-size: 1.2rem;
  color: #e8e8e8;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dotted #555;
}

h3 {
  font-size: 1.05rem;
  color: #e8e8e8;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ── Content ── */
p {
  margin-bottom: 1rem;
}

ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.3rem;
}

time {
  color: #999;
}

/* ── Post ── */
.post-date {
  display: block;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.content {
  margin-top: 1rem;
}

.content h2 {
  margin-top: 2rem;
}

.content h3 {
  color: #cc7832;
}
.content h3 a {
  color: inherit;
}
.content h3 a:hover {
  text-decoration: underline;
}

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

.content blockquote {
  border-left: 3px solid #555;
  padding-left: 1rem;
  color: #aaa;
  margin: 1rem 0;
}

.content pre {
  background: #111;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 4px;
  margin: 1rem 0;
}

.content code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, monospace;
  font-size: 0.9em;
}

.content p code {
  background: #2a2a2a;
  padding: 0.15em 0.4em;
  border-radius: 3px;
}
