/*
Crypto Price Page v2 Template Styles
Template: page-crypto-price-v2.php
*/

/* Match fixed header height (76px) — global .site-main uses 100px and leaves a gap */
@media (min-width: 769px) {
    .site-main.cpv2 {
        padding: 76px 0 0;
    }
}

/* Layout container */
.cpv2-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section anchors for page TOC (future phases) */
.cpv2-anchor {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

/* ------------------------------------------------------------------ */
/* Hero — full-bleed band                                             */
/* ------------------------------------------------------------------ */
.cpv2-hero {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    background: var(--nav-bg);
    border-block-end: 1px solid var(--border-color);
    padding-block: 32px;
}

.cpv2-hero__breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 20px;
}

.cpv2-hero__breadcrumb .breadcrumb-container {
    max-width: none;
    margin: 0;
    padding: 0;
}

.cpv2-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 20px;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 40px;
    align-items: center;
    direction: ltr;
}

@media (min-width: 1025px) {
    .cpv2-hero__inner {
        grid-template-columns: 350px minmax(0, 1fr);
        gap: 32px;
    }

    /* DOM: info then trade (SEO); visual: trade left, info right */
    .cpv2-hero__trade {
        order: 1;
    }

    .cpv2-hero__info {
        order: 2;
    }
}

.cpv2-hero__trade {
    direction: rtl;
    min-width: 0;
}

.cpv2-hero__trade .arzpaya-trade-widget {
    max-width: 100%;
    margin: 0;
}

.cpv2-hero__info {
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.cpv2-hero__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: -8px;
    margin-bottom: 20px;
}

.cpv2-hero__identity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.cpv2-hero__icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: contain;
    background: var(--body-bg);
    border: 1px solid var(--border-color);
    padding: 8px;
}

.cpv2-hero__title {
    margin: 0;
    font-size: clamp(1.375rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-body);
}

.cpv2-hero__change {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    direction: ltr;
    white-space: nowrap;
}

.cpv2-hero__change--up {
    color: #15803d;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.cpv2-hero__change--down {
    color: #b91c1c;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.22);
}

.cpv2-hero__change--flat {
    color: var(--text-muted, #64748b);
    background: rgba(100, 116, 139, 0.1);
    border: 1px solid var(--border-color);
}

.cpv2-hero__price {
    width: 100%;
    color: var(--text-body);
    font-size: 1.15em;
    line-height: 1.8;
}

.cpv2-hero__price p {
    margin: 0;
}

.cpv2-hero__price .card-overview-data {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 1.2em;
}

.cpv2-hero__seo-text {
    width: 100%;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.75;
    color: #64748b;
}

/* ------------------------------------------------------------------ */
/* Functional — market tools grid (Phase 2)                           */
/* ------------------------------------------------------------------ */
.cpv2-functional {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding-block: 32px;
    background: var(--body-bg);
    scroll-margin-top: 120px;
}

.cpv2-functional-divider {
    display: none;
}

.cpv2-functional__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 32px;
    align-items: start;
}

.cpv2-functional__main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.cpv2-functional__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.cpv2-functional__market-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.cpv2-panel {
    min-width: 0;
}

/* Buy / sell row */
.cpv2-functional__buysell .arzpaya-buysell-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0;
}

.cpv2-functional__buysell .arzpaya-buysell-container .arzpaya-card {
    flex: unset;
    max-width: none;
    width: 100%;
    margin: 0;
}

/* Coin detail — slightly roomier inset (cpv2 only; plugin default stays 20px) */
.cpv2-functional__detail .arzpaya-coin-detail {
    padding: 22px 22px 28px;
}

