#portal-page-visual-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 40;
  pointer-events: none;
}

#portal-page-visual-layer .pvis-visual-el {
  position: absolute;
  pointer-events: none;
}

#portal-page-visual-layer .pvis-visual-el img {
  width: 100%;
  height: auto;
  display: block;
}

#portal-page-visual-layer .pvis-visual-text {
  color: rgba(235, 235, 240, 0.96);
  font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

body.portal-pvis-bg-active::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: var(--portal-pvis-bg-image);
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

body.portal-pvis-bg-active::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, var(--portal-pvis-bg-overlay, 0.52));
  pointer-events: none;
}

body.portal-pvis-replace-content main,
body.portal-pvis-replace-content .hero-content,
body.portal-pvis-replace-content .qse-legacy-main {
  visibility: hidden !important;
  pointer-events: none !important;
}
