/* Page-specific styles for web2-vs-web3 (latest blog layout).
   Loaded last, after blog-details.css and real-world-asset-tokenization-guide.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. */
.blog-single-wrap .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 .w23-audio-label {
    margin-bottom: 14px;
}

/* blog-details.css gives h2 28px. These sub-headings sit under an h2, so they
   step down rather than matching it. */
.blog-single-wrap h3.w23-sec {
    font-size: 22px;
    line-height: 32px;
    padding: 0 0 18px;
}

@media (max-width: 991px) {
    .blog-single-wrap h3.w23-sec {
        font-size: 20px;
        line-height: 30px;
        padding-bottom: 16px;
    }
}

@media (max-width: 767px) {
    .blog-single-wrap h3.w23-sec {
        font-size: 18px;
        line-height: 28px;
        padding-bottom: 14px;
    }
}

@media (max-width: 575px) {
    .blog-single-wrap h3.w23-sec {
        font-size: 17px !important;
        line-height: 26px;
        padding: 10px 0;
    }
}

/* ==========================================================================
   Key takeaways panel.
   ========================================================================== */

.blog-single-wrap .bx-takeaways {
    margin-bottom: 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-bottom: 26px;
    padding-bottom: 0;
    font-family: "Exo 2", sans-serif;
    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 {
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   Comparison tables. blog-details.css centres every cell and
   polymarket-tables.css pins the first column to vertical-align:middle, so rows
   start at different heights. Align to the top-left, and give the wrapper the
   bottom margin it lacks so a table does not sit flush against the next heading.
   ========================================================================== */

.blog-single-wrap .bx-table thead th,
.blog-single-wrap .bx-table tbody td {
    text-align: left !important;
    vertical-align: top !important;
}

.blog-single-wrap .bx-table-wrap {
    margin: 8px 0 24px;
}

/* ==========================================================================
   Mid-article CTA. real-world-asset-tokenization-guide.css caps it at 720px,
   which stops it short of the 736px text column. Let it run the full width and
   step the type and button up to match. The source rules use !important
   (common.css forces `p { font-size }` site-wide), so these have to as well.
   ========================================================================== */

.blog-single-wrap .cta-mid {
    max-width: 100%;
    padding: 30px 34px;
    gap: 28px;
}

.blog-single-wrap .cta-mid__title {
    font-size: 20px !important;
    line-height: 1.35;
    margin: 0 0 6px 0;
}

.blog-single-wrap .cta-mid__sub {
    font-size: 15px !important;
    line-height: 1.5;
}

.blog-single-wrap .cta-mid__btn {
    font-size: 15px;
    padding: 14px 26px;
}


.blog-single-wrap .cta-mid__btn svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 520px) {
    .blog-single-wrap .cta-mid {
        padding: 24px 20px;
        gap: 18px;
    }
}

/* ==========================================================================
   9 Key Web2 vs Web3 Differences - Exact Reference Card Grid
   ========================================================================== */

.w23-cards-container {
    margin: 28px 0 36px;
}

.w23-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.w23-diff-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 6px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.w23-diff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
    border-color: #cbd5e1;
}

.w23-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 6px;
    background: #ffffff;
}

.w23-card-title-wrap {
    display: flex;
    align-items: center;
}

