.wp-block-button.is-style-arrow-right {
    position: relative;
}

.wp-block-button.is-style-arrow-right .wp-block-button__link {
    padding-inline-end: 50px;
    transition: background-color 0.4s ease-out;

    &::after {
        align-items: center;
        aspect-ratio: 100%;
        background-color: var(--wp--preset--color--secondary-dark);
        border-radius: 100%;
        box-shadow: 0 5px 6px 0 rgba(0, 0, 0, 0.2);
        content: "→";
        display: inline-flex;
        justify-content: center;
        height: 40px;
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        transition: box-shadow 0.5s ease-out, transform 0.25s ease-out;
        width: 40px;
    }

    &:focus,
    &:hover {
        background-color: var(--wp--preset--color--secondary-dark) !important;

        &::after {
            box-shadow: none;
            transform: translateY(-50%) rotate(-45deg);
        }
    }
}
