.badaael-parent-brand {
	--badaael-parent-border: rgba(17, 24, 39, 0.12);
	--badaael-parent-card: #ffffff;
	--badaael-parent-text: #4b5563;
	--badaael-parent-ink: #0d1b2a;
	--badaael-parent-link: #00766f;
	--badaael-parent-logo-size: 44px;
	display: grid;
	gap: 10px;
	justify-items: start;
	align-content: start;
	max-width: 430px;
	padding-top: 14px;
	border-top: 1px solid var(--badaael-parent-border);
	text-align: start;
}

/* SARKOSA TYPOGRAPHY CONSISTENCY AUDIT FIX */
body.sarkosa-theme .stp-tool-pages a,
body.sarkosa-theme .stp-tool-pages span,
body.sarkosa-theme .sarkosa-pagination a,
body.sarkosa-theme .sarkosa-pagination span,
body.sarkosa-theme .page-numbers,
body.sarkosa-theme .nav-links .page-numbers {
	font-family: var(--sx-font-en-number, var(--sx-font-latin-number, "Inter", system-ui, sans-serif)) !important;
	font-variant-numeric: tabular-nums lining-nums !important;
}
/* END SARKOSA TYPOGRAPHY CONSISTENCY AUDIT FIX */

.badaael-parent-brand--dark {
	--badaael-parent-border: rgba(255, 255, 255, 0.14);
	--badaael-parent-card: rgba(255, 255, 255, 0.92);
	--badaael-parent-text: #d7e1dc;
	--badaael-parent-ink: #0d1b2a;
	--badaael-parent-link: #f5c48c;
}

.badaael-parent-brand__lockup {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	max-width: 100%;
	padding: 6px 12px;
	border: 1px solid var(--badaael-parent-border);
	border-radius: 8px;
	background: var(--badaael-parent-card);
	color: var(--badaael-parent-ink);
	line-height: 1;
	text-decoration: none;
}

.badaael-parent-brand__logo {
	display: block;
	width: var(--badaael-parent-logo-size);
	height: var(--badaael-parent-logo-size);
	flex: 0 0 var(--badaael-parent-logo-size);
	object-fit: contain;
}

.badaael-parent-brand__name {
	color: var(--badaael-parent-ink);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.35;
	white-space: nowrap;
}

.badaael-parent-brand__relation {
	margin: 0;
	color: var(--badaael-parent-text);
	font-size: 0.98rem;
	line-height: 1.75;
}

.badaael-parent-brand__cta {
	width: fit-content;
	color: var(--badaael-parent-link);
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
}

.badaael-parent-brand__cta:hover,
.badaael-parent-brand__lockup:hover .badaael-parent-brand__name {
	text-decoration: underline;
}

@media (max-width: 640px) {
	.badaael-parent-brand {
		max-width: 100%;
	}
}

/* SARKOSA TYPOGRAPHY STANDARDIZATION */
:root {
	--sx-font-arabic: "Cairo", system-ui, sans-serif;
	--sx-font-latin-number: "Inter", system-ui, sans-serif;
	--sx-type-display: clamp(2.25rem, 4vw, 3.5rem);
	--sx-type-h1: clamp(2rem, 3vw, 2.75rem);
	--sx-type-h1-mobile: clamp(1.75rem, 7vw, 2.125rem);
	--sx-type-h2: clamp(1.5rem, 2.2vw, 2rem);
	--sx-type-h3: clamp(1.15rem, 1.5vw, 1.4rem);
	--sx-type-block-title: clamp(1.0625rem, 1.1vw, 1.25rem);
	--sx-type-body-large: 1.125rem;
	--sx-type-body: clamp(1rem, 0.35vw + 0.95rem, 1.0625rem);
	--sx-type-supporting: clamp(0.875rem, 0.2vw + 0.84rem, 0.9375rem);
	--sx-type-label: clamp(0.875rem, 0.25vw + 0.84rem, 1rem);
	--sx-type-input: clamp(1rem, 0.35vw + 0.94rem, 1.125rem);
	--sx-type-button: clamp(0.9375rem, 0.2vw + 0.9rem, 1rem);
	--sx-type-breadcrumb: clamp(0.8125rem, 0.16vw + 0.78rem, 0.875rem);
	--sx-type-footer: clamp(0.875rem, 0.18vw + 0.84rem, 0.9375rem);
	--sx-type-result: clamp(2.75rem, 6vw, 5rem);
	--sx-type-result-secondary: clamp(1.5rem, 3vw, 2.25rem);
	--sx-type-result-unit: clamp(1rem, 0.75vw + 0.92rem, 1.25rem);
}

