.header-pages {
  background-size: cover;
  width: 100%;
  height: 100%;
  background-position: center;
  padding-top: 73px;
  padding-bottom: 100px;
}

.header-pages::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: transparent;
  width: 100%;
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
  color: #666 !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #666 !important;
}

.box-recipe{
    background-color: #fff;
    border-radius: 25px;
}

.box-recipe .box-img{
    border: 1px solid #00000014;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.box-recipe .recipe-list-card-cover-wrap {
  overflow: hidden;
  line-height: 0;
}

.box-recipe .recipe-list-card-cover {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.box-recipe:hover .recipe-list-card-cover {
  transform: scale(1.1);
}

.recipe-list-card-thumbs {
  flex-shrink: 0;
  flex-wrap: wrap;
  padding: 0.35rem;
  background: #fff;
}

.recipe-list-card-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #00000014;
  flex-shrink: 0;
}

.box-recipe .box-text .title{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.box-recipe .box-text .list-commands li p{
    color: #666;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.box-recipe .box-text .list-commands li:last-child{
    padding-bottom: 0 !important;
}

.description .box-description {
  position: relative;
}

.box-description .text-content {
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.box-description .fade-overlay {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, #f8f7f4, rgb(255 255 255 / 0%));
  display: none;
  pointer-events: none;
}

.box-description .btn-more,
.box-description .btn-less {
  display: none;
  margin-top: 5px;
  border: none;
  cursor: pointer;
}

.list-commands li:nth-child(n+5) {
  display: none;
}

.box-recipe .box-img {
  overflow: hidden;
  border-radius: 25px;
}

@media (min-width: 768px) and (max-width: 992px) {
    .header-pages {
      padding-top: 100px;
    }
  }
  
  @media (min-width: 576px) and (max-width: 768px) {
    .header-pages {
      padding-top: 100px;
    }
  }

@media (max-width: 576px){
    .header-pages {
        padding-top: 0px;
        padding-bottom: 65px;
    }

    .box-recipe__media-col {
        display: flex;
    }

    .box-recipe .box-img{
        border-radius: 13px;
        flex: 1;
        min-height: 0;
        width: 100%;
        height: 100%;
    }

    .box-recipe .recipe-list-card-cover-wrap {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
    }

    .box-recipe .recipe-list-card-cover{
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        object-fit: cover;
    }

    .recipe-list-card-thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem;
    }

    .recipe-list-card-thumb {
        width: 28px;
        height: 28px;
    }

    .box-recipe .box-text{
        flex-direction: column;
        display: flex;
        justify-content: space-between;
        height: 100%;
    }

    .box-recipe{
        border-radius: 15px;
    }

    .box-recipe .box-text .title{
        font-size: 14px !important;
    }

    .box-recipe .box-text .list-commands li p{
        font-size: 10px;
    }

    .box-recipe .box-text .link-more{
        font-size: 13px;
        margin-right: auto;
    }
}
