/* Shared editorial text links. Buttons and linked images retain their own treatment. */
:where(main, .editor-styles-wrapper) a:not(.wp-element-button, .wp-block-button__link, .gp-button, .gp-text-link):not(:has(img)),
a.gp-text-link {
  border-radius: 5px;
  padding: .1em .2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-color 160ms ease, color 160ms ease;
}
a.gp-text-link {
  display: inline-block;
  padding: 8px 10px;
  margin-inline: -10px;
  color: var(--gp-forest, #123d2b);
  font-weight: 650;
  text-decoration: none;
}
:where(main, .editor-styles-wrapper) a:not(.wp-element-button, .wp-block-button__link, .gp-button, .gp-text-link):not(:has(img)):is(:hover, :focus-visible, :active, [aria-current="page"]),
a.gp-text-link:is(:hover, :focus-visible, :active, [aria-current="page"]) {
  background: var(--gp-brand, #39b54a);
  color: #fff;
  text-decoration: none;
}
:where(main, .editor-styles-wrapper) a:not(.wp-element-button, .wp-block-button__link, .gp-button, .gp-text-link):not(:has(img)):is(:hover, :focus-visible, :active, [aria-current="page"]) :is(span, svg),
a.gp-text-link:is(:hover, :focus-visible, :active, [aria-current="page"]) :is(span, svg) { color: inherit; }
:where(main, .editor-styles-wrapper) a:focus-visible,
a.gp-text-link:focus-visible { outline: 3px solid var(--gp-focus, #185dba); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  :where(main, .editor-styles-wrapper) a, a.gp-text-link { transition: none; }
}
