/* ==========================================================================
   WebJIVE button standard — 2026 homepage design, applied over legacy classes.

   WHY THE DOUBLED SELECTORS: 45 pages define .wj-btn inside their own inline
   <style> blocks in the body, which come AFTER this file's <link> in the head.
   At equal specificity the later rule wins, so .wj-btn.wj-btn (0,2,0) is used
   to take precedence without resorting to !important.

   EXCLUDED: .wj-cta-btn / .wj-phone-btn (megamenu — own system, on all 62 pages) and the
   text links .wj-service__link / .wj-story__link / .wj-recognition__link (not buttons).

   !important IS DELIBERATE: several pages set e.g. `color:#fff !important` on their own
   button rules, which no amount of specificity can beat. It is applied to visual identity
   only (background/color/shape/shadow) — sizing is left overridable so contextual rules
   such as `.wj-dark-cta .wj-btn--primary` keep their intended emphasis.

   NO ::after ARROW: the homepage design slides in a "→" on hover, but legacy
   button labels already end in a literal → ("Get Your Free Consultation →"),
   which would render twice. Arrow is deliberately omitted here.
   ========================================================================== */

.wj-btn.wj-btn,
.wj-hero__cta.wj-hero__cta,
.wj-final-cta__btn.wj-final-cta__btn,
.wj-wdr .wj-audit-form__submit.wj-audit-form__submit,
.wj-audit-form__submit.wj-audit-form__submit,
.wj-cform .wj-cform__submit.wj-cform__submit,
.wj-cform__submit.wj-cform__submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:'DM Sans',Arial,Helvetica,sans-serif;
  font-weight:700;
  font-size:17px;
  line-height:1.2;
  padding:15px 32px;
  border:0 !important;
  cursor:pointer;
  text-decoration:none;
  border-radius:0 !important;
  clip-path:polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%) !important;
  position:relative;
  z-index:0;
  transition:padding .25s, filter .2s, box-shadow .2s;
}

/* ---- primary ---- */
.wj-btn--primary.wj-btn--primary,
.wj-wdr .wj-audit-form__submit.wj-audit-form__submit,
.wj-audit-form__submit.wj-audit-form__submit,
.wj-cform .wj-cform__submit.wj-cform__submit,
.wj-cform__submit.wj-cform__submit{
  background:linear-gradient(135deg,#EF5B00,#F59E0B) !important;
  color:#111 !important;
  box-shadow:0 4px 22px rgba(239,91,0,.25) !important;
}
.wj-btn--primary.wj-btn--primary:hover,
.wj-wdr .wj-audit-form__submit.wj-audit-form__submit:hover,
.wj-audit-form__submit.wj-audit-form__submit:hover,
.wj-cform .wj-cform__submit.wj-cform__submit:hover,
.wj-cform__submit.wj-cform__submit:hover{
  filter:brightness(1.06);
  transform:none;
  padding-right:34px;
  box-shadow:0 8px 30px rgba(239,91,0,.35) !important;
}

/* ---- ghost (dark backgrounds only) ---- */
.wj-btn--ghost.wj-btn--ghost{
  background:rgba(255,255,255,.45) !important;
  color:#fff !important;
  border:0 !important;
}
.wj-btn--ghost.wj-btn--ghost::before{
  content:"";
  position:absolute;
  inset:1.5px;
  background:#111214 !important;
  clip-path:polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%) !important;
  z-index:-1;
}
.wj-btn--ghost.wj-btn--ghost:hover{background:#fff}

/* ---- white (on orange/dark bands) ---- */
.wj-btn--white.wj-btn--white{
  background:#fff !important;
  color:#EF5B00 !important;
  box-shadow:0 4px 20px rgba(0,0,0,.15) !important;
}
.wj-btn--white.wj-btn--white:hover{filter:brightness(1.02);box-shadow:0 8px 30px rgba(0,0,0,.2)}

/* ---- modifiers ---- */
.wj-btn--full.wj-btn--full{width:100%;justify-content:center}

/* ---- disabled ---- */
.wj-btn.wj-btn:disabled,
.wj-audit-form__submit.wj-audit-form__submit:disabled,
.wj-cform__submit.wj-cform__submit:disabled{opacity:.6;cursor:default;filter:none}

/* ---- narrow viewports: nowrap on a fixed-width label blows grid columns open ---- */
@media (max-width:860px){
  .wj-btn.wj-btn,
    .wj-hero__cta.wj-hero__cta,
  .wj-final-cta__btn.wj-final-cta__btn,
  .wj-audit-form__submit.wj-audit-form__submit,
  .wj-cform__submit.wj-cform__submit{
    white-space:normal;
    max-width:100%;
    font-size:16px;
    padding:14px 26px;
  }
}
