/* Page-specific styles for asset-tokenization (latest blog layout).
   Loaded last, after blog-details.css, real-world-asset-tokenization-guide.css and polymarket-tables.css. */

/* blog-details.css draws this pill as dark text on a green fill; the guide CSS already
   resets its background and border, so only the text colour and spacing are fixed here. */
.bx-updated-pill {
    color: #fff;
    font-weight: 400;
    margin-left: 12px;
}

.blog-single-wrap .bx-meta-strip {
    margin-bottom: 34px;
}

/* Space between "Listen to the Audio :" and the Spotify player. */
.blog-single-wrap .at-audio-label {
    margin-bottom: 14px;
}

/* Mid-article CTA boxes: real-world-asset-tokenization-guide.css caps .cta-mid at 720px;
   let them fill the column (same as the other recent blogs). */
.blog-single-wrap .cta-mid {
    max-width: none;
    margin: 16px 0 40px;
}

/* Heading order: headings that skipped a level were retagged (process steps h4 -> h3, revenue items
   h5 -> h4, emerging asset classes h4 -> h3, Conclusion h6 -> h2). blog-details.css styles headings by
   tag (h2/h3 get the gradient, bold weight, other sizes), so these classes keep the look they had. */
.blog-single-wrap .at-step,
.blog-single-wrap .at-sub {
    font-weight: 400;
    color: #f5d255;
    background: none;
    -webkit-text-fill-color: #f5d255;
    padding-top: 0;
}

.blog-single-wrap .at-step {
    font-size: 22px;
    line-height: 32px;
}

.blog-single-wrap .at-sub {
    font-size: 22px;
    line-height: 26.4px;
}

