/* Style primary */
.wp-block-button.is-style-primary {
    position: relative;
    overflow: hidden;
}

.wp-block-button.is-style-primary .wp-block-button__link {
    border: 2px solid #E86D3A;
    background-color: #E86D3A;
    color: var(--wp--preset--color--bg-creme-pale);
    position: relative;
    z-index: 100;
}

.wp-block-button.is-style-primary a {
    overflow: hidden;
}

.wp-block-button.is-style-primary a:after {
    content: '';
    width: 100%;
    height: 100%;
    background-color:color-mix(in srgb, #E86D3A, black 10%); 
    left: -100%;
    top: 0;
    position: absolute;
    transition: left 0.3s;
    z-index: -1;
}

.wp-block-button.is-style-primary .wp-block-button__link:hover {
    border: 2px solid #E86D3A;
    background-color: #E86D3A;
    color: var(--wp--preset--color--bg-creme-pale);
}

.wp-block-button.is-style-primary:hover a:after {
    left: 0;
}




/* Style jaune */
.wp-block-button.is-style-jaune {
    position: relative;
    overflow: hidden;
}

.wp-block-button.is-style-jaune .wp-block-button__link {
    border: 2px solid var(--wp--preset--color--jaune-orange);
    background-color: var(--wp--preset--color--jaune-orange);
    color: var(--wp--preset--color--text-color);
    position: relative;
    z-index: 100;
}

.wp-block-button.is-style-jaune a {
    overflow: hidden;
}

.wp-block-button.is-style-jaune a:after {
    content: '';
    width: 100%;
    height: 100%;
    background-color:color-mix(in srgb, var(--wp--preset--color--jaune-orange), black 10%); 
    left: -100%;
    top: 0;
    position: absolute;
    transition: left 0.3s;
    z-index: -1;
}

.wp-block-button.is-style-jaune .wp-block-button__link:hover {
    border: 2px solid var(--wp--preset--color--jaune-orange);
    background-color: var(--wp--preset--color--jaune-orange);
    color: var(--wp--preset--color--text-color);
}

.wp-block-button.is-style-jaune:hover a:after {
    left: 0;
}



/* Style outline blanc */
.wp-block-button.is-style-outline-light {
    position: relative;
    overflow: hidden;
}

.wp-block-button.is-style-outline-light .wp-block-button__link {
    border: 2px solid var(--wp--preset--color--bg-creme-pale);
    background-color: transparent;
    color: var(--wp--preset--color--bg-creme-pale);
    position: relative;
    z-index: 100;
}

.wp-block-button.is-style-outline-light a {
    overflow: hidden;
}

.wp-block-button.is-style-outline-light a:after {
    content: '';
    width: 100%;
    height: 100%;
    background-color:var(--wp--preset--color--bg-creme-pale);
    left: -100%;
    top: 0;
    position: absolute;
    transition: left 0.3s;
    z-index: -1;
}

.wp-block-button.is-style-outline-light .wp-block-button__link:hover {
    border: 2px solid var(--wp--preset--color--bg-creme-pale);
    background-color:transparent;
    color: var(--wp--preset--color--text-color);
}

.wp-block-button.is-style-outline-light:hover a:after {
    left: 0;
}




/* Style outline dark */
.wp-block-button.is-style-outline-dark {
    position: relative;
    overflow: hidden;
}

.wp-block-button.is-style-outline-dark .wp-block-button__link {
    border: 2px solid var(--wp--preset--color--text-color);
    background-color: transparent;
    color: var(--wp--preset--color--text-color);
    position: relative;
    z-index: 100;
}

.wp-block-button.is-style-outline-dark a {
    overflow: hidden;
}

.wp-block-button.is-style-outline-dark a:after {
    content: '';
    width: 100%;
    height: 100%;
    background-color:var(--wp--preset--color--text-color);
    left: -100%;
    top: 0;
    position: absolute;
    transition: left 0.3s;
    z-index: -1;
}

.wp-block-button.is-style-outline-dark .wp-block-button__link:hover {
    border: 2px solid var(--wp--preset--color--text-color);
    background-color: transparent;
    color: var(--wp--preset--color--bg-creme-pale);
}

.wp-block-button.is-style-outline-dark:hover a:after {
    left: 0;
}




/* Style underline dark */
.wp-block-button.is-style-underline-dark {
    position: relative;
    overflow: hidden;
  
}

.wp-block-button.is-style-underline-dark .wp-block-button__link {
    display: inline-flex;
    border-bottom: 2px solid var(--wp--preset--color--text-color);
    background-color: transparent;
    color: var(--wp--preset--color--text-color);
    position: relative;
    z-index: 100;
      border-radius: 0!important;
      padding-left: 0;
      padding-right: 0;
      padding-bottom: 6px;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-button.is-style-underline-dark a {
    overflow: hidden;
}


.wp-block-button.is-style-underline-dark .wp-block-button__link:hover {
     border-bottom: 2px solid var(--wp--preset--color--orange) !important;
    background-color: transparent;
    color: var(--wp--preset--color--orange) !important;
}




