/* Island Legacy Fiji: targeted dark-mode contrast fixes.
   Based on the 2026-11-11 consolidated project package.
   No layout, route, CMS, database, or functional changes. */

/* Resources: the legacy panel uses a pale background with light dark-mode text. */
html[data-theme="dark"] .resource-notice {
  background: #243a2d !important;
  border-color: rgba(238,244,239,.22) !important;
  color: #edf4ef !important;
}
html[data-theme="dark"] .resource-notice strong {
  color: #f5faf6 !important;
}
html[data-theme="dark"] .resource-notice p {
  color: #d0ded3 !important;
}
html[data-theme="dark"] .resource-notice > span {
  color: #9bcee0 !important;
}

/* Education: the programme callout also retains a pale light-mode fill. */
html[data-theme="dark"] .programme-origin {
  background: #243a2d !important;
  border: 1px solid rgba(238,244,239,.22) !important;
}
html[data-theme="dark"] .programme-origin strong {
  color: #a6d6e5 !important;
}
html[data-theme="dark"] .programme-origin p,
html[data-theme="dark"] .content-card .programme-origin p {
  color: #d0ded3 !important;
}

/* Mobile navigation: prevent pale sign-in button + near-white text. */
html[data-theme="dark"] .mobile-menu .mobile-account-link,
html[data-theme="dark"] .mobile-account-link {
  background: #294432 !important;
  border-color: rgba(238,244,239,.32) !important;
  color: #f5faf6 !important;
}
html[data-theme="dark"] .mobile-account-link:hover,
html[data-theme="dark"] .mobile-account-link:focus-visible {
  background: #35563e !important;
}
