.xfe-editorial-post .content-in {
	display: block;
}

.xfe-editorial-post #main {
	box-sizing: border-box;
	float: none;
	width: min(1200px, 100%);
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}

.xfe-editorial-post #sidebar {
	display: none;
}

/* Align the theme-rendered title with the generated article and keep 16px mobile gutters. */
.xfe-editorial-post .entry-title {
	box-sizing: border-box;
	width: min(1040px, calc(100% - 32px));
	max-width: none;
	margin-right: auto;
	margin-left: auto;
}

/* Contextual Related Posts: keep the existing four-card layout fluid on XFE posts. */
.xfe-editorial-post .entry-content .crp_related.crp-rounded-thumbs > ul {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: clamp(8px, 1.2vw, 16px) !important;
	width: 100%;
}

.xfe-editorial-post .entry-content .crp_related.crp-rounded-thumbs > ul > li {
	display: block;
	width: 100% !important;
	height: auto !important;
	min-width: 0;
	aspect-ratio: 1 / 1;
}

.xfe-editorial-post .entry-content .crp_related.crp-rounded-thumbs > ul > li > a {
	width: 100% !important;
	height: 100% !important;
}

.xfe-editorial-post .entry-content .crp_related.crp-rounded-thumbs .crp_title {
	box-sizing: border-box;
	max-height: none;
	padding: .35rem .45rem;
	font-size: clamp(.76rem, 1.25vw, .9rem);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.xfe-generated {
	--xfe-ink: #24161d;
	--xfe-muted: #6d5a63;
	--xfe-pink: #cf235a;
	--xfe-pink-dark: #a51243;
	--xfe-soft: #fff4f7;
	--xfe-line: #ead8df;
	--xfe-white: #fff;
	position: relative;
	width: min(1040px, calc(100% - 32px));
	max-width: none;
	margin: 0 auto 100px;
	color: var(--xfe-ink);
	font-size: 16px;
	line-height: 1.85;
}

.xfe-generated * {
	box-sizing: border-box;
}

.xfe-generated .promotion-notice {
	display: inline-flex;
	gap: .55em;
	align-items: center;
	margin: 0 0 16px;
	padding: 5px 11px;
	border: 1px solid var(--xfe-line);
	border-radius: 999px;
	background: var(--xfe-white);
	color: var(--xfe-muted);
	font-size: 13px;
}

.xfe-generated .promotion-notice strong {
	color: var(--xfe-pink-dark);
}

.xfe-shell {
	padding: clamp(18px, 3vw, 38px);
	border: 1px solid var(--xfe-line);
	border-radius: 24px;
	background: var(--xfe-white);
	box-shadow: 0 18px 50px rgba(87, 26, 48, .09);
}

.xfe-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
	gap: clamp(24px, 5vw, 54px);
	align-items: center;
}

.xfe-eyebrow {
	margin: 0 0 10px;
	color: var(--xfe-pink-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.xfe-lead {
	margin: 0;
	font-size: clamp(16px, 1.8vw, 19px);
	line-height: 1.9;
}

.xfe-rank-badge {
	display: inline-flex;
	align-items: baseline;
	gap: .35em;
	margin: 22px 0 0;
	padding: 8px 14px;
	border-radius: 10px;
	background: var(--xfe-soft);
	color: var(--xfe-pink-dark);
}

.xfe-rank-badge strong {
	font-size: 1.35em;
}

.xfe-product-image {
	margin: 0;
	text-align: center;
}

.xfe-product-image a {
	display: block;
	overflow: hidden;
	border-radius: 18px;
	background: #f5f2f3;
	box-shadow: 0 12px 30px rgba(61, 21, 36, .13);
}

.xfe-product-image img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .25s ease;
}

.xfe-product-image a:hover img,
.xfe-product-image a:focus img {
	transform: scale(1.015);
}

.xfe-product-image figcaption {
	margin-top: 8px;
	color: var(--xfe-muted);
	font-size: 12px;
}

.xfe-fact-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 34px 0 22px;
}

.xfe-fact-card {
	padding: 15px;
	border: 1px solid var(--xfe-line);
	border-radius: 14px;
	background: #fffafb;
}

.xfe-fact-card span,
.xfe-fact-card strong {
	display: block;
}

.xfe-fact-card span {
	color: var(--xfe-muted);
	font-size: 12px;
}

.xfe-fact-card strong {
	margin-top: 3px;
	font-size: 16px;
}

