/**
 * News Ticker — high-specificity selectors to override theme/Elementor.
 * Root: #nt-news-ticker.nt-news-ticker-bar
 */

div#nt-news-ticker.nt-news-ticker-bar {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #111111;
  color: #ffffff;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

div#nt-news-ticker.nt-news-ticker-bar *,
div#nt-news-ticker.nt-news-ticker-bar *::before,
div#nt-news-ticker.nt-news-ticker-bar *::after {
  box-sizing: border-box;
}

div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: 40px;
}

div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-label.nt-news-ticker-bar__label {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 18px;
  background: #c41e3a;
  color: #ffffff;
  font-family: "Cinzel", Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 0;
  border-right: 2px solid #8b1529;
}

div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__label-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  line-height: 1;
}

div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__label-char {
  display: inline;
  line-height: 1;
}

div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-viewport.nt-news-ticker-bar__viewport {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: #1a1a1a;
}

div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-viewport.nt-news-ticker-bar__viewport::before,
div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-viewport.nt-news-ticker-bar__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 2;
  pointer-events: none;
}

div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-viewport.nt-news-ticker-bar__viewport::before {
  left: 0;
  background: linear-gradient(to right, #1a1a1a 0%, rgba(26, 26, 26, 0) 100%);
}

div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-viewport.nt-news-ticker-bar__viewport::after {
  right: 0;
  background: linear-gradient(to left, #1a1a1a 0%, rgba(26, 26, 26, 0) 100%);
}

div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-track.nt-news-ticker-bar__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  will-change: transform;
}

div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__slide {
  display: flex;
  flex: 0 0 var(--nt-slide-width, 100%);
  align-items: center;
  justify-content: center;
  width: var(--nt-slide-width, 100%);
  min-width: var(--nt-slide-width, 100%);
  max-width: var(--nt-slide-width, 100%);
  margin: 0;
  padding: 11px 24px;
  border: 0;
  background: transparent;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
}

div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__slide .nt-news-ticker-bar__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

div#nt-news-ticker.nt-news-ticker-bar.nt-news-ticker-bar--ready {
  visibility: visible;
}

div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__slide--clone {
  pointer-events: none;
  user-select: none;
}

div#nt-news-ticker.nt-news-ticker-bar span.nt-news-ticker-bar__text {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: none;
  outline: none;
  white-space: nowrap;
}

div#nt-news-ticker.nt-news-ticker-bar a.nt-news-ticker-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  box-shadow: none;
  outline: none;
  white-space: nowrap;
}

div#nt-news-ticker.nt-news-ticker-bar a.nt-news-ticker-bar__link .nt-news-ticker-bar__link-arrow {
  display: inline-block;
  flex-shrink: 0;
  text-decoration: none;
}

div#nt-news-ticker.nt-news-ticker-bar a.nt-news-ticker-bar__link .nt-news-ticker-bar__link-text {
  text-decoration: underline;
  text-underline-offset: 2px;
}

div#nt-news-ticker.nt-news-ticker-bar span.nt-news-ticker-bar__separator {
  display: inline;
  white-space: pre;
}

div#nt-news-ticker.nt-news-ticker-bar a.nt-news-ticker-bar__link:hover,
div#nt-news-ticker.nt-news-ticker-bar a.nt-news-ticker-bar__link:focus {
  color: #05b6bc;
}

div#nt-news-ticker.nt-news-ticker-bar a.nt-news-ticker-bar__link:hover .nt-news-ticker-bar__link-text,
div#nt-news-ticker.nt-news-ticker-bar a.nt-news-ticker-bar__link:focus .nt-news-ticker-bar__link-text {
  text-decoration: none;
}

/* Static / reduced-motion layout */
div#nt-news-ticker.nt-news-ticker-bar.nt-news-ticker-bar--static #nt-news-ticker-viewport.nt-news-ticker-bar__viewport {
  overflow: visible;
}

div#nt-news-ticker.nt-news-ticker-bar.nt-news-ticker-bar--static #nt-news-ticker-track.nt-news-ticker-bar__track {
  flex-direction: column;
  width: 100%;
  transform: none !important;
}

div#nt-news-ticker.nt-news-ticker-bar.nt-news-ticker-bar--static .nt-news-ticker-bar__slide {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  white-space: normal;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  justify-content: center;
}

div#nt-news-ticker.nt-news-ticker-bar.nt-news-ticker-bar--static .nt-news-ticker-bar__slide:last-child {
  border-bottom: 0;
}

div#nt-news-ticker.nt-news-ticker-bar.nt-news-ticker-bar--static .nt-news-ticker-bar__slide .nt-news-ticker-bar__item,
div#nt-news-ticker.nt-news-ticker-bar.nt-news-ticker-bar--static span.nt-news-ticker-bar__text,
div#nt-news-ticker.nt-news-ticker-bar.nt-news-ticker-bar--static a.nt-news-ticker-bar__link {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

div#nt-news-ticker.nt-news-ticker-bar.nt-news-ticker-bar--static .nt-news-ticker-bar__slide .nt-news-ticker-bar__item {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 1024px) {
  div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__inner {
    min-height: 36px;
    align-items: stretch;
  }

  div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-label.nt-news-ticker-bar__label {
    flex-direction: column;
    align-self: stretch;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 8px 10px;
    font-size: 10px;
    letter-spacing: 0.06em;
    white-space: normal;
  }

  div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__label-text {
    flex-direction: column;
    justify-content: center;
    align-self: center;
    margin-block: auto;
    gap: 0.12em;
    letter-spacing: 0;
  }

  div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__label-char {
    display: block;
  }

  div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-viewport.nt-news-ticker-bar__viewport {
    display: flex;
    align-items: center;
    overflow-x: hidden;
    overflow-y: visible;
    height: auto;
    min-height: 100%;
  }

  div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-track.nt-news-ticker-bar__track {
    align-items: stretch;
    align-self: stretch;
    min-height: 100%;
  }

  div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__slide {
    padding: 9px 14px;
    height: auto;
    min-height: 100%;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    align-items: center;
    justify-content: center;
    align-self: stretch;
  }

  div#nt-news-ticker.nt-news-ticker-bar .nt-news-ticker-bar__slide .nt-news-ticker-bar__item {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
  }

  div#nt-news-ticker.nt-news-ticker-bar span.nt-news-ticker-bar__text,
  div#nt-news-ticker.nt-news-ticker-bar a.nt-news-ticker-bar__link {
    font-size: 13px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  div#nt-news-ticker.nt-news-ticker-bar a.nt-news-ticker-bar__link {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  div#nt-news-ticker.nt-news-ticker-bar #nt-news-ticker-track.nt-news-ticker-bar__track {
    transform: none !important;
  }
}
