/* Shared Insights article layout. Use article-readable and load after local styles.
 * Preserve article-specific content and the approved microscope composition.
 */
body.page-insights.article-readable .article-meta-row {
    font-size: 0.875rem;
    line-height: 1.65;
    gap: 10px 16px;
    color: #d6dfde;
}
body.page-insights.article-readable .breadcrumbs {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #d6dfde;
    overflow-wrap: anywhere;
}
body.page-insights.article-readable .article-body :where(p),
body.page-insights.article-readable .article-body > ul,
body.page-insights.article-readable .takeaways ul,
body.page-insights.article-readable .faq p {
    font-size: 1.0625rem;
    line-height: 1.8;
}
body.page-insights.article-readable .evmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
body.page-insights.article-readable :is(.evmap-step, .procon-card, .faq details, .article-cta, .related-card) {
    border-radius: 0;
    background: rgba(16, 35, 38, 0.82);
    border-color: rgba(201, 169, 97, 0.5);
}
body.page-insights.article-readable .evmap-step { padding: 20px; }
body.page-insights.article-readable :is(.evmap-step h3, .procon-card h3) {
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: 0.8px;
    overflow-wrap: anywhere;
}
body.page-insights.article-readable .evmap-step p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
    color: #edf1ef;
    margin: 0;
}
body.page-insights.article-readable .procon {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
body.page-insights.article-readable .procon-card ul {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
    color: #edf1ef;
}
body.page-insights.article-readable .faq summary {
    font-size: 1rem;
    line-height: 1.6;
    padding: 16px 0;
}
body.page-insights.article-readable .faq p { text-align: left; }
body.page-insights.article-readable .ref-item {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 20px;
    color: #d6dfde;
    overflow-wrap: anywhere;
}
body.page-insights.article-readable .ref-item .tier {
    display: block;
    font-size: 0.875rem;
    line-height: 1.6;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}
body.page-insights.article-readable .article-disclaimer {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #d6dfde;
}
body.page-insights.article-readable .related-card .related-kicker {
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: 1px;
}
body.page-insights.article-readable .related-card .related-title {
    font-size: 1.125rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
body.page-insights.article-readable .related-card .related-arrow { font-size: 1rem; }
body.page-insights.article-readable :is(.evmap-step h3, .ref-item .tier, .related-kicker, .related-arrow) {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}
body.page-insights.article-readable .related-card:is(:hover, :focus-visible) {
    background: rgba(16, 35, 38, 0.96);
    border-color: #c9a961;
}
body.page-insights.article-readable :is(.related-card, .faq summary, .ref-item a, .breadcrumbs a, .article-byline a):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}
@media (max-width: 800px) {
    body.page-insights.article-readable .procon { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    body.page-insights.article-readable .article-body p { text-align: left; }
    body.page-insights.article-readable .evmap { grid-template-columns: 1fr; }
    body.page-insights.article-readable .article-meta-row { align-items: flex-start; flex-direction: column; gap: 8px; }
    body.page-insights.article-readable .article-meta-row .dot { display: none; }
    body.page-insights.article-readable .article-verified { align-items: flex-start; }
}

/* Reuse the approved Insights mobile microscope composition. Reserve image
 * space above longer article titles; extra text may grow the hero without
 * enlarging the photograph and cropping the objective away again. */
@media (max-width: 1024px) {
    body.page-insights.article-readable .page-hero {
        --article-viewport: 100vh;
        min-height: var(--article-viewport);
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: max(270px, calc(var(--article-viewport) * 0.38)) 0 48px;
        isolation: isolate;
        background: #102326;
    }
    body.page-insights.article-readable .page-hero::before {
        background-image:
            linear-gradient(to bottom,
                rgba(16,35,38,0.08) 0%,
                rgba(16,35,38,0.12) calc(var(--article-viewport) * 0.32),
                rgba(16,35,38,0.62) calc(var(--article-viewport) * 0.56),
                #102326 calc(var(--article-viewport) * 0.76)),
            var(--hero-image);
        background-size: 100% 100%, auto calc(var(--article-viewport) * 0.76);
        background-position: center, 39% top;
    }
    @supports (height: 100svh) {
        body.page-insights.article-readable .page-hero { --article-viewport: 100svh; }
    }
}
