/* Interactive 360-degree homepage hero */
.hero::before,
.hero::after {
  display: none;
}

.hero-panorama,
.hero-panorama-shade {
  position: absolute;
  inset: 0;
}

.hero-panorama {
  z-index: 0;
  background: #06100b url('../images/panoramas/cameroon-wall-of-fame-preview-1280.webp') center / cover no-repeat;
  touch-action: pan-y !important;
}

.hero-panorama-shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 4, 3, .9) 0%, rgba(2, 4, 3, .7) 34%, rgba(2, 4, 3, .12) 70%, rgba(2, 4, 3, .18) 100%),
    linear-gradient(0deg, rgba(2, 4, 3, .58), transparent 50%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.hero-actions a {
  pointer-events: auto;
}

.hero-panorama-hint {
  position: absolute;
  z-index: 3;
  right: max(5vw, 20px);
  bottom: 22px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity .35s ease;
}

.hero-panorama-hint.is-hidden {
  opacity: 0;
}

.hero-panorama.pnlm-container,
.hero-panorama .pnlm-render-container,
.hero-panorama canvas {
  width: 100%;
  height: 100%;
}

.hero-panorama .pnlm-about-msg,
.hero-panorama .pnlm-load-box,
.hero-panorama .pnlm-lbox,
.hero-panorama .pnlm-loading {
  display: none !important;
}

.hero-panorama.has-error {
  cursor: default;
}

@media (max-width: 700px) {
  .hero-panorama-hint {
    right: 17px;
    bottom: 14px;
    font-size: .58rem;
  }

  .hero-panorama-shade {
    background:
      linear-gradient(90deg, rgba(2, 4, 3, .86), rgba(2, 4, 3, .28)),
      linear-gradient(0deg, rgba(2, 4, 3, .64), transparent 55%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panorama-hint {
    transition: none;
  }
}
