/* The blog: index and articles, on top of verticle-serve.css (same tokens: --vs-ink, --vs-violet, --vs-cyan …). */
.blog-hero { padding: 96px 0 56px; }
.blog-hero h1 { font-size: 42px; max-width: 900px; }
.blog-hero p { max-width: 820px; }
.blog-hero .ai-hero__eyebrow { margin-bottom: 16px; }
.blog-back { display: table; color: #cdd3f0; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.blog-back:hover { color: #fff; }
.blog-meta { color: #a9b0d6 !important; font-size: 14px !important; margin: 0 !important; }
.blog-meta .dot { opacity: .5; margin: 0 8px; }

.blog-section { padding: 48px 0 64px; background: #fff; }
.article-body { max-width: 860px; margin: 0 auto; }
.article-body h2 { font-size: 26px; line-height: 1.3; margin: 44px 0 12px; color: var(--vs-ink); }
.article-body h3 { font-size: 19px; margin: 28px 0 8px; color: var(--vs-ink-soft); }
.article-body p { color: #44496a; font-size: 16.5px; line-height: 1.78; margin-bottom: 16px; }
.article-body ul, .article-body ol:not(.steps) { color: #44496a; font-size: 16px; line-height: 1.72; margin: 0 0 18px 22px; }
/* the theme resets list-style globally; prose needs its markers back */
.article-body ul, .article-body ul li { list-style: disc outside !important; }
.article-body ol:not(.steps), .article-body ol:not(.steps) li { list-style: decimal outside !important; }
.article-body li { margin-bottom: 8px; }
.article-body li::marker { color: var(--vs-violet); }
.article-body strong { color: var(--vs-ink); }
.article-body a:not(.vs-btn) { color: var(--vs-violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-body code { background: var(--vs-mist); border: 1px solid var(--vs-line); border-radius: 5px; padding: 1px 6px;
    font-size: 14px; color: var(--vs-violet-deep); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.lead-para { font-size: 19px !important; color: var(--vs-ink-soft) !important; }

.exec-summary { background: var(--vs-grad-soft); border: 1px solid #dbeafe; border-radius: 16px; padding: 22px 24px; margin: 8px 0 30px; }
.exec-summary h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--vs-violet-deep); margin: 0 0 12px; }
.exec-summary ul { margin: 0 0 0 20px !important; }
.exec-summary li:last-child { margin-bottom: 0; }

.callout { background: var(--vs-mist); border: 1px solid var(--vs-line); border-left: 4px solid var(--vs-violet); border-radius: 12px; padding: 18px 22px; margin: 26px 0; }
.callout h4 { margin: 0 0 6px; font-size: 16px; color: var(--vs-ink); }
.callout p:last-child { margin-bottom: 0; }
.callout.note { border-left-color: var(--vs-cyan); background: #f1fbfd; }
.callout.warn { border-left-color: #d97706; background: #fffaf0; }

.shot { margin: 30px 0; }
.shot img { width: 100%; height: auto; display: block; border: 1px solid var(--vs-line); border-radius: 14px; box-shadow: var(--vs-shadow-1); }
.shot figcaption, .diagram figcaption { color: #6b7194; font-size: 14px; margin-top: 11px; text-align: center; line-height: 1.55; }
.diagram { margin: 32px 0; background: #fff; border: 1px solid var(--vs-line); border-radius: 16px; padding: 22px 18px 16px; box-shadow: var(--vs-shadow-1); }
.diagram svg { width: 100%; height: auto; display: block; }

.usecase { margin: 32px 0; padding: 24px 26px; border-radius: 16px; background: linear-gradient(180deg, var(--vs-ink) 0%, var(--vs-ink-soft) 100%); }
.usecase__who { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--vs-cyan); margin-bottom: 8px; }
.usecase h3 { color: #fff !important; margin: 0 0 10px !important; }
.usecase p { color: #d7dbf3 !important; font-size: 15.5px !important; }
.usecase p:last-child { margin-bottom: 0 !important; }
.usecase strong { color: #fff; }

.steps { list-style: none !important; margin: 24px 0 !important; padding: 0; border: 1px solid var(--vs-line); border-radius: 14px; overflow: hidden; }
.steps li { list-style: none !important; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--vs-line); margin: 0; }
.steps li:last-child { border-bottom: 0; }
.steps__n { width: 28px; height: 28px; border-radius: 8px; background: #eff6ff; color: var(--vs-violet-deep); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.steps strong { font-size: 15.5px; }
.steps__who { font-size: 12px; color: var(--vs-violet-deep); background: #eff6ff; border-radius: 6px; padding: 1px 8px; margin-left: 8px; white-space: nowrap; }
.steps p { font-size: 14.5px !important; margin: 4px 0 0 !important; line-height: 1.6 !important; }

.table-wrap { overflow-x: auto; margin: 24px 0; }
.blog-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.blog-table th { text-align: left; padding: 11px 14px; background: var(--vs-mist); color: var(--vs-ink); border-bottom: 2px solid var(--vs-line); font-weight: 600; }
.blog-table td { padding: 11px 14px; border-bottom: 1px solid var(--vs-line); color: #44496a; vertical-align: top; }

.blog-footnote { margin-top: 40px !important; padding-top: 16px; border-top: 1px solid var(--vs-line); font-size: 14px !important; color: #6b7194 !important; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 22px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vs-line); border-radius: 16px; overflow: hidden; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--vs-shadow-1); border-color: #bfdbfe; }
.post-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--vs-line); }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.post-kind { align-self: flex-start; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--vs-violet-deep); background: #eff6ff; border-radius: 6px; padding: 3px 8px; }
.post-card__title { font-size: 18.5px; font-weight: 700; color: var(--vs-ink); line-height: 1.4; }
.post-card__deck { font-size: 14.5px; color: #5b6280; line-height: 1.6; }
.post-card__meta { font-size: 13px; color: #8a90b0; }
.blog-more { max-width: 1100px; margin: 56px auto 0; }
.blog-more h2 { font-size: 24px; color: var(--vs-ink); }

.blog-cta { padding: 0 0 72px; background: #fff; }
.blog-cta__box { max-width: 860px; margin: 0 auto; text-align: center; padding: 34px 28px; border-radius: 18px; background: var(--vs-mist); border: 1px solid var(--vs-line); }
.blog-cta__box h2 { font-size: 26px; color: var(--vs-ink); margin-bottom: 10px; }
.blog-cta__box p { color: #44496a; font-size: 16px; max-width: 640px; margin: 0 auto 20px; }

@media (max-width: 767px) {
    .blog-hero { padding: 64px 0 36px; }
    .blog-hero h1 { font-size: 30px; }
    .article-body h2 { font-size: 22px; }
    .lead-para { font-size: 17.5px !important; }
    .usecase { padding: 20px; }
    .diagram { overflow-x: auto; padding: 16px 12px 12px; }
    .diagram svg { min-width: 620px; }
    .post-grid { grid-template-columns: 1fr; }
    .steps li { padding: 12px 14px; }
    .steps__who { display: inline-block; margin: 4px 0 0; }
}
