/**
 * QI Article V1
 *
 * Scope:
 * WordPress single posts only.
 */


/* =========================================================
 * PAGE
 * ======================================================= */

body.qi-article-v1 .blog-wrapper.blog-single {
	padding: 0 0 64px;

	background: #f6fafb;
}


body.qi-article-v1 .qi-article-page {
	width: 100%;
}


body.qi-article-v1 .qi-article-shell {
	width: calc(100% - 32px);
	max-width: 1080px;

	margin: 0 auto;
}


/* =========================================================
 * HEADER
 * ======================================================= */

body.qi-article-v1 .qi-article-header {
	width: 100%;
	max-width: 900px;

	margin: 0 auto;
	padding: 52px 20px 34px;

	text-align: center;
}


body.qi-article-v1 .qi-article-kicker {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	margin: 0 0 16px;
	padding: 6px 12px;

	border: 1px solid #c9e7e3;
	border-radius: 999px;

	background: #eaf7f6;

	color: #0b7d7b;

	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;

	letter-spacing: .04em;
}


body.qi-article-v1 .qi-article-title {
	max-width: 900px;

	margin: 0 auto;

	color: #0d2f43;

	font-size: clamp(34px, 4vw, 46px);
	font-weight: 850;
	line-height: 1.3;

	letter-spacing: -.025em;
}


body.qi-article-v1 .qi-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;

	gap: 9px;

	margin-top: 20px;

	color: #71858e;

	font-size: 13px;
	line-height: 1.5;
}


body.qi-article-v1 .qi-article-editor {
	color: #4d6873;

	font-weight: 700;
}


body.qi-article-v1 .qi-article-meta-separator {
	display: block;

	width: 3px;
	height: 3px;

	border-radius: 50%;

	background: #a9b9bf;
}


/* =========================================================
 * FEATURED IMAGE
 * ======================================================= */

body.qi-article-v1 .qi-article-featured-image {
	width: 100%;
	max-width: 940px;

	margin: 0 auto 28px;

	overflow: hidden;

	border-radius: 18px;

	background: #eaf1f3;

	box-shadow:
		0 8px 28px
		rgba(13, 47, 67, .06);
}


body.qi-article-v1 .qi-article-featured-image img {
	display: block;

	width: 100%;
	height: auto;

	margin: 0;
}


/* =========================================================
 * CONTENT CARD
 * ======================================================= */

body.qi-article-v1 .qi-article-content {
	width: 100%;
	max-width: 940px;

	margin: 0 auto;
	padding: 44px 48px 50px;

	border: 1px solid #e1ebed;
	border-radius: 18px;

	background: #ffffff;

	color: #334e5a;

	box-shadow:
		0 8px 30px
		rgba(13, 47, 67, .045);
}


body.qi-article-v1 .qi-article-content > article {
	width: 100%;

	margin-left: auto !important;
	margin-right: auto !important;
}


/* =========================================================
 * TYPOGRAPHY
 * ======================================================= */

body.qi-article-v1 .qi-article-content p {
	margin: 0 0 20px;

	color: #334e5a;

	font-size: 17px;
	line-height: 1.95;
}


body.qi-article-v1
.qi-article-content > article > p:first-of-type {
	color: #294854;

	font-size: 18px;
	line-height: 1.9;
}


body.qi-article-v1 .qi-article-content h2 {
	margin: 50px 0 17px !important;

	color: #0d2f43 !important;

	font-size: 27px !important;
	font-weight: 800 !important;
	line-height: 1.45 !important;

	letter-spacing: -.015em;
}


body.qi-article-v1 .qi-article-content h3 {
	margin: 34px 0 13px !important;

	color: #173b4a !important;

	font-size: 21px !important;
	font-weight: 800 !important;
	line-height: 1.5 !important;
}


body.qi-article-v1 .qi-article-content h4 {
	margin: 28px 0 11px;

	color: #173b4a;

	font-size: 18px;
	font-weight: 750;
	line-height: 1.5;
}


body.qi-article-v1 .qi-article-content strong {
	color: #173b4a;

	font-weight: 750;
}


body.qi-article-v1 .qi-article-content a {
	color: #0b7d7b;

	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}


body.qi-article-v1 .qi-article-content a:hover {
	color: #0f9693;
}


/* =========================================================
 * LISTS
 * ======================================================= */

body.qi-article-v1 .qi-article-content ul,
body.qi-article-v1 .qi-article-content ol {
	margin: 14px 0 24px;
	padding-left: 25px;

	color: #334e5a;

	font-size: 17px;
	line-height: 1.85;
}


body.qi-article-v1 .qi-article-content li {
	margin-bottom: 8px;
}


body.qi-article-v1 .qi-article-content li::marker {
	color: #0f9693;

	font-weight: 700;
}


/* =========================================================
 * BLOCKQUOTES
 * ======================================================= */

body.qi-article-v1 .qi-article-content blockquote {
	margin: 28px 0;
	padding: 18px 22px;

	border: 0;
	border-left: 4px solid #0f9693;
	border-radius: 0 10px 10px 0;

	background: #eaf7f6;

	color: #355866;
}


body.qi-article-v1 .qi-article-content blockquote p:last-child {
	margin-bottom: 0;
}


/* =========================================================
 * MEDIA / TABLE
 * ======================================================= */

body.qi-article-v1 .qi-article-content img {
	max-width: 100%;
	height: auto;

	border-radius: 12px;
}


body.qi-article-v1 .qi-article-content figure {
	margin: 30px 0;
}


