/**
 * Shared FM button component.
 *
 * Module-specific layout, controls and animations remain in each module's
 * frontend stylesheet. Theme-level variants can target `.fm-button.primary`
 * and `.fm-button.secondary` without duplicating the component foundation.
 *
 * `span` supports the FM Posts CTA inside a full-card link, where nesting an
 * interactive element would produce invalid markup.
 */

.fm-button:is(a, button, span) {
  -webkit-appearance: none;
  appearance: none;
  align-items: center;
  border: 1px solid transparent;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 1rem;
  justify-content: center;
  letter-spacing: 0.5px;
  line-height: 2rem;
  margin: 0;
  padding: 0.5rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s linear;
  background: black;
  color: white;
  border-radius: 0.5rem;
}
