/* CP314: make the mobile hero artwork genuinely edge-to-edge and add a quiet,
   GPU-only light sweep that respects reduced-motion preferences. */
@media (max-width: 768px) {
  body.pg-page-home .pg-home-mobile > .pgm-hero-art {
    position: relative !important;
    isolation: isolate;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: calc(50% - 50vw) !important;
    height: clamp(160px, 42vw, 190px) !important;
    min-height: 160px !important;
    max-height: 190px !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(16, 156, 255, 0.28);
    border-bottom: 1px solid rgba(195, 210, 227, 0.1);
    background: #071522;
  }

  body.pg-page-home .pg-home-mobile > .pgm-hero-art > .pgm-hero-picture,
  body.pg-page-home .pg-home-mobile > .pgm-hero-art > .pgm-hero-picture > .pgm-hero-image {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
  }

  body.pg-page-home .pg-home-mobile > .pgm-hero-art > .pgm-hero-picture > .pgm-hero-image {
    object-fit: cover !important;
    object-position: center 52% !important;
  }

  body.pg-page-home .pg-home-mobile > .pgm-hero-art::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse at 0% 52%, rgba(16, 156, 255, 0.46), transparent 35%),
      radial-gradient(ellipse at 100% 48%, rgba(255, 22, 60, 0.22), transparent 34%);
    mix-blend-mode: screen;
    opacity: 0.24;
    animation: pg314-hero-edge-light 7s ease-in-out infinite alternate;
  }
}

@keyframes pg314-hero-edge-light {
  from { opacity: 0.18; transform: translateX(-1%) scale(1); }
  to { opacity: 0.42; transform: translateX(1%) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  body.pg-page-home .pg-home-mobile > .pgm-hero-art::after {
    animation: none !important;
    opacity: 0.24;
    transform: none;
  }
}
