/* ══════════════════════════════════════════════════════════════
   SKILL ALIGN BLOG — listing (.bl-*) and article (.bp-*) pages
   ══════════════════════════════════════════════════════════════ */

:root {
    --bl-bg: #080810;
    --bl-panel: rgba(255, 255, 255, .035);
    --bl-panel-strong: rgba(255, 255, 255, .06);
    --bl-line: rgba(255, 255, 255, .09);
    --bl-line-strong: rgba(255, 255, 255, .16);
    --bl-text: #f4f5fa;
    --bl-muted: rgba(255, 255, 255, .62);
    --bl-faint: rgba(255, 255, 255, .42);
    --bl-orange: #fe5000;
    --bl-blue: #3763f4;
    --bl-purple: #5b21b6;
    --bl-grad: linear-gradient(135deg, #3763f4 0%, #5b21b6 60%, #fe5000 130%);
    --bl-radius: 18px;
    --bl-ease: cubic-bezier(.23, 1, .32, 1);
    --bl-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --bl-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

body { background: var(--bl-bg); color: var(--bl-text); }

.bl, .bp {
    position: relative;
    font-family: var(--bl-body);
    color: var(--bl-text);
    background:
        radial-gradient(ellipse 70% 50% at 10% 0%, rgba(55, 99, 244, .12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 45% at 95% 25%, rgba(254, 80, 0, .08) 0%, transparent 55%),
        var(--bl-bg);
    /* clip, not hidden: hidden makes this a scroll container and breaks position: sticky */
    overflow: clip;
}
.bl *, .bp * { box-sizing: border-box; }
.bl a, .bp a { color: inherit; text-decoration: none; }
.bl h1, .bl h2, .bl h3, .bp h1, .bp h2, .bp h3 { font-family: var(--bl-head); margin: 0; }
.bl-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ── Shared atoms ─────────────────────────────────────────── */
.bl-eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bl-orange);
}
.bl-crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    font-size: 13px; color: var(--bl-faint); margin-bottom: 20px;
}
.bl-crumbs a { color: var(--bl-muted); transition: color .2s; }
.bl-crumbs a:hover { color: #fff; }
.bl-crumbs [aria-current] { color: #fff; }

.bl-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
    font-size: 13px; color: var(--bl-faint);
}
.bl-cat {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    color: #c7d3ff;
    background: rgba(55, 99, 244, .16);
    border: 1px solid rgba(55, 99, 244, .32);
}
.bl-cat-link { transition: background .2s, color .2s; }
.bl-cat-link:hover { background: var(--bl-blue); color: #fff; }

.bl-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 34px;
    border-radius: 999px;
    background: var(--bl-grad);
    color: #fff; font-weight: 700; font-size: 1rem; font-family: var(--bl-head);
    box-shadow: 0 8px 30px rgba(55, 99, 244, .35);
    transition: transform .22s var(--bl-ease), box-shadow .22s;
}
.bl-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(55, 99, 244, .5); color: #fff; }
.bl-btn-sm { padding: 11px 22px; font-size: .9rem; }

.bl-more {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: auto; padding-top: 14px;
    font-size: 13px; font-weight: 700; color: var(--bl-orange);
}
.bl-more span { transition: transform .25s var(--bl-ease); }

/* ── Listing: hero ────────────────────────────────────────── */
.bl-hero {
    position: relative;
    padding: 130px 24px 44px;
    text-align: center;
}
.bl-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    pointer-events: none;
}
.bl-hero > * { position: relative; z-index: 1; }
.bl-hero .bl-crumbs { justify-content: center; }
.bl .bl-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900; line-height: 1.04; letter-spacing: -.03em;
    max-width: 820px; margin: 0 auto 18px;
    background: linear-gradient(140deg, #fff 30%, rgba(180, 195, 255, .8) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.bl-lede {
    max-width: 560px; margin: 0 auto 32px;
    font-size: 1.08rem; line-height: 1.7; color: var(--bl-muted);
}
.bl-search {
    display: flex; align-items: center; gap: 10px;
    max-width: 560px; margin: 0 auto;
    padding: 6px 6px 6px 18px;
    border-radius: 999px;
    background: var(--bl-panel-strong);
    border: 1px solid var(--bl-line);
    backdrop-filter: blur(10px);
    color: var(--bl-faint);
    transition: border-color .2s, box-shadow .2s;
}
.bl-search:focus-within { border-color: rgba(55, 99, 244, .6); box-shadow: 0 0 0 4px rgba(55, 99, 244, .18); }
.bl-search input {
    flex: 1; min-width: 0;
    background: none; border: 0; outline: 0;
    padding: 10px 0;
    font: inherit; font-size: 15px; color: #fff;
}
.bl-search input::placeholder { color: var(--bl-faint); }
.bl-search input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.bl-search button {
    border: 0; cursor: pointer;
    padding: 11px 22px; border-radius: 999px;
    background: var(--bl-blue); color: #fff;
    font: inherit; font-size: 14px; font-weight: 700;
    transition: background .2s;
}
.bl-search button:hover { background: var(--bl-orange); }

