/* Pulse 2.0 — Single article (publication layout)
   Brand: #244149 navy · #f47629 orange
*/

.p2-article {
	--p2-navy: #244149;
	--p2-orange: #f47629;
	--p2-ink: #000000;
	--p2-muted: #5a6a70;
	--p2-rule: #d5dde0;
	--p2-surface: #fafbfb;
	--p2-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--p2-sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
	/* Even vertical rhythm (menu → title → meta → rule → body) */
	--p2-space: 24px;
	color: #000;
	background: #fff;
}

/* —— Header —— */
.p2-article__header {
	padding: var(--p2-space) 0 0;
	text-align: left;
}

.p2-article__header-inner {
	/* Equal air above the rule (after meta) and below it (body padding-top) */
	padding: 0 0 var(--p2-space);
	border-bottom: 1px solid #a7a7a7;
}

.p2-article__title {
	font-family: var(--p2-serif);
	font-size: 42px;
	font-weight: 700;
	font-optical-sizing: auto;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #000;
	margin: 0 0 16px;
	padding: 0;
}

.p2-article__deck {
	font-family: var(--p2-serif);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	color: #333;
	margin: 0 0 16px;
	max-width: 36em;
}

.p2-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	font-family: var(--p2-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.4;
	color: #363636;
	padding: 0;
	margin: 0;
	text-transform: none;
}

.p2-article__byline {
	color: #000;
	font-weight: 600;
}

.p2-article__byline span {
	font-weight: 600;
}

.p2-article__meta-sep {
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 10px;
	background: #121212;
	border-radius: 50%;
	vertical-align: middle;
	flex-shrink: 0;
}

.p2-article__date {
	font-style: normal;
	font-weight: 500;
	color: #363636;
}

.p2-article__edit a,
.p2-article__meta a {
	color: #000;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.p2-article__edit a:hover,
.p2-article__meta a:hover {
	color: var(--p2-orange);
}

/* —— Body —— */
.p2-article__body {
	font-family: Georgia, Cambria, "Times New Roman", Times, serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.7;
	color: #000;
	/* Match header-inner padding-bottom so rule sits centered in the gap */
	padding: var(--p2-space) 0 var(--p2-space);
}

.p2-article__body p {
	margin: 0 0 1.25em;
}

.p2-article__body p:last-child {
	margin-bottom: 0;
}

.p2-article__body a {
	color: var(--p2-navy);
	text-decoration: underline;
	text-decoration-color: rgba(36, 65, 73, 0.35);
	text-underline-offset: 2px;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.p2-article__body a:hover {
	color: var(--p2-orange);
	text-decoration-color: var(--p2-orange);
}

.p2-article .single-blog-post h2,
.p2-article .single-blog-post h3,
.p2-article .single-blog-post h4,
.p2-article .post-div h1,
.p2-article .post-div h2,
.p2-article .post-div h3,
.p2-article .post-div h4,
.p2-article .post-div h5,
.p2-article .post-div h6 {
	font-family: var(--p2-serif);
	color: #000;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.28;
	margin: 1.5em 0 0.5em;
	padding: 0;
}

.p2-article .post-div h2,
.p2-article .single-blog-post h2 {
	font-size: 26px;
}

.p2-article .post-div h3,
.p2-article .single-blog-post h3 {
	font-size: 22px;
}

.p2-article .post-div h4,
.p2-article .single-blog-post h4 {
	font-size: 19px;
	color: #000;
}

.p2-article .post-div img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 1.5em auto;
}

.p2-article .single-blog-post ul {
	margin: 0 0 1.35em;
	padding: 0 0 0 1.2em;
}

.p2-article .single-blog-post ul li {
	font-weight: 400;
	margin: 0.45em 0;
	line-height: 1.55;
}

.p2-article .single-blog-post blockquote,
.p2-article .post-div blockquote {
	font-family: var(--p2-serif);
	font-size: 1.08em;
	font-style: italic;
	font-weight: 500;
	line-height: 1.5;
	color: var(--p2-navy);
	margin: 1.5em 0;
	padding: 0 0 0 1em;
	border-left: 2px solid var(--p2-orange);
	background: transparent;
}

.p2-article .pagelink {
	font-family: var(--p2-sans);
	font-size: 14px;
	font-weight: 600;
	margin-top: 1.5em;
	padding-top: 0;
	border-top: none;
}

.p2-article .pagelink a {
	color: var(--p2-orange);
}

.p2-article .nativo:empty {
	display: none;
	margin: 0;
	padding: 0;
}

/* —— Ads in article flow —— */
.p2-article .content .ad-code {
	background: var(--p2-surface);
	border: 1px solid var(--p2-rule);
	margin: 1.75em 0;
}

/* —— Article → footer —— */
.p2-article + script + #above_footer,
#above_footer:empty {
	margin: 0;
	padding: 0;
	min-height: 0;
}

/* —— Responsive —— */
@media (max-width: 991px) {
	.p2-article {
		--p2-space: 20px;
	}

	.p2-article__title {
		font-size: 32px;
		margin-bottom: 14px;
	}

	.p2-article__deck {
		font-size: 18px;
		margin-bottom: 14px;
	}

	.p2-article__body {
		font-size: 20px;
	}
}

@media (max-width: 767px) {
	.p2-article {
		--p2-space: 18px;
	}

	.p2-article__title {
		font-size: 26px;
		line-height: 1.25;
		margin-bottom: 12px;
	}

	.p2-article__deck {
		font-size: 16px;
		margin-bottom: 12px;
	}

	.p2-article__meta {
		font-size: 15px;
	}

	.p2-article__meta-sep {
		margin: 0 8px;
	}

	.p2-article__body {
		font-size: 22px;
		line-height: 1.65;
	}

	.p2-article .post-div h2,
	.p2-article .single-blog-post h2 {
		font-size: 22px;
	}

	.p2-article .post-div h3,
	.p2-article .single-blog-post h3 {
		font-size: 19px;
	}
}
