:root {
	--kpx-blue: #2367f2;
	--kpx-blue-dark: #0b3fae;
	--kpx-text: #081426;
	--kpx-muted: #5d6f86;
	--kpx-border: #cbd8e8;
	--kpx-surface: #f7faff;
	--kpx-soft-blue: #eef7ff;
	--kpx-success: #059669;
	--kpx-white: #ffffff;
	--kpx-radius-sm: 10px;
	--kpx-radius-md: 18px;
	--kpx-radius-lg: 24px;
	--kpx-container: 1200px;
	--kpx-content: 760px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--kpx-white);
	color: var(--kpx-text);
	font-family: Inter, "IBM Plex Sans Arabic", sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html[dir="rtl"] body {
	font-family: "IBM Plex Sans Arabic", sans-serif;
}


h1,
h2,
h3 {
	font-family: "Space Grotesk", "IBM Plex Sans Arabic", sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
	font-family: "IBM Plex Sans Arabic", sans-serif;
	letter-spacing: normal;
}


img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--kpx-blue);
	outline-offset: 3px;
}

.kpx-skip-link {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 9999;
	padding: 0.75rem 1rem;
	background: var(--kpx-text);
	color: var(--kpx-white);
	border-radius: var(--kpx-radius-sm);
}

.kpx-skip-link:focus {
	top: 1rem;
}

.kpx-container {
	width: min(calc(100% - 2.5rem), var(--kpx-container));
	margin-inline: auto;
}

.kpx-site-header {
	position: relative;
	z-index: 20;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--kpx-border);
}

.kpx-header-inner {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.kpx-brand {
	font-size: 1.05rem;
	font-weight: 700;
	text-decoration: none;
}

.kpx-brand .custom-logo {
	max-height: 40px;
	width: auto;
}

.kpx-menu,
.kpx-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kpx-menu a,
.kpx-footer-menu a {
	text-decoration: none;
}

.kpx-main {
	min-height: 50vh;
}

.kpx-content-shell,
.kpx-article-shell,
.kpx-error-page {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.kpx-article-shell {
	width: min(calc(100% - 2.5rem), var(--kpx-content));
	margin-inline: auto;
}

.kpx-entry-header {
	margin-bottom: 2rem;
}

.kpx-entry-header h1,
.kpx-error-page h1 {
	margin: 0;
	font-size: clamp(2.5rem, 7vw, 3.75rem);
	line-height: 1.06;
	letter-spacing: -0.035em;
}

.kpx-entry-content {
	font-size: 1.05rem;
	line-height: 1.75;
}

.kpx-entry-content > * + * {
	margin-top: 1.25rem;
}

.kpx-eyebrow {
	margin: 0 0 1rem;
	color: var(--kpx-blue);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.kpx-muted,
.kpx-entry-meta {
	color: var(--kpx-muted);
}

.kpx-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.kpx-card {
	padding: 1.5rem;
	background: var(--kpx-white);
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-md);
}

.kpx-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.15rem;
	background: var(--kpx-blue);
	color: var(--kpx-white);
	border-radius: var(--kpx-radius-sm);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

.kpx-button:hover {
	background: var(--kpx-blue-dark);
}

.kpx-site-footer {
	padding-block: 3rem;
	background: var(--kpx-surface);
	border-top: 1px solid var(--kpx-border);
}

.kpx-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2rem;
}

.kpx-footer-menu {
	flex-direction: column;
	gap: 0.6rem;
}

@media (max-width: 800px) {
	.kpx-header-inner {
		align-items: flex-start;
		flex-direction: column;
		padding-block: 1rem;
	}

	.kpx-menu {
		gap: 0.75rem 1rem;
	}

	.kpx-card-grid,
	.kpx-footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 1ms !important;
	}
}


/* Header parity */
.kpx-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(14px);
}

.admin-bar .kpx-site-header {
	top: 32px;
}

.kpx-header-inner {
	min-height: 80px;
}

.kpx-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 1.1rem;
}

.kpx-brand-mark {
	display: inline-block;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--kpx-blue);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}

.kpx-header-nav-wrap {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.kpx-primary-nav .kpx-menu {
	align-items: center;
	gap: 1.75rem;
	font-size: 0.8125rem;
}

.kpx-primary-nav a,
.kpx-language-link {
	color: var(--kpx-muted);
	text-decoration: none;
}

.kpx-primary-nav a:hover,
.kpx-language-link:hover {
	color: var(--kpx-text);
}

.kpx-header-actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.kpx-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid var(--kpx-border);
	border-radius: 12px;
	background: var(--kpx-white);
	font-size: 1.15rem;
	cursor: pointer;
}

