/* Herb articles and the fourth plant category, 0.8.10. */
.ks-art--herbs{background-image:url("assets/herbs/category-herbs.png");background-size:contain;background-position:center;background-repeat:no-repeat}
.ks-art--herbs{width:100%;min-height:220px;aspect-ratio:2/1}
.ks-list-hero:has(>.ks-art--herbs){display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:32px;align-items:center;min-height:320px;padding:30px 36px;background:#f8f5ed}
.ks-list-hero:has(>.ks-art--herbs)>.ks-list-intro{max-width:none;padding:0}
.ks-list-hero:has(>.ks-art--herbs) h1{font-size:38px;padding-right:0}
.ks-list-hero:has(>.ks-art--herbs) .ks-list-lead{max-width:27em}
.ks-list-hero>.ks-art--herbs{position:relative;right:auto;bottom:auto;top:auto;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:2/1;background-size:contain;opacity:1;mix-blend-mode:darken;mask-image:none}
.ks-herb-article{max-width:1100px;margin:0 auto}
.ks-herb-article h1{line-height:1.5;text-wrap:balance}
.ks-herb-cover{margin:30px 0 0}
.ks-herb-article img{display:block;max-width:100%;height:auto;border-radius:12px}
.ks-herb-article figcaption{font-size:.8rem;line-height:1.8;color:#6d7565;margin-top:12px}
.ks-herb-article .ks-atlas-reading{display:block;max-width:800px;margin:48px auto}
.ks-herb-facts,.ks-herb-toc,.ks-herb-sources,.ks-herb-related{padding:28px;background:#f1f0e7;border:1px solid #dedfcf;border-radius:16px;margin:32px 0}
.ks-herb-facts dl{display:grid;grid-template-columns:7em 1fr;gap:15px 22px}
.ks-herb-facts dt{font-weight:700;color:#46533c}
.ks-herb-facts dd{margin:0}
.ks-herb-section{padding:28px 0;border-top:1px solid #dce0d3;scroll-margin-top:35px}
.ks-herb-section p{line-height:2.05}
.ks-herb-toc li,.ks-herb-related li,.ks-herb-sources li{margin:12px 0;line-height:1.8}
.ks-herb-diagram{margin:28px 0}
.ks-entry-links:has(.ks-art--entryherb){grid-template-columns:repeat(4,minmax(0,1fr))!important}
.ks-herb-sources a{overflow-wrap:anywhere}
@media(max-width:700px){.ks-herb-facts,.ks-herb-toc,.ks-herb-sources,.ks-herb-related{padding:20px}.ks-herb-facts dl{grid-template-columns:1fr;gap:8px}.ks-herb-facts dd{margin-bottom:12px}.ks-entry-links:has(.ks-art--entryherb){grid-template-columns:repeat(2,minmax(0,1fr))!important}.ks-herb-article h1{font-size:1.7rem}.ks-art--herbs{min-height:160px}}
@media(max-width:700px){.ks-list-hero:has(>.ks-art--herbs){display:block;min-height:0;padding:24px 19px 20px}.ks-list-hero:has(>.ks-art--herbs) h1{font-size:29px}.ks-list-hero:has(>.ks-art--herbs) .ks-list-lead{padding-right:0;max-width:none}.ks-list-hero>.ks-art--herbs{width:100%;margin:20px 0 0}}

/* Give the home herb illustration a real box, matching the other category entrances. */
.ks-entry>.ks-art--entryherb{background-image:url("assets/herbs/home-herb-icon.png");background-size:contain;background-position:center;background-repeat:no-repeat;width:84px;height:84px;aspect-ratio:1}
@media(max-width:700px){.ks-entry>.ks-art--entryherb{width:64px!important;height:64px!important}}

/* Four plant categories: separators only between cards in the same row. */
.ks-entry-links:has(.ks-art--entryherb)>.ks-entry{border-right:1px solid var(--ks-line)!important}
.ks-entry-links:has(.ks-art--entryherb)>.ks-entry:last-child{border-right:0!important}
@media(max-width:700px){
.ks-entry-links:has(.ks-art--entryherb)>.ks-entry:nth-child(odd){border-right:1px solid #d2c8b4!important}
.ks-entry-links:has(.ks-art--entryherb)>.ks-entry:nth-child(even){border-right:0!important}
}
/* New article seasonal summaries: readable at narrow widths. */
.ks-expansion-article .ks-season-list{display:grid;grid-template-columns:8em 1fr;gap:14px 22px;margin:24px 0}.ks-expansion-article .ks-season-list dt{font-weight:700;color:#46533c}.ks-expansion-article .ks-season-list dd{margin:0;line-height:1.9}.ks-expansion-article h3{font-size:1.15rem;margin:24px 0 10px}@media(max-width:700px){.ks-expansion-article .ks-season-list{grid-template-columns:1fr;gap:8px}.ks-expansion-article .ks-season-list dd{margin-bottom:15px}}
