body:not(.home) {
  background: #f0f5ff;
  overflow-x: clip;
}

body:not(.home) .site-main.site-main--inner {
  position: relative;
  z-index: 2;
  display: flow-root;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 48px;
  background: transparent;
}

body:not(.home) .site-main--inner > .entry {
  position: relative;
  width: min(100% - 2.4rem, var(--content-max-width));
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  background: transparent;
}

body:not(.home) .site-main--inner > .entry::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #fff;
}

body:not(.home) .site-main--inner .entry-content > p:empty {
  display: none;
  margin: 0;
}

@media (max-width: 1023px) {
  body:not(.home) .site-main--inner .entry-content > :last-child:not(p),
  body:not(.home) .site-main--inner .entry-content > *:has(+ p:empty:last-child) {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  body:not(.home) .site-main.site-main--inner {
    padding-bottom: 80px;
  }
}

@media (min-width: 1024px) {
  body:not(.home) .site-main.site-main--inner {
    padding-bottom: 0;
  }

  body:not(.home) .site-main--inner > .entry {
    padding-bottom: var(--artek-content-footer-clearance);
  }

  body:not(.home) .site-main--inner > .entry .entry-content > :last-child:not(p),
  body:not(.home) .site-main--inner > .entry .entry-content > *:has(+ p:empty:last-child) {
    margin-bottom: var(--artek-content-footer-gap);
  }

  body:not(.home) .site-main--inner > .entry::before {
    background: linear-gradient(
      180deg,
      #ffffff 0%,
      #ffffff calc(100% - 200px),
      #d1e4ff 100%
    );
  }

  body:not(.home) .artek-footer {
    z-index: 3;
  }
}