/* Exchange in sidebar */
.cpv2-functional__exchange .arzpaya-exchange-wrapper {
    border-radius: 14px !important;
    overflow: hidden;
    border: 1px solid var(--border-color, #eceef2);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.cpv2-functional__exchange .arzpaya-exchange-widget {
    height: 520px;
    border-radius: 0 !important;
}

/* Desktop: match coin-detail stack to exchange height (exchange/buysell heights unchanged) */
@media (min-width: 1025px) {
    .cpv2-functional__inner {
        grid-template-rows: auto auto;
        row-gap: 24px;
        column-gap: 32px;
    }

    .cpv2-functional__main,
    .cpv2-functional__sidebar {
        display: contents;
    }

    .cpv2-functional__market-main {
        grid-column: 1;
        grid-row: 1;
        align-self: stretch;
        min-height: 0;
    }

    .cpv2-functional__market-main .cpv2-functional__buysell {
        flex-shrink: 0;
    }

    .cpv2-functional__exchange {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }

    .cpv2-functional__chart {
        grid-column: 1;
        grid-row: 2;
    }

    .cpv2-functional__chart .arzpaya-price-chart-container {
        margin: 0;
    }

    .cpv2-functional__calculator {
        grid-column: 2;
        grid-row: 2;
        align-self: stretch;
        min-height: 0;
    }

    .cpv2-functional__market-main .cpv2-functional__detail {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .cpv2-functional__detail .arzpaya-coin-detail {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
    }

    .cpv2-functional__detail .arzpaya-coin-detail__header {
        flex-shrink: 0;
    }

    .cpv2-functional__detail .arzpaya-coin-detail__specs {
        flex: 1 1 auto;
        align-content: space-between;
    }
}

/* Calculator compact in sidebar */
.cpv2-functional__calculator .arzpaya-crypto-calculator.calculator-section {
    padding: 0;
    background: transparent;
}

.cpv2-functional__calculator .calculator-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    max-width: none;
    margin: 0;
}

.cpv2-functional__calculator .calc-right {
    min-width: 0;
    padding: 0;
    width: 100%;
}

.cpv2-functional__calculator .calculator-title {
    margin-bottom: 20px;
}

.cpv2-functional__calculator .calculator-title h2 {
    font-size: 1.05rem;
    color: var(--text-body, #213364);
}

.cpv2-functional__calculator .calc-desc {
    font-size: 0.875rem;
}

.cpv2-functional__calculator .arzpaya-crypto-calculator {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #eceef2);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    padding: 18px;
}

/* Date-profit widget compact in sidebar (replacement for calculator) */
.cpv2-functional__calculator .arzpaya-date-profit-widget {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #eceef2);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    padding: 18px;
    max-width: none;
    margin: 0;
    overflow: visible;
}

.cpv2-functional__calculator .arzpaya-date-profit-widget .dp-title {
    font-size: 1.05rem;
    color: var(--text-body, #213364);
}

.cpv2-functional__calculator .arzpaya-date-profit-widget .dp-desc {
    font-size: 0.875rem;
}

/* Price chart panel */
.cpv2-functional__chart .arzpaya-price-chart-container {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #eceef2);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.cpv2-functional__chart .arzpaya-price-chart-wrapper {
    border-radius: 0;
}

.cpv2-functional__chart > .arzpaya-price-chart-error {
    padding: 16px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-body);
    text-align: center;
}

[data-theme="dark"] .cpv2-functional__chart .arzpaya-price-chart-container,
[data-theme="dark"] .cpv2-functional__exchange .arzpaya-exchange-wrapper,
[data-theme="dark"] .cpv2-functional__calculator .arzpaya-crypto-calculator,
[data-theme="dark"] .cpv2-functional__calculator .arzpaya-date-profit-widget {
    border-color: var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .cpv2-functional__calculator .calculator-title h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .cpv2-functional__calculator .arzpaya-date-profit-widget .dp-title {
    color: var(--text-primary);
}

/* ------------------------------------------------------------------ */
/* Benefits — highlights row (between functional and textual)         */
/* ------------------------------------------------------------------ */
.cpv2-benefits {
    padding-block: 8px 0;
    scroll-margin-top: 120px;
}

.cpv2-benefits .arzpaya-benefits-highlights {
    max-width: 100%;
    margin-bottom: 32px;
}

@media (min-width: 1025px) {
    .cpv2-functional {
        padding-block: 32px 40px;
    }

    .cpv2-functional-divider {
        display: block;
        width: 100vw;
        z-index: 1;
        margin-top: 88px;
        margin-inline: calc(50% - 50vw);
        border-top: 1px solid #eceef2;
    }

    .cpv2-benefits {
        padding-block: 0;
    }

    .cpv2-benefits .arzpaya-benefits-highlights {
        position: relative;
        z-index: 2;
        max-width: 1120px;
        margin: 0 auto 40px;
        transform: translateY(-50%);
    }
}

[data-theme="dark"] .cpv2-functional-divider {
    border-top-color: var(--border-color);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .cpv2-functional-divider {
        border-top-color: var(--border-color);
    }
}

/* ------------------------------------------------------------------ */
/* Textual — expandable SEO prose + listing TOC sidebar                 */
/* ------------------------------------------------------------------ */
.cpv2-textual {
    padding-block: 40px;
    scroll-margin-top: 120px;
}

.cpv2-textual__grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.cpv2-textual__grid.is-height-synced {
    align-items: start;
}

.cpv2-textual__sidebar {
    position: relative;
    min-height: 80px;
}

.cpv2-textual-toc {
    position: relative;
    z-index: 2;
}

.cpv2-textual-toc.is-sticky {
    position: fixed;
    z-index: 40;
}

.cpv2-textual-toc__placeholder {
    visibility: hidden;
    pointer-events: none;
}

.cpv2-textual-toc .arzpaya-toc-widget {
    margin: 0;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}

.cpv2-seo-content__inner {
    width: 100%;
}

.cpv2-seo-content__viewport {
    position: relative;
    overflow: hidden;
    max-height: var(--cpv2-seo-collapsed-height, 360px);
    transition: max-height 0.6s ease;
}

.cpv2-seo-content.is-expanded .cpv2-seo-content__viewport {
    max-height: none;
    overflow: visible;
}

.cpv2-seo-content__prose {
    text-align: justify;
    color: var(--text-body);
}

.cpv2-seo-content__title {
    margin: 0 0 20px;
    font-size: 1.75rem;
    line-height: 1.65;
    font-weight: 700;
    color: var(--text-body);
}

.cpv2-seo-content__prose p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1em;
}

.cpv2-seo-content__prose h1,
.cpv2-seo-content__prose h2,
.cpv2-seo-content__prose h3,
.cpv2-seo-content__prose h4,
.cpv2-seo-content__prose h5,
.cpv2-seo-content__prose h6 {
    margin: 30px 0 20px;
    color: var(--text-body);
    font-weight: 600;
    scroll-margin-top: 140px;
}

.cpv2-seo-content__prose h2 {
    font-size: 1.6em;
}

.cpv2-seo-content__prose h3 {
    font-size: 1.3em;
}

.cpv2-seo-content__prose ul,
.cpv2-seo-content__prose ol {
    margin: 0 0 20px;
    padding-inline-start: 24px;
    line-height: 1.8;
}

.cpv2-seo-content__prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.cpv2-seo-content__prose a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

.cpv2-seo-content__prose a:hover {
    text-decoration: underline;
}

.cpv2-seo-content__fade {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.85) 55%,
        var(--bg-primary, #fff) 100%
    );
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cpv2-seo-content.is-expanded .cpv2-seo-content__fade {
    opacity: 0;
}

.cpv2-seo-content__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
}

.cpv2-seo-content.is-expanded .cpv2-seo-content__actions {
    display: none;
}

.cpv2-seo-content__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary, #6b7280);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cpv2-seo-content__toggle:hover {
    background: rgba(107, 114, 128, 0.08);
    color: var(--text-body);
}

