/* Blog pages (blog.html, blog-*.html), generated by gen_blogs.py. Builds on the post-hero, post-body,
   post-tldr and blog-card styles in verticle-serve.css and the --vs-* colour tokens; only what those lack is here. */

.bl-hero { padding: 120px 0 56px; }
.bl-hero .container, .bl-index-hero .container { max-width: 980px; }
.bl-back { display: inline-block; color: #aab3e6; font-size: 14px; margin-bottom: 18px; text-decoration: none; }
.bl-back:hover { color: #fff; }
.bl-hero .post-hero__cat { margin-left: 0; }
.bl-byline { color: #9aa3cf; font-size: 14px; margin: 0; }
.bl-index-hero { padding: 130px 0 64px; }
.bl-index-hero h1 { font-size: 44px; max-width: 860px; }

.post-wrap { overflow-x: hidden; }
.bl-article { margin: 0 auto; padding: 48px 24px 24px; box-sizing: content-box; }
.bl-article > p:first-child { font-size: 19.5px; color: var(--vs-ink); }
.bl-article h2 { scroll-margin-top: 110px; }
.bl-article table { width: 100%; }

.bl-shot { margin: 30px 0; }
.bl-shot img { width: 100%; height: auto; display: block; margin: 0 !important; border: 1px solid var(--vs-line);
    border-radius: 12px !important; box-shadow: 0 18px 44px rgba(11, 16, 32, 0.10); }
.bl-shot figcaption, .bl-diagram figcaption { color: #5b6486; font-size: 14px; line-height: 1.5; margin-top: 12px; text-align: center; }

.bl-diagram { margin: 32px 0; padding: 22px 18px 16px; background: var(--vs-mist); border: 1px solid var(--vs-line); border-radius: 16px; }
.bl-diagram svg { display: block; width: 100%; height: auto; max-width: 100%; }

.bl-usecase { margin: 34px 0; padding: 24px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--vs-line);
    border-top: 4px solid var(--vs-cyan); box-shadow: var(--vs-shadow-1); }
.bl-usecase__who { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #0e7490; margin-bottom: 6px; }
.bl-usecase h3 { margin: 0 0 10px !important; font-size: 20px !important; }
.bl-usecase p { font-size: 16.5px; }
.bl-usecase p:last-child, .bl-usecase ol:last-child, .bl-usecase ul:last-child { margin-bottom: 0; }

.bl-callout { margin: 28px 0; padding: 18px 22px; border-radius: 12px; font-size: 16px; line-height: 1.6;
    background: var(--vs-grad-soft); border: 1px solid rgba(108, 92, 231, .2); border-left: 4px solid var(--vs-violet); }
.bl-callout--warn { background: #fff8eb; border-color: #f6d9a8; border-left-color: #f59e0b; }

.bl-steps { counter-reset: s; list-style: none; padding-left: 0 !important; margin: 24px 0; }
.bl-steps li { counter-increment: s; position: relative; padding: 2px 0 6px 46px; margin-bottom: 14px !important; }
.bl-steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 9px;
    background: var(--vs-grad); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.bl-table { overflow-x: auto; margin: 26px 0; border: 1px solid var(--vs-line); border-radius: 12px; }
.bl-table table { border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.bl-table th { background: var(--vs-mist); color: var(--vs-ink); text-align: left; padding: 11px 14px; font-weight: 700; border-bottom: 1px solid var(--vs-line); }
.bl-table td { padding: 11px 14px; border-bottom: 1px solid var(--vs-line); vertical-align: top; color: #1f2540; }
.bl-table tr:last-child td { border-bottom: 0; }

.bl-card { height: 100%; }
.bl-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--vs-mist); border-bottom: 1px solid var(--vs-line); }
.bl-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.bl-card__img .cat { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .95); color: var(--vs-violet-deep);
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
    box-shadow: 0 2px 8px rgba(11, 16, 32, .12); }

.bl-index { padding: 56px 0 40px; }
.bl-more { padding: 30px 0 80px; }
.bl-more .vs-section-title { font-size: 28px; margin-bottom: 24px; }
.bl-cta { padding: 56px 0; background: var(--vs-mist); border-top: 1px solid var(--vs-line); border-bottom: 1px solid var(--vs-line); text-align: center; }
.bl-cta .container { max-width: 780px; }
.bl-cta p { color: #4a5070; font-size: 17px; margin: 12px 0 22px; }

@media (max-width: 720px) {
    .bl-hero { padding: 100px 0 40px; }
    .bl-index-hero { padding: 104px 0 44px; }
    .bl-index-hero h1, .bl-hero h1 { font-size: 30px; }
    .bl-article { padding: 32px 16px 16px; font-size: 17px; }
    .bl-article > p:first-child { font-size: 18px; }
    .bl-diagram { padding: 14px 8px 12px; margin-left: -4px; margin-right: -4px; }
    .bl-usecase { padding: 20px 18px; }
    .bl-table table { font-size: 14px; }
}

/* header brand mark used by the blog pages (the live site's stylesheet predates it) */
.vs-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    line-height: 1;
    font-family: "Poppins", sans-serif;
}
.vs-brand:hover { text-decoration: none !important; }
.vs-brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--vs-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    box-shadow: 0 6px 16px rgba(108,92,231,0.32);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.vs-brand__mark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 55%);
    pointer-events: none;
}
.vs-brand__name {
    font-size: 22px;
    font-weight: 700;
    color: var(--vs-ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.vs-brand__accent {
    background: var(--vs-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.vs-brand--inverted .vs-brand__name { color: #fff; }
.header-sticky.sticky-bar.sticky .vs-brand__mark { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
.header-sticky.sticky-bar.sticky .vs-brand__name { font-size: 20px; }
.logo .vs-brand { padding: 22px 0; }
