/* Shared hover-card treatment - used across many different page-specific
   bundles (home, service, industry, location, printer-product, case-studies,
   it-answers, and the services/industries directory template), so it has to
   stay in the always-loaded global set rather than being duplicated into
   each of those page-specific files. Moved out of services.css, which used
   to be loaded on every page just so pages other than the single service
   detail page could reach these three rules. */

.standard-hover {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
}

.standard-hover:hover {
  transform: translateY(-7px);
  border-color: var(--teal);
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, color-mix(in srgb, var(--teal) 7%, var(--surface)), var(--surface));
}

.hover-number {
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--orange);
}

.hover-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  transition: .25s;
}

.hover-icon svg {
  width: 24px;
  height: 24px;
}

.standard-hover:hover .hover-icon {
  background: var(--teal);
  color: white;
  transform: rotate(-4deg) scale(1.06);
}

.hover-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s;
}

.standard-hover:hover .hover-line {
  transform: scaleX(1);
}

.faq-wrap {
  max-width: 800px;
}

.faq-wrap details {
  border-bottom: 1px solid var(--line);
  padding: .3rem 0;
}

.faq-wrap summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.faq-wrap summary span {
  color: var(--teal);
  font-size: 1.5rem;
}