html,
body.sarkosa-theme {
	font-family: var(--sx-font-arabic) !important;
	font-size: 16px;
	letter-spacing: 0 !important;
	line-height: 1.75;
	text-rendering: optimizeLegibility;
}

body.sarkosa-theme,
body.sarkosa-theme :where(p, li, dd, dt, blockquote, figcaption, summary, label, span, small, a, button, input, select, textarea) {
	font-family: var(--sx-font-arabic) !important;
	letter-spacing: 0 !important;
	word-break: normal;
	overflow-wrap: break-word;
}

body.sarkosa-theme :where(p, li, dd, dt, blockquote, .article-content, .sarkosa-content__body, .stp-content, .stp-content-block) {
	font-size: var(--sx-type-body) !important;
	font-weight: 400 !important;
	line-height: 1.78 !important;
}

body.sarkosa-theme :where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--sx-font-arabic) !important;
	letter-spacing: 0 !important;
	text-wrap: balance;
	word-break: normal;
	overflow-wrap: normal;
}

body.sarkosa-theme :where(
	.sarkosa-content__header h1,
	.sarkosa-empty--large h1,
	.stp-tool__header h1,
	.stp-index__header h1,
	.stp-tool h1,
	.stp-index h1,
	.sarkosa-page h1,
	.article-content h1
) {
	font-size: var(--sx-type-h1) !important;
	font-weight: 700 !important;
	line-height: 1.24 !important;
	max-width: 18ch !important;
}

body.sarkosa-theme.home :where(.sarkosa-home-title-block h1, .sarkosa-hero h1, .sarkosa-hero__copy h1, .sarkosa-premium-hero h1) {
	font-size: clamp(1.7rem, 2.55vw, 2.45rem) !important;
	font-weight: 700 !important;
	line-height: 1.14 !important;
	max-width: none !important;
	white-space: nowrap !important;
}

body.sarkosa-theme :where(
	.sarkosa-section__head h2,
	.sarkosa-value h2,
	.stp-content h2,
	.stp-content-block h2,
	.article-content h2,
	.sarkosa-content__body h2,
	.sarkosa-search-results h2,
	.stp-result h2,
	.stp-panel h2,
	.stp-index h2,
	.stp-index__section h2,
	.stp-home__section h2,
	.stp-hub-section h2
) {
	font-size: var(--sx-type-h2) !important;
	font-weight: 700 !important;
	line-height: 1.28 !important;
	margin-block: 0 0.78rem !important;
}

body.sarkosa-theme :where(.article-content h3, .sarkosa-content__body h3, .stp-content h3, .stp-panel h3) {
	font-size: var(--sx-type-h3) !important;
	font-weight: 600 !important;
	line-height: 1.32 !important;
	margin-block: 1.1rem 0.55rem !important;
}

body.sarkosa-theme :where(
	.sarkosa-card h2,
	.sarkosa-card h3,
	.stp-tool-card h2,
	.stp-tool-card h3,
	.stp-hub-card h3,
	.stp-guide-tool-card h3,
	.stp-side h2,
	.sarkosa-footer h2,
	.sarkosa-footer h3,
	.badaael-parent-brand__name
) {
	font-size: var(--sx-type-block-title) !important;
	font-weight: 600 !important;
	line-height: 1.38 !important;
	margin-block: 0 0.45rem !important;
	max-width: 22ch;
}

