/* ==========================================================================
   Lux Patrum essay page (St. Ambrose), the site's home page. Everything is
   scoped under `.lp`. Light-only by design, like a parish website; the page
   pins its own colours and color-scheme even when the OS is in dark mode.
   ========================================================================== */

html[data-page='essay'] {
	color-scheme: light !important;
	background: #efe5cf;
}
html[data-page='essay'] body {
	background: #efe5cf;
}

.lp {
	--lp-parchment: #f3ead6;
	--lp-paper: #fffcf4;
	--lp-ink: #2a211b;
	--lp-ink-soft: #54473c;
	--lp-muted: #85776a;
	--lp-burgundy: #6e1d24;
	--lp-burgundy-deep: #4a1117;
	--lp-gold: #b0873a;
	--lp-gold-soft: #dcc48f;
	--lp-gold-pale: #f4e7c4;
	--lp-rule: #e3d6ba;
	--lp-link: #7d2b1f;
	--lp-serif: 'EB Garamond', 'Garamond', 'Georgia', 'Times New Roman', serif;
	--lp-display: 'Cormorant Garamond', 'EB Garamond', 'Georgia', serif;
	--lp-caps: 'Cinzel', 'Trajan Pro', 'Georgia', serif;
	--lp-text-size: 1.18rem;

	color-scheme: light;
	min-height: 100dvh;
	background:
		radial-gradient(ellipse at top, rgba(255, 250, 235, 0.9), rgba(255, 250, 235, 0) 60%),
		var(--lp-parchment);
	color: var(--lp-ink);
	font-family: var(--lp-serif);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.lp a {
	color: var(--lp-link);
	text-decoration: none;
}
.lp a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lp :focus-visible {
	outline: 2px solid var(--lp-gold);
	outline-offset: 2px;
}
.lp svg {
	display: block;
}

/* ---------- Reading progress ---------- */
.lp-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	z-index: 60;
	background: transparent;
}
.lp-progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--lp-gold), #e2c071);
	transform-origin: left;
}

/* ---------- Utility bar ---------- */
.lp-topbar {
	background: var(--lp-burgundy-deep);
	color: #ead9b5;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
}
.lp-topbar-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.45rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.lp-topbar a {
	color: #ead9b5;
}
.lp-topbar-links {
	display: flex;
	gap: 1.1rem;
	align-items: center;
}
.lp-topbar-date em {
	color: var(--lp-gold-soft);
	font-style: italic;
}

/* ---------- Masthead ---------- */
.lp-masthead {
	background:
		linear-gradient(180deg, rgba(110, 29, 36, 0.97), rgba(86, 21, 28, 0.98)),
		var(--lp-burgundy);
	color: #f6ead0;
	border-bottom: 3px solid var(--lp-gold);
}
.lp-masthead-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.25rem 1rem;
	display: flex;
	align-items: center;
	gap: 1.25rem;
}
.lp-brand {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	color: #f6ead0 !important;
	text-decoration: none !important;
}
.lp-brand-emblem {
	width: 58px;
	height: 58px;
	color: var(--lp-gold-soft);
	flex-shrink: 0;
}
.lp-brand-name {
	font-family: var(--lp-caps);
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1;
}
.lp-brand-tag {
	margin-top: 0.35rem;
	font-style: italic;
	font-size: 0.98rem;
	color: #e3cfa3;
}
.lp-search {
	margin-left: auto;
	position: relative;
}
.lp-search input {
	width: 240px;
	height: 38px;
	padding: 0 2.4rem 0 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(220, 196, 143, 0.55);
	background: rgba(255, 252, 244, 0.1);
	color: #fbf3e0;
	font-family: var(--lp-serif);
	font-size: 0.98rem;
}
.lp-search input::placeholder {
	color: #d7c095;
}
.lp-search button {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	color: var(--lp-gold-soft);
	background: none;
	border: 0;
	cursor: pointer;
}
.lp-search-msg {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	font-size: 0.85rem;
	color: #f6ead0;
	background: var(--lp-burgundy-deep);
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	white-space: nowrap;
}

