.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;
  }
}
.trix-content > :not(div), .trix-content > div > :not(br),
.trix-content .attachment,
.trix-content .attachment-gallery {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
.trix-content h2 {
  margin-top: 1.1764705882em;
  margin-bottom: 0.5882352941em;
}
.trix-content h3 {
  margin-top: 1.5384615385em;
  margin-bottom: 0.7692307692em;
}
.trix-content > :first-child, .trix-content > div:first-child > :first-child {
  margin-top: 0;
}
.trix-content .attachment-gallery .attachment {
  margin-top: 0;
  margin-bottom: 0;
}
.trix-content > div > br + br {
  line-height: 1.5em;
}
.trix-content h2 {
  font-size: 1.7em;
}
.trix-content h3 {
  font-size: 1.3em;
}
.trix-content blockquote {
  margin-left: 1.5em;
  margin-right: 1.5em;
  font-weight: bold;
  font-style: italic;
}
.trix-content pre {
  display: block;
  width: unset;
  margin-left: 1.5em;
  margin-right: 1.5em;
}

.trix-content {
  padding: 0 2rem;
}
.trix-content .attachment {
  margin-left: -2rem;
  margin-right: -2rem;
}
.trix-content .attachment img {
  width: 100%;
  height: auto;
}
.trix-content .attachment-gallery {
  margin-left: calc(-2rem + 0.75em);
  margin-right: calc(-2rem + 0.75em);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9em, 1fr));
  gap: 0.75em;
  grid-gap: 0.75em;
}
.trix-content .attachment-gallery .attachment {
  margin: 0;
}
.trix-content .attachment-gallery .attachment img {
  height: 9em;
  -o-object-fit: cover;
     object-fit: cover;
}
.trix-content blockquote {
  border-left: 4px solid #D60D47;
  padding-left: 0.75em;
  font-weight: inherit;
  font-style: normal;
}

.social-sharing-list > ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 2rem;
  height: 1.5rem;
  width: 100%;
  position: relative;
  list-style: none;
}
.social-sharing-list > ul > li {
  display: block;
  position: relative;
  height: 100%;
}
.social-sharing-list > ul > li > a {
  display: block;
  height: 100%;
  width: auto;
  position: relative;
}
.social-sharing-list > ul > li > a > svg {
  display: block;
  height: 100%;
  position: relative;
}
.social-sharing-list > ul > li > a > svg > path {
  fill: #D60D47;
}

@media (min-width: 1200px) {
  .social-sharing-list > ul {
    justify-content: flex-start;
    padding: 0;
  }
  .social-sharing-list > ul a:hover > svg > path {
    fill: #342020;
  }
}
main .social-sharing-list {
  margin-top: 2.4em;
}
main .recipe-details {
  margin: 3em auto;
  max-width: 21em;
  padding: 3em;
  font-size: 0.8em;
}
main .recipe-details dl {
  margin-bottom: 1.4em;
}
main .recipe-details dl div, main .recipe-details dl::after {
  border-bottom: 1px solid #D60D47;
  min-height: 1.4em;
}
main .recipe-details dl div + div, main .recipe-details dl::after {
  margin-top: 0.4em;
}
main .recipe-details dl .difficulty {
  text-transform: uppercase;
}
main .recipe-details dl::after {
  content: "";
  display: block;
}
main .recipe-details dl dt {
  display: inline;
  font-weight: inherit;
  color: #D60D47;
  text-transform: uppercase;
}
main .recipe-details dl dt::after {
  content: ":";
  color: #030303;
}
main .recipe-details dl dd {
  display: inline;
}
main .recipe-details .ingredients h2 {
  margin-bottom: 0.2em;
  font-size: 1.1em;
  font-family: "Voltaire", sans-serif;
  font-weight: inherit;
  text-transform: uppercase;
}
main .recipe-details .ingredients ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
main .recipe-details .ingredients ol li {
  position: relative;
  padding-left: 0.6em;
}
main .recipe-details .ingredients ol li::before {
  content: "- ";
  position: absolute;
  left: 0;
}
main .preparation {
  margin-top: 3em;
}
main .preparation > h2 {
  margin-bottom: 1em;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}
main .preparation > h2::before, main .preparation > h2::after {
  flex: 1 0 0;
  height: 4px;
  background: #030303;
  content: "";
}
main .preparation > h2::before {
  margin-right: 1em;
}
main .preparation > h2::after {
  margin-left: 1em;
}
main .related-recipes {
  margin-top: 4em;
}

