/* ===========================
   ARTICOLO RICETTA
   =========================== */

.ricetta {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Titolo */
.ricetta h1 {
  font-size: 2.1rem;
  margin-bottom: 12px;
  color: #5a2d82;
}

/* Immagine cover */
.ricetta img {
  width: 100%;
  border-radius: 14px;
  margin: 16px 0 20px;
}

/* Excerpt */
.ricetta .excerpt {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* ===========================
   BOX META INFO
   =========================== */

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.meta li {
  background: #f4eef9;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #4a2b63;
  box-shadow: inset 0 0 0 1px rgba(90,45,130,0.08);
}

/* ===========================
   SEZIONI
   =========================== */

.ricetta h2 {
  margin-top: 32px;
  margin-bottom: 14px;
  font-size: 1.4rem;
  color: #5a2d82;
  border-left: 4px solid #c39bd3;
  padding-left: 12px;
}

/* Ingredienti */
.ingredienti {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ingredienti li {
  padding: 10px 14px;
  margin-bottom: 8px;
  background: #faf7fd;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-size: 0.95rem;
}

/* ===========================
   PROCEDIMENTO
   =========================== */

.procedimento {
  counter-reset: step;
  padding-left: 0;
  list-style: none;
}

.procedimento li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 54px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  line-height: 1.6;
}

.procedimento li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  background: #7b3fa0;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* ===========================
   CONSIGLI & CONSERVAZIONE
   =========================== */

.ricetta ul {
  padding-left: 18px;
}

.ricetta ul li {
  margin-bottom: 8px;
}

.ricetta p {
  line-height: 1.7;
  color: #444;
}

/* ===========================
   MOBILE
   =========================== */

@media (max-width: 600px) {
  .ricetta {
    padding: 18px;
  }

  .ricetta h1 {
    font-size: 1.7rem;
  }

  .meta {
    grid-template-columns: 1fr 1fr;
  }
}