body.sarkosa-theme :where(.sarkosa-content__header p, .stp-tool__header .stp-lead, .sarkosa-section__head p, .sarkosa-hero p) {
	font-size: var(--sx-type-body-large) !important;
	font-weight: 400 !important;
	line-height: 1.78 !important;
	max-width: 60ch !important;
}

body.sarkosa-theme :where(
	.sarkosa-card p,
	.stp-tool-card p,
	.stp-hub-card p,
	.stp-result-card__description,
	.stp-help,
	.stp-field small,
	.sarkosa-home-search-result small,
	.badaael-parent-brand__relation
) {
	font-size: var(--sx-type-supporting) !important;
	font-weight: 400 !important;
	line-height: 1.65 !important;
}

body.sarkosa-theme :where(.sarkosa-card p, .stp-tool-card p, .stp-hub-card p) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

body.sarkosa-theme :where(.stp-field > span, .stp-field label, .stp-field legend, .stp-result-card__label, .search-field-label) {
	font-size: var(--sx-type-label) !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
}

body.sarkosa-theme :where(input, select, textarea, .stp-number-control input[type="number"]) {
	font-size: var(--sx-type-input) !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
}

body.sarkosa-theme :where(button, .button, .sarkosa-button, .stp-actions button, .stp-link, .sarkosa-nav a, .sarkosa-home-search__button, .sarkosa-home-search-result) {
	font-size: var(--sx-type-button) !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
}

body.sarkosa-theme :where(.sarkosa-breadcrumb, .stp-breadcrumb, .stp-topic-path, .stp-topic-path a, .sarkosa-eyebrow, .stp-eyebrow) {
	font-size: var(--sx-type-breadcrumb) !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
}

body.sarkosa-theme .sarkosa-footer,
body.sarkosa-theme .sarkosa-footer :where(p, a, li, small, span),
body.sarkosa-theme .badaael-parent-brand__cta {
	font-size: var(--sx-type-footer) !important;
	font-weight: 400 !important;
	line-height: 1.7 !important;
}

body.sarkosa-theme :where(
	.stp-result-card__value,
	.stp-result-card__alt-value,
	.stp-result__summary strong,
	.stp-result__items strong,
	.stp-result__items b,
	.stp-result__table td,
	.stp-result__table th,
	.sarkosa-result-sample strong,
	.sarkosa-feature-card__result,
	.stp-number-control input[type="number"],
	input[type="number"]
) {
	font-family: var(--sx-font-latin-number) !important;
	font-variant-numeric: tabular-nums lining-nums !important;
	letter-spacing: 0 !important;
}

body.sarkosa-theme :where(.stp-result-card__value, .stp-result-card__alt-value, .stp-result__summary strong, .sarkosa-result-sample strong) {
	direction: ltr;
	font-weight: 800 !important;
	line-height: 1.02 !important;
	unicode-bidi: isolate;
}

body.sarkosa-theme .stp-result-card__value-line {
	align-items: baseline !important;
	direction: ltr;
	display: inline-flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 0.45rem !important;
	max-width: 100%;
	white-space: nowrap !important;
	unicode-bidi: isolate;
}

body.sarkosa-theme :where(.stp-result-card__value-line--primary .stp-result-card__value, .stp-result-card--primary .stp-result-card__value, .stp-result__summary > strong) {
	font-size: var(--sx-type-result) !important;
}

body.sarkosa-theme :where(.stp-result-card--secondary .stp-result-card__value, .stp-result-card__alt-value, .stp-result__items strong, .stp-result__items b) {
	font-size: var(--sx-type-result-secondary) !important;
	font-weight: 700 !important;
}

body.sarkosa-theme .stp-result-card__unit {
	direction: rtl;
	font-family: var(--sx-font-arabic) !important;
	font-size: var(--sx-type-result-unit) !important;
	font-style: normal !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
	unicode-bidi: isolate;
}

