/* Deep listings stability fix.
   Keep the listings section on a simple paint/layout path: no 3D, blur, neon,
   image reveal or compositor-heavy effects. */

#listings,
#listings *,
#listings *::before,
#listings *::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  will-change: auto !important;
}

/* Stable keyboard-style replacement for the old glitching heading. */
#listings [data-ai="listings_heading"],
#listings .cp-offers-heading {
  display: inline-block !important;
  min-height: 1.25em;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  -webkit-text-stroke: 0 !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
  font-variant-ligatures: none;
  letter-spacing: .01em;
}

/* A simple blinking caret makes the text look keyboard-typed without GPU-heavy effects. */
#listings .cp-offers-heading.cp-offers-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: .95em;
  margin-left: 4px;
  vertical-align: -.06em;
  background: currentColor;
  animation: cpOffersCaret .68s steps(1, end) infinite !important;
}

#listings .cp-offers-heading.cp-offers-typed::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: .95em;
  margin-left: 4px;
  vertical-align: -.06em;
  background: currentColor;
  opacity: 0;
}

@keyframes cpOffersCaret {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

/* Never let the old neon class re-enable its compositor path. */
#listings .cp-neon-latest {
  transform: none !important;
  filter: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  animation: none !important;
  will-change: auto !important;
}

/* 'Vers geplaatst' remains hidden because this was part of the confirmed glitch area. */
#listings [data-cp-vers-placed-hidden="1"] {
  display: none !important;
}

#listings .listing-card img.cp-luxury-photo-reveal,
#listings .listing-card img {
  animation: none !important;
  filter: none !important;
  transform: none !important;
  will-change: auto !important;
  opacity: 1 !important;
}

#listings {
  isolation: auto !important;
  contain: none !important;
  transform-style: flat !important;
  perspective: none !important;
  overflow: visible;
}
