/* The article's closing assessment invitation, shared by the website and News editor. */
:is(body.marketing-site .editorial-article .rich-content, .news-assessment-content) a[href="/contact/"][title="Schedule your free assessment"] {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: .85em;
  max-width: 100%;
  min-height: 48px;
  padding: .8em 1.3em;
  border: 1px solid #883453;
  border-radius: 3px;
  background: linear-gradient(110deg, #64213e, #873352);
  color: #fff;
  font: 650 1rem/1.4 var(--sans, system-ui, sans-serif);
  text-align: center;
  text-decoration: none;
  overflow-wrap: break-word;
  box-shadow: 0 0 0 3px rgb(167 64 104 / .12), 0 3px 14px rgb(129 40 75 / .24);
}

:is(body.marketing-site .editorial-article .rich-content, .news-assessment-content) a[href="/contact/"][title="Schedule your free assessment"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 0 18px 3px rgb(175 66 110 / .4);
  animation: assessment-glow 3.5s ease-in-out infinite alternate;
}

:is(body.marketing-site .editorial-article .rich-content, .news-assessment-content) a[href="/contact/"][title="Schedule your free assessment"]::after {
  content: "";
  width: .46em;
  height: .46em;
  flex: none;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}

:is(body.marketing-site .editorial-article .rich-content, .news-assessment-content) a[href="/contact/"][title="Schedule your free assessment"]:hover {
  background: #631e3a;
}

:is(body.marketing-site .editorial-article .rich-content, .news-assessment-content) a[href="/contact/"][title="Schedule your free assessment"]:focus-visible {
  outline: 2px solid #462237;
  outline-offset: 4px;
}

@keyframes assessment-glow {
  from { opacity: .15; }
  to { opacity: .85; }
}

@media (prefers-reduced-motion: reduce), print {
  :is(body.marketing-site .editorial-article .rich-content, .news-assessment-content) a[href="/contact/"][title="Schedule your free assessment"]::before { animation: none; opacity: 0; }
}
