/*
 * Outline button. theme.json (styles.blocks.core/button.variations.outline)
 * sets colours, but Ollie's core-button.css draws the outline with a more
 * specific selector and an `outline` in currentColor; replace it with the
 * brand border so outline and filled buttons are the same size.
 */

.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  border: 2px solid var(--wp--preset--color--um-green);
  color: var(--wp--preset--color--um-ink);
  outline: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: rgba(150, 181, 86, 0.12);
  color: var(--wp--preset--color--um-ink);
}

.wp-block-button .wp-block-button__link:focus-visible {
  outline: 2px solid var(--wp--preset--color--um-ink);
  outline-offset: 2px;
}

/* Inline badge followed by text, e.g. "Free migration support included". */
.um-note .um-offer-badge {
  margin-right: 10px;
}
