/**handles:bluebeechild-button**/
@media (max-width: 1365px) {
    .wp-block-buttons {
        &.is-content-justification-right {
            justify-content: flex-start !important;
            align-items: flex-start !important;
        }
    }
}

.wp-block-button {
    &.is-style-line-feature {
        .wp-block-button__link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: transparent !important;
            padding: 0 !important;
            transition: all 0.5s;

            &:before,
            &:after {
                content: "";
                width: 0px;
                height: 1px;
                background-color: currentColor;
                transition: all 0.5s;
            }

            &:before {
                width: 35px;
                margin-right: 15px;
            }

            &:after {
                width: 0;
                margin-left: 0;
            }

			&:is(.has-ghub-link:hover .wp-block-button__link),
            &:is(.gspbgrid_item:has(.gspbgrid_item_link):hover .wp-block-button__link),
            &:hover {
                background-color: transparent !important;

                &:before {
                    width: 0;
                    margin-right: 0;
                }

                &:after {
                    width: 35px;
                    margin-left: 15px;
                }
            }

            &.has-transparent-background-color {
                border: 0px !important;
                
				&:is(.has-ghub-link:hover .has-transparent-background-color),
                &:is(.gspbgrid_item:has(.gspbgrid_item_link):hover .has-transparent-background-color),
                &:hover {
                    background-color: transparent !important;
                    border: 0px !important;
                }
            }
        }
    }

    .wp-block-button__link {
        transition: all 0.25s;
        border: 1px solid transparent;
    
        &:hover {
            background-color: transparent !important;
            color: var(--wp--preset--color--primary) !important;
            border: 1px solid var(--wp--preset--color--primary) !important;
        }
    
        &.has-white-background-color {
            &:hover {
                background-color: transparent !important;
                color: white !important;
            }
        }

        &.has-primary-background-color {
            &:hover {
                background-color: transparent !important;
                color: white !important;
                border: 1px solid white !important;
            }
        }
    
        &.has-transparent-background-color {
            &:hover {
                background-color: var(--wp--preset--color--primary) !important;
                color: white !important;
                border-color: var(--wp--preset--color--primary) !important;
            }
    
            &.has-primary-color {
                &:hover {
                    background-color: var(--wp--preset--color--primary) !important;
                    color: white !important;
                }
            }
        }
    }
}

.has-white-background-color {
    .wp-block-button {
        .wp-block-button__link {
            &.has-primary-background-color {
                &:hover {
                    background-color: transparent !important;
                    color: var(--wp--preset--color--primary) !important;
                    border: 1px solid var(--wp--preset--color--primary)  !important;
                }
            }
        }
    }
}