/* ============================================================================
   COL Radio — World-Class Accessibility & Theme Suite (WCAG 2.1 AA / GIGW)
   Supports: +A A A- Font Scaling, Light/Dark/High-Contrast Themes,
             Dyslexia-Friendly Mode, Focus & Link Highlights, Reduced Motion
   ============================================================================ */

/* 1. Skip to Main Content (Screen Reader & Keyboard First Stop) */
.col-skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 999999;
    background: #8b0000;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: top 0.15s ease;
}
.col-skip-link:focus {
    top: 0;
    outline: 3px solid #facc15;
    outline-offset: 2px;
}

/* 2. Top Utility Accessibility Bar */
.col-a11y-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12.5px;
    color: #334155;
    padding: 5px 16px;
    position: relative;
    z-index: 1001;
}
.col-a11y-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.col-a11y-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.col-a11y-skip-inline {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.col-a11y-skip-inline:hover { color: #8b0000; text-decoration: underline; }

.col-a11y-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}
.col-a11y-group {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    overflow: hidden;
}
.col-a11y-btn {
    background: transparent;
    border: none;
    color: #334155;
    padding: 4px 9px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
    transition: background 0.15s, color 0.15s;
}
.col-a11y-btn + .col-a11y-btn {
    border-left: 1px solid #e2e8f0;
}
.col-a11y-btn:hover {
    background: #fef2f2;
    color: #8b0000;
}
.col-a11y-btn[aria-pressed="true"],
.col-a11y-btn.is-active {
    background: #8b0000;
    color: #ffffff;
}
.col-a11y-pill-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    color: #0f172a;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s;
}
.col-a11y-pill-btn:hover {
    border-color: #8b0000;
    color: #8b0000;
    background: #fef2f2;
}
.col-a11y-pill-btn[aria-expanded="true"],
.col-a11y-pill-btn[aria-pressed="true"] {
    background: #8b0000;
    color: #ffffff;
    border-color: #8b0000;
}

/* 3. Accessibility Drawer Panel */
.col-a11y-drawer {
    position: fixed;
    top: 42px;
    right: 16px;
    z-index: 2147483647 !important;
    width: 340px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
    padding: 16px;
    display: none;
    color: #0f172a;
}
.col-a11y-drawer.open { display: block; }
.col-a11y-drawer-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}
.col-a11y-drawer-title {
    font-size: 14.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}
