/**
 * Inline TOC on news detail — card block above Key Takeaways.
 */

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content #wpj-jtoc,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc.qng-news-inline-toc,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content #wpj-jtoc.qng-news-inline-toc {
	--jtoc_color_background: #fff !important;
	--jtoc_color_text: var(--qng-article-text, #344b64) !important;
	--jtoc_color_accent: var(--qng-article-link, #095fa8) !important;
	--jtoc_color_surface: #f4f8fa !important;
	--jtoc_color_hover_bg: #f4f8fa !important;
	--jtoc_color_active_bg: #eef5fb !important;
	--jtoc_color_text_hover: var(--qng-article-link, #095fa8) !important;
	--jtoc_color_text_active: var(--qng-article-link, #095fa8) !important;
	--jtoc-background-color: #fff !important;
	--jtoc-toc-border: none !important;
	--jtoc-body-padding: 0 !important;
	--jtoc-header-height: auto !important;
	--jtoc-link-color: var(--qng-article-link, #095fa8) !important;
	--jtoc-link-color-hover: var(--qng-article-link, #095fa8) !important;
	--jtoc-link-color-active: var(--qng-article-link, #095fa8) !important;
	--jtoc-title-font-size: 22px !important;
	--jtoc-headings-font-size: 100% !important;
	--jtoc-link-font-size: 16px !important;
	width: 100% !important;
	max-width: 100%;
	margin: 0 0 2em !important;
	padding: 24px 22px 20px !important;
	min-height: 0 !important;
	border: 1px solid #e3e8ec !important;
	border-left: 4px solid #095fa8 !important;
	border-radius: 10px !important;
	box-shadow: 0 4px 20px rgba(9, 22, 42, 0.06) !important;
	background: #fff !important;
	color: var(--qng-article-text, #344b64) !important;
	font-family: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	box-sizing: border-box;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content #wpj-jtoc.--dark,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc.--dark {
	--jtoc_color_scheme_main: var(--qng-article-contrast, #09162a) !important;
	--jtoc_color_scheme_inverse: #fff !important;
	--jtoc_color_background: #fff !important;
	--jtoc_color_text: var(--qng-article-text, #344b64) !important;
	background: #fff !important;
	color: var(--qng-article-text, #344b64) !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--toc,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--toc-inline {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--header {
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	cursor: default !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--header-main {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--title {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--title .title-icon {
	display: none !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--title-label {
	display: block;
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 2px solid #e8eef2;
	font-family: Oswald, sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--qng-article-contrast, #09162a);
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--toggle-wrap,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--toggle-box,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--toggle-text,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--toggle-icon {
	display: none !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--body,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav {
	margin: 0 !important;
	padding: 0 !important;
	max-height: none !important;
	height: auto !important;
	overflow: visible !important;
	background: transparent !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav .wpj-jtoc--items,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav ol,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	font-size: 16px;
	line-height: 1.6;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav .wpj-jtoc--items ul,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav .wpj-jtoc--items ol,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav ul ul,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav ol ul,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav ul ol {
	margin-top: 6px !important;
	margin-bottom: 0 !important;
	padding-left: 14px !important;
	list-style: none;
	font-size: 15px !important;
	border-left: 1px solid #e3e8ec;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--items > li {
	margin: 0 0 8px !important;
	padding: 0 0 0 12px !important;
	background: transparent !important;
	border-left: 2px solid transparent;
	border-radius: 0 !important;
	font-size: 16px;
	line-height: 1.55;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item-content,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item-content a,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav .wpj-jtoc--items ul li,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav .wpj-jtoc--items ol li {
	font-size: inherit !important;
	line-height: inherit !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item:last-child,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--items > li:last-child {
	margin-bottom: 0 !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item-numeration,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item-content::before,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item-content .jtoc--num {
	display: none !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item-link,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav a {
	display: inline-block;
	padding: 2px 0;
	color: var(--qng-article-contrast-2, #1c3145) !important;
	text-decoration: none;
	font-family: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: inherit !important;
	font-weight: 500;
	line-height: 1.55;
	background: transparent !important;
	transition: color 0.2s ease;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item-link:hover,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--nav a:hover,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item.wpj-jtoc--item-active > .wpj-jtoc--item-content .wpj-jtoc--item-link {
	color: var(--qng-article-link, #095fa8) !important;
	text-decoration: none;
	background: transparent !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item.wpj-jtoc--item-active,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item:hover {
	border-left-color: #095fa8;
	background: #f4f8fa !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--item.wpj-jtoc--item-active {
	background: #eef5fb !important;
}

@media only screen and (max-width: 768px) {
	body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content #wpj-jtoc,
	body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content #wpj-jtoc.qng-news-inline-toc {
		padding: 18px 16px 16px !important;
		margin-bottom: 1.5em !important;
	}

	body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wpj-jtoc--title-label {
		font-size: 20px;
	}
}