/* ---------- Main navigation ---------- */
.lp-nav {
	background: var(--lp-paper);
	border-bottom: 1px solid var(--lp-rule);
	box-shadow: 0 1px 0 rgba(176, 135, 58, 0.25);
	position: sticky;
	top: 0;
	z-index: 40;
}
.lp-nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	align-items: center;
}
.lp-nav-toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	height: 46px;
	background: none;
	border: 0;
	font-family: var(--lp-caps);
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	color: var(--lp-burgundy);
	cursor: pointer;
}
.lp-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
.lp-nav li a {
	display: block;
	padding: 0.85rem 0.75rem;
	font-family: var(--lp-caps);
	font-size: 0.76rem;
	white-space: nowrap;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lp-ink-soft);
}
.lp-nav li a:hover,
.lp-nav li a[aria-current='page'] {
	color: var(--lp-burgundy);
	text-decoration: none;
	box-shadow: inset 0 -2px 0 var(--lp-gold);
}
.lp-nav-donate {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 1rem;
	border-radius: 3px;
	background: var(--lp-gold);
	color: #fff !important;
	font-family: var(--lp-caps);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	white-space: nowrap;
	flex-shrink: 0;
	text-decoration: none !important;
}
.lp-nav-donate:hover {
	background: #9a7530;
}

