:root {
	--lm-seed-oxblood: #70332f;
	--lm-seed-cream: #f5f0e6;
	--lm-seed-paper: #fffdf8;
	--lm-seed-ink: #252321;
	--lm-seed-muted: #6d665f;
}

.lm-seeds-header {
	background: var(--lm-seed-cream);
	padding: clamp(3rem, 7vw, 6rem) 1.25rem 2.5rem;
	text-align: center;
}

.lm-seeds-header h1 {
	color: var(--lm-seed-ink);
	font-size: clamp(3rem, 8vw, 5.5rem);
	line-height: .95;
	margin: .15em 0 .25em;
}

.lm-seeds-kicker {
	color: var(--lm-seed-oxblood);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.lm-seeds-topics {
	display: flex;
	align-items: center;
	gap: .7rem;
	justify-content: center;
	margin-top: 1.75rem;
}

.lm-seeds-all,
.lm-seeds-browse-topics,
.lm-seed-actions button,
.lm-seeds-load {
	background: transparent;
	border: 1px solid var(--lm-seed-oxblood);
	border-radius: 999px;
	color: var(--lm-seed-oxblood);
	cursor: pointer;
	font: inherit;
	font-size: .82rem;
	font-weight: 700;
	padding: .55rem 1rem;
	text-decoration: none;
}

.lm-seeds-all[aria-current="page"],
.lm-seeds-all:hover,
.lm-seeds-all:focus-visible,
.lm-seeds-browse-topics:hover,
.lm-seeds-browse-topics:focus-visible,
.lm-seed-actions button:hover,
.lm-seed-actions button:focus-visible,
.lm-seeds-load:hover,
.lm-seeds-load:focus-visible {
	background: var(--lm-seed-oxblood);
	color: #fff;
}

.lm-seeds-browse-topics {
	display: inline-flex;
	align-items: center;
	gap: .42rem;
}

.lm-seeds-browse-delta {
	font-size: .7em;
	transform: translateY(-.02em);
}

.lm-seeds-topics-dialog {
	background: var(--lm-seed-paper);
	border: 1px solid rgba(112, 51, 47, .24);
	border-radius: 1rem;
	box-shadow: 0 1.5rem 4rem rgba(37, 35, 33, .22);
	color: var(--lm-seed-ink);
	margin: auto;
	max-height: min(78vh, 46rem);
	max-width: min(72rem, calc(100vw - 2rem));
	padding: 0;
	width: 100%;
}

.lm-seeds-topics-dialog::backdrop {
	background: rgba(37, 35, 33, .42);
}

.lm-seeds-topics-dialog__inner {
	padding: clamp(1.6rem, 4vw, 2.5rem);
	text-align: left;
}

.lm-seeds-topics-dialog h2 {
	color: var(--lm-seed-ink);
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	margin: 0 0 1.4rem;
	text-align: center;
}

.lm-seeds-topic-directory {
	column-count: 4;
	column-gap: clamp(1.5rem, 4vw, 3rem);
}

.lm-seeds-topic-directory a {
	break-inside: avoid;
	color: var(--lm-seed-oxblood);
	display: block;
	font-size: .95rem;
	font-weight: 650;
	line-height: 1.28;
	margin: 0 0 .72rem;
	text-decoration: none;
}

.lm-seeds-topic-directory a:hover,
.lm-seeds-topic-directory a:focus-visible,
.lm-seeds-topic-directory a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.lm-seeds-topic-directory a[aria-current="page"] {
	font-weight: 800;
}

.lm-seeds-topics-dialog__actions {
	border-top: 1px solid #e5ddd1;
	margin-top: 1.2rem;
	padding-top: 1.15rem;
	text-align: center;
}

.lm-seeds-topics-cancel {
	background: transparent;
	border: 1px solid #b9aaa0;
	border-radius: 999px;
	color: var(--lm-seed-oxblood);
	cursor: pointer;
	font: inherit;
	font-size: .82rem;
	font-weight: 700;
	padding: .55rem 1.25rem;
}

.lm-seeds-topics-cancel:hover,
.lm-seeds-topics-cancel:focus-visible {
	border-color: var(--lm-seed-oxblood);
}

.lm-seeds-section {
	background: #faf8f3;
	padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
}

.lm-seeds-grid {
	columns: 3 19rem;
	column-gap: 1.5rem;
}

.lm-seed-card {
	background: var(--lm-seed-paper);
	border-left: 4px solid var(--lm-seed-oxblood);
	box-shadow: 0 5px 22px rgba(37, 35, 33, .08);
	break-inside: avoid;
	display: inline-block;
	margin: 0 0 1.5rem;
	padding: 2.2rem 1.8rem 1.2rem;
	width: 100%;
}

.lm-seed-card__link { color: inherit; text-decoration: none; }
.lm-seed-card blockquote,
.lm-seed-single blockquote { border: 0; margin: 0; padding: 0; position: relative; }
.lm-seed-quote-mark { color: var(--lm-seed-oxblood); display: block; font-family: Georgia, serif; font-size: 5rem; height: 2.7rem; line-height: .8; }
.lm-seed-quote-mark--close { margin-left: auto; text-align: right; }
.lm-seed-card .lm-seed-quote-mark--close { height: 1.75rem; margin-top: -.45rem; }
.lm-seed-card blockquote p { color: var(--lm-seed-ink); font-family: Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.38; margin: .8rem 0 1.4rem; }
.lm-seed-card cite,
.lm-seed-single cite { color: var(--lm-seed-oxblood); display: block; font-size: .82rem; font-style: normal; font-weight: 800; letter-spacing: .04em; margin-top: -.25rem; }
.lm-seed-insights-link { color: var(--lm-seed-oxblood); display: inline-block; font-size: .82rem; font-weight: 800; margin-top: .8rem; text-decoration: none; }
.lm-seed-insights-link:hover,
.lm-seed-insights-link:focus-visible { text-decoration: underline; }

.lm-seed-actions {
	align-items: center;
	border-top: 1px solid #e5ddd1;
	display: flex;
	gap: .5rem;
	margin-top: 1.4rem;
	padding-top: 1rem;
}

.lm-seed-actions button { border-color: #b9aaa0; font-size: .72rem; padding: .35rem .75rem; }
.lm-seed-feedback { color: var(--lm-seed-muted); font-size: .75rem; }
.lm-seeds-load-wrap { margin-top: 2rem; text-align: center; }
.lm-seeds-load[disabled] { cursor: progress; opacity: .65; }
.lm-seeds-load-status { display: block; margin-top: .75rem; }

.lm-seed-single {
	background: var(--lm-seed-cream);
	min-height: 65vh;
	padding: clamp(4rem, 10vw, 8rem) 1.25rem;
}

.lm-seed-single__inner { max-width: 58rem; text-align: center; }
.lm-seed-single .lm-seed-quote-mark { font-size: clamp(7rem, 16vw, 12rem); height: clamp(3.8rem, 9vw, 7rem); }
.lm-seed-single .lm-seed-quote-mark--close { height: clamp(2.8rem, 6vw, 4.75rem); margin-top: -.6rem; }
.lm-seed-single blockquote p { color: var(--lm-seed-ink); font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.2; margin: 1rem auto 2rem; }
.lm-seed-actions--single { border: 0; justify-content: center; margin-top: 2.25rem; }
.lm-seed-growth { border-top: 1px solid #d8ccbd; margin: 2rem auto 0; max-width: 46rem; padding-top: 1.5rem; text-align: left; }
.lm-seed-growth h2 { color: var(--lm-seed-oxblood); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1.25rem; }
.lm-seed-growth h3 { font-size: 1rem; letter-spacing: .06em; margin: 0 0 .65rem; text-transform: uppercase; }
.lm-seed-insights { color: var(--lm-seed-ink); line-height: 1.7; }
.lm-seed-related { margin: 1.4rem 0 0; }
.lm-seed-related span { font-weight: 700; }
.lm-seed-related a,
.lm-seed-back a { color: var(--lm-seed-oxblood); }
.lm-seed-tags { color: var(--lm-seed-muted); font-size: .78rem; margin: 1.4rem auto 0; max-width: 46rem; text-align: left; }
.lm-seed-tags span { font-weight: 700; }
.lm-seed-tags a { color: var(--lm-seed-oxblood); }
.lm-seed-back { margin-top: 2.5rem; }

@media (max-width: 600px) {
	.lm-seed-card { padding: 1.8rem 1.35rem 1rem; }
	.lm-seeds-grid { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.lm-seeds-load { scroll-behavior: auto; }
}
/* Seeds is added beneath Explore without crowding the primary navigation. */
.primary-menu .menu-item-has-children {
	position: relative;
}

.primary-menu .sub-menu {
	position: absolute;
	z-index: 40;
	top: calc(100% + .45rem);
	left: -.85rem;
	min-width: 11rem;
	margin: 0;
	padding: .45rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(112, 51, 47, .2);
	box-shadow: 0 .6rem 1.5rem rgba(31, 29, 27, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-.25rem);
	transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	display: block;
	padding: .55rem .85rem;
	white-space: nowrap;
}

@media (max-width: 760px) {
	.primary-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 .35rem 1rem;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
	}
}


/* v0.1.13 — Browse Topics directory */
@media (max-width: 980px) {
	.lm-seeds-topic-directory { column-count: 3; }
}
@media (max-width: 720px) {
	.lm-seeds-topic-directory { column-count: 2; }
}
@media (max-width: 480px) {
	.lm-seeds-topics { flex-wrap: wrap; }
	.lm-seeds-topic-directory { column-count: 1; }
	.lm-seeds-topics-dialog { max-height: 86vh; }
}
