/* Blog content styles — chrome (nav, register, footer) lives in guide-chrome.css */
:root {
  --primary-color: #c53744;
  --text: #1a1a1a;
  --muted: #6b6b6b;
}

body {
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.blog-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Blog index: align horizontal inset with nav (8%) */
.blog-index .section,
.blog-index .blog-container {
  padding-left: max(20px, 8%);
  padding-right: max(20px, 8%);
}

.blog-intro h2 {
  font-size: 34px;
  margin-bottom: 10px;
  font-weight: 700;
}

.blog-intro .accent {
  color: var(--primary-color);
}

.back-link {
  margin: 24px 0 0;
  padding-top: 24px;
}

.back-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.back-link a:hover {
  text-decoration: underline;
}

.posts {
  padding: 0 0 80px;
}

.post-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 20px;
  border: 1px solid #eee;
  transition: 0.25s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.post-card h2 {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  font-weight: 700;
}

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

.post-card h2 a:hover {
  color: var(--primary-color);
}

.post-card .meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.post-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.post-card .read-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

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

.post-content {
  padding: 0 0 80px;
  max-width: 860px;
}

.post-content h1 {
  font-size: 34px;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  font-weight: 700;
}

.post-content .meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 30px;
}

.post-content h2 {
  font-size: 24px;
  margin: 36px 0 12px;
  letter-spacing: -0.3px;
  font-weight: 700;
}

.post-content h3 {
  font-size: 18px;
  margin: 24px 0 8px;
  font-weight: 700;
}

.post-content p {
  font-size: 16px;
  margin-bottom: 16px;
  color: #333;
  line-height: 1.7;
}

.post-content ul,
.post-content ol {
  margin: 0 0 16px 24px;
  font-size: 16px;
  color: #333;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content a {
  color: var(--primary-color);
}

.post-content .cta-box {
  background: #fef2f2;
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  border-radius: 8px;
  margin: 28px 0;
}

.post-content .cta-box p {
  margin: 0;
  font-weight: 600;
}

.post-content .cta-box a {
  color: var(--primary-color);
  text-decoration: underline;
}

.post-content .table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
}

.post-content th {
  background: var(--primary-color);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
}

.post-content td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  color: #666;
}

.post-content tr:nth-child(even) td {
  background: #fafafa;
}

.highlight {
  background: #fffbe6;
  border-left: 4px solid #f5c518;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 20px 0;
}

.highlight p {
  margin: 0;
  font-size: 15px;
}
