/**
 * Contextual button colors (spin layers live in spinning-border-button.css).
 */

/* Ghost on dark surfaces (hero) — navy CTAs use .btn-ghost--on-navy */
.hero .hero-actions a.btn.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}

.hero .hero-actions a.btn.btn--ghost::after {
  background: transparent;
}

.hero .hero-actions a.btn.btn--ghost:hover,
.hero .hero-actions a.btn.btn--ghost:focus-visible {
  color: var(--brand-blue);
  border-color: #fff;
}

.hero .hero-actions a.btn.btn--ghost:hover::after,
.hero .hero-actions a.btn.btn--ghost:focus-visible::after {
  background: #fff;
}

/* Ghost on light surfaces (construction card, inner equipment CTA) */
.construction-actions a.btn.btn--ghost,
a.btn.btn--ghost.btn-ghost--on-light {
  color: var(--brand-blue);
  border-color: rgba(63, 85, 146, 0.9);
}

.construction-actions a.btn.btn--ghost::after,
a.btn.btn--ghost.btn-ghost--on-light::after {
  background: transparent;
}

.construction-actions a.btn.btn--ghost:hover,
.construction-actions a.btn.btn--ghost:focus-visible,
a.btn.btn--ghost.btn-ghost--on-light:hover,
a.btn.btn--ghost.btn-ghost--on-light:focus-visible {
  color: var(--brand-blue);
  border-color: #fff;
}

.construction-actions a.btn.btn--ghost:hover::after,
.construction-actions a.btn.btn--ghost:focus-visible::after,
a.btn.btn--ghost.btn-ghost--on-light:hover::after,
a.btn.btn--ghost.btn-ghost--on-light:focus-visible::after {
  background: #fff;
}

.section--navy a.btn.btn--light:hover,
.section--navy a.btn.btn--light:focus-visible {
  color: var(--navy);
}