@media (min-width: 900px) {
  main {
    display: flex;
    flex-flow: column nowrap;
  }
  main h2 {
    font-size: 2.3em;
  }
  main .social-sharing-list {
    margin-top: 5.75rem;
    padding: 0 calc(25vw - 12rem);
  }
  main .recipe-details {
    margin-top: 6em;
    min-height: 20em;
    max-width: none;
    padding: 2em;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
  }
  main .recipe-details dl {
    order: 1;
    margin: 0;
    min-width: 16em;
  }
  main .recipe-details dl div {
    border-width: 2px;
  }
  main .recipe-details dl div + div {
    margin-top: 0.6em;
  }
  main .recipe-details dl:after {
    display: none;
  }
  main .recipe-details::before {
    order: 2;
    align-self: stretch;
    flex: 0 0 2px;
    content: "";
    margin: 0 2em;
    background: #D60D47;
  }
  main .recipe-details .ingredients {
    order: 3;
  }
  main .recipe-details .ingredients h2 {
    margin-bottom: 0.3em;
    font-size: 1.3em;
  }
  main .recipe-details .ingredients ol {
    width: 20em;
  }
  main .recipe-details .ingredients ol li {
    max-width: 16em;
  }
  main .recipe-details .ingredients ol.two-columns {
    width: 28em;
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 2em;
         column-gap: 2em;
  }
  main .preparation {
    padding: 0 calc(25vw - 12rem);
  }
  main .preparation .trix-content {
    padding: 0;
  }
  main .preparation .trix-content .attachment, main .preparation .trix-content .attachment-gallery {
    margin: 3em 0;
  }
  main .preparation .trix-content .attachment-gallery .attachment {
    margin-top: 0;
    margin-bottom: 0;
  }
  main .preparation .trix-content .attachment-gallery {
    grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
  }
  main .preparation .trix-content .attachment-gallery .attachment img {
    height: 18em;
  }
  main .preparation .trix-content blockquote {
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 24em);
    min-width: 24em;
  }
  main .related-recipes {
    margin-top: 6em;
  }
}
#newsletter-popup {
  position: fixed;
  display: none;
}

.display-popup {
  margin: 5em auto 0;
  min-width: -moz-min-content;
  min-width: min-content;
  width: calc(100% - 4rem);
  max-width: 25em;
  height: 25rem;
  padding: 3em 1.5em;
  display: grid !important;
  position: fixed;
  bottom: -1.5rem;
  right: 0;
  left: 0;
  z-index: 3;
  grid-template: "img " min-content "p" min-content "link" min-content;
  grid-gap: 1.5em;
  gap: 2rem;
  align-items: center;
}
.display-popup .close-popup {
  position: absolute;
  height: 1.8rem;
  width: 1.8rem;
  display: block;
  content: "";
  top: -2.5rem;
  right: 0;
  background-color: white;
  border: 2px solid #D60D47;
  border-radius: 45px;
}
.display-popup .close-popup > img {
  height: 0.6rem;
  width: 0.6rem;
  position: relative;
  margin: calc(50% - 0.3rem) auto;
}
.display-popup img {
  grid-area: img;
  justify-self: right;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  width: 7em;
  height: 7em;
  -o-object-fit: cover;
     object-fit: cover;
}
.display-popup p {
  grid-area: p;
  justify-self: center;
  margin: 0;
  font-size: 1.6em;
  line-height: 1.3;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #D60D47;
  text-align: center;
}
.display-popup .boxed-button {
  grid-area: link;
  justify-self: center;
}

.opening-animation {
  animation: slide-in 500ms;
}

.close-animation {
  animation: slide-out 500ms;
}

@keyframes slide-in {
  0% {
    bottom: -150%;
  }
  100% {
    bottom: -2rem;
  }
}
@keyframes slide-out {
  0% {
    bottom: -2rem;
  }
  100% {
    bottom: -100%;
  }
}
body.secondary-color-palette .display-popup {
  border-color: #342020 !important;
  background-image: url("/build/images/circle-dark-brown.aa238dba.svg"), url("/build/images/circle-dark-brown.aa238dba.svg"), url("/build/images/circle-dark-brown.aa238dba.svg"), url("/build/images/circle-dark-brown.aa238dba.svg") !important;
}
body.secondary-color-palette .display-popup p {
  color: #342020;
}

@media (min-width: 900px) {
  .display-popup {
    padding: 1.5em;
    bottom: -2rem;
    right: 3rem;
    width: 20rem;
    height: 27rem;
    margin-right: 0;
    margin-bottom: 0;
  }
  .display-popup .close-popup {
    height: 1.5rem;
    width: 1.5rem;
    top: -2rem;
  }
  .display-popup .close-popup > img {
    height: 0.5rem;
    width: 0.5rem;
    margin: calc(50% - 0.25rem) auto;
  }
  .display-popup p {
    font-size: 1.4em;
  }
}
