/* Фон сайта (virus_bg, 2026-11-17). Откат: убрать подключение этого файла и site-background.js из HTML. */
body{position:relative;z-index:0;background:#080808}

/* Видео-фон: слой ниже постера и контента, создаётся в site-background.js */
.site-bg-video{position:fixed;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 50%;pointer-events:none;background:#080808}

/* Постер грузится сразу и остаётся фоном до первого кадра видео / без JS */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(rgba(8,8,8,.52),rgba(8,8,8,.52)),url('/assets/images/bg-virus-poster.webp') center/cover no-repeat}
html.has-bg-video body::before{background:linear-gradient(rgba(8,8,8,.52),rgba(8,8,8,.52))}

.hero,.page-hero,.article-hero,.about-hero{background:transparent}
@media(max-width:767px){
  body::before{background:linear-gradient(rgba(8,8,8,.55),rgba(8,8,8,.55)),url('/assets/images/bg-virus-poster-mobile.webp') 68% center/cover no-repeat}
  html.has-bg-video body::before{background:linear-gradient(rgba(8,8,8,.55),rgba(8,8,8,.55))}
  .site-bg-video{object-position:68% 50%}
}
