.recipe-header {
  margin: 30px 0;
  padding: 30px;
background: #c2ddf4;
  border-top: 3px solid #2a7ae2;
  border-bottom: 1px solid #e8e8e8;
}

.recipe-description {
  margin: 0 0 20px;
  font-size: 21px;
  line-height: 1.4;
}

.recipe-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 30px;
  margin-bottom: 20px;
}

.recipe-fact {
  display: flex;
  flex-direction: column;
}

.recipe-label {
  margin-bottom: 3px;
  color: #828282;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recipe-value {
  color: #333333;
  font-size: 19px;
  line-height: 1.3;
}

.recipe-secondary {
  padding-top: 15px;
  border-top: 1px solid #e8e8e8;
  color: #525252;
  font-size: 15.75px;
}

.recipe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.recipe-button {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #2a7ae2;
  background: #f5f5f5;
  color: #2a7ae2;
  font-family: "Zilla Slab", serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.recipe-button:visited {
  color: #2a7ae2;
}

.recipe-button:hover {
  background: #2a7ae2;
  color: #ffffff;
  text-decoration: none;
}

.recipe-print-button {
  appearance: none;
  -webkit-appearance: none;
}

.recipe-date {
  color: #828282;
  font-size: 15.75px;
}

@media screen and (max-width: 600px) {
  .recipe-header {
    padding: 15px;
  }

  .recipe-description {
    font-size: 19px;
  }

  .recipe-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 20px;
  }

  .recipe-actions {
    display: block;
  }

  .recipe-button {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
}
.recipe-print-card {
  display: none !important;
}

@media print {

  /* Retirer les éléments généraux du site */
  header,
  footer,
  nav {
    display: none !important;
  }

  /* Dans la zone principale, ne garder que la fiche imprimable */
  .page-content .wrapper > *:not(.recipe-print-card) {
    display: none !important;
  }

  /* Afficher la fiche */
  .recipe-print-card {
    display: block !important;
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 11pt;
    line-height: 1.4;
  }

  .recipe-print-card h1 {
    margin-bottom: 0.25em;
  }

  .recipe-print-description {
    margin-top: 0;
    margin-bottom: 1em;
  }

  .recipe-print-image {
    display: block;
    max-width: 100%;
    max-height: 260px;
    width: auto;
    height: auto;
    margin: 0 auto 1.5em;
  }

  .recipe-print-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1em 2em;
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid #999;
  }

  .recipe-print-facts > div {
    min-width: 90px;
  }

  .recipe-print-card h2 {
    margin-top: 1.4em;
    margin-bottom: 0.5em;
  }

  .recipe-print-card h3 {
    margin-top: 1em;
    margin-bottom: 0.25em;
  }

  .recipe-print-card ul,
  .recipe-print-card ol {
    margin-top: 0.25em;
  }

  .recipe-print-card li {
    margin-bottom: 0.3em;
  }

  .recipe-print-credit {
    margin-top: 2em;
    padding-top: 0.75em;
    border-top: 1px solid #999;
    font-size: 9pt;
  }

}