.cpv2-seo-content__toggle svg {
    flex-shrink: 0;
}

.cpv2-seo-content__collapse-wrap {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.cpv2-seo-content:not(.is-expanded) .cpv2-seo-content__collapse-wrap {
    display: none;
}

/* ------------------------------------------------------------------ */
/* Login CTA — full-width conversion band (Phase 5)                   */
/* ------------------------------------------------------------------ */
.cpv2-login {
    padding-block: 8px 0;
    scroll-margin-top: 120px;
}

[data-theme="dark"] .cpv2-seo-content__fade {
    background: linear-gradient(
        to bottom,
        rgba(15, 20, 25, 0) 0%,
        rgba(15, 20, 25, 0.85) 55%,
        var(--bg-primary, #0f1419) 100%
    );
}

[data-theme="dark"] .cpv2-seo-content__toggle {
    color: var(--text-secondary);
    border-color: var(--border-color, rgba(255, 255, 255, 0.12));
}

[data-theme="dark"] .cpv2-seo-content__toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

/* ------------------------------------------------------------------ */
/* Supplementary — how-to, app download, marquee, blogs, FAQ (full width) */
/* ------------------------------------------------------------------ */
.cpv2-supplementary {
    padding-block: 40px 48px;
    border-block-start: 1px solid var(--border-color);
    scroll-margin-top: 120px;
}

.cpv2-supplementary__grid {
    display: block;
}

.cpv2-supplementary__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cpv2-supplementary__howto {
    scroll-margin-top: 140px;
}

/* How-to: full-width column with a larger, better-proportioned video box.
   Scoped to cpv2 so the generic how-to plugin layout stays unchanged.
   Wrapped in min-width so the plugin's <=900px single-column collapse wins on mobile. */
@media (min-width: 901px) {
    .cpv2-supplementary__howto .arzpaya-howto-display__layout {
        grid-template-columns: minmax(0, 1fr) minmax(460px, 600px);
        gap: 40px;
        align-items: center;
    }

    .cpv2-supplementary__howto .arzpaya-howto-display__video {
        align-self: flex-start;
    }
}

/* Marquee: fill the full supplementary column (within cpv2 container padding).
   Drops the plugin's 1200px cap and inner 15px gutter so it spans edge-to-edge. */
.cpv2-supplementary__marquee .home-coins-ribbon {
    max-width: none;
    margin-block: 24px !important;
    margin-inline: 0 !important;
    padding-inline: 0;
}

/* Blogs: span the full supplementary column width. The related-blogs carousel
   has no width cap and inherits the full-width column (Phase 2); this guards the
   intent and drops the plugin's extra bottom margin so stack spacing stays even. */
.cpv2-supplementary__blogs {
    width: 100%;
    margin-bottom: 8px;
}

.cpv2-supplementary__blogs .cpv2-related-blogs {
    max-width: none;
    margin-bottom: 0;
}

.cpv2-supplementary__faq {
    scroll-margin-top: 140px;
    margin-top: 8px;
}

/* FAQ: match the homepage width on desktop (800px) and stay centered.
   On mobile the 800px cap exceeds the viewport, so it renders full width. */
.cpv2-supplementary__faq .faq-section {
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
    margin-block: 0;
}

.cpv2-supplementary__faq .faq-title {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    color: var(--text-body);
    margin-bottom: 20px;
    text-align: center;
}

/* ------------------------------------------------------------------ */
/* Deposit CTA — full-width footer band (Phase 7)                     */
/* ------------------------------------------------------------------ */
.cpv2-deposit {
    padding-block: 0;
}

.cpv2-deposit .arzpaya-deposit-cta {
    margin-top: 0;
    margin-bottom: 0;
}

body.has-arzpaya-deposit-cta .cpv2-deposit .arzpaya-deposit-cta {
    margin-top: 0;
}

/* ------------------------------------------------------------------ */
/* Dark mode                                                          */
/* ------------------------------------------------------------------ */
[data-theme="dark"] .cpv2-hero {
    background: var(--card-bg);
    border-color: var(--border-color);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .cpv2-hero {
        background: var(--card-bg);
    }
}

[data-theme="dark"] .cpv2-textual,
[data-theme="dark"] .cpv2-supplementary {
    border-color: var(--border-color);
}

/* ------------------------------------------------------------------ */
/* Responsive — match crypto-price.css breakpoints                    */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .cpv2-hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        direction: rtl;
    }

    .cpv2-functional__inner,
    .cpv2-textual__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cpv2-functional__sidebar {
        order: 2;
    }

    .cpv2-functional__buysell .arzpaya-buysell-container {
        grid-template-columns: 1fr;
    }

    .cpv2-functional__exchange .arzpaya-exchange-widget {
        height: 480px;
    }

    .cpv2-textual__grid {
        gap: 24px;
    }

    .cpv2-textual__sidebar {
        display: none;
    }

    /* When audio player is present, keep fade shorter so 2–3 prose lines stay readable */
    .cpv2-seo-content.has-audio-player:not(.is-expanded) .cpv2-seo-content__fade {
        height: 72px;
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.65) 45%,
            var(--bg-primary, #fff) 100%
        );
    }

    [data-theme="dark"] .cpv2-seo-content.has-audio-player:not(.is-expanded) .cpv2-seo-content__fade {
        background: linear-gradient(
            to bottom,
            rgba(15, 20, 25, 0) 0%,
            rgba(15, 20, 25, 0.65) 45%,
            var(--bg-primary, #0f1419) 100%
        );
    }

}

