/* Blog Hero */
.blog-hero { background: #F8F9FA; padding: 100px 0 40px; text-align: center; }
.blog-hero h1 { font-size: 48px; font-weight: 800; color: #0A1929; margin-bottom: 16px; }
.blog-hero p { font-size: 18px; color: #5F6368; max-width: 640px; margin: 0 auto; }

/* Breadcrumb */
.blog-breadcrumb { max-width: 1280px; margin: 0 auto; padding: 20px 24px; font-size: 14px; color: #5F6368; }
.blog-breadcrumb a { color: #1A56DB; text-decoration: none; }
.blog-breadcrumb span { margin: 0 8px; }

/* Blog Grid */
.blog-grid { max-width: 1280px; margin: 0 auto; padding: 0 24px 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Blog Card */
.blog-card { background: #fff; border-radius: 12px; padding: 32px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.blog-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.blog-card-number { width: 40px; height: 40px; border-radius: 50%; background: #1A56DB; color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.blog-card-tag { font-size: 12px; font-weight: 600; color: #1A56DB; background: rgba(26,86,219,0.1); padding: 4px 10px; border-radius: 20px; }
.blog-card h3 { font-size: 20px; font-weight: 700; color: #0A1929; margin-bottom: 8px; line-height: 1.3; }
.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card h3 a:hover { color: #1A56DB; }
.blog-card p { font-size: 15px; color: #5F6368; line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }
.blog-card-link { font-size: 14px; font-weight: 600; color: #1A56DB; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.blog-card-link:hover { gap: 10px; }
.blog-card-link::after { content: '→'; }

/* Article page styles */
.article-hero { background: #F8F9FA; padding: 100px 0 40px; }
.article-hero .container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.article-meta-item { font-size: 14px; color: #5F6368; display: flex; align-items: center; gap: 6px; }
.article-hero h1 { font-size: 40px; font-weight: 800; color: #0A1929; line-height: 1.2; margin-bottom: 16px; }
.article-hero .article-subtitle { font-size: 18px; color: #5F6368; line-height: 1.6; }

/* Table of Contents */
.toc { background: #fff; border-radius: 12px; padding: 28px 32px; margin: 32px auto; max-width: 800px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.toc h2 { font-size: 18px; font-weight: 700; color: #0A1929; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.toc h2 svg { width: 20px; height: 20px; color: #1A56DB; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc-counter; }
.toc li { margin-bottom: 8px; counter-increment: toc-counter; }
.toc li::before { content: counter(toc-counter) "."; color: #1A56DB; font-weight: 600; margin-right: 8px; }
.toc a { color: #1A1A1A; text-decoration: none; font-size: 15px; transition: color 0.2s ease; }
.toc a:hover { color: #1A56DB; }

/* Article Content */
.article-content { max-width: 800px; margin: 0 auto; padding: 40px 24px 80px; }
.article-content h2 { font-size: 28px; font-weight: 700; color: #0A1929; margin: 48px 0 16px; padding-top: 16px; }
.article-content h3 { font-size: 22px; font-weight: 600; color: #0A1929; margin: 32px 0 12px; }
.article-content p { font-size: 17px; color: #1A1A1A; line-height: 1.8; margin-bottom: 16px; }
.article-content ul, .article-content ol { font-size: 17px; color: #1A1A1A; line-height: 1.8; margin-bottom: 16px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content strong { color: #0A1929; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article-content th { background: #0A1929; color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; }
.article-content td { padding: 12px 16px; border-bottom: 1px solid #E8EAED; }
.article-content tr:hover td { background: rgba(26,86,219,0.04); }

/* Info box (for tips and important notes) */
.info-box { background: rgba(26,86,219,0.06); border-left: 4px solid #1A56DB; border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 24px 0; }
.info-box p { margin: 0; font-size: 15px; }
.info-box strong { color: #1A56DB; }

/* Warning box */
.warning-box { background: rgba(234,88,12,0.06); border-left: 4px solid #EA580C; border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 24px 0; }
.warning-box p { margin: 0; font-size: 15px; }
.warning-box strong { color: #EA580C; }

/* CTA box in article */
.article-cta { background: #0A1929; border-radius: 12px; padding: 40px; text-align: center; margin: 48px 0; }
.article-cta h3 { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.article-cta p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 24px; }
.article-cta .btn { display: inline-block; background: #1A56DB; color: #fff; padding: 14px 32px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 16px; transition: background 0.3s ease; }
.article-cta .btn:hover { background: #1544b5; }

/* Related articles */
.related-articles { max-width: 800px; margin: 0 auto 80px; padding: 0 24px; }
.related-articles h2 { font-size: 24px; font-weight: 700; color: #0A1929; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.related-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s ease; }
.related-card:hover { transform: translateY(-2px); }
.related-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.related-card h4 a { color: #0A1929; text-decoration: none; }
.related-card h4 a:hover { color: #1A56DB; }
.related-card p { font-size: 14px; color: #5F6368; line-height: 1.5; }

/* Blog CTA section (index page) */
.blog-cta { background: #0A1929; padding: 80px 24px; text-align: center; }
.blog-cta h2 { color: #fff; font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.blog-cta p { color: rgba(255,255,255,0.7); font-size: 18px; max-width: 600px; margin: 0 auto 32px; }

/* Responsive */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-hero h1 { font-size: 32px; }
  .blog-hero p { font-size: 16px; }
  .blog-grid { grid-template-columns: 1fr; padding: 0 16px 60px; }
  .blog-card { padding: 24px; }
  .article-hero h1 { font-size: 28px; }
  .article-content h2 { font-size: 22px; }
  .article-content h3 { font-size: 18px; }
  .article-content { padding: 24px 16px 60px; }
  .toc { margin: 24px 16px; padding: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-cta { padding: 28px 20px; margin: 32px 0; }
  .blog-cta h2 { font-size: 28px; }
}
