/* Page-specific styles for real-estate-tokenization-in-usa.
   Loaded last, after rwa-glossary.css, because several rules below deliberately
   override blog-details.css, real-world-asset-tokenization-guide.css and
   rwa-glossary.css. Moving this earlier in the head would break them. */

/* blog-details.css sets this pill to dark text on a green fill, then
   real-world-asset-tokenization-guide.css and rwa-glossary.css strip the fill
   without restoring a readable colour. Restore the outlined treatment. */
.bx-updated-pill {
    background: none;
    border: 1px solid #57E0A8;
    color: #fff;
    font-weight: 400;
    margin-left: 12px;
    display: inline-block;
}

/* blog-details.css leaves only 20px under the byline, which reads as
   cramped against the block that follows it. */
.blog-single-wrap .bx-meta-strip {
    margin-bottom: 34px;
}

/* Buyer segments drawn as a single illustration: five investor badges pass
   through one of two SEC gate arches into the tokenized asset. Inline SVG
   rather than a raster file, so it stays crisp at any width and can carry the
   light motion below. Only three things move, and all of them stop under
   prefers-reduced-motion. */
.blog-single-wrap .bx-buyers {
    margin: 10px 0 34px;
    padding: 26px 26px 20px;
    background: linear-gradient(135deg, rgba(35, 30, 60, 0.55) 0%, rgba(20, 20, 30, 0.85) 100%);
    border: 1px solid rgba(161, 131, 224, 0.25);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.blog-single-wrap .bx-buyers__scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.blog-single-wrap .bx-buyers__svg {
    width: 100%;
    height: auto;
    min-width: 700px;
    display: block;
}

.blog-single-wrap .bx-buyers__cap {
    margin: 14px 0 0;
    padding: 0;
    font-family: "Epilogue", sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: #6E687F;
}

.blog-single-wrap .bx-buyers__flow {
    stroke-dasharray: 5 5;
    animation: bxBuyersFlow 1.4s linear infinite;
}

@keyframes bxBuyersFlow {
    to {
        stroke-dashoffset: -20;
    }
}

.blog-single-wrap .bx-buyers__win {
    animation: bxBuyersWin 3.6s ease-in-out infinite;
}

@keyframes bxBuyersWin {

    0%,
    100% {
        opacity: .28;
    }

    50% {
        opacity: .85;
    }
}

@media (max-width: 767px) {
    .blog-single-wrap .bx-buyers {
        padding: 18px 16px 14px;
        border-radius: 14px;
    }

    .blog-single-wrap .bx-buyers__cap {
        font-size: 12.5px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .blog-single-wrap .bx-buyers__flow,
    .blog-single-wrap .bx-buyers__win {
        animation: none;
    }

    .blog-single-wrap .bx-buyers__dot {
        display: none;
    }
}

.blog-single-wrap .spotify-embed-wrapper {
    margin-bottom: 18px;
}

/* Key takeaways panel. This sits above the article proper, so its heading is a
   paragraph, not an h2/h3 — keeping it out of the document outline and the TOC.
   Panel matches the figure treatment used further down the page. */
.blog-single-wrap .bx-takeaways {
    margin: 0 0 34px;
    padding: 22px 26px 8px;
    background: linear-gradient(135deg, rgba(35, 30, 60, 0.55) 0%, rgba(20, 20, 30, 0.85) 100%);
    border: 1px solid rgba(161, 131, 224, 0.25);
    border-radius: 14px;
}

.blog-single-wrap .bx-takeaways-title {
    margin: 0 0 26px;
    padding: 0;
    font-family: "Exo 2", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #F5D255;
}

@media (max-width: 575px) {
    .blog-single-wrap .bx-takeaways {
        padding: 18px 16px 6px;
    }

    .blog-single-wrap .bx-takeaways-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
}
