/* Content pages in the new design: rules, policies, coins (body.content-page,
   on top of wiki-local.css) and referral landings (body.ref-page).
   Colours, fonts and the panel follow the knowledge base pages. */

/* ---------- text pages ---------- */
.content-page [data-section="wiki"].content-static {
  padding-bottom: 40px;
}
.content-page .content-static .wiki {
  max-width: 1000px;
}
.content-page .content-static .wiki__heading {
  margin-top: 16px;
}
.content-page .content-static .wiki__heading .heading__title {
  font-size: 44px;
  line-height: 1.15;
  white-space: normal;
  text-wrap: balance;
}
.content-static__body {
  position: relative;
  padding: 34px 44px;
  background: rgba(20, 20, 19, 0.72);
  border-top: 1px solid #b6a16b33;
  border-bottom: 1px solid #b6a16b33;
  color: #c9c6be;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.content-static__body:before,
.content-static__body:after {
  content: "";
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid #c9ad77;
  background: #161a20;
  transform: translateX(-50%) rotate(45deg);
}
.content-static__body:before {
  top: -5px;
}
.content-static__body:after {
  bottom: -5px;
}
html body .content-static__body,
html body .content-static__body * {
  font-family: "Intro Book", Arial, sans-serif !important;
}
.content-static__body section,
.content-static__body div {
  max-width: 100%;
}
.content-static__body p {
  margin: 0 0 14px;
}
.content-static__body p:last-child {
  margin-bottom: 0;
}
.content-static__body b,
.content-static__body strong {
  color: #e5d7b7;
  font-weight: 600;
}
.content-static__body a {
  color: #dfc683;
  text-decoration: none;
  border-bottom: 1px solid #dfc68340;
}
.content-static__body a:hover {
  color: #f3e1b0;
  border-bottom-color: #f3e1b0;
}
.content-static__body h1,
.content-static__body h2,
.content-static__body h3,
.content-static__body h4 {
  margin: 26px 0 12px;
  color: #e5d7b7;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
html body .content-static__body h1,
html body .content-static__body h2,
html body .content-static__body h3,
html body .content-static__body h4 {
  font-family: "Forum", Georgia, serif !important;
}
.content-static__body h2 {
  font-size: 24px;
}
.content-static__body h3 {
  font-size: 20px;
}
.content-static__body ul,
.content-static__body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.content-static__body li {
  margin: 0 0 6px;
}
.content-static__body li::marker {
  color: #b19a64;
}
.content-static__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 2px;
}
.content-static__body table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.4;
}
.content-static__body thead td,
.content-static__body thead th,
.content-static__body th {
  color: #e0c687;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: left;
  background: linear-gradient(90deg, rgba(165, 149, 109, 0.2), rgba(165, 149, 109, 0.06));
}
.content-static__body td,
.content-static__body th {
  padding: 10px 12px;
  border-bottom: 1px solid #c7c1ad1f;
}
.content-static__body tbody tr:hover td {
  background: rgba(165, 149, 109, 0.06);
}

/* ---------- referral landings ---------- */
.ref-page {
  background: #0d0f11;
}
.ref-page .page {
  min-height: 0;
}
.ref-page [data-section="influencer"] {
  padding-top: 0;
}

/* ---------- footer (all content pages) ---------- */
.content-footer {
  position: relative;
  z-index: 2;
  padding: 26px 30px 30px;
  background: #0d0f11;
  border-top: 1px solid #b6a16b26;
}
.content-footer__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 30px;
}
html body .content-footer,
html body .content-footer * {
  font-family: "Intro Book", Arial, sans-serif !important;
}
.content-footer__studio {
  position: static;
  display: block;
  width: 150px;
  opacity: 0.35;
  filter: sepia(0.7);
  transition: opacity 0.2s, filter 0.2s;
}
.content-footer__studio:hover {
  opacity: 0.85;
  filter: sepia(0.2) brightness(1.2);
}
.content-footer__studio img {
  display: block;
  width: 100%;
  height: auto;
}
.content-footer__copyright {
  font-size: 13px;
  color: #a2a2a5;
  letter-spacing: 0.035em;
  margin-bottom: 4px;
}
.content-footer__legal p {
  margin: 0 0 6px;
  font-size: 10px;
  color: #626977;
}
.content-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.content-footer__legal a {
  font-size: 10px;
  color: #b19a64;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.content-footer__legal a:hover {
  color: #e2ca95;
}
.content-footer__company {
  font-size: 11px;
  line-height: 1.6;
  color: #7d808a;
  text-align: right;
  max-width: 360px;
}

/* ---------- phones and tablets ---------- */
@media (max-width: 1100px) {
  .content-page .content-static .wiki__heading .heading__title {
    font-size: 30px;
  }
  .content-static__body {
    padding: 22px 18px;
    font-size: 15px;
  }
  .content-static__body table {
    display: block;
    overflow-x: auto;
    font-size: 13px;
  }
  .content-static__body td,
  .content-static__body th {
    padding: 8px;
    white-space: nowrap;
  }
  .content-footer {
    padding: 22px 16px 26px;
  }
  .content-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 14px;
  }
  .content-footer__studio {
    width: 110px;
  }
  .content-footer__legal nav {
    justify-content: center;
  }
  .content-footer__company {
    text-align: center;
    max-width: 320px;
  }
}

/* headings inside the admin texts (e.g. coins): normal case, calmer size */
html body .content-static__body h1,
html body .content-static__body h2,
html body .content-static__body h3,
html body .content-static__body h4 {
  text-transform: none !important;
  letter-spacing: 0.02em;
}
.content-static__body h3 {
  font-size: 19px;
  line-height: 1.45;
}
@media (max-width: 1100px) {
  .content-static__body h2 {
    font-size: 20px;
  }
  .content-static__body h3 {
    font-size: 16px;
  }
}