.xfe-sample-preview {
	margin: 30px 0 8px;
	padding: 18px;
	border: 1px solid var(--xfe-line);
	border-radius: 16px;
	background: linear-gradient(135deg, #fff8fa, #fff);
}

.xfe-sample-preview-title {
	margin: 0;
	color: var(--xfe-ink);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.5;
}

.xfe-sample-preview-note {
	margin: 3px 0 13px;
	color: var(--xfe-muted);
	font-size: 13px;
	line-height: 1.65;
}

.xfe-sample-gallery.xfe-sample-preview-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.xfe-sample-preview-card {
	aspect-ratio: 4 / 3;
	border-radius: 10px;
}

.xfe-sample-preview-card img {
	min-height: 0;
	object-fit: cover;
}

.xfe-sample-preview-card span {
	right: 6px;
	bottom: 6px;
	padding: 3px 7px;
	font-size: 10px;
}

.xfe-section {
	margin-top: clamp(42px, 7vw, 74px);
	scroll-margin-top: 24px;
}

.xfe-api-product-campaign {
	margin: 22px auto 0;
	padding: 16px 18px;
	max-width: 850px;
	border: 1px solid #efb8c9;
	border-radius: 14px;
	background: #fff7fa;
	color: var(--xfe-ink);
}

.xfe-api-product-campaign p {
	margin: 6px 0 0;
}

.xfe-section h2 {
	margin: 0 0 18px;
	padding: 0 0 12px;
	border-bottom: 3px solid var(--xfe-pink);
	color: var(--xfe-ink);
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.45;
}

.xfe-section p,
.xfe-section ul {
	max-width: 850px;
}

.xfe-search-intent {
	padding: clamp(20px, 4vw, 34px);
	border-radius: 18px;
	background: linear-gradient(135deg, #fff7f9, #fff);
	border: 1px solid var(--xfe-line);
}

.xfe-search-intent li + li {
	margin-top: 10px;
}

.xfe-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--xfe-line);
	border-radius: 15px;
}

.xfe-facts {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.xfe-facts th,
.xfe-facts td {
	padding: 13px 16px;
	border: 0;
	border-bottom: 1px solid var(--xfe-line);
	text-align: left;
	vertical-align: top;
}

.xfe-facts tr:last-child th,
.xfe-facts tr:last-child td {
	border-bottom: 0;
}

.xfe-facts th {
	width: 150px;
	background: var(--xfe-soft);
	white-space: nowrap;
}

.xfe-sample-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.xfe-sample-card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 14px;
	background: #1c1418;
	box-shadow: 0 8px 22px rgba(34, 12, 21, .12);
}

.xfe-sample-card img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
	transition: opacity .2s ease, transform .25s ease;
}

.xfe-sample-card span {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .75);
	color: #fff;
	font-size: 12px;
}

.xfe-sample-card:hover img,
.xfe-sample-card:focus img {
	opacity: .86;
	transform: scale(1.025);
}

.xfe-video-frame {
	overflow: hidden;
	margin: 18px auto;
	max-width: 820px;
	border-radius: 18px;
	background: #111;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.xfe-sample-video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 75vh;
}

.xfe-sample-player {
	display: block;
	width: 100%;
	height: auto;
	min-height: 306px;
	aspect-ratio: 3 / 2;
	border: 0;
	background: #111;
}

@media (max-width: 480px) {
	.xfe-sample-player {
		min-height: 0;
	}
}

.xfe-cta-wrap {
	margin: 24px auto;
	max-width: 650px;
	text-align: center;
}

.xfe-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 12px 20px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--xfe-pink), var(--xfe-pink-dark));
	box-shadow: 0 9px 22px rgba(176, 23, 72, .23);
	color: #fff !important;
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease;
}

.xfe-cta:hover,
.xfe-cta:focus {
	transform: translateY(-2px);
	box-shadow: 0 13px 28px rgba(176, 23, 72, .3);
}

.xfe-cta small {
	margin-top: 4px;
	font-size: 11px;
	font-weight: 500;
	opacity: .88;
}

.xfe-after-video .xfe-cta-wrap {
	transition: transform .3s ease, box-shadow .3s ease;
}

.xfe-after-video.is-ready .xfe-cta-wrap {
	animation: xfe-pulse 1.1s ease 1;
}

@keyframes xfe-pulse {
	50% { transform: scale(1.025); }
}

.xfe-faq details {
	margin: 10px 0;
	border: 1px solid var(--xfe-line);
	border-radius: 12px;
	background: #fff;
}