@media (max-width: 1199px) {
    .blog-single-wrap .at-step {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .blog-single-wrap .at-step,
    .blog-single-wrap .at-sub {
        font-size: 18px;
    }

    .blog-single-wrap .at-sub {
        line-height: 21.6px;
    }
}

@media (max-width: 575px) {
    .blog-single-wrap .at-step,
    .blog-single-wrap .at-sub {
        line-height: 26px;
    }
}

/* ==========================================================================
   Interactive figures (replace the four static infographics)
   Every rule is scoped under .blog-single-wrap .at-fig so nothing leaks into
   Bootstrap / common.css. State classes: .is-active / .is-done.
   ========================================================================== */

.blog-single-wrap .at-fig {
    --at-navy: #0b1f3a;
    --at-tint: #cfe4f8;
    --at-blue: #2e75b6;
    --at-sky: #6fb3f2;
    --at-line: #c4d6ea;
    --at-edge: #b9d0e8;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    padding: 20px 12px 24px;
    border: 1.5px solid #dbe5f1;
    border-radius: 28px;
    background: #fff;
    color: var(--at-navy);
}

.blog-single-wrap .at-fig * {
    box-sizing: border-box;
}

.blog-single-wrap .at-fig svg {
    display: block;
    width: 100%;
    height: auto;
}

/* --- 1 - The Process of Asset Tokenization -------------------------------- */

.blog-single-wrap .at-proc .at-track {
    fill: none;
    stroke: var(--at-line);
    stroke-width: 3;
    stroke-dasharray: 2 10;
    stroke-linecap: round;
}

.blog-single-wrap .at-proc .at-prog {
    fill: none;
    stroke: var(--at-blue);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset .5s ease;
}

.blog-single-wrap .at-proc .at-node {
    cursor: pointer;
    outline: none;
}

.blog-single-wrap .at-proc .at-pop {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform .2s, filter .2s;
}

.blog-single-wrap .at-proc .at-node:hover .at-pop {
    transform: scale(1.12);
}

.blog-single-wrap .at-proc .at-disc {
    fill: #fff;
    stroke: var(--at-blue);
    stroke-width: 2.5;
    transition: fill .25s, stroke .25s;
}

.blog-single-wrap .at-proc .at-node.is-active .at-disc {
    fill: var(--at-tint);
    stroke: var(--at-blue);
    stroke-width: 3.5;
}

.blog-single-wrap .at-proc .at-node.is-active .at-pop {
    transform: scale(1.18);
    filter: drop-shadow(0 0 12px rgba(46, 117, 182, .65));
}

.blog-single-wrap .at-proc .at-node:focus-visible .at-disc {
    stroke: var(--at-navy);
    stroke-width: 4;
}

.blog-single-wrap .at-proc .at-ico {
    font-size: 28px;
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
}

.blog-single-wrap .at-proc .at-bdg {
    fill: #fff;
    stroke: var(--at-sky);
    stroke-width: 2;
}

.blog-single-wrap .at-proc .at-bn {
    font-size: 13px;
    font-weight: 700;
    fill: var(--at-navy);
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
}

.blog-single-wrap .at-proc .at-node.is-active .at-bdg {
    fill: var(--at-blue);
    stroke: var(--at-blue);
}

.blog-single-wrap .at-proc .at-node.is-active .at-bn {
    fill: #fff;
}

.blog-single-wrap .at-proc .at-lbl {
    font-size: 17px;
    font-weight: 600;
    fill: #5b7594;
    pointer-events: none;
    transition: fill .2s;
}

.blog-single-wrap .at-proc .at-node.is-done .at-lbl {
    fill: var(--at-navy);
}

.blog-single-wrap .at-proc .at-node.is-active .at-lbl {
    fill: var(--at-blue);
}

.blog-single-wrap .at-proc .at-hub {
    fill: url(#at-proc-hg);
    stroke: var(--at-edge);
    stroke-width: 2;
}

.blog-single-wrap .at-proc .at-ht {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    fill: var(--at-navy);
    text-anchor: middle;
}

.blog-single-wrap .at-proc .at-hs {
    font-size: 15px;
    fill: var(--at-blue);
    text-anchor: middle;
}

.blog-single-wrap .at-proc .at-hn {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 64px;
    fill: var(--at-blue);
    text-anchor: middle;
}

.blog-single-wrap .at-proc .at-hname {
    font-size: 21px;
    font-weight: 600;
    fill: var(--at-navy);
    text-anchor: middle;
}

@media (max-width: 640px) {
    .blog-single-wrap .at-proc {
        padding: 12px 4px 18px;
    }

    .blog-single-wrap .at-proc .at-lbl {
        display: none;
    }
}

/* --- 2 - Tokenized Assets Investment Opportunities ------------------------ */

.blog-single-wrap .at-opp {
    max-width: 860px;
    padding: 16px 12px;
}

.blog-single-wrap .at-opp .at-track {
    fill: none;
    stroke: var(--at-line);
    stroke-width: 2;
    stroke-dasharray: 3 7;
    stroke-linecap: round;
}

.blog-single-wrap .at-opp .at-on {
    fill: none;
    stroke: var(--at-blue);
    stroke-width: 3.5;
    stroke-linecap: round;
    transition: stroke-dashoffset .7s ease;
}

.blog-single-wrap .at-opp .at-pk {
    fill: var(--at-blue);
    stroke: #fff;
    stroke-width: 3;
}

.blog-single-wrap .at-opp .at-tile {
    cursor: pointer;
    outline: none;
}

.blog-single-wrap .at-opp .at-pop {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform .2s, filter .2s;
}

.blog-single-wrap .at-opp .at-tile:hover .at-pop {
    transform: scale(1.07);
}

.blog-single-wrap .at-opp .at-box {
    fill: #fff;
    stroke: var(--at-edge);
    stroke-width: 1.5;
    transition: fill .25s, stroke .25s;
}

.blog-single-wrap .at-opp .at-ico {
    font-size: 34px;
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
}

.blog-single-wrap .at-opp .at-lbl {
    font-size: 27px;
    font-weight: 600;
    fill: var(--at-navy);
    pointer-events: none;
    dominant-baseline: central;
    transition: fill .2s;
}

.blog-single-wrap .at-opp .at-tile.is-active .at-box {
    fill: var(--at-tint);
    stroke: var(--at-blue);
    stroke-width: 2.5;
}

.blog-single-wrap .at-opp .at-tile.is-active .at-pop {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(46, 117, 182, .6));
}

.blog-single-wrap .at-opp .at-tile.is-active .at-lbl {
    fill: var(--at-blue);
    font-weight: 700;
}

.blog-single-wrap .at-opp .at-tile:focus-visible .at-box {
    stroke: var(--at-blue);
    stroke-width: 4;
}

.blog-single-wrap .at-opp .at-halo {
    fill: #eaf3fc;
    stroke: #cfe0f3;
    stroke-width: 2;
}

.blog-single-wrap .at-opp .at-arc {
    fill: none;
    stroke: var(--at-edge);
    stroke-width: 2;
}

.blog-single-wrap .at-opp .at-pulse {
    fill: none;
    stroke: var(--at-sky);
    stroke-width: 2;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

.blog-single-wrap .at-opp .at-pulse.is-on {
    animation: at-pulse .9s ease-out;
}

@keyframes at-pulse {
    from {
        opacity: .8;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(1.18);
    }
}

/* --- 3 - Benefits Of Asset Tokenization For Holders ----------------------- */

.blog-single-wrap .at-ben {
    max-width: 820px;
    padding: 30px 20px 34px;
}

.blog-single-wrap .at-ben .at-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
    column-gap: 10px;
}

.blog-single-wrap .at-ben .at-item {
    all: unset;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 10px 4px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
}

.blog-single-wrap .at-ben .at-item:focus-visible {
    outline: 3px solid var(--at-blue);
    outline-offset: 2px;
}

.blog-single-wrap .at-ben .at-item::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 150px;
    height: 150px;
    margin-left: -75px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 117, 182, .22), rgba(46, 117, 182, 0) 68%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}

