/* Shared styles for individual blog post pages */
.bp-hero {
    padding: 120px 0 50px;
    background: radial-gradient(ellipse at top, rgba(45, 212, 168, 0.05), transparent 60%);
}
.bp-hero .container { max-width: 820px; }
.bp-back {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-dim); text-decoration: none; font-size: 13px;
    margin-bottom: 32px; transition: color .15s ease;
}
.bp-back:hover { color: #2dd4a8; }
.bp-back svg { width: 14px; height: 14px; }

.bp-cat {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: #2dd4a8; margin-bottom: 18px;
}
.bp-title {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(32px, 5vw, 52px); font-weight: 700; line-height: 1.15;
    color: #fff; margin: 0 0 24px; letter-spacing: -0.02em;
}
.bp-excerpt {
    font-size: 19px; color: var(--text-dim); line-height: 1.55;
    margin: 0 0 36px; font-weight: 300;
}
.bp-meta {
    display: flex; flex-wrap: wrap; gap: 20px; align-items: center;
    padding: 22px 0; border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 14px; color: var(--text-dim);
}
.bp-author { display: flex; align-items: center; gap: 12px; }
.bp-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #2dd4a8, #6366f1);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 16px;
    font-family: var(--font-display);
}
.bp-author-name { color: #fff; font-weight: 600; display: block; line-height: 1.3; }
.bp-author-role { font-size: 12px; color: var(--text-dim); }
.bp-meta-dot { color: rgba(255,255,255,.2); }

.bp-hero-img {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(45,212,168,.06), rgba(99,102,241,.06));
    border: 1px solid var(--border); border-radius: 18px;
    margin: 50px auto 0; max-width: 1000px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.18); position: relative; overflow: hidden;
}
.bp-hero-img i { width: 80px; height: 80px; }
.bp-placeholder-hint {
    position: absolute; bottom: 16px; right: 16px;
    background: rgba(15,18,24,.85); padding: 6px 12px; border-radius: 6px;
    font-size: 11px; color: rgba(255,255,255,.45); font-family: ui-monospace, monospace;
    border: 1px solid rgba(255,255,255,.06);
}

/* Body */
.bp-body { padding: 60px 0 80px; }
.bp-body .container { max-width: 760px; }
.bp-body p {
    font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.78);
    margin: 0 0 24px;
}
.bp-body h2 {
    font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff;
    margin: 56px 0 20px; letter-spacing: -0.01em;
}
.bp-body h3 {
    font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #fff;
    margin: 36px 0 14px;
}
.bp-body ul, .bp-body ol {
    margin: 0 0 24px; padding-left: 24px;
}
.bp-body li {
    font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.78);
    margin-bottom: 10px;
}
.bp-body li strong { color: #fff; font-weight: 600; }
.bp-body p strong { color: #fff; font-weight: 600; }
.bp-body a {
    color: #2dd4a8; text-decoration: none; border-bottom: 1px solid rgba(45,212,168,.3);
    transition: border-color .15s ease;
}
.bp-body a:hover { border-bottom-color: #2dd4a8; }

.bp-quote {
    margin: 36px 0; padding: 24px 28px;
    background: rgba(45,212,168,.04); border-left: 3px solid #2dd4a8;
    border-radius: 0 12px 12px 0;
    font-size: 18px; line-height: 1.6; color: #fff; font-style: italic;
}

.bp-img-block {
    margin: 40px 0; max-width: 880px; margin-left: auto; margin-right: auto;
}
.bp-img-placeholder {
    aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(45,212,168,.04), rgba(99,102,241,.04));
    border: 1px solid var(--border); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    color: rgba(255,255,255,.2); position: relative;
}
.bp-img-placeholder i { width: 48px; height: 48px; margin-bottom: 8px; }
.bp-img-placeholder small {
    font-family: ui-monospace, monospace; font-size: 11px;
    color: rgba(255,255,255,.35); padding: 4px 10px; border-radius: 6px;
    background: rgba(0,0,0,.3); margin-top: 6px;
}
.bp-img-caption {
    text-align: center; font-size: 13px; color: var(--text-dim);
    margin-top: 12px; font-style: italic;
}

.bp-cta-block {
    margin: 50px 0;
    background: linear-gradient(135deg, rgba(45,212,168,.08), rgba(99,102,241,.05));
    border: 1px solid rgba(45,212,168,.2);
    border-radius: 16px; padding: 36px 32px; text-align: center;
}
.bp-cta-block .btn { margin-top: 4px; }

/* Tags */
.bp-tags { margin: 40px 0 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.06); }
.bp-tags-label { font-size: 12px; color: var(--text-dim); margin-right: 12px; }
.bp-tag {
    display: inline-block; padding: 5px 12px; margin: 4px 4px 4px 0;
    border-radius: 999px; font-size: 12px; color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}

/* Author bio */
.bp-author-bio {
    margin: 60px 0 0; padding: 32px;
    background: var(--bg-card-solid); border: 1px solid var(--border);
    border-radius: 16px; display: flex; gap: 20px; align-items: flex-start;
}
.bp-author-bio .bp-avatar { width: 60px; height: 60px; flex: 0 0 60px; font-size: 22px; }
.bp-author-bio h4 {
    font-family: var(--font-display); font-size: 18px; color: #fff;
    margin: 0 0 4px;
}
.bp-author-bio .role { font-size: 13px; color: var(--text-dim); margin: 0 0 10px; }
.bp-author-bio p { font-size: 14px; color: var(--text-dim); margin: 0; line-height: 1.6; }

/* Related */
.bp-related { padding: 80px 0; background: rgba(255,255,255,.015); border-top: 1px solid var(--border); }
.bp-related h3 {
    font-family: var(--font-display); font-size: 26px; color: #fff;
    margin: 0 0 32px; text-align: center;
}
.bp-related-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.bp-related-card {
    background: var(--bg-card-solid); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit;
    transition: transform .2s ease, border-color .2s ease;
}
.bp-related-card:hover { transform: translateY(-3px); border-color: rgba(45,212,168,.3); }
.bp-related-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(45,212,168,.05), rgba(99,102,241,.05));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.15); border-bottom: 1px solid var(--border);
}
.bp-related-img i { width: 32px; height: 32px; }
.bp-related-body { padding: 18px 20px 20px; }
.bp-related-cat { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2dd4a8; margin-bottom: 8px; }
.bp-related-title { font-family: var(--font-display); font-size: 15px; line-height: 1.4; color: #fff; margin: 0 0 8px; font-weight: 600; }
.bp-related-meta { font-size: 12px; color: var(--text-dim); }

[data-kf-footer-blog] a { display: block; padding: 6px 0; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.4; text-decoration: none; }
[data-kf-footer-blog] a:hover { color: #2dd4a8; }