.xfe-faq summary {
	cursor: pointer;
	padding: 15px 18px;
	font-weight: 800;
}

.xfe-faq details p {
	margin: 0;
	padding: 0 18px 18px;
	color: var(--xfe-muted);
}

.xfe-editorial-insight {
	position: relative;
	overflow: hidden;
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid #e8c7d3;
	border-radius: 22px;
	background:
		radial-gradient(circle at 100% 0, rgba(207, 35, 90, .1), transparent 34%),
		linear-gradient(145deg, #fff9fb, #fff 70%);
	box-shadow: 0 14px 34px rgba(91, 22, 48, .08);
}

.xfe-editorial-insight .xfe-insight-label {
	display: inline-flex;
	margin: 0 0 10px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #f9dce6;
	color: var(--xfe-pink-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
}

.xfe-editorial-insight .xfe-insight-summary {
	margin-bottom: 24px;
	font-size: 17px;
	line-height: 1.95;
}

.xfe-insight-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.xfe-insight-card {
	padding: 18px;
	border: 1px solid var(--xfe-line);
	border-radius: 15px;
	background: rgba(255, 255, 255, .88);
}

.xfe-insight-card span {
	display: block;
	margin-bottom: 8px;
	color: var(--xfe-pink-dark);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .08em;
}

.xfe-insight-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
}

.xfe-insight-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 22px;
}

.xfe-insight-columns > div {
	padding: 18px 20px;
	border-radius: 15px;
	background: #fff;
}

.xfe-insight-columns h3 {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.5;
}

.xfe-insight-columns ul {
	margin: 0;
	padding-left: 1.25em;
}

.xfe-insight-columns li + li {
	margin-top: 8px;
}

.xfe-insight-comparison {
	margin: 22px 0 0;
	padding: 16px 18px;
	border-left: 4px solid var(--xfe-pink);
	background: #fff;
}

.xfe-insight-source {
	margin: 14px 0 0;
	color: var(--xfe-muted);
	font-size: 12px;
	line-height: 1.7;
}

.xfe-disclosure {
	margin-top: 44px;
	padding: 18px 20px;
	border: 1px solid var(--xfe-line);
	border-radius: 12px;
	background: #faf8f9;
	color: var(--xfe-muted);
	font-size: 13px;
}

.xfe-disclosure p {
	margin: 5px 0 0;
}

.xfe-api-credit {
	font-size: 11px;
}

.xfe-campaign {
	--xfe-campaign-ink: #321623;
	--xfe-campaign-pink: #d51f63;
	--xfe-campaign-pink-dark: #a81449;
	position: relative;
	clear: both;
	isolation: isolate;
	width: 100%;
	max-width: 920px;
	margin: clamp(32px, 6vw, 58px) auto;
	overflow: hidden;
	border: 1px solid #ebc9d6;
	border-top: 5px solid var(--xfe-campaign-pink);
	border-radius: 18px;
	background: linear-gradient(135deg, #fff7fa 0%, #fff 58%, #fff2f7 100%);
	box-shadow: 0 14px 36px rgba(107, 20, 53, .12);
	color: var(--xfe-campaign-ink);
	overflow-wrap: anywhere;
}

.xfe-campaign,
.xfe-campaign * {
	box-sizing: border-box;
	min-width: 0;
}

.xfe-campaign-link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	width: 100%;
	padding: clamp(18px, 3vw, 28px);
	color: var(--xfe-campaign-ink) !important;
	text-decoration: none !important;
	transition: background .2s ease, transform .2s ease;
}

.xfe-campaign-link:hover,
.xfe-campaign-link:focus {
	background: rgba(255, 255, 255, .64);
	transform: translateY(-1px);
}

.xfe-campaign-link:focus-visible {
	outline: 3px solid #711437;
	outline-offset: -3px;
}

.xfe-campaign-pr {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #fff;
	color: var(--xfe-campaign-pink-dark);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(107, 20, 53, .1);
}

.xfe-campaign-copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.xfe-campaign-headline,
.xfe-campaign-description {
	display: block;
	max-width: 100%;
	word-break: normal;
	overflow-wrap: anywhere;
}

.xfe-campaign-headline {
	color: var(--xfe-campaign-pink-dark);
	font-size: clamp(19px, 2.4vw, 27px);
	line-height: 1.45;
}

.xfe-campaign-description {
	color: #61404d;
	font-size: 14px;
	line-height: 1.7;
}

