/* HL homepage CTA system (v2026-09-13n2)
 * Fixes custom.css `a:hover { color: red !important }` red-on-red bug.
 */
.hl-btn-primary,
.hl-home-cta--primary,
a.hl-btn-primary,
a.hl-home-cta--primary,
body#index a.hl-btn-primary,
body#index a.hl-home-cta--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 36px;
  padding: 0.3rem 0.9rem;
  font-family: Mulish, "Segoe UI", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  border-radius: 6px;
  color: #fff !important;
  background: var(--hl-red, #d71920) !important;
  border: 1px solid var(--hl-red, #d71920) !important;
  box-shadow: none;
  transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.hl-btn-primary:hover,
.hl-btn-primary:focus,
.hl-btn-primary:active,
.hl-btn-primary:focus-visible,
.hl-home-cta--primary:hover,
.hl-home-cta--primary:focus,
.hl-home-cta--primary:active,
.hl-home-cta--primary:focus-visible,
a.hl-btn-primary:hover,
a.hl-btn-primary:focus,
a.hl-btn-primary:active,
a.hl-home-cta--primary:hover,
a.hl-home-cta--primary:focus,
a.hl-home-cta--primary:active,
body#index a.hl-btn-primary:hover,
body#index a.hl-btn-primary:focus,
body#index a.hl-btn-primary:active,
body#index a.hl-home-cta--primary:hover,
body#index a.hl-home-cta--primary:focus,
body#index a.hl-home-cta--primary:active,
body#index .hl-home-brand a.hl-btn-primary:hover,
body#index .hl-home-brand a.hl-home-cta--primary:hover {
  color: #fff !important;
  background: var(--hl-red-hover, #b9151b) !important;
  border-color: var(--hl-red-hover, #b9151b) !important;
  text-decoration: none !important;
}
.hl-btn-primary:hover *,
.hl-home-cta--primary:hover *,
a.hl-btn-primary:hover *,
a.hl-home-cta--primary:hover *,
body#index a.hl-btn-primary:hover *,
body#index a.hl-home-cta--primary:hover * {
  color: #fff !important;
}
.hl-btn-primary:focus-visible,
.hl-home-cta--primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.35);
}

.hl-link-secondary,
.hl-home-cta--text,
a.hl-link-secondary,
a.hl-home-cta--text {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.2rem 0.1rem;
  font-family: Mulish, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hl-ink, #18191a) !important;
  background: transparent;
  border: 0;
  text-decoration: none !important;
  border-radius: 0;
}
.hl-link-secondary:hover,
.hl-home-cta--text:hover,
a.hl-link-secondary:hover,
a.hl-home-cta--text:hover {
  color: var(--hl-red, #d71920) !important;
  text-decoration: none !important;
}
.hl-home-brand--dark .hl-home-cta--primary { box-shadow: none; }

.hl-home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-family: Mulish, "Segoe UI", sans-serif;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 6px;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}

@media (max-width: 575.98px) {
  .hl-home-cta--primary,
  .hl-btn-primary {
    width: auto;
    max-width: 100%;
    min-height: 40px;
  }
}
