/**
 * THE THOR Six-Site Content Design - core
 * Scope is limited to the rendered post-content wrapper.
 */

.tscd-article-content {
	--tscd-main: #315b4a;
	--tscd-main-strong: #284c3d;
	--tscd-soft: #eaf2ed;
	--tscd-accent: #c9783d;
	--tscd-ink: #26332d;
	--tscd-muted: #5d6a63;
	--tscd-paper: #faf9f5;
	--tscd-card: #ffffff;
	--tscd-line: #d8dddf;
	--tscd-neutral-soft: #f4f5f5;
	--tscd-point: #3f6f9f;
	--tscd-point-soft: #edf4fa;
	--tscd-note: #76638f;
	--tscd-note-soft: #f2eff7;
	--tscd-caution: #a16615;
	--tscd-caution-soft: #fbf3e5;
	--tscd-danger: #9c4654;
	--tscd-danger-soft: #faecef;
	--tscd-summary: #3e746c;
	--tscd-summary-soft: #eaf4f1;
	--tscd-step: #596a78;
	--tscd-step-soft: #eef1f3;
	--tscd-check: #33756f;
	--tscd-check-soft: #eaf4f1;
	--tscd-merit: #2e6fa3;
	--tscd-demerit: #9c4654;
	--tscd-action: #5d4d83;
	--tscd-cta-button: #f0b44d;
	--tscd-cta-button-hover: #d99b33;
	--tscd-cta-button-shadow: #b77d22;
	--tscd-cta-button-secondary: #8a5a0c;
	--tscd-on-strong: #ffffff;
	box-sizing: border-box;
	max-width: 100%;
	color: var(--tscd-ink);
	overflow-wrap: anywhere;
}

.tscd-article-content *,
.tscd-article-content *::before,
.tscd-article-content *::after {
	box-sizing: border-box;
}

.tscd-article-content h2,
.tscd-article-content h3,
.tscd-article-content h4,
.tscd-article-content h5 {
	clear: both;
	max-width: 100%;
	font-style: normal;
	text-transform: none;
	scroll-margin-top: 90px;
	word-break: auto-phrase;
}

.tscd-article-content h2::before,
.tscd-article-content h2::after,
.tscd-article-content h3::before,
.tscd-article-content h3::after,
.tscd-article-content h4::before,
.tscd-article-content h4::after,
.tscd-article-content h5::before,
.tscd-article-content h5::after {
	content: none !important;
	display: none !important;
}

.tscd-article-content h2 {
	position: relative;
	margin: 2.7em 0 1.25em !important;
	padding: 0.75em 0.9em !important;
	font-size: clamp(22px, 3vw, 26px) !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	color: var(--tscd-on-strong) !important;
	background: var(--tscd-main) !important;
	border: 0 !important;
}

.tscd-article-content h3 {
	position: relative;
	margin: 2.2em 0 1em !important;
	padding: 0.45em 0.65em 0.42em 0.75em !important;
	font-size: clamp(19px, 2.4vw, 22px) !important;
	font-weight: 700 !important;
	line-height: 1.55 !important;
	color: var(--tscd-main-strong) !important;
	background: #ffffff !important;
	border: 0 !important;
	border-left: 5px solid var(--tscd-main) !important;
	border-bottom: 1px solid var(--tscd-line) !important;
	box-shadow: none !important;
}

.tscd-article-content h4 {
	margin: 1.9em 0 0.8em !important;
	padding: 0.48em 0.75em !important;
	font-size: clamp(17px, 2vw, 19px) !important;
	font-weight: 700 !important;
	line-height: 1.55 !important;
	color: var(--tscd-main-strong) !important;
	background: var(--tscd-soft) !important;
	border: 0 !important;
	border-left: 5px solid var(--tscd-accent) !important;
	border-bottom: 1px solid var(--tscd-line) !important;
}

.tscd-article-content h5 {
	position: relative;
	margin: 1.65em 0 0.65em !important;
	padding: 0 0 0 1.65em !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.55 !important;
	color: var(--tscd-main-strong) !important;
	background: transparent !important;
	border: 0 !important;
}

.tscd-article-content h5::before {
	content: "" !important;
	display: block !important;
	position: absolute;
	top: 0.38em;
	left: 0;
	width: 0.8em;
	height: 0.8em;
	background: transparent;
	border: 3px solid var(--tscd-main);
	border-radius: 50%;
}

.tscd-article-content a:not([class]) {
	color: var(--tscd-main-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.tscd-article-content blockquote {
	margin: 1.6em 0;
	padding: 1em 1.2em;
	color: var(--tscd-muted);
	background: var(--tscd-note-soft);
	border: 0;
	border-left: 4px solid var(--tscd-note);
}

.tscd-article-content blockquote > :last-child {
	margin-bottom: 0;
}

.tscd-article-content ul:not([class]):not(.outline ul),
.tscd-article-content ol:not([class]):not(.outline ol) {
	padding-left: 1.5em;
}

.tscd-article-content table {
	width: 100%;
	border-collapse: collapse;
}

.tscd-article-content th,
.tscd-article-content td {
	padding: 0.75em;
	border: 1px solid var(--tscd-line);
	vertical-align: top;
}

.tscd-article-content th {
	background: var(--tscd-neutral-soft);
}

.tscd-article-content img {
	max-width: 100%;
	height: auto;
}

.tscd-article-content .wp-caption {
	max-width: 100%;
}

.tscd-article-content .wp-caption-text,
.tscd-article-content figcaption {
	margin-top: 0.45em;
	color: var(--tscd-muted);
	font-size: 14px;
	line-height: 1.65;
}

@media (max-width: 600px) {
	.tscd-article-content h2 {
		margin-top: 2.25em !important;
		padding: 0.7em 0.75em !important;
	}

	.tscd-article-content h3 {
		margin-top: 1.9em !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tscd-article-content *,
	.tscd-article-content *::before,
	.tscd-article-content *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
