/* Chuyen That Co That - Shared side background v20261119-1.
   Approved placement: Asset 3 church LEFT; Asset 4 park/trees RIGHT.
   Two independent image layers outside the 1170px main content column.
   The historical home-only file remains as rollback reference, but is not loaded. */
@media screen and (min-width: 1350px) {
  body.home .home-wrap,
  body:not(.home) .sub-page {
    position: relative;
    isolation: isolate;
    background-color: #fbf1e8;
  }

  body.home .home-wrap::before,
  body.home .home-wrap::after,
  body:not(.home) .sub-page::before,
  body:not(.home) .sub-page::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: max(0px, calc((100% - 1170px) / 2));
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: auto 1400px;
  }

  body.home .home-wrap::before,
  body:not(.home) .sub-page::before {
    left: 0;
    background-image: url("https://chuyenthatcothat.net/wp-content/uploads/2026/11/background-left-church-lossless-20261119.webp");
    background-position: center bottom;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 75%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 75%, transparent 100%);
  }

  body.home .home-wrap::after,
  body:not(.home) .sub-page::after {
    right: 0;
    background-image: url("https://chuyenthatcothat.net/wp-content/uploads/2026/11/background-right-asset4-lossless-20261119.webp");
    background-position: right bottom;
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 75%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, #000 75%, transparent 100%);
  }

  body.home .home-wrap > .container,
  body:not(.home) .sub-page > .container {
    position: relative;
    z-index: 1;
  }
}
/* At narrower widths the 1170px content has no safe side gutters.
   Keep the normal cream background, and do not overlay articles on mobile. */
