/* Add lgr-license-badge to the Elementor Heading widget displaying e.g. A 2.94.
   Colors sampled from the user's reference screenshots, not claimed official hex codes. */
.lgr-license-badge .elementor-heading-title[data-lgr-license] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  padding: 5px 9px;
  border: 0;
  border-radius: 4px;
  background: var(--lgr-license-bg) !important;
  color: var(--lgr-license-text, #fff) !important;
  font-size: var(--lgr-license-size, 18px) !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  box-shadow: none;
  text-shadow: none;
}
.lgr-license-badge [data-lgr-license="R"] { --lgr-license-bg: #fb0706; }
.lgr-license-badge [data-lgr-license="D"] { --lgr-license-bg: #fb8927; }
.lgr-license-badge [data-lgr-license="C"] { --lgr-license-bg: #fdeb04; --lgr-license-text: #000; }
.lgr-license-badge [data-lgr-license="B"] { --lgr-license-bg: #00c602; }
.lgr-license-badge [data-lgr-license="A"] { --lgr-license-bg: #0153da; }
/* Pro classes were not present in the reference; retain a neutral appearance. */
.lgr-license-badge [data-lgr-license="PRO"],
.lgr-license-badge [data-lgr-license="PRO/WC"] { --lgr-license-bg: #303944; }
