/* Plant stories on auction product pages (print_auction_stories() in florae-plant-pages.php),
   v0.1.0. Versioned file name: a change ships as a new file. The story and card rules match
   plant-page-v0.4.0.css, scoped to .fp-auction-stories so nothing else on the product page
   changes. Cards start open here; the summary still closes them. */

.fp-auction-stories {
	--fp-blueberry: #062a73;
	--fp-mentha: #8aeb85;
	--fp-amsonia: #ecf2fe;
	--fp-musa: #ffb248;
	--fp-ink: #14281d;
	--fp-line: rgba(6, 42, 115, 0.18);
	--fp-heading: "florae heading demi", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
	clear: both;
	margin: 2.5rem 0;
}

.fp-auction-stories > h2 { font-family: var(--fp-heading); color: var(--fp-blueberry); }

.fp-auction-stories .fp-story-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 48em) { .fp-auction-stories .fp-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fp-auction-stories .fp-card-story { border: 1px solid var(--fp-line); border-radius: 8px; background: #fff; }
.fp-auction-stories .fp-card-story > summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.fp-auction-stories .fp-card-story > summary::-webkit-details-marker { display: none; }
.fp-auction-stories .fp-card-story > summary::after { color: var(--fp-blueberry); content: "+"; font-size: 1.4rem; line-height: 1; }
.fp-auction-stories .fp-card-story[open] > summary::after { content: "−"; }
.fp-auction-stories .fp-card-story > summary h3 { margin: 0; font-size: 1.2rem; font-family: var(--fp-heading); color: var(--fp-blueberry); }
.fp-auction-stories .fp-card-story__content { padding: 0 1.2rem 1rem; }

.fp-auction-stories .fp-story { padding: 0.8rem 0 0.8rem 1rem; border-left: 3px solid var(--fp-line); margin-bottom: 0.8rem; }
.fp-auction-stories .fp-story__title { margin: 0 0 0.4rem; font-size: 1.05rem; font-family: var(--fp-heading); color: var(--fp-blueberry); }
.fp-auction-stories .fp-story__summary { font-weight: 600; margin: 0 0 0.5rem; }
.fp-auction-stories .fp-story__body p:last-child { margin-bottom: 0; }
.fp-auction-stories .fp-sample { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; background: #fff0db; color: var(--fp-ink); border: 1px solid var(--fp-musa); padding: 0.15rem 0.5rem; border-radius: 999px; margin: 0 0 0.5rem; }

/* The epithet story leads, on the same tinted panel as on the plant page. Last, so it wins
   over the general story rules above (same specificity). */
.fp-auction-stories > .fp-story { padding: 1.2rem 1.3rem; border-radius: 8px; background: var(--fp-amsonia); border-left: 0; margin: 0 0 1rem; }
.fp-auction-stories > .fp-story .fp-story__title { font-size: 1.25rem; }
