/*
 * Shared presentation for editorial content only.
 * Tables keep their native table semantics. Scroll regions and chart labels are
 * supplied by the article builder; no generated text or interactive JS is used.
 */
:is(.vc-editorial-content, article.regional-seo-article) {
    --vc-article-ink: #153b2d;
    --vc-article-green: #0d3929;
    --vc-article-link: #086b48;
    --vc-article-gold: #c6a13b;
    --vc-article-line: #d7e3dc;
    --vc-article-muted: #50645a;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-table-wrap {
    display: block;
    inline-size: 100%;
    max-inline-size: 100%;
    min-inline-size: 0;
    margin: 20px 0 24px;
    padding: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--vc-article-line);
    border-block-start: 3px solid var(--vc-article-gold);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgb(13 57 41 / 5%);
    scrollbar-width: thin;
    scrollbar-color: #638675 #edf3ef;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-table-wrap:focus-visible {
    outline: 3px solid #147655 !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 6px rgb(20 118 85 / 12%);
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-table-wrap::-webkit-scrollbar {
    height: 9px;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-table-wrap::-webkit-scrollbar-track {
    background: #edf3ef;
    border-radius: 8px;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-table-wrap::-webkit-scrollbar-thumb {
    background: #638675;
    border: 2px solid #edf3ef;
    border-radius: 8px;
}

:is(.vc-editorial-content, article.regional-seo-article) table.vc-article-table {
    display: table;
    width: 100% !important;
    min-width: 100%;
    max-width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    background: #ffffff;
    color: var(--vc-article-ink) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 0.875rem;
    line-height: 1.55;
    text-align: start;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table caption {
    padding: 15px 18px;
    caption-side: top;
    background: #ffffff;
    color: var(--vc-article-ink) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.5;
    text-align: start !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: normal;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table :is(th, td) {
    padding: 14px 18px !important;
    border: 0 !important;
    border-inline-end: 1px solid #e5ece8 !important;
    border-block-end: 1px solid var(--vc-article-line) !important;
    vertical-align: top !important;
    text-align: start;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
    text-transform: none !important;
    letter-spacing: normal !important;
    -webkit-text-fill-color: currentColor !important;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table thead th {
    background: var(--vc-article-green) !important;
    color: #ffffff !important;
    border-inline-end-color: rgb(255 255 255 / 16%) !important;
    border-block-end: 2px solid var(--vc-article-gold) !important;
    font-size: 0.79rem;
    font-weight: 750;
    line-height: 1.5 !important;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table tbody :is(th, td) {
    background: #ffffff !important;
    color: var(--vc-article-ink) !important;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table tbody th,
:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table tbody td:first-child {
    font-weight: 700;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table tbody tr:nth-child(even) > :is(th, td) {
    background: #f3f8f4 !important;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table tbody tr:is(:hover, :focus-within) > :is(th, td) {
    background: #e9f3ed !important;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table tr > :last-child {
    border-inline-end: 0 !important;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table tbody tr:last-child > :is(th, td) {
    border-block-end: 0 !important;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table :is(.vc-cell-number, [data-numeric="true"]),
:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table--numeric tbody td:not(:first-child):not(.vc-cell-text) {
    text-align: end !important;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table td.vc-cell-number {
    white-space: nowrap;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table a {
    color: var(--vc-article-link) !important;
    -webkit-text-fill-color: currentColor !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-table a:hover {
    color: #063c28 !important;
    text-decoration-thickness: 2px;
}

:is(.vc-editorial-content, article.regional-seo-article) :is(.vc-article-table, .vc-article-figure) a:focus-visible {
    outline: 2px solid #147655 !important;
    outline-offset: 3px !important;
    border-radius: 2px;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-row-source {
    display: block;
    margin-block-start: 5px;
    color: var(--vc-article-muted);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-row-source a {
    display: inline-block;
    min-height: 24px;
    padding-block: 2px;
    font-weight: 600;
}

/* Figures use visible values and legends alongside the semantic SVG or bars. */
:is(.vc-editorial-content, article.regional-seo-article) .vc-article-figure {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 26px 0;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid var(--vc-article-line);
    border-block-start: 3px solid var(--vc-article-gold);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #f3f8f4 100%);
    color: var(--vc-article-ink) !important;
    -webkit-text-fill-color: currentColor !important;
    box-shadow: 0 6px 20px rgb(13 57 41 / 5%);
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-article-figure figcaption {
    margin: 0 0 16px;
    color: var(--vc-article-ink) !important;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-layout {
    display: grid;
    grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
    gap: 20px;
    align-items: center;
    min-width: 0;
    margin: 16px 0;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-svg {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-inline: auto;
    overflow: visible;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-svg text {
    font-family: inherit;
    font-variant-numeric: tabular-nums;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-legend {
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    line-height: 1.5;
}

:is(.vc-editorial-content, article.regional-seo-article) :is(.vc-chart-legend > li, .vc-chart-legend-item) {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
    padding: 8px 0;
    border-block-end: 1px solid #dee8e1;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-swatch {
    display: inline-block;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin-block-start: 4px;
    border-radius: 4px;
    background: #147655;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%);
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-label {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-value {
    flex: 0 0 auto;
    color: var(--vc-article-ink);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    white-space: nowrap;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-bars {
    display: grid;
    gap: 15px;
    width: 100%;
    min-width: 0;
    margin: 18px 0;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-bar-row {
    display: grid;
    grid-template-columns: minmax(100px, 1fr) minmax(140px, 2fr) max-content;
    gap: 12px;
    align-items: center;
    min-width: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-bar-label {
    min-width: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-bar-track {
    display: block;
    position: relative;
    width: 100%;
    min-width: 0;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #e1ebe4;
    box-shadow: inset 0 1px 2px rgb(13 57 41 / 8%);
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-bar-fill {
    display: block;
    max-width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #147655;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-note {
    margin: 14px 0 0;
    color: var(--vc-article-muted);
    font-size: 0.82rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-svg {
        max-width: 240px;
    }
}

@media (max-width: 639px) {
    :is(.vc-editorial-content, article.regional-seo-article) .vc-table-wrap {
        margin: 16px 0 20px;
        border-radius: 11px;
    }

    :is(.vc-editorial-content, article.regional-seo-article) table.vc-article-table {
        min-width: 34rem !important;
        font-size: 0.8125rem;
    }

    :is(.vc-editorial-content, article.regional-seo-article) table.vc-article-table--compact {
        min-width: 100% !important;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-article-table :is(th, td) {
        padding: 12px 14px !important;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-article-table caption {
        padding: 13px 14px;
        font-size: 0.875rem;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-bar-row {
        grid-template-columns: minmax(0, 1fr) max-content;
        gap: 6px 10px;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-bar-row > :is(.vc-chart-label, .vc-chart-bar-label) {
        grid-column: 1;
        grid-row: 1;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-bar-row > .vc-chart-value {
        grid-column: 2;
        grid-row: 1;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-bar-row > .vc-chart-bar-track {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media print {
    :is(.vc-editorial-content, article.regional-seo-article) .vc-table-wrap {
        overflow: visible;
        box-shadow: none;
        break-inside: avoid;
    }

    :is(.vc-editorial-content, article.regional-seo-article) table.vc-article-table {
        min-width: 100% !important;
        font-size: 10pt;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-article-figure {
        box-shadow: none;
        break-inside: avoid;
    }
}

/* Reader cues and explicit inputs for hypothetical bonus illustrations. */
:is(.vc-editorial-content, article.regional-seo-article) .vc-table-scroll-hint {
    display: none;
    margin: 6px 0 16px;
    color: var(--vc-article-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-assumptions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
    margin: 16px 0 20px;
    padding: 0;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-assumptions > div {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--vc-article-line);
    border-radius: 10px;
    background: #ffffff;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-assumptions dt {
    margin: 0;
    color: var(--vc-article-muted);
    font-size: 0.75rem;
    font-weight: 650;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

:is(.vc-editorial-content, article.regional-seo-article) .vc-chart-assumptions dd {
    margin: 6px 0 0;
    color: var(--vc-article-ink);
    font-size: 0.95rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-assumptions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    :is(.vc-editorial-content, article.regional-seo-article) .vc-table-scroll-hint {
        display: block;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-assumptions {
        grid-template-columns: minmax(0, 1fr);
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-assumptions > div {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 6px;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-assumptions dt {
        overflow-wrap: break-word;
        word-break: normal;
    }

    :is(.vc-editorial-content, article.regional-seo-article) .vc-chart-assumptions dd {
        margin: 0;
        text-align: start;
        white-space: nowrap;
    }
}

@media print {
    :is(.vc-editorial-content, article.regional-seo-article) .vc-table-scroll-hint {
        display: none;
    }
}
