:root {
  --bg-linen: #faf8f5;
  --bg-card: #ffffff;
  --text-charcoal: #27272a;
  --text-soft: #71717a;
  --warm-terracotta: #c2410c;
  --warm-olive: #57534e;
  --border-subtle: #f0ebe1;
  --font-serif: "Noto Serif SC", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", "Noto Sans SC", -apple-system, sans-serif;
  --max-w: 960px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-linen);
  color: var(--text-charcoal);
  font-family: var(--font-sans);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--warm-terracotta); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Header */
.blog-header {
  padding: 50px 0 30px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}
.blog-brand {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-charcoal);
  margin-bottom: 8px;
}
.blog-sub {
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.blog-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.blog-nav a { color: var(--text-soft); padding-bottom: 2px; }
.blog-nav a.active, .blog-nav a:hover { color: var(--warm-terracotta); border-bottom: 1px solid var(--warm-terracotta); }

/* Stream Posts Feed */
.stream-list {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.stream-entry {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: transform 0.2s;
}
.stream-entry:hover { transform: translateY(-2px); }
.stream-cover {
  height: 360px;
  overflow: hidden;
}
.stream-cover img { width: 100%; height: 100%; object-fit: cover; }
.stream-body { padding: 36px 40px; }
.stream-tag { font-size: 12px; font-weight: 700; color: var(--warm-terracotta); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.stream-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}
.stream-text {
  font-size: 16px;
  color: #52525b;
  line-height: 1.8;
  margin-bottom: 20px;
}
.stream-meta {
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

/* Article Page */
.post-header {
  padding: 60px 0 30px;
  text-align: center;
}
.post-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  margin: 16px 0;
}
.post-meta { font-size: 14px; color: var(--text-soft); }
.post-cover-lg { border-radius: 8px; overflow: hidden; margin-bottom: 40px; height: 420px; }
.post-cover-lg img { width: 100%; height: 100%; object-fit: cover; }
.post-body { font-size: 18px; line-height: 1.9; color: #3f3f46; margin-bottom: 80px; }
.post-body h2 { font-family: var(--font-serif); font-size: 26px; margin: 40px 0 16px; color: var(--text-charcoal); }
.post-body h3 { font-family: var(--font-serif); font-size: 20px; margin: 26px 0 12px; }
.post-body p { margin-bottom: 24px; }
.post-body blockquote {
  border-left: 3px solid var(--warm-terracotta);
  padding: 12px 24px;
  margin: 32px 0;
  background: #fdfbf7;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--text-charcoal);
}

/* Footer */
.blog-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 60px;
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .stream-cover { height: 220px; }
  .stream-body { padding: 24px 20px; }
  .blog-brand { font-size: 26px; }
  .post-title { font-size: 28px; }
}
