/* css for header carousel starts here */

.header-carousel {
  width: 100%;

}

.header-carousel .carousel-items {
  display: flex;
  justify-content: space-between;
}

.header-carousel .carousel-items ul {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0.5rem;
  padding: 0;
  text-align: center;
  position: relative;
}

.header-carousel .carousel-items ul li {
  width: 100%;
  color: var(--text-dark);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size-xxxs);
  font-weight: var(--font-weight-light-bold);
  line-height: normal;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  list-style: none;
  text-align: center;
  transition: opacity 0.2s ease-in-out;
}

.header-carousel .carousel-items ul li {
  color: var(--primary-cta);
}

.header-carousel .carousel-items ul li a {
  color: var(--primary-cta);
   text-decoration: underline;
}
.header-carousel .carousel-items ul li a:hover{
  text-decoration: none;
}

.header-carousel .carousel-items ul li a:focus-visible {
  outline: 0.125rem solid var(--text-white) !important;
  border-radius: 0.188rem;
}

.header-carousel .carousel-items ul li.active {
  pointer-events: auto;
  opacity: 1;
}

.header-carousel .prev-btn-left,
.header-carousel .next-btn-right,
.header-carousel .prev-btn-left:hover,
.header-carousel .next-btn-right:hover {
  all: unset;
  display: flex;
  margin-bottom: 0.3125rem;

}

.header-carousel .prev-btn-left:focus, 
.header-carousel .next-btn-right:focus {
  outline: 0.125rem solid var(--text-white) !important;
  border-radius: 0.188rem;
  height: 1.125rem;
}

.header-carousel button::before {
  width: 12px;
  height: 12px;
}

.header-carousel .prev-btn-left::before {
  content: url('../../icons/left-mobile-icon-carousel.svg');
  display: block;
  cursor: pointer;
}

.header-carousel .next-btn-right::before {
  content: url('../../icons/right-mobile-icon-carousel.svg');
  cursor: pointer;
  display: block;
}

main .header-carousel-wrapper .carousel-items p {
  width: 100%;
}

@media (min-width: 992px) {
  .header-carousel {
    width: 431px;
    position: unset;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .header-carousel .carousel-items {
    align-items: center;
  }

  .header-carousel .carousel-items ul {
    display: block;
    margin: 0;
    height: 1.25rem;
  }

  .header-carousel .carousel-items ul li {
    font-size: var(--body-font-size-xs);
    color: var(--text-white);
    font-style: normal;
    font-weight: var(--font-weight-light-bold);
    line-height: normal;
  }

  .header-carousel .carousel-items ul li a {
    color: var(--text-white);
  }

  .header-carousel .prev-btn-left::before {
    content: url('../../icons/left-icon.svg');
  }

  .header-carousel .next-btn-right::before {
    content: url('../../icons/right-icon.svg');
  }
}
