:root {
  --lintyco-blue: #0a5bb3;
  --lintyco-blue-dark: #074080;
  --lintyco-orange: #ff6a00;
  --lintyco-gray-50: #f9fafb;
  --lintyco-gray-200: #e5e7eb;
  --lintyco-gray-700: #374151;
  --lintyco-text: #111827;
  --lintyco-text-muted: #6b7280;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--lintyco-text);
  line-height: 1.6;
}

.container {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.blog-header {
  border-bottom: 1px solid var(--lintyco-gray-200);
  padding: 1rem 0;
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}
.blog-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
}
.blog-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--lintyco-blue);
  text-decoration: none;
}
.blog-nav a {
  color: var(--lintyco-gray-700);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
}
.blog-nav a:hover { color: var(--lintyco-blue); }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.875rem;
  color: var(--lintyco-text-muted);
  padding: 0.75rem 0;
}
.breadcrumbs a { color: var(--lintyco-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--lintyco-blue); }
.breadcrumbs span { margin: 0 0.5rem; }

/* Article */
.blog-article, .blog-pillar {
  padding: 2rem 0 4rem;
}
.blog-article h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--lintyco-text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--lintyco-gray-200);
}
.article-toc {
  background: var(--lintyco-gray-50);
  border: 1px solid var(--lintyco-gray-200);
  border-radius: 6px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}
.article-toc summary {
  font-weight: 600;
  cursor: pointer;
}
.article-toc ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.75rem;
}
.article-toc a { color: var(--lintyco-blue); text-decoration: none; }
.article-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}
.article-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol {
  margin: 0 0 1rem 1.5rem;
}
.article-content code {
  background: var(--lintyco-gray-50);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}
.article-content pre {
  background: #1f2937;
  color: #e5e7eb;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 1rem;
}
.article-content pre code { background: transparent; padding: 0; }

/* CTA */
.article-cta {
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, var(--lintyco-blue), var(--lintyco-blue-dark));
  border-radius: 8px;
  text-align: center;
  color: white;
}
.cta-button {
  display: inline-block;
  background: var(--lintyco-orange);
  color: white;
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.1s;
}
.cta-button:hover { transform: translateY(-1px); }

/* FAQ */
.article-faq { margin: 2.5rem 0; }
.article-faq h2 { margin-bottom: 1rem; }
.faq-item {
  border: 1px solid var(--lintyco-gray-200);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  padding: 1rem 1.25rem;
}
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
}
.faq-item[open] summary { margin-bottom: 0.5rem; }

/* Related */
.article-related { margin: 2.5rem 0; }
.related-grid, .cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.related-card, .cluster-card {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--lintyco-gray-200);
  border-radius: 6px;
  text-decoration: none;
  color: var(--lintyco-text);
  transition: border-color 0.1s;
}
.related-card:hover, .cluster-card:hover {
  border-color: var(--lintyco-blue);
}
.related-card h3, .cluster-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--lintyco-blue);
}
.cluster-date {
  font-size: 0.75rem;
  color: var(--lintyco-text-muted);
}

/* Pillar-specific */
.pillar-intro {
  font-size: 1.15rem;
  color: var(--lintyco-gray-700);
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--lintyco-gray-50);
  border-left: 4px solid var(--lintyco-blue);
}
.pillar-tool-embed {
  margin: 2rem 0;
  border: 1px solid var(--lintyco-gray-200);
  border-radius: 8px;
  overflow: hidden;
}
.pillar-cluster-cards { margin-top: 3rem; }

/* Footer */
.blog-footer {
  border-top: 1px solid var(--lintyco-gray-200);
  padding: 2rem 0;
  text-align: center;
  color: var(--lintyco-text-muted);
  font-size: 0.875rem;
}

/* Blog home */
.blog-home { padding: 2rem 0 4rem; }
.blog-home h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.blog-subtitle { color: var(--lintyco-text-muted); margin-bottom: 2rem; }
.blog-home section { margin-bottom: 2.5rem; }
.blog-home h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }

@media (max-width: 640px) {
  .blog-article h1 { font-size: 1.75rem; }
  .blog-nav { display: none; }
  .article-meta { flex-direction: column; gap: 0.25rem; }
}
