.wp-block-button__link {
    align-items: center;
    background-color: var(--wp--preset--color--slate-7);
    border: 0.0625rem solid transparent;
    border-radius: 0.125rem;
    color: var(--wp--preset--color--white);
    display: inline-flex;
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--label-small);
    font-weight: 600;
    gap: 0.5rem;
    justify-content: center;
    letter-spacing: 0.04em;
    line-height: 1.1429;
    padding: 1rem 1.25rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--slate-6);
    border-color: transparent;
    color: var(--wp--preset--color--white);
}

.wp-block-button__link:active {
    background-color: var(--wp--preset--color--slate-5);
    border-color: transparent;
    color: var(--wp--preset--color--white);
}

.wp-block-button__link:focus-visible {
    outline: 0.125rem solid var(--wp--preset--color--slate-3);
    outline-offset: 0.1875rem;
}

.wp-block-button__link[aria-disabled="true"],
.wp-block-button__link.disabled,
.wp-block-button__link:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.is-style-primary-fill .wp-block-button__link {
    background-color: var(--wp--preset--color--slate-7);
    border-color: transparent;
    color: var(--wp--preset--color--white);
}

.is-style-primary-fill .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--slate-6);
    color: var(--wp--preset--color--white);
}

.is-style-primary-fill .wp-block-button__link:active {
    background-color: var(--wp--preset--color--slate-5);
    color: var(--wp--preset--color--white);
}

.is-style-primary-outline .wp-block-button__link {
    background-color: transparent;
    border-color: var(--wp--preset--color--slate-7);
    color: var(--wp--preset--color--slate-7);
}

.is-style-primary-outline .wp-block-button__link:hover {
    background-color: transparent;
    border-color: var(--wp--preset--color--slate-6);
    color: var(--wp--preset--color--slate-6);
}

.is-style-primary-outline .wp-block-button__link:active {
    background-color: transparent;
    border-color: var(--wp--preset--color--slate-5);
    color: var(--wp--preset--color--slate-5);
}

.is-style-inverse-fill .wp-block-button__link {
    background-color: var(--wp--preset--color--white);
    border-color: transparent;
    color: var(--wp--preset--color--dark);
}

.is-style-inverse-fill .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--slate-0-5);
    color: var(--wp--preset--color--dark);
}

.is-style-inverse-fill .wp-block-button__link:active {
    background-color: var(--wp--preset--color--slate-1-5);
    color: var(--wp--preset--color--dark);
}

.is-style-inverse-outline .wp-block-button__link {
    background-color: transparent;
    border-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--white);
}

.is-style-inverse-outline .wp-block-button__link:hover {
    background-color: transparent;
    border-color: var(--wp--preset--color--slate-2);
    color: var(--wp--preset--color--slate-2);
}

.is-style-inverse-outline .wp-block-button__link:active {
    background-color: transparent;
    border-color: var(--wp--preset--color--slate-3);
    color: var(--wp--preset--color--slate-3);
}

:is(.is-style-text-link, .is-style-text-link-dark) .wp-block-button__link {
    --text-link-color: var(--wp--preset--color--slate-7);
    background-color: transparent;
    border: 0;
    border-radius: 0;
    color: var(--text-link-color);
    font-size: var(--wp--preset--font-size--label-small);
    font-weight: 600;
    gap: 0.25rem;
    letter-spacing: 0.04em;
    line-height: 1.1429;
    min-height: 0;
    padding: 0;
    padding-right: 1.8125rem;
    position: relative;
}

:is(.is-style-text-link, .is-style-text-link-dark) .wp-block-button__link::after {
    background-color: currentColor;
    content: "";
    height: 1.25rem;
    mask: url('../img/arrow-right-from-arc.svg') no-repeat center / contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-mask: url('../img/arrow-right-from-arc.svg') no-repeat center / contain;
    width: 1.5625rem;
}

:is(.is-style-text-link, .is-style-text-link-dark) .wp-block-button__link:hover::after {
    background: url('../img/arrow-right-from-arc-fill.svg') no-repeat center / contain;
    mask: none;
    -webkit-mask: none;
}

:is(.is-style-text-link, .is-style-text-link-dark) .wp-block-button__link:hover {
    background-color: transparent;
    color: var(--wp--preset--color--slate-6) !important;
}

:is(.is-style-text-link, .is-style-text-link-dark) .wp-block-button__link:active {
    background-color: transparent;
    color: var(--wp--preset--color--slate-5) !important;
}

:is(.is-style-text-link, .is-style-text-link-dark) .wp-block-button__link:active::after {
    background-color: currentColor;
    background-image: none;
    mask: url('../img/arrow-right-from-arc.svg') no-repeat center / contain;
    -webkit-mask: url('../img/arrow-right-from-arc.svg') no-repeat center / contain;
}

/* Text links on the Dark palette retain contrast in every interaction state. */
.has-dark-background-color .is-style-text-link .wp-block-button__link {
    --text-link-color: var(--wp--preset--color--white);
}

.is-style-text-link-dark .wp-block-button__link {
    --text-link-color: var(--wp--preset--color--white);
}

.has-dark-background-color .is-style-text-link .wp-block-button__link:hover::after {
    background-image: url('../img/arrow-right-from-arc-fill-inverse.svg');
}

.is-style-text-link-dark .wp-block-button__link:hover::after {
    background-image: url('../img/arrow-right-from-arc-fill-inverse.svg');
}

.has-dark-background-color .is-style-text-link .wp-block-button__link:hover {
    color: var(--wp--preset--color--slate-1) !important;
}

.is-style-text-link-dark .wp-block-button__link:hover {
    color: var(--wp--preset--color--slate-1) !important;
}

.has-dark-background-color .is-style-text-link .wp-block-button__link:active {
    color: var(--wp--preset--color--slate-3) !important;
}

.is-style-text-link-dark .wp-block-button__link:active {
    color: var(--wp--preset--color--slate-3) !important;
}

.has-dark-background-color .is-style-text-link .wp-block-button__link:active::after {
    background-image: none;
}

.is-style-text-link-dark .wp-block-button__link:active::after {
    background-image: none;
}

.wp-block-buttons .wp-block-button__link.wp-load-more__button {
    background-color: transparent;
    border-color: var(--wp--preset--color--slate-7);
    color: var(--wp--preset--color--slate-7);
}

.wp-block-buttons .wp-block-button__link.wp-load-more__button:hover {
    background-color: transparent;
    border-color: var(--wp--preset--color--slate-6);
    color: var(--wp--preset--color--slate-6);
}

.wp-block-buttons .wp-block-button__link.wp-load-more__button:active {
    background-color: transparent;
    border-color: var(--wp--preset--color--slate-5);
    color: var(--wp--preset--color--slate-5);
}
