/* 银耳百合莲子羹 · 在白露 H5 上叠菜谱页差异 */

.hero-kicker {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--leaf-deep);
}

.hero-title.dish-title {
  font-size: clamp(34px, 9vw, 44px);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.hero-dish .hero-meta {
  margin-top: 14px;
  font-size: 15px;
  line-height: 26px;
}

.hero-dish-fig {
  width: min(72%, 280px);
  margin: 0 auto;
  position: relative;
}
.hero-dish-fig img.main {
  width: 100%;
  height: auto;
  max-height: min(38svh, 300px);
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 16px 24px rgba(40, 50, 40, 0.16));
}

.series-link a {
  color: var(--leaf-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ing-pics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0 24px;
  text-align: center;
}
.ing-pics figure { margin: 0; }
.ing-pics img {
  width: 100%;
  max-width: 112px;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 8px 12px rgba(40, 40, 30, 0.12));
}
.ing-pics figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.recipe-list,
.recipe-steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.recipe-list li,
.recipe-steps li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 1.2em;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink-soft);
}
.recipe-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--leaf-deep);
}
.recipe-steps {
  counter-reset: step;
}
.recipe-steps li {
  padding-left: 1.8em;
}
.recipe-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  background: rgba(30, 122, 87, 0.14);
  color: var(--leaf-deep);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35em;
  text-align: center;
}

.note.tip strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
}
.note.tip p { margin: 0 0 8px; }
.note.tip p:last-child { margin-bottom: 0; }

.series-more {
  margin: 0 0 16px;
  font-size: 14px;
}
.series-more a {
  color: var(--leaf-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* float helpers if parent css missing older rules */
.float-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: start;
  margin: 8px 0 4px;
}
.float-block.invert { grid-template-columns: auto minmax(0, 1fr); }
.float-block .body-p,
.float-block .h3 { margin-top: 0; }
.float-illust {
  width: 112px;
  height: auto;
  margin-top: 8px;
  filter: drop-shadow(0 8px 14px rgba(40, 50, 40, 0.12));
  pointer-events: none;
}
.float-illust.chili { width: 88px; margin-left: -4px; }
.float-illust.side { width: 108px; margin-right: -6px; }
.h3.right { text-align: right; }

@media (min-width: 720px) {
  .hero-title.dish-title { font-size: 48px; }
  .hero-dish-fig { width: min(60%, 320px); }
  .ing-pics { gap: 20px; margin-bottom: 32px; }
  .ing-pics img { max-width: 140px; }
}
