/* Base styles for ZB Beloftebalk */
/* style.css */

:root {
  --zb-text-color: #777777;
  --zb-icon-color: #999999;
  --zb-font-family: sans-serif;
  --zb-font-style: normal;
  --zb-font-weight: 400;
  --zb-font-size: 16px;
  --zb-line-height: 26px;
  --zb-speed: 30s;

  /* rotator */
  --zb-rotator-hold: 3000ms;
  --zb-rotator-fade: 500ms;
}

.belofte-scroll-plugin {
  color: var(--zb-text-color);
  max-width: 100%;
  width: 100%;
  margin: 1em auto;
  overflow: hidden;
  background: transparent;
  font-family: var(--zb-font-family);
  font-size: var(--zb-font-size);
  font-style: var(--zb-font-style);
  font-weight: var(--zb-font-weight);
  line-height: var(--zb-line-height);
}

.belofte-scroll-plugin i {
  color: var(--zb-icon-color);
}

/* News Ticker */
.belofte-scroll-track {
  white-space: nowrap;
}

.belofte-scroll-content {
  display: inline-block;
  animation: belofte-scroll var(--zb-speed) linear infinite;
  will-change: transform;
}

.belofte-scroll-content .belofte-item {
  display: inline-block;
  padding-right: 2rem;
}

.belofte-scroll-plugin a.belofte-item {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.belofte-scroll-plugin a.belofte-item:hover,
.belofte-scroll-plugin a.belofte-item:focus {
  color: inherit;
  text-decoration: none;
}

@keyframes belofte-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Tekst rotator */
.belofte-rotator-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 1.6em;
}

.belofte-rotator-current {
  opacity: 1;
  transition: opacity var(--zb-rotator-fade) ease;
  text-align: center;
}

.belofte-rotator-current.is-hidden {
  opacity: 0;
}
