/* MailProbe — Blog styles */

/* Blog index */
.blog-hero {
  text-align: center;
  padding: 60px 24px 32px;
}
.blog-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}
.blog-hero p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

.blog-list {
  max-width: 780px;
  margin: 0 auto 60px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  text-decoration: none;
}
.blog-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.blog-card-meta {
  color: var(--text-muted);
  font-size: 13px;
  opacity: 0.7;
}

/* Blog article */
.blog-article {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 60px;
}
.blog-article-header {
  margin-bottom: 36px;
}
.blog-article-header h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}
.blog-article-meta {
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.blog-tag {
  display: inline-block;
  background: rgba(108,92,231,0.15);
  color: var(--primary-light);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* Article body typography */
.blog-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text);
}
.blog-body h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.blog-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.blog-body ul, .blog-body ol {
  color: var(--text-muted);
  margin: 0 0 16px 24px;
  line-height: 1.8;
}
.blog-body li {
  margin-bottom: 6px;
}
.blog-body strong {
  color: var(--text);
}
.blog-body a {
  color: var(--primary);
  text-decoration: underline;
}
.blog-body a:hover {
  color: var(--primary-hover);
}
.blog-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 20px;
  margin: 20px 0;
  background: rgba(108,92,231,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.blog-body blockquote p {
  margin-bottom: 0;
}
.blog-body code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}
.blog-body pre {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  margin: 20px 0;
}
.blog-body pre code {
  background: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
}
.blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.blog-body th, .blog-body td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.blog-body th {
  color: var(--text);
  font-weight: 600;
}
.blog-body td {
  color: var(--text-muted);
}
.blog-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* Back link */
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.blog-back:hover {
  color: var(--primary);
  text-decoration: none;
}

/* CTA box */
.blog-cta {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-top: 40px;
}
.blog-cta h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.blog-cta p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .blog-hero h1 { font-size: 28px; }
  .blog-article-header h1 { font-size: 26px; }
  .blog-article { padding: 32px 16px 40px; }
  .blog-card { padding: 20px; }
}
