/* Loaded last so accessibility states and the selected palette win over page-specific CSS. */
.fr-theme :focus-visible {
    outline: 3px solid #00c3d1 !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px rgba(16, 16, 16, 0.9);
}

.fr-main-content:focus {
    outline: 0;
}

html {
    --fr-reader-scale: 1;
}

html[data-fr-text-size="large"] {
    --fr-reader-scale: 1.125;
}

html[data-fr-text-size="xlarge"] {
    --fr-reader-scale: 1.25;
}

.fr-post-shell--wp .fr-article-body,
.fr-post-shell--wp .fr-article-body > p,
.fr-post-shell--wp .fr-article-body li {
    font-size: calc(18px * var(--fr-reader-scale));
}

.fr-page-body p,
.fr-page-body li,
.fr-page-body dd,
.fr-page-body dt,
.fr-page-body td,
.fr-page-body th {
    font-size: calc(1rem * var(--fr-reader-scale));
}

@media (max-width: 700px) {
    .fr-post-shell--wp .fr-article-body,
    .fr-post-shell--wp .fr-article-body > p,
    .fr-post-shell--wp .fr-article-body li {
        font-size: calc(17px * var(--fr-reader-scale));
    }
}

html[data-fr-resolved-scheme="dark"] {
    --fr-bg: #11131f;
    --fr-surface: #1d2033;
    --fr-surface-muted: #2e334d;
    --fr-surface-strong: #f8fafc;
    --fr-text: #f8fafc;
    --fr-text-muted: #cbd1df;
    --fr-muted: #cbd1df;
    --fr-accent: #af264c;
    --fr-accent-strong: #d94d73;
    --fr-accent-hover: #98f3ff;
    --fr-accent-soft: #3a1c29;
    --fr-border: rgba(255, 255, 255, 0.2);
    --fr-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

html[data-fr-resolved-scheme="dark"],
html[data-fr-resolved-scheme="dark"] body,
html[data-fr-resolved-scheme="dark"] .fr-main-content,
html[data-fr-resolved-scheme="dark"] .fr-home,
html[data-fr-resolved-scheme="dark"] .fr-page-shell,
html[data-fr-resolved-scheme="dark"] .fr-post-shell {
    background: #11131f;
    color: #f8fafc;
}

html[data-fr-resolved-scheme="dark"] .fr-card,
html[data-fr-resolved-scheme="dark"] .fr-card--home,
html[data-fr-resolved-scheme="dark"] .fr-page-body,
html[data-fr-resolved-scheme="dark"] .fr-post-article,
html[data-fr-resolved-scheme="dark"] .fr-related-rail,
html[data-fr-resolved-scheme="dark"] .fr-latest-actions,
html[data-fr-resolved-scheme="dark"] .fr-home-category,
html[data-fr-resolved-scheme="dark"] .fr-home-edmo,
html[data-fr-resolved-scheme="dark"] .fr-home-feature-band__edmo,
html[data-fr-resolved-scheme="dark"] .fr-privacy-toc,
html[data-fr-resolved-scheme="dark"] .fr-team-card,
html[data-fr-resolved-scheme="dark"] .fr-biography-card,
html[data-fr-resolved-scheme="dark"] .fr-trusted-panel,
html[data-fr-resolved-scheme="dark"] .fr-search-panel,
html[data-fr-resolved-scheme="dark"] .fr-cite__popover,
html[data-fr-resolved-scheme="dark"] .su-spoiler,
html[data-fr-resolved-scheme="dark"] table {
    background-color: #1d2033;
    border-color: rgba(255, 255, 255, 0.2);
    color: #f8fafc;
}

html[data-fr-resolved-scheme="dark"] .fr-home-category,
html[data-fr-resolved-scheme="dark"] .fr-home-edmo,
html[data-fr-resolved-scheme="dark"] .fr-home-feature-band__edmo {
    background-color: #2a1721;
}

html[data-fr-resolved-scheme="dark"] :is(
    .fr-page-shell,
    .fr-post-shell,
    .fr-home,
    .fr-related-posts
) :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, figcaption, label, time, .fr-card__title, .fr-card__excerpt, .fr-meta-line) {
    color: inherit;
}

