.recipe-layout {
  display: flex;
  min-height: 100vh;
  background-color: #F7F7EA;
}

.sidebar {
  width: 260px;
  background-color: #FAEDCD;
  padding: 40px 20px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.recipe-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recipe-nav a {
  font-family: 'Short Stack', cursive;
  font-size: 1.1rem;
  color: #3b4a6b;
  font-weight: bold;
  transition: 0.3s;
}

.recipe-nav a:hover {
  color: #e98f3f;
}

.recipe-content {
  flex: 1;
  padding: 50px 40px;
}

.recipe-card {
  display: flex;
  flex-direction: row;
  gap: 30px;
  background: white;
  border-radius: 10px;
  margin-bottom: 50px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  align-items: center;
}

.recipe-card img {
  width: 220px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.recipe-card .text {
  flex: 1;
}

.recipe-card h3 {
  font-size: 1.6rem;
  font-family: 'Short Stack', cursive;
  color: #3b4a6b;
  margin-bottom: 15px;
}

.recipe-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: 'Open Sans', sans-serif;
  color: #333;
}

/* Responsive */
@media (max-width: 900px) {
  .recipe-layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: relative;
    top: 0;
  }

  .recipe-card {
    flex-direction: column;
    text-align: center;
  }

  .recipe-card img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
  }
}