/* Homepage parity primitives */
.kpx-home-hero {
	background:
		radial-gradient(circle at 75% 20%, rgba(37, 99, 235, 0.13), transparent 32%),
		linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.kpx-home-hero-inner {
	padding-block: clamp(5rem, 10vw, 8rem);
	text-align: center;
}

.kpx-pill {
	display: inline-flex;
	margin: 0 auto 1.5rem;
	padding: 0.55rem 0.9rem;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
	background: #eff6ff;
	color: var(--kpx-blue-dark);
	font-size: 0.75rem;
	font-weight: 700;
}

.kpx-home-title {
	max-width: 1020px;
	margin: 0 auto;
	font-size: clamp(2.071875rem, 3.89vw, 3.5rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

html[dir="rtl"] .kpx-home-title {
	line-height: 1.25;
}

.kpx-home-lede,
.kpx-section-lede {
	max-width: 820px;
	margin: 1.5rem auto 0;
	color: var(--kpx-muted);
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	line-height: 1.75;
}

.kpx-home-actions {
	justify-content: center;
	margin-top: 2rem;
}

.kpx-benefit-row {
	justify-content: center;
	gap: 0.65rem 1rem;
	margin-top: 2rem;
}

.kpx-benefit-row p {
	margin: 0;
	padding: 0.5rem 0.8rem;
	border: 1px solid var(--kpx-border);
	border-radius: 999px;
	background: rgba(255,255,255,.9);
	color: var(--kpx-muted);
	font-size: 0.75rem;
	font-weight: 600;
}

.kpx-section {
	padding-block: clamp(4rem, 8vw, 6.5rem);
}

.kpx-section-soft {
	background: var(--kpx-surface);
}

.kpx-section-blue {
	background: var(--kpx-soft-blue);
}

.kpx-section-title {
	max-width: 920px;
	margin: 0 auto 2.5rem;
	text-align: center;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.kpx-grid-3,
.kpx-card-grid-3,
.kpx-card-grid-4,
.kpx-card-grid-5,
.kpx-step-grid {
	display: grid !important;
	gap: 1.25rem;
}

.kpx-grid-3,
.kpx-card-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kpx-card-grid-4,
.kpx-step-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpx-card-grid-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kpx-quote-card,
.kpx-card,
.kpx-step {
	height: 100%;
	padding: 1.5rem;
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-md);
	background: var(--kpx-white);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.kpx-quote-card p,
.kpx-card p,
.kpx-step p {
	color: var(--kpx-muted);
	line-height: 1.65;
}

.kpx-card h3,
.kpx-step h3 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: 1.08rem;
}

.kpx-card h3 a {
	text-decoration: none;
}

.kpx-stars {
	color: #f59e0b !important;
	letter-spacing: 0.08em;
}

.kpx-quote-author {
	margin-top: 1.35rem;
	font-size: 0.85rem;
}

.kpx-step-number {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	margin: 0 0 1rem !important;
	border-radius: 12px;
	background: var(--kpx-blue);
	color: #fff !important;
	font-weight: 800;
}

.kpx-chip-grid {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.kpx-chip-grid p {
	margin: 0;
}

.kpx-chip-grid a {
	display: inline-flex;
	padding: 0.75rem 1rem;
	border: 1px solid var(--kpx-border);
	border-radius: 999px;
	background: var(--kpx-white);
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
}

.kpx-cta-band,
.kpx-final-cta {
	background: var(--kpx-blue);
	color: #fff;
	text-align: center;
}

.kpx-cta-band .kpx-container,
.kpx-final-cta .kpx-container {
	max-width: 900px;
}

.kpx-cta-band h2,
.kpx-final-cta h2 {
	margin-top: 0;
	font-size: clamp(2rem, 4vw, 3rem);
}

.kpx-cta-band p,
.kpx-final-cta p {
	color: #dbeafe;
}

.kpx-cta-band .wp-block-buttons,
.kpx-final-cta .wp-block-buttons {
	justify-content: center;
	margin-top: 1.5rem;
}

.kpx-cta-band .wp-block-button__link,
.kpx-final-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: #fff;
	color: var(--kpx-text);
}

.kpx-final-cta .is-style-outline .wp-block-button__link {
	border-color: rgba(255,255,255,.5);
	color: #fff;
}

.kpx-content-narrow {
	max-width: 900px;
}

.kpx-content-narrow > p:not(.kpx-eyebrow) {
	color: var(--kpx-muted);
	font-size: 1.02rem;
	line-height: 1.8;
}

.kpx-faq {
	margin-top: 0.9rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--kpx-border);
	border-radius: 14px;
	background: #fff;
}

.kpx-faq summary {
	font-weight: 700;
	cursor: pointer;
}

.kpx-faq p {
	color: var(--kpx-muted);
	line-height: 1.7;
}

/* Footer parity */
.kpx-site-footer {
	padding-block: 4rem 2rem;
	background: #fff;
}

.kpx-footer-grid {
	grid-template-columns: 1.6fr repeat(4, 1fr);
	gap: 2.5rem;
}

.kpx-footer-brand .kpx-brand {
	margin-bottom: 1rem;
}

.kpx-footer-brand > p {
	max-width: 320px;
	line-height: 1.7;
}

.kpx-footer-copy {
	margin-top: 1rem;
	color: #94a3b8;
	font-size: 0.75rem;
}

.kpx-footer-column h2 {
	margin: 0 0 1rem;
	font-size: 0.82rem;
}

.kpx-footer-menu {
	gap: 0.55rem;
	font-size: 0.78rem;
	color: var(--kpx-muted);
}

.kpx-footer-lower {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 2rem;
	align-items: start;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--kpx-border);
	font-size: 0.8rem;
}

.kpx-footer-lower > div {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.kpx-footer-lower a:not(.kpx-button) {
	color: var(--kpx-muted);
}

.kpx-button-secondary {
	background: var(--kpx-text);
}

@media (max-width: 980px) {
	.kpx-card-grid-5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kpx-card-grid-4,
	.kpx-step-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kpx-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kpx-footer-brand {
		grid-column: 1 / -1;
	}

	.kpx-nav-toggle {
		display: grid;
	}

	.kpx-header-nav-wrap {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 1rem 1.25rem 1.25rem;
		background: #fff;
		border-bottom: 1px solid var(--kpx-border);
		box-shadow: 0 20px 40px rgba(15,23,42,.08);
	}

	.kpx-header-nav-wrap[data-open] {
		display: block;
	}

	.kpx-primary-nav .kpx-menu,
	.kpx-header-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.kpx-primary-nav .kpx-menu {
		gap: 0;
	}

	.kpx-primary-nav .kpx-menu a,
	.kpx-language-link {
		display: block;
		padding: 0.8rem 0;
	}

	.kpx-header-actions {
		gap: 0.5rem;
		margin-top: 0.75rem;
	}

	.kpx-header-actions .kpx-button {
		width: 100%;
	}
}

@media (max-width: 720px) {
	.admin-bar .kpx-site-header {
		top: 46px;
	}

	.kpx-home-title {
		font-size: clamp(2.4rem, 12vw, 3.5rem);
	}

	.kpx-grid-3,
	.kpx-card-grid-3,
	.kpx-card-grid-4,
	.kpx-card-grid-5,
	.kpx-step-grid,
	.kpx-footer-grid,
	.kpx-footer-lower {
		grid-template-columns: 1fr;
	}

	.kpx-footer-brand {
		grid-column: auto;
	}

	.kpx-section-title {
		text-align: left;
		margin-inline: 0;
	}

	.kpx-home-lede,
	.kpx-section-lede {
		margin-inline: 0;
	}

	.kpx-section-lede {
		text-align: left;
	}

	.kpx-benefit-row {
		justify-content: flex-start;
	}
}


/* Features / capabilities collection and detail templates */
.kpx-collection-hero {
	background:
		radial-gradient(circle at 78% 10%, rgba(37, 99, 235, 0.12), transparent 30%),
		linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	border-bottom: 1px solid #edf2f7;
}

.kpx-collection-hero-inner {
	padding-block: clamp(4.5rem, 9vw, 7rem);
	text-align: center;
}

.kpx-collection-hero .kpx-eyebrow {
	margin-inline: auto;
}

.kpx-collection-hero h1 {
	max-width: 900px;
	margin: 0 auto;
	font-size: clamp(2.071875rem, 3.89vw, 3.5rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

/* Production detail pages use a larger display heading than collection/index pages. */
.kpx-collection-hero.kpx-detail-hero h1 {
	font-size: clamp(2.25rem, 4.584vw, 4.125rem);
	line-height: 1.05;
}


.kpx-catalog-card {
	display: flex;
	min-height: 230px;
	flex-direction: column;
}

.kpx-catalog-card h2 {
	margin: 0 0 0.85rem;
	font-size: 1.2rem;
	line-height: 1.25;
}

.kpx-catalog-card h2 a,
.kpx-text-link {
	text-decoration: none;
}

.kpx-catalog-card > p {
	flex: 1;
	margin: 0;
}

.kpx-text-link {
	display: inline-flex;
	margin-top: 1.25rem;
	color: var(--kpx-blue);
	font-size: 0.82rem;
	font-weight: 700;
}

.kpx-detail-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.kpx-detail-card h2 {
	margin: 0 0 0.85rem;
	font-size: 1.25rem;
}

.kpx-check-list {
	display: grid;
	gap: 0.7rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.kpx-check-list li {
	position: relative;
	padding-left: 1.65rem;
	color: var(--kpx-muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.kpx-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	width: 1.15rem;
	height: 1.15rem;
	place-items: center;
	border-radius: 50%;
	background: #ecfdf5;
	color: var(--kpx-success);
	font-size: 0.72rem;
	font-weight: 800;
}

.kpx-inline-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 2rem;
	padding: 1.5rem;
	border: 1px solid #bfdbfe;
	border-radius: var(--kpx-radius-md);
	background: var(--kpx-soft-blue);
}

.kpx-inline-cta h2 {
	margin: 0;
	font-size: 1.35rem;
}

.kpx-inline-cta p {
	margin: 0.45rem 0 0;
	color: var(--kpx-muted);
}

.kpx-detail-editorial {
	padding-top: 0;
}

.kpx-cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.kpx-button-light {
	background: #fff;
	color: var(--kpx-text);
}

.kpx-button-light:hover {
	background: #eff6ff;
}

.kpx-button-outline-light {
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: transparent;
	color: #fff;
}

.kpx-button-outline-light:hover {
	background: rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .kpx-check-list li {
	padding-right: 1.65rem;
	padding-left: 0;
}

[dir="rtl"] .kpx-check-list li::before {
	right: 0;
	left: auto;
}

@media (max-width: 880px) {
	.kpx-detail-grid {
		grid-template-columns: 1fr;
	}

	.kpx-inline-cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.kpx-inline-cta .kpx-button {
		width: 100%;
	}
}

@media (max-width: 720px) {
	.kpx-collection-hero-inner {
		text-align: left;
	}

	.kpx-collection-hero .kpx-eyebrow {
		margin-inline: 0;
	}

	.kpx-collection-hero h1 {
		margin-inline: 0;
	}
}


/* Features / capabilities collection and detail templates */
.kpx-collection-hero {
	background:
		radial-gradient(circle at 78% 10%, rgba(37, 99, 235, 0.12), transparent 30%),
		linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	border-bottom: 1px solid #edf2f7;
}
.kpx-collection-hero-inner {
	padding-block: clamp(4.5rem, 9vw, 7rem);
	text-align: center;
}
.kpx-collection-hero .kpx-eyebrow { margin-inline: auto; }
.kpx-collection-hero h1 {
	max-width: 900px;
	margin: 0 auto;
	font-size: clamp(2.071875rem, 3.89vw, 3.5rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}
.kpx-catalog-card {
	display: flex;
	min-height: 230px;
	flex-direction: column;
}
.kpx-catalog-card h2 {
	margin: 0 0 0.85rem;
	font-size: 1.2rem;
	line-height: 1.25;
}
.kpx-catalog-card h2 a,
.kpx-text-link { text-decoration: none; }
.kpx-catalog-card > p {
	flex: 1;
	margin: 0;
}
.kpx-text-link {
	display: inline-flex;
	margin-top: 1.25rem;
	color: var(--kpx-blue);
	font-size: 0.82rem;
	font-weight: 700;
}
.kpx-detail-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}
.kpx-detail-card h2 {
	margin: 0 0 0.85rem;
	font-size: 1.25rem;
}
.kpx-check-list {
	display: grid;
	gap: 0.7rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}
.kpx-check-list li {
	position: relative;
	padding-left: 1.65rem;
	color: var(--kpx-muted);
	font-size: 0.9rem;
	line-height: 1.55;
}
.kpx-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	width: 1.15rem;
	height: 1.15rem;
	place-items: center;
	border-radius: 50%;
	background: #ecfdf5;
	color: var(--kpx-success);
	font-size: 0.72rem;
	font-weight: 800;
}
.kpx-inline-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 2rem;
	padding: 1.5rem;
	border: 1px solid #bfdbfe;
	border-radius: var(--kpx-radius-md);
	background: var(--kpx-soft-blue);
}
.kpx-inline-cta h2 {
	margin: 0;
	font-size: 1.35rem;
}
.kpx-inline-cta p {
	margin: 0.45rem 0 0;
	color: var(--kpx-muted);
}
.kpx-detail-editorial { padding-top: 0; }
.kpx-cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
.kpx-button-light {
	background: #fff;
	color: var(--kpx-text);
}
.kpx-button-light:hover { background: #eff6ff; }
.kpx-button-outline-light {
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: transparent;
	color: #fff;
}
.kpx-button-outline-light:hover { background: rgba(255, 255, 255, 0.1); }
[dir="rtl"] .kpx-check-list li {
	padding-right: 1.65rem;
	padding-left: 0;
}
[dir="rtl"] .kpx-check-list li::before {
	right: 0;
	left: auto;
}
@media (max-width: 880px) {
	.kpx-detail-grid { grid-template-columns: 1fr; }
	.kpx-inline-cta {
		align-items: flex-start;
		flex-direction: column;
	}
	.kpx-inline-cta .kpx-button { width: 100%; }
}
@media (max-width: 720px) {
	.kpx-collection-hero-inner { text-align: left; }
	.kpx-collection-hero .kpx-eyebrow { margin-inline: 0; }
	.kpx-collection-hero h1 { margin-inline: 0; }
}


/* Pricing */
.kpx-currency-switcher {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.75rem;
	padding: 0.35rem;
	border: 1px solid var(--kpx-border);
	border-radius: 999px;
	background: #fff;
}
.kpx-currency-button {
	min-width: 58px;
	padding: 0.55rem 0.75rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--kpx-muted);
	font-size: 0.78rem;
	font-weight: 800;
	cursor: pointer;
}
.kpx-currency-button.is-active {
	background: var(--kpx-blue);
	color: #fff;
}
.kpx-currency-button:disabled {
	cursor: not-allowed;
	opacity: 0.4;
}
.kpx-pricing-note {
	margin: 0.7rem auto 0;
	color: var(--kpx-muted);
	font-size: 0.75rem;
}
.kpx-pricing-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
}
.kpx-price-card {
	position: relative;
	display: flex;
	min-height: 560px;
	flex-direction: column;
	padding: 1.35rem;
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-md);
	background: #fff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.035);
}
.kpx-price-card.is-featured {
	border-color: #93c5fd;
	background: var(--kpx-soft-blue);
	box-shadow: 0 18px 40px rgba(37, 99, 235, 0.1);
}
.kpx-price-badge {
	align-self: flex-start;
	margin: 0 0 0.75rem;
	padding: 0.35rem 0.6rem;
	border-radius: 999px;
	background: var(--kpx-blue);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
}
.kpx-price-card h2 {
	margin: 0;
	font-size: 1.2rem;
}
.kpx-price-best-for {
	min-height: 66px;
	margin: 0.8rem 0 0;
	color: var(--kpx-muted);
	font-size: 0.8rem;
	line-height: 1.55;
}
.kpx-price {
	display: flex;
	align-items: baseline;
	gap: 0.3rem;
	margin: 1.15rem 0;
}
.kpx-price > span {
	font-size: clamp(2rem, 3vw, 2.65rem);
	font-weight: 800;
	letter-spacing: -0.035em;
}
.kpx-price small {
	color: var(--kpx-muted);
	font-size: 0.75rem;
}
.kpx-price-card > .kpx-button {
	width: 100%;
}
.kpx-price-list {
	margin-top: 1.25rem;
}
.kpx-table-wrap {
	overflow-x: auto;
	margin-top: 2rem;
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-md);
	background: #fff;
}
.kpx-pricing-table {
	width: 100%;
	min-width: 860px;
	border-collapse: collapse;
	font-size: 0.82rem;
}
.kpx-pricing-table th,
.kpx-pricing-table td {
	padding: 0.9rem 1rem;
	border-bottom: 1px solid var(--kpx-border);
	text-align: center;
	vertical-align: middle;
}
.kpx-pricing-table thead th {
	background: var(--kpx-surface);
	color: var(--kpx-text);
	font-size: 0.75rem;
}
.kpx-pricing-table th:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	min-width: 210px;
	background: #fff;
	text-align: left;
}
.kpx-pricing-table thead th:first-child {
	background: var(--kpx-surface);
}
[dir="rtl"] .kpx-pricing-table th:first-child {
	right: 0;
	left: auto;
	text-align: right;
}
@media (max-width: 1100px) {
	.kpx-pricing-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 760px) {
	.kpx-pricing-grid {
		grid-template-columns: 1fr;
	}
	.kpx-price-card {
		min-height: auto;
	}
	.kpx-currency-switcher {
		justify-content: flex-start;
	}
}