html[data-fr-resolved-scheme="dark"] .fr-post-shell--wp .fr-article-body,
html[data-fr-resolved-scheme="dark"] .fr-post-shell--wp .fr-article-body :is(p, h2, h3, h4, h5, h6, strong),
html[data-fr-resolved-scheme="dark"] .fr-factcheck-summary__grid :is(
    .claim-container-pc,
    .claim-container-pc .title,
    .claim-container-pc .text,
    .claim-container-pc p,
    .claim-container-pc strong
) {
    color: #f8fafc !important;
}

html[data-fr-resolved-scheme="dark"] .fr-latest-actions__item h3 a {
    color: #f8fafc;
}

html[data-fr-resolved-scheme="dark"] .fr-latest-actions__item h3 a:hover,
html[data-fr-resolved-scheme="dark"] .fr-latest-actions__item h3 a:focus-visible {
    color: #98f3ff;
}

html[data-fr-resolved-scheme="dark"] .fr-text-muted,
html[data-fr-resolved-scheme="dark"] .fr-card__excerpt,
html[data-fr-resolved-scheme="dark"] .fr-meta-line,
html[data-fr-resolved-scheme="dark"] .fr-related-rail__meta,
html[data-fr-resolved-scheme="dark"] .fr-related-rail__item-date,
html[data-fr-resolved-scheme="dark"] figcaption {
    color: #cbd1df !important;
}

html[data-fr-resolved-scheme="dark"] .fr-article-body a,
html[data-fr-resolved-scheme="dark"] .fr-page-body a,
html[data-fr-resolved-scheme="dark"] .fr-related-rail__item-title a:hover,
html[data-fr-resolved-scheme="dark"] .fr-related-rail__item-title a:focus-visible {
    color: #04e2ff;
}

html[data-fr-resolved-scheme="dark"] .fr-article-body a:hover,
html[data-fr-resolved-scheme="dark"] .fr-article-body a:focus-visible,
html[data-fr-resolved-scheme="dark"] .fr-page-body a:hover,
html[data-fr-resolved-scheme="dark"] .fr-page-body a:focus-visible,
html[data-fr-resolved-scheme="dark"] .fr-header__item > a:hover,
html[data-fr-resolved-scheme="dark"] .fr-header__item > a:focus-visible,
html[data-fr-resolved-scheme="dark"] .fr-header__submenu a:hover,
html[data-fr-resolved-scheme="dark"] .fr-header__submenu a:focus-visible {
    color: #98f3ff;
}

html[data-fr-resolved-scheme="dark"] .fr-header__submenu,
html[data-fr-resolved-scheme="dark"] .fr-theme-switch__options {
    background: #1d2033;
    border-color: rgba(255, 255, 255, 0.24);
    color: #f5f1f4;
}

html[data-fr-resolved-scheme="dark"] .fr-header__submenu .fr-header__item > a,
html[data-fr-resolved-scheme="dark"] .fr-header__submenu .fr-header__submenu-toggle,
html[data-fr-resolved-scheme="dark"] .fr-theme-switch__options button {
    color: #f5f1f4;
}

html[data-fr-resolved-scheme="dark"] .fr-theme-switch__options button:hover,
html[data-fr-resolved-scheme="dark"] .fr-theme-switch__options button:focus-visible,
html[data-fr-resolved-scheme="dark"] .fr-theme-switch__options button[aria-pressed="true"] {
    background: #482235;
    color: #ffffff;
}

html[data-fr-resolved-scheme="dark"] .fr-theme-switch__text-size {
    border-top-color: rgba(255, 255, 255, 0.24);
}

html[data-fr-resolved-scheme="dark"] .fr-theme-switch__text-size > span {
    color: #d7d0d8;
}

html[data-fr-resolved-scheme="dark"] input,
html[data-fr-resolved-scheme="dark"] textarea,
html[data-fr-resolved-scheme="dark"] select {
    background: #17161a;
    border-color: #8e8790;
    color: #ffffff;
}

html[data-fr-resolved-scheme="dark"] input::placeholder,
html[data-fr-resolved-scheme="dark"] textarea::placeholder {
    color: #bbb3bd;
    opacity: 1;
}

