/* Block Style: Pulse Button
----------------------------------------
 * Registered as: is-style-button-pulse
 * Block: core/button
 * Adds an animated pulse indicator before the button text
 * to draw attention to a CTA.
 */

.is-style-button-pulse a {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.is-style-button-pulse a:before {
    display: block;
    content: '';
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background-color: #7cc06b;
    animation-name: button-pulse;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes button-pulse {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}