/* Single Recipe */
.recipe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.recipe-header__left {
  flex: 1;
  max-width: 47rem;
}

.recipe-header__right {}

.recipe-intro {}

.recipe-intro__title {
  color: #c00d1e;
}

.recipe-intro__tagline {
  color: #828282;
}

.recipe-save-button {
  border: none;
  background: none;
  font-size: 3rem;
  color: #c00d1e;
}

.recipe-save-button.is-active {
  fill: #c00d1e;
}

/* Ingredients */
.ingredients-panel {
  position: sticky;
  top: 0;
  padding: var(--soft-small);
  border-radius: 8px;
  border: 1px solid #c00d1e;
}

.ingredients-panel ul {
  padding-left: 0;
  list-style: none;
}

.ingredients-panel__intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ingredients-panel__intro .h3 {
  color: #c00d1e;
}

.ingredients-panel__intro .h3 span {
  color: #000;
}

/* Ingredient */
.ingredient {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.ingredient__checkbox {
  flex: 0 0 1.25rem;
}

.ingredient__checkbox input[type="checkbox"] {
  margin-right: 0;
}

.ingredient__title {}
.ingredient__price {
  margin-left: auto;
}

/* Recipe Card */
.recipe-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.recipe-card {}

.recipe-card__media {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 400 / 215 auto;
}

.recipe-card__img {
  transition: transform 0.3s;
}

.recipe-card-link:hover .recipe-card__img {
  transform: scale(1.1);
}

.recipe-card__title {
  margin-bottom: 0.5rem;
  color: #000;
  transition: color 0.3s;
}

.recipe-card-link:hover .recipe-card__title {
  color: #c00d1e;
}

.recipe-card__desc {
  color: #828282;
}