body.qi-article-v1 .qi-article-content figcaption {
	margin-top: 9px;

	color: #7a8e96;

	font-size: 13px;
	line-height: 1.55;

	text-align: center;
}


body.qi-article-v1 .qi-article-content table {
	display: block;

	width: 100%;
	max-width: 100%;

	margin: 28px 0;

	overflow-x: auto;

	border-collapse: collapse;

	-webkit-overflow-scrolling: touch;
}


body.qi-article-v1 .qi-article-content th,
body.qi-article-v1 .qi-article-content td {
	padding: 12px 14px;

	border: 1px solid #dce8eb;

	font-size: 15px;
	line-height: 1.6;

	text-align: left;
}


body.qi-article-v1 .qi-article-content th {
	background: #f3f8f9;

	color: #173b4a;

	font-weight: 750;
}


/* =========================================================
 * PAGINATION
 * ======================================================= */

body.qi-article-v1 .qi-article-pages {
	margin-top: 32px;
}


/* =========================================================
 * ARTICLE FOOTER
 * ======================================================= */

body.qi-article-v1 .qi-article-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 28px;

	width: 100%;
	max-width: 940px;

	margin: 24px auto 0;
	padding: 23px 25px;

	border: 1px solid #cfe5e4;
	border-radius: 15px;

	background: #eef8f7;
}


body.qi-article-v1 .qi-article-navigation-copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;

	gap: 4px;
}


body.qi-article-v1 .qi-article-navigation-copy strong {
	color: #0d2f43;

	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
}


body.qi-article-v1 .qi-article-navigation-copy span {
	color: #64808a;

	font-size: 13px;
	line-height: 1.55;
}


body.qi-article-v1 .qi-article-navigation-actions {
	display: flex;
	flex: 0 0 auto;

	gap: 9px;
}


body.qi-article-v1 .qi-article-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 42px;

	padding: 0 16px;

	border-radius: 8px;

	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;

	text-decoration: none !important;
}


body.qi-article-v1 .qi-article-button-primary {
	border: 1px solid #0f9693;

	background: #0f9693;

	color: #ffffff !important;
}


body.qi-article-v1 .qi-article-button-primary:hover {
	border-color: #0b7d7b;

	background: #0b7d7b;

	color: #ffffff !important;
}


body.qi-article-v1 .qi-article-button-secondary {
	border: 1px solid #c5d9dc;

	background: #ffffff;

	color: #173b4a !important;
}


body.qi-article-v1 .qi-article-button-secondary:hover {
	border-color: #0f9693;

	color: #0b7d7b !important;
}


/* =========================================================
 * TABLET
 * ======================================================= */

@media screen and (max-width: 849px) {

	body.qi-article-v1 .qi-article-shell {
		width: calc(100% - 24px);
	}


	body.qi-article-v1 .qi-article-header {
		padding-top: 40px;
	}


	body.qi-article-v1 .qi-article-content {
		padding: 38px 34px 44px;
	}


	body.qi-article-v1 .qi-article-navigation {
		align-items: flex-start;
		flex-direction: column;
	}


	body.qi-article-v1 .qi-article-navigation-actions {
		width: 100%;
	}

}


/* =========================================================
 * MOBILE
 * ======================================================= */

@media screen and (max-width: 549px) {

	body.qi-article-v1 .blog-wrapper.blog-single {
		padding-bottom: 42px;
	}


	body.qi-article-v1 .qi-article-shell {
		width: calc(100% - 16px);
	}


	body.qi-article-v1 .qi-article-header {
		padding:
			30px
			8px
			24px;
	}


	body.qi-article-v1 .qi-article-kicker {
		margin-bottom: 13px;

		font-size: 11px;
	}


	body.qi-article-v1 .qi-article-title {
		font-size: 29px;
		line-height: 1.38;

		letter-spacing: -.02em;
	}


	body.qi-article-v1 .qi-article-meta {
		gap: 7px;

		margin-top: 16px;

		font-size: 11px;
	}


	body.qi-article-v1 .qi-article-featured-image {
		margin-bottom: 10px;

		border-radius: 14px;
	}


	body.qi-article-v1 .qi-article-content {
		padding:
			26px
			16px
			34px;

		border-radius: 14px;
	}


	body.qi-article-v1 .qi-article-content p {
		margin-bottom: 18px;

		font-size: 16px;
		line-height: 1.9;
	}


	body.qi-article-v1
	.qi-article-content > article > p:first-of-type {
		font-size: 17px;
		line-height: 1.85;
	}


	body.qi-article-v1 .qi-article-content h2 {
		margin:
			39px
			0
			14px !important;

		font-size: 23px !important;
		line-height: 1.48 !important;
	}


	body.qi-article-v1 .qi-article-content h3 {
		margin:
			29px
			0
			11px !important;

		font-size: 19px !important;
	}


	body.qi-article-v1 .qi-article-content ul,
	body.qi-article-v1 .qi-article-content ol {
		padding-left: 22px;

		font-size: 16px;
		line-height: 1.8;
	}


	body.qi-article-v1 .qi-article-content blockquote {
		margin: 23px 0;
		padding: 15px 16px;
	}


	body.qi-article-v1 .qi-article-navigation {
		gap: 18px;

		margin-top: 10px;
		padding: 19px 16px;

		border-radius: 13px;
	}


	body.qi-article-v1 .qi-article-navigation-actions {
		flex-direction: column;
	}


	body.qi-article-v1 .qi-article-button {
		width: 100%;
		min-height: 45px;
	}

}