.xfe-campaign-button {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	max-width: 270px;
	padding: 10px 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--xfe-campaign-pink), var(--xfe-campaign-pink-dark));
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	text-align: center;
	box-shadow: 0 8px 20px rgba(168, 20, 73, .22);
}

.xfe-campaign-button span {
	font-size: 24px;
	line-height: 1;
}

.xfe-campaign-note {
	display: block;
	padding: 0 20px 12px;
	color: #7a606a;
	font-size: 11px;
	line-height: 1.55;
	text-align: center;
}

.xfe-sticky-cta {
	position: fixed;
	z-index: 999;
	right: 12px;
	top: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 92px;
	min-width: 92px;
	min-height: 136px;
	padding: 12px 8px;
	border-radius: 10px;
	background: #5bcf5b;
	box-shadow: 0 8px 20px rgba(33, 107, 42, .28);
	color: #fff !important;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.9;
	text-align: center;
	text-decoration: none !important;
	transform: translateY(-50%);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease, background-color .18s ease;
}

.xfe-sticky-cta:hover,
.xfe-sticky-cta:focus-visible {
	background: #45b94b;
}

.xfe-sticky-cta-arrow {
	display: inline-block;
	margin-left: 2px;
	font-size: .78em;
}

@media (max-width: 1180px) {
	.xfe-sticky-cta {
		top: 50%;
		right: 8px;
		bottom: auto;
		left: auto;
		opacity: 1;
		transform: translateY(-50%);
	}

	body.xfe-campaign-in-view .xfe-sticky-cta {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transform: translate(12px, -50%);
	}
}

@media (max-width: 1024px) {
	.xfe-editorial-post .entry-content .crp_related.crp-rounded-thumbs > ul {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 760px) {
	.xfe-editorial-post #main {
		padding-right: 0;
		padding-left: 0;
	}

	.xfe-generated {
		width: calc(100% - 20px);
		margin-bottom: 32px;
		font-size: 15px;
	}

	.xfe-sticky-cta {
		right: 6px;
		width: 56px;
		min-width: 56px;
		min-height: 76px;
		padding: 6px 4px;
		border-radius: 8px;
		font-size: 14px;
		line-height: 1.45;
	}

	.xfe-shell {
		padding: 16px;
		border-radius: 16px;
		box-shadow: 0 10px 28px rgba(87, 26, 48, .08);
	}

	.xfe-hero {
		grid-template-columns: 1fr;
	}

	.xfe-product-image {
		grid-row: 1;
	}

	.xfe-fact-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.xfe-sample-preview {
		margin-top: 24px;
		padding: 12px;
	}

	.xfe-sample-gallery.xfe-sample-preview-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.xfe-insight-grid,
	.xfe-insight-columns {
		grid-template-columns: 1fr;
	}

	.xfe-editorial-insight {
		padding: 19px 15px;
		border-radius: 16px;
	}

	.xfe-editorial-insight .xfe-insight-summary {
		font-size: 15px;
	}

	.xfe-sample-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.xfe-sample-card img {
		min-height: 130px;
	}

	.xfe-facts th {
		width: 96px;
	}

	.xfe-facts th,
	.xfe-facts td {
		padding: 11px 10px;
	}

	.xfe-campaign {
		width: 100%;
		max-width: 100%;
		margin: 30px auto;
		border-radius: 14px;
	}

	.xfe-campaign-link {
		grid-template-columns: 1fr;
		gap: 11px;
		padding: 18px 15px 15px;
		text-align: center;
	}

	.xfe-campaign-pr {
		justify-self: center;
	}

	.xfe-campaign-headline {
		font-size: clamp(18px, 5.4vw, 23px);
		line-height: 1.5;
	}

	.xfe-campaign-description {
		font-size: 13px;
	}

	.xfe-campaign-button {
		width: 100%;
		max-width: none;
	}

	.xfe-campaign-note {
		padding: 0 14px 11px;
	}
}

@media (max-width: 640px) {
	.xfe-editorial-post .entry-content .crp_related.crp-rounded-thumbs > ul {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 260px) {
	.xfe-editorial-post .entry-content .crp_related.crp-rounded-thumbs > ul {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.xfe-generated *,
	.xfe-generated *::before,
	.xfe-generated *::after {
		animation: none !important;
		transition: none !important;
	}

	.xfe-campaign,
	.xfe-campaign * {
		animation: none !important;
		transition: none !important;
	}
}
