/* Botanical field notes: the same paper, forest ink and serif-led card rhythm. */
.plants-page { --rust: #8a482f; }
.plant-hero { grid-template-columns: 1.1fr .9fr; gap: 4vw; min-height: 620px; padding-top: 30px; }
.plant-hero .hero-copy { padding-left: 2vw; }
html[lang="zh-CN"] .plant-hero h1 em { font-size: .78em; letter-spacing: 0; white-space: nowrap; }
.plant-edition { margin-top: 28px; color: var(--moss); font-size: 11px; letter-spacing: .06em; }
.plant-hero-visual { margin: 0 20px 0 0; position: relative; padding-bottom: 30px; }
.plant-hero-image { display: block; aspect-ratio: 4 / 5; max-height: 520px; overflow: hidden; border-radius: 46% 46% 2px 2px; box-shadow: var(--shadow); }
.plant-hero-image .bird-photo { height: 100%; }
.plant-hero-visual figcaption { position: relative; margin: -52px 24px 0 -20px; padding: 20px 24px; background: var(--white); border-left: 3px solid var(--leaf); box-shadow: 0 12px 30px rgb(16 48 39 / 8%); }
.plant-hero-visual figcaption > span, .plant-hero-visual figcaption > strong { display: block; }
.plant-hero-visual figcaption > strong { font-family: var(--display); font-size: 26px; }
.plant-hero-visual figcaption .eyebrow { color: var(--moss); font-size: 9px; margin-bottom: 6px; }
.plant-hero-credit { display: block; margin-top: 9px; font-size: 9px; color: var(--moss); text-underline-offset: 3px; overflow-wrap: anywhere; }
.plant-photo { background-image: url('../images/plant-placeholder.svg'); }
.plant-photo > img { object-position: center 25%; }
.plant-result-count { margin: -6px 0 22px; color: #c5d3c7; font-size: 12px; }
.plant-card .card-body { display: flex; flex-direction: column; flex: 1; }
.plant-card { display: flex; flex-direction: column; }
.plant-card .card-image { flex: none; }
.plant-card .card-intro { flex: 1; }
.plant-card .card-meta { gap: 14px; }
.plant-card .card-meta > span { max-width: 70%; }
.plant-card .card-meta > a { white-space: nowrap; }
.plants-page .search-box:focus-within { outline: 2px solid var(--lime); outline-offset: 5px; }
.plant-detail .detail-hero { min-height: 0; }
.plant-detail .detail-photo { min-height: 580px; }
.plant-detail .detail-title { min-width: 0; padding: 60px 5vw; }
.plant-detail .detail-title h1 { font-size: clamp(40px, 5vw, 70px); overflow-wrap: anywhere; }
.plant-detail .detail-tags { flex-wrap: wrap; }
.plant-detail .photo-credit { right: 20px; width: fit-content; overflow-wrap: anywhere; }
.plant-safety-note { color: #d0d8d0; font-size: 12px; margin: 20px 0 0; }
.plant-reference-note { color: var(--moss); font-size: 13px; line-height: 1.8; margin-top: 25px; }
.plant-detail-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--line); }
.plant-scope { max-width: 490px; padding-left: 15px; border-left: 2px solid var(--leaf); color: var(--moss); font-size: 13px; }
.plant-encounter { margin: 10px 0 0; color: var(--moss); font-size: 11px; }
.plant-filter-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin: 0 0 24px; }
.encounter-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12px; }
.encounter-filter select { max-width: 100%; min-height: 44px; border: 1px solid #a2b19e; background: var(--ink-deep); color: var(--paper); padding: 8px 34px 8px 12px; font: inherit; border-radius: 2px; }
.plant-reset { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--paper); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; font-size: 12px; }
.plants-page .guide-tools { flex-wrap: wrap; }
.plants-page .guide-tools .search-box { flex-shrink: 0; }
.plants-page .filter-chips { max-width: 100%; }
@media (max-width: 900px) {
  .plant-hero { grid-template-columns: 1fr 1fr; gap: 25px; min-height: 0; padding-bottom: 60px; }
  .plant-hero .hero-copy { padding: 0; }
  .plant-hero .hero-actions { align-items: start; flex-direction: column; gap: 18px; }
  .plant-hero-visual { margin-right: 0; }
  .plant-detail .detail-photo { min-height: 420px; }
}
@media (max-width: 620px) {
  .plant-hero { grid-template-columns: 1fr; padding-top: 28px; gap: 30px; }
  .plant-hero-visual { width: 90%; margin: 0 auto; padding-bottom: 0; }
  .plant-hero-image { aspect-ratio: 5 / 4; border-radius: 45% 45% 2px 2px; }
  .plant-hero-visual figcaption { margin-left: -12px; margin-right: 12px; padding: 15px 18px; }
  .plant-detail .detail-photo { min-height: 350px; }
  .plant-detail .detail-title { padding: 35px 22px 45px; }
}
.plant-parts-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; margin-top: 10px; padding: 10px 0 2px; color: var(--ink); font-size: 12px; font-weight: 600; text-underline-offset: 4px; }
