
html {
  font-size: 14px;
}

html[data-theme='light'] {
  --body-bg: #eee;
  --body-text: #111;
  --sidebar-bg: #ddd;
  --sidebar-text: #222;
  --topbar-bg: #ccc;
  --link:  #0284c7;
  --link-hover:  #0284c7;
  --admonish-bg: #ddd;
}

html, html[data-theme='dark'] {
  --body-bg: #111;
  --body-text: #bbb;
  --sidebar-bg: #222;
  --sidebar-text: #aaa;
  --topbar-bg: #333;
  --link: #2563eb;
  --link-hover: #2563eb;
  --admonish-bg: #222;
}

.main-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  margin-left: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  background-color: #34465d;
  border: 1px solid #34465d;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;

  &:hover {
    color: #ffffff;
    background-color: #273649; /* Чуть темнее при наведении */
    border-color: #273649;
  }
}
