/**
 * Quwa Tier Badges — v2.0.0
 *
 * Styles for Plus (teal) and Pro (gold) tier badges.
 * Loaded by the plugin on the frontend only.
 */

/* ----- Base badge ----- */

.quwa-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 3px;
  white-space: nowrap;
  vertical-align: middle;
  position: relative;
  top: -1px;
  margin-left: 6px;
  line-height: 1;
}

.quwa-tier-badge svg {
  flex-shrink: 0;
}

/* ----- Tier colours ----- */

.quwa-tier-badge--plus {
  background: #1F9CAC;
  color: #fff;
}

.quwa-tier-badge--pro {
  background: #B8860B;
  color: #fff;
}

/* ----- Context overrides (Quwa theme) ----- */

/* Hero overlay cards: kill inherited text-shadow */
.card-hero-title .quwa-tier-badge {
  text-shadow: none;
}

/* Single-post h1: slightly larger */
.article-title .quwa-tier-badge {
  font-size: 11px;
  padding: 3px 10px;
}

/* ----- Mobile ----- */

@media (max-width: 767px) {
  .quwa-tier-badge {
    font-size: 9px;
    padding: 2px 6px;
    gap: 2px;
    margin-left: 4px;
  }

  .quwa-tier-badge svg {
    width: 10px;
    height: 10px;
  }
}
