/* Scientific paper, shared by all pages; the cinema opening keeps its own art. */
body[data-site-atmosphere] {
  --site-atmosphere-art: url('/assets/site-atmosphere-v2/atmosphere-reading.webp');
}
:where([data-site-surface]) {
  position: relative;
  isolation: isolate;
}
body[data-site-atmosphere] gma-atmosphere {
  all: initial;
  display: block;
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background-image: var(--site-atmosphere-art);
  background-position: center top;
  background-size: max(1280px, 100vw) auto;
  background-repeat: repeat-y;
  opacity: .28;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.4), #000 90px, #000 calc(100% - 90px), rgba(0,0,0,.35));
  mask-image: linear-gradient(180deg, rgba(0,0,0,.4), #000 90px, #000 calc(100% - 90px), rgba(0,0,0,.35));
}
body[data-site-atmosphere] [data-site-surface="main"] > gma-atmosphere { opacity: .12; }
body[data-site-atmosphere] .article-page > gma-atmosphere { opacity: .2; }
body[data-site-atmosphere] [data-site-surface="section"] [data-site-surface="section"] > gma-atmosphere { opacity: .14; }
body[data-site-atmosphere] [data-site-tone="dark"] > gma-atmosphere {
  opacity: .075;
  mix-blend-mode: luminosity;
}
body[data-site-atmosphere] .site-footer > gma-atmosphere { opacity: .045; }
body[data-site-atmosphere] .cinema-news {
  background-image: linear-gradient(rgba(22,35,30,.955), rgba(22,35,30,.955)), var(--site-atmosphere-art);
  background-position: center, right center;
  background-size: auto, cover;
}
@media (max-width: 760px) {
  body[data-site-atmosphere] gma-atmosphere {
    background-size: 940px auto;
    background-position: 57% top;
    opacity: .22;
  }
  body[data-site-atmosphere] [data-site-surface="main"] > gma-atmosphere { opacity: .1; }
  body[data-site-atmosphere] .article-page > gma-atmosphere { opacity: .16; }
  body[data-site-atmosphere] [data-site-surface="section"] [data-site-surface="section"] > gma-atmosphere { opacity: .12; }
  body[data-site-atmosphere] [data-site-tone="dark"] > gma-atmosphere { opacity: .055; }
}