/* Blog */
.kpx-blog-hero {
	background:
		radial-gradient(circle at 70% 15%, rgba(35, 103, 242, 0.12), transparent 30%),
		linear-gradient(180deg, #fff 0%, #f8fbff 100%);
	border-bottom: 1px solid #edf2f7;
}
.kpx-blog-hero-inner {
	padding-block: clamp(4.75rem, 9vw, 7.25rem);
	text-align: center;
}
.kpx-blog-hero h1,
.kpx-blog-article-hero h1 {
	max-width: 980px;
	margin: 0 auto;
	font-size: clamp(2.25rem, 4.584vw, 4.125rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
}
.kpx-featured-guide {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	padding: clamp(1.75rem, 4vw, 3rem);
	border: 1px solid #cbd8e8;
	border-radius: var(--kpx-radius-lg);
	background: linear-gradient(135deg, #fff, #eef7ff);
}
.kpx-featured-guide h2 {
	max-width: 780px;
	margin: 0.75rem 0 1rem;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.08;
}
.kpx-featured-guide h2 a,
.kpx-blog-card h3 a {
	text-decoration: none;
}
.kpx-featured-guide > div > p:not(.kpx-eyebrow):not(.kpx-blog-meta) {
	max-width: 780px;
	color: var(--kpx-muted);
	font-size: 1rem;
	line-height: 1.7;
}
.kpx-blog-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	color: var(--kpx-muted);
	font-size: 0.75rem;
	font-weight: 650;
}
.kpx-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
}
.kpx-blog-card {
	display: flex;
	min-height: 260px;
	flex-direction: column;
	padding: 1.5rem;
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-md);
	background: #fff;
}
.kpx-blog-card h3 {
	margin: 0.75rem 0;
	font-size: 1.15rem;
	line-height: 1.3;
}
.kpx-blog-card > p:not(.kpx-blog-meta) {
	flex: 1;
	color: var(--kpx-muted);
	line-height: 1.65;
}
.kpx-pagination {
	margin-top: 2.5rem;
}
.kpx-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.kpx-pagination .page-numbers {
	display: inline-grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	padding-inline: 0.75rem;
	border: 1px solid var(--kpx-border);
	border-radius: 10px;
	text-decoration: none;
}
.kpx-pagination .page-numbers.current {
	border-color: var(--kpx-blue);
	background: var(--kpx-blue);
	color: #fff;
}
.kpx-blog-article-hero {
	padding-block: clamp(4.75rem, 9vw, 7rem);
	background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
	border-bottom: 1px solid #edf2f7;
}
.kpx-blog-article-hero .kpx-home-lede {
	margin-left: 0;
	margin-right: 0;
}
.kpx-blog-article-hero .kpx-blog-meta {
	margin-top: 1.25rem;
}
.kpx-blog-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(220px, 280px);
	justify-content: center;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.kpx-article-body {
	min-width: 0;
}
.kpx-article-body h2 {
	margin-top: 2.75rem;
	scroll-margin-top: 110px;
	font-size: clamp(1.7rem, 3vw, 2.2rem);
	line-height: 1.2;
}
.kpx-article-body h3 {
	margin-top: 2rem;
	font-size: 1.35rem;
}
.kpx-article-body ul,
.kpx-article-body ol {
	padding-left: 1.4rem;
}
[dir="rtl"] .kpx-article-body ul,
[dir="rtl"] .kpx-article-body ol {
	padding-right: 1.4rem;
	padding-left: 0;
}
.kpx-article-body li + li {
	margin-top: 0.6rem;
}
.kpx-article-toc {
	position: sticky;
	top: 110px;
	padding: 1.25rem;
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-md);
	background: #fff;
}
.admin-bar .kpx-article-toc {
	top: 142px;
}
.kpx-article-toc ol {
	display: grid;
	gap: 0.65rem;
	margin: 0 0 1.25rem;
	padding-left: 1rem;
}
.kpx-article-toc a:not(.kpx-button) {
	color: var(--kpx-muted);
	font-size: 0.78rem;
	line-height: 1.45;
	text-decoration: none;
}
.kpx-article-toc a:not(.kpx-button):hover {
	color: var(--kpx-blue);
}
.kpx-article-toc .kpx-button {
	width: 100%;
}
@media (max-width: 900px) {
	.kpx-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.kpx-blog-article-layout {
		grid-template-columns: 1fr;
	}
	.kpx-article-toc {
		position: static;
		order: -1;
	}
}
@media (max-width: 620px) {
	.kpx-blog-grid {
		grid-template-columns: 1fr;
	}
	.kpx-blog-hero-inner {
		text-align: left;
	}
	.kpx-blog-hero h1,
	.kpx-blog-article-hero h1 {
		margin-inline: 0;
	}
}


