/* AYAM24 Quality Pack 1.0 — contrast corrections scoped strictly to Dark Mode.
   Never recolor third-party ads or iframes. Theme controls actual light/dark state. */
html[data-a24-theme="dark"] .page-prose .a24fi-overview,
html[data-a24-theme="dark"] body .a24fi-overview {
  background:#1c293d!important; border-color:#42526d!important; color:#edf3ff!important;
}
html[data-a24-theme="dark"] .page-prose .a24fi-overview h2,
html[data-a24-theme="dark"] .page-prose .a24fi-application h2,
html[data-a24-theme="dark"] .page-prose .a24fi-description h2 {color:#f6f8ff!important}
html[data-a24-theme="dark"] .page-prose .a24fi-facts th,
html[data-a24-theme="dark"] body .a24fi-facts th {background:transparent!important;color:#c5d3e9!important;border-color:#42526d!important}
html[data-a24-theme="dark"] .page-prose .a24fi-facts td,
html[data-a24-theme="dark"] body .a24fi-facts td {background:transparent!important;color:#f2f6ff!important;border-color:#42526d!important}
html[data-a24-theme="dark"] .page-prose .a24fi-facts tr {border-bottom-color:#43516a!important}
html[data-a24-theme="dark"] .page-prose .a24fi-overview :is(p,li,strong,span) {color:#ecf2ff}
html[data-a24-theme="dark"] .page-prose .a24fi-application {background:#1b293e!important;border-color:#42526d!important;color:#e5edff!important}
html[data-a24-theme="dark"] .page-prose .a24fi-application :is(p,small) {color:#cbd7ea!important}
html[data-a24-theme="dark"] .page-prose .a24fi-description :is(h3,h4) {color:#f2f6ff!important}
html[data-a24-theme="dark"] .page-prose .a24fi-apply-link {color:#fff!important;background:#3b64e7}
html[data-a24-theme="dark"] .a24fi-card {background:#1b263a!important;border-color:#42516a!important;color:#eff4ff!important}
html[data-a24-theme="dark"] .a24fi-card-title {color:#f6f7ff!important}
html[data-a24-theme="dark"] .a24fi-card-detail :is(span,small) {color:#c6d3e9!important}
html[data-a24-theme="dark"] .a24fi-card-logo {background:#2b3b5e!important;color:#e1e9ff!important}
html[data-a24-theme="dark"] .a24fi-card-link {color:#d9e0ff!important;border-color:#566683!important}
/* The OS/browser renders select popup panels independently; force readable native options. */
html[data-a24-theme="dark"] #hero-location option,
html[data-a24-theme="dark"] #hero-location optgroup,
html[data-a24-theme="dark"] .hero-form select option,
html[data-a24-theme="dark"] .hero-form select optgroup,
html[data-a24-theme="dark"] .archive-filter select option,
html[data-a24-theme="dark"] .archive-filter select optgroup,
html[data-a24-theme="dark"] .field select option,
html[data-a24-theme="dark"] .field select optgroup {
  color:#12213b!important;background-color:#fff!important;
}
html[data-a24-theme="dark"] :is(.hero-form select,.archive-filter select,.field select) option:checked {background-color:#dbe8ff!important;color:#14243e!important}
html[data-a24-theme="dark"] :is(.hero-form select,.archive-filter select,.field select) option:disabled {color:#65748d!important}
html[data-a24-theme="dark"] .site-footer :is(.footer-col a,.footer-about p,.footer-trust,.footer-bottom,.footer-bottom a) {color:#d6e0f2}
html[data-a24-theme="dark"] .site-footer .footer-col a:hover {color:#eeffa7}
