/* Snippets layout: compline — liturgical hierarchy for evening prayer */

.dash-snippets {
	/* Explicit light paper so fragments stay readable on dark host pages */
	background-color: #fff;
	color: #121212;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 11.5pt;
	line-height: 1.6;
	max-width: 38rem;
}

.dash-snippets__actions {
	margin: 0.85rem 0 1.5rem;
}

.dash-snippets__composition-header {
	border-bottom: 1px solid #c8c2b6;
	margin: 0 0 1.5rem;
	padding-bottom: 0.65rem;
}

.dash-snippets__composition-title {
	font-size: 1.35rem;
	font-variant: small-caps;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.25;
	margin: 0 0 0.25rem;
	text-align: center;
}

.dash-snippets__composition-desc {
	color: #555;
	font-size: 0.9rem;
	font-style: italic;
	margin: 0;
	text-align: center;
}

.dash-snippets__part {
	margin: 0 0 1.15rem;
	page-break-inside: avoid;
}

.dash-snippets__part--page-break-before {
	page-break-before: always;
	break-before: page;
}

.dash-snippets__part--page-break-before:first-child {
	page-break-before: auto;
	break-before: auto;
}

.dash-snippets__part--collect .dash-snippets__heading,
.dash-snippets__part--prayer .dash-snippets__heading {
	font-size: 1rem;
	font-variant: small-caps;
	letter-spacing: 0.03em;
}

.dash-snippets__part--reading .dash-snippets__body {
	font-size: 11pt;
	line-height: 1.65;
}

.dash-snippets__part--litany .dash-snippets__body p {
	margin-bottom: 0.4rem;
}

.dash-snippets__part--rubric {
	margin-bottom: 0.85rem;
}

.dash-snippets__heading {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.45rem;
}

.dash-snippets__desc {
	color: #555;
	font-size: 0.88rem;
	font-style: italic;
	margin: 0 0 0.55rem;
}

.dash-snippets__image {
	margin: 0 0 0.85rem;
	text-align: center;
}

.dash-snippets__image img {
	display: inline-block;
	height: auto;
	max-height: 14rem;
	max-width: min(100%, 12rem);
}

.dash-snippets__body {
	margin: 0;
}

.dash-snippets__body p,
.dash-snippets__attribution p {
	margin: 0 0 0.7rem;
}

.dash-snippets__body p:last-child,
.dash-snippets__attribution p:last-child {
	margin-bottom: 0;
}

.dash-snippets__body ul,
.dash-snippets__body ol {
	margin: 0 0 0.7rem;
	padding-left: 1.25rem;
}

.dash-snippets__body blockquote {
	border-left: 2px solid #c8c2b6;
	margin: 0 0 0.7rem;
	padding: 0.1rem 0 0.1rem 0.85rem;
}

.dash-snippets__attribution {
	color: #666;
	font-size: 0.85rem;
	margin-top: 0.5rem;
	text-align: right;
}

/* Liturgical blocks — stronger hierarchy for compline */
.dash-snippets .congregation,
.dash-snippets-doc .congregation {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 13.5pt;
	font-weight: 700;
	line-height: 1.55;
}

.dash-snippets .rubric,
.dash-snippets-doc .rubric {
	color: #8b1515;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 10.5pt;
	font-style: italic;
	line-height: 1.45;
	text-align: center;
}

.dash-snippets-doc {
	background: #fff;
	color: #121212;
	margin: 0;
	padding: 22px;
}

.dash-snippets-branding {
	margin: 0 0 1.25rem;
	text-align: center;
}

.dash-snippets-branding__name {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	margin-top: 0.3rem;
	text-transform: uppercase;
}

@media print {
	.dash-snippets-doc {
		padding: 0;
	}

	.dash-snippets__part {
		orphans: 3;
		widows: 3;
	}

	.dash-snippets__part--page-break-before {
		page-break-before: always;
	}

	.dash-snippets__part--page-break-before:first-child {
		page-break-before: auto;
	}
}
