/* Blog: the index and the articles, on top of the site's stylesheets (verticle-serve.css tokens). */
.blog-hero { padding: 96px 0 56px; }
.blog-hero h1 { font-size: 44px; line-height: 1.15; max-width: 880px; }
.blog-hero p { max-width: 780px; }
.blog-narrow { max-width: 860px; margin: 0 auto; }
.blog-back { display: inline-block; color: #9aa3c7; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.blog-back:hover { color: #fff; }
.blog-meta { display: block; color: #9aa3c7; font-size: 14px; margin-top: -8px; }

.blog-article-wrap { padding: 56px 0 24px; background: #fff; }
.blog-article { color: #4a5070; font-size: 17px; line-height: 1.78; }
.blog-article p { color: #4a5070; font-size: 17px; line-height: 1.78; margin-bottom: 18px; }
.blog-article h2 { font-size: 27px; color: var(--vs-ink); font-weight: 800; margin: 46px 0 14px; line-height: 1.3; }
.blog-article h3 { font-size: 20px; color: var(--vs-ink); font-weight: 700; margin: 30px 0 10px; line-height: 1.35; }
.blog-article strong { color: var(--vs-ink); }
.blog-article a { color: var(--vs-violet-deep); text-decoration: underline; text-underline-offset: 2px; }
.blog-article ul, .blog-article ol { margin: 0 0 20px 22px; padding: 0; }
.blog-article ul li { list-style: disc outside; margin-bottom: 8px; color: #4a5070; }
.blog-article ol li { list-style: decimal outside; margin-bottom: 8px; color: #4a5070; }
.blog-article li::marker { color: var(--vs-violet); }
.blog-article code { background: var(--vs-mist); border: 1px solid var(--vs-line); border-radius: 5px; padding: 1px 6px;
    font-size: 14.5px; color: var(--vs-violet-deep); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.blog-article pre { background: var(--vs-ink); color: #dfe3f7; border-radius: 12px; 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-article pre code { background: none; border: 0; color: inherit; padding: 0; font-size: inherit; }

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

.blog-callout { margin: 26px 0; padding: 18px 22px; border-radius: 12px; border: 1px solid; font-size: 16px; line-height: 1.7; }
.blog-callout p:last-child { margin-bottom: 0; }
.blog-callout--note { background: #f3f1ff; border-color: #d9d3ff; color: #2e2670; }
.blog-callout--note strong { color: #2e2670; }
.blog-callout--warn { background: #fff7e8; border-color: #f5d9a0; color: #6b4a00; }
.blog-callout--warn strong { color: #6b4a00; }
.blog-callout--honest { background: #eefbfd; border-color: #b9ecf5; color: #0b4a55; }
.blog-callout--honest strong { color: #0b4a55; }

.blog-usecase { margin: 32px 0; padding: 24px 26px; border-radius: 16px;
    background: linear-gradient(135deg, #0b1020 0%, #1c2240 100%); color: #cdd3f0; }
.blog-usecase h3 { color: #fff; margin: 4px 0 10px; }
.blog-usecase p, .blog-usecase li { color: #cdd3f0 !important; font-size: 16px; }
.blog-usecase strong { color: #fff; }
.blog-usecase p:last-child { margin-bottom: 0; }
.blog-usecase__who { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--vs-cyan); }

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

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

.blog-kind { display: inline-block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
    color: var(--vs-violet-deep); background: #efedff; border-radius: 6px; padding: 3px 8px; align-self: flex-start; }

.blog-index { padding: 56px 0 30px; background: #fff; }
.blog-more { padding: 30px 0 70px; background: #fff; }
.blog-more h2 { font-size: 26px; font-weight: 800; color: var(--vs-ink); margin-bottom: 6px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; 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; box-shadow: var(--vs-shadow-1); transition: transform .18s, box-shadow .18s; }
.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__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.post-card__title { font-size: 19px; font-weight: 800; color: var(--vs-ink); line-height: 1.35; }
.post-card__desc { font-size: 15px; color: #5b6486; line-height: 1.6; }
.post-card__meta { font-size: 13px; color: #8089a8; }

.blog-cta { padding: 36px 0; background: #fff; }
.blog-cta__box { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
    background: var(--vs-grad-soft); border: 1px solid var(--vs-line); border-radius: 18px; padding: 28px 30px; max-width: 1060px; margin: 0 auto; }
.blog-cta__box h2 { font-size: 24px; font-weight: 800; color: var(--vs-ink); margin: 0 0 6px; }
.blog-cta__box p { color: #4a5070; margin: 0; max-width: 640px; }

@media (max-width: 767px) {
    .blog-hero { padding: 70px 0 40px; }
    .blog-hero h1 { font-size: 30px; }
    .blog-article, .blog-article p { font-size: 16px; }
    .blog-article h2 { font-size: 23px; }
    .blog-usecase { padding: 20px; }
    .blog-diagram { padding: 14px 8px 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    /* keep diagram labels legible on a phone: the figure scrolls sideways instead of shrinking the text */
    .blog-diagram svg { min-width: 640px; }
    .blog-diagram figcaption { position: sticky; left: 0; max-width: calc(100vw - 48px); }
    .blog-table table { font-size: 14px; }
    .post-grid { grid-template-columns: 1fr; }
}
