/* Announcement Banner Styles */

/* Announcement Slider Styles */
.announcement-slider {
  position: relative;
  height: 1.3rem;
  overflow: hidden;
}

.announcement-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.announcement-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Announcement Arrow Styles */
.announcement-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 14px;
}

.announcement-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.announcement-arrow-prev {
  left: 10px;
}

.announcement-arrow-next {
  right: 10px;
}

@media (max-width: 576px) {
  .announcement-arrow {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .announcement-arrow-prev {
    left: 5px;
  }

  .announcement-arrow-next {
    right: 5px;
  }
}
