/* VASO — announcement bar
   Slim rotating-message strip above the header, in the theme's warm ink and
   Mulish body face. Dots and prev/next arrows appear for 2+ messages.
   The home header overlays the hero (absolute, top: 0), so while the bar is
   on the page that header is pushed down by the bar's fixed height. */

.vaso-announce {
  position: relative;
  z-index: 45;
  height: 38px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body:has(.vaso-announce) .vaso-header--overlay { top: 38px; }

.vaso-announce__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3, 12px);
  height: 100%;
  max-width: var(--vaso-container, 1300px);
  margin: 0 auto;
  padding: 0 40px;
}

.vaso-announce__track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  min-width: 0;
  text-align: center;
  flex: 1;
  max-width: 720px;
}
.vaso-announce__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 360ms ease, transform 360ms ease;
  pointer-events: none;
}
.vaso-announce__slide > * {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vaso-announce__slide.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  min-width: 0;
}
.vaso-announce__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.vaso-announce__link:hover { opacity: 0.7; }

.vaso-announce__arrow {
  width: 24px; height: 24px;
  border: 0; background: transparent;
  color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0.6;
  transition: opacity 160ms ease;
  flex: 0 0 auto;
}
.vaso-announce__arrow:hover { opacity: 1; }
.vaso-announce__arrow svg { width: 14px; height: 14px; }

.vaso-announce__dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}
.vaso-announce__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 0;
  background: currentColor;
  opacity: 0.25;
  cursor: pointer;
  padding: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}
.vaso-announce__dot:hover { opacity: 0.6; }
.vaso-announce__dot.is-active { opacity: 1; transform: scale(1.2); }

@media (max-width: 640px) {
  .vaso-announce { font-size: 11px; letter-spacing: 0.06em; }
  .vaso-announce__inner { padding: 0 16px; gap: 8px; }
  .vaso-announce__arrow { display: none; }
  .vaso-announce__dots { margin-left: 8px; }
  .vaso-announce__dot { width: 5px; height: 5px; }
}
