/* Subset of real-world-asset-tokenization-guide.css used by /create-your-own-fiat-backed-stablecoin/
   (hero banner, TOC rail, sticky sidebar). That sheet is unchanged and still serves the RWA guide,
   payment-tokenization and glossary pages — keep this in step if those shared components change. */

.bx-toc-block {
    margin-bottom: 20px;
}

.bx-toc-rail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 325px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@media (min-width: 992px) {
    .blog-right-side .bx-toc-rail,
    .blog-right-side .bx-toc-rail.is-expanded {
        max-height: none;
        overflow: visible;
    }
}

.bx-toc-rail::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.bx-toc-rail-label {
    font-size: 18px;
    color: #8B7CF6;
    margin-bottom: 14px;
}

.bx-toc-more {
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #726D82;
    margin-top: 8px;
    padding-left: 24px;
}

.bx-toc-more.is-hidden {
    display: none;
}

.bx-toc-rail-item {
    position: relative;
    display: block;
    padding: 12px 0 12px 24px;
    cursor: pointer;
    text-decoration: none;
}

.bx-toc-rail-item:hover {
    text-decoration: none;
}

.bx-toc-rail-item::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.bx-toc-rail > .bx-toc-rail-item:first-of-type::before {
    top: 50%;
}

.bx-toc-rail > .bx-toc-rail-item:last-of-type::before {
    bottom: 50%;
}

.bx-toc-rail-node {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #120F1E;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    transition: all 0.2s ease;
}

.bx-toc-rail-num {
    font-size: 17px;
    color: #D9D9D9;
    display: block;
    margin-bottom: 2px;
}

.bx-toc-rail-text {
    display: block;
    font-size: 18px;
    line-height: 1.45;
    color: #D9D9D9;
    transition: color 0.2s ease;
    font-family: "Epilogue";
}

.bx-toc-rail-item:hover .bx-toc-rail-text,
.bx-toc-rail-item:hover .bx-toc-rail-num {
    color: #8B7CF6;
}

.bx-toc-rail-item:hover .bx-toc-rail-node {
    background: #8B7CF6;
    border-color: #8B7CF6;
}

.bx-toc-rail-item.active .bx-toc-rail-node {
    background: #8B7CF6;
    border-color: #8B7CF6;
    box-shadow: 0 0 0 4px rgba(139, 124, 246, 0.14);
}

.bx-toc-rail-item.active .bx-toc-rail-text {
    color: #8B7CF6;
    font-weight: 600;
}

.bx-toc-rail-item.active .bx-toc-rail-num {
    color: #8B7CF6;
}

.blog-single-wrap h2[id^="item-"],
.blog-single-wrap h3[id^="item-"],
.blog-single-wrap h4[id^="item-"] {
    scroll-margin-top: 120px;
}

.bx-hero-banner-wrap {
    width: 100%;
    margin-bottom: 40px;
}

.bx-toc-mobile {
    display: none;
}

.bx-toc-mobile .bx-toc-block {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 4px 18px 6px;
    margin-bottom: 0;
}

.bx-toc-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: 0;
    text-align: left;
}

.bx-toc-mobile-toggle .bx-toc-rail-label {
    margin-bottom: 0;
}

.bx-toc-mobile-toggle .icon {
    font-size: 22px;
    line-height: 1;
    color: #C9C1FB;
}

.bx-toc-mobile-toggle .bx-toc-icon-close,
.bx-toc-mobile-toggle[aria-expanded="true"] .bx-toc-icon-open {
    display: none;
}

.bx-toc-mobile-toggle[aria-expanded="true"] .bx-toc-icon-close {
    display: block;
}

.bx-toc-mobile .bx-toc-rail {
    display: none;
}