/* ---------- Hero ---------- */
.lp-hero {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.6rem 1rem 0;
}
.lp-crumbs {
	font-size: 0.88rem;
	color: var(--lp-muted);
}
.lp-crumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}
.lp-crumbs li + li::before {
	content: '›';
	margin-right: 0.35rem;
	color: var(--lp-gold);
}
.lp-crumbs a {
	color: var(--lp-muted);
}
.lp-hero-grid {
	margin-top: 1.4rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 3rem;
	align-items: start;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--lp-rule);
}
.lp-kicker {
	font-family: var(--lp-caps);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--lp-gold);
}
.lp-title {
	margin: 0.6rem 0 0;
	font-family: var(--lp-display);
	font-size: clamp(2.6rem, 5.2vw, 4.1rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.01em;
	color: var(--lp-burgundy-deep);
}
.lp-title small {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.42em;
	font-weight: 500;
	font-style: italic;
	letter-spacing: 0;
	color: var(--lp-ink-soft);
}
.lp-dek {
	max-width: 40em;
	margin: 1.1rem 0 0;
	font-size: 1.22rem;
	line-height: 1.55;
	color: var(--lp-ink-soft);
}
.lp-byline {
	margin-top: 1.3rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.9rem;
	font-size: 0.92rem;
	color: var(--lp-muted);
}
.lp-byline strong {
	color: var(--lp-ink);
	font-weight: 600;
}
.lp-byline-dot::before {
	content: '✠';
	color: var(--lp-gold);
	font-size: 0.8rem;
}
.lp-feast {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.2rem;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--lp-gold-soft);
	background: var(--lp-gold-pale);
	border-radius: 3px;
	font-size: 0.92rem;
	color: var(--lp-burgundy);
}
.lp-feast svg {
	width: 18px;
	height: 18px;
}
/* Sized so the figure is no taller than the title block beside it. */
.lp-hero-art {
	width: 290px;
	max-width: 100%;
	margin: 0.4rem 0 0;
	background: linear-gradient(180deg, #f8efd9, #efe0bd);
	border: 1px solid var(--lp-gold-soft);
	padding: 0.6rem;
	box-shadow:
		0 0 0 6px var(--lp-paper),
		0 0 0 7px var(--lp-gold-soft),
		0 18px 40px rgba(74, 17, 23, 0.18);
}
.lp-hero-art img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center 4%;
	background: #1f2a55;
}
.lp-hero-art figcaption {
	padding: 0.6rem 0.3rem 0.1rem;
	font-size: 0.85rem;
	font-style: italic;
	color: var(--lp-muted);
	line-height: 1.45;
}
.lp-credit {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.78rem;
	font-style: normal;
}
.lp-credit a {
	color: var(--lp-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- Article tools ---------- */
.lp-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.6rem;
	padding-bottom: 1rem;
	border-bottom: 1px dashed var(--lp-rule);
	font-size: 0.88rem;
	color: var(--lp-muted);
}
.lp-tools-label {
	font-family: var(--lp-caps);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-right: 0.2rem;
}
.lp-tool {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	height: 32px;
	padding: 0 0.7rem;
	border: 1px solid var(--lp-rule);
	border-radius: 3px;
	background: var(--lp-paper);
	color: var(--lp-ink-soft);
	font-family: var(--lp-serif);
	font-size: 0.9rem;
	cursor: pointer;
}
.lp-tool:hover {
	border-color: var(--lp-gold-soft);
	color: var(--lp-burgundy);
	text-decoration: none !important;
}
.lp-tool[aria-pressed='true'] {
	background: var(--lp-gold-pale);
	border-color: var(--lp-gold);
	color: var(--lp-burgundy);
}
.lp-tool svg {
	width: 15px;
	height: 15px;
}
.lp-tools-spacer {
	flex: 1;
}
.lp-share {
	flex-basis: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	padding-top: 0.6rem;
	margin-top: 0.1rem;
	border-top: 1px dotted var(--lp-rule);
}
.lp-tools-status {
	color: var(--lp-burgundy);
	font-style: italic;
}

/* ---------- Layout ---------- */
.lp-layout {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem 4rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 3rem;
	align-items: start;
}
.lp-article {
	background: var(--lp-paper);
	border: 1px solid var(--lp-rule);
	padding: 2.4rem 3rem 3rem;
	box-shadow: 0 1px 2px rgba(74, 17, 23, 0.05);
	min-width: 0;
}
.lp-article.lp-size-sm {
	--lp-text-size: 1.06rem;
}
.lp-article.lp-size-lg {
	--lp-text-size: 1.34rem;
}

/* ---------- Essay typography ---------- */
.lp-essay {
	font-size: var(--lp-text-size);
	line-height: 1.72;
	color: var(--lp-ink);
	hyphens: auto;
}
.lp-essay p {
	margin: 0 0 1.05em;
}
.lp-essay em,
.lp-latin {
	font-style: italic;
}
.lp-essay strong {
	font-weight: 600;
}
.lp-section {
	scroll-margin-top: 70px;
}
.lp-section h2 {
	margin: 0 0 0.9rem;
	font-family: var(--lp-display);
	font-size: 2.05em;
	font-weight: 700;
	line-height: 1.12;
	color: var(--lp-burgundy-deep);
}
.lp-numeral {
	display: flex;
	align-items: center;
	gap: 0.6em;
	margin-bottom: 0.35rem;
	font-family: var(--lp-caps);
	font-size: 0.42em;
	font-weight: 600;
	letter-spacing: 0.24em;
	color: var(--lp-gold);
}
.lp-numeral::after {
	content: '';
	width: 3.5em;
	height: 1px;
	background: var(--lp-gold-soft);
}
.lp-h3 {
	margin: 1.6em 0 0.5em;
	font-family: var(--lp-display);
	font-size: 1.35em;
	font-weight: 700;
	font-style: italic;
	color: var(--lp-burgundy);
}
.lp-dropcap::first-letter {
	float: left;
	margin: 0.08em 0.12em 0 0;
	font-family: var(--lp-caps);
	font-size: 4.3em;
	line-height: 0.82;
	font-weight: 700;
	color: var(--lp-burgundy);
	text-shadow: 2px 2px 0 var(--lp-gold-pale);
}
.lp-cite {
	font-size: 0.82em;
	color: var(--lp-muted);
	font-style: italic;
	white-space: nowrap;
}
.lp-divider {
	width: 200px;
	height: 20px;
	margin: 2.4rem auto 2.2rem;
	color: var(--lp-gold);
}
.lp-flash {
	animation: lp-flash 2.2s ease-out;
}
@keyframes lp-flash {
	0%,
	30% {
		background: #f7e3a8;
	}
	100% {
		background: transparent;
	}
}

.lp-quote {
	margin: 1.4em 0;
	padding: 0.2em 0 0.2em 1.3em;
	border-left: 3px solid var(--lp-gold);
	font-style: italic;
	color: var(--lp-ink-soft);
}
.lp-quote p:last-of-type {
	margin-bottom: 0.4em;
}
.lp-quote footer {
	font-style: normal;
	font-size: 0.8em;
	letter-spacing: 0.02em;
	color: var(--lp-muted);
}

.lp-pull {
	margin: 1.8em 0;
	padding: 1.3em 1.4em 1.1em;
	text-align: center;
	border-top: 1px solid var(--lp-gold-soft);
	border-bottom: 1px solid var(--lp-gold-soft);
	background:
		linear-gradient(90deg, transparent, rgba(244, 231, 196, 0.6), transparent);
}
.lp-pull blockquote {
	margin: 0;
	font-family: var(--lp-display);
	font-size: 1.42em;
	font-weight: 600;
	font-style: italic;
	line-height: 1.35;
	color: var(--lp-burgundy-deep);
}
.lp-pull figcaption {
	margin-top: 0.6em;
	font-family: var(--lp-caps);
	font-size: 0.62em;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lp-gold);
}

