/* Loaded last so the reading control can override page-specific premium themes. */
.high-contrast {
    color-scheme: light;
    --paper: #fff;
    --cream: #fff;
    --ink: #000;
    --navy: #000;
    --navy2: #000;
    --red: #000;
    --gold: #ffdf00;
    --blue: #fff;
    --muted: #000;
    --line: #000;
    --shadow: none;
}

.high-contrast .premium-home {
    --premium-ink: #000;
    --premium-cream: #fff;
    --premium-gold: #ffdf00;
    --premium-red: #000;
}

.high-contrast body,
.high-contrast .premium-home,
.high-contrast .newsletter-page {
    background: #fff;
    color: #000;
}

.high-contrast h1,
.high-contrast h2,
.high-contrast h3,
.high-contrast p,
.high-contrast li,
.high-contrast dt,
.high-contrast dd,
.high-contrast small,
.high-contrast figcaption,
.high-contrast label,
.high-contrast legend {
    color: inherit;
}

.high-contrast a {
    color: #000;
    text-decoration-line: underline;
    text-decoration-thickness: 3px;
}

.high-contrast :focus-visible {
    outline: 4px solid #ffdf00;
    outline-offset: 4px;
}

.high-contrast .reading-tools,
.high-contrast .premium-home .premium-hero,
.high-contrast .book-hero,
.high-contrast .journal-hero,
.high-contrast .chapter-hero-inner,
.high-contrast .article-page > header,
.high-contrast .newsletter-hero,
.high-contrast .newsletter-home,
.high-contrast .care-section,
.high-contrast .premium-care,
.high-contrast .site-footer,
.high-contrast .footer-newsletter-band {
    background: #000;
    background-image: none;
    color: #fff;
}

.high-contrast .reading-tools *,
.high-contrast .premium-home .premium-hero *,
.high-contrast .book-hero *,
.high-contrast .journal-hero *,
.high-contrast .chapter-hero-inner *,
.high-contrast .article-page > header *,
.high-contrast .newsletter-hero *,
.high-contrast .newsletter-home > div *,
.high-contrast .care-section *,
.high-contrast .premium-care *,
.high-contrast .site-footer * {
    color: #fff;
}

.high-contrast .reading-icon,
.high-contrast .reading-tools button[aria-pressed="true"] {
    background: #ffdf00;
    color: #000;
}

.high-contrast .eyebrow {
    background: transparent;
    color: #000 !important;
}

.high-contrast .premium-home .premium-hero .eyebrow,
.high-contrast .book-hero .eyebrow,
.high-contrast .journal-hero .eyebrow,
.high-contrast .chapter-hero-inner .eyebrow,
.high-contrast .article-page > header .eyebrow,
.high-contrast .newsletter-hero .eyebrow,
.high-contrast .newsletter-home .eyebrow,
.high-contrast .care-section .eyebrow,
.high-contrast .premium-care .eyebrow,
.high-contrast .site-footer .eyebrow {
    color: #ffdf00 !important;
}

.high-contrast .reading-tools button {
    border: 2px solid #fff;
    color: #fff;
}

.high-contrast .site-header,
.high-contrast .premium-home .site-header,
.high-contrast .audience-band,
.high-contrast .premium-home .audience-band,
.high-contrast .premium-series,
.high-contrast .premium-journal,
.high-contrast .journal-preview,
.high-contrast .filter-bar,
.high-contrast .newsletter-panel,
.high-contrast .newsletter-postcard,
.high-contrast .newsletter-form,
.high-contrast .newsletter-form fieldset,
.high-contrast .newsletter-home-card,
.high-contrast .book-cover-stage,
.high-contrast .coming-panel,
.high-contrast .empty-state,
.high-contrast .article-cta {
    background: #fff;
    background-image: none;
    color: #000;
    border-color: #000;
    box-shadow: none;
}

.high-contrast .site-header::before,
.high-contrast .premium-home .premium-hero::before,
.high-contrast .premium-care::after,
.high-contrast .journal-monogram,
.high-contrast .hero-art::after,
.high-contrast .book-cover-stage::after {
    display: none;
}

.high-contrast .book-card,
.high-contrast .chapter-card,
.high-contrast .article-card,
.high-contrast .topic,
.high-contrast .resource,
.high-contrast .contact-form-card,
.high-contrast .newsletter-form,
.high-contrast fieldset,
.high-contrast input,
.high-contrast select,
.high-contrast textarea {
    background: #fff;
    color: #000;
    border-color: #000;
    box-shadow: none;
}

.high-contrast .book-card,
.high-contrast .chapter-card,
.high-contrast .article-card,
.high-contrast .topic,
.high-contrast .resource,
.high-contrast .contact-form-card,
.high-contrast .newsletter-form {
    border-width: 2px;
}

.high-contrast .button,
.high-contrast button:not(.contrast-toggle),
.high-contrast .filter-bar a.active,
.high-contrast .edition-switch a.active,
.high-contrast .footer-contact-button {
    background: #000;
    color: #fff !important;
    border-color: #000;
    box-shadow: none;
}

.high-contrast .button.secondary,
.high-contrast .premium-home .premium-hero .button,
.high-contrast .premium-care .button.light {
    background: #ffdf00;
    color: #000 !important;
    box-shadow: inset 0 0 0 2px #000;
}

.high-contrast .site-header nav .nav-link,
.high-contrast .site-header nav .nav-link:hover,
.high-contrast .site-header nav .nav-link:focus-visible,
.high-contrast .site-header nav .nav-link[aria-current="page"] {
    color: #000;
}

.high-contrast .site-header nav .nav-contact,
.high-contrast .site-header nav .nav-contact:hover,
.high-contrast .site-header nav .nav-contact:focus-visible,
.high-contrast .site-header nav .nav-contact[aria-current="page"],
.high-contrast .site-header .site-search button {
    background: #000;
    color: #fff;
}

.high-contrast .site-header .site-search,
.high-contrast .site-header .site-search input,
.high-contrast .menu-toggle {
    background: #fff;
    color: #000;
    border-color: #000;
}

.high-contrast .premium-home .hero-art figcaption,
.high-contrast .edition-seal,
.high-contrast .series-seal,
.high-contrast .planned-label,
.high-contrast .tag-list a,
.high-contrast .tag-list span {
    background: #fff;
    color: #000 !important;
    border-color: #000;
}

.high-contrast .premium-home .hero-art figcaption *,
.high-contrast .newsletter-postcard *,
.high-contrast .newsletter-home-card *,
.high-contrast .edition-seal *,
.high-contrast .series-seal * {
    color: #000 !important;
}

.high-contrast img {
    outline: 1px solid #000;
}

.high-contrast .reading-tools button[aria-pressed="true"] {
    background: #ffdf00;
    color: #000 !important;
    border-color: #ffdf00;
}