@media (max-width: 768px) {
    .cpv2-hero__breadcrumb,
    .cpv2-layout {
        padding-inline: 16px;
    }

    .cpv2-hero {
        padding-block: 24px;
    }

    .cpv2-hero__inner {
        padding-inline: 16px;
        gap: 24px;
    }

    .cpv2-hero__title {
        font-size: 1.35rem;
    }

    .cpv2-hero__icon {
        width: 56px;
        height: 56px;
        padding: 6px;
    }

    .cpv2-hero__change {
        font-size: 0.8125rem;
        padding: 5px 10px;
    }

    .cpv2-hero__seo-text {
        font-size: 0.85rem;
    }

    .cpv2-hero__price {
        font-size: 1.08em;
    }

    .cpv2-hero__price .card-overview-data {
        font-size: 1.15em;
    }

    .cpv2-functional {
        padding-block: 24px;
    }

    .cpv2-functional__inner {
        padding-inline: 16px;
        gap: 20px;
    }

    .cpv2-functional__main,
    .cpv2-functional__sidebar {
        gap: 20px;
    }

    .cpv2-functional__detail .arzpaya-coin-detail {
        padding: 18px 18px 24px;
    }

    .cpv2-benefits .arzpaya-benefits-highlights {
        margin-bottom: 24px;
    }

    .cpv2-textual,
    .cpv2-supplementary {
        padding-block: 30px;
    }

    .cpv2-seo-content__title {
        font-size: 1.4rem;
    }

    .cpv2-seo-content__prose p {
        font-size: 1em;
    }

    .cpv2-seo-content__prose h2 {
        font-size: 1.4em;
    }

    .cpv2-seo-content__viewport {
        --cpv2-seo-collapsed-height: 280px;
    }
}

