/* ============================================================
   EMR TICKER
   ============================================================ */
.emr-ticker-wrap {
  background: var(--charcoal);
  background-image: radial-gradient(ellipse at 82% 50%, rgba(62,207,170,0.1) 0%, transparent 55%);
  padding: 2rem 0 2.25rem;
  overflow: hidden;
  position: relative;
}

/* Grid — matches hero */
.emr-ticker-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Teal orb — left */
.emr-ticker-wrap::after {
  content: '';
  position: absolute;
  left: -60px; top: 50%;
  transform: translateY(-50%);
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(4,106,129,0.38) 0%, transparent 68%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

.emr-ticker-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.emr-ticker-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, white 12%, white 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 12%, white 88%, transparent);
  position: relative;
  z-index: 1;
}

.emr-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: emr-scroll 28s linear infinite;
}

.emr-item {
  display: flex;
  align-items: center;
  padding: 10px 22px;
  margin: 0 10px;
  background: rgba(255,255,255,0.93);
  border-radius: 10px;
  flex-shrink: 0;
  transition: background 0.25s, box-shadow 0.25s;
}

.emr-item:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.emr-item img {
  height: 26px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

@keyframes emr-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.emr-ticker-track-wrap:hover .emr-ticker-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .emr-ticker-track { animation: none; }
  .emr-ticker-wrap::before { animation: none; }
  .emr-ticker-track-wrap { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}
