:root {
  --color-primary: #336699;
  --color-primary-hover: #264d73;
  --color-border: #993366;
  --color-primary-dark: #66b3ff;
  --color-border-dark: #f075b3;
  --color-background-dark: #0f1115;
  --color-background-pre-dark: #17181c;
  --color-background-toc-dark: #17181c;
  --font-size-base: 18px;
  --content-max-width: 1000px;
}

hr,
footer {
  border-top-style: solid;
  border-block-start-style: solid;
  border-top-width: 1px;
  border-block-start-width: 1px;
}

.footer-info {
  font-size: 0.8rem;
}

.highlight pre code[class*="language-elixir"]::before,
.highlight pre code[class*="language-exs"]::before {
  content: "elixir";
  background: #4b275f;
  color: #ffffff;
}

#dark-mode-toggle[data-theme]::after {
  content: attr(data-theme);
  margin-inline-start: 0.4em;
  font-size: 0.85em;
  text-transform: capitalize;
  vertical-align: middle;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1;
}

.site-logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  flex-shrink: 0;
}

.callout {
  position: relative;
}

.callout-avatar {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  z-index: 1;
}

.title h1 { font-size: 2rem; }
h1         { font-size: 1.75rem; }
h2         { font-size: 1.4rem; }
h3         { font-size: 1.2rem; }
h4         { font-size: 1.05rem; }
h5         { font-size: 1rem; }
h6         { font-size: 0.95rem; }

h1, h2, h3, h4, h5, h6,
.title h1 {
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
}

h1::before, h2::before, h3::before,
h4::before, h5::before, h6::before {
  font-family: 'Roboto Mono', 'Courier New', monospace;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-start: 2rem;
  padding: 0;
  list-style: none;
}

.pagination .page-item {
  display: flex;
  align-items: center;
}

.pagination .page-next {
  margin-inline-start: auto;
}
