/* Homepage announcement bar — promotes the Path to Purchase guide.
   Fixed to the top of the viewport: the sticky site header is pushed down by
   --gm-announce-h (via Breakdance's own --bde-header-sticky-offset token) and the
   page content by the same amount, so nothing is covered. The height fallbacks
   below are refined at runtime by the bar's own script (handles text wrapping).
   z-index 1001 sits above the sticky header (1000) and below popups (1050). */

:root {
  --gm-announce-h: 44px;
}

.breakdance .gm-announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: block;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(90deg, #3f1fe0 0%, #4d2cf2 45%, #6b4bff 100%);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  transition: filter 0.2s ease;
}
.breakdance .gm-announce:hover,
.breakdance .gm-announce:focus-visible {
  filter: brightness(1.1);
  color: #ffffff;
}
.breakdance .gm-announce:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -3px;
}

.gm-announce__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 11px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.gm-announce__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}
.gm-announce__short { display: none; }

.gm-announce__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.gm-announce__cta span { text-decoration: underline; text-underline-offset: 3px; }
.gm-announce__cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}
.gm-announce:hover .gm-announce__cta svg { transform: translateX(3px); }

/* make room: page content and the fixed header both start below the bar */
body.home { padding-top: var(--gm-announce-h); }
.breakdance .bde-header-builder-16-115 { --bde-header-sticky-offset: var(--gm-announce-h); }

/* tablet: drop to the short message so the bar stays one line */
@media (max-width: 900px) {
  .gm-announce__full { display: none; }
  .gm-announce__short { display: inline; }
}

/* phones: tighter bar, arrow only (the whole bar is the link anyway) */
@media (max-width: 560px) {
  :root { --gm-announce-h: 40px; }
  .gm-announce__inner { padding: 10px 14px; gap: 8px; }
  .gm-announce__text { font-size: 13px; }
  .gm-announce__cta span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gm-announce,
  .gm-announce__cta svg { transition: none; }
}
