/* width */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

/* Track */
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(238, 240, 247, 1); 
    border: solid 2.5px white;
}

/* Handle */
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 24, 1);
    border-radius: 3px;
}

/* Handle on hover */
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 24, 1); 
}

#Content-wrapper{
    font-weight: 300;
    font-size: 18px;
    line-height: 34px;

    font-family: 'Lexend Deca';
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#Content-wrapper ul
{
    list-style: unset;
    margin: unset;
    padding: 0 0 0 30px;
}

#Content-wrapper li
{
    display: list-item;
}

#Content-wrapper p strong{
    font-weight: 600;
}

#Content-wrapper h1, #Content-wrapper h2, #Content-wrapper h3, #Content-wrapper h4, #Content-wrapper h5, #Content-wrapper h6 {
    font-weight: 700;
    font-size: unset;
} 

#Content-wrapper h2{
    font-size: 40px;
    line-height: 34px;
}

#Content-wrapper h2{
    font-size: 32px;
    line-height: 34px;
}

#Content-wrapper h3{
    font-size: 26px;
    line-height: 34px;
}

#Content-wrapper ins{
    color: #FF6B18;
}

#Content-wrapper a{
    color: #FF6B18;
}

#Content-wrapper a:hover{
    text-decoration: underline;
}

#Content-wrapper figure{
    max-width: 600px;
    max-height: 350px;
    overflow: hidden;
}

#Content-wrapper figure img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
    border-radius: 20px;
}

@media (max-width: 767px) {
    .main-carousel .flickity-slider > * {
      width: calc(90% - 1rem); /* Ubah 80% ke ukuran yang diinginkan */
      margin-right: 1rem; /* Berikan margin antara item */
    }
  
    
    .main-carousel .flickity-slider > *:last-child {
        margin-right: 1rem; /* Jarak khusus untuk item terakhir */
      }
  }
  

  @media (max-width: 767px) {
    .main-carousel::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 20%;
      background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
      pointer-events: none;
      z-index: 10;
    }
  }
  
  @media (min-width: 768px) {
    .main-carousel::after {
      display: none; /* Hilangkan di desktop */
    }
  }
 

  .bakat-slider {
    position: relative;
    width: 100%;
    height: auto; /* Pastikan slider memiliki tinggi yang sesuai */
}

.bakat-slider .flickity-slider {
    display: flex; /* Mengatur slider sebagai flex container */
}

.bakat-slider .flickity-slider > * {
    flex: 0 0 auto; /* Menetapkan item slider tidak menyusut dan tidak membesar */
}
 /* Penataan untuk perangkat mobile */
@media (max-width: 767px) {
    .bakat-slider {
        position: relative; /* Untuk positioning yang benar dari ::after */
    }

    .bakat-slider .flickity-slider > * {
        width: calc(90% - 1rem); /* Ubah 90% ke ukuran yang diinginkan */
        margin-right: 1rem; /* Berikan margin antara item */
    }

    .bakat-slider .flickity-slider > *:last-child {
        margin-right: 1rem; /* Jarak khusus untuk item terakhir */
    }

    .bakat-slider::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 20%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
        pointer-events: none;
        z-index: 10;
    }
}

/* Penataan untuk perangkat desktop */
@media (min-width: 768px) {
    .bakat-slider::after {
        display: none; /* Hilangkan efek gradient di desktop */
    }
}
