/* announcement banner */

.announcement_slider {
  margin-top: 50px;
  padding: 0 0 0 0;
  @media (max-width:991px) {
    margin-top: 25px;
  }
  @media (max-width:768px) {
    margin-top: 0px;
  }
  li {
    background-color: #faf0e6 !important;
    border-radius: 10px;
    .news_title {
      color: black !important;
      font-size: 16px;
      padding-bottom: 20px;
      font-weight: 600;
      line-height: 1;
    }
    .news_description {
      color: #681e77;
      font-size: 12px;
      text-align: center;
    }
    .news_description:nth-of-type(2) {
      width: 80%;
    }
  }
}

@media (min-width: 992px) {
  .announcement_slider {
    margin-top: 50px;

    margin: 0 0 0 0;
    li {
      background-color: rgba(254, 94, 0, 0.5) !important;
      border-radius: 10px;
      .news_title {
        color: black !important;
        font-size: 36px;
        font-weight: 500;
        line-height: 1;
      }
      .news_description {
        color: #681e77;
        font-size: 16px;

        &.fw-med {
          font-weight: 500;
        }
      }
      .news_description:nth-of-type(2) {
        width: 24rem;
      }
    }
  }
}

.announcement_btn {
  padding: 10px 30px;
  background-color: white;
  color: #681e77;
  width: fit-content;
  border-radius: 50px;
  transition: all 0.5s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  text-align:center;
}
@media (max-width: 767px) {
  .announcement_btn {
    margin-right: 0 !important;
    font-size: 12px !important;
  }
}
.announcement_btn:hover {
  background-color: #681e77;
  color: white;
}

.announcement_section {
  position: relative;
}
.announcement_prev {
  left: 10px;
  position: absolute;
  height: 40px;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 99;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex !important;
  width: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  color: #681e77;
  font-size: 25px;
  @media (max-width:768px) {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}
.announcement_next {
  right: 10px;
  position: absolute;
  height: 40px;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 99;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex !important;
  width: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  color: #681e77;
  font-size: 25px;
  @media (max-width:768px) {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}

.announcement_image {
  transition: all 0.4s ease-in-out;
}

.announcement_slider:hover .announcement_image {
  transform: translateX(30px);
}
.announcement_action {
  flex: 1 0 20%;
  @media (max-width:767px) {
    align-items: center !important;
  }
}
.announcement_image {
  flex: 1 0 20%;
}
.announcement_text {
  flex: 1 0 35%;
}