/**
 * Operations & Warranty campaign article typography — matches existing CE OneSource article layout.
 */

body.single-post.tag-operations .entry-header,
body.single-post.category-operations .entry-header,
body.single-post.tag-warranty .entry-header,
body.single-post.category-warranty .entry-header {
	display: none;
}

body.single-post.tag-operations .elementor-widget-text-editor,
body.single-post.category-operations .elementor-widget-text-editor,
body.single-post.tag-warranty .elementor-widget-text-editor,
body.single-post.category-warranty .elementor-widget-text-editor {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	color: #2b2b2e;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.single-post.tag-operations .elementor-widget-text-editor p,
body.single-post.category-operations .elementor-widget-text-editor p,
body.single-post.tag-warranty .elementor-widget-text-editor p,
body.single-post.category-warranty .elementor-widget-text-editor p {
	font-size: 18px;
	line-height: 1.7;
	margin: 0 0 20px;
}

body.single-post.tag-operations .elementor-widget-text-editor ul,
body.single-post.category-operations .elementor-widget-text-editor ul,
body.single-post.tag-warranty .elementor-widget-text-editor ul,
body.single-post.category-warranty .elementor-widget-text-editor ul {
	margin: 0 0 18px 18px;
}

body.single-post.tag-operations .elementor-widget-text-editor li,
body.single-post.category-operations .elementor-widget-text-editor li,
body.single-post.tag-warranty .elementor-widget-text-editor li,
body.single-post.category-warranty .elementor-widget-text-editor li {
	margin-bottom: 10px;
}

/* Article title — same bold weight as section headings */
body.single-post.tag-operations .ce-article-lead,
body.single-post.category-operations .ce-article-lead,
body.single-post.tag-warranty .ce-article-lead,
body.single-post.category-warranty .ce-article-lead {
	font-family: Montserrat, Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.7;
	color: #1c1c1e;
	margin: 0 0 16px;
	padding: 0;
}

/* Opening hook — italic body text */
body.single-post.tag-operations .ce-article-lead-desc,
body.single-post.category-operations .ce-article-lead-desc,
body.single-post.tag-warranty .ce-article-lead-desc,
body.single-post.category-warranty .ce-article-lead-desc {
	font-size: 18px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.7;
	color: #2b2b2e;
	margin: 0 0 20px;
}

/* Section headings — bold + 🔵 emoji prefix in title text */
body.single-post.tag-operations .ce-article-section-title,
body.single-post.category-operations .ce-article-section-title,
body.single-post.tag-warranty .ce-article-section-title,
body.single-post.category-warranty .ce-article-section-title {
	font-family: Montserrat, Arial, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.7;
	color: #1c1c1e;
	margin: 40px 0 16px;
	padding: 0;
}

/* Campaign article hero — desktop keeps CSS background; mobile uses responsive img */
.ce-campaign-article-hero {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.ce-campaign-article-hero__img {
	display: none;
}

@media (max-width: 767.98px) {
	.ce-campaign-article-hero {
		min-height: 0 !important;
		height: auto !important;
		background: none !important;
		margin-bottom: 40px !important;
		padding: 0 !important;
		line-height: 0;
	}

	.ce-campaign-article-hero__img {
		display: block !important;
	}

	body.single-post .ce-single-post-hero {
		min-height: 0 !important;
		height: auto !important;
		aspect-ratio: 16 / 9;
		margin-bottom: 40px !important;
		padding: 24px 16px !important;
		background-size: contain !important;
		background-position: center center !important;
		overflow: hidden;
	}

	body.single-post .ce-single-post-hero h1 {
		font-size: clamp(1.5rem, 6vw, 2.25rem) !important;
		padding: 0 8px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	body.single-post .ce-single-post-hero h2 {
		font-size: clamp(1rem, 4vw, 1.25rem) !important;
		padding: 0 8px;
	}
}
