/* ==========================================================
   ELXVRO V19.6 — EDGE COSMOS / ALL PUBLIC PAGES
   Fixes V18.2 non-home selector specificity so the new
   background is applied on every public page, not only home.
   No positioning/z-index changes: no layout shift.
   ========================================================== */

html,
body{
  background-color:#08050f!important;
  max-width:100%;
}

html{
  overflow-x:hidden;
}

/*
 * V18.2 uses body.site-body:not(.elxvro-home-v18-body) with
 * !important background declarations. Match that specificity
 * explicitly so this newer background wins on inner pages too.
 */
body.site-body.elxvro-home-v18-body,
body.site-body:not(.elxvro-home-v18-body){
  background-color:#08050f!important;
  background-image:
    linear-gradient(90deg,
      rgba(8,5,15,0) 0%,
      rgba(8,5,15,.12) 9%,
      rgba(8,5,15,.62) 19%,
      #08050f 28%,
      #08050f 72%,
      rgba(8,5,15,.62) 81%,
      rgba(8,5,15,.12) 91%,
      rgba(8,5,15,0) 100%
    ),
    url('../img/elxvro-edge-cosmos-v19-4.webp')!important;
  background-repeat:no-repeat,no-repeat!important;
  background-position:center top,center top!important;
  background-size:100% 100%,cover!important;
  background-attachment:fixed,fixed!important;
  overflow-x:hidden!important;
}

/* Kill older decorative body layers from V14/V18.2. */
body.site-body.elxvro-home-v18-body::before,
body.site-body.elxvro-home-v18-body::after,
body.site-body:not(.elxvro-home-v18-body)::before,
body.site-body:not(.elxvro-home-v18-body)::after{
  content:none!important;
  display:none!important;
  background:none!important;
}

@media (max-width:1180px){
  body.site-body.elxvro-home-v18-body,
  body.site-body:not(.elxvro-home-v18-body){
    background-image:
      linear-gradient(90deg,
        rgba(8,5,15,.08) 0%,
        rgba(8,5,15,.55) 14%,
        #08050f 24%,
        #08050f 76%,
        rgba(8,5,15,.55) 86%,
        rgba(8,5,15,.08) 100%
      ),
      url('../img/elxvro-edge-cosmos-v19-4.webp')!important;
  }
}

@media (max-width:680px){
  body.site-body.elxvro-home-v18-body,
  body.site-body:not(.elxvro-home-v18-body){
    background-image:
      linear-gradient(90deg,
        rgba(8,5,15,.30) 0%,
        #08050f 18%,
        #08050f 82%,
        rgba(8,5,15,.30) 100%
      ),
      url('../img/elxvro-edge-cosmos-v19-4.webp')!important;
    background-attachment:scroll,scroll!important;
  }
}
