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

body {
  font-family: 'Georgia', serif;
  line-height: 1.7;
  color: #2d2d2d;
  background: #fafaf8;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e8e4df;
}

header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
}

.subtitle {
  color: #888;
  font-style: italic;
  margin-top: 0.3rem;
}

nav { margin-top: 0.8rem; }
nav a { color: #c0392b; text-decoration: none; font-size: 0.95rem; }
nav a:hover { text-decoration: underline; }

/* Two-column layout */
.layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

main {
  flex: 1;
  min-width: 0;
}

/* Blog posts */
article {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

article h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
article h2 a { color: #1a1a1a; text-decoration: none; }
article h2 a:hover { color: #c0392b; }

time {
  font-size: 0.85rem;
  color: #999;
  display: block;
  margin-bottom: 0.8rem;
}

article p { margin-bottom: 0.5rem; }

.read-more {
  color: #c0392b;
  text-decoration: none;
  font-size: 0.9rem;
}

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

.back { display: inline-block; margin-bottom: 1.5rem; color: #c0392b; text-decoration: none; }
.back:hover { text-decoration: underline; }

.post-content p { margin-bottom: 1rem; }
.post-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.post-content li { margin-bottom: 0.3rem; }

/* Research sidebar */
.research-sidebar {
  width: 300px;
  flex-shrink: 0;
  background: #f5f3ef;
  border-radius: 8px;
  padding: 1.2rem;
  position: sticky;
  top: 2rem;
}

.research-sidebar h3 {
  font-size: 1.1rem;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

.sidebar-subtitle {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e0ddd7;
}

.sidebar-section {
  margin-bottom: 1.2rem;
}

.sidebar-section h4 {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.6rem;
}

.sidebar-section a {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.sidebar-section a:hover { color: #c0392b; }

.sidebar-section p {
  font-size: 0.78rem;
  color: #777;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.conf-tag {
  display: inline-block;
  background: #fdf2f0;
  color: #c0392b;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-bottom: 0.15rem;
}

.sidebar-more {
  display: block;
  text-align: center;
  color: #c0392b;
  text-decoration: none;
  font-size: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e0ddd7;
}

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

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }
  .research-sidebar {
    width: 100%;
    position: static;
  }
  body {
    max-width: 720px;
  }
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  color: #aaa;
  font-size: 0.85rem;
}