body.sarkosa-theme :where(.stp-result__table th, .stp-result__table td) {
	font-size: var(--sx-type-supporting) !important;
	font-weight: 500 !important;
	line-height: 1.6 !important;
}

@media (max-width: 780px) {
	body.sarkosa-theme :where(
		.sarkosa-content__header h1,
		.sarkosa-empty--large h1,
		.stp-tool__header h1,
		.stp-index__header h1,
		.stp-tool h1,
		.stp-index h1,
		.sarkosa-page h1,
		.article-content h1
	) {
		font-size: var(--sx-type-h1-mobile) !important;
		line-height: 1.26 !important;
		max-width: 16ch !important;
	}

	body.sarkosa-theme.home :where(.sarkosa-home-title-block h1, .sarkosa-hero h1, .sarkosa-hero__copy h1, .sarkosa-premium-hero h1) {
		font-size: clamp(1.42rem, 6.2vw, 1.9rem) !important;
		line-height: 1.16 !important;
		max-width: none !important;
		white-space: nowrap !important;
	}

	body.sarkosa-theme :where(.sarkosa-card h2, .sarkosa-card h3, .stp-tool-card h2, .stp-tool-card h3, .stp-hub-card h3, .stp-guide-tool-card h3) {
		max-width: 100%;
	}
}

/* SARKOSA TYPOGRAPHY CASCADE LOCK */
body.sarkosa-theme.home .sarkosa-home-title-block h1,
body.sarkosa-theme.home .sarkosa-hero h1,
body.sarkosa-theme.home .sarkosa-hero__copy h1,
body.sarkosa-theme.home .sarkosa-premium-hero h1 {
	font-size: clamp(1.7rem, 2.55vw, 2.45rem) !important;
	font-weight: 700 !important;
	line-height: 1.14 !important;
	max-width: none !important;
	white-space: nowrap !important;
}

body.sarkosa-theme:not(.home) .sarkosa-content__header h1,
body.sarkosa-theme.search .sarkosa-content__header h1,
body.sarkosa-theme.error404 .sarkosa-empty--large h1,
body.sarkosa-theme .stp-tool__header h1,
body.sarkosa-theme .stp-index__header h1,
body.sarkosa-theme .stp-tool h1,
body.sarkosa-theme .stp-index h1,
body.sarkosa-theme .sarkosa-page h1,
body.sarkosa-theme .article-content h1 {
	font-size: var(--sx-type-h1) !important;
	font-weight: 700 !important;
	line-height: 1.24 !important;
	max-width: 18ch !important;
}

body.sarkosa-theme .sarkosa-card h2,
body.sarkosa-theme .sarkosa-card h3,
body.sarkosa-theme .stp-tool-card h2,
body.sarkosa-theme .stp-tool-card h3,
body.sarkosa-theme .stp-hub-card h3,
body.sarkosa-theme .stp-guide-tool-card h3,
body.sarkosa-theme .stp-side h2,
body.sarkosa-theme .sarkosa-footer h2,
body.sarkosa-theme .sarkosa-footer h3 {
	font-size: var(--sx-type-block-title) !important;
	font-weight: 600 !important;
	line-height: 1.38 !important;
}

body.sarkosa-theme .stp-tool--design-system .stp-field > span,
body.sarkosa-theme .stp-tool--design-system .stp-field label,
body.sarkosa-theme .stp-tool--design-system .stp-field legend,
body.sarkosa-theme .stp-field > span,
body.sarkosa-theme .stp-field label,
body.sarkosa-theme .stp-field legend,
body.sarkosa-theme .stp-result-card__label {
	font-size: var(--sx-type-label) !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
}

