:root {
  --font-size-base: 17px;
}

html,
body {
  font-size: 17px;
}

/* Light mode code blocks */
:root {
  --code-bg: #f1f5f9;
  /* Slate-100 */
}

/* Dark mode code blocks */
[data-theme='dark'],
.dark {
  --code-bg: #1e293b;
  /* Slate-800 */
}

/* Code Syntax Highlight */
div.highlight,
pre.highlight,
.highlight,
.prose pre,
.highlight pre {
  background-color: var(--code-bg) !important;
  border-radius: 0.375rem;
}

article pre {
  max-height: 100%;
  overflow-y: auto;
}

/* --- Header & Footer Cleanup --- */

/* Header Container */
.velamobile-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: hsl(var(--background));
}

.velamobile-header-inner {
  display: flex;
  height: var(--header-height);
  align-items: center;
  gap: 0.5rem;
}

/* Logo & Title */
.velamobile-logo-link {
  display: none;
  height: 2rem;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  padding-left: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  outline: none;
  color: inherit;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .velamobile-logo-link {
    display: flex;
  }
}

.velamobile-logo-link:hover {
  background-color: #f1f5f9;
  /* Slate-100 */
  color: inherit;
  cursor: pointer;
}

.dark .velamobile-logo-link:hover {
  background-color: #1e293b;
  /* Slate-800 */
}

.velamobile-logo-link:focus-visible {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.5);
}

.velamobile-logo-group {
  height: 1.5rem;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.velamobile-logo-img {
  height: 1.5rem;
  width: auto;
  object-fit: contain;
}

.velamobile-site-title {
  padding-right: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Buttons (Menu, Layout, Theme) */
.velamobile-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  outline: none;
  width: 2rem;
  height: 2rem;
}

.velamobile-btn-icon:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.velamobile-btn-icon:hover {
  background-color: #f1f5f9;
  /* Slate-100 */
  color: inherit;
  cursor: pointer;
}

.dark .velamobile-btn-icon:hover {
  background-color: #1e293b;
  /* Slate-800 */
}

.velamobile-btn-icon:focus-visible {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.5);
}

.velamobile-btn-icon svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.velamobile-btn-layout {
  display: none;
}

@media (min-width: 1800px) {
  .velamobile-btn-layout {
    display: flex;
  }
}

.velamobile-btn-menu {
  display: flex;
  padding: 0;
  height: 2rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.625rem;
}

@media (min-width: 1024px) {
  .velamobile-btn-menu {
    display: none;
  }
}

/* Separators */
.velamobile-separator {
  background-color: hsl(var(--border));
  flex-shrink: 0;
  width: 1px;
  height: 100%;
}

.velamobile-separator-hidden-mobile {
  display: none;
  margin-left: 0.5rem;
}

@media (min-width: 1024px) {
  .velamobile-separator-hidden-mobile {
    display: block;
  }
}

.velamobile-separator-3xl {
  display: none;
}

@media (min-width: 1800px) {
  .velamobile-separator-3xl {
    display: flex;
  }
}

/* Footer Semantic Classes */
.velamobile-footer {
  position: relative;
}

.velamobile-footer-content {
  display: flex;
  height: var(--footer-height);
  align-items: center;
  justify-content: space-between;
}

.velamobile-copyright {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  line-height: 2;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 640px) {
  .velamobile-copyright {
    font-size: 0.875rem;
  }
}