/* recettes.css - page recette */
.recipe-header{
  background:linear-gradient(90deg, rgba(255,107,159,0.06), rgba(255,184,107,0.04));
  padding:18px;
  text-align:center;
  border-bottom:1px solid rgba(255,255,255,0.03);
}

.recipe-header .back{
  position:absolute;
  left:14px;
  top:18px;
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
}

.recipe-container{
  max-width:900px;
  margin:20px auto;
  padding:0 18px 60px 18px;
}

.gallery{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:10px;
  margin-bottom:18px;
}

.gallery img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
  box-shadow:0 6px 20px rgba(2,6,23,0.6);
}

.btn{
  display:inline-block;
  background:var(--primary);
  color:#fff;
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 4px 12px rgba(2,6,23,0.4);
  transition:background 0.3s;
}

.recipe-meta{ display:flex; gap:20px; flex-wrap:wrap; color:#dfe9f6; margin-bottom:18px; }

.ingredients, .etapes, .notes{
  background: rgba(255,255,255,0.02);
  padding:14px;
  border-radius:10px;
  margin-bottom:12px;
}

.ingredients ul{ margin:0; padding-left:18px; }
.etapes ol{ margin:0; padding-left:18px; }

/* Smaller screens */
@media(max-width:900px){
  .gallery{ grid-template-columns:1fr; }
  .gallery img{ height:320px; }
}
