/* (A) FIXED WRAPPER */
.mp-news-ticker{
  background: #FD5A5B;
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.3);
}

.site-header .mp-news-ticker .wrap{
  padding-left: 0;
  justify-content: center;
}


.mpticker-wrap {
  overflow: hidden; /* HIDE SCROLL BAR */
  position: relative;
}

.mp-news-ticker .mpticker-wrap:after,.mp-news-ticker .mpticker-wrap:before{
  content: '';
  display: block;
  background: linear-gradient(90deg, #FD5A5B 63.58%, rgba(253, 90, 91, 0) 100%);
  height: 40px;
  transform: rotate(-180deg);
  position: absolute;
  right: -16px;
  width: 100px;
  bottom: 0;
  z-index: 1;
}

.mp-news-ticker .mpticker-wrap:before{
  left: -16px;
  transform: none;
  right: 0;
}

/* (B) MOVING TICKER WRAPPER */
.mpticker-list { display: flex; }

/* (C) ITEMS - INTO A LONG HORIZONTAL ROW */
.mpticker-list--item {
  flex-shrink: 0;
  width: auto;
  box-sizing: border-box;
  padding: 8px 47px;
  text-align: center;
}

.single .site-header .mpticker-list--item a{
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.mpticker-list--item:not(:last-child) {
  border-right: 1.9px dashed rgb(249 234 208 / 80%);
}

/* (D) ANIMATION - MOVE ITEMS FROM RIGHT TO LEFT */
/* 4 ITEMS -400%, CHANGE THIS IF YOU ADD/REMOVE ITEMS */
@keyframes tickerh {
  0% { transform: translate3d(0%, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

.mpticker-list { animation: tickerh linear 20s infinite; }
.mpticker-list:hover { animation-play-state: paused; }

.mp-news-ticker.__not-active .mpticker-list{
  animation: none;
}

.mp-news-ticker.__not-active .mpticker-wrap:after,.mp-news-ticker.__not-active .mpticker-wrap:before{
  display: none;
}

@media (max-width:768px){
  .mpticker-list { animation: tickerh linear 10s infinite; }
  .mp-news-ticker .mpticker-wrap:after,.mp-news-ticker .mpticker-wrap:before{
    width: 60px;
    right: -32px;
  }
  .mp-news-ticker .mpticker-wrap:before{
    left: -32px;
    right: 0;
  }
  .mpticker-list--item {
    padding: 8px 16px;
  }
}