/* Resources / legal / documentation / contact */
.kpx-resource-body {
	margin-top: 2rem;
	padding: 1.5rem;
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-md);
	background: #fff;
}

.kpx-legal-content h2,
.kpx-doc-body h2 {
	margin-top: 2.5rem;
	scroll-margin-top: 110px;
	font-size: clamp(1.55rem, 3vw, 2rem);
}

.kpx-legal-content h3,
.kpx-doc-body h3 {
	margin-top: 1.8rem;
	font-size: 1.25rem;
}

.kpx-legal-contact {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--kpx-border);
}

.kpx-doc-platform-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 2rem;
	padding: clamp(1.5rem, 4vw, 2.25rem);
	border: 1px solid #bfdbfe;
	border-radius: var(--kpx-radius-lg);
	background: linear-gradient(135deg, #fff, #eff6ff);
}

.kpx-doc-platform-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
}

.kpx-doc-platform-card p {
	margin: 0;
	color: var(--kpx-muted);
}

.kpx-doc-platform-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.kpx-doc-body pre,
.kpx-entry-content pre {
	overflow-x: auto;
	padding: 1rem 1.1rem;
	border: 1px solid #1e293b;
	border-radius: 12px;
	background: linear-gradient(180deg,#0d2f5e 0%,#091d3c 22%,#07162f 100%);
	color: #dce9f7;
	font-size: 0.82rem;
	line-height: 1.6;
}

.kpx-doc-body code,
.kpx-entry-content code {
	padding: 0.12em 0.32em;
	border-radius: 5px;
	background: #f1f5f9;
	font-size: 0.9em;
}

.kpx-doc-body pre code,
.kpx-entry-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.kpx-doc-body table,
.kpx-legal-content table {
	display: block;
	overflow-x: auto;
	width: 100%;
	border-collapse: collapse;
}

.kpx-doc-body th,
.kpx-doc-body td,
.kpx-legal-content th,
.kpx-legal-content td {
	padding: 0.75rem;
	border: 1px solid var(--kpx-border);
	text-align: left;
}

[dir="rtl"] .kpx-doc-body th,
[dir="rtl"] .kpx-doc-body td,
[dir="rtl"] .kpx-legal-content th,
[dir="rtl"] .kpx-legal-content td {
	text-align: right;
}

.kpx-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
	gap: 2rem;
	align-items: start;
}

.kpx-contact-form-card {
	padding: clamp(1.5rem, 4vw, 2.25rem);
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-lg);
	background: #fff;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.kpx-contact-form-card h2 {
	margin-top: 0;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	line-height: 1.15;
}

.kpx-contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.kpx-contact-form label {
	display: grid;
	gap: 0.45rem;
	font-size: 0.8rem;
	font-weight: 700;
}

.kpx-contact-form input,
.kpx-contact-form textarea {
	width: 100%;
	border: 1px solid var(--kpx-border);
	border-radius: 10px;
	background: #fff;
	color: var(--kpx-text);
	font: inherit;
}

.kpx-contact-form input {
	min-height: 46px;
	padding: 0 0.85rem;
}

.kpx-contact-form textarea {
	padding: 0.75rem 0.85rem;
	resize: vertical;
}

.kpx-contact-form-full {
	grid-column: 1 / -1;
}

.kpx-contact-cards {
	display: grid;
	gap: 1rem;
}

.kpx-contact-cards .kpx-card h2 {
	margin-top: 0;
	font-size: 1rem;
}

.kpx-contact-cards .kpx-card p {
	margin-bottom: 0.6rem;
}

@media (max-width: 900px) {
	.kpx-contact-grid {
		grid-template-columns: 1fr;
	}

	.kpx-doc-platform-card {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 620px) {
	.kpx-contact-form {
		grid-template-columns: 1fr;
	}

	.kpx-contact-form-full {
		grid-column: auto;
	}

	.kpx-doc-platform-actions,
	.kpx-doc-platform-actions .kpx-button {
		width: 100%;
	}
}


/* Documentation, legal and contact */
.kpx-docs-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}
.kpx-doc-card {
	display: flex;
	min-height: 240px;
	flex-direction: column;
}
.kpx-doc-card > p:not(.kpx-eyebrow) {
	flex: 1;
	color: var(--kpx-muted);
	line-height: 1.65;
}
.kpx-doc-article-hero,
.kpx-legal-hero {
	padding-block: clamp(4.5rem, 8vw, 6.5rem);
	background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
	border-bottom: 1px solid #edf2f7;
}
.kpx-doc-article-hero h1,
.kpx-legal-hero h1 {
	max-width: 980px;
	margin: 0;
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
}
.kpx-doc-layout {
	display: grid;
	grid-template-columns: minmax(0, 820px) minmax(220px, 280px);
	justify-content: center;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.kpx-doc-body,
.kpx-legal-body {
	min-width: 0;
}
.kpx-doc-body h2,
.kpx-legal-body h2 {
	margin-top: 2.75rem;
	scroll-margin-top: 110px;
	font-size: clamp(1.7rem, 3vw, 2.2rem);
	line-height: 1.2;
}
.kpx-doc-body h3,
.kpx-legal-body h3 {
	margin-top: 2rem;
	font-size: 1.35rem;
}
.kpx-doc-body pre,
.kpx-legal-body pre {
	overflow-x: auto;
	padding: 1rem;
	border-radius: 12px;
	background: #0f172a;
	color: #e2e8f0;
	font-size: 0.83rem;
	line-height: 1.55;
}
.kpx-doc-body code,
.kpx-legal-body code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.kpx-doc-body table,
.kpx-legal-body table {
	width: 100%;
	border-collapse: collapse;
}
.kpx-doc-body th,
.kpx-doc-body td,
.kpx-legal-body th,
.kpx-legal-body td {
	padding: 0.8rem;
	border: 1px solid var(--kpx-border);
	text-align: start;
	vertical-align: top;
}
.kpx-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
	gap: 1.5rem;
	align-items: start;
}
.kpx-contact-form-card {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-lg);
	background: #fff;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}
.kpx-contact-form-card h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	line-height: 1.15;
}
.kpx-contact-form-card form {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
}
.kpx-field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
.kpx-contact-form-card label {
	display: grid;
	gap: 0.45rem;
	color: var(--kpx-text);
	font-size: 0.8rem;
	font-weight: 700;
}
.kpx-contact-form-card input,
.kpx-contact-form-card textarea {
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--kpx-border);
	border-radius: 10px;
	background: #fff;
	color: var(--kpx-text);
	font: inherit;
}
.kpx-contact-form-card textarea {
	resize: vertical;
}
.kpx-contact-cards {
	display: grid;
	gap: 1rem;
}
.kpx-contact-cards .kpx-card h2 {
	margin-top: 0;
}
@media (max-width: 900px) {
	.kpx-docs-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.kpx-doc-layout,
	.kpx-contact-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 620px) {
	.kpx-docs-grid,
	.kpx-field-grid {
		grid-template-columns: 1fr;
	}
}