.blog-single-wrap .at-ben .at-item.is-active::before {
    opacity: 1;
}

.blog-single-wrap .at-ben .at-box {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(68px, 15vw, 96px);
    aspect-ratio: 1;
    border-radius: 26%;
    background: #fff;
    transition: background .3s, transform .25s, box-shadow .3s;
}

.blog-single-wrap .at-ben .at-item:hover .at-box {
    transform: translateY(-3px);
}

.blog-single-wrap .at-ben .at-item.is-active .at-box {
    background: var(--at-tint);
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(11, 31, 58, .22);
}

.blog-single-wrap .at-ben .at-box svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.blog-single-wrap .at-ben .at-box rect {
    fill: none;
}

.blog-single-wrap .at-ben .at-ring-b {
    stroke: var(--at-edge);
    stroke-width: 2.5;
}

.blog-single-wrap .at-ben .at-ring-r {
    stroke: var(--at-sky);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset .9s ease;
}

.blog-single-wrap .at-ben .at-item.is-active .at-ring-r {
    stroke-dashoffset: 0;
}

.blog-single-wrap .at-ben .at-ico {
    position: relative;
    font-size: clamp(28px, 6.4vw, 40px);
    line-height: 1;
}

.blog-single-wrap .at-ben .at-item.is-active .at-ico {
    animation: at-pop .7s ease forwards;
}

.blog-single-wrap .at-ben .at-lbl {
    font-size: clamp(12.5px, 2.3vw, 17px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--at-navy);
    transition: color .25s;
}

.blog-single-wrap .at-ben .at-item.is-active .at-lbl {
    color: var(--at-blue);
}

@keyframes at-pop {
    0% {
        transform: scale(.8);
    }

    55% {
        transform: scale(1.25) rotate(-6deg);
    }

    100% {
        transform: scale(1.1);
    }
}

/* --- 4 - Emerging Asset Classes for Tokenization -------------------------- */

.blog-single-wrap .at-emg {
    max-width: 820px;
    padding: 30px 16px 34px;
}

.blog-single-wrap .at-emg .at-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
    column-gap: 8px;
}

.blog-single-wrap .at-emg .at-item {
    all: unset;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px 2px;
    border-radius: 18px;
    text-align: center;
    cursor: pointer;
}

.blog-single-wrap .at-emg .at-item:focus-visible {
    outline: 3px solid var(--at-blue);
    outline-offset: 2px;
}

.blog-single-wrap .at-emg .at-hex {
    position: relative;
    width: clamp(74px, 16vw, 112px);
    aspect-ratio: 100/112;
    transition: transform .3s, filter .3s;
}

.blog-single-wrap .at-emg .at-item:hover .at-hex {
    transform: translateY(-3px);
}

.blog-single-wrap .at-emg .at-item.is-active .at-hex {
    transform: translateY(-5px) scale(1.06);
    filter: drop-shadow(0 10px 14px rgba(11, 31, 58, .25));
}

.blog-single-wrap .at-emg .at-hex svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.blog-single-wrap .at-emg .at-hex-base {
    fill: #fff;
    stroke: var(--at-edge);
    stroke-width: 3;
    stroke-linejoin: round;
}

.blog-single-wrap .at-emg .at-hex-fill {
    fill: var(--at-tint);
    transform: translateY(112px);
    transition: transform .9s cubic-bezier(.3, .7, .2, 1);
}

.blog-single-wrap .at-emg .at-item.is-active .at-hex-fill {
    transform: translateY(0);
}

.blog-single-wrap .at-emg .at-hex-edge {
    fill: none;
    stroke: var(--at-sky);
    stroke-width: 4;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset .9s ease;
}

.blog-single-wrap .at-emg .at-item.is-active .at-hex-edge {
    stroke-dashoffset: 0;
}

.blog-single-wrap .at-emg .at-ico {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(28px, 6.2vw, 42px);
    line-height: 1;
}

.blog-single-wrap .at-emg .at-ico i {
    display: block;
    font-style: normal;
}

.blog-single-wrap .at-emg .at-item.is-active .at-ico i {
    animation: at-pop .7s ease .25s both;
}

.blog-single-wrap .at-emg .at-lbl {
    max-width: 240px;
    font-size: clamp(11.5px, 2.1vw, 16px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--at-navy);
    transition: color .25s;
}

.blog-single-wrap .at-emg .at-item.is-active .at-lbl {
    color: var(--at-blue);
}

.blog-single-wrap .at-emg .at-l {
    display: inline;
}

@media (min-width: 560px) {
    .blog-single-wrap .at-emg .at-l {
        display: block;
    }
}

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

    .blog-single-wrap .at-fig *,
    .blog-single-wrap .at-fig *::before {
        transition: none !important;
        animation: none !important;
    }
}
