/* Page-specific styles for art-tokenization-platform-development-cost (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. */
.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 .atc-audio-label {
    margin-bottom: 14px;
}

/* Cost factors and post-launch items sit under section H2s, so they are H3s for the
   heading outline but keep the look a section H3 has. Values mirror blog-details.css. */
.blog-single-wrap h3.atc-sec {
    font-size: 22px;
    line-height: 32px;
    padding: 0 0 18px;
}

.blog-single-wrap h4.atc-sub {
    line-height: 40px;
    background: linear-gradient(89.98deg, #f5d255 -3.37%, #36e7c4 99.98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

    .blog-single-wrap h4.atc-sub {
        line-height: 35px;
    }
}

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

    .blog-single-wrap h4.atc-sub {
        line-height: 30px;
    }
}

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

    .blog-single-wrap h4.atc-sub {
        line-height: 26px;
    }
}

/* ==========================================================================
   Cost breakdown table. 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 everything to the top-left and keep
   each budget range on one line.
   ========================================================================== */

.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 tbody td:last-child,
.blog-single-wrap .bx-table thead th:last-child {
    white-space: nowrap;
}

/* The wrapper carries no margin of its own, so the table sat 8px from the next
   heading while the diagram blocks above leave 28-32px. Match them. */
.blog-single-wrap .bx-table-wrap {
    margin: 8px 0 24px;
}

/* ==========================================================================
   Supplied section infographics, shown as static diagrams (no click to open).
   Scoped under .blog-single-wrap so nothing leaks into the rest of the page.
   1 - .ati  Key Factors Influencing Art Tokenization Development Cost
   2 - .apl  Post-Launch Costs for an Art Tokenization Ecosystem
   ========================================================================== */

.blog-single-wrap .ati {
    --ink: #1d2155;
    --accent: #0e8f83;
    --panel: #f6f7fc;
    --ati-gap: 12px;
    margin: 8px 0 28px;
    padding: 24px;
    border: 1px solid #e3e6f3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(28, 32, 66, .06);
    box-sizing: border-box;
}

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

.blog-single-wrap .ati-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ati-gap);
}

/* Each factor is a compact row: icon on the left, label beside it. */
.blog-single-wrap .ati-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 60px;
    padding: 14px 18px;
    border: 1.5px solid var(--accent);
    border-radius: 10px;
    background: var(--panel);
    text-align: left;
}

/* A card left alone in the final row sits centred, one column wide. */
.blog-single-wrap .ati-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - var(--ati-gap) / 2);
}

.blog-single-wrap .ati-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
}

.blog-single-wrap .ati-ico svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-single-wrap .ati-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

@media (max-width: 575px) {
    .blog-single-wrap .ati {
        padding: 16px;
    }

    .blog-single-wrap .ati-grid {
        grid-template-columns: 1fr;
    }

    /* One column: the last card is no longer alone in a row of two. */
    .blog-single-wrap .ati-card:last-child:nth-child(odd) {
        grid-column: auto;
        justify-self: stretch;
        width: auto;
    }

    .blog-single-wrap .ati-name {
        font-size: 13px;
    }
}

.blog-single-wrap .apl {
    --bg: #ffffff;
    --panel: #f6f7fc;
    --accent: #d9820b;
    --text: #1c2042;
    --muted: #555b82;
    max-width: 1000px;
    margin: 8px auto 32px;
    padding: 24px;
    border: 1px solid #e3e6f3;
    border-radius: 20px;
    background: var(--bg);
    box-shadow: 0 6px 24px rgba(28, 32, 66, .06);
    color: var(--text);
    box-sizing: border-box;
}

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

.blog-single-wrap .apl-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: stretch;
}

.blog-single-wrap .apl-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--accent);
    border-radius: 14px;
    background: var(--panel);
}

.blog-single-wrap .apl-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.blog-single-wrap .apl-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--accent);
}

.blog-single-wrap .apl-ico svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--bg);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-single-wrap .apl-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
}

.blog-single-wrap .apl-text {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    text-align: left;
}

@media (max-width: 760px) {
    .blog-single-wrap .apl {
        padding: 16px;
    }

    .blog-single-wrap .apl-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Mid-article CTA. real-world-asset-tokenization-guide.css caps it at 720px,
   which stops it 16px short of the 736px text column. Let it run the full
   width and step the type and button up a little 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;
    }
}