.lp-callout {
	margin: 1.6em 0;
	padding: 1.1em 1.4em 0.6em;
	background: #f8f0dc;
	border: 1px solid var(--lp-gold-soft);
	border-top: 4px solid var(--lp-burgundy);
	font-size: 0.93em;
}
.lp-callout-title {
	margin: 0 0 0.6em !important;
	font-family: var(--lp-caps);
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lp-burgundy);
}
.lp-callout ul {
	list-style: none;
	margin: 0 0 0.6em;
	padding: 0;
}
.lp-callout li {
	position: relative;
	padding-left: 1.3em;
	margin-bottom: 0.4em;
}
.lp-callout li::before {
	content: '✠';
	position: absolute;
	left: 0;
	top: 0.05em;
	font-size: 0.8em;
	color: var(--lp-gold);
}

.lp-hymn {
	margin: 1.6em 0;
	padding: 1.2em 1.4em;
	background: var(--lp-burgundy-deep);
	color: #f3e6c8;
	border: 1px solid #2f0a0e;
	box-shadow: inset 0 0 0 4px var(--lp-burgundy-deep), inset 0 0 0 5px rgba(220, 196, 143, 0.5);
}
.lp-hymn-title {
	font-family: var(--lp-caps);
	font-size: 0.72em;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lp-gold-soft);
	margin-bottom: 0.8em;
}
.lp-hymn-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.4em;
}
.lp-hymn-cols p {
	margin: 0;
	line-height: 1.6;
}
.lp-hymn-cols span {
	display: block;
}
.lp-hymn-latin {
	font-style: italic;
	color: #fff4d8;
}
.lp-hymn-english {
	color: #e4d2ab;
}
.lp-hymn-note {
	margin: 0.9em 0 0 !important;
	padding-top: 0.7em;
	border-top: 1px solid rgba(220, 196, 143, 0.3);
	font-size: 0.85em;
	font-style: italic;
	color: #d8c49b;
}

/* ---------- Prayer, sources, tags, prev/next ---------- */
.lp-prayer {
	margin: 0.5rem 0 0;
	padding: 2rem 2rem 1.6rem;
	text-align: center;
	background:
		radial-gradient(ellipse at center, rgba(244, 231, 196, 0.85), rgba(244, 231, 196, 0.25)),
		var(--lp-paper);
	border: 1px solid var(--lp-gold-soft);
	scroll-margin-top: 70px;
}
.lp-prayer h2 {
	margin: 0.4rem 0 1rem;
	font-family: var(--lp-display);
	font-size: 2em;
	font-weight: 700;
	color: var(--lp-burgundy-deep);
}
.lp-prayer-cross {
	font-size: 1.6rem;
	color: var(--lp-gold);
	line-height: 1;
}
.lp-prayer p {
	max-width: 34em;
	margin: 0 auto 0.9em;
	font-style: italic;
}
.lp-prayer .lp-amen {
	font-family: var(--lp-caps);
	font-style: normal;
	letter-spacing: 0.2em;
	color: var(--lp-burgundy);
}

.lp-sources {
	margin-top: 2.6rem;
	padding-top: 1.6rem;
	border-top: 2px solid var(--lp-burgundy);
	font-size: 0.95em;
	scroll-margin-top: 70px;
}
.lp-sources h2 {
	margin: 0 0 0.9rem;
	font-family: var(--lp-caps);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lp-burgundy);
}
.lp-sources h3 {
	margin: 1.2em 0 0.4em;
	font-family: var(--lp-display);
	font-size: 1.15em;
	font-weight: 700;
	font-style: italic;
	color: var(--lp-ink-soft);
}
.lp-sources ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lp-sources li {
	padding-left: 1.4em;
	text-indent: -1.4em;
	margin-bottom: 0.45em;
	line-height: 1.5;
}
.lp-sources-note {
	margin-top: 1.2em !important;
	font-size: 0.9em;
	font-style: italic;
	color: var(--lp-muted);
}

.lp-tags {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.88rem;
}
.lp-tags span:first-child {
	font-family: var(--lp-caps);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lp-muted);
	margin-right: 0.2rem;
}
.lp-tags a {
	padding: 0.2rem 0.65rem;
	border: 1px solid var(--lp-rule);
	border-radius: 999px;
	color: var(--lp-ink-soft);
	background: #fbf5e6;
}

