/*
 * WCAG contrast safeguards.
 * Loaded after the theme's visual styles so essential text remains readable.
 */

:root {
  --thayu-accessible-text: #212529;
  --thayu-accessible-muted: #4b5563;
  --thayu-accessible-green: #146c43;
}

.site-main {
  color: var(--thayu-accessible-text);
}

.site-main p,
.site-main li,
.site-main dd,
.site-main dt,
.site-main figcaption,
.site-main .card-excerpt,
.site-main .card-excerpt p,
.site-main .card-location-line,
.site-main .card-date,
.site-main .card-stats span {
  color: var(--thayu-accessible-text);
}

.load-more-wrap {
  color: var(--thayu-accessible-text);
}

.load-more-status,
.load-more-status[data-load-more-status] {
  color: var(--thayu-accessible-muted) !important;
  font-weight: 700;
  opacity: 1 !important;
}

.load-more-status[aria-live],
.load-more-status.is-loading,
.load-more-status.is-complete,
.load-more-status.is-error {
  color: var(--thayu-accessible-text) !important;
}

.section-heading a:not(.thayu-button),
.site-main a:not(.thayu-button):not(.card-link):not(.card-overlay-link) {
  color: var(--thayu-accessible-green);
}

.site-main ::placeholder {
  color: #5f6b65;
  opacity: 1;
}

@media (forced-colors: active) {
  .load-more-status,
  .site-main {
    color: CanvasText !important;
  }
}
