:root {
  --bg: #faf9f6;
  --text: #2b2a27;
  --muted: #7a766e;
  --accent: #2f5d46;
  --accent-light: #e8f0e9;
  --border: #e4e1da;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  padding: 36px 0 8px;
}

header.site .site-name {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}

header.site .site-name a {
  color: var(--accent);
  text-decoration: none;
}

header.site .tagline {
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
}

nav.main {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}

nav.main a {
  color: var(--text);
  text-decoration: none;
  margin-right: 18px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
}

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

main {
  padding: 28px 0 40px;
}

.post-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.post-thumb {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.post-body {
  flex: 1;
  min-width: 0;
}

.post-item h2 {
  font-size: 1.25rem;
  line-height: 1.35;
}

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

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

.post-item time {
  display: block;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  margin: 2px 0 6px;
}

.post-item p.excerpt {
  color: #4b4945;
}

a.more {
  color: var(--accent);
  text-decoration: none;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem;
}

a.more:hover {
  text-decoration: underline;
}

article h1 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

article time {
  display: block;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

article p {
  margin-bottom: 14px;
}

article h2 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
}

article ul, article ol {
  margin: 0 0 14px 24px;
}

article li {
  margin-bottom: 6px;
}

article blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-light);
  padding: 10px 14px;
  margin: 0 0 14px;
  font-style: italic;
}

p.page-lead {
  color: #4b4945;
  margin-bottom: 18px;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 16px 0 40px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

footer.site a {
  color: var(--muted);
}

.error-big {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 8px;
}

article figure.hero {
  margin: 0 0 18px;
}

article figure.hero img {
  display: block;
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
}

article figure.hero figcaption {
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem;
  margin-top: 6px;
}

img.about-photo {
  float: right;
  width: 240px;
  margin: 4px 0 14px 18px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

@media (max-width: 600px) {
  .post-item {
    flex-direction: column;
  }

  .post-thumb {
    width: 100%;
    height: 170px;
  }

  img.about-photo {
    width: 170px;
  }
}