@media (max-width: 480px) {
    .cpv2-hero__breadcrumb,
    .cpv2-layout {
        padding-inline: 12px;
    }

    .cpv2-hero__inner {
        padding-inline: 12px;
    }

    .cpv2-functional__inner {
        padding-inline: 12px;
    }

    .cpv2-hero__icon {
        width: 48px;
        height: 48px;
        padding: 5px;
    }

    .cpv2-hero__identity {
        gap: 10px;
    }
}

[data-theme="dark"] .cpv2-hero__change--up {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.25);
}

[data-theme="dark"] .cpv2-hero__change--down {
    color: #f87171;
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.25);
}

[data-theme="dark"] .cpv2-hero__seo-text {
    color: rgba(255, 255, 255, 0.52);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .cpv2-hero__change--up {
        color: #4ade80;
        background: rgba(74, 222, 128, 0.12);
        border-color: rgba(74, 222, 128, 0.25);
    }

    :root:not([data-theme="light"]) .cpv2-hero__change--down {
        color: #f87171;
        background: rgba(248, 113, 113, 0.12);
        border-color: rgba(248, 113, 113, 0.25);
    }

    :root:not([data-theme="light"]) .cpv2-hero__seo-text {
        color: rgba(255, 255, 255, 0.52);
    }
}