.lp-prevnext {
	margin-top: 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.lp-prevnext a {
	display: block;
	padding: 1rem 1.1rem;
	border: 1px solid var(--lp-rule);
	background: #fbf5e6;
	color: var(--lp-ink);
	text-decoration: none !important;
}
.lp-prevnext a:hover {
	border-color: var(--lp-gold);
}
.lp-prevnext small {
	display: block;
	font-family: var(--lp-caps);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lp-gold);
}
.lp-prevnext strong {
	display: block;
	margin-top: 0.2rem;
	font-family: var(--lp-display);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--lp-burgundy-deep);
}
.lp-prevnext span {
	font-size: 0.88rem;
	color: var(--lp-muted);
}
.lp-prevnext a:last-child {
	text-align: right;
}

/* ---------- Sidebar ---------- */
/* The aside stretches to the article's height so the contents card (last in
   the column) can stay pinned while the reader scrolls. */
.lp-aside {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
	align-self: stretch;
}
.lp-aside .lp-toc {
	position: sticky;
	top: 64px;
	max-height: calc(100dvh - 84px);
	overflow-y: auto;
	scrollbar-width: thin;
}
.lp-card {
	background: var(--lp-paper);
	border: 1px solid var(--lp-rule);
}
.lp-card-head {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.7rem 1rem;
	background: var(--lp-burgundy);
	color: #f6ead0;
	font-family: var(--lp-caps);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.lp-card-head svg {
	width: 20px;
	height: 20px;
	color: var(--lp-gold-soft);
}
.lp-card-body {
	padding: 0.9rem 1rem 1rem;
	font-size: 0.95rem;
}
.lp-infobox dl {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.45rem 0.8rem;
}
.lp-infobox dt {
	font-family: var(--lp-caps);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lp-muted);
	padding-top: 0.2rem;
}
.lp-infobox dd {
	margin: 0;
	line-height: 1.4;
}
.lp-infobox-portrait {
	margin: -0.9rem -1rem 0.9rem;
	padding: 1rem;
	background: linear-gradient(180deg, #3d0e13, #5a161d);
	display: grid;
	place-items: center;
	color: var(--lp-gold-soft);
	text-align: center;
}
.lp-infobox-portrait img {
	display: block;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 12%;
	border: 2px solid var(--lp-gold-soft);
	box-shadow: 0 0 0 4px rgba(220, 196, 143, 0.15);
}
.lp-infobox-portrait p {
	margin: 0.5rem 0 0;
	font-family: var(--lp-display);
	font-size: 1.15rem;
	font-style: italic;
	color: #f3e6c8;
}

.lp-toc ol {
	list-style: none;
	margin: 0;
	padding: 0.3rem 0;
	counter-reset: none;
}
.lp-toc li a {
	display: grid;
	grid-template-columns: 2.4em 1fr;
	gap: 0.2rem;
	padding: 0.32rem 1rem;
	font-size: 0.92rem;
	line-height: 1.3;
	color: var(--lp-ink-soft);
	border-left: 3px solid transparent;
}
.lp-toc li a:hover {
	text-decoration: none;
	background: #faf2df;
	color: var(--lp-burgundy);
}
.lp-toc li a[aria-current='true'] {
	border-left-color: var(--lp-gold);
	background: #f8eed5;
	color: var(--lp-burgundy-deep);
	font-weight: 600;
}
.lp-toc-num {
	font-family: var(--lp-caps);
	font-size: 0.72rem;
	color: var(--lp-gold);
	padding-top: 0.15rem;
}

.lp-mobile-toc {
	display: none;
	margin: 0 0 1.6rem;
	border: 1px solid var(--lp-rule);
	background: #fbf5e6;
}
.lp-mobile-toc summary {
	cursor: pointer;
	padding: 0.7rem 1rem;
	font-family: var(--lp-caps);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lp-burgundy);
}

.lp-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lp-list li {
	display: flex;
	justify-content: space-between;
	gap: 0.8rem;
	padding: 0.45rem 0;
	border-bottom: 1px dotted var(--lp-rule);
	line-height: 1.35;
}
.lp-list li:last-child {
	border-bottom: 0;
}
.lp-list li span {
	flex-shrink: 0;
	font-size: 0.82rem;
	color: var(--lp-muted);
}
.lp-list li.is-today a {
	color: var(--lp-burgundy-deep);
	font-weight: 600;
}

.lp-support {
	text-align: center;
	padding: 1.2rem 1.1rem;
	background:
		linear-gradient(180deg, rgba(244, 231, 196, 0.9), rgba(244, 231, 196, 0.4)),
		var(--lp-paper);
}
.lp-support p {
	margin: 0 0 0.8rem;
	font-size: 0.95rem;
	line-height: 1.5;
}
.lp-support .lp-nav-donate {
	margin: 0;
}

