/* Buttons */
.wp-block-buttons {
    gap: 12px;
}

.wp-block-button {

}

.wp-block-button .wp-block-button__link {
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    background-color: var(--color-brand-primary);
    color: var(--color-surface);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 600;
    text-align: center;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    transition: var(--duration-slow) var(--ease-standard) all;
    outline-offset: 2px;
}
.wp-block-button a:hover {
    filter: opacity(0.8);
    color: var(--color-surface);
    transform: translateY(-1px);
}
.wp-block-button a:active {
    background-color: var(--color-brand-primary);
    color: var(--color-surface);
}
.wp-block-button a:focus {
    background-color: var(--color-brand-primary);
    color: var(--color-surface);
    outline: 1px dashed var(--color-border);
}

/* Outline button */
.wp-block-button.is-style-outline .wp-block-button__link {
    border: 1px solid var(--color-surface-muted);
    color: var(--color-text);
    background-color: transparent!important;
}
.wp-block-button.is-style-outline a:hover {
    background-color: var(--color-surface-muted)!important;
    color: var(--color-text);
}

/* Secondary button */
.wp-block-button.is-style-secondary .wp-block-button__link {
    background-color: var(--color-surface-muted);
    color: var(--color-text);
    border: 1px solid var(--color-surface-muted);
}

.wp-block-button.is-style-secondary a:hover {
    background-color: var(--color-surface-muted);
    color: var(--color-brand-primary);
}

/* Underlined button */
.wp-block-button.is-style-underlined .wp-block-button__link {
    background-color: transparent;
    color: var(--color-text);
    position: relative;
    text-decoration: none;
    padding: 4px 0px;
}

.wp-block-button.is-style-underlined a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--color-brand-primary);
    transition: width var(--duration-base) ease;
}

.wp-block-button.is-style-underlined a:hover::after,
.wp-block-button.is-style-underlined a:focus::after {
    width: 100%;
}