.bx-toc-mobile.is-open .bx-toc-rail {
    display: flex;
    max-height: 250px;
    padding-top: 6px;
    padding-bottom: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bx-toc-mobile .bx-toc-more {
    display: none;
}

@media (max-width: 991px) {
    .bx-toc-rail-text{
        font-size:16px;
    }

    .bx-toc-mobile {
        display: block;
        margin-bottom: 30px;
    }

    .bx-toc-mobile.table-content.mobile-view {
        position: static;
        top: auto !important;
        margin: 0 0 30px;
        z-index: auto;
        background: none;
    }

    .blog-single-wrap .bx-toc-mobile a {
        background: none;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        -webkit-text-fill-color: currentColor;
        color: #D9D9D9;
    }

    .blog-single-wrap .bx-toc-mobile a .bx-toc-rail-num,
    .blog-single-wrap .bx-toc-mobile a .bx-toc-rail-text {
        -webkit-text-fill-color: currentColor;
        color: #D9D9D9;
    }

    .blog-single-wrap .bx-toc-mobile a:hover,
    .blog-single-wrap .bx-toc-mobile a:hover .bx-toc-rail-num,
    .blog-single-wrap .bx-toc-mobile a:hover .bx-toc-rail-text,
    .blog-single-wrap .bx-toc-mobile a.active,
    .blog-single-wrap .bx-toc-mobile a.active .bx-toc-rail-num,
    .blog-single-wrap .bx-toc-mobile a.active .bx-toc-rail-text {
        color: #8B7CF6;
        -webkit-text-fill-color: #8B7CF6;
    }

    .blog-right-side .bx-toc-block {
        display: none;
    }

    .bx-toc-rail-label {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .bx-toc-rail-num,
    .bx-toc-rail-text {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .bx-toc-rail-num,
    .bx-toc-rail-text {
        font-size: 14px;
    }

    .bx-toc-rail-label {
        font-size: 15px;
    }
}

.bx-hero-banner {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1293 / 516;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(120% 140% at 15% 20%, #241A45 0%, #0E0B1B 55%, #0A0812 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.bx-hero-banner-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

@media (max-width:575px) {
    .bx-hero-banner {
        aspect-ratio: auto;
    }

    .bx-hero-banner-img {
        position: static;
        height: auto;
        aspect-ratio: 1293 / 516;
    }
}

.blog-detail .blog-right-side .table-scroll {
    max-height: none;
    overflow-x: visible;
    overflow-y: visible;
}

@media (min-width: 992px) {
    .blog-detail .blog-right-side.table-content {
        position: sticky;
        top: var(--bx-sidebar-top, 110px) !important;
    }
}

@media (max-width: 991px) {
    .blog-detail .blog-right-side.table-content {
        position: static;
        top: auto !important;
    }
}

.google-preferred-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background:
        linear-gradient(135deg, rgba(139, 124, 246, 0.12), rgba(139, 124, 246, 0.03)),
        #161029;
    border: 1px solid rgba(139, 124, 246, 0.30);
    border-radius: 14px;
    color: #D9D9D9;
    font-family: 'Epilogue', sans-serif;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.google-preferred-btn:hover {
    border-color: rgba(139, 124, 246, 0.60);
    color: #F3F1F8;
    text-decoration: none;
}

.google-preferred-btn .rule {
    width: 1px;
    align-self: stretch;
    margin: 1px 0;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.google-preferred-btn .label {
    flex: 1;
    min-width: 0;
}

.google-preferred-btn .label b {
    color: #fff;
    font-weight: 600;
}

.google-preferred-btn .go {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
    line-height: 1;
    color: #C9C1FB;
    transition: all 0.2s ease;
}

.google-preferred-btn:hover .go {
    background: #8B7CF6;
    border-color: #8B7CF6;
    color: #0A0912;
}

@media (max-width: 767px) {
    .google-preferred-btn {
        font-size: 14px;
    }
}

.bx-updated-pill{
        background: none;
        border: 1px solid #57E0A8;
    }

/* FAQ questions are <h3> for heading navigation; undo the article h3 look (padding + gradient text) so they render as before. */
.blog-single-wrap h3.accordion-header { padding-bottom: 0; background: none; -webkit-text-fill-color: currentColor; }

/* Pricing-tier CTAs: same look as the PulseChain tier buttons (.btn-primary-gradient),
   full-width and pinned to the card bottom. Text colour is set explicitly so the
   article gradient-text link style cannot clip it. */
.blog-single-wrap .plan-card { display: flex; flex-direction: column; }
.blog-single-wrap .plan-card ul { flex: 1 1 auto; }
.blog-single-wrap a.plan-cta { display: block; margin-top: 22px; padding: 14px 20px; border-radius: 10px; background: linear-gradient(135deg, #4E1FA3 0%, #661EB9 100%); -webkit-background-clip: border-box; background-clip: border-box; color: #fff; -webkit-text-fill-color: #fff; font-family: "Exo 2", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.3px; text-align: center; transition: 0.3s all ease-in-out; }
.blog-single-wrap a.plan-cta:hover { background: linear-gradient(135deg, #661EB9 0%, #835CD6 100%); }

/* Article H1 — same treatment as /payment-tokenization/ (rules copied from
   real-world-asset-tokenization-guide.css; that sheet is unchanged). */
.bx-hero-banner-title {
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 44px;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0;
    padding: 0;
}

.bx-hero-banner-title .v3-grad {
    background: linear-gradient(89.98deg, #f5d255 -3.37%, #36e7c4 99.98%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.blog-single-wrap h1.bx-hero-banner-title {
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 38px;
    line-height: 44px;
    margin: 0;
    padding: 0 0 30px;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.blog-single-wrap h1.bx-hero-banner-title .v3-grad {
    background: linear-gradient(89.98deg, #f5d255 -3.37%, #36e7c4 99.98%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (max-width:1280px) {
    .blog-single-wrap h1.bx-hero-banner-title {
        font-size: 28px;
        line-height: 40px;
    }
}

@media (max-width:991px) {
    .blog-single-wrap h1.bx-hero-banner-title {
        font-size: 26px;
        line-height: 35px;
        padding: 0 0 25px;
    }
}

@media (max-width:767px) {
    .blog-single-wrap h1.bx-hero-banner-title {
        font-size: 22px;
        line-height: 30px;
        padding: 0 0 20px;
    }
}

@media (max-width:575px) {
    .blog-single-wrap h1.bx-hero-banner-title {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width:1280px) {
    .bx-hero-banner-title {
        font-size: 28px;
        line-height: 40px;
    }
}

@media (max-width:991px) {
    .bx-hero-banner-title {
        font-size: 26px;
        line-height: 35px;
    }
}

@media (max-width:767px) {
    .bx-hero-banner-title {
        font-size: 22px;
        line-height: 30px;
    }
}

@media (max-width:575px) {
    .bx-hero-banner-title {
        font-size: 20px;
        line-height: 28px;
    }
}

/* FAQ question size — same as the /real-world-asset-tokenization-guide/ FAQ (22px, 18px on mobile).
   Scoped so a later Bootstrap copy cannot reset it to 16px. */
.blog-single-wrap .accordion-button { font-size: 22px; line-height: 32px; }

@media (max-width: 767px) {
    .blog-single-wrap .accordion-button { font-size: 18px; line-height: 26px; }
}
