.recipes-list {
  margin: 0;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: 1fr;
  gap: 2rem;
  grid-gap: 2rem;
  list-style: none;
}
.recipes-list li {
  margin: 0 auto;
  width: 100%;
  max-width: 26em;
}
.recipes-list li > a {
  text-decoration: none;
}
.recipes-list article {
  height: 100%;
  min-height: 6em;
  display: grid;
  grid-template: "image title title     " 1fr "image time  difficulty" min-content/min-content 1fr;
  gap: 1rem;
  grid-gap: 1rem;
  background: white;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.14);
}
.recipes-list article img {
  grid-area: image;
  align-self: stretch;
  width: 6em;
  -o-object-fit: cover;
     object-fit: cover;
}
.recipes-list article h1, .recipes-list article h2, .recipes-list article h3, .recipes-list article h4, .recipes-list article h5, .recipes-list article h6 {
  grid-area: title;
  margin: calc(1rem - 0.2em) 0 0 0;
  max-width: 8em;
  font-size: 1.3em;
}
.recipes-list article .time {
  grid-area: time;
}
.recipes-list article .time svg {
  margin-right: 0.3em;
  height: 1.2em;
  fill: #D60D47;
  transform: translateY(-10%);
}
.recipes-list article .difficulty {
  grid-area: difficulty;
  text-transform: uppercase;
}
.recipes-list article .time, .recipes-list article .difficulty {
  font-size: 0.8em;
  margin: 0 1em 0.5em 0;
}

@media (min-width: 1100px) {
  .recipes-list {
    grid-template-columns: repeat(3, 16em);
    grid-gap: 3em 4em;
    gap: 3em 4em;
    justify-content: center;
  }
  .recipes-list li {
    max-width: none;
  }
  .recipes-list article {
    grid-template: ".    .      .         " auto "time .      difficulty" min-content "title title title     " 1fr/max-content 1fr max-content;
    grid-gap: 0;
    gap: 0;
    background: none;
    box-shadow: none;
  }
  .recipes-list article > * {
    z-index: 2;
  }
  .recipes-list article img {
    grid-area: unset;
    grid-row: 1/3;
    grid-column: 1/-1;
    width: 16em;
    height: 16em;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.14);
    z-index: 0;
  }
  .recipes-list article::before {
    grid-row: 2;
    grid-column: 1/-1;
    content: "";
    background: rgba(90, 6, 30, 0.7);
    z-index: 1;
  }
  .recipes-list article .time, .recipes-list article .difficulty {
    margin: 0.8em 1em;
    color: white;
  }
  .recipes-list article .time svg {
    fill: white;
  }
  .recipes-list article h1, .recipes-list article h2, .recipes-list article h3, .recipes-list article h4, .recipes-list article h5, .recipes-list article h6 {
    max-width: none;
    padding: 0 1em;
    font-size: 1.1em;
    text-align: center;
  }
}
.related-recipes {
  position: relative;
  padding: 2rem 0;
  padding-top: 3em;
  background-image: url("/build/images/background-marmo-small.09c388bc.jpg");
  background-position: center;
  background-size: cover;
}
.related-recipes h2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 1em;
  text-align: center;
  transform: translateY(-50%);
}

@media (min-width: 400px) {
  .related-recipes {
    background-image: url("/build/images/background-marmo-large.ebad38fb.jpg");
  }
}
@media (min-width: 1100px) {
  .related-recipes {
    padding: 4em 0;
  }
}
main .header-with-image {
  --mobile-title-font-size: 1.6em;
}
main .product-images {
  margin: 1.5em 0 2.5em 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
}
main .product-images img {
  width: auto;
  height: 36vw;
}
main .product-images img + img {
  margin-left: 0.5em;
}

@media (min-width: 900px) {
  main h2 {
    font-size: 2.3em;
  }
  main .product-images {
    margin: 4em 0;
  }
}
