.recipe-card {
    background-color: white;
    border-radius: 10px;
    display: inline-block;
    width: 310px;
    height: 300px;
    text-decoration: none;
    position: relative;
  }
  
  .recipe-card-image-container {
    width: 310px;
    height: 150px;
    object-fit: cover;
    margin: 0px;
    padding: 0px;
  
    img {
      width: 310px;
      height: 150px;
      object-fit: cover;
      margin: 0px;
      padding: 0px;
    }
  }
  
  .recipe-card-infos-container {
    width: 100%;
    margin: 0px;
    padding-left: 25px;
    padding-right: 25px;
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 11.75px;
    margin-top: -52px;
    
  .recipe-text-category {
        
    color: #FFF;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-family: "space-grotesk", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    }
  
    p {
      max-width: 480px;
      color: #FFF;
      text-align: center;
      text-wrap: pretty;
      font-family: Lobster;
      font-size: 30px;
      font-style: normal;
      font-weight: 400;
      line-height: 34px;

      /* Limit recipe title to 3 lines with ellipsis on mobile */
      display: -webkit-box;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  
  .recipe-card-infos-container.text-white p {
    color: white;
  }
  
  .recipe-card-date-container {
    background-image: url("../../assets/images/Italy-mini-flag.png");
    width: 81.472px;
    height: 4.255px;
    flex-shrink: 0;
  }
  
  .recipe-card-overlay {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 80px;
    background: #FFF;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    gap: 10px;
  }
  
  .recipe-card-overlay-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
  }
  
  .recipe-card-overlay-item img {
    width: 24px;
    height: 28.591px;
    flex-shrink: 0;
  }
  
  .recipe-card-overlay-item p {
    color: #707070;
    font-family: "space-grotesk", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
  }
  
  .recipe-card-separator {
    width: 1px;
    height: 50px;
    background: #D5D5D5;
    flex-shrink: 0;
  }
  
  @media screen and (min-width: 768px) {
    .recipe-card {
      width: 622px;
      height: 399px;
    }
  
    .recipe-card-image-container {
      width: 400px;
      height: 180px;
  
      img {
        width: 400px;
        height: 180px;
      }
    }

    
    

    .recipe-card-infos-container {
        padding-left: 40px;
        padding-right: 40px;
        width: 100%;
        margin: 0px;
        padding-top: 18px;
        display: flex;
        align-items: center;
        flex-direction: column;
        row-gap: 11.75px;
        margin-top: -5px;
        
      .recipe-text-category {
            
        color: #FFF;
        text-align: center;
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        font-family: "space-grotesk", sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        }
      
        p {
          max-width: 480px;
          color: #FFF;
          text-align: center;
          text-wrap: pretty;
          font-family: Lobster;
          font-size: 36px;
          font-style: normal;
          font-weight: 400;
          line-height: 40px;
        }
      }
  
    .recipe-card-overlay {
      width: 260px;
      height: 80px;
      bottom: -40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: center;
      gap: 10px;
    }

    .recipe-card-overlay-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        flex: 1;
      }
      
      .recipe-card-overlay-item img {
        width: 24px;
        height: 28.591px;
        flex-shrink: 0;
      }
      
      .recipe-card-overlay-item p {
        color: #707070;
        font-family: "space-grotesk", sans-serif;
        font-size: 13px;
        font-weight: 700;
        line-height: normal;
        text-align: center;
      }
      
      .recipe-card-separator {
        width: 1px;
        height: 50px;
        background: #D5D5D5;
        flex-shrink: 0;
      }

      .recipe-single-card-image-container:hover img{
        transform: scale(1.1);
    }
  }