/* Sostituisci i valori qui sotto con i tuoi colori reali */
:root {
    --black: #000000;
    --gray:  #777777;
    --white: #ffffff;
    --red:   #ff4c00;
    --redLight: #fff1e557;
    --grayLight: #f0f0f0;
  }
  
  /* -------------------------------------
     STILE PRINCIPALE .course_list
  -------------------------------------- */
  .course_list {
    padding-bottom: 90px;
  }
  
  .course_list h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 71px;
    letter-spacing: 0.02em;
    color: var(--black);
    margin-bottom: 22px;
  }
  
  .course_list span.desc {
    font-size: 20px;
    font-weight: 400;
    line-height: 24.2px;
    letter-spacing: 0.02em;
    color: var(--gray);
    margin-bottom: 30px;
    display: block;
  }
  
  .course_list p.attention {
    font-size: 20px;
    font-weight: 400;
    line-height: 24.2px;
    letter-spacing: 0.02em;
    color: var(--black);
    margin-bottom: 30px;
  }
  
  .course_list p.attention a {
    color: var(--red);
    font-weight: 700;
  }
  
  /* -------------------------------------
     .filter_wrapper
  -------------------------------------- */
  .course_list .filter_wrapper {
    margin-bottom: 50px;
  }
  
  .course_list .filter_wrapper select {
    display: none;
  }
  
  .course_list .filter_wrapper button {
    padding: 15px 20px;
    border-radius: 50px;
    margin-right: 20px;
    border: 1px solid var(--black);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: var(--black);
    outline: none;
    background-color: var(--white);
    transition: 0.3s;
  }
  
  .course_list .filter_wrapper button.culturali {
    border-color: #DFE9F6;
  }
  .course_list .filter_wrapper button.culturali:hover,
  .course_list .filter_wrapper button.culturali.active {
    background-color: #DFE9F6;
  }
  
  .course_list .filter_wrapper button.arti {
    border-color: #DC99EB;
  }
  .course_list .filter_wrapper button.arti:hover,
  .course_list .filter_wrapper button.arti.active {
    background-color: #DC99EB;
  }
  
  .course_list .filter_wrapper button.lingue {
    border-color: #20C9FF;
  }
  .course_list .filter_wrapper button.lingue:hover,
  .course_list .filter_wrapper button.lingue.active {
    background-color: #20C9FF;
  }
  
  .course_list .filter_wrapper button.physicology {
    border-color: #9EEBB1;
  }
  .course_list .filter_wrapper button.physicology:hover,
  .course_list .filter_wrapper button.physicology.active {
    background-color: #9EEBB1;
  }
  
  .course_list .filter_wrapper button.informatica {
    border-color: #E8BA64;
  }
  .course_list .filter_wrapper button.informatica:hover,
  .course_list .filter_wrapper button.informatica.active {
    background-color: #E8BA64;
  }
  
  .course_list .filter_wrapper button.laboratori {
    border-color: #F8EC0D;
  }
  .course_list .filter_wrapper button.laboratori:hover,
  .course_list .filter_wrapper button.laboratori.active {
    background-color: #F8EC0D;
  }
  
  .course_list .filter_wrapper button.dances {
    border-color: #EB9393;
  }
  .course_list .filter_wrapper button.dances:hover,
  .course_list .filter_wrapper button.dances.active {
    background-color: #EB9393;
  }
  
  /* -------------------------------------
     .course_card
  -------------------------------------- */
  .course_list .course_card {
    border: 1px solid #4E586033;
    border-radius: 18px;
    height: calc(100% - 24px);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 30px 20px 20px;
  }
  
  /* .course_card .top */
  .course_list .course_card .top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .course_list .course_card .top .number {
    height: 39px;
    width: 39px;
    min-width: 39px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--grayLight);
    border-radius: 50px;
    margin-right: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 26.72px;
    letter-spacing: 0.02em;
  }
  
  /* Colori per .number in base alla classe */
  .course_list .course_card .top .number.culturali {
    background-color: #DFE9F6;
  }
  .course_list .course_card .top .number.arti {
    background-color: #DC99EB;
  }
  .course_list .course_card .top .number.lingue {
    background-color: #20C9FF;
  }
  .course_list .course_card .top .number.physicology {
    background-color: #9EEBB1;
  }
  .course_list .course_card .top .number.informatica {
    background-color: #E8BA64;
  }
  .course_list .course_card .top .number.laboratori {
    background-color: #F8EC0D;
  }
  .course_list .course_card .top .number.dances {
    background-color: #EB9393;
  }
  
  .course_list .course_card .top .name {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.02em;
    color: var(--black);
  }
  
  /* .course_card .middle */
  .course_list .course_card .middle {
    height: 100%;
  }
  
  .course_list .course_card .middle .desc {
    height: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
  }
  
  /* .course_card .bottom */
  .course_list .course_card .bottom .details {
    margin: 10px 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--redLight);
    padding: 9px 13px;
    border-radius: 8px;
  }

  .course_list .image-container {
    text-align: center; /* Centrare l'immagine */
    margin: 20px 0; /* Spaziatura sopra e sotto */
  }
  
  .course_list .custom-image {
    max-width: 100%; /* Adatta l'immagine alla larghezza del contenitore */
    height: auto; /* Mantiene le proporzioni */
    border-radius: 8px; /* Bordo arrotondato opzionale */
  }
  
  .course_list .course_card .bottom .details .lessons {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    /* color: var(--red); */
    text-align: center;
    padding-right: 25px;
    border-right: 2px solid var(--grayLight);
  }
  
  .course_list .course_card .bottom .details .lessons span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--black);
  }
  
  .course_list .course_card .bottom .details .lessons.price {
    border-right: 0;
    border-left: 2px solid var(--grayLight);
    padding-right: 0;
    padding-left: 25px;
  }
  
  .course_list .course_card .bottom .details .date_time {
    padding-left: 0px;
  }
  
  .course_list .course_card .bottom .details .date_time .from {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-transform: capitalize;
    margin-bottom: 5px;
    color: var(--black);
  }
  
  .course_list .course_card .bottom .details .date_time .from span {
    display: block;
    margin-left: 5px;
    font-weight: 700;
  }
  
  .course_list .course_card .bottom .details .date_time .day {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--black);
  }
  
  .course_list .course_card .bottom .details .date_time .day .time {
    padding-left: 2px;
  }
  
  .course_list .course_card .bottom .action {
    /* background-color: #b0f2c096; */
    padding: 3px;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
  } 

  .course_list .course_card .bottom .action:hover {
    background-color: #ff992438;
  } 

  .course_list .course_card .bottom .action a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .course_list .course_card .bottom .action .text {
    font-size: 19px;
    font-weight: 700;
    line-height: 20px;
    color: #50575e;
  }
  
  .course_list .course_card .bottom .action button {
    background-color: transparent;
    border: 0;
    outline: none;
    padding: 0;
    width: 24px;
    min-width: 24px;
  }
  
  .course_list .course_card .bottom .action button img {
    width: 100%;
  }
  
  /* -------------------------------------
     MEDIA QUERIES
  -------------------------------------- */
  
  /* Da 1025px a 1599px */
  @media (min-width: 1025px) and (max-width: 1599px) {
    .course_list {
      padding-bottom: 40px;
    }
  
    .course_list h2 {
      font-size: 32px;
      line-height: 38px;
    }
  
    .course_list span.desc {
      font-size: 16px;
      line-height: 20px;
      margin-bottom: 14px;
    }
  
    .course_list p.attention {
      font-size: 16px;
      line-height: 20px;
    }
  
    .course_list .filter_wrapper {
      margin-bottom: 30px;
    }
  
    .course_list .filter_wrapper button {
      padding: 8px 18px;
      margin-right: 10px;
      margin-bottom: 10px;
    }
  
    .course_list .course_card {
      padding: 15px;
    }
  
    .course_list .course_card .top {
      margin-bottom: 15px;
    }
  
    .course_list .course_card .top .number {
      height: 28px;
      width: 28px;
      min-width: 28px;
    }
  
    .course_list .course_card .top .name {
      font-size: 16px;
      line-height: 22px;
    }
  
    .course_list .course_card .middle .desc {
      font-size: 14px;
      line-height: 20px;
    }
  
    .course_list .course_card .bottom .details .lessons {
      font-size: 14px;
      line-height: 18px;
      padding-right: 15px;
    }
  
    .course_list .course_card .bottom .details .lessons span {
      font-size: 12px;
    }
  
    .course_list .course_card .bottom .details .date_time {
      padding-left: 15px;
    }
  
    .course_list .course_card .bottom .action .text {
      font-size: 15px;
      line-height: 14px;
      font-weight: 500;
    }
  
    .course_list .course_card .bottom .action button {
      width: 18px;
      min-width: 18px;
    }
  }
  
  /* max-width: 1024px */
  @media (max-width: 1024px) {
    .course_list {
      padding-bottom: 40px;
    }
  
    .course_list h2 {
      font-size: 32px;
      line-height: 38px;
    }
  
    .course_list span.desc {
      font-size: 16px;
      line-height: 20px;
      margin-bottom: 14px;
    }
  
    .course_list p.attention {
      font-size: 16px;
      line-height: 20px;
    }
  
    .course_list .filter_wrapper {
      margin-bottom: 30px;
    }
  
    .course_list .filter_wrapper button {
      padding: 8px 18px;
      margin-right: 10px;
      margin-bottom: 10px;
    }
  
    .course_list .course_card {
      padding: 15px;
    }
  
    .course_list .course_card .top {
      margin-bottom: 15px;
    }
  
    .course_list .course_card .top .number {
      height: 28px;
      width: 28px;
      min-width: 28px;
    }
  
    .course_list .course_card .top .name {
      font-size: 16px;
      line-height: 22px;
    }
  
    .course_list .course_card .middle .desc {
      font-size: 14px;
      line-height: 20px;
    }
  
    .course_list .course_card .bottom .details .lessons {
      font-size: 18px;
      line-height: 22px;
      padding-right: 15px;
    }
  
    .course_list .course_card .bottom .details .date_time {
      padding-left: 15px;
    }
  
    .course_list .course_card .bottom .action .text {
      font-size: 15px;
      line-height: 14px;
      font-weight: 500;
    }
  
    .course_list .course_card .bottom .action button {
      width: 18px;
      min-width: 18px;
    }
  }
  
  /* max-width: 992px */
  @media (max-width: 992px) {
    .course_list {
      padding-bottom: 0px;
    }
  
    .course_list h2 {
      font-size: 30px;
      line-height: 42px;
    }
  
    .course_list span.desc {
      font-size: 22px;
      line-height: 26px;
      font-weight: 700;
      margin-bottom: 26px;
    }
  
    .course_list p.attention {
      font-size: 18px;
      line-height: 22px;
    }
  
    .course_list .filter_wrapper {
      margin-bottom: 20px;
    }
  
    .course_list .filter_wrapper button {
      padding: 8px 18px;
      margin-right: 10px;
      margin-bottom: 10px;
    }
  
    .course_list .course_card {
      padding: 18px;
    }
  
    .course_list .course_card .top {
      margin-bottom: 15px;
    }
  
    .course_list .course_card .top .number {
      height: 28px;
      width: 28px;
      min-width: 28px;
      font-size: 14px;
      line-height: 24px;
    }
  
    .course_list .course_card .top .name {
      font-size: 18px;
      line-height: 22px;
    }
  
    .course_list .course_card .middle .desc {
      font-size: 14px;
      line-height: 20px;
    }
  
    .course_list .course_card .bottom .details .lessons {
      font-size: 20px;
      line-height: 24px;
      padding-right: 20px;
    }
    .course_list .course_card .bottom .details .lessons span {
      font-size: 16px;
      line-height: 20px;
    }
  
    .course_list .course_card .bottom .details .date_time {
      padding-left: 15px;
      font-size: 14px;
      line-height: 16px;
    }
  
    .course_list .course_card .bottom .action .text {
      font-size: 15px;
      line-height: 16px;
      font-weight: 700;
    }
  
    .course_list .course_card .bottom .action button {
      width: 20px;
      min-width: 20px;
    }
  }
  
  /* max-width: 540px */
  @media (max-width: 540px) {
    .course_list {
      padding-bottom: 90px;
    }
  
    .course_list .filter_wrapper {
      margin-bottom: 20px;
    }
  
    .course_list .filter_wrapper button {
      display: none;
    }
  
    .course_list .filter_wrapper select {
      width: 100%;
      padding: 15px 43px 15px 20px;
      border-radius: 50px;
      display: block;
      appearance: none;
      outline: none;
      font-size: 16px;
      line-height: 20px;
      font-weight: 600;
      background-image: url('./images/down.svg');
      background-repeat: no-repeat;
      background-position: calc(100% - 20px) 50%;
      background-size: 15px;
      border: 0;
      background-color: #DFE9F6;
    }
  
    .course_list .filter_wrapper select.culturali {
      background-color: #DFE9F6;
    }
    .course_list .filter_wrapper select.arti {
      background-color: #DC99EB;
    }
    .course_list .filter_wrapper select.lingue {
      background-color: #20C9FF;
    }
    .course_list .filter_wrapper select.physicology {
      background-color: #9EEBB1;
    }
    .course_list .filter_wrapper select.informatica {
      background-color: #E8BA64;
    }
    .course_list .filter_wrapper select.laboratori {
      background-color: #F8EC0D;
    }
    .course_list .filter_wrapper select.dances {
      background-color: #EB9393;
    }
  
    .course_list .course_card {
      border: 1px solid #4E586033;
      border-radius: 18px;
      height: calc(100% - 24px);
      margin-bottom: 24px;
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      padding: 30px 20px 20px;
    }
  
    .course_list .course_card .top {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin-bottom: 20px;
    }
  
    .course_list .course_card .top .number {
      height: 39px;
      width: 39px;
      min-width: 39px;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: var(--grayLight);
      border-radius: 50px;
      margin-right: 10px;
      font-size: 16px;
      font-weight: 700;
      line-height: 26.72px;
      letter-spacing: 0.02em;
    }
  
    .course_list .course_card .top .number.culturali {
      background-color: #DFE9F6;
    }
    .course_list .course_card .top .number.arti {
      background-color: #DC99EB;
    }
    .course_list .course_card .top .number.lingue {
      background-color: #20C9FF;
    }
    .course_list .course_card .top .number.physicology {
      background-color: #9EEBB1;
    }
    .course_list .course_card .top .number.informatica {
      background-color: #E8BA64;
    }
    .course_list .course_card .top .number.laboratori {
      background-color: #F8EC0D;
    }
    .course_list .course_card .top .number.dances {
      background-color: #EB9393;
    }
  
    .course_list .course_card .top .name {
      font-size: 20px;
      font-weight: 700;
      line-height: 24px;
      letter-spacing: 0.02em;
      color: var(--black);
    }
  
    .course_list .course_card .middle {
      height: 100%;
    }
  
    .course_list .course_card .middle .desc {
      height: 100%;
      font-size: 16px;
      font-weight: 400;
      line-height: 22px;
    }
  
    .course_list .course_card .bottom .details {
      justify-content: space-between;
      align-items: center;
      flex-direction: column;
      padding: 9px 13px;
    }
  
    .course_list .course_card .bottom .details .lessons {
      padding-right: 0px;
      border-right: 0px solid var(--grayLight);
      border-bottom: 1px solid var(--grayLight);
      margin-bottom: 15px;
      padding-bottom: 10px;
      width: 100%;
    }
  
    .course_list .course_card .bottom .details .lessons.price {
      border-left: 0px solid var(--grayLight);
      border-top: 1px solid var(--grayLight);
      border-bottom: 0px solid var(--grayLight);
      padding-left: 0px;
      padding-top: 10px;
      margin-top: 15px;
    }
  
    .course_list .course_card .bottom .details .date_time {
      padding-left: 0px;
    }
  
    .course_list .course_card .bottom .details .date_time .from {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      font-size: 16px;
      font-weight: 400;
      line-height: 20px;
      text-transform: capitalize;
      margin-bottom: 5px;
      color: var(--black);
    }
  
    .course_list .course_card .bottom .details .date_time .from span {
      margin-left: 5px;
      font-weight: 700;
    }
  
    .course_list .course_card .bottom .details .date_time .day {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      font-size: 16px;
      font-weight: 400;
      line-height: 20px;
      color: var(--black);
    }
  }
  