.page-id-843 .essential-page-header {
	display: none !important;
}

.page-id-843 .essential-page-wrap,
.page-id-843 .essential-page-content {
	width: 100% !important;
	max-width: none !important;
}

.page-id-843 .essential-page-content {
	padding-inline: clamp(12px, 3vw, 32px) !important;
	overflow: clip;
}

.finaf-exchange-hub {
	--fxh-ink: #102f39;
	--fxh-muted: #526b74;
	--fxh-page: #f6fbfa;
	--fxh-surface: #ffffff;
	--fxh-line: #c7dcda;
	--fxh-green: #087b69;
	--fxh-mint: #61dac8;
	width: min(1180px, 100%);
	margin: 24px auto 70px;
	color: var(--fxh-ink);
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	line-height: 1.9;
}

.finaf-exchange-hub * {
	box-sizing: border-box;
}

.fxh-hero {
	padding: clamp(44px, 7vw, 84px) clamp(22px, 6vw, 76px);
	border-radius: 26px;
	text-align: center;
	background: radial-gradient(circle at 13% 16%, rgba(97, 218, 200, 0.22), transparent 30%), linear-gradient(145deg, #071f2a, #0c3c44);
	color: #eefbf9;
}

.fxh-kicker {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: #0d5b53;
	color: #8af0dd !important;
	font-size: 0.84rem;
	font-weight: 800;
}

.page-id-843 .finaf-exchange-hub .fxh-hero h1 {
	max-width: 820px;
	margin: 18px auto 8px;
	color: #ffffff !important;
	font-size: clamp(2rem, 5vw, 3.65rem);
	line-height: 1.28;
	text-align: center !important;
}

.page-id-843 .finaf-exchange-hub .fxh-hero p {
	max-width: 720px;
	margin: 0 auto;
	color: #d4e7e6 !important;
	font-size: clamp(1rem, 2vw, 1.18rem);
	text-align: center !important;
}

.fxh-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 24px;
}

.fxh-primary,
.fxh-secondary {
	display: inline-flex;
	min-height: 46px;
	padding: 8px 22px;
	border-radius: 13px;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	font-weight: 800;
}

.page-id-843 .finaf-exchange-hub .fxh-primary {
	background: var(--fxh-mint) !important;
	color: #062d2a !important;
}

.page-id-843 .finaf-exchange-hub .fxh-primary:hover,
.page-id-843 .finaf-exchange-hub .fxh-primary:focus-visible {
	background: #45c9b6 !important;
	color: #041f1d !important;
}

.page-id-843 .finaf-exchange-hub .fxh-secondary {
	border: 1px solid #68858a;
	color: #f5ffff !important;
}

.page-id-843 .finaf-exchange-hub .fxh-secondary:hover,
.page-id-843 .finaf-exchange-hub .fxh-secondary:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff !important;
}

.fxh-section {
	margin-top: 34px;
}

.fxh-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.fxh-section-head span,
.fxh-converter-form > span,
.fxh-submit span {
	color: var(--fxh-green) !important;
	font-size: 0.82rem;
	font-weight: 800;
}

.page-id-843 .finaf-exchange-hub .fxh-section-head h2,
.page-id-843 .finaf-exchange-hub .fxh-converter h2,
.page-id-843 .finaf-exchange-hub .fxh-submit h2 {
	margin: 2px 0 0;
	color: var(--fxh-ink) !important;
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1.5;
}

.fxh-section-head > a,
.fxh-source a {
	color: var(--fxh-green) !important;
	font-weight: 800;
}

.fxh-updated,
.fxh-source,
.fxh-converter p,
.fxh-converter small {
	color: var(--fxh-muted) !important;
	font-size: 0.88rem;
}

.fxh-rate-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.fxh-rate-card {
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--fxh-line);
	border-radius: 18px;
	background: var(--fxh-surface);
	text-align: right;
}

.fxh-rate-head {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

.fxh-rate-head strong {
	color: var(--fxh-ink) !important;
	font-size: 1.05rem;
}

.fxh-rate-head span {
	color: var(--fxh-muted) !important;
	font-size: 0.9rem;
}

.fxh-rate-unit {
	margin-top: 12px;
	color: var(--fxh-muted) !important;
	font-size: 0.95rem;
	text-align: center;
}

.fxh-rate-pairs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 12px;
}

.fxh-rate-pairs span {
	padding: 10px 6px;
	border: 1px solid var(--fxh-line);
	border-radius: 10px;
	color: var(--fxh-muted) !important;
	font-size: 0.95rem;
	text-align: center;
}

.fxh-rate-pairs b {
	display: block;
	color: var(--fxh-ink) !important;
	font-size: clamp(1.05rem, 1.5vw, 1.35rem);
	white-space: nowrap;
}

.fxh-unavailable {
	padding: 22px;
	border: 1px solid #d6b758;
	border-radius: 16px;
	background: #fff8df;
	color: #4e3d0b;
}

.fxh-converter {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 26px;
	margin-top: 34px;
	padding: clamp(22px, 4vw, 36px);
	border: 1px solid #add5cc;
	border-radius: 22px;
	background: #e5f5f1;
}

.fxh-fields {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
	align-items: end;
}

.fxh-fields label {
	display: grid;
	gap: 5px;
	color: #365961 !important;
	font-size: 0.82rem;
	font-weight: 800;
}

.fxh-fields input,
.fxh-fields select {
	width: 100%;
	min-width: 0;
	min-height: 50px;
	padding: 0 13px;
	border: 1px solid #9ec5c0;
	border-radius: 12px;
	background: #ffffff;
	color: #15353d !important;
	font: inherit;
	font-size: 1rem;
	text-align: right;
}