/* Breadcrumbs / search */
.kpx-breadcrumbs {
	margin-bottom: 1.1rem;
	color: var(--kpx-muted);
	font-size: 0.75rem;
	line-height: 1.5;
}
.kpx-breadcrumbs a {
	color: var(--kpx-muted);
	text-decoration: none;
}
.kpx-breadcrumbs a:hover {
	color: var(--kpx-blue);
}
.kpx-search-results {
	display: grid;
	gap: 1rem;
}
.kpx-search-result {
	padding: 1.5rem;
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-md);
	background: #fff;
}
.kpx-search-result h2 {
	margin: 0.45rem 0 0.75rem;
	font-size: 1.25rem;
}
.kpx-search-result h2 a {
	text-decoration: none;
}
.kpx-search-result > p:not(.kpx-blog-meta) {
	margin-bottom: 0;
	color: var(--kpx-muted);
	line-height: 1.7;
}
.kpx-empty-state {
	padding: clamp(2rem, 6vw, 4rem);
	border: 1px solid var(--kpx-border);
	border-radius: var(--kpx-radius-lg);
	background: var(--kpx-surface);
	text-align: center;
}
.kpx-empty-state h2 {
	margin-top: 0;
}
.search-form {
	display: flex;
	gap: 0.65rem;
	margin-top: 1.5rem;
}
.search-form label {
	flex: 1;
}
.search-form .search-field {
	width: 100%;
	min-height: 44px;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--kpx-border);
	border-radius: 10px;
	font: inherit;
}
.search-form .search-submit {
	min-height: 44px;
	padding: 0.75rem 1rem;
	border: 0;
	border-radius: 10px;
	background: var(--kpx-blue);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}
@media (max-width: 620px) {
	.search-form {
		flex-direction: column;
	}
}


/* KePixel production visual-parity overrides */
.kpx-brand-mark {
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.01em;
}

.kpx-brand-name {
	color: var(--kpx-text);
	font-weight: 800;
}

.kpx-inline-cta {
	padding: 2rem 2.25rem;
	border-color: #081426;
	background: #081426;
	color: #fff;
	box-shadow: 0 18px 40px rgba(8, 20, 38, 0.12);
}

.kpx-inline-cta p {
	color: #b9cade;
}

.kpx-inline-cta .kpx-button {
	background: #0ea5e9;
}

.kpx-cta-band {
	background: #fff;
	color: var(--kpx-text);
}

.kpx-cta-band .kpx-container {
	max-width: 1080px;
	padding: clamp(2rem, 5vw, 3rem);
	border-radius: 24px;
	background: #081426;
	color: #fff;
	box-shadow: 0 20px 44px rgba(8, 20, 38, 0.12);
}

.kpx-cta-band .kpx-container p {
	color: #cbd5e1;
}

.kpx-site-footer {
	border-top: 0;
	background: #0f172a;
	color: #e2e8f0;
}

.kpx-site-footer .kpx-brand-name,
.kpx-site-footer .kpx-footer-column h2,
.kpx-site-footer .kpx-footer-lower strong {
	color: #fff;
}

.kpx-site-footer .kpx-muted,
.kpx-site-footer .kpx-footer-menu,
.kpx-site-footer .kpx-footer-menu a,
.kpx-site-footer .kpx-footer-lower,
.kpx-site-footer .kpx-footer-lower a:not(.kpx-button),
.kpx-site-footer .kpx-footer-copy {
	color: #cbd5e1;
}

.kpx-site-footer .kpx-footer-lower {
	border-top-color: #334155;
}

.kpx-site-footer .kpx-button-secondary {
	border: 1px solid #475569;
	background: #1e293b;
	color: #fff;
}

[dir="rtl"] .kpx-collection-hero-inner,
[dir="rtl"] .kpx-blog-hero-inner {
	text-align: right;
}

[dir="rtl"] .kpx-collection-hero h1,
[dir="rtl"] .kpx-blog-hero h1 {
	margin-inline: 0;
}

@media (max-width: 720px) {
	.kpx-cta-band {
		padding-inline: 1rem;
	}

	.kpx-cta-band .kpx-container {
		border-radius: 18px;
	}

	.kpx-site-footer {
		padding-block: 3rem 2rem;
	}
}


/* Blog landing production parity */
.kpx-blog-feature-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(280px, .9fr);
	gap: 1rem;
	align-items: stretch;
}

.kpx-blog-feature-layout .kpx-featured-guide {
	min-height: 340px;
}

.kpx-blog-feature-button {
	width: 100%;
	margin-top: auto;
}

.kpx-blog-support-list {
	display: grid;
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: .75rem;
}

