/* ==============================================================
   LMS Campus blog — loaded after home.css by every page in blog/.
   Pages are generated by scripts/build-blog.js from blog-src/.
   Reading first: one 720px column, 18px text, nothing that moves.
   ============================================================== */

/* ===== POST HEADER ===== */
/* The inner-page canvas without the arch and sphere: a post's title is long
   and needs the width. */
.bl-head { padding: 140px 0 52px; }
.bl-head::before, .bl-head::after { display: none; }
.bl-head-inner { max-width: 820px; }
.bl-head h1 { font-size: clamp(32px, 4.2vw, 50px); }
.bl-head .lead { max-width: 760px; }
.bl-meta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; font-size: 14.5px; color: var(--muted); }
.bl-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.bl-meta > span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--faint); margin: 0 14px; }
.bl-meta-author { color: var(--ink-2); font-weight: 600; }
.bl-meta-author img { width: 28px; height: 28px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: var(--shadow-xs); }

/* ===== LAYOUT ===== */
.bl-wrap { padding: 56px 0 80px; }
.bl-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 64px; justify-content: center; align-items: start; }
.bl-layout--single { grid-template-columns: minmax(0, 720px); }

/* Contents */
.bl-toc { position: sticky; top: 100px; font-size: 14px; line-height: 1.45; }
.bl-toc-title { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.bl-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.bl-toc li { margin: 0; }
.bl-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--body); transition: var(--t); }
.bl-toc a:hover { color: var(--brand-ink); border-left-color: var(--brand); }

/* ===== ARTICLE TYPOGRAPHY ===== */
.bl-article { font-size: 18px; line-height: 1.75; color: #34414f; min-width: 0; }
.bl-article > * + * { margin-top: 1.1em; }
.bl-article h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -0.02em; margin-top: 2.1em; margin-bottom: -.2em; }
.bl-article h3 { font-size: 21px; line-height: 1.3; margin-top: 1.7em; margin-bottom: -.35em; }
.bl-article h2:first-child, .bl-article h3:first-child { margin-top: 0; }
.bl-article strong { color: var(--ink-2); font-weight: 600; }
.bl-article a:not(.lc-btn) { color: var(--brand-ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bl-article a:not(.lc-btn):hover { text-decoration-thickness: 2px; }
.bl-article ul, .bl-article ol { padding-left: 1.35em; }
.bl-article ul { list-style: disc; }
.bl-article ol { list-style: decimal; }
.bl-article li { margin-top: .45em; padding-left: .2em; }
.bl-article li::marker { color: var(--brand); }
.bl-article hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; opacity: 1; }
.bl-article blockquote { border-left: 3px solid var(--line-strong); padding-left: 20px; color: var(--body); font-style: italic; }

/* Lead-in paragraph */
.bl-article .bl-intro { font-size: 19.5px; line-height: 1.7; color: var(--ink-2); }

/* A tick list */
.bl-article ul.bl-check { list-style: none; padding-left: 0; }
.bl-check li { position: relative; padding-left: 32px; }
.bl-check li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-size: 10px; display: grid; place-items: center; }

