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

html {
  scroll-behavior: smooth;
  overflow-y: auto;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--color-surface-secondary);
  color: var(--color-text-primary);
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   STICKY SIDEBAR FIX – kill any parent overflow that prevents sticky
   ========================================================================== */
html,
body,
#page,
.site,
.site-main,
.datochai-container,
.layout-wrapper,
.datochai-pillar-wrapper,
main {
  overflow: visible !important;
}

