#bsp-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #1a56db, #3b82f6);
    z-index: 9999;
    transition: width .12s linear;
}

.bsp-page {
    padding-top: 150px;
    padding-bottom: 64px;
    background-color: #ffffff;
    overflow: visible !important;
}

.bsp-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    overflow: visible !important;
}

.bsp-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
    overflow: visible !important;
}

.bsp-main-col {
    flex: 1 1 0%;
    min-width: 0;
    height: 126vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bsp-main-col::-webkit-scrollbar {
    display: none;
}

@media (max-width: 980px) {
    .bsp-main-col {
        height: auto;
        overflow: visible;
    }
}

.bsp-sidebar-col {
    width: 340px;
    flex-shrink: 0;
    overflow: visible !important;
}

.bsp-sticky {
    position: sticky !important;
    top: 130px !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
    overflow: visible !important;
    transform: none;
}

@media (max-width: 1024px) {
    .bsp-sidebar-col {
        width: 100%;
    }

    .bsp-sticky {
        position: relative !important;
        top: auto !important;
    }
}

/* ── Copy Link button (placed inside article, after meta row) ── */
.bsp-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}

.bsp-copy-btn:hover {
    background: #1a56db;
    color: #fff;
    border-color: #1a56db;
}

.bsp-copy-btn:hover svg {
    stroke: #fff;
}

/* Toast — fixed bottom center, proper position */
#bsp-copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #111827;
    color: #fff;
    padding: 9px 24px;
    border-radius: 100px;
    font-size: .84rem;
    font-weight: 500;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    white-space: nowrap;
}

#bsp-copy-toast.bsp-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Back to top */
#bsp-back-to-top {
    position: fixed;
    bottom: 25px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1a56db;
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .3s ease, visibility .3s, transform .3s ease;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 86, 219, .35);
}

#bsp-back-to-top.bsp-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#bsp-back-to-top:hover {
    background: #1447c0;
    transform: translateY(-2px);
}

/* ════ ARTICLE STYLES ════ */
.bsp-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
}

.bsp-cat-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #1a56db;
    background: #eff6ff;
    border: 1.5px solid rgba(26, 86, 219, .15);
    padding: 4px 14px;
    border-radius: 100px;
    text-decoration: none;
    transition: all .2s ease;
}

.bsp-cat-badge:hover {
    background: #1a56db;
    color: #fff;
    border-color: #1a56db;
}

.bsp-vis-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    border: 1.5px solid #e5e7eb;
    color: #6b7280;
    background: #f9fafb;
}

.bsp-article-title {
    font-size: clamp(1.85rem, 3.4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -.02em;
    color: #111827;
    margin: 0 0 14px;
}

.bsp-article-desc {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #6b7280;
    font-weight: 300;
    margin: 0 0 28px;
}

.bsp-author-strip {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 32px;
}

.bsp-author-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e5e7eb;
}

.bsp-author-initials {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #1a56db;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bsp-author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 2px;
}

.bsp-author-role {
    font-size: .78rem;
    color: #9ca3af;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.bsp-author-bio {
    font-size: .9rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 12px;
    max-width: 560px;
}

.bsp-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.bsp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    color: #9ca3af;
}

.bsp-meta-item svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.bsp-feature-wrap {
    margin-bottom: 36px;
}

.bsp-feature-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.bsp-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
}

.bsp-content>*+* {
    margin-top: 1.35rem;
}

.bsp-content h2 {
    font-size: 1.65rem;
    font-weight: 600;
    color: #111827;
    margin-top: 2.8rem;
    margin-bottom: .9rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #e5e7eb;
}

.bsp-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: .65rem;
}

.bsp-content p {
    margin-bottom: 1.35rem;
}

.bsp-content p:last-child {
    margin-bottom: 0;
}

.bsp-content a {
    color: #1a56db;
    text-decoration: underline;
    text-decoration-color: rgba(26, 86, 219, .3);
    text-underline-offset: 3px;
}

.bsp-content a:hover {
    text-decoration-color: #1a56db;
}

.bsp-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .09);
}

.bsp-content blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #111827;
    border-left: 3px solid #1a56db;
    background: #eff6ff;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    line-height: 1.65;
}

.bsp-content pre {
    background: #1e2433;
    color: #e2e8f0;
    padding: 1.4rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
    font-size: .88rem;
    line-height: 1.65;
}

.bsp-content code {
    background: #f3f4f6;
    color: #be123c;
    padding: .15rem .4rem;
    border-radius: 5px;
    font-size: .87em;
}

.bsp-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.bsp-content ul,
.bsp-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.35rem;
}

.bsp-content li+li {
    margin-top: .35rem;
}

.bsp-tags-wrap {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.bsp-tags-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 12px;
}

.bsp-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bsp-tag-pill {
    display: inline-flex;
    align-items: center;
    background: #f9fafb;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease;
}

.bsp-tag-pill::before {
    content: '#';
    color: #9ca3af;
    font-size: .78rem;
    margin-right: 2px;
}

