/* Kurzbemerkungen – im Stil des mono-serif-Themes (Noto Serif / IBM Plex Mono) */

.rn-notes,
.rn-note,
.rn-home {
	--rn-fg: #111;
	--rn-muted: #666;
	--rn-line: #e3e3e3;
	--rn-serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
	--rn-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
	color: var(--rn-fg);
}

/* ---------- Archiv ---------- */

.rn-notes {
	padding: 28px 0 56px;
}
.rn-notes__header {
	max-width: 760px;
	margin: 0 auto 8px;
}
.rn-notes__title {
	margin: 0;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rn-fg);
	font-family: var(--rn-serif);
	font-size: 1.1rem;
	font-weight: 700;
}
.rn-notes__list {
	max-width: 760px;
	margin: 0 auto;
}
.rn-notes__list .rn-note {
	padding: 24px 0;
	border-bottom: 1px solid var(--rn-line);
}

/* ---------- Eine Bemerkung ---------- */

.rn-note__row {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.rn-note__icon {
	flex: 0 0 auto;
	display: block;
	width: 18px;
	height: 18px;
	margin-top: 4px;
	border: 2px solid var(--rn-fg);
	border-radius: 50%;
	position: relative;
}
.rn-note__icon::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 6px;
	height: 6px;
	margin: -3px 0 0 -3px;
	background: var(--rn-fg);
	border-radius: 50%;
}
.rn-note__icon-link {
	flex: 0 0 auto;
	display: block;
	line-height: 0;
}
.rn-note__main {
	flex: 1 1 auto;
	min-width: 0;
}
.rn-note__meta {
	font-family: var(--rn-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
	margin-bottom: 8px;
}
.rn-note__permalink {
	color: var(--rn-fg);
	text-decoration: none;
}
.rn-note__permalink:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.rn-note__body {
	font-family: var(--rn-serif);
	font-size: 1.0625rem;
	line-height: 1.6;
}
.rn-note__body > :first-child { margin-top: 0; }
.rn-note__body > :last-child { margin-bottom: 0; }
.rn-note__body a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.rn-note__body img { max-width: 100%; height: auto; }

/* ---------- Einzelansicht ---------- */

.rn-note--single {
	padding: 28px 0 8px;
}
.rn-note--single .rn-note__row,
.rn-note__comments,
.rn-note__home {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}
.rn-note__comments {
	margin-top: 40px;
}
.rn-note__home {
	margin-top: 32px;
	padding-top: 16px;
	border-top: 1px solid var(--rn-line);
	font-family: var(--rn-mono);
	font-size: 13px;
}
.rn-note__home a {
	color: var(--rn-muted);
	text-decoration: none;
}
.rn-note__home a:hover {
	color: var(--rn-fg);
	text-decoration: underline;
}

.rn-empty {
	max-width: 760px;
	margin: 0 auto;
	font-family: var(--rn-mono);
	color: var(--rn-muted);
}

/* ---------- Blättern ---------- */

.rn-notes .pagination,
.rn-notes .nav-links {
	max-width: 760px;
	margin: 28px auto 0;
	font-family: var(--rn-mono);
	font-size: 13px;
}
.rn-notes .page-numbers {
	display: inline-block;
	padding: 4px 9px;
	margin-right: 4px;
	color: var(--rn-fg);
	text-decoration: none;
	border: 1px solid var(--rn-line);
}
.rn-notes .page-numbers.current {
	background: var(--rn-fg);
	color: #fff;
	border-color: var(--rn-fg);
}
.rn-notes .page-numbers:hover {
	border-color: var(--rn-fg);
}

/* ---------- Teilen ---------- */

.rn-note__share {
	margin-top: 12px;
}
.rn-share > summary {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	cursor: pointer;
	font-family: var(--rn-mono);
	font-size: 13px;
	color: var(--rn-muted);
	padding: 2px 0;
}
.rn-share > summary::-webkit-details-marker { display: none; }
.rn-share > summary:hover,
.rn-share[open] > summary { color: var(--rn-fg); }
.rn-share > summary:focus-visible { outline: 2px solid var(--rn-fg); outline-offset: 3px; }
.rn-share .rn-ico { width: 1em; height: 1em; display: block; }

.rn-share-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}
.rn-share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--rn-line);
	border-radius: 50%;
	background: #fff;
	color: var(--rn-fg);
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.rn-share-link .rn-ico { width: 16px; height: 16px; }
.rn-share-link:hover {
	background: var(--rn-fg);
	color: #fff;
	border-color: var(--rn-fg);
}
.rn-share-link:focus-visible { outline: 2px solid var(--rn-fg); outline-offset: 2px; }
.rn-share-copy { font: inherit; }
.rn-share-copy.is-done {
	background: var(--rn-fg);
	color: #fff;
	border-color: var(--rn-fg);
}

/* ---------- Startseite (unter dem Slider) ---------- */

.rn-home {
	padding: 8px 0 44px;
}
.rn-home__inner {
	max-width: none;
	margin: 0;
}
.rn-home__title {
	margin: 0;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rn-fg);
	font-family: var(--rn-serif);
	font-size: 1.1rem;
	font-weight: 700;
}
.rn-home .rn-notes__list {
	max-width: none;
}
.rn-home .rn-note {
	padding: 22px 0;
	border-bottom: 1px solid var(--rn-line);
}
.rn-home__more {
	margin: 20px 0 0;
	font-family: var(--rn-mono);
	font-size: 13px;
}
.rn-home__more a {
	color: var(--rn-fg);
	text-decoration: none;
}
.rn-home__more a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 600px) {
	.rn-note__body { font-size: 1rem; }
	.rn-note__row { gap: 12px; }
}