/* ---------- Footer ---------- */
.lp-footer {
	background: var(--lp-burgundy-deep);
	color: #dcc8a0;
	border-top: 3px solid var(--lp-gold);
	font-size: 0.93rem;
}
.lp-footer a {
	color: #ead9b5;
}
.lp-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2.6rem 1rem 1.6rem;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 2rem;
}
.lp-footer h4 {
	margin: 0 0 0.8rem;
	font-family: var(--lp-caps);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lp-gold-soft);
}
.lp-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}
.lp-footer-brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.8rem;
	font-family: var(--lp-caps);
	font-size: 1.3rem;
	letter-spacing: 0.14em;
	color: #f6ead0;
}
.lp-footer-brand svg {
	width: 40px;
	height: 40px;
	color: var(--lp-gold-soft);
}
.lp-footer-brand + p {
	margin: 0;
	line-height: 1.55;
}
.lp-footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 1rem 1.4rem;
	border-top: 1px solid rgba(220, 196, 143, 0.2);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.6rem;
	font-size: 0.84rem;
	color: #bfa982;
}
.lp-footer-bottom em {
	font-family: var(--lp-caps);
	font-style: normal;
	letter-spacing: 0.14em;
	color: var(--lp-gold-soft);
}

.lp-totop {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 50;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--lp-gold);
	background: var(--lp-burgundy);
	color: var(--lp-gold-soft);
	box-shadow: 0 6px 18px rgba(74, 17, 23, 0.3);
	cursor: pointer;
	transition: opacity 0.2s, transform 0.2s;
}
.lp-totop[data-show='false'] {
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
}
.lp-totop svg {
	width: 18px;
	height: 18px;
}

.lp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
	.lp-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
		max-width: 840px;
	}
	.lp-aside {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
	.lp-aside .lp-toc {
		display: none;
	}
	.lp-mobile-toc {
		display: block;
	}
	.lp-footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}

/* The full menu needs ~1050px on one line; below that, collapse it. */
@media (max-width: 1080px) {
	.lp-nav-toggle {
		display: inline-flex;
	}
	.lp-nav ul {
		display: none;
	}
	.lp-nav[data-open='true'] .lp-nav-inner {
		flex-wrap: wrap;
	}
	.lp-nav[data-open='true'] ul {
		display: flex;
		flex-direction: column;
		width: 100%;
		order: 3;
		border-top: 1px solid var(--lp-rule);
		padding: 0.3rem 0 0.6rem;
	}
	.lp-nav li a {
		padding: 0.6rem 0.2rem;
	}
}

@media (max-width: 860px) {
	.lp-hero-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.6rem;
	}
	.lp-hero-art {
		justify-self: center;
	}
	.lp-search {
		display: none;
	}
	.lp-article {
		padding: 1.6rem 1.25rem 2rem;
	}
	.lp-topbar-links a:not(.lp-keep) {
		display: none;
	}
}

@media (max-width: 640px) {
	.lp-brand-name {
		font-size: 1.45rem;
	}
	.lp-brand-tag {
		font-size: 0.85rem;
	}
	.lp-brand-emblem {
		width: 46px;
		height: 46px;
	}
	.lp-topbar-date em {
		display: none;
	}
	.lp-aside {
		grid-template-columns: minmax(0, 1fr);
	}
	.lp-hymn-cols {
		grid-template-columns: 1fr;
		gap: 0.8em;
	}
	.lp-prevnext {
		grid-template-columns: 1fr;
	}
	.lp-prevnext a:last-child {
		text-align: left;
	}
	.lp-footer-inner {
		grid-template-columns: 1fr;
	}
	.lp-article {
		padding: 1.3rem 1rem 1.8rem;
		border-left: 0;
		border-right: 0;
		margin: 0 -1rem;
	}
	.lp-prayer {
		padding: 1.5rem 1rem 1.2rem;
	}
	.lp-cite {
		white-space: normal;
	}
}

@media print {
	.lp-topbar,
	.lp-nav,
	.lp-aside,
	.lp-footer,
	.lp-tools,
	.lp-progress,
	.lp-totop,
	.lp-search,
	.lp-mobile-toc,
	.lp-prevnext {
		display: none !important;
	}
	.lp,
	.lp-article {
		background: #fff;
		border: 0;
		box-shadow: none;
	}
	.lp-layout {
		display: block;
		padding: 0;
	}
}