.bsp-tag-pill:hover {
    background: #1a56db;
    color: #fff;
    border-color: #1a56db;
}

.bsp-tag-pill:hover::before {
    color: rgba(255, 255, 255, .7);
}

.bsp-bio-card {
    margin-top: 40px;
    padding: 24px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.bsp-bio-inner {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.bsp-bio-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.bsp-bio-initials {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #1a56db;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bsp-bio-written-by {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #1a56db;
    margin-bottom: 3px;
}

.bsp-bio-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.bsp-bio-desc {
    font-size: .88rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 8px;
}

.bsp-bio-email {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .83rem;
    color: #1a56db;
    text-decoration: none;
}

.bsp-bio-email:hover {
    text-decoration: underline;
}

.bsp-prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 580px) {
    .bsp-prev-next {
        grid-template-columns: 1fr;
    }
}

.bsp-nav-card {
    display: block;
    padding: 16px 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    transition: all .22s ease;
}

.bsp-nav-card:hover {
    border-color: #1a56db;
    background: #eff6ff;
    transform: translateY(-2px);
}

.bsp-nav-dir {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 6px;
}

.bsp-nav-dir svg {
    width: 12px;
    height: 12px;
}

.bsp-nav-title {
    font-size: .95rem;
    color: #111827;
    line-height: 1.35;
}

.bsp-nav-card--next {
    text-align: right;
}

.bsp-nav-card--next .bsp-nav-dir {
    justify-content: flex-end;
}

.bsp-nav-card--solo {
    grid-column: 2;
}

/* ════ SIDEBAR STYLES ════ */
.bsp-git-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.bsp-git-header {
    padding: 20px 22px 16px;
    background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%);
}

.bsp-git-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
}

.bsp-git-subtitle {
    font-size: .82rem;
    color: rgba(255, 255, 255, .75);
    line-height: 1.55;
    margin: 0;
}

.bsp-git-body {
    padding: 15px 20px;
}

.bsp-git-group {
    margin-bottom: 8px;
}

.bsp-git-field {
    width: 100%;
    padding: 8px 13px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    color: #111827;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.bsp-git-field::placeholder {
    color: #9ca3af;
}

.bsp-git-field:focus {
    border-color: #1a56db;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, .1);
}

textarea.bsp-git-field {
    resize: vertical;
    min-height: 90px;
}

.bsp-git-btn {
    width: 100%;
    padding: 10px 16px;
    background: #1a56db;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s ease;
    box-sizing: border-box;
}

.bsp-git-btn:hover {
    background: #1447c0;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(26, 86, 219, .3);
}

.bsp-git-btn:active {
    transform: translateY(0);
}

.bsp-git-trust {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding: 11px 13px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
}

.bsp-git-trust-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #16a34a;
}

.bsp-git-trust-text {
    font-size: 10px;
    color: #166534;
    line-height: 1.5;
}

.bsp-rel-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.bsp-rel-head {
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bsp-rel-head-title {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #9ca3af;
}

.bsp-rel-body {
    padding: 12px 18px;
}

.bsp-rel-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all .18s;
}

.bsp-rel-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bsp-rel-item:hover .bsp-rel-title {
    color: #1a56db;
}

.bsp-rel-thumb {
    width: 70px;
    height: 58px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.bsp-rel-thumb-ph {
    width: 70px;
    height: 58px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bsp-rel-cat {
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #1a56db;
    margin-bottom: 3px;
}

.bsp-rel-title {
    font-size: .88rem;
    color: #111827;
    line-height: 1.35;
    transition: color .18s;
}

.bsp-rel-time {
    font-size: .74rem;
    color: #9ca3af;
    margin-top: 4px;
}

.bsp-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    box-sizing: border-box;
}

.bsp-back-link:hover {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

@keyframes bspFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bsp-fade-up {
    opacity: 0;
    animation: bspFadeUp .5s cubic-bezier(.22, .61, .36, 1) forwards;
}

.bsp-d1 {
    animation-delay: .05s;
}

.bsp-d2 {
    animation-delay: .14s;
}

.bsp-d3 {
    animation-delay: .23s;
}

.bsp-d4 {
    animation-delay: .33s;
}

.blog-faq-section {
    background: #ffffff;
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

.faq-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.faq-desc-light {
    font-size: 15px;
    color: #6b7280;
}

.faq-accordion .accordion-button {
    font-size: 16px;
    font-weight: 600;
    background: rgb(242, 245, 248);
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: none;
}


.faq-accordion .accordion-button:not(.collapsed) {
    background: #eef4ff;
    color: #1a56db;
    border-radius: 10px 10px 0px 0px;
}

.faq-accordion .accordion-body {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    padding: 18px 20px;
}

.faq-accordion .accordion-item {
    transition: all .25s ease;
}

.faq-accordion .accordion-item:hover {
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .bsp-author-strip {
        flex-direction: column;
    }

    .bsp-bio-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}