/* =========================================================
   One button system for the whole site — the hero buttons.
   Primary  (main action):   solid orange, navy text   (like "Hire Talent")
   Secondary (other action): solid teal, white text    (like "Explore Recruitment Services")
   Same height, padding, 4px corners and type as the hero; no arrow/icon chips.

   Primary   = .btn-orange, plain .btn-x, .beyond-btn
   Secondary = .btn-teal, .btn-glass, .btn-line
   Header/menu buttons (.nav-cta, .dd-btn, .menu-btn), filter chips and
   FAQ toggles are not affected.
   !important is needed to win over the older per-section button styles
   in site.css / pages.css / src-option*.css.
   ========================================================= */
:is(.btn,.btn-x,.beyond-btn){
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:clamp(2.75rem,3.23vw,3.875rem);
  padding:0 clamp(24px,2.3vw,44px)!important;
  border:0!important;border-radius:4px!important;
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  font-family:var(--ff-body)!important;font-weight:600!important;line-height:1.3;text-align:center;
  transform:none!important;transition:background .2s,color .2s
}
:is(.btn-x,.beyond-btn){height:auto}
/* Same text size everywhere (the homepage hero keeps its own, slightly larger size on big screens) */
:is(.btn,.btn-x,.beyond-btn):not(.hero .btn){font-size:clamp(.9375rem,.94vw,1.125rem)!important}
:is(.btn,.btn-x,.beyond-btn)::after{display:none!important}
:is(.btn-x,.beyond-btn)>:is(.chip,.arr,.bi:last-child){display:none!important}
:is(.btn,.btn-x,.beyond-btn):focus-visible{outline:2px solid var(--orange-500,#FA8921);outline-offset:3px}

/* Primary — orange */
:is(.btn.btn-orange,.btn-x:not(.btn-glass):not(.btn-line):not(.btn-teal),.beyond-btn){background:var(--orange-500,#FA8921)!important;color:var(--navy-900,#03263B)!important}
:is(.btn.btn-orange,.btn-x:not(.btn-glass):not(.btn-line):not(.btn-teal),.beyond-btn):hover{background:var(--orange-700,#C76307)!important;color:#FFFFFF!important}

/* Secondary — teal */
:is(.btn-teal,.btn-glass,.btn-line):is(.btn,.btn-x){background:var(--teal-500,#03929F)!important;color:#FFFFFF!important;padding:0 clamp(24px,2.65vw,51px)!important}
:is(.btn-teal,.btn-glass,.btn-line):is(.btn,.btn-x):hover{background:var(--navy-800,#053E61)!important;color:#FFFFFF!important}
/* On navy boxes the hero's navy hover would disappear, so darken the teal instead */
:is(.cta-x,.beyond-card,.hcell-ink,.hire-cta,.duo-card.dark,.sec-navy) :is(.btn-teal,.btn-glass,.btn-line):is(.btn,.btn-x):hover{background:#027781!important}

/* Phones: full-width stacked buttons, as in the hero */
@media (max-width:575.98px){
  .cta-x .cta-btns{gap:12px}
  .cta-x .cta-btns .btn-x{flex:1 1 100%}
}

/* Touch devices (phones/tablets): comfortable tap targets for small links and icons */
@media (max-width:991.98px){
  .ftr-social a{width:36px!important;height:36px!important}
  .link-arrow{display:inline-flex;align-items:center;min-height:44px}
  .contact-line a,.legal-help-link{display:inline-flex;align-items:center;min-height:40px}
}