.w23-card-num {
    width: 22px;
    height: 22px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.w23-card-title {
    font-family: "Exo 2", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.w23-card-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.w23-card-web2 {
    padding: 6px 10px 12px;
    background: #ffffff;
    flex: 1;
}

.w23-card-label-w2 {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #1e293b;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: block;
}

.w23-card-head-w2 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    line-height: 1.25;
}

.w23-card-desc-w2 {
    font-size: 11.5px;
    line-height: 1.35;
    color: #64748b;
    margin: 0;
}

.w23-card-web3 {
    padding: 12px 12px 14px;
    background: #2563eb;
    border-radius: 12px;
    color: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.w23-card-label-w3 {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #93c5fd;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: block;
}

.w23-card-head-w3 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.25;
}

.w23-card-desc-w3 {
    font-size: 11.5px;
    line-height: 1.35;
    color: #e0f2fe;
    margin: 0;
}

.w23-card-subnote-w3 {
    font-size: 10px;
    line-height: 1.3;
    color: #bfdbfe;
    margin-top: 6px;
    font-style: normal;
}

.w23-cards-caption {
    text-align: center;
    margin-top: 18px;
    font-size: 11.5px;
    color: #94a3b8;
    font-style: normal;
}

@media (max-width: 991px) {
    .w23-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .w23-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .w23-diff-card {
        border-radius: 14px;
        padding: 5px;
    }
}


/* ==========================================================================
   Web2 vs Web3 Layer-by-Layer Interactive Slider Component (100% Image Match)
   ========================================================================== */

.blog-single-wrap .w23-layer-slider-wrapper,
.w23-layer-slider-wrapper {
    margin: 16px 0 36px;
}

.blog-single-wrap .w23-layer-slider-container,
.w23-layer-slider-container {
    display: flex;
    align-items: center;
    gap: 18px;
}

.blog-single-wrap .w23-layer-card,
.w23-layer-card {
    flex: 1;
    background: linear-gradient(135deg, rgba(35, 30, 60, 0.9) 0%, rgba(20, 16, 35, 0.98) 100%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(161, 131, 224, 0.3) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4) !important;
    position: relative;
    overflow: hidden;
    padding: 26px 24px 24px !important;
    min-height: 330px !important;
}

.blog-single-wrap .w23-layer-card::before,
.w23-layer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #f5d255 0%, #36e7c4 50%, #2563eb 100%) !important;
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
}

.blog-single-wrap .w23-layer-card-header,
.w23-layer-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.blog-single-wrap .w23-layer-icon-badge,
.w23-layer-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
    flex-shrink: 0;
}

.blog-single-wrap .w23-layer-num-tag,
.w23-layer-num-tag {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    color: #f5d255 !important;
    -webkit-text-fill-color: #f5d255 !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
    display: block !important;
}

.blog-single-wrap .w23-layer-heading,
.w23-layer-heading {
    font-family: "Exo 2", sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    padding: 0 !important;
}

