/* Global reset */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  background: var(--sysbasic-light);
}

/* Anchor offset */
[id] {
  scroll-margin-top: 100px;
}

/* Remove Olivero page backgrounds and spacing */
.page-wrapper,
#page,
.layout-container,
.layout-main-wrapper,
.layout-main,
.main-content,
.main-content__container,
.region--content,
.dialog-off-canvas-main-canvas {
  max-width: none !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove top space before content */
.layout-main-wrapper,
.main-content,
.main-content__container,
.region--content,
.node,
.node__content,
.field--name-body,
.field--name-body .field__item {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Hide default page title and breadcrumb */
.block-page-title-block,
.region--breadcrumb,
.breadcrumb,
.node__meta,
.node__top-wrapper,
.node__header,
.node__title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove Olivero text/content width limits */
.node,
.node__content,
.field--name-body,
.field--name-body .field__item,
.text-content,
.cke_editable {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}