/* Public marketing: Learn, strategy pages, the offer bar, the newsletter form. Class names avoid "ad" words: ad blockers hide them. */
.lf-learn { padding-top: calc(var(--nav-height, 64px) + 28px); padding-bottom: 48px; }
.lf-learn-head { max-width: 720px; margin-bottom: 24px; }
.lf-learn-head h1, .lf-article h1, .lf-mail-card h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.6px; line-height: 1.15; margin: 0 0 10px; }
.lf-learn-head p { color: var(--text-muted); font-size: 15.5px; line-height: 1.6; margin: 0; }
.lf-learn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.lf-learn-card { padding: 18px 20px; border: 1px solid var(--border-color, rgba(148,163,184,.25)); border-radius: 12px; background: var(--bg-card, transparent); display: flex; flex-direction: column; gap: 8px; }
.lf-learn-card h2 { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0; }
.lf-learn-card h2 a { color: inherit; text-decoration: none; }
.lf-learn-card h2 a:hover { color: var(--color-accent, #2563eb); }
.lf-learn-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }
.lf-learn-card time, .lf-article header time { font-size: 12px; color: var(--text-muted); margin-top: auto; }
.lf-learn-empty { color: var(--text-muted); }
.lf-crumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; overflow-wrap: anywhere; }
.lf-crumbs a { color: var(--color-accent, #2563eb); text-decoration: none; }
.lf-article { max-width: 760px; }
.lf-article-body { font-size: 16px; line-height: 1.75; margin-top: 18px; overflow-wrap: anywhere; }
.lf-article-body h2 { font-size: 23px; font-weight: 700; margin: 30px 0 10px; line-height: 1.25; }
.lf-article-body h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.lf-article-body p, .lf-article-body ul, .lf-article-body ol { margin: 0 0 16px; }
.lf-article-body ul, .lf-article-body ol { padding-left: 22px; }
.lf-article-body li { margin-bottom: 6px; }
.lf-article-body a { color: var(--color-accent, #2563eb); }
.lf-article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.lf-article-body blockquote { margin: 0 0 16px; padding: 10px 16px; border-left: 3px solid var(--color-accent, #2563eb); color: var(--text-muted); }
.lf-article-body code { font-family: var(--font-mono, ui-monospace, monospace); font-size: .9em; padding: 1px 5px; border-radius: 4px; background: rgba(59,130,246,.1); }
.lf-article-cta { margin-top: 30px; padding: 20px 22px; border-radius: 12px; border: 1px solid rgba(59,130,246,.3); background: linear-gradient(135deg, rgba(59,130,246,.09), rgba(37,99,235,.03)); }
.lf-article-cta h2 { font-size: 18px; margin: 0 0 6px; }
.lf-article-cta p { color: var(--text-muted); font-size: 14px; margin: 0 0 12px; }
.lf-related { margin-top: 26px; }
.lf-related h2 { font-size: 17px; margin: 0 0 8px; }
.lf-related ul { margin: 0; padding-left: 18px; line-height: 1.8; }
.lf-related a { color: var(--color-accent, #2563eb); }
.lf-strategy { max-width: 880px; }
.lf-strategy section { margin-top: 26px; }
.lf-strategy section h2 { font-size: 20px; margin: 0 0 10px; }
.lf-strategy section p { line-height: 1.65; }
.lf-strategy-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 0; }
.lf-strategy-tags li { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; color: var(--color-accent, #2563eb); background: rgba(59,130,246,.12); }
.lf-strategy-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.lf-strategy-stats div { padding: 14px; border-radius: 10px; border: 1px solid var(--border-color, rgba(148,163,184,.25)); }
.lf-strategy-stats b { display: block; font-size: 21px; font-family: var(--font-mono, ui-monospace, monospace); color: var(--color-accent, #2563eb); }
.lf-strategy-stats span { font-size: 12px; color: var(--text-muted); }
.lf-strategy-note { font-size: 12.5px; color: var(--text-muted); margin-top: 10px; }
.lf-strategy-list { padding-left: 20px; line-height: 1.8; margin: 0; }
.lf-mail-page { display: flex; justify-content: center; }
.lf-mail-card { max-width: 480px; width: 100%; text-align: center; padding: 28px 24px; border-radius: 14px; border: 1px solid var(--border-color, rgba(148,163,184,.25)); }
.lf-mail-card h1 { font-size: 24px; }
.lf-mail-card p { color: var(--text-muted); line-height: 1.6; overflow-wrap: anywhere; }
.lf-strategy-index { margin-top: 28px; }
.lf-strategy-index h2 { font-size: 17px; margin: 0 0 8px; }
.lf-strategy-index ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 0; font-size: 13.5px; }
.lf-strategy-index a { color: var(--color-accent, #2563eb); text-decoration: none; }

/* Offer bar: along the bottom, so it never pushes the page or sits under the fixed menu */
.lf-offer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 9px 76px 9px 16px; background: #1d4ed8; color: #fff; font-size: 13.5px; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
.lf-offer b { font-weight: 700; }
.lf-offer-count { font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; white-space: nowrap; }
.lf-offer-code { border: 1px dashed rgba(255,255,255,.75); background: transparent; color: #fff; font: inherit; font-weight: 700; letter-spacing: .4px; padding: 2px 9px; border-radius: 6px; cursor: pointer; }
.lf-offer-link { color: #1d4ed8; background: #fff; font-weight: 700; text-decoration: none; padding: 4px 12px; border-radius: 6px; white-space: nowrap; }
.lf-offer-close { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: transparent; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) { .lf-offer { justify-content: flex-start; padding: 8px 68px 8px 36px; font-size: 12.5px; } }

/* Newsletter, in the footer */
.lf-news { margin: 0 auto 20px; max-width: 560px; }
.lf-news[hidden] { display: none; }
.lf-news h2 { font-size: 15px; margin: 0 0 4px; }
.lf-news p { font-size: 12.5px; color: var(--text-muted); margin: 0 0 8px; line-height: 1.5; }
.lf-news form { display: flex; gap: 8px; }
.lf-news input[type="email"] { flex: 1 1 auto; min-width: 0; }
.lf-news .lf-news-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lf-news-result { font-size: 12.5px; margin-top: 6px; min-height: 16px; }
@media (max-width: 480px) { .lf-news form { flex-direction: column; } }

/* Learn front page */
.lf-learn-home { padding-top: var(--nav-height, 64px); }
.lf-learn-hero { padding: 44px 0 30px; margin-bottom: 26px; background: radial-gradient(90% 140% at 12% 0%, rgba(59,130,246,.2), transparent 60%), linear-gradient(135deg, rgba(37,99,235,.1), rgba(59,130,246,.02)); border-bottom: 1px solid var(--border-color, rgba(148,163,184,.25)); }
.lf-learn-eyebrow { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent, #2563eb); }
.lf-learn-hero h1 { max-width: 760px; margin: 0 0 12px; font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; letter-spacing: -1px; line-height: 1.08; }
.lf-learn-hero p { max-width: 680px; margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--text-muted); }
.lf-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lf-topic { padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: inherit; background: transparent; border: 1px solid var(--border-color, rgba(148,163,184,.4)); }
.lf-topic:hover { border-color: var(--color-accent, #2563eb); }
.lf-topic[aria-pressed="true"] { color: #fff; background: #2563eb; border-color: #2563eb; }
.lf-chip { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; color: var(--color-accent, #2563eb); background: rgba(59,130,246,.12); }
.lf-meta { display: block; font-size: 12.5px; color: var(--text-muted); }
.lf-cover { display: grid; place-items: center; height: 118px; color: rgba(255,255,255,.92); background: linear-gradient(135deg, #1e3a8a, #2563eb 60%, #60a5fa); }
.lf-cover svg { width: 42px; height: 42px; }
.lf-cover[data-cover="risk"] { background: linear-gradient(135deg, #0f172a, #1d4ed8 70%, #3b82f6); }
.lf-cover[data-cover="ea-setup"] { background: linear-gradient(135deg, #1e40af, #3b82f6 65%, #93c5fd); }
.lf-cover[data-cover="strategies"] { background: linear-gradient(135deg, #172554, #1e40af 55%, #2563eb); }
.lf-cover[data-cover="prop-firms"] { background: linear-gradient(135deg, #0b1220, #1e3a8a 60%, #3b82f6); }
.lf-cover-large { height: auto; min-height: 240px; }
.lf-cover-large svg { width: 76px; height: 76px; }
.lf-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-bottom: 18px; overflow: hidden; border-radius: 16px; border: 1px solid var(--border-color, rgba(148,163,184,.25)); }
.lf-feature[hidden], .lf-learn-card[hidden], .lf-start[hidden] { display: none; }
.lf-feature-text { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.lf-feature h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.4px; line-height: 1.2; }
.lf-feature h2 a { color: inherit; text-decoration: none; }
.lf-feature h2 a:hover { color: var(--color-accent, #2563eb); }
.lf-feature p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.lf-start { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 10px 24px; padding: 20px 24px; margin-bottom: 18px; border-radius: 14px; border: 1px solid rgba(59,130,246,.3); background: rgba(59,130,246,.06); }
.lf-start h2 { margin: 0 0 4px; font-size: 18px; }
.lf-start p { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.lf-start ol { margin: 0; padding-left: 20px; }
.lf-start li { padding: 3px 0; font-size: 14px; }
.lf-start li a { color: var(--color-accent, #2563eb); font-weight: 600; text-decoration: none; }
.lf-start li .lf-meta { display: inline; margin-left: 8px; }
.lf-learn-home .lf-learn-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.lf-learn-home .lf-learn-card { padding: 0; gap: 0; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.lf-learn-home .lf-learn-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15,23,42,.1); }
.lf-learn-card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px 18px; }
.lf-learn-card-body .lf-meta { margin-top: auto; }
.lf-learn-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.lf-learn-next p { margin: 0; }
.lf-article-lead { font-size: 18px; line-height: 1.55; color: var(--text-muted); margin: 0 0 12px; }
.lf-article header .lf-chip { margin-bottom: 10px; }
.lf-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.lf-related-card { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding-bottom: 12px; overflow: hidden; color: inherit; text-decoration: none; font-size: 14px; line-height: 1.35; border-radius: 12px; border: 1px solid var(--border-color, rgba(148,163,184,.25)); }
.lf-related-card .lf-cover { width: 100%; height: 76px; }
.lf-related-card .lf-cover svg { width: 28px; height: 28px; }
.lf-related-card .lf-chip, .lf-related-card strong, .lf-related-card .lf-meta { margin: 0 12px; }
.lf-related-card:hover strong { color: var(--color-accent, #2563eb); }
@media (prefers-reduced-motion: reduce) { .lf-learn-home .lf-learn-card { transition: none; } .lf-learn-home .lf-learn-card:hover { transform: none; } }
@media (max-width: 720px) {
    .lf-feature, .lf-start { grid-template-columns: minmax(0, 1fr); }
    .lf-cover-large { min-height: 130px; }
    .lf-cover-large svg { width: 52px; height: 52px; }
    .lf-feature-text { padding: 18px 18px 20px; }
    .lf-learn-hero { padding: 28px 0 22px; }
}

/* Featured images and tags */
.lf-cover-img { display: block; width: 100%; height: 118px; object-fit: cover; }
.lf-cover-img.lf-cover-large { height: 100%; min-height: 240px; }
.lf-related-card .lf-cover-img { height: 76px; }
.lf-article-image { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; margin-top: 18px; border-radius: 14px; }
.lf-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lf-tag { padding: 3px 10px; border-radius: 6px; font: inherit; font-size: 12px; cursor: pointer; color: var(--text-muted); background: transparent; border: 1px dashed var(--border-color, rgba(148,163,184,.5)); }
.lf-tag:hover { color: var(--color-accent, #2563eb); border-color: var(--color-accent, #2563eb); }
.lf-tag[aria-pressed="true"] { color: #fff; background: #2563eb; border: 1px solid #2563eb; }
.lf-article-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 20px 0 0; }
.lf-article-tags a { display: inline-block; padding: 3px 10px; font-size: 12.5px; border-radius: 6px; text-decoration: none; color: var(--color-accent, #2563eb); background: rgba(59,130,246,.1); }
.lf-reg-news { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: var(--text-muted); cursor: pointer; font-weight: 400; }
.lf-reg-news input { flex: none; width: 16px; height: 16px; margin-top: 1px; }

/* Home page: the latest guides */
.lf-home-learn-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 20px; }
.lf-home-learn-head h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.lf-home-learn-head p { margin: 0; color: var(--text-muted); font-size: 15px; }
.lf-home-learn-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-auto-rows: 1fr; gap: 14px; }
.lf-home-guide { display: grid; grid-template-columns: 120px minmax(0, 1fr); overflow: hidden; color: inherit; text-decoration: none; border-radius: 14px; border: 1px solid var(--border-color, rgba(148,163,184,.25)); background: var(--bg-card, transparent); transition: transform .15s ease, box-shadow .15s ease; }
.lf-home-guide:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15,23,42,.1); }
.lf-home-guide .lf-cover, .lf-home-guide .lf-cover-img { height: 100%; min-height: 110px; }
.lf-home-guide .lf-cover svg { width: 32px; height: 32px; }
.lf-home-guide-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 14px 16px; min-width: 0; }
.lf-home-guide h3 { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.lf-home-guide:hover h3 { color: var(--color-accent, #2563eb); }
.lf-home-guide.is-first { grid-row: span 2; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(150px, 1fr) auto; }
.lf-home-guide.is-first h3 { font-size: 21px; font-weight: 800; }
.lf-home-guide.is-first p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.lf-home-guide.is-first .lf-cover svg { width: 58px; height: 58px; }
@media (prefers-reduced-motion: reduce) { .lf-home-guide { transition: none; } .lf-home-guide:hover { transform: none; } }
@media (max-width: 760px) {
    .lf-home-learn-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
    .lf-home-guide.is-first { grid-row: auto; }
}
.lf-strategy-index { margin-top: 20px; margin-bottom: 44px; text-align: center; font-size: 13px; }
.lf-strategy-index summary { display: inline-block; cursor: pointer; color: var(--text-muted); }
.lf-strategy-index summary:hover { color: var(--color-accent, #2563eb); }
.lf-strategy-index ul { justify-content: center; margin-top: 12px; }
.lf-learn-hero { position: relative; overflow: hidden; }
.lf-learn-hero > .container { position: relative; z-index: 1; }
.lf-hero-art { position: absolute; right: max(3%, calc(50% - 620px)); top: 50%; transform: translateY(-50%); width: min(34vw, 430px); height: auto; color: var(--color-accent, #2563eb); opacity: .17; pointer-events: none; }
@media (max-width: 900px) { .lf-hero-art { right: -40px; top: 18px; transform: none; width: 220px; opacity: .1; } }

/* Learn: search, filters and share */
.lf-findbar { display: flex; align-items: center; gap: 8px; max-width: 640px; margin-top: 20px; }
.lf-find { flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 14px; font: inherit; font-size: 14px; color: inherit; border-radius: 10px; border: 1px solid var(--border-color, rgba(148,163,184,.4)); background: var(--bg-card, #fff); }
.lf-find:focus { outline: 2px solid rgba(37,99,235,.35); border-color: var(--color-accent, #2563eb); }
.lf-filter-btn { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; color: inherit; border-radius: 10px; border: 1px solid var(--border-color, rgba(148,163,184,.4)); background: var(--bg-card, #fff); }
.lf-filter-btn svg, .lf-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lf-filter-btn[aria-expanded="true"] { color: var(--color-accent, #2563eb); border-color: var(--color-accent, #2563eb); }
.lf-filter-btn b { min-width: 18px; padding: 0 5px; font-size: 11px; line-height: 18px; text-align: center; color: #fff; border-radius: 999px; background: #2563eb; }
.lf-filter-btn b[hidden] { display: none; }
.lf-share { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; cursor: pointer; color: var(--color-accent, #2563eb); border-radius: 10px; border: 1px solid var(--border-color, rgba(148,163,184,.4)); background: var(--bg-card, #fff); }
.lf-share:hover { border-color: var(--color-accent, #2563eb); }
.lf-share-card { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; box-shadow: 0 2px 8px rgba(15,23,42,.2); }
.lf-share-card svg { width: 15px; height: 15px; }
.lf-learn-card, .lf-feature { position: relative; }
.lf-share-labelled { display: inline-flex; gap: 7px; width: auto; height: 36px; margin-top: 10px; padding: 0 13px; font: inherit; font-size: 13px; font-weight: 600; }
.lf-filter-panel { max-width: 760px; margin-top: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-color, rgba(148,163,184,.3)); background: var(--bg-card, #fff); }
.lf-filter-panel[hidden] { display: none; }
.lf-filter-group + .lf-filter-group { margin-top: 12px; }
.lf-filter-group > span { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.lf-filter-group > div { display: flex; flex-wrap: wrap; gap: 6px; }
.lf-filter-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.lf-filter-status[hidden], .lf-no-results[hidden] { display: none; }
.lf-filter-status button { padding: 0; font: inherit; font-weight: 600; cursor: pointer; color: var(--color-accent, #2563eb); border: 0; background: none; }
.lf-no-results { padding: 24px 0; text-align: center; }
.lf-share-menu { position: absolute; z-index: 1000; display: grid; min-width: 160px; padding: 5px; border-radius: 10px; background: var(--bg-card, #fff); border: 1px solid var(--border-color, rgba(148,163,184,.3)); box-shadow: 0 10px 28px rgba(15,23,42,.18); }
html[data-theme="light"] .lf-share-menu { background: #fff; }
html[data-theme="dark"] .lf-share-menu { background: #0f172a; }
.lf-share-menu a, .lf-share-menu button { display: block; width: 100%; padding: 8px 10px; font: inherit; font-size: 13.5px; text-align: left; text-decoration: none; cursor: pointer; color: inherit; border: 0; border-radius: 6px; background: none; }
.lf-share-menu a:hover, .lf-share-menu button:hover { color: var(--color-accent, #2563eb); background: rgba(59,130,246,.1); }
@media (max-width: 480px) {
    .lf-filter-btn span { display: none; }
    .lf-filter-btn { width: 42px; justify-content: center; padding: 0; position: relative; }
    .lf-filter-btn b { position: absolute; top: -6px; right: -6px; }
}
.lf-share-menu a, .lf-share-menu button { display: flex; align-items: center; gap: 10px; }
.lf-share-menu svg { flex: none; width: 18px; height: 18px; }
.lf-learn-card[hidden] { display: none; }

/* Article banner */
.lf-article-hero { position: relative; overflow: hidden; margin-bottom: 26px; padding: 26px 30px 24px; color: #fff; border-radius: 18px; background: radial-gradient(120% 140% at 100% 0%, rgba(96,165,250,.55), transparent 55%), linear-gradient(135deg, #0b1220, #172554 55%, #1d4ed8); box-shadow: 0 14px 34px rgba(15,23,42,.18); }
.lf-article-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.lf-article-hero-art { position: absolute; right: -24px; bottom: -34px; color: #fff; opacity: .1; pointer-events: none; }
.lf-article-hero-art svg { display: block; width: 230px; height: 230px; }
.lf-article-hero-text { position: relative; z-index: 1; }
.lf-article-hero .lf-crumbs { margin-bottom: 14px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.72); }
.lf-article-hero .lf-crumbs a { color: #fff; }
.lf-article .lf-article-hero h1 { margin: 0 0 12px; color: #fff !important; font-size: clamp(27px, 4.4vw, 40px); line-height: 1.12; letter-spacing: -.8px; }
.lf-article-hero .lf-article-lead { margin: 0 0 18px; max-width: 620px; font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.84); }
.lf-article-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 14px; font-size: 13px; color: rgba(255,255,255,.76); border-top: 1px solid rgba(255,255,255,.18); }
.lf-article-hero .lf-share-labelled { margin: 0; color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.lf-article-hero .lf-share-labelled:hover { border-color: #fff; background: rgba(255,255,255,.22); }
.lf-read-progress { position: fixed; top: var(--nav-height, 64px); left: 0; right: 0; z-index: 800; height: 3px; pointer-events: none; }
.lf-read-progress span { display: block; width: 100%; height: 100%; background: #2563eb; transform: scaleX(0); transform-origin: left; }
@media (max-width: 560px) {
    .lf-article-hero { padding: 20px 18px 18px; border-radius: 14px; }
    .lf-article-hero-art svg { width: 170px; height: 170px; }
    .lf-article-hero .lf-article-lead { font-size: 15px; }
}
.lf-article-hero .lf-article-meta time { color: inherit; font-size: inherit; margin: 0; }

/* Article banner on the light theme: soft blue with dark text, like the top of the Learn page */
html[data-theme="light"] .lf-article-hero { color: var(--text-main, #0f172a); background: radial-gradient(90% 140% at 100% 0%, rgba(59,130,246,.26), transparent 62%), linear-gradient(135deg, #eff6ff, #dbeafe); border: 1px solid rgba(59,130,246,.22); box-shadow: 0 10px 28px rgba(37,99,235,.1); }
html[data-theme="light"] .lf-article-hero-art { color: #2563eb; opacity: .13; }
html[data-theme="light"] .lf-article-hero-img { opacity: .16; }
html[data-theme="light"] .lf-article-hero .lf-crumbs { color: #475569; }
html[data-theme="light"] .lf-article-hero .lf-crumbs a { color: #2563eb; }
html[data-theme="light"] .lf-article .lf-article-hero h1 { color: #0b1220 !important; }
html[data-theme="light"] .lf-article-hero .lf-article-lead { color: #334155; }
html[data-theme="light"] .lf-article-meta { color: #475569; border-top-color: rgba(37,99,235,.2); }
html[data-theme="light"] .lf-article-hero .lf-share-labelled { color: #2563eb; border-color: rgba(37,99,235,.3); background: rgba(255,255,255,.75); }
html[data-theme="light"] .lf-article-hero .lf-share-labelled:hover { border-color: #2563eb; background: #fff; }
