@keyframes marquee {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}

.urgent-bar {
  background: transparent;
  margin: 0;
  padding: 0;
}

.urgent-container {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: #ffffff;
  border-radius: 0 0 16px 16px;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px 0 #84848420;
}

.urgent-marquee {
  overflow: hidden;
  position: relative;
  pointer-events: none;
}

.urgent-marquee-inner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 1.25rem;
  animation: marquee var(--urgent-duration, 300s) linear infinite;
  transform: translate3d(0,0,0);
  will-change: transform;
}

.urgent-marquee-item {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: #111827;
  text-decoration: none;
  opacity: 1;
  transform: none;
  transition: color .18s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}

.urgent-marquee-sep {
  font-weight: 700;
  white-space: nowrap;
  margin: 0 0.75rem;
  color: #6b7280;
  font-size: 18px;
}

.urgent-marquee-link { color: inherit; text-decoration: none; }
.urgent-marquee-link:hover { color: #1e40af; }

@media (prefers-reduced-motion: reduce) {
  .urgent-marquee-inner { animation: none; transform: none; }
}

@media screen and (max-width: 768px) {
  .urgent-marquee-item,
  .urgent-marquee-sep {
    font-size: 15px;
  }

  .urgent-container {
    border-radius: 0;
    padding-top: .85rem;
    padding-bottom: .85rem;
  }
}
