.pelatihan .row {
    padding-bottom: 30px;
  }
  
  .pelatihan .card {
    margin: 10px auto;
    max-height: 600px;
    height: 100%;
  }
  
  /* .pelatihan .card-title:hover {
    color: #e96b56;
  } */
  
  .pelatihan .card-img-border {
    overflow: hidden;
    max-height: 350px;
    height: 100%;
  }
  
  .pelatihan .card-img-border img {
    transition: all ease-in-out 0.4s;
  }

  .pelatihan .card-img-border:hover img {
    transform: scale(1.025);
  }

  .pelatihan .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .pelatihan .card-title {
    margin-bottom: 0.3rem;
    max-height: 2.8em; /* Default height for two line */
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height 0.5s ease-in-out; /* Smooth transition */
  }

  .pelatihan .card-title:hover {
    max-height: 4em;
  }
  
  .pelatihan .fa-users {
    margin-left: 1rem;
  }
  
  .pelatihan .card-footer {
    font-size: 0.8rem;
  }
  
  /* Button */
  .pelatihan .pelatihan-aktif {
    display: inline-block;
    background: #007bff;
    border-radius: 3px;
    padding: 6px 20px 8px 20px;
    cursor: default;
    user-select: none;
    transition: background-color 0.3s;
  }

  .pelatihan .pelatihan-tutup {
    display: inline-block;
    background: #faca15;
    border-radius: 3px;
    padding: 6px 20px 8px 20px;
    cursor: default;
    user-select: none;
    transition: background-color 0.3s;
  }

  .pelatihan .pelatihan-selesai {
    display: inline-block;
    background: #6b7280;
    border-radius: 3px;
    padding: 6px 20px 8px 20px;
    cursor: default;
    user-select: none;
    transition: background-color 0.3s;
  }

  .pelatihan .custom-btn-ditutup {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
    line-height: 1.5;
    color:#212529;
    background-color: #faca15;
    border-color: #faca15;
    border-radius: .25rem;
  }

  .pelatihan .custom-btn-selesai {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
    line-height: 1.5;
    color:#fff;
    background-color: #6b7280;
    border-color: #6b7280;
    border-radius: .25rem;
  }
  
  .pelatihan .pelatihan-aktif:hover {
    background: #0465cd;
  }

  .pelatihan .pelatihan-tutup:hover {
    background: #bb9712;
  }

  .pelatihan .pelatihan-selesai:hover {
    background: #52565d;
  }

  /* .pelatihan .custom-btn-ditutup:hover {
    background: #f3bc17;
  } */

  /* .pelatihan .custom-btn-selesai:hover {
    background: #1e2125;
  } */
  
  /* .pelatihan .pelatihan-aktif a {
    color: #fff;
  } */
  
  /* Pagination */
  .pelatihan .pelatihan-pagination {
    color: #878787;
  }
  
  .pelatihan .pelatihan-pagination ul {
    display: flex;
    padding-left: 0;
    list-style: none;
  }
  
  .pelatihan .pelatihan-pagination li {
    border: 1px solid white;
    margin: 0 5px;
    transition: 0.3s;
  }
  
  .pelatihan .pelatihan-pagination li.active {
    background: white;
  }
  
  .pelatihan .pelatihan-pagination li a {
    color: #aaaaaa;
    padding: 7px 16px;
    display: inline-block;
  }
  
  .pelatihan .pelatihan-pagination li.active,
  .pelatihan .pelatihan-pagination li:hover {
    background: #e96b56;
    border: 1px solid #e96b56;
  }
  
  .pelatihan .pelatihan-pagination li.active a,
  .pelatihan .pelatihan-pagination li:hover a {
    color: #fff;
  }
  
  .pelatihan .pelatihan-pagination li.disabled {
    background: #fff;
    border: 1px solid white;
  }
  
  .pelatihan .pelatihan-pagination li.disabled i {
    color: #f1f1f1;
    padding: 10px 16px;
    display: inline-block;
  }

  .page-item.active .page-link {
    z-index: 3;
    color: #354353;
    border: 1px solid #dee2e6;
    background-color: #fff;
  }

  .page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #354353;
    background-color: #fff;
    border: 1px solid #dee2e6;
  }

  /* General CSS */
  .flex {
    display: flex;
  }

  .items-center {
    align-items: center;
  }

  .justify-center {
    justify-content: center;
  }
  
  .custom-badge-secondary {
    border: 1px solid #6b7280;
    border-radius: .5rem;
  }

  .custom-deskripsi {
    border: 2px solid #6b7280;
    border-radius: 10px;
  }

  .text-sm {
    font-size: 0.875rem !important;
  }

  .text-md {
    font-size: 1rem !important;
  }

  .text-lg {
    font-size: 1.125rem !important;
  }

  .font-semi-bold {
    font-weight: 600;
  }

  .font-light {
    font-weight: 300;
  }

  .w-full {
    width: 100%;
  }

  .gap-1 {
    gap: 4px;
  }

  .gap-2 {
    gap: 8px;
  }

  .gap-3 {
    gap: 16px;
  }
  