/* Prevent FOUC – GSAP will reveal via autoAlpha */
.wp-block-fancoolo-hero .alignwide > p,
.wp-block-fancoolo-hero .alignwide > h1,
.wp-block-fancoolo-hero .alignwide > .wp-block-buttons,
.animated-shape path {
  visibility: hidden;
}

/* Button + nav highlight hover – background sweep */
.wp-block-button__link,
.nav-item-hl .wp-block-navigation-item__content,
.ff-btn-submit {
  position: relative;
  overflow: hidden;
}

.btn-sweep {
  position: absolute;
  inset: 0;
  background: var(--wp--preset--color--3);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}


.btn-label {
  position: relative;
  z-index: 1;
  transition: color 0.15s 0.25s;
}

.wp-block-button__link:hover .btn-sweep,
.nav-item-hl .wp-block-navigation-item__content:hover .btn-sweep,
.ff-btn-submit:hover .btn-sweep {
  transform: scaleX(1);
}

.wp-block-button__link:hover .btn-label,
.nav-item-hl .wp-block-navigation-item__content:hover .btn-label {
  color: #ffffff;
}


.ff-btn-submit .btn-sweep {
  background: white;
}

.ff-btn-submit:hover{
  opacity: 1;
}

.ff-btn-submit:hover .btn-label {
  color blue;
}

