.is-style-hero-cta-large .wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  font-size: 18px;
  color: white;                       
  border: 1px solid transparent;
  border-radius: 100px;               
  overflow: hidden;
  z-index: 0;
  background: var(--wp--preset--color--blue-main) !important;
  background-clip: padding-box, border-box;
}


.is-style-hero-cta-large .wp-block-button__link::before {
  content: "";
  position: absolute;
  inset: 0;                            
  border-radius: inherit;
  background: black; 
  z-index: -1;                        
  transform: translateX(-110%);
  transform-origin: center;            
  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
  will-change: transform; 
}

.is-style-hero-cta-large .wp-block-button__link:hover::before {
  transform: translateX(0);
  background-image: none;
  background: var(--wp--preset--color--dark-black) !important;     
}

.is-style-hero-cta-large .wp-block-button__link:hover {
  color: var(--wp--preset--color--white);                       
 border: 1px solid var(--wp--preset--color--dark-black);
  border-image: none;
}

.is-style-hero-cta-large .wp-block-button__link::after {
  content: "";
  width: 17px;
  height: 17px;
  background: white;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 17 18"><path d="M17 15.9036C17 16.686 16.3657 17.3203 15.5833 17.3203C14.8009 17.3203 14.1667 16.686 14.1667 15.9036V5.1569L2.41829 16.9053C1.86505 17.4585 0.968282 17.4585 0.415039 16.9053C-0.138204 16.352 -0.138204 15.4553 0.415039 14.902L12.1634 3.15365H1.41667C0.634263 3.15365 0 2.51938 0 1.73698C0 0.954576 0.634263 0.320312 1.41667 0.320312H15.5833C16.3657 0.320312 17 0.954576 17 1.73698V15.9036Z"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 17 18"><path d="M17 15.9036C17 16.686 16.3657 17.3203 15.5833 17.3203C14.8009 17.3203 14.1667 16.686 14.1667 15.9036V5.1569L2.41829 16.9053C1.86505 17.4585 0.968282 17.4585 0.415039 16.9053C-0.138204 16.352 -0.138204 15.4553 0.415039 14.902L12.1634 3.15365H1.41667C0.634263 3.15365 0 2.51938 0 1.73698C0 0.954576 0.634263 0.320312 1.41667 0.320312H15.5833C16.3657 0.320312 17 0.954576 17 1.73698V15.9036Z"/></svg>') no-repeat center;
  background-size: contain;
  -webkit-mask-size: contain;
  mask-size: contain;
  position: relative;
  z-index: 1;
  transition: background 260ms ease;
}



/* hero cta medium  */

.is-style-hero-cta-medium .wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  gap: .625rem;
  font-size: 16px;
  color: white;                       
  border: 1px solid transparent;
  border-radius: 100px;               
  overflow: hidden;
  z-index: 0;
  background:var(--wp--preset--color--blue-main)  !important
}

.is-style-hero-cta-medium .wp-block-button__link::before {
  content: "";
  position: absolute;
  inset: 0;                            
  border-radius: inherit;
  background: black; 
  z-index: -1;                        
  transform: translateX(-110%);
  transform-origin: center;            
  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
  will-change: transform; 
}

.is-style-hero-cta-medium .wp-block-button__link:hover::before {
  transform: translateX(0);
  background-image: none;
  background: var(--wp--preset--color--dark-black) !important;     
}

.is-style-hero-cta-medium .wp-block-button__link:hover {
  color: var(--wp--preset--color--white);                       
 border: 1px solid var(--wp--preset--color--dark-black);
  border-image: none;
}

