body.somnia-style-reference {
	--ref-rule: 3px double var(--dt-accent);
	--ref-hair: 1px solid var(--dt-border);
}

body.somnia-style-reference .site-header {
	background: var(--dt-bg);
	border-bottom: 0;
}
body.somnia-style-reference .site-branding-text {
	padding: 28px 16px 18px;
	text-align: center;
	border-bottom: var(--ref-rule);
	box-sizing: border-box;
}
body.somnia-style-reference .site-title {
	font-size: 36px;
	white-space: normal;
}
body.somnia-style-reference .site-title a {
	flex-direction: column;
	gap: 10px;
	color: var(--dt-text);
}
body.somnia-style-reference .site-title a::before {
	width: 56px;
	height: 56px;
}
body.somnia-style-reference .site-description {
	margin-top: 6px;
	font-family: var(--dt-heading-font);
	font-style: italic;
	font-size: 19px;
	color: var(--dt-muted);
}

body.somnia-style-reference:not(.home) .site-branding-text {
	padding: 12px 16px 10px;
}
body.somnia-style-reference:not(.home) .site-title {
	font-size: 24px;
}
body.somnia-style-reference:not(.home) .site-title a {
	flex-direction: row;
	gap: 10px;
}
body.somnia-style-reference:not(.home) .site-title a::before {
	width: 40px;
	height: 40px;
}
body.somnia-style-reference:not(.home) .site-description {
	display: none;
}

body.somnia-style-reference .site-footer {
	background: var(--dt-bg);
}
body.somnia-style-reference .site-info {
	border-top: var(--ref-rule);
	max-width: 760px;
}

body.somnia-style-reference #content h1 {
	font-size: 2em;
	line-height: 1.12;
}
body.somnia-style-reference #content :is(.somnia-readers h2, .somnia-messages-title) {
	font-size: 1.45em;
}
body.somnia-style-reference.home #content .entry-content > p:first-of-type > .lead {
	color: var(--dt-accent);
	font-variant: small-caps;
	letter-spacing: 0.03em;
}

body.somnia-style-reference.single-post .entry-content > p:first-of-type::first-letter {
	float: left;
	margin: 0.08em 0.12em 0 0;
	font-family: var(--dt-heading-font);
	font-weight: var(--dt-heading-weight);
	font-size: 3.4em;
	line-height: 0.82;
	color: var(--dt-accent);
}
body.somnia-style-reference.single-post #content .entry-meta {
	padding-bottom: 12px;
	border-bottom: var(--ref-hair);
}
body.somnia-style-reference.single-post .entry-meta .byline .avatar,
body.somnia-style-reference #comments .comment-head .avatar {
	border-radius: 0;
}
body.somnia-style-reference.single-post .entry-content > p:nth-of-type(3):nth-last-of-type(n+3) {
	border-bottom: var(--ref-rule);
}

body.somnia-style-reference :is(button, input[type="button"], input[type="reset"], input[type="submit"], input[type="text"], textarea),
body.somnia-style-reference .share-icon,
body.somnia-style-reference .somnia-label,
body.somnia-style-reference #euCookieAcceptWP,
body.somnia-style-reference #dcf-search,
body.somnia-style-reference #dcf-container .dcf-author,
body.somnia-style-reference .somnia-messages .testimonial-card,
body.somnia-style-reference .somnia-reader,
body.somnia-style-reference #comments .comment-form-author input,
body.somnia-style-reference #comments .comment-form textarea,
body.somnia-style-reference #comments .form-submit .somnia-button,
body.somnia-style-reference #comments .comment-day span,
body.somnia-style-reference #comments #somnia-own,
body.somnia-style-reference #comments .somnia-delete-yes,
body.somnia-style-reference #comments .pagination .page-numbers,
body.somnia-style-reference #content .somnia-form-title::after {
	border-radius: 0;
}
body.somnia-style-reference .drs-box,
body.somnia-style-reference .drs-box .drs-box-button {
	border-radius: 0 !important;
}
body.somnia-style-reference .drs-box {
	border-color: var(--dt-text) !important;
}

body.somnia-style-reference .somnia-reader {
	margin: 0;
	padding: 10px 30px 10px 0;
	border-bottom: var(--ref-hair);
}
body.somnia-style-reference .somnia-reader::after {
	right: 4px;
}
body.somnia-style-reference .somnia-reader:hover {
	background: none;
}

body.somnia-style-reference .somnia-messages .testimonial-card {
	border: 0;
	border-top: var(--ref-rule);
	background: none;
	padding: 16px 4px 4px;
}
body.somnia-style-reference .somnia-messages .testimonial-content {
	font-style: italic;
}

body.somnia-style-reference #content .somnia-form-title {
	color: var(--dt-text);
}
body.somnia-style-reference #content .somnia-form-title::after {
	width: 64px;
	height: 0;
	border-top: var(--ref-rule);
	background: none;
}

body.somnia-style-reference #comments .comment,
body.somnia-style-reference #comments .comment.is-interpreter {
	align-items: stretch;
}
body.somnia-style-reference #comments .comment-body {
	max-width: none;
}
body.somnia-style-reference #comments .comment-bubble {
	padding: 0 0 4px;
	background: none;
	border-radius: 0;
}
body.somnia-style-reference #comments .is-interpreter > .comment-body {
	margin-left: 14px;
	padding-left: 14px;
	border-left: var(--ref-rule);
}
body.somnia-style-reference #comments .is-interpreter > .comment-body > .comment-bubble {
	background: none;
	border-radius: 0;
}
body.somnia-style-reference #comments .is-interpreter .comment-name {
	font-family: var(--dt-heading-font);
	font-weight: var(--dt-heading-weight);
	font-size: 1.1em;
	color: var(--dt-accent);
}
body.somnia-style-reference #comments .comment-list > .comment {
	padding-top: 18px;
	border-top: var(--ref-hair);
}

body.somnia-style-reference .drs-results,
body.somnia-style-reference .drs-net {
	font-family: var(--dt-body-font);
}
body.somnia-style-reference .drs-results .drs-result,
body.somnia-style-reference .drs-net .drs-net-item {
	margin: 0;
	padding: 14px 0;
	border-bottom: var(--ref-hair);
}
body.somnia-style-reference .drs-results .drs-title,
body.somnia-style-reference .drs-net .drs-net-title {
	font-family: var(--dt-heading-font);
	font-weight: var(--dt-heading-weight);
	font-size: 21px;
}
body.somnia-style-reference .drs-snippet {
	color: var(--dt-body-text);
	font-size: 15px;
	line-height: 1.65;
}
body.somnia-style-reference .drs-site {
	color: var(--dt-muted);
}
body.somnia-style-reference .drs-eyebrow::after {
	height: 0;
	border-top: var(--ref-rule);
	background: none;
}
body.somnia-style-reference .drs-net {
	padding: 18px 16px 4px;
	background: var(--dt-surface);
	box-sizing: border-box;
}
body.somnia-style-reference .drs-net .drs-net-item:last-child {
	border-bottom: 0;
}
