/*
 * CTA button style restore
 * The CSS purge (commit a2a94d7) stripped the [class*="btn--"] rules from
 * vendor-bundle.css that apply the --btn-* variables to actual buttons — the
 * purger's safelist didn't recognise the attribute selector. Without them,
 * .btn--action buttons lose their background, border, and border-radius
 * sitewide. These are the original rules, kept in a non-vendor file so the
 * next purge run can't remove them again. Loads after vendor-bundle.css.
 */

[class*="btn--"]:where(:not(.btn--none, .wp-block-button)) {
  background: var(--btn-background);
  color: var(--btn-text-color);
  padding-block: var(--btn-padding-block);
  padding-inline: var(--btn-padding-inline);
  min-inline-size: var(--btn-min-width);
  line-height: var(--btn-line-height);
  font-size: var(--btn-font-size, var(--text-m));
  font-weight: var(--btn-font-weight);
  font-style: var(--btn-font-style);
  text-transform: var(--btn-text-transform);
  letter-spacing: var(--btn-letter-spacing);
  text-decoration: var(--btn-text-decoration);
  border-width: var(--btn-border-width);
  border-style: var(--btn-border-style);
  border-radius: var(--btn-radius);
  border-color: var(--btn-border-color);
  transition: var(--btn-transition, var(--transition));
  justify-content: var(--btn-justify-content, center);
  text-align: var(--btn-text-align, center);
}

[class*="btn--"]:where(:not(.btn--none, .wp-block-button)):hover {
  background: var(--btn-background-hover);
  color: var(--btn-text-color-hover);
  border-color: var(--btn-border-color-hover);
  text-decoration: var(--btn-text-decoration-hover);
}

[class*="btn--"]:where(:not(.btn--none, .wp-block-button)):focus {
  outline-style: solid;
  outline-color: var(--focus-color);
  outline-width: var(--focus-width);
  outline-offset: var(--focus-offset);
}