.kpx-blog-support-card {
	padding: 1rem 1.1rem;
	border: 1px solid var(--kpx-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}

.kpx-blog-support-card h2 {
	margin: .35rem 0 .45rem;
	font-size: .95rem;
	line-height: 1.25;
}

.kpx-blog-support-card h2 a {
	text-decoration: none;
}

.kpx-blog-support-card > p:not(.kpx-blog-meta) {
	margin: 0;
	color: var(--kpx-muted);
	font-size: .78rem;
	line-height: 1.55;
}

.kpx-blog-latest {
	min-height: 520px;
}

.kpx-blog-learning-section {
	background: #fff;
}

.kpx-blog-learning {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
	gap: 2rem;
	align-items: center;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border-radius: 24px;
	background: linear-gradient(135deg, #0f172a, #075985);
	color: #fff;
	box-shadow: 0 22px 48px rgba(15, 23, 42, .14);
}

.kpx-blog-learning .kpx-pill {
	margin-inline: 0;
	background: #ecfeff;
	border-color: #a5f3fc;
	color: #0e7490;
}

.kpx-blog-learning h2 {
	margin: 0 0 .75rem;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	line-height: 1.1;
}

.kpx-blog-learning p {
	margin-bottom: 0;
	color: #cbd5e1;
	line-height: 1.7;
}

.kpx-blog-learning-list {
	display: grid;
	gap: .65rem;
}

.kpx-blog-learning-list span {
	padding: .75rem 1rem;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 10px;
	background: rgba(255,255,255,.12);
	font-size: .82rem;
}

.kpx-blog-hero-inner {
	text-align: start;
}

.kpx-blog-hero h1 {
	margin-inline: 0;
	max-width: 760px;
}

.kpx-blog-hero .kpx-home-lede {
	margin-inline: 0;
	max-width: 760px;
}

.kpx-blog-hero .kpx-benefit-row {
	justify-content: flex-start;
}

[dir="rtl"] .kpx-blog-hero-inner {
	text-align: right;
}

[dir="rtl"] .kpx-blog-hero h1,
[dir="rtl"] .kpx-blog-hero .kpx-home-lede {
	margin-inline: 0;
}

[dir="rtl"] .kpx-blog-hero .kpx-benefit-row {
	justify-content: flex-start;
}

[dir="rtl"] .kpx-blog-hero h1,
[dir="rtl"] .kpx-blog-article-hero h1 {
	line-height: 1.25;
	letter-spacing: normal;
}

@media (max-width: 900px) {
	.kpx-blog-feature-layout,
	.kpx-blog-learning {
		grid-template-columns: 1fr;
	}

	.kpx-blog-support-list {
		grid-template-rows: none;
	}

	.kpx-blog-latest {
		min-height: 0;
	}
}

@media (max-width: 720px) {
	.kpx-home-title {
		font-size: 2.071875rem;
		line-height: 1.18;
		letter-spacing: -0.03em;
	}

	html[dir="rtl"] .kpx-home-title {
		font-size: 2.0475rem;
		line-height: 1.34;
		letter-spacing: normal;
	}

	.kpx-collection-hero h1 {
		font-size: 2.25rem;
		line-height: 1.05;
		letter-spacing: -0.01em;
	}

	.page-template-page-pricing .kpx-collection-hero h1 {
		font-size: 2.071875rem;
		line-height: 1.18;
		letter-spacing: -0.03em;
	}

	.kpx-collection-hero.kpx-detail-hero h1 {
		font-size: 2.25rem;
		line-height: 1.05;
	}

	.kpx-blog-hero h1,
	.kpx-blog-article-hero h1 {
		font-size: 2.25rem;
		line-height: 1.05;
		letter-spacing: -0.01em;
	}

	html[dir="rtl"] .kpx-collection-hero h1,
	html[dir="rtl"] .kpx-blog-hero h1,
	html[dir="rtl"] .kpx-blog-article-hero h1 {
		line-height: 1.25;
		letter-spacing: normal;
	}
}


/* Blog CMS v0.5 — Home V10 visual language without Home V10 runtime overhead. */
.kpx-blog-article-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 12%,rgba(23,105,232,.12),transparent 26%),
    linear-gradient(180deg,#fbfdff 0%,#eef6ff 100%);
  border-bottom:1px solid #d5e3ef;
}
.kpx-blog-article-hero:after{
  content:"";position:absolute;right:-120px;top:-130px;width:360px;height:360px;border:54px solid rgba(82,166,225,.08);border-radius:50%;pointer-events:none
}
.kpx-blog-article-hero .kpx-content-narrow{position:relative;z-index:1}
.kpx-article-featured-image{margin:2rem 0 0;border:1px solid #c7dcec;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 24px 54px rgba(30,72,116,.12)}
.kpx-article-featured-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.kpx-blog-card-media{display:block;margin:-1px -1px 1rem;overflow:hidden;border-radius:17px 17px 12px 12px;background:#eaf4fd}
.kpx-blog-card-media img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .3s ease}
.kpx-blog-card:hover .kpx-blog-card-media img,.kpx-blog-support-card:hover .kpx-blog-card-media img{transform:scale(1.025)}
.kpx-blog-card-media-featured{margin:-1px -1px 1.4rem}

.kpx-article-body>.wp-block-group.is-style-kpx-article-cta,
.kpx-article-body>.wp-block-group.is-style-kpx-design-panel,
.kpx-article-body>.wp-block-group.is-style-kpx-note{max-width:none;margin:2.25rem 0}
.kpx-article-body .is-style-kpx-article-cta{padding:2rem;border:1px solid #8ebce0;border-radius:20px;text-align:center;background:radial-gradient(circle at 85% 15%,rgba(80,188,237,.18),transparent 30%),linear-gradient(145deg,#eef7ff,#f9fcff);box-shadow:0 18px 42px rgba(35,76,114,.09)}
.kpx-article-body .is-style-kpx-article-cta h3{margin:.4rem auto .7rem;max-width:36rem;font-size:clamp(1.55rem,3vw,2rem);color:#10243f}
.kpx-article-body .is-style-kpx-article-cta>p:not(.kpx-eyebrow){max-width:40rem;margin-inline:auto;color:#60758d}
.kpx-article-body .is-style-kpx-article-cta .wp-block-buttons{justify-content:center;margin-top:1.25rem}
.kpx-article-body .is-style-kpx-article-cta .wp-block-button__link{min-height:46px;padding:.8rem 1.2rem;border-radius:11px;background:#0b2345;color:#fff;font-weight:800;text-decoration:none;box-shadow:0 10px 24px rgba(11,35,69,.16)}
.kpx-article-body .is-style-kpx-design-panel{padding:1.75rem;border:1px solid #c2d9ea;border-radius:18px;background:linear-gradient(145deg,#fff,#f4f9fe);box-shadow:0 14px 32px rgba(37,78,118,.07)}
.kpx-article-body .is-style-kpx-design-panel h3{margin:.35rem 0 .65rem;color:#10243f}
.kpx-article-body .is-style-kpx-design-panel .wp-block-columns{gap:.8rem;margin:1.25rem 0 0}
.kpx-article-body .is-style-kpx-design-panel .wp-block-column{padding:1rem;border:1px solid #d5e4ef;border-radius:13px;background:#fff}
.kpx-article-body .is-style-kpx-note{padding:1.25rem 1.35rem;border:1px solid #bfd7ea;border-left:4px solid #1769e8;border-radius:14px;background:#f6fbff}
html[dir="rtl"] .kpx-article-body .is-style-kpx-note{border-left:1px solid #bfd7ea;border-right:4px solid #1769e8}
.kpx-article-body .is-style-kpx-note p:last-child{margin-bottom:0}
.kpx-article-body .is-style-kpx-checklist{list-style:none;padding-left:0}
.kpx-article-body .is-style-kpx-checklist li{position:relative;padding-left:1.7rem}
.kpx-article-body .is-style-kpx-checklist li:before{content:"✓";position:absolute;left:0;top:.05rem;display:grid;place-items:center;width:1.15rem;height:1.15rem;border-radius:50%;background:#e7f7ef;color:#078454;font-size:.72rem;font-weight:900}
html[dir="rtl"] .kpx-article-body .is-style-kpx-checklist{padding-right:0}
html[dir="rtl"] .kpx-article-body .is-style-kpx-checklist li{padding-left:0;padding-right:1.7rem}
html[dir="rtl"] .kpx-article-body .is-style-kpx-checklist li:before{left:auto;right:0}
.kpx-article-body .wp-block-table,.kpx-article-body .is-style-kpx-table{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #d1e0ec;border-radius:14px;background:#fff}
.kpx-article-body .wp-block-table table,.kpx-article-body .is-style-kpx-table table{min-width:620px;margin:0;border-collapse:collapse}
.kpx-article-body table th{background:#edf6ff;color:#173e68}
.kpx-article-body table th,.kpx-article-body table td{padding:.85rem .9rem;border:1px solid #dbe7f0;vertical-align:top}
.kpx-article-body blockquote{margin:2rem 0;padding:1.15rem 1.35rem;border:0;border-left:4px solid #1769e8;border-radius:0 14px 14px 0;background:#f5f9fd;color:#304c68}
html[dir="rtl"] .kpx-article-body blockquote{border-left:0;border-right:4px solid #1769e8;border-radius:14px 0 0 14px}
.kpx-article-body code{padding:.14em .4em;border:1px solid #d7e4ee;border-radius:6px;background:#f1f6fa;color:#174a76;font-size:.9em;direction:ltr;unicode-bidi:isolate}
.kpx-article-body pre{overflow:auto;padding:1rem 1.1rem;border-radius:14px;background:#0b1e36;color:#dcecff}
.kpx-article-body pre code{padding:0;border:0;background:transparent;color:inherit}
.kpx-article-body img{max-width:100%;height:auto;border-radius:16px}
html[dir="rtl"] .kpx-article-body{font-family:'IBM Plex Sans Arabic','Inter',sans-serif}
html[dir="rtl"] .kpx-article-body [dir="ltr"],html[dir="rtl"] .kpx-article-body code{font-family:'Inter',sans-serif}

@media(max-width:760px){
  .kpx-article-featured-image{border-radius:16px;margin-top:1.4rem}
  .kpx-article-body .is-style-kpx-article-cta,.kpx-article-body .is-style-kpx-design-panel{padding:1.3rem}
  .kpx-article-body .is-style-kpx-design-panel .wp-block-columns{display:grid;grid-template-columns:1fr}
}

/* Blog visual QA polish — EN + AR */
.kpx-benefit-row{display:flex;flex-wrap:wrap;}
.kpx-blog-hero .kpx-benefit-row{max-width:820px;}
/* Production shell uses overflow-x:hidden on body, which creates a scroll
   container and breaks position:sticky on native article sidebars. `clip` keeps
   horizontal paint contained without stealing the sticky scroll container. */
body.single-post{overflow-x:clip!important;overflow-y:visible!important;}

/* Keep the sticky TOC useful without clipping its CTA. Only the heading list
   scrolls; the title and Book a Demo action always remain visible. */
.kpx-article-toc{
  display:flex;
  flex-direction:column;
  max-height:calc(100dvh - 134px);
  overflow:hidden;
}
.admin-bar .kpx-article-toc{max-height:calc(100dvh - 166px);}
.kpx-article-toc>nav{
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  padding-inline-end:.35rem;
  margin-bottom:1rem;
}
.kpx-article-toc>nav ol{margin-bottom:0;padding-inline-start:1.2rem;}
.kpx-article-toc .kpx-button{flex:0 0 auto;}
html[dir="rtl"] .kpx-article-body{line-height:1.9;}
html[dir="rtl"] .kpx-blog-meta{direction:rtl;}
html[dir="rtl"] .kpx-article-toc>nav{padding-inline-start:.15rem;padding-inline-end:.35rem;}
@media (max-width:900px){
  .kpx-article-toc{display:block;max-height:none;overflow:visible;}
  .kpx-article-toc>nav{overflow:visible;padding-inline:0;margin-bottom:1rem;}
}


/* Theme 0.5.4 — exact current Home header shell parity on native pages. */
@media (min-width:981px){
  .site-header .container{max-width:1240px!important;}
  .site-header .header-inner{min-height:76px!important;gap:18px!important;}
  .site-header .main-nav>ul{gap:6px!important;}
  .site-header .main-nav .nav-link{padding:10px 13px!important;font-size:14px!important;font-weight:850!important;line-height:1.1!important;color:#334155!important;}
  .site-header .header-actions{gap:10px!important;}
  .site-header .btn-header-cta{min-height:52px!important;padding:13px 24px!important;font-size:15px!important;font-weight:600!important;box-shadow:0 12px 24px rgba(2,132,199,.22)!important;}
}


/* Native Blog palette parity with the live English Home. */
a.kpx-button[href*="calendly.com"]{
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#38BDF8 0%,#0284C7 100%)!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(56,189,248,.35)!important;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important;
}
a.kpx-button[href*="calendly.com"]:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 10px 26px rgba(56,189,248,.45)!important;
  filter:none!important;
}

/* Mixed Arabic/English TOC labels stay readable and never collide with markers. */
html[dir="rtl"] .kpx-article-toc ol{padding-inline-start:0;padding-inline-end:1.3rem;}
html[dir="rtl"] .kpx-article-toc li{padding-inline-start:.15rem;}
html[dir="rtl"] .kpx-article-toc a:not(.kpx-button){unicode-bidi:plaintext;text-align:right;}

/* Theme 0.5.8 — bridge native WordPress pages to the English Home V10 design system. */
:root{
  --kpx-blue:#2367f2;
  --kpx-blue-dark:#0b3fae;
  --kpx-text:#081426;
  --kpx-muted:#5d6f86;
  --kpx-border:#cbd8e8;
  --kpx-surface:#f7faff;
  --kpx-soft-blue:#eef7ff;
}
html[dir="rtl"] .site-header .logo span,.site-header .logo span{
  display:block!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
  font-family:"Space Grotesk",Inter,sans-serif!important;
  letter-spacing:-.02em!important;
}
@media(max-width:980px){
  html[dir="rtl"] .site-header .logo,html[lang="ar"] .site-header .logo{
    width:auto!important;min-width:0!important;max-width:174px!important;gap:8px!important;
  }
  html[dir="rtl"] .site-header .logo-mark,html[lang="ar"] .site-header .logo-mark{
    width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important;border-radius:12px!important;
  }
  html[dir="rtl"] .site-header .logo span,html[lang="ar"] .site-header .logo span{display:block!important;font-size:16px!important;}
  .site-header .nav-toggle{
    border-color:#bae6fd!important;background:linear-gradient(145deg,#fff,#eef7ff)!important;color:#2367f2!important;
    box-shadow:0 10px 24px rgba(35,103,242,.10)!important;border-radius:14px!important;
  }
  .site-header .nav-toggle:hover,.site-header .nav-toggle[aria-expanded="true"]{
    background:linear-gradient(135deg,#38bdf8,#0284c7)!important;color:#fff!important;border-color:transparent!important;
  }
}
.kpx-blog-hero,.kpx-blog-article-hero{
  background:linear-gradient(180deg,#fbfdff 0%,#eef7ff 100%)!important;border-bottom-color:#cbd8e8!important;
}
.kpx-blog-card,.kpx-featured-guide,.kpx-article-toc{
  border-color:#cbd8e8!important;box-shadow:0 12px 28px rgba(39,78,118,.065)!important;
}
a.kpx-button[href*="calendly.com"]{
  background:linear-gradient(135deg,#38bdf8,#0284c7)!important;border-color:transparent!important;color:#fff!important;
  box-shadow:0 10px 24px rgba(2,132,199,.24)!important;
}
.kpx-site-footer{background:linear-gradient(180deg,#0d2f5e 0%,#091d3c 22%,#07162f 100%)!important;color:#dce9f7!important;}

/* Theme 0.5.9 — native WordPress archive/default-page parity with Home V10. */
.kpx-main{background:#fff;color:#081426;}
.kpx-content-shell{padding-top:56px;padding-bottom:72px;}
.kpx-entry-header{
  position:relative;
  margin:0 0 28px;
  padding:34px 36px;
  overflow:hidden;
  border:1px solid #cbd8e8;
  border-radius:18px;
  background:linear-gradient(180deg,#fbfdff 0%,#eef7ff 100%);
  box-shadow:0 12px 28px rgba(39,78,118,.055);
}
.kpx-entry-header:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(43,104,184,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(43,104,184,.035) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,#000 0%,transparent 92%);
}
.kpx-entry-header>*{position:relative;z-index:1;}
.kpx-entry-header h1,.kpx-entry-header h2{color:#081426;}
.kpx-entry-content{color:#10243f;}
.kpx-entry-content p{color:#5d6f86;}
.kpx-card-grid{gap:18px;}
.kpx-blog-card{
  border-color:#cbd8e8!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 12px 28px rgba(39,78,118,.065)!important;
}
.kpx-blog-card:hover{border-color:#7aafe0!important;box-shadow:0 19px 40px rgba(39,78,118,.11)!important;}
.pagination .page-numbers{
  border:1px solid #cbd8e8;
  border-radius:10px;
  background:#fff;
  color:#5d6f86;
}
.pagination .page-numbers.current,.pagination .page-numbers:hover{
  background:#eef7ff;
  border-color:#7dd3fc;
  color:#2367f2;
}
@media(max-width:760px){
  .kpx-content-shell{padding-top:34px;padding-bottom:54px;}
  .kpx-entry-header{padding:26px 22px;border-radius:16px;}
}


/* Theme 0.6.0 — exact Home V10 primary-action parity */
:root{
  --kpx-blue:#2367f2;
  --kpx-blue-dark:#0b3fae;
  --kpx-text:#081426;
  --kpx-muted:#5d6f86;
  --kpx-border:#cbd8e8;
  --kpx-soft-blue:#eef7ff;
}
.kpx-button:not(.kpx-button-secondary),
.wp-block-button:not(.is-style-outline) .wp-block-button__link{
  min-height:56px!important;
  padding:0 24px!important;
  border:1px solid #0b3fae!important;
  border-radius:12px!important;
  background:#2367f2!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(25,72,120,.10)!important;
}
.kpx-button:not(.kpx-button-secondary):hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover{
  background:#1557d6!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(25,72,120,.16)!important;
}
html[dir="rtl"] .site-header .logo,
html[lang="ar"] .site-header .logo{direction:ltr!important;unicode-bidi:isolate!important;}
html[dir="rtl"] .site-header .logo span,
html[lang="ar"] .site-header .logo span{
  direction:ltr!important;unicode-bidi:isolate!important;
  font-family:"Space Grotesk",Inter,sans-serif!important;letter-spacing:-.02em!important;
}

/* Theme 0.6.1 — English Home V10 exact action parity. */
.kpx-button:not(.kpx-button-secondary),
.wp-block-button:not(.is-style-outline) .wp-block-button__link{
  min-height:58px!important;
  padding:0 28px!important;
  border:2px solid #0f55bc!important;
  border-radius:2px!important;
  background:#1769e8!important;
  color:#fff!important;
  box-shadow:0 9px 24px rgba(23,105,232,.18)!important;
  font-size:15px!important;
  font-weight:800!important;
}
.kpx-button:not(.kpx-button-secondary):hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover{
  background:#0d56c8!important;
  border-color:#0f55bc!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(23,105,232,.24)!important;
}
.kpx-button-secondary,
.wp-block-button.is-style-outline .wp-block-button__link{
  background:rgba(255,255,255,.90)!important;
  border:2px solid #8da5bf!important;
  border-radius:2px!important;
  color:#081426!important;
  box-shadow:0 5px 0 rgba(8,20,38,.13)!important;
}

/* Theme 0.6.2 — Home V10 section hierarchy + contrast guard. */
.kpx-inline-cta{
  background:linear-gradient(180deg,#fff 0%,#f5f9fd 100%)!important;
  color:#081426!important;
  border:1px solid #cbd8e8!important;
  border-radius:18px!important;
  box-shadow:0 12px 28px rgba(39,78,118,.065)!important;
}
.kpx-inline-cta h1,.kpx-inline-cta h2,.kpx-inline-cta h3,.kpx-inline-cta h4{color:#081426!important;}
.kpx-inline-cta p{color:#5d6f86!important;}
.kpx-cta-band{background:#fff!important;color:#081426!important;}
.kpx-cta-band .kpx-container{
  background:linear-gradient(135deg,#135ed5 0%,#1769e8 44%,#118fc9 100%)!important;
  color:#fff!important;
  border-radius:24px!important;
  box-shadow:0 24px 56px rgba(23,105,232,.20)!important;
}
.kpx-cta-band .kpx-container h1,.kpx-cta-band .kpx-container h2,.kpx-cta-band .kpx-container h3,.kpx-cta-band .kpx-container h4{color:#0f172a!important;}
.kpx-cta-band .kpx-container p{color:#e5f0ff!important;}
.kpx-cta-band .wp-block-button:not(.is-style-outline) .wp-block-button__link{
  background:#fff!important;background-image:none!important;color:#081426!important;border:2px solid #fff!important;border-radius:12px!important;box-shadow:0 5px 0 rgba(8,20,38,.13)!important;
}
.kpx-cta-band .wp-block-button.is-style-outline .wp-block-button__link{
  background:transparent!important;color:#fff!important;border:2px solid #fff!important;border-radius:12px!important;box-shadow:0 5px 0 rgba(8,20,38,.13)!important;
}
@media(max-width:760px){
  .kpx-inline-cta{padding:24px!important;}
  .kpx-cta-band .kpx-container{border-radius:20px!important;}
}

/* Theme 0.6.2.1 — intermediate CTA button parity. */
.kpx-inline-cta .kpx-button,
.kpx-inline-cta a.kpx-button[href*="calendly.com"]{
  background:#1769e8!important;
  background-image:none!important;
  color:#fff!important;
  border:2px solid #0f55bc!important;
  border-radius:2px!important;
  box-shadow:0 9px 24px rgba(23,105,232,.18)!important;
}
.kpx-inline-cta .kpx-button:hover,
.kpx-inline-cta a.kpx-button[href*="calendly.com"]:hover{
  background:#0d56c8!important;
  color:#fff!important;
}

/* =========================================================
   Theme 0.6.3 — COMPLETE NATIVE PAGE PARITY WITH ENGLISH HOME V10
   ========================================================= */

/* Native Blog learning panel: Home light editorial surface, never legacy navy. */
.kpx-blog-learning{
  background:linear-gradient(180deg,#f8fbff 0%,#eef7ff 100%)!important;
  color:#081426!important;
  border:1px solid #cbd8e8!important;
  border-radius:18px!important;
  box-shadow:0 12px 28px rgba(39,78,118,.065)!important;
}
.kpx-blog-learning h1,.kpx-blog-learning h2,.kpx-blog-learning h3,.kpx-blog-learning h4{
  color:#081426!important;
}
.kpx-blog-learning p{color:#5d6f86!important;opacity:1!important;}
.kpx-blog-learning .kpx-pill{
  background:#fff!important;
  color:#2367f2!important;
  border-color:#cbd8e8!important;
}
.kpx-blog-learning-list span{
  background:#fff!important;
  color:#334155!important;
  border:1px solid #cbd8e8!important;
  border-radius:12px!important;
  box-shadow:0 7px 18px rgba(39,78,118,.045)!important;
}

/* Native Blog cards and FAQ match the Home card radius/border/shadow language. */
.kpx-blog-support-card,
.kpx-faq,
.kpx-featured-guide,
.kpx-blog-card,
.kpx-article-toc{
  border-color:#cbd8e8!important;
  border-radius:18px!important;
  box-shadow:0 12px 28px rgba(39,78,118,.065)!important;
}
.kpx-blog-support-card:hover,
.kpx-featured-guide:hover,
.kpx-blog-card:hover{
  border-color:#78afe0!important;
  box-shadow:0 18px 36px rgba(39,78,118,.11)!important;
}

/* Remove the old native-Blog cyan Calendly override. All ordinary actions = Home hero blue. */
a.kpx-button[href*="calendly.com"],
.kpx-article-toc a.kpx-button[href*="calendly.com"]{
  min-height:58px!important;
  padding:0 28px!important;
  background:#1769e8!important;
  background-image:none!important;
  color:#fff!important;
  border:2px solid #0f55bc!important;
  border-radius:2px!important;
  box-shadow:0 9px 24px rgba(23,105,232,.18)!important;
  font-size:15px!important;
  font-weight:800!important;
}
a.kpx-button[href*="calendly.com"]:hover,
.kpx-article-toc a.kpx-button[href*="calendly.com"]:hover{
  background:#0d56c8!important;
  border-color:#0f55bc!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(23,105,232,.24)!important;
}

/* Native final CTA follows the same English Home final conversion section. */
.kpx-final-cta{
  background:#fff!important;
  color:#081426!important;
}
.kpx-final-cta .kpx-container{
  max-width:1080px!important;
  padding:clamp(2rem,5vw,3rem)!important;
  background:linear-gradient(135deg,#135ed5 0%,#1769e8 44%,#118fc9 100%)!important;
  color:#fff!important;
  border-radius:24px!important;
  box-shadow:0 24px 56px rgba(23,105,232,.20)!important;
}
.kpx-final-cta .kpx-container h1,
.kpx-final-cta .kpx-container h2,
.kpx-final-cta .kpx-container h3,
.kpx-final-cta .kpx-container h4{color:#0f172a!important;}
.kpx-final-cta .kpx-container p{color:#e5f0ff!important;}
.kpx-final-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.kpx-cta-band .wp-block-button:not(.is-style-outline) .wp-block-button__link{
  background:#fff!important;
  background-image:none!important;
  color:#081426!important;
  border:2px solid #fff!important;
  border-radius:12px!important;
  box-shadow:0 5px 0 rgba(8,20,38,.13)!important;
}
.kpx-final-cta .wp-block-button.is-style-outline .wp-block-button__link,
.kpx-cta-band .wp-block-button.is-style-outline .wp-block-button__link{
  background:transparent!important;
  color:#fff!important;
  border:2px solid #fff!important;
  border-radius:12px!important;
  box-shadow:0 5px 0 rgba(8,20,38,.13)!important;
}

/* Arabic native pages: same geometry, Arabic-native type and spacing. */
html[dir="rtl"] .kpx-blog-learning h2,
html[dir="rtl"] .kpx-blog-hero h1,
html[dir="rtl"] .kpx-blog-article-hero h1,
html[dir="rtl"] .kpx-entry-header h1{
  letter-spacing:0!important;
}
html[dir="rtl"] .kpx-blog-learning h2{line-height:1.25!important;}

/* =========================================================
   Theme 0.6.4 — native WordPress lock to English Home V10.
   ========================================================= */
.kpx-blog-hero .kpx-pill,
.kpx-blog-learning .kpx-pill{
  display:inline-flex!important;
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#2367f2!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:800!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
html[dir="rtl"] .kpx-blog-hero .kpx-pill,
html[dir="rtl"] .kpx-blog-learning .kpx-pill{letter-spacing:.02em!important;text-transform:none!important;}

.kpx-blog-hero .kpx-benefit-row p{
  padding:7px 10px!important;
  border:1px solid #c9d9e8!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.70)!important;
  color:#5c748d!important;
  font-size:10px!important;
  font-weight:750!important;
}

.kpx-blog-support-card,.kpx-faq,.kpx-featured-guide,.kpx-blog-card,.kpx-article-toc{
  border-color:#cbd8e8!important;
  border-radius:18px!important;
  box-shadow:0 12px 28px rgba(39,78,118,.065)!important;
}
.kpx-blog-feature-button,
a.kpx-button[href*="calendly.com"],
.kpx-article-toc a.kpx-button[href*="calendly.com"]{
  min-height:58px!important;
  padding:0 28px!important;
  background:#1769e8!important;
  background-image:none!important;
  color:#fff!important;
  border:2px solid #0f55bc!important;
  border-radius:2px!important;
  box-shadow:0 9px 24px rgba(23,105,232,.18)!important;
  font-size:15px!important;
  font-weight:800!important;
}
.kpx-inline-cta{
  background:linear-gradient(180deg,#fff 0%,#f5f9fd 100%)!important;
  color:#081426!important;
  border:1px solid #cbd8e8!important;
  border-radius:18px!important;
  box-shadow:0 12px 28px rgba(39,78,118,.065)!important;
}
.kpx-inline-cta h1,.kpx-inline-cta h2,.kpx-inline-cta h3,.kpx-inline-cta h4{color:#081426!important;}
.kpx-inline-cta p{color:#5d6f86!important;}

html[dir="rtl"] .kpx-blog-hero h1,
html[dir="rtl"] .kpx-blog-article-hero h1,
html[dir="rtl"] .kpx-blog-learning h2,
html[dir="rtl"] .kpx-article-body h2,
html[dir="rtl"] .kpx-article-body h3{letter-spacing:0!important;}

/* Theme 0.6.4.1 — article tables must scroll inside the article, never the viewport. */
@media(max-width:760px){
  .kpx-article-body{min-width:0!important;max-width:100%!important;overflow:visible!important;}
  .kpx-article-body table{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .kpx-article-body table thead,
  .kpx-article-body table tbody,
  .kpx-article-body table tr{max-width:none!important;}
}

/* Theme 0.6.4.2 — long archive labels never escape the mobile Home shell. */
.kpx-entry-header h1,.kpx-entry-header h1 span{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