.col-a11y-drawer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}
.col-a11y-opt-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}
.col-a11y-opt-btn:hover { border-color: #8b0000; background: #fef2f2; }
.col-a11y-opt-btn[aria-pressed="true"] {
    border-color: #8b0000;
    background: #fef2f2;
    color: #8b0000;
}
.col-a11y-opt-btn i { font-size: 15px; }

/* Screen reader live status */
.sr-only-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================================
   4. THEME: DARK MODE (html[data-col-theme="dark"])
   ============================================================================ */
html[data-col-theme="dark"],
html[data-col-theme="dark"] body {
    --ap-white: #1e293b;
    --ap-bg: #0f172a;
    --ap-border: #334155;
    --ap-text: #f1f5f9;
    --ap-text-mid: #cbd5e1;
    --ap-text-muted: #94a3b8;
    --ap-text-faint: #64748b;
    background-color: #0b1120 !important;
    color: #e2e8f0 !important;
}
html[data-col-theme="dark"] .col-a11y-bar {
    background: #0f172a;
    border-bottom-color: #1e293b;
    color: #cbd5e1;
}
html[data-col-theme="dark"] .col-a11y-skip-inline { color: #cbd5e1; }
html[data-col-theme="dark"] .col-a11y-group,
html[data-col-theme="dark"] .col-a11y-pill-btn,
html[data-col-theme="dark"] .col-a11y-drawer {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}
html[data-col-theme="dark"] .col-a11y-btn { color: #e2e8f0; }
html[data-col-theme="dark"] .col-a11y-btn + .col-a11y-btn { border-left-color: #334155; }
html[data-col-theme="dark"] .col-a11y-btn:hover,
html[data-col-theme="dark"] .col-a11y-pill-btn:hover,
html[data-col-theme="dark"] .col-a11y-opt-btn:hover {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #f87171 !important;
}
html[data-col-theme="dark"] .col-a11y-btn[aria-pressed="true"],
html[data-col-theme="dark"] .col-a11y-pill-btn[aria-expanded="true"],
html[data-col-theme="dark"] .col-a11y-opt-btn[aria-pressed="true"] {
    background: #991b1b !important;
    color: #ffffff !important;
    border-color: #f87171 !important;
}
html[data-col-theme="dark"] .col-a11y-opt-btn {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}
html[data-col-theme="dark"] .site-header-branding,
html[data-col-theme="dark"] .site-navbar,
html[data-col-theme="dark"] .navbar-menu,
html[data-col-theme="dark"] .mega-dropdown {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
    color: #f1f5f9 !important;
}
.branding-right img.du-logo-light,
.branding-right img.du-logo-dark {
    max-height: 77px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    margin: 3px 0;
}
@media (max-width: 767px) {
    .branding-right img.du-logo-light,
    .branding-right img.du-logo-dark {
        max-height: 36px !important;
        max-width: 145px !important;
        margin: 2px 0;
    }
    .col-a11y-bar {
        padding: 4px 10px;
    }
    .col-a11y-skip-inline {
        display: none;
    }
    .col-a11y-controls {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }
}
.du-logo-dark { display: none !important; }
html[data-col-theme="dark"] .du-logo-light,
html[data-col-theme="contrast"] .du-logo-light { display: none !important; }
html[data-col-theme="dark"] .du-logo-dark,
html[data-col-theme="contrast"] .du-logo-dark { display: block !important; }
html[data-col-theme="dark"] .nav-link,
html[data-col-theme="dark"] .branding-title,
html[data-col-theme="dark"] .branding-an,
html[data-col-theme="dark"] .branding-initiative,
html[data-col-theme="dark"] .mega-title {
    color: #f1f5f9 !important;
}
html[data-col-theme="dark"] main.main,
html[data-col-theme="dark"] .apd-page,
html[data-col-theme="dark"] .ap-page-wrap,
html[data-col-theme="dark"] .oer-page-container,
html[data-col-theme="dark"] .contact-page,
html[data-col-theme="dark"] .faq-container {
    background-color: #0b1120 !important;
    color: #e2e8f0 !important;
}
html[data-col-theme="dark"] .hp-section,
html[data-col-theme="dark"] .hp-card,
html[data-col-theme="dark"] .hp-vm-card,
html[data-col-theme="dark"] .hp-stats-bar,
html[data-col-theme="dark"] .hp-stat-item,
html[data-col-theme="dark"] .ap-card,
html[data-col-theme="dark"] .ap-sidebar,
html[data-col-theme="dark"] .ap-filter-card,
html[data-col-theme="dark"] .ap-toolbar,
html[data-col-theme="dark"] .ap-sem-body,
html[data-col-theme="dark"] .apd-details-card,
html[data-col-theme="dark"] .apd-rel-card,
html[data-col-theme="dark"] .apd-sidebar,
html[data-col-theme="dark"] .apd-sb-card,
html[data-col-theme="dark"] .apd-sb-card-body,
html[data-col-theme="dark"] .oer-intro-bar,
html[data-col-theme="dark"] .oer-filter-bar,
html[data-col-theme="dark"] .oer-card,
html[data-col-theme="dark"] .oer-program-group,
html[data-col-theme="dark"] .oer-course-group,
html[data-col-theme="dark"] .oer-course-header,
html[data-col-theme="dark"] .topic-card,
html[data-col-theme="dark"] .lr-studio-card,
html[data-col-theme="dark"] .lr-sidebar,
html[data-col-theme="dark"] .lr-card,
html[data-col-theme="dark"] .card-contactsection,
html[data-col-theme="dark"] .contact-card,
html[data-col-theme="dark"] .faq-item,
html[data-col-theme="dark"] .faq-question,
html[data-col-theme="dark"] .faq-answer,
html[data-col-theme="dark"] .about-card-narrative,
html[data-col-theme="dark"] .about-triad-card,
html[data-col-theme="dark"] .about-nav-bar,
html[data-col-theme="dark"] .hp-supporters,
html[data-col-theme="dark"] .hp-suggest,
html[data-col-theme="dark"] .hp-connect-card,
html[data-col-theme="dark"] .supporters-section,
html[data-col-theme="dark"] .supporters-bar,
html[data-col-theme="dark"] #colPwaCard,
html[data-col-theme="dark"] #colPwaFab,
html[data-col-theme="dark"] .card,
html[data-col-theme="dark"] .modal-content,
html[data-col-theme="dark"] [data-col-dark-surface="1"] {
    background-color: #1e293b !important;
    background-image: none !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
html[data-col-theme="dark"] .oer-program-body,
html[data-col-theme="dark"] .oer-course-body,
html[data-col-theme="dark"] .oer-stat-pill,
html[data-col-theme="dark"] .type-pill-btn,
html[data-col-theme="dark"] [data-col-dark-surface="2"] {
    background-color: #0f172a !important;
    background-image: none !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
html[data-col-theme="dark"] h1,
html[data-col-theme="dark"] h2,
html[data-col-theme="dark"] h3,
html[data-col-theme="dark"] h4,
html[data-col-theme="dark"] .hp-stat-num,
html[data-col-theme="dark"] .hp-vm-title,
html[data-col-theme="dark"] .hp-card-title,
html[data-col-theme="dark"] .hp-topic-title,
html[data-col-theme="dark"] .hp-desk-title,
html[data-col-theme="dark"] .apd-ep-title,
html[data-col-theme="dark"] .apd-rel-title,
html[data-col-theme="dark"] .ap-card-title,
html[data-col-theme="dark"] .hp-section-title,
html[data-col-theme="dark"] .about-sec-title {
    color: #f8fafc !important;
}
html[data-col-theme="dark"] .hp-stat-label {
    color: #94a3b8 !important;
}
html[data-col-theme="dark"] p,
html[data-col-theme="dark"] .apd-desc-body,
html[data-col-theme="dark"] .apd-ep-subtitle,
html[data-col-theme="dark"] .text-muted,
html[data-col-theme="dark"] .ap-card-desc {
    color: #cbd5e1 !important;
}
/* Compact clean height for sidebar Date Range inputs (Light, Dark & Contrast) */
#dateFrom, #dateTo {
    height: 36px !important;
    min-height: 36px !important;
    padding: 4px 10px !important;
    font-size: 13px !important;
    border-radius: 7px !important;
    line-height: 1.3 !important;
}

html[data-col-theme="dark"] .apd-meta-grid,
html[data-col-theme="dark"] .breadcrumb-bar,
html[data-col-theme="dark"] .apd-breadcrumb-bar,
html[data-col-theme="dark"] body input,
html[data-col-theme="dark"] body select,
html[data-col-theme="dark"] body textarea,
html[data-col-theme="dark"] body main.main input[type="date"],
html[data-col-theme="dark"] body main.main #dateFrom,
html[data-col-theme="dark"] body main.main #dateTo {
    background: #0f172a !important;
    background-color: #0f172a !important;
    border-color: #475569 !important;
    color: #f1f5f9 !important;
    color-scheme: dark !important;
}
html[data-col-theme="dark"] input::placeholder,
html[data-col-theme="dark"] textarea::placeholder {
    color: #94a3b8 !important;
}
html[data-col-theme="dark"] .ap-reset-btn,
html[data-col-theme="dark"] .lr-reset-btn,
html[data-col-theme="dark"] .ap-clear-btn,
html[data-col-theme="dark"] body main.main .btn-clear-all {
    background: rgba(239, 68, 68, 0.14) !important;
    border: 1px solid rgba(248, 113, 113, 0.4) !important;
    color: #fca5a5 !important;
}
html[data-col-theme="dark"] .ap-reset-btn:hover,
html[data-col-theme="dark"] .lr-reset-btn:hover,
html[data-col-theme="dark"] .ap-clear-btn:hover,
html[data-col-theme="dark"] body main.main .btn-clear-all:hover {
    background: #991b1b !important;
    color: #ffffff !important;
}
html[data-col-theme="dark"] .apd-meta-v { color: #f8fafc !important; }
html[data-col-theme="dark"] .apd-mini-btn,
html[data-col-theme="dark"] .apd-back-pill,
html[data-col-theme="dark"] .apd-tag-pill,
html[data-col-theme="dark"] .apd-context-pill,
html[data-col-theme="dark"] .ap-pg,
html[data-col-theme="dark"] .ap-sidebar-toggle-btn,
html[data-col-theme="dark"] .ap-vbtn,
html[data-col-theme="dark"] .ap-vbtn:hover,
html[data-col-theme="dark"] .ap-sem-header,
html[data-col-theme="dark"] .ap-sem-hdr,
html[data-col-theme="dark"] .ap-sem-hdr:hover,
html[data-col-theme="dark"] .ap-sem-accordion.expanded .ap-sem-hdr,
html[data-col-theme="dark"] .ap-fg-hdr,
html[data-col-theme="dark"] .ap-fg-hdr:hover {
    background-color: #0f172a !important;
    border-color: #475569 !important;
    color: #f1f5f9 !important;
}
html[data-col-theme="dark"] .ap-sem-accordion,
html[data-col-theme="dark"] .ap-sem-content,
html[data-col-theme="dark"] .ap-course-card,
html[data-col-theme="dark"] .ap-ep-row,
html[data-col-theme="dark"] .ap-dir-row {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
html[data-col-theme="dark"] .ap-dir-row:hover,
html[data-col-theme="dark"] .ap-opt:hover,
html[data-col-theme="dark"] .fg-opt:hover {
    background-color: #293548 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}
html[data-col-theme="dark"] .ap-sidebar label,
html[data-col-theme="dark"] .ap-sidebar .ap-chk-label,
html[data-col-theme="dark"] .ap-sidebar .ap-rad-label,
html[data-col-theme="dark"] .lr-sidebar label,
html[data-col-theme="dark"] .ap-sem-title,
html[data-col-theme="dark"] .ap-sem-name,
html[data-col-theme="dark"] .ap-toolbar-count,
html[data-col-theme="dark"] main.main *:not(a):not(button):not(i):not(.fa-solid):not(.fa-brands):not(.fa-regular):not(.hp-section-title span):not(.accent-red):not(.accent-gold):not(.ap-chip):not(.ap-sem-badge):not(.badge):not([class*="badge"]),
html[data-col-theme="dark"] main.main .course-main-title,
html[data-col-theme="dark"] main.main .topic-title,
html[data-col-theme="dark"] main.main .topic-card *:not(a):not(button):not(i),
html[data-col-theme="dark"] main.main .program-title-text,
html[data-col-theme="dark"] main.main .oer-stat-pill *:not(i),
html[data-col-theme="dark"] main.main .oer-filter-bar *:not(i):not(button):not(a),
html[data-col-theme="dark"] main.main .oer-intro-bar *:not(i):not(button):not(a),
html[data-col-theme="dark"] main.main .oer-card *:not(i):not(button):not(a) {
    color: #f1f5f9 !important;
}
html[data-col-theme="dark"] #btnToggleAll {
    background-color: #0f172a !important;
    border-color: #475569 !important;
    color: #f1f5f9 !important;
}
html[data-col-theme="dark"] .prof-pill,
html[data-col-theme="dark"] .res-badge,
html[data-col-theme="dark"] .header-badge,
html[data-col-theme="dark"] .ap-badge,
html[data-col-theme="dark"] .lr-sched-time-badge,
html[data-col-theme="dark"] .lr-meta-pill,
html[data-col-theme="dark"] .lr-tag-category,
html[data-col-theme="dark"] .lr-tag-meta,
html[data-col-theme="dark"] .lr-sched-meta-top span {
    background: #0f172a !important;
    color: #e2e8f0 !important;
    border: 1px solid #475569 !important;
}
html[data-col-theme="dark"] .ap-ep-title,
html[data-col-theme="dark"] .ap-ep-row a,
html[data-col-theme="dark"] .ap-title {
    color: #fca5a5 !important;
}
html[data-col-theme="dark"] .ap-chip,
html[data-col-theme="dark"] .ap-chip--paper {
    background: rgba(139, 92, 246, 0.20) !important;
    color: #ddd6fe !important;
    border: 1px solid rgba(167, 139, 250, 0.35) !important;
    width: fit-content !important;
    max-width: 100%;
}

html[data-col-theme="dark"] [data-col-dark-iconbox="1"] {
    background: rgba(239, 68, 68, 0.16) !important;
    background-image: none !important;
    color: #f87171 !important;
}
html[data-col-theme="dark"] [data-col-dark-iconbox="1"] i {
    color: #f87171 !important;
}
html[data-col-theme="contrast"] [data-col-dark-iconbox="1"] {
    background: #000000 !important;
    background-image: none !important;
    border: 1.5px solid #ffd60a !important;
    color: #ffd60a !important;
}
html[data-col-theme="contrast"] [data-col-dark-iconbox="1"] i {
    color: #ffd60a !important;
}

/* ============================================================================
   5. THEME: HIGH CONTRAST MODE (html[data-col-theme="contrast"])
   WCAG AAA / GIGW Standard: Pure #000000 surface, crisp #ffffff headings/text,
   warm accessible #ffd60a gold-yellow for links, borders & interactive controls
   ============================================================================ */
html[data-col-theme="contrast"],
html[data-col-theme="contrast"] body,
html[data-col-theme="contrast"] main.main,
html[data-col-theme="contrast"] .col-a11y-bar,
html[data-col-theme="contrast"] .site-header-branding,
html[data-col-theme="contrast"] .site-navbar,
html[data-col-theme="contrast"] .navbar-menu,
html[data-col-theme="contrast"] .mega-dropdown,
html[data-col-theme="contrast"] section,
html[data-col-theme="contrast"] .hp-section,
html[data-col-theme="contrast"] .apd-page,
html[data-col-theme="contrast"] .ap-page-wrap,
html[data-col-theme="contrast"] .oer-page-container,
html[data-col-theme="contrast"] .contact-page,
html[data-col-theme="contrast"] .faq-container,
html[data-col-theme="contrast"] .hp-supporters,
html[data-col-theme="contrast"] .hp-suggest,
html[data-col-theme="contrast"] .hp-connect-card,
html[data-col-theme="contrast"] .supporters-section,
html[data-col-theme="contrast"] .supporters-bar {
    --ap-white: #000000;
    --ap-bg: #000000;
    --ap-border: #ffd60a;
    --ap-text: #ffffff;
    --ap-text-mid: #ffffff;
    --ap-text-muted: #e2e8f0;
    --ap-red-light: #000000;
    background: #000000 !important;
    background-image: none !important;
    color: #ffffff !important;
}
html[data-col-theme="contrast"] .card,
html[data-col-theme="contrast"] .hp-card,
html[data-col-theme="contrast"] .hp-vm-card,
html[data-col-theme="contrast"] .hp-stats-bar,
html[data-col-theme="contrast"] .hp-stat-item,
html[data-col-theme="contrast"] .ap-card,
html[data-col-theme="contrast"] .ap-sidebar,
html[data-col-theme="contrast"] .apd-details-card,
html[data-col-theme="contrast"] .apd-rel-card,
html[data-col-theme="contrast"] .oer-card,
html[data-col-theme="contrast"] .oer-program-group,
html[data-col-theme="contrast"] .oer-course-group,
html[data-col-theme="contrast"] .topic-card,
html[data-col-theme="contrast"] .lr-studio-card,
html[data-col-theme="contrast"] .lr-sidebar,
html[data-col-theme="contrast"] .lr-card,
html[data-col-theme="contrast"] .contact-card,
html[data-col-theme="contrast"] .faq-item,
html[data-col-theme="contrast"] .about-card-narrative,
html[data-col-theme="contrast"] .about-triad-card,
html[data-col-theme="contrast"] .col-a11y-drawer,
html[data-col-theme="contrast"] #colPwaCard,
html[data-col-theme="contrast"] #colPwaFab,
html[data-col-theme="contrast"] [data-col-dark-surface="1"],
html[data-col-theme="contrast"] [data-col-dark-surface="2"] {
    background: #000000 !important;
    background-image: none !important;
    border: 1.5px solid #ffd60a !important;
    color: #ffffff !important;
}
html[data-col-theme="contrast"] h1,
html[data-col-theme="contrast"] h2,
html[data-col-theme="contrast"] h3,
html[data-col-theme="contrast"] h4,
html[data-col-theme="contrast"] p,
html[data-col-theme="contrast"] span,
html[data-col-theme="contrast"] li,
html[data-col-theme="contrast"] div {
    color: #ffffff;
}
html[data-col-theme="contrast"] h1,
html[data-col-theme="contrast"] h2,
html[data-col-theme="contrast"] h3,
html[data-col-theme="contrast"] h4 {
    color: #ffffff !important;
}
html[data-col-theme="contrast"] a,
html[data-col-theme="contrast"] .nav-link,
html[data-col-theme="contrast"] .hp-section-title span {
    color: #ffd60a !important;
}
html[data-col-theme="contrast"] a:hover {
    text-decoration: underline !important;
}
html[data-col-theme="contrast"] button,
html[data-col-theme="contrast"] .col-a11y-btn,
html[data-col-theme="contrast"] .col-a11y-pill-btn,
html[data-col-theme="contrast"] .col-a11y-opt-btn {
    border: 1.5px solid #ffd60a !important;
    background: #000000 !important;
    color: #ffd60a !important;
}
html[data-col-theme="contrast"] button[aria-pressed="true"],
html[data-col-theme="contrast"] .col-a11y-btn[aria-pressed="true"],
html[data-col-theme="contrast"] .col-a11y-opt-btn[aria-pressed="true"] {
    background: #ffd60a !important;
    color: #000000 !important;
}
html[data-col-theme="contrast"] input,
html[data-col-theme="contrast"] select,
html[data-col-theme="contrast"] textarea {
    background: #000000 !important;
    border: 1.5px solid #ffd60a !important;
    color: #ffffff !important;
    color-scheme: dark;
}
html[data-col-theme="contrast"] .ap-dir-row,
html[data-col-theme="contrast"] .ap-dir-row:hover,
html[data-col-theme="contrast"] .ap-sem-hdr,
html[data-col-theme="contrast"] .ap-sem-hdr:hover,
html[data-col-theme="contrast"] .ap-sem-accordion.expanded .ap-sem-hdr,
html[data-col-theme="contrast"] .ap-sem-body,
html[data-col-theme="contrast"] .ap-opt:hover,
html[data-col-theme="contrast"] .fg-opt:hover,
html[data-col-theme="contrast"] .ap-fg-hdr:hover {
    background: #000000 !important;
    border-color: #ffd60a !important;
    color: #ffffff !important;
}
html[data-col-theme="contrast"] .ap-sem-badge,
html[data-col-theme="contrast"] .ap-chip,
html[data-col-theme="contrast"] .ap-chip--paper,
html[data-col-theme="contrast"] .ap-badge,
html[data-col-theme="contrast"] .apd-tag-pill,
html[data-col-theme="contrast"] .apd-context-pill,
html[data-col-theme="contrast"] .prof-pill,
html[data-col-theme="contrast"] .res-badge,
html[data-col-theme="contrast"] .header-badge,
html[data-col-theme="contrast"] .program-count-badge,
html[data-col-theme="contrast"] .program-items-badge,
html[data-col-theme="contrast"] .action-btn,
html[data-col-theme="contrast"] .lr-sched-time-badge,
html[data-col-theme="contrast"] .lr-meta-pill,
html[data-col-theme="contrast"] .lr-tag-category,
html[data-col-theme="contrast"] .lr-tag-meta,
html[data-col-theme="contrast"] .lr-sched-meta-top span {
    background: #000000 !important;
    color: #ffd60a !important;
    border: 1px solid #ffd60a !important;
    width: fit-content !important;
    max-width: 100%;
}
html[data-col-theme="contrast"] .oer-program-header,
html[data-col-theme="contrast"] .oer-course-header,
html[data-col-theme="contrast"] .oer-program-body,
html[data-col-theme="contrast"] .oer-course-body,
html[data-col-theme="contrast"] .oer-intro-bar,
html[data-col-theme="contrast"] .oer-filter-bar,
html[data-col-theme="contrast"] .oer-stat-pill,
html[data-col-theme="contrast"] .type-pill-btn {
    background: #000000 !important;
    background-image: none !important;
    border-color: #ffd60a !important;
    color: #ffffff !important;
}
html[data-col-theme="contrast"] main.main *:not(a):not(button):not(i):not(.fa-solid):not(.fa-brands):not(.fa-regular):not(.hp-section-title span),
html[data-col-theme="contrast"] .course-main-title,
html[data-col-theme="contrast"] .topic-title,
html[data-col-theme="contrast"] .program-title-text {
    color: #ffffff !important;
}
html[data-col-theme="dark"] .broadcast-info h3 a,
html[data-col-theme="dark"] .upcoming-info h3 a,
html[data-col-theme="contrast"] .broadcast-info h3 a,
html[data-col-theme="contrast"] .upcoming-info h3 a {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
}
html[data-col-theme="dark"] .broadcast-info h3 a,
html[data-col-theme="dark"] .upcoming-info h3 {
    color: #f8fafc !important;
}
html[data-col-theme="dark"] .broadcast-info p,
html[data-col-theme="dark"] .upcoming-info p {
    color: #cbd5e1 !important;
}
html[data-col-theme="contrast"] .broadcast-info p,
html[data-col-theme="contrast"] .upcoming-info p {
    color: #ffffff !important;
}

/* ============================================================================
   6. DISABILITY HELPERS: Dyslexia, Highlight Links/Focus, Reduced Motion
   ============================================================================ */
html.col-a11y-dyslexia body,
html.col-a11y-dyslexia p,
html.col-a11y-dyslexia li,
html.col-a11y-dyslexia a,
html.col-a11y-dyslexia span,
html.col-a11y-dyslexia div {
    font-family: 'Verdana', 'Tahoma', 'Arial', sans-serif !important;
    letter-spacing: 0.045em !important;
    word-spacing: 0.12em !important;
    line-height: 1.75 !important;
}

html.col-a11y-links a {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}
html.col-a11y-links *:focus,
html.col-a11y-links *:focus-visible {
    outline: 3px solid #f59e0b !important;
    outline-offset: 2px !important;
}

/* Always provide crisp keyboard focus ring even by default */
*:focus-visible {
    outline: 2.5px solid #c0392b;
    outline-offset: 2px;
}

html.col-a11y-nomotion *,
html.col-a11y-nomotion *::before,
html.col-a11y-nomotion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}

/* Ensure X (Twitter) icon stays visible in dark and high-contrast themes */
html[data-col-theme="dark"] .fa-x-twitter,
html[data-col-theme="dark"] .social-icons-contactsection .fa-x-twitter {
    color: #f8fafc !important;
}
html[data-col-theme="contrast"] .fa-x-twitter,
html[data-col-theme="contrast"] .social-icons-contactsection .fa-x-twitter {
    color: #ffe600 !important;
}
