/* Context strip for the embed preview host — surfaces on directory + listing pages. */

.demo-banner {
  position: sticky;
  top: 0;
  z-index: 19;
  background: linear-gradient(180deg, #f6f1ff 0%, #faf8ff 100%);
  border-bottom: 1px solid #e6d8ff;
  color: #3a2356;
  font-size: 13.5px;
  box-shadow: 0 4px 14px -8px rgba(109, 40, 217, 0.35);
}

.demo-banner-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.demo-banner-text {
  margin: 0;
  flex: 1 1 240px;
  line-height: 1.45;
}

.demo-banner-text strong {
  color: #6d28d9;
}

.demo-banner .warn {
  color: #b4341e;
  font-weight: 700;
}

.demo-banner-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: #7c3aed;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px -10px rgba(124, 58, 237, 0.85);
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.demo-banner-cta:hover {
  background: #6d28d9;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .demo-banner-inner {
    padding: 12px 16px;
  }

  .demo-banner-cta {
    width: 100%;
    justify-content: center;
  }
}