/* Tip / note */
.bl-note { background: #fff6f1; border: 1px solid var(--brand-line); border-radius: var(--r); padding: 18px 22px; font-size: 16.5px; line-height: 1.65; }
.bl-note > * + * { margin-top: .6em; }
.bl-note-label { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 4px; }
.bl-note--plain { background: var(--bg-soft); border-color: var(--line); }
.bl-note--plain .bl-note-label { color: var(--muted); }

/* "In LMS Campus" — the one or two places a post names the product */
.bl-product { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 20px 24px; background: #fff; font-size: 16.5px; line-height: 1.65; box-shadow: var(--shadow-xs); }
.bl-product > * + * { margin-top: .6em; }
.bl-product-label { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.bl-product-label img { width: 22px; height: 22px; }
.bl-product ul { margin-top: .5em; }
.bl-product li { margin-top: .3em; }

/* A message to copy: WhatsApp, SMS or a call opener */
.bl-msg { background: #f3f6f4; border: 1px solid rgba(11,22,34,.07); border-radius: 18px 18px 18px 4px; padding: 14px 18px 16px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 600px; }
.bl-msg-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.bl-msg-label i { margin-right: 5px; }
.bl-msg-label .fa-whatsapp { color: #1f9e55; }
.bl-msg + .bl-msg { margin-top: 12px; }
.bl-msg p + p { margin-top: .5em; }

/* Day-by-day timeline */
.bl-article ol.bl-timeline { list-style: none; padding: 0; }
/* The line joins one pill to the next and stops at the last one. */
.bl-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 47px; top: 18px; bottom: -36px; width: 2px; background: var(--brand-line); }
.bl-timeline li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 0; margin: 0; position: relative; }
.bl-timeline li + li { margin-top: 18px; }
.bl-timeline .bl-when { justify-self: center; position: relative; z-index: 1; align-self: start; min-width: 84px; text-align: center; background: #fff; border: 1.5px solid var(--brand-line); color: var(--brand-ink); font-family: var(--font-display); font-weight: 700; font-size: 13.5px; line-height: 1.2; padding: 7px 10px; border-radius: 100px; }
.bl-timeline .bl-what { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; font-size: 16.5px; line-height: 1.6; box-shadow: var(--shadow-xs); }
.bl-timeline .bl-what strong { display: block; font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-bottom: 2px; }

/* Tables */
.bl-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.bl-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.bl-table th, .bl-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.bl-table thead th { background: var(--bg-soft); font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 14.5px; white-space: nowrap; }
.bl-table tbody tr:last-child td { border-bottom: 0; }
.bl-table td:first-child { color: var(--ink-2); font-weight: 600; }
.bl-table caption { caption-side: bottom; padding: 10px 16px; font-size: 13.5px; color: var(--muted); text-align: left; }
.bl-num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Figure */
.bl-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* A numbered "way" heading inside a long list post */
.bl-article .bl-n { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-size: 15px; vertical-align: 3px; }

/* ===== COVER, KEY TAKEAWAYS, MID-POST CALL TO ACTION ===== */
.bl-article .bl-cover { margin: 0 0 1.6em; }
.bl-cover img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.bl-takeaways { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px 18px; font-size: 16.5px; line-height: 1.6; }
.bl-takeaways-title { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.bl-article .bl-takeaways ul { list-style: none; padding-left: 0; margin-top: 10px; }
.bl-takeaways li { position: relative; padding-left: 28px; margin-top: 8px; }
.bl-takeaways li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--brand); font-size: 14px; }
.bl-takeaways + * { margin-top: 1.6em; }

.bl-inline-cta { display: flex; gap: 20px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--night-2); color: var(--on-night); border-radius: var(--r-lg); padding: 24px 28px; font-size: 16px; line-height: 1.6; position: relative; overflow: hidden; }
.bl-inline-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px 260px at 100% 0%, rgba(232,67,111,.32), transparent 70%), radial-gradient(360px 240px at 0% 100%, rgba(241,90,41,.22), transparent 70%); }
.bl-inline-cta > * { position: relative; }
.bl-inline-cta > div:first-child { flex: 1 1 320px; }
.bl-inline-cta-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.bl-inline-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.bl-inline-cta .lc-btn-ghost { background: #fff; color: var(--ink); }
.bl-article .bl-inline-cta a.lc-btn { text-decoration: none; font-weight: 600; }

/* ===== COMPARISON POSTS ===== */
/* The platform headings in a "best alternatives" list */
.bl-article .bl-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bl-pick .bl-n { margin-right: 0; }
.bl-best { display: inline-block; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; padding: 4px 10px; border-radius: 100px; background: var(--bg-alt); color: var(--ink-2); vertical-align: middle; }
.bl-best--top { background: var(--grad-warm); color: #fff; }
/* Our row in a comparison table */
.bl-table tr.bl-us td { background: #fff6f1; }
.bl-table tr.bl-us td:first-child { color: var(--brand-ink); box-shadow: inset 3px 0 0 var(--brand); }
.bl-table th.bl-us, .bl-table td.bl-us { background: #fff6f1; }
.bl-table thead th.bl-us { color: var(--brand-ink); }
.bl-yes, .bl-no, .bl-part { font-weight: 600; }
/* Five or six columns in a 720px column: smaller type, tighter cells, a readable first column */
.bl-table--center table { font-size: 14px; line-height: 1.4; }
.bl-table--center th, .bl-table--center td { padding: 10px 9px; }
.bl-table--center td:first-child { min-width: 170px; }
.bl-table--center thead th { white-space: normal; font-size: 13.5px; }
.bl-yes { color: #15803d; }
.bl-no { color: var(--muted); font-weight: 500; }
.bl-part { color: #b45309; }
.bl-yes::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 6px; font-size: .85em; }
.bl-no::before { content: "\2014"; margin-right: 6px; }
.bl-table.bl-table--center td:not(:first-child), .bl-table.bl-table--center th:not(:first-child) { text-align: center; }
/* Two short lists side by side: what stands out / what to check */
.bl-procon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bl-procon > div { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px 12px; font-size: 15.5px; line-height: 1.55; background: #fff; }
.bl-procon p { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.bl-article .bl-procon ul { list-style: none; padding-left: 0; margin-top: 6px; }
.bl-procon li { position: relative; padding-left: 22px; margin-top: 6px; }
.bl-procon .bl-plus li::before { content: "+"; position: absolute; left: 2px; top: -1px; font-weight: 700; color: #15803d; }
.bl-procon .bl-minus li::before { content: "\2013"; position: absolute; left: 2px; top: -1px; font-weight: 700; color: #b45309; }
.bl-procon .bl-plus { border-color: rgba(21,128,61,.25); }

/* A product screenshot */
.bl-shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* A free download */
.bl-download { display: flex; gap: 18px 24px; align-items: center; flex-wrap: wrap; border: 1.5px dashed var(--brand-line); background: #fffaf7; border-radius: var(--r); padding: 18px 22px; }
.bl-download-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-size: 22px; flex-shrink: 0; }
.bl-download > div { flex: 1 1 260px; font-size: 16px; line-height: 1.55; }
.bl-download-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 17px; }
.bl-download-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.bl-article .bl-download a.lc-btn { text-decoration: none; font-weight: 600; }

/* ===== FAQ, AUTHOR ===== */
.bl-faq { margin-top: 3.2em; }
.bl-faq h2 { margin-bottom: 1em; }
.bl-faq .lc-faq { max-width: none; }
.bl-faq .vc-faq-q { font-size: 16.5px; }
.bl-faq .vc-faq-a p { font-size: 16px; }
.bl-faq .vc-faq-a a { font-weight: 600; }
.bl-faq .vc-faq-item.active .vc-faq-a { max-height: 640px; }

.bl-author { display: flex; gap: 16px; align-items: flex-start; margin-top: 3.2em; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--body); }
.bl-author img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #fff; padding: 5px; box-shadow: var(--shadow-sm); }
.bl-author-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 16px; margin-bottom: 2px; }

/* ===== CARDS (index + "keep reading") ===== */
.bl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bl-cards--index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1020px; margin: 0 auto; }
.bl-card { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 26px 26px 22px; box-shadow: var(--shadow-sm); transition: box-shadow var(--t), transform var(--t); }
.bl-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.bl-card--img { padding-top: 0; overflow: hidden; }
.bl-card-img { display: block; width: calc(100% + 52px); max-width: none; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; margin: 0 -26px 8px; border-bottom: 1px solid var(--line-2); }
.bl-card-title { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.bl-cards--index .bl-card-title { font-size: 22px; }
.bl-card-title a { color: var(--ink); }
.bl-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; } /* the whole card is the link */
.bl-card-title a:focus-visible { outline: none; }
.bl-card:has(a:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.bl-card p { font-size: 15.5px; line-height: 1.6; color: var(--body); }
.bl-card .bl-card-meta { margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--muted); }
.bl-chip { display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand-soft); border-radius: 100px; padding: 4px 10px; line-height: 1.4; }

.bl-index { padding: 56px 0 0; }
.bl-related { padding: 72px 0; }
.bl-related-title { text-align: center; font-size: clamp(26px, 3vw, 34px); margin-bottom: 32px; }
.bl-cta-section { padding-top: 72px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .bl-layout { grid-template-columns: minmax(0, 720px); gap: 0; }
    .bl-toc { position: static; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 12px; margin-bottom: 36px; }
    .bl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bl-cards > :nth-child(3) { display: none; }
}
@media (max-width: 768px) {
    .bl-head { padding: 112px 0 40px; }
    .bl-wrap { padding: 36px 0 56px; }
    .bl-article { font-size: 17px; }
    .bl-article .bl-intro { font-size: 18px; }
    .bl-cards, .bl-cards--index { grid-template-columns: minmax(0, 1fr); }
    .bl-procon { grid-template-columns: minmax(0, 1fr); }
    .bl-inline-cta { padding: 22px 20px; }
    .bl-cards > :nth-child(3) { display: flex; }
    .bl-timeline li:not(:last-child)::before { left: 35px; }
    .bl-timeline li { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
    .bl-timeline .bl-when { min-width: 66px; font-size: 12.5px; padding: 6px 8px; }
    .bl-meta { gap: 6px 18px; }
    .bl-meta > span + span::before { display: none; } /* a wrapped line must not start with a dot */
}
@media (prefers-reduced-motion: reduce) {
    .bl-card, .bl-card:hover { transition: none; transform: none; }
}

/* Inline code, e.g. an Excel formula */
.bl-article code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; background: #f1f4f9; border: 1px solid rgba(11,22,34,.08); border-radius: 6px; padding: .1em .4em; color: var(--ink-2); overflow-wrap: anywhere; }

/* Numbered prompts (a prompt pack). Continue numbering across lists with style="counter-reset: p 10". */
.bl-article ol.bl-prompts { list-style: none; padding: 0; margin: 1.1em 0 1.6em; counter-reset: p; }
.bl-prompts li { counter-increment: p; position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px 14px 60px; margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.bl-prompts li + li { margin-top: 10px; }
.bl-prompts li::before { content: counter(p); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-ink); font-family: var(--font-display); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.bl-prompts .bl-prompt-for { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
@media (max-width: 576px) { .bl-prompts li { padding: 12px 14px 12px 50px; } .bl-prompts li::before { left: 12px; width: 26px; height: 26px; font-size: 13px; } }
