/* Seelenmama Design-Extras. Farben passen sich an die Kategorie-Farbe des Artikels an (--rc-accent). */

/* Lesezeit */
.smb-lesezeit {
	display: inline-block;
	margin: 14px auto 0 !important;
	padding: 5px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--rc-border, #F0DFC2);
	color: var(--rc-text-soft, #7C6A55);
	font-family: 'Nunito', sans-serif;
	font-size: 0.85rem !important;
	font-weight: 600;
	line-height: 1.4;
}

/* Inhaltsverzeichnis */
.smb-toc {
	margin: 28px 0 34px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid var(--rc-border, #F0DFC2);
	border-left: 5px solid var(--rc-accent, #C98A4B);
	border-radius: 16px;
	font-family: 'Nunito', sans-serif;
}
.smb-toc summary {
	cursor: pointer;
	list-style: none;
	font-family: 'Quicksand', sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--rc-text, #4A3826);
}
.smb-toc summary::-webkit-details-marker { display: none; }
.smb-toc summary::after {
	content: "▾";
	margin-left: 8px;
	color: var(--rc-accent, #C98A4B);
	display: inline-block;
	transition: transform 0.2s ease;
}
.smb-toc details:not([open]) summary::after { transform: rotate(-90deg); }
.smb-toc ol {
	margin: 12px 0 0;
	padding-left: 22px;
}
.smb-toc li {
	margin: 6px 0;
	font-size: 1rem;
	line-height: 1.5;
}
.smb-toc li::marker {
	color: var(--rc-accent, #C98A4B);
	font-weight: 700;
}
.smb-toc a {
	color: var(--rc-text, #4A3826) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}
.smb-toc a:hover { color: var(--rc-accent-dark, #A66F38) !important; text-decoration: underline !important; }
.entry-content h2[id] { scroll-margin-top: 110px; }

/* Autorinnen-Box */
.smb-autorin {
	--smb-akzent: #C98A4B;
	box-sizing: border-box;
	display: flex;
	gap: 22px;
	align-items: center;
	max-width: 760px;
	margin: 36px auto;
	padding: 26px;
	background: #fff;
	border: 2px dashed color-mix(in srgb, var(--smb-akzent) 45%, #fff);
	border-radius: 22px;
	color: #4A3826;
	font-family: 'Nunito', sans-serif;
}
.smb-autorin-bild {
	flex: 0 0 104px;
	width: 104px;
	height: 104px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 25%;
	border: 4px solid color-mix(in srgb, var(--smb-akzent) 25%, #fff);
}
.smb-autorin .smb-autorin-titel {
	margin: 0 0 6px;
	font-family: 'Quicksand', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}
.smb-autorin-text p {
	margin: 0 0 8px;
	font-size: 1rem;
	line-height: 1.6;
	color: #7C6A55;
}
.smb-autorin .smb-autorin-link {
	color: color-mix(in srgb, var(--smb-akzent) 80%, #000) !important;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none !important;
}
.smb-autorin .smb-autorin-link:hover { text-decoration: underline !important; }

/* Fortschritts-Linie */
.smb-fortschritt {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	height: 4px;
	z-index: 99999;
	pointer-events: none;
}
.smb-fortschritt span {
	display: block;
	height: 100%;
	background: var(--smb-akzent, #C98A4B);
	border-radius: 0 4px 4px 0;
	transform: scaleX(0);
	transform-origin: left center;
}

/* Meine Herzensprojekte (Startseite) */
.smb-projekte {
	max-width: 1100px;
	margin: 48px auto;
	text-align: center;
}
.smb-projekte.smb-ueberschrift {
	margin-bottom: 20px;
}
.smb-projekte.smb-ueberschrift .smb-projekte-untertitel {
	margin-bottom: 0;
}
.smb-projekte .smb-projekte-titel {
	margin: 0 0 6px;
	font-family: 'Quicksand', sans-serif;
}
.smb-projekte-untertitel {
	margin: 0 0 26px;
	color: #7C6A55;
}
.smb-projekte-raster {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 22px;
	text-align: left;
}
.smb-box.smb-karte {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	overflow: hidden;
	max-width: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.smb-box.smb-karte:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px -14px rgba(74, 56, 38, 0.35);
}
.smb-karte-bild {
	background: #fff;
	padding: 18px 18px 0;
	text-align: center;
}
.smb-karte-bild img {
	max-width: 100%;
	height: 180px;
	object-fit: contain;
}
.smb-karte-inhalt {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 24px;
}
.smb-karte .smb-titel { font-size: 1.15rem; }
.smb-karte .smb-button { margin-top: auto; align-self: flex-start; }

@media (max-width: 600px) {
	.smb-autorin { flex-direction: column; text-align: center; padding: 22px 18px; }
	.smb-toc { padding: 16px 18px; }
}
