/* Blog index and articles, on top of verticle-serve.css (uses its --vs-* tokens). Generated by gen_blog.py. */
.blog-hero { padding: 120px 0 56px; }
.blog-hero h1 { font-size: clamp(30px, 4.4vw, 46px); max-width: 900px; }
.blog-hero p { max-width: 820px; margin-bottom: 18px; }
.blog-back { display: table; color: #a9b3dc; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.blog-back:hover { color: #fff; }
.blog-meta { display: block; color: #a9b3dc; font-size: 14px; }

.kind { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em;
        border-radius: 999px; padding: 4px 11px; background: rgba(126,58,209, .12); color: var(--vs-violet-deep); }
.kind--how-it-works { background: rgba(240,171,252, .16); color: #6b2fb3; }
.kind--use-case { background: rgba(21, 128, 61, .12); color: #15803d; }
.kind--guide { background: rgba(180, 83, 9, .12); color: #b45309; }
.kind--on-dark { margin-bottom: 16px; background: rgba(255, 255, 255, .12); color: #fff; }

.blog-article { padding: 56px 0 30px; background: #fff; }
.blog { max-width: 860px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: #3b4263; }
.blog > p:first-child { font-size: 19px; color: var(--vs-ink); }
.blog h2 { font-size: 27px; font-weight: 800; color: var(--vs-ink); margin: 46px 0 12px; line-height: 1.3; }
.blog h3 { font-size: 20px; font-weight: 800; color: var(--vs-ink); margin: 30px 0 8px; }
.blog p { font-size: 17px; line-height: 1.75; color: #3b4263; margin-bottom: 16px; }
.blog ul, .blog ol { margin: 0 0 18px 22px; padding: 0; }
.blog ul li { list-style: disc outside; } .blog ol li { list-style: decimal outside; }
.blog li { margin-bottom: 8px; font-size: 17px; line-height: 1.65; color: #3b4263; }
.blog li::marker { color: var(--vs-violet); }
.blog strong { color: var(--vs-ink); }
.blog a { color: var(--vs-violet-deep); text-decoration: underline; text-underline-offset: 2px; }
.blog code { background: var(--vs-mist); border: 1px solid var(--vs-line); border-radius: 6px; padding: 1px 6px; font-size: 14.5px;
             color: var(--vs-violet-deep); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-word; }
.blog pre { background: var(--vs-ink); color: #dbe2ff; border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-size: 13.5px;
            line-height: 1.65; margin: 22px 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.blog pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }

.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); background: #fff; }
.shot figcaption, .diagram figcaption { font-size: 14.5px; color: #6b7294; margin-top: 12px; text-align: center; line-height: 1.55; }
.diagram { margin: 32px 0; padding: 22px 18px 14px; background: #fff; border: 1px solid var(--vs-line); border-radius: 16px; box-shadow: var(--vs-shadow-1); }
.diagram svg { width: 100%; height: auto; display: block; font-family: inherit; }

.callout { margin: 26px 0; padding: 16px 20px; border-radius: 14px; font-size: 16px; line-height: 1.65; }
.callout--note { background: var(--vs-mist); border: 1px solid var(--vs-line); border-left: 4px solid var(--vs-violet); color: #2b3156; }
.callout--warn { background: #fff7e8; border: 1px solid #f3d9a6; border-left: 4px solid #d97706; color: #5b3d07; }
.callout strong { color: inherit; }

.usecase { margin: 32px 0; padding: 24px 26px; border-radius: 18px; color: #d9def5;
           background: radial-gradient(600px 260px at 100% 0%, rgba(240,171,252, .16), transparent 60%), linear-gradient(180deg, #0b1020, #1c2240); }
.usecase__who { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--vs-cyan); margin-bottom: 6px; }
.usecase h3 { color: #fff; margin: 0 0 10px; font-size: 21px; }
.usecase p, .usecase li { color: #d9def5; font-size: 16px; }
.usecase strong { color: #fff; }
.usecase li::marker { color: var(--vs-cyan); }

.steps { counter-reset: s; list-style: none !important; margin: 22px 0 !important; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 3px 0 12px 48px; list-style: none !important; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px;
                    background: var(--vs-grad); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }

.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--vs-line); border-radius: 14px; }
.blog table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: #fff; }
.blog th { text-align: left; padding: 11px 14px; background: var(--vs-mist); color: var(--vs-ink); font-weight: 800; border-bottom: 1px solid var(--vs-line); }
.blog td { padding: 11px 14px; border-bottom: 1px solid var(--vs-line); vertical-align: top; color: #3b4263; line-height: 1.55; }
.blog tr:last-child td { border-bottom: 0; }

.blog-index { padding: 56px 0 70px; background: var(--vs-mist); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-grid--two { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vs-line); border-radius: var(--vs-radius);
             overflow: hidden; box-shadow: var(--vs-shadow-1); transition: transform .18s, box-shadow .18s; color: inherit; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--vs-shadow-2); text-decoration: none; }
.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__art { display: flex; align-items: flex-end; aspect-ratio: 16 / 9; padding: 18px 20px; color: rgba(255, 255, 255, .9); font-weight: 800;
                  font-size: 15px; letter-spacing: .02em; background: radial-gradient(400px 200px at 90% 0%, rgba(240,171,252, .35), transparent 60%), var(--vs-grad); }
.post-card__art--use-case { background: radial-gradient(400px 200px at 90% 0%, rgba(240,171,252, .35), transparent 60%), linear-gradient(135deg, #0b1020, #4a2a9c); }
.post-card__art--guide { background: radial-gradient(400px 200px at 10% 100%, rgba(255, 101, 106, .35), transparent 60%), linear-gradient(135deg, #1c2240, #7e3ad1); }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 22px; }
.post-card .kind { align-self: flex-start; }
.post-card__title { font-size: 19px; font-weight: 800; color: var(--vs-ink); line-height: 1.35; }
.post-card__desc { font-size: 15px; color: #5b6280; line-height: 1.6; }
.post-card__meta { font-size: 13px; color: #5b6080; }

.blog-more { max-width: 860px; margin: 56px auto 0; }
.blog-more h2 { font-size: 24px; font-weight: 800; color: var(--vs-ink); margin-bottom: 18px; }

.blog-cta { padding: 20px 0 80px; background: #fff; }
.blog-index + .blog-cta { background: var(--vs-mist); }
.blog-cta__box { max-width: 1000px; margin: 0 auto; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 30px 34px;
                 border-radius: 20px; background: var(--vs-grad); color: #fff; }
.blog-cta__box h2 { color: #fff; font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.blog-cta__box p { color: rgba(255, 255, 255, .88); margin: 0; font-size: 16px; }
.blog-cta__box .vs-btn { flex: none; background: #fff; color: var(--vs-violet-deep) !important; }

@media (max-width: 767px) {
  .blog-hero { padding: 96px 0 40px; }
  .blog-article { padding-top: 36px; }
  .blog, .blog p, .blog li { font-size: 16px; }
  .blog > p:first-child { font-size: 17.5px; }
  .blog h2 { font-size: 23px; }
  .usecase { padding: 20px; }
  .diagram { padding: 14px 10px 10px; }
  .post-grid, .post-grid--two { grid-template-columns: 1fr; }
  .blog-cta__box { flex-direction: column; align-items: flex-start; padding: 24px; }
}
.blog td code, .blog th code { word-break: normal; overflow-wrap: anywhere; }
.table-wrap table { min-width: 620px; }
@media (max-width: 767px) {
  .diagram { overflow-x: auto; }
  .diagram svg { min-width: 680px; }
  .diagram figcaption { position: sticky; left: 0; width: calc(100vw - 72px); }
}
/* 2026-11 review: eight posts in three columns leave no orphan when the newest spans two */
@media (min-width: 1100px) { .post-grid:not(.post-grid--two) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .post-grid:not(.post-grid--two) > .post-card:first-child { grid-column: span 2; } }
@media (min-width: 701px) and (max-width: 1099px) { .post-grid:not(.post-grid--two) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