html[data-fr-resolved-scheme="dark"] th,
html[data-fr-resolved-scheme="dark"] td {
    border-color: rgba(255, 255, 255, 0.22);
}

html[data-fr-resolved-scheme="dark"] th {
    background: #302d34;
    color: #ffffff;
}

html[data-fr-resolved-scheme="dark"] blockquote,
html[data-fr-resolved-scheme="dark"] .fr-info-callout,
html[data-fr-resolved-scheme="dark"] .fr-inline-note,
html[data-fr-resolved-scheme="dark"] .su-note {
    background: #312732;
    border-color: #ef4f80;
    color: #ffffff;
}

html[data-fr-resolved-scheme="dark"] p.claimQuoteBlock {
    background: #43242d !important;
    color: #fff4f6 !important;
}

html[data-fr-resolved-scheme="dark"] p.evidenceQuoteBlock {
    background: #183b32 !important;
    color: #edfff9 !important;
}

html[data-fr-resolved-scheme="dark"] .fr-cite__marker,
html[data-fr-resolved-scheme="dark"] .fr-inline-citation {
    color: #83e4eb;
}

html[data-fr-resolved-scheme="dark"] .fr-card__media-fallback,
html[data-fr-resolved-scheme="dark"] .fr-related-rail__thumb-fallback {
    background: #2e334d;
    color: #d8d1d9;
}

html[data-fr-resolved-scheme="dark"] :is(
    .fr-toolbox-intro,
    .fr-toolbox__tabs button[aria-selected="true"],
    .fr-tool-card,
    .fr-financial-panel,
    .fr-financial-table,
    .fr-financial-data-table,
    .fr-contact-form,
    .fr-trusted-report,
    .fr-biography,
    .fr-biography__contact,
    .fr-biography__facts
) {
    background-color: #1d2033;
    border-color: rgba(255, 255, 255, 0.22);
    color: #f8fafc;
}

html[data-fr-resolved-scheme="dark"] :is(
    .fr-toolbox__tabs button,
    .fr-toolbox__subfilters button,
    .fr-financial-summary,
    .fr-financial-data-table caption,
    .fr-tool-card__media,
    .fr-page-fallback:not([hidden])
) {
    background-color: #2e334d;
    color: #f8fafc;
}

html[data-fr-resolved-scheme="dark"] :is(
    .fr-page-shell--about .fr-about-body p,
    .fr-contact-submit-status,
    .fr-biography p,
    .fr-biography li
) {
    color: #f8fafc;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (forced-colors: active) {
    .fr-theme-switch__trigger,
    .fr-skip-link {
        border: 2px solid ButtonText;
    }

    .fr-theme :focus-visible {
        outline: 3px solid Highlight !important;
        box-shadow: none;
    }
}

html[data-fr-resolved-scheme="dark"] .fr-header,
html[data-fr-resolved-scheme="dark"] .fr-header::before {
    background: #0d101b;
}

html[data-fr-resolved-scheme="dark"] .fr-latest-actions {
    border-color: rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    background: #1d2033;
}

html[data-fr-resolved-scheme="dark"] .fr-latest-actions :is(.td-block-title, h3 a, time, span) {
    color: #f8fafc;
}

html[data-fr-resolved-scheme="dark"] .fr-latest-actions .td-block-title::before,
html[data-fr-resolved-scheme="dark"] .fr-latest-actions__item {
    border-color: rgba(255, 255, 255, 0.78);
}

html[data-fr-resolved-scheme="dark"] .fr-latest-actions .td-block-title::before {
    background: rgba(255, 255, 255, 0.78);
}

html[data-fr-resolved-scheme="dark"] [data-fr-home-category="misinformation-with-use-of-ai"] {
    background: #430d1c;
}

html[data-fr-resolved-scheme="dark"] [data-fr-home-category="misinformation-with-use-of-ai"] .fr-card--home {
    border-left: 15px solid #af264c;
    color: #f8fafc;
    background: #5a1420;
}

html[data-fr-resolved-scheme="dark"] [data-fr-home-category="misinformation-with-use-of-ai"] .fr-card--home :is(.fr-card__title a, .fr-card__excerpt, .fr-meta-line, .fr-meta-line a) {
    color: #f8fafc;
}