/* Comparison side-by-side grid inside card */
.blog-single-wrap .w23-layer-body-grid,
.w23-layer-body-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.blog-single-wrap .w23-layer-box-web2,
.w23-layer-box-web2 {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    padding: 18px 20px;
    min-height: 125px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-single-wrap .w23-layer-box-web3,
.w23-layer-box-web3 {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    border: 1px solid rgba(147, 197, 253, 0.3) !important;
    border-radius: 14px !important;
    padding: 18px 20px;
    min-height: 125px !important;
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-single-wrap .w23-layer-arrow-divider,
.w23-layer-arrow-divider {
    color: #60a5fa !important;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-single-wrap .w23-layer-arrow-divider svg,
.w23-layer-arrow-divider svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.blog-single-wrap .w23-layer-box-label-w2,
.w23-layer-box-label-w2 {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    color: #a78bfa !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.blog-single-wrap .w23-layer-box-head-w2,
.w23-layer-box-head-w2 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
}

.blog-single-wrap .w23-layer-box-desc-w2,
.w23-layer-box-desc-w2 {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
}

.blog-single-wrap .w23-layer-box-label-w3,
.w23-layer-box-label-w3 {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    color: #93c5fd !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.blog-single-wrap .w23-layer-box-head-w3,
.w23-layer-box-head-w3 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
}

.blog-single-wrap .w23-layer-box-desc-w3,
.w23-layer-box-desc-w3 {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #e0f2fe !important;
    margin: 0 !important;
}

/* Bottom summary pill inside card */
.blog-single-wrap .w23-layer-summary-pill,
.w23-layer-summary-pill {
    background: rgba(35, 30, 60, 0.95) !important;
    border: 1px solid rgba(161, 131, 224, 0.3) !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    color: #f1f5f9 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
}

/* Controls on the right - Exact 100% Image Match */
.blog-single-wrap .w23-layer-controls,
.w23-layer-controls {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.blog-single-wrap .w23-layer-btn-prev,
.blog-single-wrap .w23-layer-btn-next,
.w23-layer-btn-prev,
.w23-layer-btn-next {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(161, 131, 224, 0.4) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    padding: 0 !important;
    outline: none !important;
}

.blog-single-wrap .w23-layer-btn-prev:hover,
.blog-single-wrap .w23-layer-btn-next:hover,
.w23-layer-btn-prev:hover,
.w23-layer-btn-next:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

.blog-single-wrap .w23-layer-btn-prev svg,
.blog-single-wrap .w23-layer-btn-next svg,
.w23-layer-btn-prev svg,
.w23-layer-btn-next svg {
    width: 14px !important;
    height: 14px !important;
    fill: #a78bfa !important;
    display: block !important;
    transition: fill 0.2s ease !important;
}

.blog-single-wrap .w23-layer-btn-prev:hover svg,
.blog-single-wrap .w23-layer-btn-next:hover svg,
.w23-layer-btn-prev:hover svg,
.w23-layer-btn-next:hover svg {
    fill: #ffffff !important;
}

.blog-single-wrap .w23-layer-indicator,
.w23-layer-indicator {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    font-family: inherit !important;
}

@media (max-width: 767px) {
    .blog-single-wrap .w23-layer-slider-container,
    .w23-layer-slider-container {
        flex-direction: column;
    }
    .blog-single-wrap .w23-layer-controls,
    .w23-layer-controls {
        flex-direction: row;
        gap: 16px;
    }
    .blog-single-wrap .w23-layer-body-grid,
    .w23-layer-body-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .blog-single-wrap .w23-layer-arrow-divider,
    .w23-layer-arrow-divider {
        transform: rotate(90deg);
        margin: 4px 0;
    }
    .blog-single-wrap .w23-layer-card,
    .w23-layer-card {
        padding: 18px;
    }
}


/* ==========================================================================
   9 Key Differences - Headings Pill Grid Component (Dark Theme Match)
   ========================================================================== */

.blog-single-wrap h2#item-4,
.blog-single-wrap #item-4 {
    color: #f5d255 !important;
    -webkit-text-fill-color: #f5d255 !important;
    background: none !important;
}

.blog-single-wrap .w23-diff-headings-container,
.w23-diff-headings-container {
    background: linear-gradient(135deg, rgba(35, 30, 60, 0.9) 0%, rgba(20, 16, 35, 0.98) 100%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(161, 131, 224, 0.3) !important;
    padding: 24px !important;
    margin: 24px 0 32px !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4) !important;
}

.blog-single-wrap .w23-diff-headings-grid,
.w23-diff-headings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.blog-single-wrap .w23-diff-heading-pill,
.w23-diff-heading-pill {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(161, 131, 224, 0.3) !important;
    border-radius: 14px !important;
    padding: 12px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    transition: all 0.2s ease !important;
}

.blog-single-wrap .w23-diff-heading-pill:hover,
.w23-diff-heading-pill:hover {
    background: rgba(124, 58, 237, 0.25) !important;
    border-color: #a78bfa !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3) !important;
}

.blog-single-wrap .w23-diff-heading-pill:nth-child(9),
.w23-diff-heading-pill:nth-child(9) {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.blog-single-wrap .w23-diff-pill-icon,
.w23-diff-pill-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.4) !important;
}

.blog-single-wrap .w23-diff-pill-icon svg,
.w23-diff-pill-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
    display: block !important;
}

.blog-single-wrap .w23-diff-pill-text,
.w23-diff-pill-text {
    font-family: "Exo 2", sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    line-height: 1.3 !important;
}

@media (max-width: 767px) {
    .blog-single-wrap .w23-diff-headings-grid,
    .w23-diff-headings-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .blog-single-wrap .w23-diff-heading-pill:nth-child(9),
    .w23-diff-heading-pill:nth-child(9) {
        grid-column: span 1;
        max-width: 100%;
    }
}
.spotify-embed-wrapper {
    width: 100%;
    max-width: 100%;
    height: 152px;
    border-radius: 12px;
    overflow: hidden;
}
.spotify-embed-wrapper iframe {
    width: 100%;
    height: 152px;
    border: 0;
    border-radius: 12px;
}