.fxh-fields select:disabled {
	opacity: 1;
}

.fxh-result {
	display: grid;
	min-width: 0;
	padding-right: 26px;
	border-right: 1px solid #a8cdc7;
	place-content: center;
	text-align: center;
}

.fxh-result span,
.fxh-result small {
	color: var(--fxh-muted) !important;
}

.fxh-result strong {
	display: block;
	color: var(--fxh-ink) !important;
	font-size: clamp(1.7rem, 4vw, 2.7rem);
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.fxh-guide-grid,
.fxh-article-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 11px;
}

.fxh-guide-grid article {
	min-width: 0;
	min-height: 165px;
	padding: 19px;
	border: 1px solid var(--fxh-line);
	border-radius: 17px;
	background: var(--fxh-surface);
}

.fxh-guide-grid article > b {
	display: grid;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--fxh-green);
	color: #ffffff !important;
	place-items: center;
}

.fxh-guide-grid strong {
	display: block;
	margin-top: 12px;
	color: var(--fxh-ink) !important;
}

.fxh-guide-grid p {
	margin: 5px 0 0;
	color: var(--fxh-muted) !important;
	font-size: 0.9rem;
}

.fxh-article-card {
	display: flex;
	min-width: 0;
	min-height: 145px;
	padding: 18px;
	border-radius: 17px;
	background: #103d46;
	color: #eefafa !important;
	flex-direction: column;
	justify-content: space-between;
	text-decoration: none !important;
}

.fxh-article-card small {
	color: #91e8d7 !important;
}

.fxh-article-card strong {
	color: #ffffff !important;
}

.fxh-article-card span {
	color: #eefafa !important;
	font-size: 0.82rem;
}

.fxh-submit {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	margin-top: 34px;
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid #add5cc;
	border-radius: 22px;
	background: #e5f5f1;
	align-items: center;
}

.fxh-submit p {
	max-width: 780px;
	margin: 5px 0 0;
	color: var(--fxh-muted) !important;
}

html[data-finaf-theme="dark"] .finaf-exchange-hub {
	--fxh-ink: #edf7f9;
	--fxh-muted: #bed0d6;
	--fxh-page: #071820;
	--fxh-surface: #102b35;
	--fxh-line: #385660;
	--fxh-green: #70e2cd;
	--fxh-mint: #63d8c3;
}

html[data-finaf-theme="dark"] .fxh-rate-card,
html[data-finaf-theme="dark"] .fxh-guide-grid article {
	background: var(--fxh-surface);
}

html[data-finaf-theme="dark"] .fxh-converter,
html[data-finaf-theme="dark"] .fxh-submit {
	border-color: #39606a;
	background: #0d3039;
}

html[data-finaf-theme="dark"] .fxh-fields label {
	color: #d1e1e4 !important;
}

html[data-finaf-theme="dark"] .fxh-fields input,
html[data-finaf-theme="dark"] .fxh-fields select {
	border-color: #4b7375;
	background: #092b32;
	color: #f2fbfc !important;
}

html[data-finaf-theme="dark"] .fxh-fields option {
	background: #092b32;
	color: #f2fbfc;
}

html[data-finaf-theme="dark"] .fxh-unavailable {
	border-color: #8f7230;
	background: #2b2415;
	color: #f6dc9b;
}

@media (max-width: 900px) {
	.fxh-rate-grid,
	.fxh-guide-grid,
	.fxh-article-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 700px) {
	.page-id-843 .essential-page-content {
		padding-inline: 12px !important;
	}

	.finaf-exchange-hub {
		width: 100%;
		margin: 12px auto 48px;
	}

	.fxh-hero {
		padding: 40px 18px;
		border-radius: 20px;
	}

	.page-id-843 .finaf-exchange-hub .fxh-hero h1 {
		font-size: clamp(1.8rem, 7.5vw, 2.25rem);
		line-height: 1.38;
	}

	.fxh-actions {
		align-items: center;
		flex-direction: column;
	}

	.fxh-actions .fxh-primary,
	.fxh-actions .fxh-secondary {
		width: min(100%, 320px);
	}

	.fxh-section {
		margin-top: 28px;
	}

	.fxh-section-head {
		width: 100%;
		align-items: center;
		flex-direction: column;
		gap: 4px;
		text-align: center;
	}

	.fxh-updated,
	.fxh-source {
		width: 100%;
		text-align: center;
	}

	.fxh-rate-grid,
	.fxh-guide-grid,
	.fxh-article-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		overflow: visible;
	}

	.fxh-rate-card,
	.fxh-article-card {
		width: 100%;
		min-width: 0;
	}

	.fxh-converter {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding: 22px 16px;
		text-align: center;
	}

	.fxh-fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.fxh-fields label {
		text-align: right;
	}

	.fxh-result {
		padding: 22px 0 0;
		border-top: 1px solid var(--fxh-line);
		border-right: 0;
	}

	.fxh-submit {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding: 24px 18px;
		text-align: center;
	}

	.fxh-submit p {
		margin-inline: auto;
	}

	.fxh-submit .fxh-primary {
		width: 100%;
	}
}

@media (max-width: 420px) {
	.page-id-843 .essential-page-content {
		padding-inline: 10px !important;
	}

	.fxh-hero {
		padding: 34px 14px;
	}

	.page-id-843 .finaf-exchange-hub .fxh-hero h1 {
		font-size: 1.8rem;
	}

	.fxh-rate-card,
	.fxh-guide-grid article {
		padding: 17px;
	}

	.fxh-rate-value {
		font-size: 1.6rem;
	}
}
