.background-container {
    position: relative;
    height: 700px;
    border-radius: 20px;
}

.background-container::before {
    border-radius: 20px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.background-container-mini::before {
    border-radius: 20px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.model-mini {
    position: absolute;
    top: 20px;
    right: 20px;
}

.content {
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    height: 100%;
    text-decoration: none;
}

.content-mini {
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    height: 100%;
    text-decoration: none;
}

.content-mini h6 {
    font-weight: bold;
}

.background-container:hover {
    color: white;
}

.content:hover {
    color: white;
}

.background-container-mini:hover {
    color: white;
}

.content-mini:hover {
    color: white;
}

.background-container-mini {
    position: relative;
    height: 200px;
    border-radius: 20px;
}

.slick-slide {
    margin-left: 10px;
    margin-right: 10px;
}

.previous-arrow-wide {
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  background: transparent;
  border: none;
  left: 25px;
  z-index: 100;
  color: white;
}

.next-arrow-wide {
line-height: 0;
position: absolute;
top: 50%;
display: block;
width: 20px;
height: 20px;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);
cursor: pointer;
background: transparent;
border: none;
right: 50px;
z-index: 100;
color: white;
}

.previous-arrow {
line-height: 0;
position: absolute;
top: 50%;
display: block;
width: 20px;
height: 20px;
padding: 0;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);
cursor: pointer;
background: transparent;
border: none;
left: -25px;
}

.next-arrow {
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    background: transparent;
    border: none;
    right: -16.2px;
}

.carousel-info {
padding: 20px;
display: flex;
width: 100%;
justify-content: center;
align-items: center;
gap: 120px;
}

.carousel-info-item {
display: flex;
flex-direction: column;
gap: 4px;
justify-content: center;
align-items: center;
}

.carousel-info-item p {
font-weight: bold;
font-size: 1.1rem;
padding: 0;
margin: 0;
}

.slider {
padding-top: 15px;
padding-bottom: 15px;
}

.slider-mini {
padding-top: 15px;
padding-bottom: 15px;
}

.card-container {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.card-img {
    height: 220px;
    width: 100%;
}

.card-img-text {
  display: none;
  height: 220px;
  width: 100%;
  display: flex;
  position:relative;
  justify-content: center;
  align-items: center;
  padding: 25px;
  overflow: hidden;
}

.card-text-container{
  padding-top: 0px;
  padding-left: 20px;
  padding-right: 20px;
}

.card-text {
  color: rgb(24 24 27);
  text-align: center;
  overflow: hidden;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 6;
          line-clamp: 6; 
  -webkit-box-orient: vertical;
}

.card-title-template-2 {
  font-weight: bold;
  letter-spacing: -0.02em;
  text-align: center;
  font-size: 0.90rem;
  color: rgb(24 24 27);
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-img-text::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.7); 
  opacity: 0; 
  transition: opacity 0.3s ease;
}

.card-img-text > p {
  display:none;
  color: white;
  overflow: hidden;
  font-size: 0.9rem;
  z-index: 20;
}

.card-content:hover .card-img-text p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
          line-clamp: 4; 
  -webkit-box-orient: vertical;
}

.card-content:hover .card-img-text::before {
  opacity: 1;
}

.card-container:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.card-content {
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.card-img-container{
  padding: 0px;
}

.card-info-template-2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc( 100% - 230px );
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.card-info {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   height: calc( 100% - 230px );
   border-bottom-left-radius: 5px;
   border-bottom-right-radius: 5px;
}

.card-title {
    font-weight: bold;
    letter-spacing: -0.02em;
    text-align: center;
    font-size: 0.90rem;
    color: rgb(24 24 27);
    padding-top: 15px;
    padding-right: 20px;
    padding-left: 20px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
 }

 .card-info-icons {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
 }

 .card-icon {
    color: rgb(24 24 27);
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    line-height: 1.5rem;
    gap: 5px;
 }

 thead th {
    background-color: rgb(244 244 245);
    color: rgb(9 9 11);
    padding-top: 10px;
    padding-bottom: 10px;
  }

  thead th:first-child {
    border-radius: 15px 0 0 15px;
    padding-left: 25px;
  }
  thead th:last-child {
    border-radius: 0 15px 15px 0;
  }
  
  .table > thead > tr > th {
    border: none !important;
  }
  
  .table > tbody > tr:first-child > td,
  .table > tbody > tr:first-child > th {
    border-top: none;
  }

  .table-container {
    overflow-x: auto;
    border-radius: 20px;
    padding: 20px;
  }

  .name-column-img {
    min-width: 150px;
    height: 150px;
    border-radius: 20px;
  }

  .name-column-text {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 80px;
  }

  .name-column {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .name-column-text-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
            line-clamp: 3; 
    -webkit-box-orient: vertical;
    font-size: 0.9rem;
  }

  .table-body-row > td {
    padding-bottom: 0.75em;
    padding-top: 0.75em;
  }

  .table-body-row {
    border-bottom: 1px solid rgb(228 228 231);
  }


  .name-column-text-name {
    font-size: 1.2;
    font-weight: 600;
  }
  

  .name-column-text-name-link {
    font-size: 1.2;
    font-weight: bold;
    color: #93aa28;
    text-decoration: underline;
  }


  .link {
    font-weight: bold;
    text-decoration: underline;
    color: #93aa28;
  }

  .info-slider-mini {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 2rem;
    bottom:20%;
  }

  .slider-icon-mini {
      color: white;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: bold;
  }

  .link-insc {
    font-weight: bold;
    color: rgb(3 105 161);
    text-decoration: underline;
  }

  .link-pre {
    font-weight: bold;
    color: rgb(67 56 202);
    text-decoration: underline;
  }

  .link-all-courses {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    width: 270px;
    font-weight: 800;
    font-size: 0.95rem;
    color: rgb(24 24 27);
    text-decoration: none;
    border-radius: 10px;
    background-color: #b8d432;
    text-align: center;
  }

  .link-all-courses:hover {
    color: white;
    background-color: #a6bf2d;
  }

  .div-all-courses {
    padding-bottom: 1rem;
    padding-top: 2rem;
    display: inline-grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    place-items: center;
    gap: 1rem;
    width: 100%;
  }

  .card-tags {
    display: inline-block;
    padding: 10px;
  }

  .tag {
    font-size: 0.6rem;
    font-weight: bold;
    padding: 4px;
    background-color: #b8d432;
    border-radius: 5px;
    color: rgb(24 24 27);;
  }