.yepx-section {
	padding-block: var(--yepx-section-space);
}

.yepx-section > .wp-block-heading:first-child,
.yepx-section > h2:first-child,
.yepx-preview > .wp-block-heading {
	margin-top: 0;
}

.yepx-preview > .wp-block-heading {
	margin-bottom: 1.25rem;
}

.yepx-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	min-width: 0;
	max-width: 100%;
}

.yepx-card,
.yepx-card--spotlight {
	background: var(--yepx-color-surface);
	border: 1px solid var(--yepx-color-border);
	border-radius: var(--yepx-radius);
	padding: var(--yepx-card-pad);
	box-shadow: var(--yepx-shadow);
	min-width: 0;
}

.yepx-card a,
.yepx-card--spotlight a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.yepx-card svg,
.yepx-card--spotlight svg {
	display: block;
	width: 28px;
	height: 28px;
	margin-bottom: 0.65rem;
	stroke: var(--yepx-color-dark);
	fill: none;
	stroke-width: 1.75;
}

.yepx-card strong,
.yepx-card--spotlight strong {
	display: block;
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
}

.yepx-card p,
.yepx-card--spotlight p {
	margin: 0 0 0.5rem;
	max-width: var(--yepx-measure);
	color: var(--yepx-color-muted);
}

.yepx-feature-groups {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	min-width: 0;
	max-width: 100%;
}

.yepx-feature-group {
	min-width: 0;
}

.yepx-feature-group h3 {
	margin: 0 0 0.75rem;
}

.yepx-feature-group ul {
	margin: 0;
	padding-left: 1.15rem;
	max-width: var(--yepx-measure);
}

.yepx-feature-group li {
	margin-bottom: 0.55rem;
}

.yepx-trust {
	padding-block: 1.5rem 0.5rem;
}

.yepx-trust__list {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	list-style: none;
	margin: 0;
	padding: 0.25rem 0 0.75rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.yepx-trust__list li {
	flex: 0 0 auto;
	scroll-snap-align: start;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	min-width: 7rem;
	padding: 0.35rem 0.5rem;
}

.yepx-trust__list img {
	display: block;
	height: 32px;
	width: auto;
	max-width: 132px;
	object-fit: contain;
	filter: grayscale(0.15);
}

.yepx-video {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
	min-width: 0;
	max-width: 100%;
}

.yepx-video__stage {
	position: relative;
	border-radius: var(--yepx-radius);
	overflow: hidden;
	background: var(--yepx-color-navy);
	aspect-ratio: 16 / 9;
	min-width: 0;
}

.yepx-video__poster,
.yepx-video__player,
.yepx-video video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: 100%;
}

.yepx-video__player,
.yepx-video video {
	background: #0b2c3d;
}

.yepx-video__play {
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	min-width: 72px;
	min-height: 72px;
	border-radius: 999px;
	border: 0;
	background: var(--yepx-color-primary);
	color: #fff;
	font: inherit;
	font-weight: 700;
	padding: 0.85rem 1.4rem;
	z-index: 2;
}

.yepx-video__copy h2,
.yepx-video__copy p {
	max-width: var(--yepx-measure);
}

.yepx-px {
	min-width: 0;
	max-width: 100%;
}

.yepx-px__tabs {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 0.85rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overscroll-behavior-x: contain;
}

[data-yepx-tabs],
.yepx-faq,
.yepx-video,
.yepx-blog,
.yepx-footer {
	scroll-margin-top: 5.5rem;
}

.yepx-px__tabs [role="tab"] {
	flex: 0 0 auto;
	scroll-snap-align: start;
	min-height: 44px;
	padding: 0.55rem 1rem;
	border: 1px solid var(--yepx-color-border);
	border-radius: 999px;
	background: var(--yepx-color-surface);
	font: inherit;
}

.yepx-px__tabs [role="tab"][aria-selected="true"] {
	background: var(--yepx-color-navy);
	color: #fff;
	border-color: var(--yepx-color-navy);
}

.yepx-px__panel {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
	min-width: 0;
}

.yepx-px__copy ul {
	margin: 0 0 1rem;
	padding-left: 1.15rem;
	max-width: var(--yepx-measure);
}

.yepx-px__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--yepx-radius);
	border: 1px solid var(--yepx-color-border);
	box-shadow: var(--yepx-shadow);
	background: var(--yepx-color-surface);
}

.yepx-px.is-enhanced .yepx-px__panel[hidden] {
	display: none !important;
}

.yepx-px:not(.is-enhanced) .yepx-px__panel + .yepx-px__panel {
	margin-top: 2rem;
}

.yepx-integrations,
.yepx-integrations__groups {
	display: grid;
	gap: 1.5rem;
	min-width: 0;
	max-width: 100%;
}

