.carousel-container-cursos-livres {
      background-color: rgb(25, 53, 74);
      color: rgb(246, 151, 55);
      padding: 40px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .carousel-container-cursos-livres h2 {
      margin-bottom: 30px;
      font-size: 36px;
      font-weight: 600;
    }

    .carousel-wrapper-cursos-livres {
      overflow: hidden;
      width: 100%;
      position: relative;
    }

    .carousel-cursos-livres {
      display: flex;
      align-items: center;
      transition: transform 0.8s ease;
    }

    .card-cursos-livres {
      flex: 0 0 250px;
      margin: 0 10px;
      border-radius: 10px;
      overflow: hidden;
      position: relative;
      transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
      opacity: 0.6;
      filter: grayscale(60%) brightness(80%);
      cursor: pointer;
    }

    .card-cursos-livres img {
      width: 100%;
      /* height: 200px; */
      height: 400px;
      object-fit: cover;
    }

    .card-cursos-livres h3 {
      position: absolute;
      bottom: 10px;
      left: 0;
      right: 0;
      color: white;
      text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
      font-size: 1.2rem;
    }

    .card-cursos-livres.active {
      opacity: 1;
      filter: none;
      /* transform: scale(1.05); */
      z-index: 5;
    }

    /* Botões */
    .carousel-btn-cursos-livres {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(255,255,255,0.2);
      border: none;
      color: white;
      font-size: 28px;
      cursor: pointer;
      padding: 10px;
      border-radius: 50%;
      z-index: 10;
      transition: background-color 0.3s;
    }

    .carousel-btn-cursos-livres:hover {
      background-color: rgba(255,255,255,0.5);
    }

    .prev-cursos-livres {
         /* left: 20px; */
         left: 50px; 
         background-color: rgb(246, 151, 55) !important;
        }
    .next-cursos-livres { 
        /* right: 20px;  */
        right: 50px; 
        background-color: rgb(246, 151, 55) !important;
    }

    /* Indicadores */
    .indicator-cursos-livres {
      margin-top: 20px;
    }

    .dot-cursos-livres {
      height: 10px;
      width: 10px;
      margin: 0 4px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .dot-cursos-livres.active {
      background-color: rgb(246, 151, 55);
    }

    /* Responsivo */
    @media (max-width: 768px) {
      .card-cursos-livres {
        flex: 0 0 80%;
        /* margin: 0 10%; */
      }
      .carousel-btn-cursos-livres {
        font-size: 22px;
      }
    }