[data-component-id="lyria:carousel_vignette"] {
  /* @todo Add your styles here. */

  .container {
    max-width: 960px;
  }
  .splide {
    margin: 180px 0px;
    position: relative;
    padding: 40px 0px;
    width: 100%;
    @media screen and (max-width: 768px) {
      margin: 50px 0px;
    }
  }
  .splide__pagination {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0;
    pointer-events: none;
    bottom: 0;
    left: 0;
    padding: 0 1em;
    position: absolute;
    right: 0;
    z-index: 1;
  }
  .splide__pagination li {
    display: inline-block;
    line-height: 1;
    list-style-type: none;
    margin: 0;
    pointer-events: auto;
  }
  .splide:not(.is-overflow) .splide__pagination {
    display: none;
  }
  .splide__pagination__page {
    background: black;
    border: 0;
    border-radius: 50%;
    display: inline-block;
    height: 8px;
    margin: 3px;
    opacity: 0.7;
    padding: 0;
    position: relative;
    transition: transform 0.2s linear;
    width: 8px;
  }
  .splide__pagination__page.is-active {
    background: #57A5D9;
    transform: scale(1.4);
    z-index: 1;
  }
  .splide__pagination__page:hover {
    cursor: pointer;
    opacity: 0.9;
  }

  .splide__arrows {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 110%;
    position: absolute;
    z-index: 50;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
  .splide__arrow--prev,
  .splide__arrow--next {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: start;
    justify-content: end;
    outline: none;
  }

  .splide__arrow--prev {
    transform: rotate(90deg);
    margin-top: 10px;
  }

  .splide__arrow--next {
    transform: rotate(270deg);
    margin-bottom: 10px;
  }

  .splide__track {
    overflow: hidden;
    height: 300px;
    margin: 0 !important;
    position: relative; /* Ensure the track is positioned relative to avoid layout shifts */
    padding: 0 !important; /* Force padding to avoid inline style conflicts */
  }

  .splide__list {
    display: flex;
    width: 100%;
    margin: 0px;
  }
  .splide__slide {
    position: relative;
    height: auto;
    width: auto;
    flex-shrink: 0;
    max-width: 259px;

    a {
      text-decoration: none;
    }
    a:focus:not(:focus-visible) {
      outline: none;
    }

    .img-container {
      width: 100%;
      height: 214px;
      overflow: hidden;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        background-color: rosybrown;
        transition: transform 0.4s ease;
      }
      img:hover {
        transform: scale(1.1);
      }
    }
  }
  .splide__list .splide__slide:first-child {
    background-color: #57A5D9;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 24px 50px;
    text-align: center;
    svg {
      margin-bottom: 20px;
    }
    h3 {
      font-size: 22px;
      font-weight: 700;
      text-transform: uppercase;
    }
    img {
      width: 45%;
    }
  }

  .description {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 10px 0;

    p {
      width: 196px;
      font-size: 16px;
      line-height: 18.78px;
      font-weight: 700;
    }
    span {
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: red;
      width: 50px;
      height: 50px;

      svg {
        transform: rotate(-90deg);
        width: 20px;
        height: 20px;
      }
    }
  }
}
