.rules-hero {
  background: linear-gradient(180deg, #ef3340 0%, #d40c1a 46%, #a80914 100%);
  color: var(--paper-50);
}

.rules-hero .case-hero__eyebrow {
  color: var(--paper-50);
}

.rules-hero__motif {
  color: var(--paper-50);
  opacity: .16;
}

.rules-toc__annex a::before {
  min-width: 1ch;
}

.rules-chapter h3 {
  margin: 32px 0 16px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.01em;
  line-height: 1.45;
}

.rules-intro {
  font-weight: 550;
}

.rules-table-wrap {
  margin: 24px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--paper-300);
}

.rules-table-wrap:focus-visible {
  outline: 3px solid var(--red-500);
  outline-offset: 3px;
}

.rules-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.rules-table th,
.rules-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--paper-300);
  vertical-align: top;
  overflow-wrap: break-word;
}

.rules-table th {
  background: var(--ink-950);
  color: var(--paper-50);
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.rules-table tbody tr:nth-child(even) {
  background: var(--paper-100);
}

.rules-table tbody tr:last-child td {
  border-bottom: 0;
}

.rules-table td:nth-child(2) {
  font-weight: 650;
}

.rules-table .rules-table__total td {
  background: var(--paper-200);
  font-weight: 800;
}

.rules-calibration {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  padding-left: 24px;
}

.rules-calibration li {
  padding-left: 4px;
}

.rules-calibration strong {
  color: var(--red-700);
}

@media (max-width: 559px) {
  .rules-table {
    font-size: 13px;
  }

  .rules-table th,
  .rules-table td {
    padding: 10px;
  }
}
