/* ═══════════════════════════════════════════════════
   PROOFHQ Blog — Extension of Canonical Design System
   ═══════════════════════════════════════════════════ */

.blog-grid { display: grid; grid-template-columns: 1fr; gap: 0; }

.blog-card { display: block; text-decoration: none; color: inherit; border-bottom: 1px solid var(--border); transition: background .2s; }
.blog-card:visited { color: inherit; }
.blog-card:visited .blog-card-title { color: var(--text); }
.blog-card:visited .blog-card-excerpt { color: var(--text-mid); }
.blog-card:visited .blog-read-more { color: #1B2A4A; }
.blog-card:first-child { border-top: 1px solid var(--border); }
.blog-card:hover { background: rgba(0,194,199,.02); }
.blog-card-inner { padding: 32px 0; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-tag { font-size: 11px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; color: #1B2A4A; background: var(--accent-bg); padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border-accent); }
.blog-date { font-size: 13px; color: var(--text-faint); font-weight: 500; }
.blog-card-title { font-family: 'Inter', sans-serif; font-weight: 800; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; letter-spacing: -.5px; margin-bottom: 10px; color: var(--text); }
.blog-card:hover .blog-card-title { color: #1B2A4A; }
.blog-card-excerpt { font-size: 15px; color: var(--text-mid); line-height: 1.65; max-width: 720px; margin-bottom: 12px; }
.blog-read-more { font-size: 14px; font-weight: 800; color: #1B2A4A; }

.blog-article { max-width: 720px; margin: 0 auto; }
.blog-article-header { margin-bottom: 40px; }
.blog-article-title { font-family: 'Inter', sans-serif; font-weight: 800; font-size: clamp(30px, 4.5vw, 44px); line-height: 1.12; letter-spacing: -1px; margin-bottom: 16px; color: var(--text); }
.blog-article-subtitle { font-size: 18px; color: var(--text-mid); line-height: 1.6; margin-bottom: 20px; }
.blog-article-meta { display: flex; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.blog-article-meta span { font-size: 13px; color: var(--text-faint); font-weight: 500; }

.blog-body h2 { font-family: 'Inter', sans-serif; font-weight: 800; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; letter-spacing: -.4px; margin: 48px 0 16px; color: var(--text); }
.blog-body h3 { font-size: 18px; font-weight: 900; margin: 36px 0 12px; color: var(--text); }
.blog-body p { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.blog-body p strong { color: var(--text); font-weight: 700; }
.blog-body blockquote { padding: 20px 24px; border-left: 4px solid #00C2C7; background: var(--accent-bg); border-radius: 0 14px 14px 0; margin: 28px 0; }
.blog-body blockquote p { font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.6; margin: 0; }
.blog-body ul, .blog-body ol { padding-left: 24px; margin-bottom: 20px; }
.blog-body li { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 8px; }
.blog-body li strong { color: var(--text); }

.blog-cta { padding: 28px 32px; border: 1px solid var(--border-accent); background: rgba(0,194,199,.04); border-radius: 18px; margin: 48px 0; text-align: center; }
.blog-cta h3 { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 22px; margin: 0 0 8px; color: var(--text); }
.blog-cta p { font-size: 15px; color: var(--text-mid); margin: 0 0 16px; line-height: 1.6; }

.blog-related { margin: 48px 0 0; padding-top: 32px; border-top: 1px solid var(--border); }
.blog-related-title { font-size: 12px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; color: #1B2A4A; margin-bottom: 16px; }
.blog-related-links { display: flex; flex-direction: column; gap: 12px; }
.blog-related-link { display: block; padding: 16px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); text-decoration: none; transition: all .2s; }
.blog-related-link:hover { border-color: var(--border-accent); background: rgba(0,194,199,.02); box-shadow: var(--sh); }
.blog-related-link-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--text-faint); margin-bottom: 4px; }
.blog-related-link-title { font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.3; }
.blog-related-link:hover .blog-related-link-title { color: #1B2A4A; }
.blog-related-link:visited { color: inherit; }
.blog-related-link:visited .blog-related-link-tag { color: var(--text-faint); }
.blog-related-link:visited .blog-related-link-title { color: var(--text); }

.blog-engage { margin-top: 32px; padding: 16px 20px; background: rgba(17,24,39,.02); border-radius: 12px; font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.blog-engage a { color: #1B2A4A; font-weight: 700; text-decoration: none; }
.blog-engage a:hover { text-decoration: underline; }

.blog-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--text-dim); text-decoration: none; margin-bottom: 32px; transition: color .2s; }
.blog-back:hover { color: #1B2A4A; }

@media (max-width: 720px) {
  .blog-card-inner { padding: 24px 0; }
  .blog-article { padding: 0 4px; }
}

.blog-card:hover .blog-card-title, .blog-read-more, .blog-engage a, .blog-related-link:hover .blog-related-link-title, .blog-tag, .blog-related-title { color: var(--teal); }
.blog-card:hover { background: rgba(32,214,188,.04); }
.blog-cta { background: rgba(32,214,188,.05); border-color: rgba(32,214,188,.16); }
.blog-back { color: var(--muted); }
.blog-back:hover { color: var(--text); }
