@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
:root {
  --rlt-primary-color: #0c4fde;
  --rlt-secondary-color: rgba(0, 0, 0, .85);
  --rlt-tertiary-color: rgba(0, 0, 0, .75);
  --rlt-border-color: #ebf2f5;
  --rlt-base-color: #fff;
  --rlt-alert-bg: #e5f3ff;
  --rlt-alert-color: rgba(0, 0, 0, .75);
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  counter-reset: section;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--rlt-tertiary-color);
  background-color: var(--rlt-base-color);
}

p {
  font-weight: 400;
}

code {
  background-color: #f5f0eb;
  padding: 0.1rem 0.25rem;
  border-radius: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a:not([class]) {
  -webkit-padding-after: 1px;
          padding-block-end: 1px;
  border-bottom: 2px solid var(--rlt-border-color);
  color: var(--rlt-primary-color);
  text-decoration: none;
  transition: all 0.2s;
}

a:not([class]):hover {
  border-color: var(--rlt-primary-color);
}

h1, h2, h3, h4, h5, h6 {
  position: relative;
  margin: 0;
  -webkit-margin-after: 1rem;
          margin-block-end: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--rlt-secondary-color);
}

h2:focus,
h3:focus {
  outline: none;
}

h1, h2, h3 {
  border-radius: 8px;
  background-color: #ebedf5;
  padding: 10px 20px;
}

h1 {
  display: inline-block;
  font-size: clamp(1.5rem, 1.2273rem + 1.3636vw, 2.25rem);
}

h2 {
  --rlt-fluid-spacer: 3em;
  counter-reset: subsection;
  counter-increment: section;
  -webkit-margin-after: 2rem;
          margin-block-end: 2rem;
  font-size: clamp(1.125rem, 0.8977rem + 1.1364vw, 1.75rem);
}

h2::before {
  content: counter(section) ". ";
}

h3 {
  --rlt-fluid-spacer: clamp(1.875rem, 5.9016vw + .4365rem, 4.125rem);
  counter-increment: subsection;
  font-size: 1.125rem;
}

h3::before {
  content: counter(section) "." counter(subsection) ". ";
  display: inline-block;
  margin-right: 10px;
}

h4 {
  --rlt-fluid-spacer: 2em;
  counter-increment: subsubsection;
  font-size: 1rem;
  text-transform: uppercase;
}

h4::before {
  content: counter(section) "." counter(subsection) ". " counter(subsubsection) ".";
  display: inline-block;
  margin-right: 10px;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 1rem;
}

h1 + h2 {
  --rlt-fluid-spacer: 1em;
}

h2 + h3 {
  --rlt-fluid-spacer: 0;
}

ul li,
ol li {
  margin: 0.5em 0;
}

aside {
  padding-block: 1rem;
  padding-inline: 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  color: var(--rlt-alert-color);
  background-color: var(--rlt-alert-bg);
}

.rlt-sidebar {
  display: none;
  position: fixed;
  inset: 0;
  inset-inline-end: auto;
  inline-size: 300px;
  -webkit-border-end: 1px solid rgba(0, 0, 0, 0.05);
          border-inline-end: 1px solid rgba(0, 0, 0, 0.05);
  background: #fbfaf9;
  overflow: auto;
}
@media (min-width: 760px) {
  .rlt-sidebar {
    display: block;
  }
}

.rlt-content {
  --rlt-content-padding: 1.5rem;
  max-inline-size: 720px;
  padding-block: var(--rlt-content-padding);
  -webkit-margin-end: var(--rlt-content-padding);
          margin-inline-end: var(--rlt-content-padding);
  -webkit-margin-start: var(--rlt-content-padding);
          margin-inline-start: var(--rlt-content-padding);
}
@media (min-width: 760px) {
  .rlt-content {
    -webkit-margin-start: calc(300px + var(--rlt-content-padding));
            margin-inline-start: calc(300px + var(--rlt-content-padding));
  }
}

.rlt-content > * + * {
  -webkit-margin-before: var(--rlt-fluid-spacer, 1em);
          margin-block-start: var(--rlt-fluid-spacer, 1em);
}

.toc-list {
  padding-left: 1rem;
}

.toc-link.node-name--H2 {
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
}

.toc-link.node-name--H3 {
  font-weight: 400;
  text-decoration: none;
  font-size: 14px;
}

.is-active-link::before {
  background-color: #565eff;
}

.rlt-gallery {
  display: flex;
  gap: 1rem 1rem;
  flex-wrap: wrap;
}
.rlt-gallery li {
  border-radius: 8px;
  margin: 0;
}
.rlt-gallery img {
  max-width: 250px;
  max-height: 250px;
  -o-object-fit: contain;
     object-fit: contain;
}

ul.rlt-gallery {
  list-style: none;
}

ol.rlt-gallery {
  counter-reset: item;
}

ol.rlt-gallery li {
  list-style: none;
  counter-increment: item;
}

ol.rlt-gallery li::after {
  content: "Picture " counter(item) ". ";
  font-size: 14px;
  padding-left: 0.75rem;
}

.rlt-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 14px;
}

.rlt-table th,
.rlt-table td {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
}

.rlt-table th {
  font-weight: 600;
  background-color: #f9fafb;
}

.rlt-table tbody tr:nth-child(even) {
  background-color: #fcfcfd;
}