/*
 * Article tables (2 Nov 2026): tables in article bodies without a design class get the site's comparison-table look
 * (3px frame, gold header row, a line under every row). Owner: "the table does not have lines … make the tables have lines
 * the kind that fit the overall design of the website". The theme's script adds lp-table-cols-N classes, so the selector
 * excludes only the designed tables.
 */
.article-body table:not(.comparison-table):not(.pros-cons-table):not(.lp-fit-table):not(.lp-bookmaker-table) {
  width: 100%;
  border: 3px solid hsl(var(--border));
  border-collapse: collapse;
}
.article-body table:not(.comparison-table):not(.pros-cons-table):not(.lp-fit-table):not(.lp-bookmaker-table) thead tr {
  background-color: hsl(var(--secondary));
}
.article-body table:not(.comparison-table):not(.pros-cons-table):not(.lp-fit-table):not(.lp-bookmaker-table) th {
  padding: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  border-bottom: 3px solid hsl(var(--border));
  text-align: center;
}
.article-body table:not(.comparison-table):not(.pros-cons-table):not(.lp-fit-table):not(.lp-bookmaker-table) th:first-child {
  text-align: left;
}
.article-body table:not(.comparison-table):not(.pros-cons-table):not(.lp-fit-table):not(.lp-bookmaker-table) td {
  padding: 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid hsl(var(--border));
  text-align: center;
  color: hsl(var(--foreground));
}
.article-body table:not(.comparison-table):not(.pros-cons-table):not(.lp-fit-table):not(.lp-bookmaker-table) td:first-child {
  text-align: left;
  font-weight: 700;
}
.article-body table:not(.comparison-table):not(.pros-cons-table):not(.lp-fit-table):not(.lp-bookmaker-table) tbody tr:hover {
  background-color: hsl(var(--secondary) / 0.5);
}
@media (max-width: 767px) {
  .article-body table:not(.comparison-table):not(.pros-cons-table):not(.lp-fit-table):not(.lp-bookmaker-table) th,
  .article-body table:not(.comparison-table):not(.pros-cons-table):not(.lp-fit-table):not(.lp-bookmaker-table) td {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
}

/* Plain lp-fit-table tables (fixed column widths, no lines): add the same frame, header and row lines, keep their own layout. */
.article-body table.lp-fit-table:not(.pros-cons-table) {
  border: 3px solid hsl(var(--border));
  border-collapse: collapse;
}
.article-body table.lp-fit-table:not(.pros-cons-table) thead tr {
  background-color: hsl(var(--secondary));
}
.article-body table.lp-fit-table:not(.pros-cons-table) th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  border-bottom: 3px solid hsl(var(--border));
}
.article-body table.lp-fit-table:not(.pros-cons-table) td {
  font-size: 0.875rem;
  border-bottom: 1px solid hsl(var(--border));
}
.article-body table.lp-fit-table:not(.pros-cons-table) td:first-child {
  font-weight: 700;
}