body.sarkosa-theme .stp-tool--design-system .stp-result h2,
body.sarkosa-theme .stp-result h2,
body.sarkosa-theme .stp-panel h2,
body.sarkosa-theme .stp-content-block h2,
body.sarkosa-theme .stp-index h2,
body.sarkosa-theme .stp-index__section h2,
body.sarkosa-theme .stp-home__section h2,
body.sarkosa-theme .stp-hub-section h2,
body.sarkosa-theme .sarkosa-section__head h2,
body.sarkosa-theme .sarkosa-value h2,
body.sarkosa-theme .sarkosa-content__body h2,
body.sarkosa-theme .sarkosa-search-results h2,
body.sarkosa-theme .article-content h2 {
	font-size: var(--sx-type-h2) !important;
	font-weight: 700 !important;
	line-height: 1.28 !important;
}

body.sarkosa-theme .stp-tool--design-system .stp-result-card__value,
body.sarkosa-theme .stp-tool--design-system .stp-result-card__alt-value,
body.sarkosa-theme .stp-result-card__value,
body.sarkosa-theme .stp-result-card__alt-value,
body.sarkosa-theme .stp-result__summary strong {
	display: inline-block !important;
	font-family: var(--sx-font-latin-number) !important;
	font-variant-numeric: tabular-nums lining-nums !important;
	font-weight: 800 !important;
	line-height: 1.02 !important;
}

body.sarkosa-theme .stp-tool--design-system .stp-result-card__value-line--primary .stp-result-card__value,
body.sarkosa-theme .stp-result-card__value-line--primary .stp-result-card__value,
body.sarkosa-theme .stp-result-card--primary .stp-result-card__value,
body.sarkosa-theme .stp-result__summary > strong {
	font-size: var(--sx-type-result) !important;
}

body.sarkosa-theme .stp-tool--design-system .stp-result-card__unit,
body.sarkosa-theme .stp-result-card__unit {
	display: inline-block !important;
	font-family: var(--sx-font-arabic) !important;
	font-size: var(--sx-type-result-unit) !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
}

body.sarkosa-theme .stp-tool--design-system .stp-result-card .stp-result-card__value-line,
body.sarkosa-theme .stp-result-card .stp-result-card__value-line,
body.sarkosa-theme .stp-result-card--secondary .stp-result-card__value-line {
	align-items: baseline !important;
	display: inline-flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 0.45rem !important;
	justify-content: flex-end !important;
	white-space: nowrap !important;
	width: auto !important;
}

@media (max-width: 780px) {
	body.sarkosa-theme:not(.home) .sarkosa-content__header h1,
	body.sarkosa-theme.search .sarkosa-content__header h1,
	body.sarkosa-theme.error404 .sarkosa-empty--large h1,
	body.sarkosa-theme .stp-tool__header h1,
	body.sarkosa-theme .stp-index__header h1,
	body.sarkosa-theme .stp-tool h1,
	body.sarkosa-theme .stp-index h1,
	body.sarkosa-theme .sarkosa-page h1,
	body.sarkosa-theme .article-content h1 {
		font-size: var(--sx-type-h1-mobile) !important;
		line-height: 1.26 !important;
		max-width: 16ch !important;
	}

	body.sarkosa-theme.home .sarkosa-home-title-block h1,
	body.sarkosa-theme.home .sarkosa-hero h1,
	body.sarkosa-theme.home .sarkosa-hero__copy h1,
	body.sarkosa-theme.home .sarkosa-premium-hero h1 {
		font-size: clamp(1.42rem, 6.2vw, 1.9rem) !important;
		line-height: 1.16 !important;
		max-width: none !important;
		white-space: nowrap !important;
	}
}

/* SARKOSA RESULT UNIT TYPOGRAPHY LOCK */
body.sarkosa-theme .stp-result-card__unit.stp-result-card__unit--latin,
body.sarkosa-theme .stp-tool--design-system .stp-result-card__unit.stp-result-card__unit--latin {
	font-family: var(--sx-font-en-number, var(--sx-font-latin-number, "Inter", system-ui, sans-serif)) !important;
	font-variant-numeric: tabular-nums lining-nums !important;
}
/* END SARKOSA RESULT UNIT TYPOGRAPHY LOCK */
