/*
 * Article table contrast lock.
 * Keep article tables readable even when legacy global table rules use a dark theme.
 */
body.insight-article-page .insight-article-content .insight-evidence-table {
  color-scheme: light !important;
  border-color: #c9d7ea !important;
  background: #ffffff !important;
  box-shadow: 0 18px 42px rgba(11, 23, 50, .08) !important;
}

body.insight-article-page .insight-article-content .insight-evidence-table th {
  color: #ffffff !important;
  background: #0b1732 !important;
  border-color: #31405d !important;
  font-weight: 800 !important;
}

body.insight-article-page .insight-article-content .insight-evidence-table td {
  color: #263653 !important;
  background: #ffffff !important;
  border-color: #d7e1ef !important;
  font-weight: 500 !important;
}

body.insight-article-page .insight-article-content .insight-evidence-table tbody tr:nth-child(even) td {
  background: #f2f7ff !important;
}

body.insight-article-page .insight-article-content .insight-evidence-table td:first-child {
  color: #0b1732 !important;
  font-weight: 800 !important;
}

body.insight-article-page .insight-article-content .insight-evidence-table tbody tr:hover td {
  background: #e8f1ff !important;
}

@media (max-width: 620px) {
  body.insight-article-page .insight-article-content .insight-evidence-table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.insight-article-page .insight-article-content .insight-evidence-table thead,
  body.insight-article-page .insight-article-content .insight-evidence-table tbody {
    display: table;
    width: 680px;
    table-layout: fixed;
  }

  body.insight-article-page .insight-article-content .insight-evidence-table th:first-child,
  body.insight-article-page .insight-article-content .insight-evidence-table td:first-child {
    width: 26%;
  }

  body.insight-article-page .insight-article-content .insight-evidence-table th,
  body.insight-article-page .insight-article-content .insight-evidence-table td {
    padding: 14px !important;
    font-size: .78rem !important;
    line-height: 1.55 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.insight-article-page .insight-article-content .insight-evidence-table tbody tr:hover td {
    transition: none !important;
  }
}
