.wch-single {
	--wch-purple: #7A6FA6;
	--wch-purple-dark: #3F3768;
	--wch-sand: #F4EEE3;
	--wch-terracotta: #C5714E;
	--wch-terracotta-dark: #8A4A30;
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 24px 80px;
	font-family: 'Signika', sans-serif;
}

.wch-single-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 32px;
	align-items: start;
}

.wch-main-col {
	min-width: 0;
}

.wch-sidebar-sticky {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wch-toc-card {
	background: var(--wch-sand);
	border-radius: 16px;
	padding: 20px;
}

.wch-toc-title {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wch-purple-dark);
	margin: 0 0 14px;
}

.wch-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wch-toc-list li {
	margin-bottom: 10px;
}

.wch-toc-list a {
	color: #666;
	font-size: 14px;
	text-decoration: none;
}

.wch-toc-list a:hover {
	color: var(--wch-purple-dark);
}

.wch-related-card {
	display: block;
	background: var(--wch-purple-dark);
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
}

.wch-related-media {
	height: 150px;
	background-size: cover;
	background-position: center;
}

.wch-related-body {
	padding: 18px 20px;
}

.wch-related-label {
	color: var(--wch-sand);
	opacity: 0.75;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	margin: 0 0 8px;
}

.wch-related-title {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0 0 16px;
}

.wch-related-cta {
	display: inline-block;
	background: var(--wch-purple);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	padding: 8px 18px;
	border-radius: 20px;
}

.wch-related-card:hover .wch-related-cta {
	background: #fff;
	color: var(--wch-purple-dark);
}

.wch-single-header {
	text-align: left;
	margin-bottom: 24px;
}

.wch-single-badge {
	display: inline-block;
	background: var(--wch-sand);
	color: var(--wch-terracotta-dark);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	padding: 4px 14px;
	border-radius: 20px;
	margin-bottom: 16px;
}

.wch-single-date {
	font-size: 13px;
	letter-spacing: 0.08em;
	color: #888;
	margin: 0 0 16px;
}

.wch-single-title {
	font-size: 34px;
	line-height: 1.2;
	font-weight: 500;
	color: var(--wch-purple-dark);
	margin: 0 0 20px;
}

.wch-share-label {
	font-size: 12px;
	font-weight: 500;
	color: var(--text-secondary, #888);
	margin: 0 0 10px;
}

.wch-single-share {
	display: flex;
	justify-content: flex-start;
	gap: 12px;
}

.wch-share-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wch-purple-dark);
	background: #fff;
	cursor: pointer;
	text-decoration: none;
}

.wch-share-btn:hover {
	background: var(--wch-sand);
}

.wch-single-hero {
	border-radius: 16px;
	min-height: 280px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	padding: 20px;
	position: relative;
	margin-bottom: 32px;
}

.wch-single-hero-label {
	background: rgba(255, 255, 255, 0.92);
	color: var(--wch-terracotta-dark);
	font-size: 13px;
	font-weight: 600;
	padding: 6px 16px;
	border-radius: 20px;
}

.wch-single-content {
	font-size: 17px;
	line-height: 1.75;
	color: #333;
}

.wch-single-content h2 {
	font-size: 24px;
	font-weight: 500;
	color: var(--wch-purple-dark);
	margin: 40px 0 16px;
	scroll-margin-top: 24px;
}

.wch-single-content h3 {
	font-size: 19px;
	font-weight: 500;
	color: var(--wch-purple-dark);
	margin: 28px 0 12px;
}

.wch-single-content p {
	margin: 0 0 20px;
}

.wch-single-content img {
	max-width: 100%;
	border-radius: 12px;
	margin: 24px 0;
}

.wch-single-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 15px;
}

.wch-single-content th {
	background: var(--wch-purple-dark);
	color: #fff;
	text-align: left;
	padding: 12px 16px;
	font-weight: 500;
}

.wch-single-content td {
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	vertical-align: top;
}

.wch-single-content tr:nth-child(even) td {
	background: var(--wch-sand);
}

.wch-single-content ul,
.wch-single-content ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.wch-single-content li {
	margin-bottom: 10px;
}

.wch-single-content blockquote {
	border-left: 4px solid var(--wch-terracotta);
	background: var(--wch-sand);
	margin: 24px 0;
	padding: 16px 20px;
	border-radius: 0 12px 12px 0;
	font-style: italic;
	color: var(--wch-purple-dark);
}

.wch-single-content strong {
	color: var(--wch-purple-dark);
}

/* Kryssruta-stil för checklistor. Aktiveras genom att skriva "wch-checklist"
   i List-blockets Advanced-panel → "Additional CSS class(es)" i redigeraren. */
.wch-single-content .wch-checklist {
	list-style: none;
	padding-left: 0;
}

.wch-single-content .wch-checklist li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 14px;
}

.wch-single-content .wch-checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border: 2px solid var(--wch-purple);
	border-radius: 5px;
	background: #fff;
}

/* Stor statistik-highlight. Aktiveras genom att skriva "wch-stat" i ett
   Paragraf-blocks Advanced-panel → "Additional CSS class(es)". Skriv siffran
   inuti <strong>-taggar i samma stycke, t.ex. <strong>80 %</strong> av... */
.wch-single-content .wch-stat {
	background: #fff;
	border: 0.5px solid #eee;
	border-left: 4px solid var(--wch-terracotta);
	border-radius: 12px;
	padding: 20px 24px;
	margin: 28px 0;
	font-size: 15px;
	color: var(--text-secondary, #666);
}

.wch-single-content .wch-stat strong {
	display: block;
	font-size: 32px;
	color: var(--wch-terracotta-dark);
	margin-bottom: 4px;
}

/* Rund pillow-badge för nyckelord mitt i brödtexten, t.ex. <span class="wch-tag">PMDS</span> */
.wch-single-content .wch-tag {
	display: inline-block;
	background: var(--wch-sand);
	color: var(--wch-purple-dark);
	font-weight: 500;
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 0.9em;
}

@media (max-width: 780px) {

	.wch-single-title {
		font-size: 26px;
	}

	.wch-single-layout {
		display: flex;
		flex-direction: column;
	}

	.wch-main-col {
		order: 1;
	}

	.wch-sidebar-sticky {
		position: static;
		order: 2;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.wch-toc-card,
	.wch-related-card {
		flex: 1 1 260px;
	}

	.wch-single-hero {
		min-height: 220px;
	}
}
