/* =====================================================================
   Website template: EDITORIAL — minimal & typographic
   Black on white, hairline borders, oversized serif headlines, square
   corners, no gradients and no shadows. Everything is expressed through the
   --lf-* tokens, so the visitor's dark-mode toggle simply inverts it.
   Layered over learnify.css, scoped to body.lf-tpl-editorial.
   ===================================================================== */
body.lf-tpl-editorial {
    --lf-bg: #ffffff;
    --lf-card: #ffffff;
    --lf-border: #e4e4e7;
    --lf-ink: #09090b;
    --lf-muted: #71717a;
    --lf-radius: 0px;
    --lf-radius-lg: 0px;
    --lf-shadow-sm: none;
    --lf-shadow: none;
    --lf-shadow-lg: none;
    --lf-grad: linear-gradient(135deg, var(--lf-ink) 0%, var(--lf-ink) 100%);
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lf-font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
    --lf-soft: #fafafa;
    --bs-body-color: var(--lf-ink);
}
body.lf-tpl-editorial.bg-light { background-color: var(--lf-bg) !important; color: var(--lf-ink); }
[data-bs-theme="dark"] body.lf-tpl-editorial { --lf-bg: #09090b; --lf-card: #09090b; --lf-border: #27272a; --lf-ink: #fafafa; --lf-muted: #a1a1aa; --lf-soft: #101012; }
[data-bs-theme="dark"] body.lf-tpl-editorial.bg-light { background-color: var(--lf-bg) !important; }

body.lf-tpl-editorial h1, body.lf-tpl-editorial h2, body.lf-tpl-editorial h3,
body.lf-tpl-editorial .hero-title, body.lf-tpl-editorial .lf-sec-title, body.lf-tpl-editorial .lf-band h2 { font-family: var(--lf-font-heading); font-weight: 500; letter-spacing: -.02em; color: var(--lf-ink); }
body.lf-tpl-editorial .display-1, body.lf-tpl-editorial .display-2, body.lf-tpl-editorial .display-3, body.lf-tpl-editorial .display-4, body.lf-tpl-editorial .display-5 { font-weight: 500; letter-spacing: -.025em; }
body.lf-tpl-editorial .fw-bold { font-weight: 600; }
body.lf-tpl-editorial .text-gradient { background: none; -webkit-text-fill-color: currentColor; color: inherit; font-style: italic; }
body.lf-tpl-editorial .text-muted { color: var(--lf-muted) !important; }
body.lf-tpl-editorial .text-primary { color: var(--lf-ink) !important; }
body.lf-tpl-editorial a { color: var(--lf-ink); }
body.lf-tpl-editorial a:hover { color: var(--lf-primary); }

/* ---------- Buttons: square, monochrome; brand colour only on hover ---------- */
body.lf-tpl-editorial .btn { border-radius: 0; font-weight: 600; letter-spacing: .01em; }
body.lf-tpl-editorial .btn-lg, body.lf-tpl-editorial .btn-sm { border-radius: 0; }
body.lf-tpl-editorial .btn.rounded-pill, body.lf-tpl-editorial .form-select.rounded-pill, body.lf-tpl-editorial .rounded-pill { border-radius: 0 !important; }
body.lf-tpl-editorial .btn-primary { background-image: none; background-color: var(--lf-ink) !important; border: 1.5px solid var(--lf-ink) !important; color: var(--lf-bg); box-shadow: none; }
body.lf-tpl-editorial .btn-primary:hover, body.lf-tpl-editorial .btn-primary:focus { background-color: var(--lf-primary) !important; border-color: var(--lf-primary) !important; color: #fff; transform: none; box-shadow: none; }
body.lf-tpl-editorial .btn-outline-primary { color: var(--lf-ink); border-color: var(--lf-ink); }
body.lf-tpl-editorial .btn-outline-primary:hover { background: var(--lf-ink); border-color: var(--lf-ink); color: var(--lf-bg); transform: none; }
body.lf-tpl-editorial .btn-light { background: var(--lf-bg); color: var(--lf-ink); border: 1.5px solid var(--lf-ink); box-shadow: none; }
body.lf-tpl-editorial .btn-light:hover { background: var(--lf-ink); color: var(--lf-bg); transform: none; }
body.lf-tpl-editorial .badge { border-radius: 0; }
body.lf-tpl-editorial .card, body.lf-tpl-editorial .rounded-4, body.lf-tpl-editorial .rounded-3 { border-radius: 0 !important; box-shadow: none !important; }
body.lf-tpl-editorial .form-control, body.lf-tpl-editorial .form-select { border-radius: 0; border-color: var(--lf-border); background: var(--lf-bg); color: var(--lf-ink); }
body.lf-tpl-editorial .form-control:focus { border-color: var(--lf-ink); box-shadow: none; }
body.lf-tpl-editorial .bg-primary { background-color: var(--lf-ink) !important; }

/* ---------- Header ---------- */
body.lf-tpl-editorial .lf-header { background: var(--lf-bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--lf-border); }
body.lf-tpl-editorial .lf-header.is-scrolled { border-bottom-color: var(--lf-ink); box-shadow: none; }
body.lf-tpl-editorial .lf-header-inner { min-height: 72px; }
body.lf-tpl-editorial .lf-brand-mark { border-radius: 0; background: var(--lf-ink); color: var(--lf-bg); }
body.lf-tpl-editorial .lf-brand-name { font-family: var(--lf-font-heading); font-weight: 600; letter-spacing: -.01em; font-size: 1.3rem; color: var(--lf-ink); }
body.lf-tpl-editorial .lf-nav { margin-inline-start: 1.5rem; gap: .9rem; }
body.lf-tpl-editorial .lf-nav-link { border-radius: 0; padding: .3rem 0; font-weight: 500; font-size: .92rem; color: var(--lf-muted); border-bottom: 1.5px solid transparent; }
body.lf-tpl-editorial .lf-nav-link:hover { background: transparent; color: var(--lf-ink); }
body.lf-tpl-editorial .lf-nav-link.is-active { background: transparent; color: var(--lf-ink); border-bottom-color: var(--lf-ink); }
body.lf-tpl-editorial .lf-searchbox { border-radius: 0; background: transparent; border: 1px solid var(--lf-border); }
body.lf-tpl-editorial .lf-searchbox:focus-within { border-color: var(--lf-ink); box-shadow: none; background: var(--lf-bg); }
body.lf-tpl-editorial .lf-searchbox kbd { border-radius: 0; }
body.lf-tpl-editorial .lf-nav-btn { border-radius: 0; color: var(--lf-ink); }
body.lf-tpl-editorial .lf-nav-btn:hover { background: var(--lf-soft); }
body.lf-tpl-editorial .lf-cart-count { border-radius: 0; background: var(--lf-ink); color: var(--lf-bg); border-color: var(--lf-bg); }
body.lf-tpl-editorial .lf-btn-ghost, body.lf-tpl-editorial .lf-btn-solid { border-radius: 0; }
body.lf-tpl-editorial .lf-btn-ghost { border-color: var(--lf-ink); color: var(--lf-ink); }
body.lf-tpl-editorial .lf-btn-ghost:hover { background: var(--lf-soft); }
body.lf-tpl-editorial .lf-btn-solid { background: var(--lf-ink); color: var(--lf-bg); box-shadow: none; }
body.lf-tpl-editorial .lf-btn-solid:hover { background: var(--lf-primary); color: #fff; transform: none; box-shadow: none; }
body.lf-tpl-editorial .lf-user { border-radius: 0; }
body.lf-tpl-editorial .lf-user-menu, body.lf-tpl-editorial .lf-region-menu, body.lf-tpl-editorial .dropdown-menu { border-radius: 0; border: 1px solid var(--lf-ink); box-shadow: none; }
body.lf-tpl-editorial .lf-user-menu .dropdown-item, body.lf-tpl-editorial .lf-region-item, body.lf-tpl-editorial .lf-chip, body.lf-tpl-editorial .lf-drawer-nav a { border-radius: 0; }
body.lf-tpl-editorial .lf-drawer-nav a.is-active, body.lf-tpl-editorial .lf-region-item.is-active { color: var(--lf-ink); background: var(--lf-soft); }

/* ---------- Hero: white page, giant serif headline ---------- */
body.lf-tpl-editorial .hero:not(.hero--photo) { color: var(--lf-ink); background: var(--lf-bg); border-bottom: 1px solid var(--lf-border); }
body.lf-tpl-editorial .hero:not(.hero--photo)::after { display: none; }
body.lf-tpl-editorial .hero-orb, body.lf-tpl-editorial .hero-grid, body.lf-tpl-editorial .hero-glow, body.lf-tpl-editorial .hero-float { display: none; }
body.lf-tpl-editorial .hero .container { padding-top: 4rem !important; padding-bottom: 4rem !important; }
body.lf-tpl-editorial .hero-title { font-weight: 500; line-height: 1.02; letter-spacing: -.03em; }
body.lf-tpl-editorial .hero-title.display-3 { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 5rem); }
body.lf-tpl-editorial .hero-title.display-2 { font-size: clamp(2.8rem, 1.8rem + 4vw, 5.6rem); }
body.lf-tpl-editorial .hero:not(.hero--photo) .hero-hl { color: inherit; font-style: italic; }
body.lf-tpl-editorial .hero-hl::after { display: none; }
body.lf-tpl-editorial .hero:not(.hero--photo) .hero-lede { color: var(--lf-muted); font-size: 1.15rem; max-width: 520px; }
body.lf-tpl-editorial .hero-badge { border-radius: 0; background: transparent; border: 1px solid var(--lf-ink); color: var(--lf-ink); backdrop-filter: none; box-shadow: none; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; padding: .45rem .8rem !important; }
body.lf-tpl-editorial .hero:not(.hero--photo) .hero-dot { background: var(--lf-ink); animation: none; box-shadow: none; }
body.lf-tpl-editorial .hero-search { background: var(--lf-bg); border: 1.5px solid var(--lf-ink); box-shadow: none; backdrop-filter: none; padding: .35rem !important; }
body.lf-tpl-editorial .hero-search.rounded-pill { border-radius: 0 !important; }
body.lf-tpl-editorial .hero-search:focus-within { box-shadow: none; transform: none; }
body.lf-tpl-editorial .hero-search-ico { color: var(--lf-ink); }
body.lf-tpl-editorial .hero-search .form-control { color: var(--lf-ink) !important; background: transparent !important; }
body.lf-tpl-editorial .hero-search .btn { box-shadow: none; }
body.lf-tpl-editorial .hero-chip { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
body.lf-tpl-editorial .hero:not(.hero--photo) .hero-chip { color: var(--lf-ink); background: transparent; border: 1px solid var(--lf-border); }
body.lf-tpl-editorial .hero:not(.hero--photo) .hero-chip:hover { border-color: var(--lf-ink); background: transparent; color: var(--lf-ink); transform: none; }
body.lf-tpl-editorial .hero:not(.hero--photo) .opacity-75 { color: var(--lf-muted); opacity: 1 !important; }
body.lf-tpl-editorial .hero:not(.hero--photo) .hero-stars { color: var(--lf-ink); }
body.lf-tpl-editorial .hero:not(.hero--photo) .hero-stat-ico { display: none; }
body.lf-tpl-editorial .hero-stats .h4 { font-family: var(--lf-font-heading); font-weight: 500; font-size: 1.8rem; }
body.lf-tpl-editorial .hero:not(.hero--photo) .hero-faces img, body.lf-tpl-editorial .hero:not(.hero--photo) .hero-face-more { border-color: var(--lf-bg); box-shadow: none; border-radius: 0; }
body.lf-tpl-editorial .hero:not(.hero--photo) .hero-face-more { background: var(--lf-ink); color: var(--lf-bg); }
body.lf-tpl-editorial .hero:not(.hero--photo) .btn-light { background: var(--lf-ink); color: var(--lf-bg); border-color: var(--lf-ink); }
body.lf-tpl-editorial .hero-card { transform: none; animation: none; border-radius: 0; padding: 0; background: var(--lf-card); color: var(--lf-ink); border: 1px solid var(--lf-ink); box-shadow: none; }
body.lf-tpl-editorial .hero-card:hover { transform: translateY(-4px); box-shadow: none; }
body.lf-tpl-editorial .hero-card-media { border-radius: 0; }
body.lf-tpl-editorial .hero-card-body { padding: 1rem 1rem .9rem; }
body.lf-tpl-editorial .hero-card-title { font-family: var(--lf-font-heading); font-weight: 500; font-size: 1.15rem; }
body.lf-tpl-editorial .hero-card-pill { border-radius: 0; background: var(--lf-bg); color: var(--lf-ink); border: 1px solid var(--lf-ink); backdrop-filter: none; text-transform: uppercase; letter-spacing: .08em; font-size: .62rem; }
body.lf-tpl-editorial .hero-card-play { border-radius: 0; background: var(--lf-ink); color: var(--lf-bg); box-shadow: none; }
body.lf-tpl-editorial .hero-card-play::before { display: none; }
body.lf-tpl-editorial .hero-card-price { color: var(--lf-ink); }
body.lf-tpl-editorial .hero-card-rating { color: var(--lf-ink); }
body.lf-tpl-editorial .hero-visual { padding: 0; }
/* centered */
body.lf-tpl-editorial .hero-showcase { gap: 1px; background: var(--lf-ink); border: 1px solid var(--lf-ink); align-items: stretch; margin-top: 3.5rem; }
body.lf-tpl-editorial .hero-showcase .hero-card { max-width: none; border: 0; transform: none !important; }
body.lf-tpl-editorial .hero-showcase .hero-card:hover { transform: none !important; }
body.lf-tpl-editorial .hero:not(.hero--photo) .hero-statbar { background: transparent; border-top: 1px solid var(--lf-ink); backdrop-filter: none; margin-top: 0; padding: 1.5rem 0; }
/* bento */
body.lf-tpl-editorial .hero--bento .hero-hl { background: none; -webkit-text-fill-color: currentColor; color: inherit; }
body.lf-tpl-editorial .hero-bento { gap: 1px; background: var(--lf-ink); border: 1px solid var(--lf-ink); }
body.lf-tpl-editorial .hero-bento-tile { border-radius: 0; border: 0; box-shadow: none; }
body.lf-tpl-editorial .hero-bento-tile:hover { transform: none; box-shadow: none; }
body.lf-tpl-editorial .hero-bento-tile--course { background: var(--lf-card); padding: 0; }
body.lf-tpl-editorial .hero-bento-tile--course .hero-card { border: 0; height: 100%; }
body.lf-tpl-editorial .hero-bento-tile--grad { background: var(--lf-ink); color: var(--lf-bg); box-shadow: none; }
body.lf-tpl-editorial .hero-bento-tile--grad .display-6 { font-family: var(--lf-font-heading); font-weight: 500; }
body.lf-tpl-editorial .hero--bento .hero-float-ring { background: conic-gradient(var(--lf-ink) calc(var(--p) * 1%), var(--lf-border) 0); color: var(--lf-ink); border-radius: 0; }
body.lf-tpl-editorial .hero--bento .hero-float-ring span { background: var(--lf-card); border-radius: 0; }
body.lf-tpl-editorial .hero--bento .hero-float-ico { display: grid; border-radius: 0; background: var(--lf-ink); box-shadow: none; }
/* photo */
body.lf-tpl-editorial .hero--photo { background: #09090b; }
body.lf-tpl-editorial .hero-photo-bg { animation: none; transform: none; filter: grayscale(.4) contrast(1.05); }
body.lf-tpl-editorial .hero-photo-shade { background: linear-gradient(100deg, rgba(9,9,11,.94) 0%, rgba(9,9,11,.7) 55%, rgba(9,9,11,.3) 100%); }
body.lf-tpl-editorial .hero--photo .hero-title { color: #fff; }
body.lf-tpl-editorial .hero--photo .hero-hl { color: #fff; font-style: italic; }
body.lf-tpl-editorial .hero--photo .hero-badge { border-color: #fff; color: #fff; }
body.lf-tpl-editorial .hero--photo .hero-search { border-color: #fff; background: #fff; }
body.lf-tpl-editorial .hero--photo .hero-search .form-control, body.lf-tpl-editorial .hero--photo .hero-search-ico { color: #09090b !important; }
body.lf-tpl-editorial .hero--photo .hero-search .btn-primary { background-color: #09090b !important; border-color: #09090b !important; color: #fff; }
body.lf-tpl-editorial .hero--photo .hero-card { border-color: rgba(255,255,255,.5); }
body.lf-tpl-editorial .hero-glass { border-radius: 0; background: rgba(9,9,11,.5); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); box-shadow: none; }
body.lf-tpl-editorial .hero-glass-tile { border-radius: 0; }
body.lf-tpl-editorial .hero-glass-tile i { color: #fff; }
body.lf-tpl-editorial .hero--photo .hero-stat-ico { border-radius: 0; }

/* ---------- Sections: full-width hairlines, left-aligned rhythm ---------- */
body.lf-tpl-editorial .lf-sec { padding: 6rem 0; }
body.lf-tpl-editorial .lf-sec--compact { padding: 3.5rem 0; }
body.lf-tpl-editorial .lf-sec--surface { background: var(--lf-card); }
body.lf-tpl-editorial .lf-sec--tint { background: var(--lf-soft); }
body.lf-tpl-editorial .lf-sec--dark { background: var(--lf-ink); color: var(--lf-bg); }
body.lf-tpl-editorial .lf-sec--dark .lf-sec-title, body.lf-tpl-editorial .lf-sec--dark h2, body.lf-tpl-editorial .lf-sec--dark h3 { color: var(--lf-bg); }
body.lf-tpl-editorial .lf-sec--dark .lf-eyebrow { color: var(--lf-bg); background: transparent; }
body.lf-tpl-editorial .lf-sec--dark .card, body.lf-tpl-editorial .lf-sec--dark .lf-tile { background: transparent; border-color: rgba(255,255,255,.25); }
body.lf-tpl-editorial .lf-sec + .lf-sec::before { width: 100%; opacity: 1; background: var(--lf-border); display: block; }
body.lf-tpl-editorial .lf-sec--dark + .lf-sec::before, body.lf-tpl-editorial .lf-sec--band + .lf-sec--band::before { display: none; }
body.lf-tpl-editorial .lf-sec-head { margin-bottom: 3rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--lf-ink); }
body.lf-tpl-editorial .lf-sec--dark .lf-sec-head { border-bottom-color: rgba(255,255,255,.4); }
body.lf-tpl-editorial .lf-eyebrow { background: transparent; padding: 0; border-radius: 0; color: var(--lf-ink); font-size: .68rem; letter-spacing: .18em; gap: .55rem; margin-bottom: 1rem; }
body.lf-tpl-editorial .lf-eyebrow::before { width: 10px; height: 10px; border-radius: 0; }
body.lf-tpl-editorial .lf-sec-title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.05; }
body.lf-tpl-editorial .lf-sec-lead { font-size: 1.05rem; }
body.lf-tpl-editorial .lf-sec-link { color: var(--lf-ink); text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
body.lf-tpl-editorial .lf-sec-link:hover { color: var(--lf-primary); }
body.lf-tpl-editorial .lf-sec-link i { display: none; }

/* tiles, categories, features */
body.lf-tpl-editorial .lf-tile, body.lf-tpl-editorial .lf-cat, body.lf-tpl-editorial .course-card, body.lf-tpl-editorial .lf-more { border-radius: 0; box-shadow: none; border: 1px solid var(--lf-border); }
body.lf-tpl-editorial .lf-tile--hover:hover, body.lf-tpl-editorial .lf-cat:hover, body.lf-tpl-editorial .course-card:hover { transform: none; box-shadow: none; border-color: var(--lf-ink); }
body.lf-tpl-editorial .lf-tile--hover:hover .lf-ico { transform: none; }
body.lf-tpl-editorial .lf-ico { border-radius: 0; background: transparent; border: 1px solid var(--lf-ink); color: var(--lf-ink); }
body.lf-tpl-editorial .lf-ico--grad { background: var(--lf-ink); color: var(--lf-bg); box-shadow: none; }
body.lf-tpl-editorial .lf-feature h3 { font-family: var(--lf-font-heading); font-weight: 500; font-size: 1.25rem; }
body.lf-tpl-editorial .lf-cat-name { font-family: var(--lf-font-heading); font-weight: 500; font-size: 1.05rem; }
body.lf-tpl-editorial .lf-cat:hover .lf-cat-go { color: var(--lf-ink); }
body.lf-tpl-editorial .lf-more { border-style: solid; }
body.lf-tpl-editorial .lf-more:hover, body.lf-tpl-editorial .lf-cat--more:hover { background: var(--lf-soft); }
body.lf-tpl-editorial .lf-cat--more { border-style: dashed; }

/* course cards: photo, then text with a hairline between */
body.lf-tpl-editorial .course-card { background: var(--lf-card); }
body.lf-tpl-editorial .course-thumb { transition: none; }
body.lf-tpl-editorial .course-card:hover .course-thumb { transform: none; }
body.lf-tpl-editorial .course-thumb-wrap { border-bottom: 1px solid var(--lf-border); }
body.lf-tpl-editorial .lf-course-title { font-family: var(--lf-font-heading); font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
body.lf-tpl-editorial .course-card:hover .lf-course-title a { color: var(--lf-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.lf-tpl-editorial .lf-badge { border-radius: 0; backdrop-filter: none; box-shadow: none; background: var(--lf-bg); color: var(--lf-ink); border: 1px solid var(--lf-ink); text-transform: uppercase; letter-spacing: .08em; font-size: .62rem; }
body.lf-tpl-editorial .lf-badge.bg-primary { background: var(--lf-ink) !important; color: var(--lf-bg) !important; }
body.lf-tpl-editorial .lf-badge--free { background: var(--lf-ink); color: var(--lf-bg); }
body.lf-tpl-editorial .lf-badge--deal { background: var(--lf-primary); border-color: var(--lf-primary); color: #fff; }
body.lf-tpl-editorial .lf-wishlist-btn { border-radius: 0; background: var(--lf-bg); color: var(--lf-ink); border: 1px solid var(--lf-ink); box-shadow: none; backdrop-filter: none; }
body.lf-tpl-editorial .lf-wishlist-btn:hover { transform: none; }
body.lf-tpl-editorial .lf-play { background: rgba(9,9,11,.35); }
body.lf-tpl-editorial .lf-play span { border-radius: 0; background: var(--lf-bg); color: var(--lf-ink); }
body.lf-tpl-editorial .lf-rating .bi { color: var(--lf-ink); }
body.lf-tpl-editorial .lf-price { font-family: var(--lf-font-heading); font-weight: 500; font-size: 1.25rem; }
body.lf-tpl-editorial .lf-price.text-success { color: var(--lf-ink) !important; }
body.lf-tpl-editorial .course-card .border-top { border-top-color: var(--lf-border) !important; }
body.lf-tpl-editorial .course-card .rounded-circle { border-radius: 0 !important; }
body.lf-tpl-editorial .text-success { color: var(--lf-ink) !important; }

/* steps, stats, people, quotes */
body.lf-tpl-editorial .lf-step { text-align: left; }
body.lf-tpl-editorial .lf-step-num { margin: 0 0 1.25rem; border-radius: 0; background: transparent; border: 1px solid var(--lf-ink); color: var(--lf-ink); box-shadow: none; width: 56px; height: 56px; font-size: 1.4rem; }
body.lf-tpl-editorial .lf-step h3 { font-family: var(--lf-font-heading); font-weight: 500; font-size: 1.3rem; }
body.lf-tpl-editorial .lf-step::after { display: none; }
body.lf-tpl-editorial .lf-stats { border-radius: 0; background: var(--lf-ink); border-color: var(--lf-ink); }
body.lf-tpl-editorial .lf-stat { text-align: left; padding: 2rem 1.5rem; }
body.lf-tpl-editorial .lf-stat .lf-ico { margin: 0 0 1.25rem; }
body.lf-tpl-editorial .lf-stat-num { font-family: var(--lf-font-heading); font-weight: 500; letter-spacing: -.03em; }
body.lf-tpl-editorial .lf-stat-label { text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
body.lf-tpl-editorial .lf-person img { border-radius: 0; }
body.lf-tpl-editorial .avatar-ring { background: transparent; padding: 0; border: 1px solid var(--lf-ink); border-radius: 0; }
body.lf-tpl-editorial .avatar-ring img { border: 4px solid var(--lf-card); border-radius: 0; }
body.lf-tpl-editorial .lf-person h3 { font-family: var(--lf-font-heading); font-weight: 500; font-size: 1.15rem; }
body.lf-tpl-editorial .lf-person-stat { color: var(--lf-ink); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; }
body.lf-tpl-editorial .lf-quote::before { color: var(--lf-ink); opacity: .1; }
body.lf-tpl-editorial .lf-quote p { font-family: var(--lf-font-heading); font-size: 1.2rem; line-height: 1.55; font-weight: 500; }
body.lf-tpl-editorial .lf-quote-stars { color: var(--lf-ink); }
body.lf-tpl-editorial .lf-quote-person img, body.lf-tpl-editorial .lf-initial { border-radius: 0; }
body.lf-tpl-editorial .lf-initial { background: var(--lf-ink); color: var(--lf-bg); }
body.lf-tpl-editorial .lf-marquee img { filter: grayscale(1) contrast(1.1); opacity: .7; }

/* bands, faq, newsletter */
body.lf-tpl-editorial .lf-band { border-radius: 0; padding: 4rem 2rem; }
body.lf-tpl-editorial .lf-band--gradient, body.lf-tpl-editorial .lf-band--dark { background: var(--lf-ink); color: var(--lf-bg); box-shadow: none; }
body.lf-tpl-editorial .lf-band--gradient::after, body.lf-tpl-editorial .lf-band--dark::after { display: none; }
body.lf-tpl-editorial .lf-band--gradient h2, body.lf-tpl-editorial .lf-band--dark h2 { color: var(--lf-bg); }
body.lf-tpl-editorial .lf-band--gradient p, body.lf-tpl-editorial .lf-band--dark p { color: var(--lf-bg); opacity: .75; }
body.lf-tpl-editorial .lf-band--gradient .btn-light, body.lf-tpl-editorial .lf-band--dark .btn-light { background: var(--lf-bg); color: var(--lf-ink); border-color: var(--lf-bg); }
body.lf-tpl-editorial .lf-band--gradient .btn-light:hover, body.lf-tpl-editorial .lf-band--dark .btn-light:hover { background: var(--lf-primary); color: #fff; border-color: var(--lf-primary); }
body.lf-tpl-editorial .lf-band--light { border: 1px solid var(--lf-ink); }
body.lf-tpl-editorial .lf-search { border-radius: 0; border: 1px solid var(--lf-ink); background: var(--lf-bg); }
body.lf-tpl-editorial .lf-search:focus { box-shadow: none; }
body.lf-tpl-editorial .lf-faq .accordion-item { border-radius: 0 !important; border: 0; border-top: 1px solid var(--lf-border); margin: 0; background: transparent; }
body.lf-tpl-editorial .lf-faq .accordion-item:last-child { border-bottom: 1px solid var(--lf-border); }
body.lf-tpl-editorial .lf-faq .accordion-button { font-family: var(--lf-font-heading); font-weight: 500; font-size: 1.15rem; padding: 1.35rem .25rem; color: var(--lf-ink); }
body.lf-tpl-editorial .lf-faq .accordion-button:not(.collapsed) { color: var(--lf-ink); background: transparent; }
body.lf-tpl-editorial .lf-faq .accordion-body { padding-left: .25rem; }

/* ---------- Footer: white, rule on top ---------- */
body.lf-tpl-editorial .lf-footer { background: var(--lf-bg); border-top: 1px solid var(--lf-ink); margin-top: 0 !important; padding-top: 4rem !important; }
body.lf-tpl-editorial .lf-footer.text-light { color: var(--lf-ink) !important; }
body.lf-tpl-editorial .lf-footer .text-white, body.lf-tpl-editorial .lf-footer-heading { color: var(--lf-ink) !important; }
body.lf-tpl-editorial .lf-footer-heading { font-size: .68rem; letter-spacing: .18em; }
body.lf-tpl-editorial .lf-footer-copy, body.lf-tpl-editorial .lf-footer-link, body.lf-tpl-editorial .lf-footer-copyright { color: var(--lf-muted); }
body.lf-tpl-editorial .lf-footer-link:hover, body.lf-tpl-editorial .lf-footer-link:focus-visible { color: var(--lf-ink); text-decoration: underline; text-underline-offset: 3px; }
body.lf-tpl-editorial .lf-footer-copy i { color: var(--lf-ink); }
body.lf-tpl-editorial .lf-footer-social { border-radius: 0; color: var(--lf-ink); background: transparent; border: 1px solid var(--lf-ink); }
body.lf-tpl-editorial .lf-footer-social:hover, body.lf-tpl-editorial .lf-footer-social:focus-visible { background: var(--lf-ink); color: var(--lf-bg); transform: none; }
body.lf-tpl-editorial .lf-footer-divider { border-color: var(--lf-border); opacity: 1; }
body.lf-tpl-editorial .lf-footer-newsletter { background: var(--lf-ink); color: var(--lf-bg); border-radius: 0 !important; }
body.lf-tpl-editorial .lf-footer-newsletter .text-white { color: var(--lf-bg) !important; }
body.lf-tpl-editorial .lf-footer-newsletter h4 { font-family: var(--lf-font-heading); font-weight: 500; }
body.lf-tpl-editorial .lf-footer-newsletter-copy { color: var(--lf-bg); opacity: .75; }
body.lf-tpl-editorial .lf-footer-newsletter .form-control { border: 1px solid var(--lf-bg); background: transparent; color: var(--lf-bg); }
body.lf-tpl-editorial .lf-footer-newsletter .form-control::placeholder { color: var(--lf-bg); opacity: .5; }
body.lf-tpl-editorial .lf-footer-newsletter .btn-light { background: var(--lf-bg); color: var(--lf-ink); border-color: var(--lf-bg); }
body.lf-tpl-editorial .lf-footer .lf-logo-knockout { filter: none; }
[data-bs-theme="dark"] body.lf-tpl-editorial .lf-footer .lf-logo-knockout { filter: brightness(0) invert(1); }
body.lf-tpl-editorial .lf-footer .brand-logo { color: var(--lf-ink) !important; }

/* ---------- Inner pages ---------- */
body.lf-tpl-editorial .eyebrow { color: var(--lf-ink); letter-spacing: .18em; font-size: .68rem; }
body.lf-tpl-editorial .category-tile { border-radius: 0; }
body.lf-tpl-editorial .category-tile:hover { transform: none; box-shadow: none; border-color: var(--lf-ink); }
body.lf-tpl-editorial .category-ico { border-radius: 0; background: transparent; border: 1px solid var(--lf-ink); color: var(--lf-ink); }
body.lf-tpl-editorial .pagination .page-link { border-radius: 0 !important; }

@media (max-width: 767.98px) {
    body.lf-tpl-editorial .lf-sec { padding: 3.75rem 0; }
    body.lf-tpl-editorial .hero .container { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
}

/* ---------- Auth screens (login / register / reset) ---------- */
body.lf-tpl-editorial.lf-panel { background: var(--lf-bg); color: var(--lf-ink); }
body.lf-tpl-editorial .lf-auth-side { background: var(--lf-ink); color: var(--lf-bg); border-right: 1px solid var(--lf-ink); }
body.lf-tpl-editorial .lf-auth-side::after { display: none; }
body.lf-tpl-editorial .lf-auth-side .text-white { color: var(--lf-bg) !important; }
body.lf-tpl-editorial .lf-auth-side .hero-badge { border-radius: 0; background: transparent; border: 1px solid var(--lf-bg); color: var(--lf-bg); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; backdrop-filter: none; }
body.lf-tpl-editorial .lf-auth-side h1 { font-family: var(--lf-font-heading); font-weight: 500; letter-spacing: -.03em !important; color: var(--lf-bg); font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1.02; }
body.lf-tpl-editorial .lf-auth-side .lead { color: var(--lf-bg); opacity: .7; }
body.lf-tpl-editorial .lf-auth-feature i { border-radius: 0; background: transparent; border: 1px solid var(--lf-bg); color: var(--lf-bg); }
body.lf-tpl-editorial .lf-auth-quote { border-radius: 0; background: transparent; border: 1px solid rgba(255,255,255,.35); backdrop-filter: none; }
[data-bs-theme="dark"] body.lf-tpl-editorial .lf-auth-quote { border-color: rgba(0,0,0,.35); }
body.lf-tpl-editorial .lf-auth-quote p { font-family: var(--lf-font-heading); font-size: 1.1rem; font-style: normal !important; }
body.lf-tpl-editorial .lf-auth-side .avatar-ring { border-color: var(--lf-bg); }
body.lf-tpl-editorial .lf-auth-side .avatar-ring img { border-color: var(--lf-ink); }
body.lf-tpl-editorial .lf-auth-side .rounded-circle, body.lf-tpl-editorial .lf-auth-side .rounded-3 { border-radius: 0 !important; }
body.lf-tpl-editorial .lf-auth-card h3, body.lf-tpl-editorial .lf-auth-card h4 { font-family: var(--lf-font-heading); font-weight: 500; font-size: 1.9rem; letter-spacing: -.02em !important; }
body.lf-tpl-editorial .lf-auth-card .form-control, body.lf-tpl-editorial .lf-auth-card .form-select { border-radius: 0; border: 1px solid var(--lf-ink); background: var(--lf-bg); color: var(--lf-ink); }
body.lf-tpl-editorial .lf-auth-card .form-control:focus, body.lf-tpl-editorial .lf-auth-card .form-select:focus { box-shadow: none; outline: 2px solid var(--lf-ink); outline-offset: 1px; }
body.lf-tpl-editorial .lf-auth-card .form-label { text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
body.lf-tpl-editorial .lf-auth-card .btn-lg { border-radius: 0; }
body.lf-tpl-editorial .lf-auth-card .form-check-input { border-radius: 0; border-color: var(--lf-ink); }
body.lf-tpl-editorial .lf-auth-card .form-check-input:checked { background-color: var(--lf-ink); border-color: var(--lf-ink); }
body.lf-tpl-editorial .lf-auth-card a { color: var(--lf-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.lf-tpl-editorial .lf-auth-card a:hover { color: var(--lf-primary); }
body.lf-tpl-editorial .lf-auth-card .alert { border-radius: 0; }
body.lf-tpl-editorial .lf-role-pick label { border-radius: 0; border: 1px solid var(--lf-border); }
body.lf-tpl-editorial .lf-role-pick label i { border-radius: 0; background: transparent; border: 1px solid var(--lf-ink); color: var(--lf-ink); }
body.lf-tpl-editorial .lf-role-pick input:checked + label { border-color: var(--lf-ink); background: var(--lf-soft); box-shadow: none; }
body.lf-tpl-editorial .lf-demo-box { border-radius: 0; border-color: var(--lf-ink); background: var(--lf-soft); }
body.lf-tpl-editorial .lf-demo-tag { border-radius: 0; background: var(--lf-ink); color: var(--lf-bg); box-shadow: none; }
body.lf-tpl-editorial .lf-demo-head > i, body.lf-tpl-editorial .lf-demo-box .lf-demo-chip > i { border-radius: 0; background: transparent; border: 1px solid var(--lf-ink); color: var(--lf-ink); }
body.lf-tpl-editorial .lf-demo-head code { border-radius: 0; background: var(--lf-ink); color: var(--lf-bg); }
body.lf-tpl-editorial .lf-demo-box .lf-demo-chip { border-radius: 0; border-color: var(--lf-border); }
body.lf-tpl-editorial .lf-demo-box .lf-demo-chip:hover { border-color: var(--lf-ink); transform: none; box-shadow: none; }
body.lf-tpl-editorial .lf-brand-ico { border-radius: 0 !important; background: var(--lf-ink) !important; }
body.lf-tpl-editorial .lf-auth-main .lf-icon-btn, body.lf-tpl-editorial .lf-auth-main .btn-light { border-radius: 0; }

/* ---------- Demo "Home ▾" group: flat, the underline spans link + caret ---------- */
body.lf-tpl-editorial .lf-nav-demos, body.lf-tpl-editorial .lf-nav-demos:hover, body.lf-tpl-editorial .lf-nav-demos.is-active,
body.lf-tpl-editorial .lf-nav-demos:has(.lf-nav-caret[aria-expanded="true"]) { background: transparent; border-radius: 0; border-bottom: 1.5px solid transparent; }
body.lf-tpl-editorial .lf-nav-demos.is-active { border-bottom-color: var(--lf-ink); }
body.lf-tpl-editorial .lf-nav-demos .lf-nav-link, body.lf-tpl-editorial .lf-nav-demos .lf-nav-link.is-active { border-bottom: 0; }
body.lf-tpl-editorial .lf-nav-caret { padding: 0 .1rem 0 .2rem; color: var(--lf-muted); }
body.lf-tpl-editorial .lf-nav-demos:hover .lf-nav-link, body.lf-tpl-editorial .lf-nav-demos:hover .lf-nav-caret,
body.lf-tpl-editorial .lf-nav-caret[aria-expanded="true"], body.lf-tpl-editorial .lf-nav-demos.is-active .lf-nav-caret { color: var(--lf-ink); }
body.lf-tpl-editorial .lf-demo-menu { border-radius: 0; border: 1px solid var(--lf-ink); box-shadow: none; padding: 0; margin-top: .5rem !important; }
body.lf-tpl-editorial .lf-demo-menu-head { padding: .7rem .9rem .5rem; border-bottom: 1px solid var(--lf-border); }
body.lf-tpl-editorial .lf-demo-item { border-radius: 0; padding: .6rem .9rem; }
body.lf-tpl-editorial .lf-demo-item.is-active { color: var(--lf-ink); background: var(--lf-soft); }
body.lf-tpl-editorial .lf-demo-item.is-active small { color: var(--lf-muted) !important; }
body.lf-tpl-editorial .lf-demo-swatch { border-radius: 0; border-color: var(--lf-ink); }

@media (max-width: 1199.98px) {
    body.lf-tpl-editorial .lf-nav { gap: .55rem; margin-inline-start: .5rem; }
    body.lf-tpl-editorial .lf-nav-link { font-size: .86rem; }
}
body.lf-tpl-editorial .lf-chip.is-active { color: var(--lf-ink); border-color: var(--lf-ink); background: var(--lf-soft); }

/* ---------- Inner-page hero bands (course / bundle / instructor / blog headers) ----------
   They are written for the dark gradient band (text-white, btn-light); on this white band ink them. */
body.lf-tpl-editorial .hero:not(.hero--photo) .text-white { color: var(--lf-ink) !important; }
body.lf-tpl-editorial .hero:not(.hero--photo) .text-white-50 { color: var(--lf-muted) !important; }
body.lf-tpl-editorial .hero:not(.hero--photo) .lead { color: var(--lf-muted); }
body.lf-tpl-editorial .hero:not(.hero--photo) .text-warning { color: var(--lf-ink) !important; }
body.lf-tpl-editorial .hero:not(.hero--photo) .btn-outline-light { color: var(--lf-ink); border-color: var(--lf-ink); }
body.lf-tpl-editorial .hero:not(.hero--photo) .btn-outline-light:hover { background: var(--lf-ink); color: var(--lf-bg); }
body.lf-tpl-editorial .hero:not(.hero--photo) .avatar-ring img { border-color: var(--lf-card); }
body.lf-tpl-editorial .hero:not(.hero--photo) h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
