.announcement-bar-section{
  background-color: rgb(var(--color-background));
  transition: max-height 0.3s ease;
  max-height: auto;
  overflow: hidden;
}
announcement-bar{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  position: relative;
  align-items: center;
  --svg-size:14px;
  --swiper-navigation-top-offset:auto;
}
announcement-bar svg{
  width:var(--svg-size) !important;
  height:var(--svg-size) !important;
}
announcement-bar .announcement-bar-menu-grid{
  display: flex;
  flex-wrap: wrap;
  gap:20px;
  justify-content: flex-end;
  align-items: center;
}
announcement-bar .announcement-bar-left{
  width:100%;
  min-width: 0;
}
announcement-bar .announcement-bar-swiper{
  display: flex;
  align-items: center;
  gap:20px;
}
announcement-bar .swiper-button::after{
  display: none;
}
announcement-bar .swiper-button{
  position: relative;
  display: flex;
  left: auto;
  right: auto;
  width: auto;
  margin:0;
  --swiper-navigation-color:#ffffff;
  opacity:1;
  height: auto;
}

announcement-bar .swiper-control{
  display: flex;
  gap:10px;
  background-color: rgb(var(--color-background));
  z-index: 2;
  order: 0;
}
announcement-bar .swiper-wrapper{
  order: 1;
}
announcement-bar .swiper-slide{
  display: flex;
}
announcement-bar .close-button{
  display: none;
  cursor: pointer;
  padding:10px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 200ms;
  --svg-size:10px;
}
announcement-bar .close-button:hover{
  transform: scale(1.2);
}
announcement-bar .announcement-bar-right .close-button{
  display: inline-flex;
}
@media(max-width:959px){
  announcement-bar{
    display: flex;
  }
  .announcement-bar-right{
    display: none;
  }
  announcement-bar .swiper-control{
    width: 100%;
    order: 0;
    min-height: 14px;
  }
  announcement-bar .swiper-wrapper{
    order: 0;
  }
  announcement-bar .swiper-slide{
    justify-content: center;
  }
  announcement-bar .announcement-bar-swiper{
    justify-content: center;
    align-items: center;
    width:80%;
  }
  announcement-bar .swiper-button{
    position: absolute;
    display: flex;
    align-items: center;
  }
  announcement-bar .swiper-button-next{
    right: 0;
  }
  announcement-bar .swiper-button-prev{
    left:0;
  }
  announcement-bar .close-button{
    position: absolute;
    display: flex;
    right: 0;
    /* height: 100%; */
    padding:5px;
    align-items: flex-start;
    --svg-size:8px;
  }
}