/*
 * Sticky header for the Breakdance header template (section 143-115).
 * The header was position:absolute over the hero; it is now fixed to the viewport.
 * The scrolled background lives on ::before so no filter/transform is applied to the
 * header itself (that would trap Breakdance's full-screen mobile menu inside it).
 */
.bde-section-143-115 {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999 !important;
}

body.admin-bar .bde-section-143-115 {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .bde-section-143-115 {
    top: 46px;
  }
}

.bde-section-143-115::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bde-section-143-115.pw-header-stuck::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .bde-section-143-115::before {
    transition: none;
  }
}
