html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #2c2c2c;
  background-color: #fffdf9;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  color: #1f1f1f;
  line-height: 1.3;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
  text-align: center;
}

.subtitle {
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
  color: #777;
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  border-bottom: 2px solid #f2d27f;
  display: inline-block;
  padding-bottom: 0.3rem;
}

h3 {
  font-size: 1.3rem;
  margin-top: 1.2rem;
  color: #333;
}

.info-section {
  background: #fff6e8;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.recipe-info {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row on large screens */
}

.info-item {
  background: #ffffff;
  padding: 0.8rem;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  text-align: center;
}

.info-item strong {
  display: block;
  font-weight: 600;
  color: #d48c00;
}

.info-item span {
  font-size: 0.95rem;
  color: #555;
}

ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  padding-left: 0.5rem;
}

ul li {
  margin: 0.4rem 0;
}

img {
  max-width: 100%;
  border-radius: 12px;
  margin-top: 0.8rem;
}

figure {
  margin: 2rem 0;
  text-align: center;
}

figcaption {
  font-style: italic;
  font-size: 0.9rem;
  color: #777;
  margin-top: 0.4rem;
}

.highlight {
  background-color: #fff8e1;
  border-left: 5px solid #f1c232;
  padding: 1rem;
  margin: 1rem 0;
  font-weight: 500;
}

.step {
  margin-bottom: 2rem;
}

.step h3 {
  color: #d48c00;
}

.step p {
  margin-top: 0.5rem;
}

.step img {
  max-width: 100%;
  border-radius: 10px;
  margin: 0.8rem auto;
  display: block;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tips {
  list-style: square;
  margin-left: 1.5rem;
}

footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 1.8rem;
  }
  .recipe-info {
    grid-template-columns: 1fr;
  }
  .step img {
    max-width: 100%;
  }
  figcaption {
    font-size: 0.85rem;
  }
}

@media (min-width: 601px) and (max-width: 960px) {
  body {
    font-size: 17px;
  }
  .recipe-info {
    grid-template-columns: repeat(2, 1fr);
  }
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .step img {
    max-width: 90%;
  }
}

@media (min-width: 961px) {
  body {
    font-size: 18px;
  }
  .recipe-info {
    grid-template-columns: repeat(3, 1fr);
  }
  }