.yepx-integrations__groups > * {
	min-width: 0;
	max-width: 100%;
}

.yepx-integrations__badges {
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	list-style: none;
	margin: 0;
	padding: 0 0 0.5rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.yepx-integrations__badges li {
	flex: 0 0 auto;
	scroll-snap-align: start;
	min-height: 52px;
	padding: 0.65rem 1rem;
	border: 1px solid var(--yepx-color-border);
	border-radius: var(--yepx-radius);
	background: var(--yepx-color-surface);
	display: flex;
	align-items: center;
	font-weight: 600;
}

.yepx-integrations__badges img {
	height: 36px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
}

.yepx-cards--process {
	position: relative;
	counter-reset: yepx-step;
}

.yepx-cards--process > li {
	counter-increment: yepx-step;
	min-width: 0;
}

.yepx-cards--process > li::before {
	content: counter(yepx-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: var(--yepx-color-primary);
	color: #fff;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.yepx-cards--quotes {
	align-items: stretch;
}

.yepx-cards--quotes li {
	background: var(--yepx-color-surface);
	border-top: 3px solid var(--yepx-color-primary);
	border-radius: var(--yepx-radius);
	padding: var(--yepx-card-pad);
	box-shadow: var(--yepx-shadow);
	min-width: 0;
}

.yepx-cards--quotes blockquote {
	margin: 0;
}

.yepx-cards--quotes footer {
	margin-top: 1rem;
	font-weight: 600;
	color: var(--yepx-color-heading);
}

.yepx-cards--quotes details summary {
	cursor: pointer;
	min-height: 44px;
	display: flex;
	align-items: center;
}

.yepx-seo {
	max-width: none;
}

.yepx-seo > p {
	max-width: var(--yepx-measure);
}

.yepx-guide-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 1.5rem 0;
	min-width: 0;
}

.yepx-guide-card {
	padding: 0;
	min-width: 0;
}

.yepx-guide-card h3 {
	margin: 0 0 0.4rem;
}

.yepx-guide-card p {
	margin: 0;
	max-width: var(--yepx-measure);
	color: var(--yepx-color-muted);
}

.yepx-faq details {
	border-top: 1px solid var(--yepx-color-border);
	padding: 0.35rem 0;
}

.yepx-faq summary {
	min-height: 44px;
	display: flex;
	align-items: center;
	font-weight: 600;
	cursor: pointer;
}

.yepx-faq p {
	max-width: var(--yepx-measure);
}

.yepx-section--cta {
	background: var(--yepx-color-navy);
	color: #fff;
	border-radius: var(--yepx-radius);
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--yepx-gutter);
	text-align: center;
}

.yepx-section--cta h2:not(.has-text-color),
.yepx-section--cta h2.wp-block-heading:not(.has-text-color),
.yepx-section--cta .wp-block-heading:not(.has-text-color),
.yepx-section--cta p:not(.has-text-color) {
	color: #fff;
	margin-inline: auto;
	max-width: 36rem;
}

.yepx-section--cta .yepx-btn--primary {
	background: #fff;
	color: var(--yepx-color-navy);
}

.yepx-section--cta .yepx-btn--primary:hover,
.yepx-section--cta .yepx-btn--primary:focus {
	background: var(--yepx-color-primary);
	color: #fff;
}

@media (max-width: 767px) {
	.yepx-cards--spotlight,
	.yepx-cards--quotes,
	.yepx-cards--process,
	.yepx-feature-groups,
	.yepx-guide-grid,
	.yepx-px__panel,
	.yepx-video {
		display: grid;
		grid-template-columns: 1fr;
		overflow: visible;
		scroll-snap-type: none;
	}

	.yepx-trust__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible;
		scroll-snap-type: none;
	}

	.yepx-section--cta .yepx-btn {
		width: 100%;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.yepx-cards--spotlight {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.yepx-px__panel,
	.yepx-video {
		grid-template-columns: 1fr 1fr;
	}

	.yepx-feature-groups,
	.yepx-guide-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.yepx-trust__list {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		overflow: visible;
		scroll-snap-type: none;
	}
}

@media (min-width: 1025px) {
	.yepx-cards--spotlight {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.yepx-feature-groups {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.yepx-cards--process {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.yepx-cards--quotes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.yepx-trust__list {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		overflow: visible;
		scroll-snap-type: none;
		gap: 1.5rem 1rem;
	}

	.yepx-trust__list li {
		width: 100%;
	}

	.yepx-px__panel {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
	}

	.yepx-integrations__badges {
		flex-wrap: wrap;
		overflow: visible;
	}

	.yepx-video {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
		gap: 2.5rem;
	}

	.yepx-guide-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.75rem 2rem;
	}
}
