/* Modernized Rules pages. Scoped under .modernRulesPage so it never affects other pages that reuse the same
   .card/.card-header/.card-block or .rulesHeading1/.rulesHeading2 classes. */

.modernRulesPage .card {
  border: 1px solid #e2e6f2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.08);
  margin-top: 10px;
  margin-bottom: 24px;
}

.modernRulesPage .card-header {
  background: #f4f6fb;
  border-bottom: 1px solid #e2e6f2;
  padding: 14px 22px;
}

.modernRulesPage .card-header #pageTitle {
  margin: 0;
  font-size: 20px;
}

.modernRulesPage .card-header #pageTitle::before {
  content: "\26F3";
  display: inline-block;
  margin-right: 10px;
}

.modernRulesPage .card-block {
  padding: 22px;
  font-size: 13px;
  line-height: 1.65;
  color: #333;
}

.modernRulesPage .rulesText {
  font-size: 13px;
}

.modernRulesPage .card-block br + br {
  font-size: 75%;
}

.modernRulesPage .rulesHeading1 {
  color: #0b1a67;
  background: #eef1fa;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: 8px;
  margin-top: 18px;
  margin-bottom: 10px;
  margin-left: -6px;
  margin-right: 0;
}

.modernRulesPage .rulesHeading1:first-child {
  margin-top: 0;
}

.modernRulesPage .rulesHeading1::before {
  content: "\23F1";
  margin-right: 8px;
}

.modernRulesPage .rulesHeading1:not(:first-child)::before {
  content: "\1F4CB";
}

.modernRulesPage .rulesHeading2 {
  color: #0b1a67;
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 2px;
}

.modernRulesPage .rulesHeading2 a {
  color: #1c5bc4;
  text-decoration: underline;
}

.modernRulesPage .rulesHeading2 a::after {
  content: "\1F517";
  display: inline-block;
  margin-left: 5px;
  font-size: 0.7em;
  text-decoration: none;
  opacity: 0.6;
}

.modernRulesPage .rulesHeading2 a:hover {
  color: #0b1a67;
}
