/* The newspaperop and newspaper share one perspective, only in this page's opening. */
.content-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 36px;
}
.content-hero::before,
.content-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.content-hero::before {
  inset: -5px;
  background: url("assets/methodology-table-sketch.webp") center bottom / cover no-repeat;
  opacity: .28;
  filter: grayscale(1) invert(1) blur(1.2px);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, #000 83%, transparent);
  mask-image: linear-gradient(180deg, #000 83%, transparent);
}
.content-hero::after {
  inset: 0;
  background: url("assets/noise.png") repeat;
  mix-blend-mode: soft-light;
  opacity: .08;
}
.content-hero .page-hero { position: relative; min-height: 620px; }
.content-hero .page-hero-copy { position: relative; z-index: 1; }
.content-newspaper {
  --newspaper-offset: clamp(30px, 3vw, 48px);
  position: relative;
  min-width: 0;
  pointer-events: none;
  transform: translate3d(var(--newspaper-x, 0px), calc(var(--newspaper-offset) + var(--newspaper-y, 0px)), 0) rotate(var(--newspaper-angle, 0deg));
}
.content-newspaper img {
  display: block;
  width: 118%;
  max-width: none;
  height: auto;
  margin-left: -10%;
  opacity: .78;
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}
:root[data-theme="light"] .content-hero::before {
  opacity: .4;
  filter: grayscale(1) blur(1.2px);
  mix-blend-mode: multiply;
}
:root[data-theme="light"] .content-hero::after { mix-blend-mode: multiply; opacity: .035; }
:root[data-theme="light"] .content-newspaper img { filter: none; mix-blend-mode: multiply; }
@media (max-width: 1050px) {
  .content-hero .page-hero { min-height: 500px; }
  .content-newspaper img { width: 112%; margin-left: -6%; }
}
@media (max-width: 680px) {
  .content-hero { margin-bottom: 16px; }
  .content-hero::before { background-size: auto 600px; background-position: 60% bottom; }
  .content-hero .page-hero { min-height: 0; gap: 34px; padding-bottom: 55px; }
  .content-newspaper { --newspaper-offset: 0px; width: 100%; justify-self: center; transform: none; }
  .content-newspaper img { width: 108%; margin-left: -4%; }
}
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .content-newspaper { transform: translateY(var(--newspaper-offset)); }
}