.is-style-hero-cta-medium .wp-block-button__link::after {
  content: "";
  width: 14px;
  height: 14px;
  background: white;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 17 18"><path d="M17 15.9036C17 16.686 16.3657 17.3203 15.5833 17.3203C14.8009 17.3203 14.1667 16.686 14.1667 15.9036V5.1569L2.41829 16.9053C1.86505 17.4585 0.968282 17.4585 0.415039 16.9053C-0.138204 16.352 -0.138204 15.4553 0.415039 14.902L12.1634 3.15365H1.41667C0.634263 3.15365 0 2.51938 0 1.73698C0 0.954576 0.634263 0.320312 1.41667 0.320312H15.5833C16.3657 0.320312 17 0.954576 17 1.73698V15.9036Z"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 17 18"><path d="M17 15.9036C17 16.686 16.3657 17.3203 15.5833 17.3203C14.8009 17.3203 14.1667 16.686 14.1667 15.9036V5.1569L2.41829 16.9053C1.86505 17.4585 0.968282 17.4585 0.415039 16.9053C-0.138204 16.352 -0.138204 15.4553 0.415039 14.902L12.1634 3.15365H1.41667C0.634263 3.15365 0 2.51938 0 1.73698C0 0.954576 0.634263 0.320312 1.41667 0.320312H15.5833C16.3657 0.320312 17 0.954576 17 1.73698V15.9036Z"/></svg>') no-repeat center;
  background-size: contain;
  -webkit-mask-size: contain;
  mask-size: contain;
  position: relative;
  z-index: 1;
  transition: background 260ms ease;
}

/* hero cta small  */
/* hero cta small  */
.is-style-hero-cta-small .wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  gap: .625rem;
  font-size: 14px;
  color: white;                       
  border: 1px solid transparent;
  border-radius: 100px;               
  overflow: hidden;
  z-index: 0;

  /* NEW GRADIENT APPLIED */
  background:var(--wp--preset--color--blue-main) !important;
  background-clip: padding-box, border-box;
}


.is-style-hero-cta-small .wp-block-button__link::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -2px;
  right: -2px;
  border-radius: inherit;
  background:black; 
  z-index: -1;                        
  transform: translateX(-102%);
  transform-origin: center;            
  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
  will-change: transform; 
}

.is-style-hero-cta-small .wp-block-button__link:hover::before {
  transform: translateX(0);
  background-image: none;
  background: var(--wp--preset--color--dark-black) !important;     
}

.is-style-hero-cta-small .wp-block-button__link:hover {
  color: var(--wp--preset--color--white);                       
  border: 1px solid var(--wp--preset--color--dark-black);
  border-image: none;
}

.is-style-hero-cta-small .wp-block-button__link::after {
  content: "";
  width: 12px;
  height: 12px;
  background: white;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 17 18"><path d="M17 15.9036C17 16.686 16.3657 17.3203 15.5833 17.3203C14.8009 17.3203 14.1667 16.686 14.1667 15.9036V5.1569L2.41829 16.9053C1.86505 17.4585 0.968282 17.4585 0.415039 16.9053C-0.138204 16.352 -0.138204 15.4553 0.415039 14.902L12.1634 3.15365H1.41667C0.634263 3.15365 0 2.51938 0 1.73698C0 0.954576 0.634263 0.320312 1.41667 0.320312H15.5833C16.3657 0.320312 17 0.954576 17 1.73698V15.9036Z"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 17 18"><path d="M17 15.9036C17 16.686 16.3657 17.3203 15.5833 17.3203C14.8009 17.3203 14.1667 16.686 14.1667 15.9036V5.1569L2.41829 16.9053C1.86505 17.4585 0.968282 17.4585 0.415039 16.9053C-0.138204 16.352 -0.138204 15.4553 0.415039 14.902L12.1634 3.15365H1.41667C0.634263 3.15365 0 2.51938 0 1.73698C0 0.954576 0.634263 0.320312 1.41667 0.320312H15.5833C16.3657 0.320312 17 0.954576 17 1.73698V15.9036Z"/></svg>') no-repeat center;
  background-size: contain;
  -webkit-mask-size: contain;
  mask-size: contain;
  position: relative;
  z-index: 1;
  transition: background 260ms ease;
}

/* media queries  */

@media screen and (max-width :450px) {
  .is-style-hero-cta-large .wp-block-button__link {
    padding: 14px 15px;
    font-size: 13px;
  }

  .is-style-hero-cta-large .wp-block-button__link::after {
    width: 12px;
    height: 12px;
  }

  .is-style-hero-cta-medium .wp-block-button__link {
    padding: 14px 15px;
    font-size: 13px;
  }

  .is-style-hero-cta-medium .wp-block-button__link::after {
    width: 12px;
    height: 12px;
  }

  .is-style-hero-cta-small .wp-block-button__link::after {
    width: 12px;
    height: 12px;
  }
}