/**
 * News detail leeline — scope prose + rem normalize; hide legacy shells.
 */

body.qng-news-leeline-article-active .page_section,
body.qng-news-leeline-article-active .qng-news-article-prm-layout,
body.qng-news-leeline-article-active .qng-esd-page.qng-esd-news-single {
	display: none !important;
}

/* News detail — full-page pure white canvas */
body.qng-news-leeline-article-active {
	background: #fff !important;
	overscroll-behavior-y: none;
}

body.qng-news-leeline-article-active.qng-body-news-single {
	min-height: 0;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout #page,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .site-content,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout #content,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout #primary.content-area,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .site-main,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .widget-area.sidebar,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .inside-right-sidebar,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout article,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content {
	background: #fff !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout {
	--qng-leeline-rem: 14px;
	font-size: var(--qng-leeline-rem);
	margin-top: 50px !important;
}

/* Cancel legacy theme #content { top: -0.6rem } pulling article body into the banner. */
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .site-content,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout #content {
	position: relative !important;
	top: 0 !important;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout * {
	box-sizing: border-box;
}

/* Map leeline article layout to shared prose stylesheet selectors */
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .inside-article {
	color: var(--qng-article-text, #344b64);
	background: #fff;
	padding: 0 0 48px;
	font-family: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content {
	margin-top: 0;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-inner-pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 1.5em 0 0;
	padding: 12px 14px;
	background: #f4f8fa;
	border: 1px solid #ced3d3;
	border-radius: 6px;
	font-size: 15px;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap {
	margin-top: 30px;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box {
	margin: 0;
	padding: 30px;
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	box-shadow: none;
	font-size: 16px;
	line-height: 1.6;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-avatar img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-name {
	margin: 0 0 5px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-name,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-name a {
	color: #095fa8;
	text-decoration: none;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-name a:hover {
	color: #f15b27;
	text-decoration: underline;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-name a.qng-eeat-author-profile-link,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-name a {
	position: relative;
	z-index: 3;
	cursor: pointer;
	pointer-events: auto;
	text-decoration: none;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-header {
	position: relative;
	z-index: 2;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap a.qng-eeat-author-avatar-link {
	display: inline-block;
	line-height: 0;
	cursor: pointer;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap a.qng-eeat-author-avatar-link:hover {
	opacity: 0.88;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-title {
	display: flex;
	gap: 10px;
	align-items: center;
	color: #6c757d;
	font-size: 14px;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-job-title {
	font-weight: 600;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-bio {
	font-size: 16px;
	color: var(--qng-article-text, #344b64);
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-expertise {
	margin-top: 15px;
	margin-bottom: 0;
	padding: 15px;
	background: #f8f9fa;
	border: none;
	border-radius: 6px;
	font-size: 14px;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-tab-button.active {
	background: #1a2332 !important;
	color: #fff !important;
	border-bottom-color: #f15b27 !important;
	border-radius: 0;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-tab-button.active svg,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-tab-button.active .svg {
	fill: currentColor;
	color: #fff;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-tabs-nav {
	border-bottom-color: #e9ecef;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-auhtor-box-avatar-content-outer {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto auto auto;
	column-gap: 20px;
	row-gap: 0;
	align-items: start;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-content {
	display: contents;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-avatar {
	grid-column: 1;
	grid-row: 1;
	align-self: start;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-header {
	grid-column: 2;
	grid-row: 1;
	margin-bottom: 0;
	align-self: center;
	min-width: 0;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-tabs-nav {
	grid-column: 1 / -1;
	grid-row: 2;
	display: flex;
	width: 100%;
	margin: 18px 0 0;
	gap: 0;
	border-bottom: 2px solid #e3e7eb;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-tab-button {
	flex: 1 1 0;
	justify-content: center;
	min-width: 0;
	border-radius: 0;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-tabs-content {
	grid-column: 1 / -1;
	grid-row: 3;
	width: 100%;
}

body.qng-news-leeline-article-active .qng-news-leeline-article-layout .qng-news-author-box-wrap .eeat-author-box-footer {
	grid-column: 1 / -1;
	grid-row: 4;
	width: 100%;
}

/* Extend prose rules from qng-news-leeline-article.css (static) */
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content p,
body.qng-news-leeline-article-active .qng-news-leeline-article-layout .entry-content .wp-block-paragraph {
	color: var(--qng-article-text, #344b64);
}

@media (max-width: 767px) {
	body.qng-news-leeline-article-active .qng-news-leeline-article-layout {
		margin-top: 30px !important;
	}

	body.qng-news-leeline-article-active .qng-news-leeline-article-layout .inside-article {
		padding-bottom: 36px;
	}
}