/* ── Listing: category filter bar ─────────────────────────── */
.bl-filter {
    position: sticky; top: 96px; z-index: 20; /* below the fixed site header */
    background: rgba(8, 8, 16, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--bl-line);
    border-bottom: 1px solid var(--bl-line);
    margin-bottom: 40px;
}
.bl-filter-track {
    display: flex; gap: 8px;
    max-width: 1240px; margin: 0 auto; padding: 12px 24px;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}
.bl-filter-track::-webkit-scrollbar { display: none; }
.bl-chip {
    flex: 0 0 auto; scroll-snap-align: start;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--bl-line);
    background: var(--bl-panel);
    font-size: 14px; font-weight: 600; color: var(--bl-muted);
    white-space: nowrap;
    transition: color .2s, background .2s, border-color .2s;
}
.bl-chip span {
    font-size: 11px; font-weight: 700;
    padding: 2px 7px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); color: var(--bl-faint);
}
.bl-chip:hover { color: #fff; border-color: var(--bl-line-strong); background: var(--bl-panel-strong); }
.bl-chip.is-active { color: #fff; background: var(--bl-blue); border-color: var(--bl-blue); }
.bl-chip.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }

.bl-results {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
    margin: 0 0 24px; font-size: 15px; color: var(--bl-muted);
}
.bl-results strong { color: #fff; }
.bl-results a { color: var(--bl-orange); font-weight: 600; }

/* ── Listing: featured post ───────────────────────────────── */
.bl-featured {
    position: relative;
    display: grid; grid-template-columns: 1.25fr 1fr;
    margin-bottom: 36px;
    border-radius: 24px; overflow: hidden;
    background: var(--bl-panel);
    border: 1px solid var(--bl-line);
    transition: border-color .3s, box-shadow .3s, transform .35s var(--bl-ease);
}
.bl-featured:hover {
    transform: translateY(-4px);
    border-color: rgba(55, 99, 244, .4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(55, 99, 244, .1);
}
.bl-featured-media { display: block; min-height: 300px; background: #11131f; }
.bl-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--bl-ease); }
.bl-featured:hover .bl-featured-media img { transform: scale(1.03); }
.bl-featured-body { display: flex; flex-direction: column; padding: 40px 44px; }
.bl-featured-body h2 { margin: 14px 0 14px; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
.bl-featured-body h2 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.bl-featured-body > p { margin: 0; color: var(--bl-muted); line-height: 1.7; font-size: 15px; }
.bl-featured:hover .bl-more span { transform: translateX(4px); }

/* ── Listing: card grid ───────────────────────────────────── */
.bl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.bl-card {
    position: relative;
    display: flex; flex-direction: column;
    border-radius: var(--bl-radius); overflow: hidden;
    background: var(--bl-panel);
    border: 1px solid var(--bl-line);
    transition: border-color .3s, box-shadow .3s, transform .35s var(--bl-ease);
}
.bl-card:hover {
    transform: translateY(-6px);
    border-color: rgba(55, 99, 244, .38);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 30px rgba(55, 99, 244, .08);
}
.bl-card-media { display: block; aspect-ratio: 16 / 9; background: #11131f; overflow: hidden; }
.bl-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--bl-ease); }
.bl-card:hover .bl-card-media img { transform: scale(1.04); }
.bl-card-placeholder {
    display: block; width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(55, 99, 244, .35), transparent 55%), radial-gradient(circle at 75% 70%, rgba(254, 80, 0, .3), transparent 55%), #11131f;
}
.bl-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.bl-card-body h2, .bl-card-body h3 {
    margin: 12px 0 10px;
    font-size: 1.15rem; line-height: 1.35; font-weight: 700; letter-spacing: -.01em;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card-body h2 a::after, .bl-card-body h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.bl-card-body > p {
    margin: 0; font-size: 14px; line-height: 1.65; color: var(--bl-muted);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card:hover .bl-more span { transform: translateX(4px); }
.bl-card:focus-within { outline: 2px solid var(--bl-blue); outline-offset: 2px; }

.bl-empty {
    padding: 70px 24px; text-align: center;
    border: 1px dashed var(--bl-line-strong); border-radius: 24px;
}
.bl-empty h2 { font-size: 1.6rem; margin-bottom: 10px; }
.bl-empty p { color: var(--bl-muted); margin: 0 0 24px; }

/* ── Listing: pagination ──────────────────────────────────── */
.bl-pager {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    margin-top: 44px; flex-wrap: wrap;
}
.bl-pager-pages { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.bl-pager-pages a, .bl-pager-pages span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 8px;
    border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--bl-muted);
    transition: background .2s, color .2s;
}
.bl-pager-pages a:hover { background: var(--bl-panel-strong); color: #fff; }
.bl-pager-pages .is-current { background: var(--bl-blue); color: #fff; }
.bl-pager-pages .bl-pager-gap { color: var(--bl-faint); }
.bl-pager-btn {
    padding: 10px 18px; border-radius: 999px;
    border: 1px solid var(--bl-line); font-size: 14px; font-weight: 600; color: var(--bl-muted);
    transition: border-color .2s, color .2s;
}
.bl-pager-btn:hover { color: #fff; border-color: var(--bl-line-strong); }
.bl-pager-btn.is-disabled { opacity: .35; pointer-events: none; }

/* ── CTA band ─────────────────────────────────────────────── */
.bl-cta {
    position: relative;
    margin-top: 90px; padding: 90px 24px;
    text-align: center;
    border-top: 1px solid var(--bl-line);
    background:
        radial-gradient(ellipse 60% 80% at 50% 50%, rgba(91, 33, 182, .14) 0%, transparent 65%),
        radial-gradient(ellipse 35% 35% at 85% 20%, rgba(254, 80, 0, .08) 0%, transparent 55%);
}
.bl-cta h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: 14px; }
.bl-cta p:not(.bl-eyebrow) { color: var(--bl-muted); margin: 0 0 30px; font-size: 1.05rem; }

/* ── Article: progress + shell ────────────────────────────── */
.bp-progress {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 3px;
    background: var(--bl-grad);
    transform-origin: 0 50%; transform: scaleX(0);
}
.bp-article { max-width: 1180px; margin: 0 auto; padding: 130px 24px 0; }
.bp-head { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.bp-head .bl-crumbs { justify-content: center; }
.bp-head h1 {
    margin: 18px 0 18px;
    font-size: clamp(2rem, 4.6vw, 3.5rem);
    font-weight: 900; line-height: 1.08; letter-spacing: -.03em;
}
.bp-summary { margin: 0 auto 26px; max-width: 660px; font-size: 1.12rem; line-height: 1.7; color: var(--bl-muted); }
.bp-byline { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.bp-byline > div { display: flex; flex-direction: column; gap: 2px; }
.bp-byline strong { font-size: 14px; }
.bp-byline span:not(.bp-avatar) { font-size: 13px; color: var(--bl-faint); }
.bp-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bl-grad); font-family: var(--bl-head); font-weight: 800; font-size: 17px; color: #fff;
}
.bp-hero {
    margin: 0 0 48px; border-radius: 24px; overflow: hidden;
    border: 1px solid var(--bl-line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    aspect-ratio: 2 / 1; max-height: 560px; background: #11131f;
}
.bp-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Article: layout + sidebar ────────────────────────────── */
.bp-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 760px);
    justify-content: center;
    gap: 56px;
    align-items: start;
}
.bp-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.bp-toc {
    padding: 18px 20px; border-radius: 16px;
    background: var(--bl-panel); border: 1px solid var(--bl-line);
}
.bp-toc summary {
    cursor: pointer; list-style: none;
    font-family: var(--bl-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bl-faint);
    display: flex; align-items: center; justify-content: space-between;
}
.bp-toc summary::-webkit-details-marker { display: none; }
.bp-toc summary::after { content: '+'; font-size: 16px; color: var(--bl-muted); }
.bp-toc[open] summary::after { content: '−'; }
.bp-toc ol { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.bp-toc a {
    display: block; padding: 7px 10px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0;
    font-size: 13.5px; line-height: 1.4; color: var(--bl-muted);
    transition: color .2s, border-color .2s, background .2s;
}
.bp-toc a:hover { color: #fff; background: var(--bl-panel-strong); }
.bp-toc a.is-active { color: #fff; border-color: var(--bl-orange); background: rgba(254, 80, 0, .07); }

.bp-share p { margin: 0 0 10px; font-family: var(--bl-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bl-faint); }
.bp-share-row { display: flex; gap: 8px; }
.bp-share-row a, .bp-share-row button {
    width: 40px; height: 40px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bl-panel); border: 1px solid var(--bl-line);
    color: var(--bl-muted); cursor: pointer;
    transition: color .2s, border-color .2s, background .2s;
}
.bp-share-row a:hover, .bp-share-row button:hover { color: #fff; border-color: var(--bl-line-strong); background: var(--bl-panel-strong); }
.bp-copy { position: relative; }
.bp-copy.is-copied { color: #fff; background: var(--bl-blue); border-color: var(--bl-blue); }
.bp-copy.is-copied::after {
    content: 'Copied'; position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
    padding: 4px 8px; border-radius: 6px; background: #fff; color: #000; font-size: 11px; font-weight: 700; white-space: nowrap;
}
.bp-aside-cta {
    padding: 22px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(55, 99, 244, .16), rgba(254, 80, 0, .08));
    border: 1px solid rgba(55, 99, 244, .26);
    display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.bp-aside-cta .bl-eyebrow { margin: 0; }
.bp-aside-cta strong { font-family: var(--bl-head); font-size: 1rem; line-height: 1.4; }
.bp-aside-cta .bl-btn { margin-top: 6px; }

/* ── Article: body copy ───────────────────────────────────── */
.bp-body { min-width: 0; }
.post-content { font-size: 1.08rem; line-height: 1.85; color: rgba(255, 255, 255, .84); }
.post-content > :first-child { margin-top: 0; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4 {
    font-family: var(--bl-head); color: #fff; letter-spacing: -.02em; line-height: 1.25;
    scroll-margin-top: 90px;
}
.post-content h1 { font-size: 2rem; margin: 48px 0 16px; }
.post-content h2 { font-size: 1.7rem; margin: 48px 0 16px; }
.post-content h3 { font-size: 1.3rem; margin: 34px 0 12px; }
.post-content h4 { font-size: 1.1rem; margin: 28px 0 10px; }
.post-content p { margin: 0 0 22px; }
.post-content ul, .post-content ol { margin: 0 0 22px; padding-left: 26px; }
.post-content li { margin-bottom: 8px; }
.post-content li::marker { color: var(--bl-orange); }
.post-content a { color: #8fa6ff; text-decoration: underline; text-decoration-color: rgba(143, 166, 255, .4); text-underline-offset: 3px; transition: color .2s; }
.post-content a:hover { color: var(--bl-orange); text-decoration-color: currentColor; }
.post-content strong, .post-content b { color: #fff; }
.post-content img { max-width: 100%; height: auto; border-radius: 14px; margin: 10px 0 22px; }
.post-content blockquote {
    margin: 28px 0; padding: 18px 24px;
    border-left: 3px solid var(--bl-orange); border-radius: 0 12px 12px 0;
    background: var(--bl-panel); font-style: italic; color: #fff;
}
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content hr { border: 0; border-top: 1px solid var(--bl-line); margin: 40px 0; }
.post-content pre, .post-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.post-content code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #ffd4bf; }
.post-content pre { padding: 18px 20px; border-radius: 12px; background: #0e0f18; border: 1px solid var(--bl-line); overflow-x: auto; margin: 0 0 22px; }
.post-content pre code { padding: 0; background: none; color: inherit; }

.post-content table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: .95rem; display: block; overflow-x: auto; }
.post-content table th { background: rgba(55, 99, 244, .2); color: #fff; padding: 12px 16px; text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; white-space: nowrap; }
.post-content table td { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .82); vertical-align: top; }
.post-content table tr:last-child td { border-bottom: none; }
.post-content table tr:hover td { background: rgba(255, 255, 255, .03); }

.post-content .callout { background: linear-gradient(135deg, rgba(55, 99, 244, .14), rgba(254, 80, 0, .07)); border: 1px solid rgba(55, 99, 244, .28); border-left: 4px solid var(--bl-blue); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 28px 0; }
.post-content .callout.tip { border-left-color: var(--bl-orange); background: linear-gradient(135deg, rgba(254, 80, 0, .12), rgba(255, 180, 0, .05)); }
.post-content .callout p:last-child { margin-bottom: 0; }
.post-content .cta-box { background: linear-gradient(135deg, rgba(55, 99, 244, .17), rgba(254, 80, 0, .09)); border: 1px solid rgba(55, 99, 244, .24); border-radius: 16px; padding: 32px; margin: 40px 0; text-align: center; }
.post-content .cta-box h3 { color: #fff; margin: 0 0 10px; font-size: 1.4rem; }
.post-content .cta-box p { margin: 0 0 22px; }
.post-content .cta-box a.cta-btn { display: inline-block; padding: 13px 30px; background: var(--bl-blue); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: background .2s; }
.post-content .cta-box a.cta-btn:hover { background: var(--bl-orange); }
.post-content .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 28px 0; }
.post-content .stat-card { background: var(--bl-panel); border: 1px solid var(--bl-line); border-radius: 12px; padding: 20px 16px; text-align: center; }
.post-content .stat-card .stat-number { font-family: var(--bl-head); font-size: 2rem; font-weight: 800; color: var(--bl-orange); display: block; line-height: 1.1; }
.post-content .stat-card .stat-label { font-size: .8rem; color: var(--bl-faint); margin-top: 6px; display: block; }

/* ── Article: tags, prev/next, related ────────────────────── */
.bp-tags {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--bl-line);
}
.bp-tags > span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bl-faint); margin-right: 6px; }
.bp-tags a {
    padding: 6px 12px; border-radius: 999px; font-size: 13px;
    background: var(--bl-panel); border: 1px solid var(--bl-line); color: var(--bl-muted);
    transition: color .2s, border-color .2s;
}
.bp-tags a:hover { color: #fff; border-color: var(--bl-line-strong); }

.bp-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.bp-adjacent-link {
    display: flex; flex-direction: column; gap: 6px;
    padding: 20px 22px; border-radius: 16px;
    background: var(--bl-panel); border: 1px solid var(--bl-line);
    transition: border-color .2s, background .2s, transform .3s var(--bl-ease);
}
.bp-adjacent-link:hover { border-color: rgba(55, 99, 244, .4); background: var(--bl-panel-strong); transform: translateY(-3px); }
.bp-adjacent-link span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bl-orange); }
.bp-adjacent-link strong { font-family: var(--bl-head); font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-adjacent-link.is-next { text-align: right; align-items: flex-end; }

.bp-related { max-width: 1240px; margin: 90px auto 0; padding: 0 24px; }
.bp-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.bp-related-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.bp-related-head a { font-weight: 700; font-size: 14px; color: var(--bl-orange); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 1023px) {
    .bp-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .bp-aside { position: static; max-width: 760px; margin: 0 auto 32px; width: 100%; }
    .bp-body { max-width: 760px; margin: 0 auto; width: 100%; }
    .bp-aside-cta { display: none; }
    .bp-share { order: 2; }
}
@media (max-width: 768px) {
    .bl-hero { padding: 100px 20px 32px; }
    .bl-wrap { padding: 0 16px; }
    .bl-filter-track { padding: 10px 16px; }
    .bl-filter { margin-bottom: 28px; }
    .bl-featured { grid-template-columns: 1fr; }
    .bl-featured-media { min-height: 0; aspect-ratio: 16 / 9; }
    .bl-featured-body { padding: 24px; }
    .bl-search { padding-left: 14px; }
    .bl-search button { padding: 10px 16px; }
    .bp-article { padding: 100px 16px 0; }
    .bp-hero { border-radius: 16px; margin-bottom: 32px; }
    .bp-layout { gap: 0; }
    .post-content { font-size: 1.02rem; }
    .post-content h2 { font-size: 1.45rem; margin-top: 36px; }
    .bp-adjacent { grid-template-columns: 1fr; }
    .bp-adjacent-link.is-next { text-align: left; align-items: flex-start; }
    .bp-related { padding: 0 16px; margin-top: 60px; }
    .bl-cta { margin-top: 60px; padding: 64px 16px; }
}
@media (max-width: 600px) {
    .bl-grid { grid-template-columns: 1fr; }
    .bl-search button { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .bl *, .bp *, .bl *::before, .bl *::after, .bp *::before, .bp *::after { transition: none !important; animation: none !important; }
}
