/*
Theme Name: Finaf UI Child
Theme URI: https://finafghan.com/
Description: لایه کم‌ریسک UI/UX فیناف بر پایه قالب AFG Finance.
Author: Finaf
Template: afg-finance
Version: 1.10.53
Text Domain: finaf-ui-child
*/

/* Keep fee amounts, periods and source states in aligned columns. On narrow
   screens the existing table wrapper scrolls instead of stacking cells. */
body.single-afg_product .afg-product-table-wrap:has(.afg-fee-table) {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.single-afg_product .afg-product-detail-main #fees {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
}

body.single-afg_product .afg-fee-table {
	width: 100%;
	min-width: 680px;
	table-layout: fixed;
	border-collapse: collapse;
}

body.single-afg_product .afg-fee-table :where(th, td) {
	box-sizing: border-box;
	vertical-align: middle;
	padding: 12px 10px;
	text-align: right;
	overflow-wrap: anywhere;
}

body.single-afg_product .afg-fee-table :where(th, td):nth-child(1) { width: 26%; }
body.single-afg_product .afg-fee-table :where(th, td):nth-child(2) { width: 14%; white-space: nowrap; }
body.single-afg_product .afg-fee-table :where(th, td):nth-child(3) { width: 11%; }
body.single-afg_product .afg-fee-table :where(th, td):nth-child(4) { width: 18%; white-space: nowrap; }
body.single-afg_product .afg-fee-table :where(th, td):nth-child(5) { width: 31%; }

body.single-afg_product .afg-fee-table .finaf-fee-percent strong,
body.single-afg_product .afg-fee-table .finaf-fee-percent small {
	display: block;
}
body.single-afg_product .afg-fee-table .finaf-fee-percent small {
	font-size: clamp(13px, 0.95em, 15px);
	font-weight: 400;
	line-height: 1.6;
	white-space: normal;
}

/* Public journey and data-display contract — v1.10.41. */
.single-afg_product .finaf-ui-product-description,
.finaf-ui-record-description {
	border-color: color-mix(in srgb, var(--fui-brand) 18%, var(--fui-line));
}

.single-afg_product .finaf-ui-product-description .afg-product-richtext,
.finaf-ui-record-description .afg-product-richtext {
	font-size: clamp(16px, 1.2vw, 18px);
	line-height: 1.95;
}

.single-afg_product .finaf-ui-product-description .afg-product-richtext > :first-child,
.finaf-ui-record-description .afg-product-richtext > :first-child {
	margin-top: 0;
}

.single-afg_product .finaf-ui-product-description .afg-product-richtext > :last-child,
.finaf-ui-record-description .afg-product-richtext > :last-child {
	margin-bottom: 0;
}

.single-afg_product .finaf-ui-product-description img,
.finaf-ui-record-description img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 20px auto;
	border-radius: 16px;
}

@font-face {
	font-family: "Vazirmatn";
	src: url("assets/fonts/Vazirmatn-Variable.woff2") format("woff2");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

/* Product journey: one clear, source-aware final step — v1.10.29. */
.single-afg_product .finaf-ui-decision-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px 32px;
	align-items: center;
	box-sizing: border-box;
	width: min(1120px, calc(100% - 32px));
	margin: 32px auto 48px;
	padding: clamp(22px, 4vw, 36px);
	border: 1px solid color-mix(in srgb, var(--fui-brand) 24%, var(--fui-line));
	border-radius: 24px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--fui-brand) 10%, var(--fui-surface)) 0%, var(--fui-surface) 70%);
	color: var(--fui-ink);
}

/* Standard product classification — v1.10.36. */
.single-afg_product .finaf-ui-product-classification {
	box-sizing: border-box;
	width: min(1120px, calc(100% - 32px));
	margin: 32px auto;
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid color-mix(in srgb, var(--fui-brand) 22%, var(--fui-line));
	border-radius: 24px;
	background: color-mix(in srgb, var(--fui-brand) 6%, var(--fui-surface));
	color: var(--fui-ink);
}

.finaf-ui-product-classification__heading {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.finaf-ui-product-classification__heading > span {
	color: var(--fui-brand);
	font-size: 24px;
	line-height: 1.4;
}

.finaf-ui-product-classification__heading p {
	margin: 0 0 4px;
	color: var(--fui-brand);
	font-size: 14px !important;
	font-weight: 800;
}

.finaf-ui-product-classification__heading h2 {
	margin: 0;
	font-size: clamp(22px, 3vw, 30px) !important;
}

.finaf-ui-product-classification dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.finaf-ui-product-classification__item {
	padding: 16px 18px;
	border: 1px solid var(--fui-line);
	border-radius: 16px;
	background: var(--fui-surface);
}

.finaf-ui-product-classification__item dt {
	margin-bottom: 6px;
	color: var(--fui-muted);
	font-size: 14px;
	font-weight: 700;
}

.finaf-ui-product-classification__item dd {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.8;
}

@media (max-width: 700px) {
	.finaf-ui-product-classification dl {
		grid-template-columns: 1fr;
	}
}

.finaf-ui-decision-copy h2 {
	margin: 6px 0 8px;
	font-size: clamp(22px, 3vw, 32px);
	line-height: 1.45;
}

.finaf-ui-decision-copy p,
.finaf-ui-decision-disclosure {
	margin: 0;
	color: var(--fui-muted);
	line-height: 1.9;
}

.single-afg_product .finaf-ui-decision-cta--recovery {
	border-style: dashed;
	background: linear-gradient(135deg, color-mix(in srgb, var(--fui-brand) 7%, var(--fui-surface)) 0%, var(--fui-surface) 78%);
}

.finaf-ui-decision-kicker {
	color: var(--fui-brand);
	font-size: 13px;
	font-weight: 800;
}

.finaf-ui-decision-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.single-afg_product .finaf-ui-decision-primary,
.single-afg_product .finaf-ui-decision-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border-radius: 12px;
	font-weight: 750;
	text-decoration: none;
}

.single-afg_product .finaf-ui-decision-primary,
.single-afg_product .finaf-ui-decision-primary:visited {
	border: 1px solid var(--fui-brand);
	background: var(--fui-brand);
	color: #fff;
}

.single-afg_product .finaf-ui-decision-primary:hover,
.single-afg_product .finaf-ui-decision-primary:focus-visible {
	filter: brightness(.92);
	color: #fff;
}

.single-afg_product .finaf-ui-decision-secondary {
	border: 1px solid var(--fui-line);
	background: var(--fui-surface);
	color: var(--fui-ink);
}

.finaf-ui-decision-disclosure {
	grid-column: 1 / -1;
	padding-top: 14px;
	border-top: 1px solid var(--fui-line);
	font-size: 13px;
}

html[data-finaf-theme="dark"] .single-afg_product .finaf-ui-decision-cta {
	background: linear-gradient(135deg, color-mix(in srgb, var(--fui-brand) 13%, #0d252e) 0%, #0d252e 72%);
}

html[data-finaf-theme="dark"] .single-afg_product .finaf-ui-decision-cta--recovery {
	background: linear-gradient(135deg, color-mix(in srgb, var(--fui-brand) 9%, #0d252e) 0%, #0d252e 78%);
}

html[data-finaf-theme="dark"] .single-afg_product .finaf-ui-decision-primary,
html[data-finaf-theme="dark"] .single-afg_product .finaf-ui-decision-primary:visited,
html[data-finaf-theme="dark"] .single-afg_product .finaf-ui-decision-primary:hover,
html[data-finaf-theme="dark"] .single-afg_product .finaf-ui-decision-primary:focus-visible {
	color: #062c28;
}

@media (max-width: 760px) {
	.single-afg_product .finaf-ui-decision-cta {
		grid-template-columns: minmax(0, 1fr);
		width: min(100% - 24px, 680px);
		margin-block: 24px 36px;
		border-radius: 20px;
	}

	.finaf-ui-decision-actions {
		justify-content: stretch;
	}

	.single-afg_product .finaf-ui-decision-primary,
	.single-afg_product .finaf-ui-decision-secondary {
		width: 100%;
	}
}

/* Finaf colour theme: system-aware, user-controlled, and shared site-wide. */
.finaf-theme-toggle {
	position: relative;
	display: inline-flex;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius-sm);
	background: var(--fui-surface);
	color: var(--fui-ink);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.finaf-theme-toggle:hover,
.finaf-theme-toggle:focus-visible {
	border-color: var(--fui-green);
	color: var(--fui-green);
	transform: translateY(-1px);
}

.finaf-theme-toggle:focus-visible {
	outline: 3px solid rgba(8,119,101,.28);
	outline-offset: 2px;
}

.finaf-theme-toggle__icon {
	display: grid;
	width: 21px;
	height: 21px;
	place-items: center;
}

.finaf-theme-icon {
	grid-area: 1 / 1;
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.finaf-theme-icon--sun,
.finaf-theme-toggle--mobile {
	display: none;
}

.finaf-theme-toggle__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

html[data-finaf-theme="dark"] {
	color-scheme: dark;
	--fui-green: #63d8c3;
	--fui-green-dark: #8be6d5;
	--fui-green-soft: #12372f;
	--fui-navy: #edf8fa;
	--fui-ink: #e3eff2;
	--fui-muted: #a8bcc4;
	--fui-line: #29454e;
	--fui-page: #071820;
	--fui-surface: #102731;
	--fui-shadow: 0 18px 45px rgba(0, 0, 0, .25);
	--bg: #071820;
	--card: #102731;
	--text: #e3eff2;
	--muted: #a8bcc4;
	--border: #29454e;
	--brand: #63d8c3;
	--brand-dark: #8be6d5;
	--brand2: #12372f;
	--brand-primary: #63d8c3;
	--brand-muted: #a8bcc4;
	--fkb-green: #63d8c3;
	--fkb-green-dark: #8be6d5;
	--fkb-green-soft: #12372f;
	--fkb-navy: #edf8fa;
	--fkb-muted: #a8bcc4;
	--fkb-line: #29454e;
	--fkb-bg: #071820;
	--fkb-white: #102731;
	--fkb-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

html[data-finaf-theme="dark"] .finaf-theme-icon--moon {
	display: none;
}

html[data-finaf-theme="dark"] .finaf-theme-icon--sun {
	display: block;
}

html[data-finaf-theme="dark"] body,
html[data-finaf-theme="dark"] main,
html[data-finaf-theme="dark"] .finaf-ui-home,
html[data-finaf-theme="dark"] .fkb-page {
	background: var(--fui-page);
	color: var(--fui-ink);
}

html[data-finaf-theme="dark"] .site-header {
	border-bottom-color: var(--fui-line);
	background: rgba(9, 29, 38, .96);
	box-shadow: 0 8px 28px rgba(0,0,0,.22);
}

html[data-finaf-theme="dark"] :where(.site-brand-title, .main-nav a, .header-actions button, .header-actions a) {
	color: var(--fui-ink);
}

html[data-finaf-theme="dark"] :where(.main-nav, .afg-global-search-dialog) {
	border-color: var(--fui-line);
	background: #0c222c;
	color: var(--fui-ink);
}

html[data-finaf-theme="dark"] :where(.main-nav a:hover, .main-nav a:focus-visible, .main-nav .current-menu-item > a) {
	background: var(--fui-green-soft);
	color: var(--fui-green);
}

html[data-finaf-theme="dark"] :where(.header-search-toggle, .finaf-theme-toggle, .afg-global-search-form, input, select, textarea) {
	border-color: var(--fui-line) !important;
	background-color: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(input, textarea)::placeholder {
	color: #78909a;
}

html[data-finaf-theme="dark"] .afg-global-search-backdrop {
	background: rgba(0, 8, 13, .78);
}

html[data-finaf-theme="dark"] .finaf-ui-hero {
	background: radial-gradient(circle at 11% 15%, rgba(99,216,195,.14), transparent 29%), linear-gradient(145deg, #0a2029, #0d2731 62%, #09202a);
}

html[data-finaf-theme="dark"] :where(.finaf-ui-institutions, .finaf-ui-banks) {
	background: #091d26;
}

html[data-finaf-theme="dark"] :where(.finaf-ui-services, .finaf-ui-recent) {
	background: var(--fui-page);
}

html[data-finaf-theme="dark"] :where(
	.finaf-ui-search > div,
	.finaf-ui-evidence-card,
	.finaf-ui-needs-grid > a,
	.finaf-ui-services-grid > a,
	.finaf-ui-institution-grid > a,
	.finaf-ui-recent article,
	.finaf-ui-bank-grid > a,
	.afg-card,
	.panel,
	.post-content,
	.fact-v2,
	.mini-card,
	.source-item,
	.afg-service-card,
	.finaf-service-paths a,
	.finaf-provider-links,
	.finaf-mag-v4-side-story,
	.finaf-mag-v4-need,
	.finaf-mag-v4-latest-story,
	.finaf-mag-v4-path,
	.finaf-mag-v4-services-grid > a,
	.finaf-mag-v4-empty
) {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
	box-shadow: var(--fui-shadow);
}

html[data-finaf-theme="dark"] :where(.finaf-ui-shortcuts a, .language-switcher a, .afg-global-search-suggestions button) {
	border-color: var(--fui-line);
	background: #102b35;
	color: var(--fui-green);
}

html[data-finaf-theme="dark"] :where(.finaf-mag-v4-masthead, .finaf-mag-v4-topics) {
	border-color: var(--fui-line);
	background: #091d26;
}

html[data-finaf-theme="dark"] .finaf-mag-v4-security {
	border-color: #6d5625;
	background: #2b2415;
}

html[data-finaf-theme="dark"] .finaf-mag-v4-security :where(h2, a) {
	color: #f2d28d;
}

html[data-finaf-theme="dark"] .finaf-mag-v4-security :where(p, .finaf-mag-v4-kicker) {
	color: #d5bc82;
}

html[data-finaf-theme="dark"] .finaf-mag-v4-security-list a {
	background: rgba(255,255,255,.06);
}

html[data-finaf-theme="dark"] .finaf-mag-v4-path-intro {
	background: var(--fui-green-soft);
}

html[data-finaf-theme="dark"] .finaf-mag-v4-path-intro :where(h2, p) {
	color: var(--fui-ink);
}

html[data-finaf-theme="dark"] :where(
	.fkb-preview-note,
	.fkb-topic-card,
	.fkb-term-card,
	.fkb-pagination a,
	.fkb-definition,
	.fkb-example,
	.fkb-related-links a,
	.fkb-context__inner,
	.fkb-context__links a,
	.fkb-landing-guide__inner,
	.fkb-landing-guide__links a,
	.fkb-next-steps,
	.fkb-next-steps__grid > a
) {
	border-color: var(--fkb-line);
	background: var(--fkb-white);
	color: var(--fkb-navy);
}

html[data-finaf-theme="dark"] :where(.fkb-prose, .fkb-example p) {
	color: var(--fkb-muted);
}

html[data-finaf-theme="dark"] .fkb-next-steps {
	background: linear-gradient(135deg, #0d2931, var(--fkb-green-soft));
}

html[data-finaf-theme="dark"] :where(.essential-page-header, .bank-hero-v2:not([style])) {
	background: linear-gradient(145deg, #0c2a31, #0a2029) !important;
	color: var(--fui-ink);
}

html[data-finaf-theme="dark"] .site-footer {
	background: #050f15;
}

@media (max-width: 700px) {
	.finaf-theme-toggle:not(.finaf-theme-toggle--mobile) {
		display: none;
	}

	.finaf-theme-toggle--mobile {
		display: flex;
		width: 100%;
		min-height: 44px;
		padding-inline: 13px;
		justify-content: space-between;
	}

	.finaf-theme-toggle--mobile .finaf-theme-toggle__label {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
		clip-path: none;
		font-size: 12px;
		font-weight: 800;
	}
}

/* Standardized product heroes and final mobile dark-mode override — v1.10.3. */
body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero {
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	block-size: auto !important;
	padding: clamp(48px, 6vw, 70px) 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--fui-line) !important;
	background:
		radial-gradient(circle at 12% 18%, rgba(8, 119, 101, .14), transparent 28%),
		linear-gradient(145deg, #eef8f5, #fbfdfd 62%, #eef4f6) !important;
	color: var(--fui-ink) !important;
	box-shadow: none !important;
	isolation: isolate !important;
}

body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero::before,
body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero::after {
	display: none !important;
	content: none !important;
}

body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero > .site-container {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 0 !important;
}

body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero .afg-products-hero-copy {
	width: min(100%, 820px) !important;
	max-width: 820px !important;
	margin: 0 auto !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	text-align: center !important;
}

body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero .afg-products-hero-copy :is(.afg-eyebrow, h1, h2, p) {
	margin-inline: auto !important;
	text-align: center !important;
	text-shadow: none !important;
	opacity: 1 !important;
}

body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero .afg-products-hero-copy :is(h1, h2) {
	color: var(--fui-navy) !important;
}

body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero .afg-products-hero-copy :is(p, li) {
	color: var(--fui-muted) !important;
}

body .afg-cards-page .afg-cards-hero .afg-card-visual {
	display: none !important;
}

/* Product detail heroes retain their useful two-column content but share the same surface and rhythm. */
body.single-afg_product .afg-product-detail-hero {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	border-top: 0 !important;
	border-bottom: 1px solid var(--fui-line) !important;
	background:
		radial-gradient(circle at 12% 18%, rgba(8, 119, 101, .14), transparent 28%),
		linear-gradient(145deg, #eef8f5, #fbfdfd 62%, #eef4f6) !important;
	color: var(--fui-ink) !important;
}

body.single-afg_product .afg-product-detail-hero .afg-product-detail-hero-inner {
	min-height: 0 !important;
	padding-top: clamp(42px, 5vw, 62px) !important;
	padding-bottom: clamp(38px, 5vw, 58px) !important;
}

body.single-afg_product .afg-product-detail-hero .afg-product-detail-title :is(h1, h2) {
	color: var(--fui-navy) !important;
	text-shadow: none !important;
	opacity: 1 !important;
}

body.single-afg_product .afg-product-detail-hero .afg-product-detail-title :is(p, small, .afg-product-single-en) {
	color: var(--fui-muted) !important;
	text-shadow: none !important;
	opacity: 1 !important;
}

html[data-finaf-theme="dark"] body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero,
html[data-finaf-theme="dark"] body.single-afg_product .afg-product-detail-hero {
	border-color: var(--fui-line) !important;
	background:
		radial-gradient(circle at 12% 16%, rgba(99, 216, 195, .13), transparent 29%),
		linear-gradient(145deg, #0a2029, #0d2731) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero .afg-products-hero-copy :is(h1, h2),
html[data-finaf-theme="dark"] body.single-afg_product .afg-product-detail-hero .afg-product-detail-title :is(h1, h2) {
	color: var(--fui-ink) !important;
	text-shadow: none !important;
	opacity: 1 !important;
}

html[data-finaf-theme="dark"] body :is(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero .afg-products-hero-copy :is(p, li),
html[data-finaf-theme="dark"] body.single-afg_product .afg-product-detail-hero .afg-product-detail-title :is(p, small, .afg-product-single-en) {
	color: var(--fui-muted) !important;
	text-shadow: none !important;
	opacity: 1 !important;
}

@media (max-width: 767px) {
	body :is(
		.afg-accounts-page,
		.afg-products-page,
		.afg-deposits-page,
		.afg-financing-page,
		.afg-cards-page,
		.afg-transfer-page,
		.afg-digital-page
	) .afg-products-hero {
		display: block !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		padding: 42px 0 38px !important;
	}

	body :is(
		.afg-accounts-page,
		.afg-products-page,
		.afg-deposits-page,
		.afg-financing-page,
		.afg-cards-page,
		.afg-transfer-page,
		.afg-digital-page
	) .afg-products-hero .afg-products-hero-copy {
		width: 100% !important;
		max-width: 680px !important;
		margin: 0 auto !important;
		padding: 0 20px !important;
		border: 0 !important;
		background: transparent !important;
	}

	body :is(
		.afg-accounts-page,
		.afg-products-page,
		.afg-deposits-page,
		.afg-financing-page,
		.afg-cards-page,
		.afg-transfer-page,
		.afg-digital-page
	) .afg-products-hero .afg-products-hero-copy h1 {
		font-size: clamp(32px, 10vw, 43px) !important;
		line-height: 1.35 !important;
	}

	body :is(
		.afg-accounts-page,
		.afg-products-page,
		.afg-deposits-page,
		.afg-financing-page,
		.afg-cards-page,
		.afg-transfer-page,
		.afg-digital-page
	) .afg-products-hero .afg-products-hero-copy p {
		font-size: 15px !important;
		line-height: 1.9 !important;
	}

	body.single-afg_product .afg-product-detail-hero .afg-product-detail-hero-inner {
		gap: 24px !important;
		padding-top: 36px !important;
		padding-bottom: 34px !important;
	}

	body.single-afg_product .afg-product-detail-hero .afg-product-detail-title h1 {
		font-size: clamp(32px, 10vw, 42px) !important;
		line-height: 1.35 !important;
	}
}

/* Homepage service pathways and bank rail — 1.10.7. */
.finaf-ui-section-head--centered {
	display: block;
	text-align: center;
}

.finaf-ui-section-head--centered > div {
	max-width: 700px;
	margin-inline: auto;
}

.finaf-ui-section-head--centered p,
.finaf-ui-bank-section-head p {
	margin: 8px 0 0;
	color: var(--fui-muted);
	font-size: 13px;
	line-height: 1.9;
}

.finaf-ui-services-footer {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.finaf-ui-services-footer a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 12px;
	background: var(--fui-green);
	color: #fff !important;
	font-size: 13px;
	font-weight: 850;
	transition: background-color .2s ease, transform .2s ease;
}

.finaf-ui-services-footer a:hover {
	background: var(--fui-green-dark);
	transform: translateY(-2px);
}

.finaf-ui-bank-section-head {
	align-items: end;
}

.finaf-ui-bank-section-head > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.finaf-ui-bank-rail-shell {
	position: relative;
}

.finaf-ui-bank-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 45px) / 4);
	gap: 15px;
	padding: 2px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: inline mandatory;
	scrollbar-width: none;
}

.finaf-ui-bank-rail::-webkit-scrollbar {
	display: none;
}

.finaf-ui-bank-card {
	display: flex;
	min-width: 0;
	min-height: 255px;
	align-items: center;
	flex-direction: column;
	padding: 20px 16px;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius);
	background: var(--fui-surface);
	color: var(--fui-ink);
	text-align: center;
	scroll-snap-align: start;
	box-shadow: 0 8px 24px rgba(14,49,56,.035);
}

.finaf-ui-bank-logo {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-bottom: 12px;
	border: 1px solid #e0e9e6;
	border-radius: 16px;
	background: #fff;
	color: #087765;
	font-size: 18px;
	font-weight: 900;
}

.finaf-ui-bank-logo img {
	max-width: 49px;
	max-height: 49px;
	object-fit: contain;
}

.finaf-ui-bank-status {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-bottom: 10px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(96,113,119,.1);
	color: var(--fui-muted);
	font-size: 10px;
	font-weight: 800;
}

.finaf-ui-bank-status.is-verified {
	background: var(--fui-green-soft);
	color: var(--fui-green);
}

.finaf-ui-bank-card h3 {
	margin: 0 0 7px;
	color: var(--fui-navy);
	font-size: 16px;
	line-height: 1.65;
}

.finaf-ui-bank-card p {
	margin: 0 0 18px;
	color: var(--fui-muted);
	font-size: 11px;
	line-height: 1.75;
}

.finaf-ui-bank-card > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: auto;
	color: var(--fui-green);
	font-size: 12px;
	font-weight: 850;
}

.finaf-ui-bank-rail-control {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--fui-line);
	border-radius: 50%;
	background: var(--fui-surface);
	color: var(--fui-green);
	box-shadow: var(--fui-shadow);
	transform: translateY(-50%);
	cursor: pointer;
}

.finaf-ui-bank-rail-control.is-previous {
	right: -20px;
}

.finaf-ui-bank-rail-control.is-previous .finaf-ui-svg {
	transform: rotate(180deg);
}

.finaf-ui-bank-rail-control.is-next {
	left: -20px;
}

.finaf-ui-bank-rail-control:hover,
.finaf-ui-bank-rail-control:focus-visible {
	border-color: var(--fui-green);
	background: var(--fui-green);
	color: #071820;
}

html[data-finaf-theme="dark"] body .finaf-ui-services-grid > a,
html[data-finaf-theme="dark"] body .finaf-ui-bank-card {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .finaf-ui-bank-card h3 {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .finaf-ui-services-footer a {
	color: #071820 !important;
}

@media (max-width: 1050px) {
	.finaf-ui-bank-rail {
		grid-auto-columns: calc((100% - 15px) / 2);
	}
}

@media (max-width: 600px) {
	.finaf-ui-bank-section-head {
		align-items: center;
		text-align: center;
	}

	.finaf-ui-bank-section-head > a {
		align-self: center;
	}

	.finaf-ui-bank-rail {
		grid-auto-columns: 86%;
	}

	.finaf-ui-bank-rail-control {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.finaf-theme-toggle,
	html[data-finaf-theme="dark"] * {
		transition-duration: .01ms !important;
	}
}

:root {
	--fui-green: #087765;
	--fui-green-dark: #056252;
	--fui-green-soft: #e7f4f0;
	--fui-navy: #102d40;
	--fui-ink: #152f40;
	--fui-muted: #526873;
	--fui-line: #dce7e4;
	--fui-page: #f7faf9;
	--fui-surface: #fff;
	--fui-radius-sm: 11px;
	--fui-radius: 17px;
	--fui-radius-lg: 23px;
	--fui-shadow: 0 18px 45px rgba(14, 55, 49, .08);
	--fui-font: "Vazirmatn", Tahoma, Arial, sans-serif;
	--font-ui: "Vazirmatn", Tahoma, Arial, sans-serif;
}

body {
	background: var(--fui-page);
	color: var(--fui-ink);
	font-family: var(--fui-font);
}

.finaf-fintech-public-facts {
	margin-top: 24px;
	padding: 20px;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius);
	background: var(--fui-green-soft);
}

.finaf-fintech-public-facts h3 {
	margin: 0 0 12px;
}

.finaf-fintech-public-facts ul {
	margin: 0;
	padding-inline-start: 22px;
}

.finaf-fintech-public-facts li + li {
	margin-top: 9px;
}

.finaf-fintech-public-note {
	margin: 14px 0 0;
	font-size: .9rem;
	color: var(--fui-muted);
}

button,
input,
select,
textarea {
	font-family: inherit;
}

.header-search-toggle,
.mobile-nav-toggle {
	min-width: 44px;
	min-height: 44px;
}

.site-container {
	width: min(calc(100% - 40px), 1240px);
}

.site-header {
	border-bottom-color: var(--fui-line);
	background: rgba(255,255,255,.97);
	box-shadow: 0 5px 25px rgba(19, 54, 64, .045);
	backdrop-filter: blur(12px);
}

.header-inner {
	min-height: 76px;
}

.site-brand-mark,
.footer-brand-mark {
	border-radius: var(--fui-radius-sm);
}

.finaf-header-wordmark small {
	color: var(--fui-green-dark) !important;
}

.main-nav a,
.header-actions a,
.header-actions button {
	font-weight: 750;
}

.header-search-toggle,
.header-compare-link {
	border-radius: var(--fui-radius-sm) !important;
}

.header-search-toggle > span:first-child,
.afg-global-search-form > span {
	position: relative;
	display: inline-block;
	width: 18px;
	height: 18px;
	font-size: 0;
}

.header-search-toggle > span:first-child::before,
.afg-global-search-form > span::before {
	content: "";
	position: absolute;
	inset: 2px 4px 4px 2px;
	border: 1.8px solid currentColor;
	border-radius: 50%;
}

.header-search-toggle > span:first-child::after,
.afg-global-search-form > span::after {
	content: "";
	position: absolute;
	left: 2px;
	bottom: 2px;
	width: 6px;
	height: 1.8px;
	border-radius: 999px;
	background: currentColor;
	transform: rotate(45deg);
	transform-origin: left center;
}

.header-compare-link {
	background: var(--fui-green) !important;
	color: #fff !important;
}

.header-compare-link:hover {
	background: var(--fui-green-dark) !important;
}

.afg-button,
button.afg-button {
	min-height: 46px;
	border-radius: var(--fui-radius-sm);
	background: var(--fui-green);
}

.afg-button:hover,
button.afg-button:hover {
	background: var(--fui-green-dark);
}

.afg-card,
.panel,
.post-content {
	border-color: var(--fui-line);
	border-radius: var(--fui-radius);
	box-shadow: 0 10px 30px rgba(16, 51, 59, .05);
}

.finaf-ui-home {
	direction: rtl;
	overflow: hidden;
	background: var(--fui-page);
}

.finaf-ui-svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.finaf-ui-svg.is-small {
	width: 17px;
	height: 17px;
}

.finaf-ui-home a:focus-visible,
.finaf-ui-home button:focus-visible,
.finaf-ui-home input:focus-visible {
	outline: 3px solid rgba(8,119,101,.28);
	outline-offset: 3px;
}

.finaf-ui-kicker {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--fui-green);
	font-size: 13px;
	font-weight: 850;
}

.finaf-ui-kicker i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #16a085;
}

.finaf-ui-hero {
	position: relative;
	padding: clamp(56px, 8vw, 106px) 0 70px;
	background: radial-gradient(circle at 11% 15%, rgba(8,119,101,.13), transparent 29%), linear-gradient(145deg, #f1f9f7, #fbfdfd 62%, #f1f6f8);
}

.finaf-ui-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr);
	align-items: center;
	gap: clamp(38px, 7vw, 92px);
}

.finaf-ui-hero-copy h1 {
	max-width: 760px;
	margin: 14px 0 18px;
	color: var(--fui-navy);
	font-size: clamp(42px, 6vw, 70px);
	font-weight: 900;
	line-height: 1.24;
	letter-spacing: -1.8px;
	text-wrap: balance;
}

.finaf-ui-hero-copy h1 em {
	color: var(--fui-green);
	font-style: normal;
}

.finaf-ui-hero-copy > p {
	max-width: 680px;
	margin: 0;
	color: var(--fui-muted);
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 2;
}

.finaf-ui-search {
	max-width: 720px;
	margin-top: 29px;
}

.finaf-ui-search > label {
	display: block;
	margin-bottom: 7px;
	color: var(--fui-ink);
	font-size: 13px;
	font-weight: 800;
}

.finaf-ui-search > div {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 7px 6px 14px;
	border: 1px solid #cfded9;
	border-radius: 15px;
	background: #fff;
	box-shadow: var(--fui-shadow);
}

.finaf-ui-search div > span {
	display: grid;
	place-items: center;
	padding-inline-start: 8px;
	color: var(--fui-green);
}

.finaf-ui-search input {
	min-width: 0;
	flex: 1;
	height: 48px;
	padding: 0 5px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--fui-ink);
}

.finaf-ui-search button {
	display: grid;
	place-items: center;
	min-width: 105px;
	height: 46px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: var(--fui-green);
	color: #fff;
	font-weight: 850;
	line-height: 1;
	text-align: center;
	cursor: pointer;
}

.finaf-ui-search button:hover {
	background: var(--fui-green-dark);
}

.finaf-ui-shortcuts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 15px;
	color: var(--fui-muted);
	font-size: 12px;
}

.finaf-ui-shortcuts a {
	padding: 5px 10px;
	border: 1px solid #d3e1dd;
	border-radius: 999px;
	background: rgba(255,255,255,.78);
	color: var(--fui-green);
	font-weight: 750;
}

.finaf-ui-shortcuts a:hover {
	border-color: #9ccfc3;
	background: #fff;
}

.finaf-ui-evidence-card {
	padding: 25px;
	border: 1px solid #d5e3df;
	border-radius: var(--fui-radius-lg);
	background: #fff;
	box-shadow: 0 28px 65px rgba(8,53,46,.12);
}

.finaf-ui-evidence-top {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	color: var(--fui-muted);
	font-size: 11px;
}

.finaf-ui-evidence-top span {
	color: var(--fui-green);
	font-weight: 850;
}

.finaf-ui-evidence-mark {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin: 30px 0 15px;
	border-radius: 16px;
	background: linear-gradient(145deg, var(--fui-green), #174b6b);
	color: #fff;
}

.finaf-ui-evidence-mark .finaf-ui-svg {
	width: 30px;
	height: 30px;
	stroke-width: 1.7;
}

.finaf-ui-evidence-card > small {
	color: var(--fui-muted);
}

.finaf-ui-evidence-card h2 {
	margin: 4px 0 17px;
	color: var(--fui-navy);
	font-size: 23px;
	line-height: 1.5;
}

.finaf-ui-evidence-card dl {
	margin: 0;
	border-top: 1px solid #e4ece9;
}

.finaf-ui-evidence-card dl div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid #e4ece9;
	font-size: 12px;
}

.finaf-ui-evidence-card dd {
	margin: 0;
	font-weight: 800;
}

.finaf-ui-evidence-card .is-verified {
	color: var(--fui-green);
}

.finaf-ui-evidence-card > a {
	display: flex;
	justify-content: space-between;
	margin-top: 18px;
	color: var(--fui-green);
	font-weight: 850;
}

.finaf-ui-section {
	padding: clamp(58px, 7vw, 90px) 0;
}

.finaf-ui-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 27px;
}

.finaf-ui-section-head h2,
.finaf-ui-trust h2,
.finaf-ui-cta h2 {
	margin: 5px 0 0;
	color: var(--fui-navy);
	font-size: clamp(28px, 3.6vw, 42px);
	line-height: 1.4;
}

.finaf-ui-section-head > p {
	max-width: 430px;
	margin: 0;
	color: var(--fui-muted);
	font-size: 13px;
}

.finaf-ui-section-head > a {
	color: var(--fui-green);
	font-size: 13px;
	font-weight: 850;
	white-space: nowrap;
}

.finaf-ui-needs-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.finaf-ui-needs-grid > a {
	display: flex;
	align-items: center;
	flex-direction: column;
	min-height: 245px;
	padding: 21px;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius);
	background: #fff;
	color: var(--fui-ink);
	text-align: center;
	box-shadow: 0 8px 25px rgba(14,49,56,.035);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.finaf-ui-needs-grid > a:hover {
	border-color: #94cdbf;
	box-shadow: var(--fui-shadow);
	transform: translateY(-3px);
}

.finaf-ui-icon {
	display: grid;
	place-items: center;
	width: 45px;
	height: 45px;
	margin-bottom: 24px;
	border-radius: 12px;
	background: var(--fui-green-soft);
	color: var(--fui-green);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.finaf-ui-needs-grid > a:hover .finaf-ui-icon {
	background: var(--fui-green);
	color: #fff;
	transform: scale(1.04);
}

.finaf-ui-needs-grid small {
	color: var(--fui-muted);
}

.finaf-ui-needs-grid h3 {
	margin: 5px 0;
	font-size: 20px;
}

.finaf-ui-needs-grid p {
	margin: 0;
	color: var(--fui-muted);
	font-size: 12px;
}

.finaf-ui-needs-grid b {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: auto;
	color: var(--fui-green);
	font-size: 12px;
}

.finaf-ui-calculator-cta {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	margin: 28px 0;
	padding: 22px 24px;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius-lg);
	background: linear-gradient(135deg, var(--fui-green-soft), var(--fui-surface) 72%);
	color: var(--fui-ink);
	box-shadow: var(--fui-shadow);
}

.finaf-ui-calculator-cta__icon {
	display: grid;
	width: 56px;
	height: 56px;
	place-items: center;
	border-radius: 16px;
	background: var(--fui-green);
	color: #ffffff;
	direction: ltr;
}

.finaf-ui-calculator-cta__icon .finaf-ui-calculator-svg {
	width: 30px;
	height: 30px;
	stroke-width: 1.8;
}

.finaf-ui-calculator-cta__copy {
	min-width: 0;
}

.finaf-ui-calculator-cta__copy small,
.finaf-ui-calculator-cta__copy strong {
	display: block;
}

.finaf-ui-calculator-cta__copy small {
	margin-bottom: 3px;
	color: var(--fui-green);
	font-size: 12px;
	font-weight: 850;
}

.finaf-ui-calculator-cta__copy strong {
	color: var(--fui-ink);
	font-size: clamp(18px, 2vw, 23px);
	line-height: 1.5;
}

.finaf-ui-calculator-cta__copy p {
	margin: 4px 0 0;
	color: var(--fui-muted);
	font-size: 13px;
	line-height: 1.8;
}

.finaf-ui-calculator-cta > .afg-button {
	display: inline-flex;
	min-height: 46px;
	padding: 11px 18px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	white-space: nowrap;
}

.finaf-ui-calculator-cta--home {
	margin-top: 22px;
}

.afg-product-detail-main > .finaf-ui-calculator-cta,
.afg-article-content .finaf-ui-calculator-cta,
.entry-content .finaf-ui-calculator-cta {
	width: 100%;
}

html[data-finaf-theme="dark"] .finaf-ui-calculator-cta {
	background: linear-gradient(135deg, var(--fui-green-soft), var(--fui-surface) 72%);
}

@media (max-width: 760px) {
	.finaf-ui-calculator-cta {
		grid-template-columns: 46px minmax(0, 1fr);
		gap: 13px;
		padding: 18px;
		text-align: right;
	}

	.finaf-ui-calculator-cta__icon {
		width: 46px;
		height: 46px;
		border-radius: 13px;
	}

	.finaf-ui-calculator-cta__icon .finaf-ui-calculator-svg {
		width: 26px;
		height: 26px;
	}

	.finaf-ui-calculator-cta > .afg-button {
		grid-column: 1 / -1;
		width: 100%;
	}
}

.finaf-ui-institutions,
.finaf-ui-banks {
	background: #eef4f2;
}

.finaf-ui-services {
	background: #fff;
}

.finaf-ui-services-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 13px;
}

.finaf-ui-services-grid > a {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 218px;
	flex-direction: column;
	padding: 20px;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius);
	background: #fff;
	color: var(--fui-ink);
	text-align: center;
	box-shadow: 0 8px 24px rgba(14,49,56,.035);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.finaf-ui-services-grid > a:hover {
	border-color: #94cdbf;
	box-shadow: var(--fui-shadow);
	transform: translateY(-3px);
}

.finaf-ui-services-grid .finaf-ui-icon {
	margin-bottom: 20px;
}

.finaf-ui-services-grid > a:hover .finaf-ui-icon {
	background: var(--fui-green);
	color: #fff;
}

.finaf-ui-services-grid h3 {
	margin: 0 0 5px;
	color: var(--fui-navy);
	font-size: 18px;
	line-height: 1.55;
}

.finaf-ui-services-grid p {
	margin: 0;
	color: var(--fui-muted);
	font-size: 12px;
	line-height: 1.75;
}

.finaf-ui-services-grid b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 5px;
	margin-top: auto;
	padding-top: 17px;
	color: var(--fui-green);
	font-size: 11px;
}

.finaf-ui-institution-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.finaf-ui-institution-grid > a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px;
	border: 1px solid #d5e2de;
	border-radius: var(--fui-radius);
	background: #fff;
	color: var(--fui-ink);
}

.finaf-ui-institution-grid > a > span {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 12px;
	background: var(--fui-green-soft);
	color: var(--fui-green);
	transition: background-color .2s ease, color .2s ease;
}

.finaf-ui-institution-grid > a:hover > span {
	background: var(--fui-green);
	color: #fff;
}

.finaf-ui-institution-grid > a > div {
	min-width: 0;
	flex: 1;
}

.finaf-ui-institution-grid h3 {
	margin: 0;
	font-size: 16px;
}

.finaf-ui-institution-grid p {
	margin: 2px 0 0;
	color: var(--fui-muted);
	font-size: 11px;
}

.finaf-ui-institution-grid b {
	color: var(--fui-green);
}

.finaf-ui-recent {
	background: #fff;
}

.finaf-ui-recent-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.finaf-ui-recent article {
	padding: 20px;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius);
	background: #fff;
}

.finaf-ui-record-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--fui-muted);
}

.finaf-ui-record-top > span {
	display: grid;
	place-items: center;
	width: 39px;
	height: 39px;
	border-radius: 10px;
	background: var(--fui-green-soft);
	color: var(--fui-green);
}

.finaf-ui-record-top .finaf-ui-svg {
	width: 20px;
	height: 20px;
}

.finaf-ui-recent h3 {
	margin: 17px 0 2px;
	font-size: 19px;
	line-height: 1.6;
}

.finaf-ui-recent h3 a {
	color: var(--fui-ink);
}

.finaf-ui-recent article > p {
	margin: 0 0 25px;
	color: var(--fui-muted);
	font-size: 12px;
}

.finaf-ui-recent footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	margin-top: 26px;
	padding-top: 13px;
	border-top: 1px solid #e3ebe8;
	font-size: 10px;
}

.finaf-ui-recent footer span {
	color: var(--fui-muted);
}

.finaf-ui-recent footer a {
	color: var(--fui-green);
	font-weight: 850;
	white-space: nowrap;
}

.finaf-ui-bank-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 11px;
}

.finaf-ui-bank-grid > a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	min-height: 170px;
	padding: 18px 9px;
	border: 1px solid #d3e0dc;
	border-radius: 15px;
	background: #fff;
	color: var(--fui-ink);
	text-align: center;
}

.finaf-ui-bank-grid > a > span {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 5px;
	border: 1px solid #e0e9e6;
	border-radius: 15px;
	background: #fff;
	color: var(--fui-green);
	font-size: 18px;
	font-weight: 900;
}

.finaf-ui-bank-grid img {
	max-width: 45px;
	max-height: 45px;
	object-fit: contain;
}

.finaf-ui-bank-grid strong {
	font-size: 12px;
	line-height: 1.55;
}

.finaf-ui-bank-grid small {
	margin-top: auto;
	color: var(--fui-muted);
	font-size: 10px;
}

.finaf-ui-trust {
	padding: clamp(62px, 8vw, 100px) 0;
	background: radial-gradient(circle at 13% 20%, rgba(18,138,112,.28), transparent 31%), #0b2938;
	color: #fff;
}

.finaf-ui-trust-grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	align-items: center;
	gap: 55px;
}

.finaf-ui-trust .finaf-ui-kicker {
	color: #6dd8c2;
}

.finaf-ui-trust h2 {
	color: #fff;
}

.finaf-ui-trust-copy > p {
	max-width: 550px;
	color: #bdd0d6;
}

.finaf-ui-trust-copy > a {
	color: #6dd8c2;
	font-weight: 850;
}

.finaf-ui-trust-points {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.finaf-ui-trust-points > :is(div, a) {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: 190px;
	padding: 20px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 15px;
	background: rgba(255,255,255,.05);
	color: #fff;
	text-align: center;
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.finaf-ui-trust-points > a:hover,
.finaf-ui-trust-points > a:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(109,216,194,.55);
	background: rgba(109,216,194,.1);
}

.finaf-ui-trust-points span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(103,210,189,.14);
	color: #6dd8c2;
}

.finaf-ui-trust-points .finaf-ui-svg {
	width: 21px;
	height: 21px;
}

.finaf-ui-trust-points h3 {
	margin: 18px 0 5px;
	color: #fff;
	font-size: 16px;
}

.finaf-ui-trust-points p {
	margin: 0;
	color: #adc2c8;
	font-size: 11px;
}

.finaf-ui-trust-points b {
	margin-top: 14px;
	color: #6dd8c2;
	font-size: 11px;
	font-weight: 850;
}

.finaf-ui-magazine {
	background: #fff;
}

.finaf-ui-magazine-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
}

.finaf-ui-magazine-grid article {
	display: grid;
	grid-template-columns: 170px 1fr;
	overflow: hidden;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius);
	background: #fff;
}

.finaf-ui-magazine-grid article.is-featured {
	grid-row: 1 / 3;
	grid-template-columns: .85fr 1.15fr;
}

.finaf-ui-story-media {
	display: block;
	min-height: 170px;
	background: linear-gradient(145deg, var(--fui-green), #163c59);
}

.finaf-ui-story-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.finaf-ui-story-media > span {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: #fff;
	font-weight: 900;
}

.finaf-ui-magazine-grid article > div {
	padding: 20px;
}

.finaf-ui-magazine-grid small {
	color: var(--fui-muted);
}

.finaf-ui-magazine-grid h3 {
	margin: 8px 0;
	font-size: 18px;
	line-height: 1.65;
}

.finaf-ui-magazine-grid .is-featured h3 {
	font-size: clamp(23px, 2.4vw, 31px);
}

.finaf-ui-magazine-grid h3 a {
	color: var(--fui-ink);
}

.finaf-ui-magazine-grid p {
	color: var(--fui-muted);
	font-size: 12px;
}

.finaf-ui-read {
	display: inline-block;
	margin-top: 10px;
	color: var(--fui-green);
	font-size: 12px;
	font-weight: 850;
}

.finaf-ui-cta {
	padding: clamp(48px, 6vw, 78px) 0;
	background: #fff;
}

.finaf-ui-cta > .site-container {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 22px;
	max-width: 920px;
	padding: 34px 38px;
	border: 1px solid #cfe0db;
	border-radius: 21px;
	background: var(--fui-green-soft);
	text-align: center;
}

.finaf-ui-cta p {
	margin: 4px 0 0;
	color: var(--fui-muted);
}

.finaf-ui-cta > .site-container > div:last-child {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.finaf-ui-cta > .site-container > div:last-child a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border: 1px solid #bcd3cc;
	border-radius: var(--fui-radius-sm);
	font-weight: 800;
}

.site-footer.finaf-ui-footer {
	margin-top: 0 !important;
	padding: 0 !important;
	background: #071b24 !important;
	color: #dce8e6;
}

.finaf-ui-footer-main {
	display: grid !important;
	grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, .75fr)) !important;
	gap: clamp(34px, 5vw, 72px) !important;
	padding: 58px 0 44px;
}

.finaf-ui-footer-brand {
	min-width: 0;
}

.finaf-ui-footer-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff !important;
}

.finaf-ui-footer-logo {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 13px;
	background: rgba(255,255,255,.07);
	color: #70d8c3;
	font-size: 16px;
	font-weight: 900;
}

.finaf-ui-footer-logo img {
	display: block;
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.finaf-ui-footer-brand-link strong,
.finaf-ui-footer-brand-link small {
	display: block;
}

.finaf-ui-footer-brand-link strong {
	color: #fff;
	font-size: 20px;
}

.finaf-ui-footer-brand-link small {
	margin-top: -2px;
	color: #91aaa6 !important;
	font-size: 10px !important;
}

.finaf-ui-footer-brand > p {
	max-width: 390px;
	margin: 20px 0 15px;
	color: #adbfbc !important;
	font-size: 13px !important;
	line-height: 1.95;
}

.finaf-ui-footer-email {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #d8e5e2 !important;
	font-size: 13px !important;
}

.finaf-ui-footer-email .finaf-ui-svg {
	width: 18px;
	height: 18px;
	color: #63d0ba;
}

/* Shared official social profiles: footer, contact page and mobile menu. */
.finaf-ui-socials {
	display: grid;
	gap: 10px;
}

.finaf-ui-socials__title {
	margin: 0;
	color: var(--fui-ink);
	font-size: 13px;
	font-weight: 850;
}

.finaf-ui-socials__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.finaf-ui-socials__links a {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 8px 11px;
	border: 1px solid var(--fui-line);
	border-radius: 12px;
	background: var(--fui-surface);
	color: var(--fui-ink) !important;
	font-family: Arial, sans-serif;
	font-size: 12px !important;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.finaf-ui-socials__links a:hover,
.finaf-ui-socials__links a:focus-visible {
	border-color: var(--fui-green);
	background: var(--fui-green-soft);
	color: var(--fui-green-dark) !important;
	transform: translateY(-1px);
}

.finaf-ui-socials__links a:focus-visible {
	outline: 3px solid rgba(8,119,101,.25);
	outline-offset: 2px;
}

.finaf-ui-socials__icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.finaf-ui-socials--footer {
	margin-top: 18px;
}

.finaf-ui-socials--footer .finaf-ui-socials__title {
	color: #d8e5e2 !important;
}

.finaf-ui-socials--footer .finaf-ui-socials__links a {
	border-color: rgba(117,222,201,.22);
	background: rgba(255,255,255,.055);
	color: #d8e5e2 !important;
}

.finaf-ui-socials--footer .finaf-ui-socials__links a:hover,
.finaf-ui-socials--footer .finaf-ui-socials__links a:focus-visible {
	border-color: #75dec9;
	background: rgba(117,222,201,.12);
	color: #75dec9 !important;
}

.finaf-ui-socials--contact {
	width: min(100%, 780px);
	margin: 24px auto 0;
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--fui-line);
	border-radius: 20px;
	background: var(--fui-surface);
	box-shadow: var(--fui-shadow);
	text-align: center;
}

.finaf-ui-contact-socials-shell {
	padding: 0 0 clamp(34px, 6vw, 72px);
}

.finaf-ui-contact-socials-shell .finaf-ui-socials--contact {
	margin-top: 0;
}

.finaf-ui-socials--contact .finaf-ui-socials__links {
	justify-content: center;
}

.finaf-ui-mobile-socials {
	display: none;
}

.finaf-ui-footer-group h2 {
	margin: 4px 0 17px;
	color: #fff;
	font-size: 16px;
	font-weight: 850;
}

.finaf-ui-footer-group ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.finaf-ui-footer-group li {
	margin: 0;
	padding: 0;
}

.finaf-ui-footer-group a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	color: #afc1bd !important;
	font-size: 14px !important;
	line-height: 1.8;
	text-decoration: none;
	transition: color .18s ease, transform .18s ease;
}

.finaf-ui-footer-link__icon {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	border: 1px solid rgba(117,222,201,.22);
	border-radius: 9px;
	background: rgba(255,255,255,.055);
	color: #75dec9;
}

.finaf-ui-footer-link__icon .finaf-ui-svg {
	width: 17px;
	height: 17px;
}

.finaf-ui-footer-group a:hover {
	color: #75dec9 !important;
	transform: translateX(-2px);
}

.finaf-ui-footer-group a:hover .finaf-ui-footer-link__icon,
.finaf-ui-footer-group a:focus-visible .finaf-ui-footer-link__icon {
	border-color: #75dec9;
	background: rgba(117,222,201,.12);
}

.finaf-ui-footer-methodology {
	margin-top: 16px;
	padding: 13px;
	border: 1px solid rgba(110,217,195,.16);
	border-radius: 12px;
	background: rgba(110,217,195,.055);
}

.finaf-ui-footer-methodology a {
	color: #75dec9 !important;
	font-weight: 800;
}

.finaf-ui-footer-methodology a::before {
	display: none;
}

.finaf-ui-footer-methodology p {
	margin: 4px 0 0;
	color: #8fa6a1 !important;
	font-size: 10px !important;
	line-height: 1.7;
}

.finaf-ui-footer-sponsor {
	display: flex;
	justify-content: center;
	padding: 20px 0;
	border-top: 1px solid rgba(255,255,255,.1);
}

.finaf-ui-footer-sponsor a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-height: 70px;
	padding: 20px 28px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 16px;
	background: rgba(255,255,255,.04);
	color: #fff !important;
	text-decoration: none;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.finaf-ui-footer-sponsor a:hover,
.finaf-ui-footer-sponsor a:focus-visible {
	border-color: rgba(0,186,186,.72);
	background: rgba(0,186,186,.08);
	transform: translateY(-1px);
}

.finaf-ui-footer-sponsor a:focus-visible {
	outline: 3px solid rgba(0,186,186,.3);
	outline-offset: 3px;
}

.finaf-ui-footer-sponsor img {
	display: block;
	width: auto;
	height: 30px;
	flex: 0 0 auto;
}

.finaf-ui-footer-sponsor-copy {
	display: grid;
	gap: 4px;
	text-align: right;
}

.finaf-ui-footer-sponsor-copy strong {
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.finaf-ui-footer-sponsor-copy small {
	color: #9fb2ae;
	font-size: 12px;
	line-height: 1.7;
}

.finaf-ui-footer-bottom {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 21px 0 25px;
	border-top: 1px solid rgba(255,255,255,.1);
	color: #879d99;
	font-size: 11px;
}

.finaf-ui-footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px 18px;
}

.finaf-ui-footer-legal a {
	color: #9fb2ae !important;
	font-size: 11px !important;
}

.finaf-ui-footer-legal a:hover {
	color: #fff !important;
	text-decoration: underline;
}

.finaf-ui-footer-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.finaf-ui-footer-status i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #48d5a7;
	box-shadow: 0 0 0 4px rgba(72,213,167,.12);
}

@media (max-width: 1050px) {
	.finaf-ui-hero-grid {
		grid-template-columns: 1.15fr .85fr;
	}

	.finaf-ui-needs-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.finaf-ui-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.finaf-ui-bank-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.finaf-ui-magazine-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}

	.finaf-ui-magazine-grid article,
	.finaf-ui-magazine-grid article.is-featured {
		grid-row: auto;
		grid-template-columns: 1fr;
	}

	.finaf-ui-story-media {
		min-height: 215px;
	}

	.finaf-ui-footer-main {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 36px 24px !important;
	}

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

	.finaf-ui-footer-main > * {
		min-width: 0;
	}
}

@media (max-width: 820px) {
	.site-container {
		width: min(calc(100% - 32px), 1240px);
	}

	.finaf-ui-hero-grid,
	.finaf-ui-trust-grid {
		grid-template-columns: 1fr;
	}

	.finaf-ui-evidence-card {
		max-width: 560px;
	}

	.finaf-ui-institution-grid,
	.finaf-ui-recent-grid {
		grid-template-columns: 1fr;
	}

	.finaf-ui-trust-points {
		grid-template-columns: repeat(3, 1fr);
	}

	.finaf-ui-footer-main {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 36px 24px !important;
	}

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

	.finaf-ui-footer-bottom {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.finaf-ui-footer-legal {
		justify-content: flex-start;
	}

	.finaf-ui-footer-sponsor a {
		width: min(100%, 360px);
		flex-direction: column;
		gap: 14px;
		padding: 22px 24px;
	}

	.finaf-ui-footer-sponsor-copy {
		text-align: center;
	}
}

@media (max-width: 1220px) {
	.main-nav .finaf-ui-mobile-socials {
		display: block;
		grid-column: 1 / -1;
		margin-top: 6px;
		padding-top: 12px;
		border-top: 1px solid var(--fui-line);
	}

	.main-nav .finaf-ui-mobile-socials > .finaf-ui-socials {
		padding: 0 4px;
	}

	.main-nav .finaf-ui-mobile-socials .finaf-ui-socials__links {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.main-nav .finaf-ui-mobile-socials .finaf-ui-socials__links a {
		width: 100%;
		min-height: 44px;
		padding-inline: 8px;
	}
}

@media (max-width: 600px) {
	.site-container {
		width: min(calc(100% - 28px), 1240px);
	}

	.finaf-ui-hero {
		padding: 48px 0 45px;
	}

	.finaf-ui-hero-copy h1 {
		font-size: clamp(37px, 11vw, 48px);
		letter-spacing: -1px;
	}

	.finaf-ui-hero-copy > p {
		font-size: 15px;
	}

	.finaf-ui-search > div {
		flex-wrap: wrap;
	}

	.finaf-ui-search input {
		font-size: 13px;
	}

	.finaf-ui-search button {
		width: 100%;
	}

	.finaf-ui-shortcuts > span {
		width: 100%;
	}

	.finaf-ui-evidence-card {
		display: none;
	}

	.finaf-ui-section-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 9px;
	}

	.finaf-ui-needs-grid {
		grid-template-columns: 1fr 1fr;
		gap: 9px;
	}

	.finaf-ui-needs-grid > a {
		min-height: 210px;
		padding: 15px;
	}

	.finaf-ui-services-grid {
		gap: 9px;
	}

	.finaf-ui-services-grid > a {
		min-height: 205px;
		padding: 15px;
	}

	.finaf-ui-services-grid h3 {
		font-size: 16px;
	}

	.finaf-ui-services-grid p {
		font-size: 11px;
	}

	.finaf-ui-needs-grid h3 {
		font-size: 16px;
	}

	.finaf-ui-needs-grid p {
		display: none;
	}

	.finaf-ui-bank-grid {
		grid-template-columns: 1fr 1fr;
	}

	.finaf-ui-trust-points {
		grid-template-columns: 1fr;
	}

	.finaf-ui-trust-points > :is(div, a) {
		min-height: 145px;
	}

	.finaf-ui-magazine-grid {
		grid-template-columns: 1fr;
	}

	.finaf-ui-cta > .site-container {
		align-items: stretch;
		flex-direction: column;
		padding: 24px;
	}

	.finaf-ui-cta > .site-container > div:last-child {
		flex-direction: column;
		text-align: center;
	}

	.finaf-ui-footer-main {
		grid-template-columns: 1fr 1fr !important;
		gap: 32px 18px !important;
		padding: 44px 0 34px;
	}

	.finaf-ui-footer-brand,
	.finaf-ui-footer-about {
		grid-column: 1 / -1;
	}

	.finaf-ui-footer-brand > p {
		margin-top: 15px;
	}

	.finaf-ui-socials--footer .finaf-ui-socials__links {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.finaf-ui-socials--footer .finaf-ui-socials__links a {
		min-width: 0;
		padding-inline: 6px;
	}

	.finaf-ui-footer-group h2 {
		font-size: 16px;
	}

	.finaf-ui-footer-group a {
		min-height: 48px;
		font-size: 16px !important;
	}

	.finaf-ui-footer-link__icon {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
		border-radius: 10px;
	}

	.finaf-ui-footer-link__icon .finaf-ui-svg {
		width: 20px;
		height: 20px;
	}

	.finaf-ui-footer-bottom {
		padding-bottom: 28px;
	}

	.finaf-ui-footer-status {
		white-space: normal;
	}
}

@media (max-width: 390px) {
	.main-nav .finaf-ui-mobile-socials .finaf-ui-socials__links a span,
	.finaf-ui-socials--footer .finaf-ui-socials__links a span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

@media (max-width: 420px) {
	.finaf-ui-services-grid {
		grid-template-columns: 1fr;
	}

	.finaf-ui-services-grid > a {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.finaf-ui-home *,
	.finaf-ui-home *::before,
	.finaf-ui-home *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

/* ================================================================
   Internal pages — unified, review-first presentation (v1.2.0)
   Data, URLs, taxonomies and parent-theme behaviour remain untouched.
   ================================================================ */

body:not(.home) {
	--fui-content-width: 1240px;
	background:
		linear-gradient(180deg, rgba(231,244,240,.55), transparent 360px),
		var(--fui-page);
}

body:not(.home) main,
body:not(.home) .content-area {
	min-width: 0;
}

body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3 {
	color: var(--fui-navy);
	letter-spacing: -.35px;
}

body:not(.home) :where(input, select, textarea) {
	min-height: 46px;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius-sm);
	background: #fff;
	color: var(--fui-ink);
}

body:not(.home) :where(input, select, textarea):focus {
	border-color: var(--fui-green);
	outline: 3px solid rgba(8,119,101,.12);
	outline-offset: 1px;
}

/* Finaf is a review directory, not a comparison product. */
.bank-compare-toggle,
.afg-compare-dock,
.afg-account-compare-toggle,
.afg-transfer-compare-toggle,
.afg-digital-compare-toggle,
.afg-financing-compare-toggle,
.afg-card-compare-toggle,
.afg-deposits-compare-toggle,
.afg-account-compare-tray,
[class*="compare-tray"],
[data-compare-dock],
[data-account-compare-tray],
.single-afg_product .afg-product-compare,
.single-afg_product a[href*="/compare/"],
.single-afg_product button[class*="compare"] {
	display: none !important;
}

.afg-bank-rating-field {
	min-width: 0;
	margin: 18px 0;
	padding: 0;
	border: 0;
}

.afg-bank-rating-field legend {
	margin-bottom: 8px;
	color: var(--fui-ink);
	font-weight: 800;
}

.afg-bank-rating-help {
	display: block;
	margin-top: 7px;
	color: var(--fui-muted);
	font-size: 12px;
}

/* The contact-form honeypot must never be presented as a real user field. */
.affin-contact-form .affin-hp {
	display: none !important;
}

/* Shared archive heroes. */
:where(.afg-products-hero, .bank-directory-hero, .afg-services-hero, .finaf-magazine-hero) {
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 7vw, 82px) 0 clamp(42px, 6vw, 68px) !important;
	border-bottom: 1px solid var(--fui-line);
	background:
		radial-gradient(circle at 12% 18%, rgba(8,119,101,.14), transparent 28%),
		linear-gradient(145deg, #eef8f5, #fbfdfd 62%, #eef4f6) !important;
	color: var(--fui-ink) !important;
}

:where(.afg-products-hero, .bank-directory-hero, .afg-services-hero, .finaf-magazine-hero) h1 {
	max-width: 820px;
	margin: 0 0 14px;
	color: var(--fui-navy) !important;
	font-size: clamp(35px, 5vw, 55px) !important;
	font-weight: 900;
	line-height: 1.35;
	text-wrap: balance;
}

:where(.afg-products-hero, .bank-directory-hero, .afg-services-hero, .finaf-magazine-hero) p {
	max-width: 760px;
	margin: 0;
	color: var(--fui-muted) !important;
	font-size: clamp(15px, 1.6vw, 18px) !important;
	line-height: 2;
}

/* Financial services directory. */
.afg-services-directory {
	background: transparent !important;
}

body .afg-services-directory .afg-services-hero {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	block-size: auto !important;
	background:
		radial-gradient(circle at 12% 18%, rgba(8,119,101,.14), transparent 28%),
		linear-gradient(145deg, #eef8f5, #fbfdfd 62%, #eef4f6) !important;
}

.afg-services-hero > .site-container,
.afg-services-hero-copy {
	display: block !important;
	width: 100% !important;
	max-width: 1240px !important;
	margin-inline: auto !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body .afg-services-hero .afg-services-hero-copy {
	display: block !important;
	width: 100% !important;
	max-width: 820px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--fui-ink) !important;
	box-shadow: none !important;
	text-align: start !important;
	transform: none !important;
}

body .afg-services-hero .afg-services-hero-copy h1 {
	margin: 0 0 14px !important;
	color: var(--fui-navy) !important;
	font-size: clamp(35px, 5vw, 55px) !important;
	line-height: 1.35 !important;
	text-shadow: none !important;
}

body .afg-services-hero .afg-services-hero-copy p {
	max-width: 760px !important;
	margin: 0 !important;
	color: var(--fui-muted) !important;
	font-size: clamp(15px, 1.6vw, 18px) !important;
	line-height: 2 !important;
}

.afg-services-directory-content {
	padding-block: 34px 70px !important;
}

.afg-service-category-nav {
	display: flex !important;
	overflow-x: auto;
	gap: 9px !important;
	margin: 0 0 24px !important;
	padding: 6px 2px 12px !important;
	scrollbar-width: thin;
}

.afg-service-category-nav a {
	min-height: 42px;
	padding: 9px 15px !important;
	border: 1px solid var(--fui-line) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--fui-ink) !important;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.afg-service-category-nav a:hover,
.afg-service-category-nav a.is-active {
	border-color: var(--fui-green) !important;
	background: var(--fui-green-soft) !important;
	color: var(--fui-green-dark) !important;
}

.afg-services-directory .finaf-service-paths {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0,1fr)) !important;
	gap: 14px !important;
	margin: 0 0 26px !important;
}

.afg-services-directory .finaf-service-paths > a {
	display: grid !important;
	grid-template-columns: 48px 1fr auto !important;
	align-items: center !important;
	gap: 14px !important;
	min-height: 96px !important;
	padding: 18px !important;
	border: 1px solid var(--fui-line) !important;
	border-radius: var(--fui-radius) !important;
	background: #fff !important;
	box-shadow: 0 8px 24px rgba(16,51,59,.045) !important;
}

.finaf-path-icon,
.afg-service-icon {
	display: grid !important;
	place-items: center !important;
	width: 46px !important;
	height: 46px !important;
	border-radius: 13px !important;
	background: var(--fui-green-soft) !important;
	color: var(--fui-green) !important;
	font-size: 0 !important;
}

.finaf-path-icon::before,
.afg-service-icon::before {
	content: "";
	width: 23px;
	height: 23px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M8 12h4M8 16h7'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M8 12h4M8 16h7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.afg-services-result-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 16px !important;
	padding-top: 8px;
}

.afg-services-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0,1fr)) !important;
	gap: 16px !important;
}

.afg-service-card {
	display: flex !important;
	flex-direction: column;
	min-width: 0;
	padding: 20px !important;
	border: 1px solid var(--fui-line) !important;
	border-radius: var(--fui-radius) !important;
	background: #fff !important;
	box-shadow: 0 9px 28px rgba(16,51,59,.05) !important;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}

.afg-service-card:hover {
	transform: translateY(-3px);
	border-color: #b9d8cf !important;
	box-shadow: var(--fui-shadow) !important;
}

.afg-service-card-excerpt {
	color: var(--fui-muted) !important;
	line-height: 1.85;
}

.afg-service-bank-preview {
	margin-top: auto !important;
	padding-top: 16px;
}

.afg-service-card-cta {
	margin-top: 16px !important;
	border-top: 1px solid var(--fui-line);
	padding-top: 14px;
	color: var(--fui-green) !important;
	font-weight: 850;
}

/* Services directory: one clear decision per card, with semantic Finaf icons. */
.finaf-services-simple .afg-service-bank-preview {
	display: none !important;
}

.finaf-services-simple .finaf-path-icon::before,
.finaf-services-simple .afg-service-icon::before {
	display: none !important;
}

.finaf-services-simple :where(.finaf-path-icon, .afg-service-icon) .finaf-ui-svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.finaf-services-simple .afg-service-card {
	align-items: center;
	min-height: 285px;
	padding: 25px !important;
	text-align: center;
}

.finaf-services-simple .afg-service-card-head {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 13px;
	width: 100%;
}

.finaf-services-simple .afg-service-card-head > div:last-child {
	min-width: 0;
	width: 100%;
}

.finaf-services-simple .afg-service-icon {
	flex: 0 0 50px;
	width: 50px !important;
	height: 50px !important;
	margin: 0 !important;
}

.finaf-services-simple .afg-service-category {
	display: block;
	margin-bottom: 6px;
	color: var(--fui-green) !important;
	font-size: 11px;
	font-weight: 800;
}

.finaf-services-simple .afg-service-card h2 {
	margin: 0 !important;
	font-size: 20px !important;
	line-height: 1.55;
}

.finaf-services-simple .afg-service-card-excerpt {
	max-width: 38ch;
	margin: 12px auto 18px !important;
	font-size: 12px;
}

.finaf-services-simple .afg-service-card-cta {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-height: 44px;
	margin: auto auto 0 !important;
	padding: 9px 15px !important;
	border: 1px solid #c9e0da !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--fui-green) !important;
	box-shadow: none !important;
}

.finaf-services-simple .afg-service-card-cta:hover {
	border-color: var(--fui-green) !important;
	background: var(--fui-green-soft) !important;
}

.finaf-services-simple .finaf-provider-links {
	margin-top: clamp(42px, 6vw, 72px);
	padding-top: clamp(30px, 4vw, 46px);
	border-top: 1px solid var(--fui-line);
}

.finaf-services-simple .finaf-provider-links > header {
	margin-bottom: 20px;
}

.finaf-services-simple .finaf-provider-links > header span {
	color: var(--fui-green);
	font-size: 12px;
	font-weight: 850;
}

.finaf-services-simple .finaf-provider-links > header h2 {
	margin: 5px 0 7px;
	color: var(--fui-navy);
	font-size: clamp(24px, 3vw, 34px);
}

.finaf-services-simple .finaf-provider-links > header p {
	margin: 0;
	color: var(--fui-muted);
	font-size: 13px;
}

.finaf-services-simple .finaf-provider-links .finaf-service-paths {
	margin: 0 !important;
}

/* Product directories: accounts, financing, transfers and digital. */
:where(.afg-products-page, .afg-financing-page, .afg-transfer-page, .afg-digital-page) {
	background: transparent !important;
}

body .afg-products-hero .afg-products-hero-copy {
	max-width: 820px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--fui-ink) !important;
	box-shadow: none !important;
	text-align: start !important;
}

body :where(.afg-products-page, .afg-financing-page, .afg-transfer-page, .afg-digital-page) .afg-products-hero {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	block-size: auto !important;
}

body .afg-products-hero .afg-products-hero-copy :where(h1, h2) {
	color: var(--fui-navy) !important;
	text-shadow: none !important;
}

body .afg-products-hero .afg-products-hero-copy :where(p, li) {
	color: var(--fui-muted) !important;
}

/* Cards directory: keep the page intro plain and remove decorative card mockups. */
body .afg-cards-page .afg-cards-hero {
	height: auto !important;
	min-height: 0 !important;
	padding: clamp(30px, 5vw, 54px) 0 24px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body .afg-cards-page .afg-cards-hero::before,
body .afg-cards-page .afg-cards-hero::after {
	display: none !important;
}

body .afg-cards-page .afg-cards-hero .afg-products-hero-copy {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body .afg-cards-page .afg-card-visual {
	display: none !important;
}

:where(.afg-product-filters, .afg-financing-filters, .afg-transfer-filters, .afg-digital-filters) {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0,1fr)) !important;
	align-items: end !important;
	gap: 13px !important;
	margin: 26px auto !important;
	padding: 18px !important;
	border: 1px solid var(--fui-line) !important;
	border-radius: var(--fui-radius) !important;
	background: rgba(255,255,255,.96) !important;
	box-shadow: 0 12px 32px rgba(16,51,59,.06) !important;
}

:where(.afg-product-filters, .afg-financing-filters, .afg-transfer-filters, .afg-digital-filters) label {
	color: var(--fui-ink);
	font-size: 12px;
	font-weight: 800;
}

:where(.afg-bank-account-group, .afg-financing-card, .afg-transfer-card, .afg-digital-card, .afg-bank-account-product) {
	border-color: var(--fui-line) !important;
	border-radius: var(--fui-radius) !important;
	background: #fff !important;
	box-shadow: 0 9px 27px rgba(16,51,59,.045) !important;
}

:where(.afg-bank-account-product, .afg-financing-card, .afg-transfer-card, .afg-digital-card) {
	transition: border-color .2s, transform .2s, box-shadow .2s;
}

:where(.afg-bank-account-product, .afg-financing-card, .afg-transfer-card, .afg-digital-card):hover {
	transform: translateY(-2px);
	border-color: #b9d8cf !important;
	box-shadow: var(--fui-shadow) !important;
}

.afg-product-key-data {
	border-radius: 12px !important;
	background: #f5f9f8 !important;
}

.afg-bank-account-actions .afg-button:first-child,
.afg-financing-card .afg-button:first-of-type,
.afg-transfer-card .afg-button:first-of-type,
.afg-digital-card .afg-button:first-of-type {
	flex: 1;
}

/* Bank and provider directories. */
.bank-directory-shell {
	padding-block: 32px 72px !important;
}

.bank-directory-toolbar {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0,1fr)) !important;
	align-items: end;
	gap: 13px !important;
	margin-bottom: 22px !important;
	padding: 18px !important;
	border: 1px solid var(--fui-line) !important;
	border-radius: var(--fui-radius) !important;
	background: #fff !important;
	box-shadow: 0 12px 32px rgba(16,51,59,.055) !important;
}

.bank-directory-count {
	margin: 0 0 15px !important;
	color: var(--fui-muted) !important;
	font-weight: 750;
}

.bank-directory-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0,1fr)) !important;
	gap: 16px !important;
}

.bank-directory-card {
	padding: 20px !important;
	border: 1px solid var(--fui-line) !important;
	border-radius: var(--fui-radius) !important;
	background: #fff !important;
	box-shadow: 0 9px 28px rgba(16,51,59,.045) !important;
}

.bank-directory-logo {
	border: 1px solid var(--fui-line) !important;
	border-radius: 14px !important;
	background: #fff !important;
}

.bank-directory-fact,
.bank-directory-service,
.bank-directory-tag {
	border-radius: 9px !important;
	background: #f4f8f7 !important;
}

.bank-directory-actions .afg-button {
	width: 100%;
}

/* Institution profiles and detail pages. */
.bank-profile-v3-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(44px, 6vw, 72px) !important;
	background-color: var(--fui-navy);
}

.bank-profile-v3-logo {
	border-radius: 20px !important;
	box-shadow: 0 18px 42px rgba(0,0,0,.16) !important;
}

.bank-profile-v3-stats {
	margin-top: -24px !important;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius);
	background: #fff;
	box-shadow: var(--fui-shadow);
}

.bank-profile-v3-layout {
	gap: 22px !important;
	padding-block: 30px 70px !important;
}

.bank-profile-v3-nav {
	position: sticky;
	top: 88px;
	z-index: 6;
	overflow-x: auto;
	border: 1px solid var(--fui-line) !important;
	border-radius: 14px !important;
	background: rgba(255,255,255,.96) !important;
	box-shadow: 0 8px 24px rgba(16,51,59,.05);
	backdrop-filter: blur(10px);
}

.bank-profile-v3-product-card,
.bank-profile-v3-service-card {
	border-color: var(--fui-line) !important;
	border-radius: 14px !important;
	background: #fbfdfc !important;
}

.single-afg_product :where(.afg-product-hero, .afg-product-detail-hero),
.single-afg_service :where(.afg-service-hero, .afg-service-detail-hero) {
	background: linear-gradient(145deg, #edf7f4, #fff) !important;
}

.single-afg_product :where(.afg-product-section, .afg-product-sidebar-card),
.single-afg_service :where(.afg-service-stat-card, .afg-service-bank-row) {
	border-color: var(--fui-line) !important;
	border-radius: var(--fui-radius) !important;
	box-shadow: 0 9px 28px rgba(16,51,59,.045) !important;
}

.afg-official-source-button {
	width: 100%;
	background: var(--fui-navy) !important;
}

/* Magazine and editorial content. */
.finaf-magazine-layout {
	padding-block: 32px 70px !important;
}

.finaf-featured-story,
.finaf-article-card {
	border-color: var(--fui-line) !important;
	border-radius: var(--fui-radius) !important;
	box-shadow: 0 10px 30px rgba(16,51,59,.05) !important;
}

.finaf-featured-story {
	border-radius: var(--fui-radius-lg) !important;
}

.finaf-article-card h2,
.finaf-article-card h3 {
	line-height: 1.65;
}

.essential-page-wrap {
	max-width: 1040px !important;
}

.essential-page {
	border: 1px solid var(--fui-line) !important;
	border-radius: var(--fui-radius-lg) !important;
}

.essential-page-header {
	background: linear-gradient(145deg, #e8f5f1, #f9fcfb) !important;
}

@media (max-width: 1040px) {
	.afg-services-grid,
	.bank-directory-grid {
		grid-template-columns: repeat(2, minmax(0,1fr)) !important;
	}

	:where(.afg-product-filters, .afg-financing-filters, .afg-transfer-filters, .afg-digital-filters),
	.bank-directory-toolbar {
		grid-template-columns: repeat(2, minmax(0,1fr)) !important;
	}
}

@media (max-width: 720px) {
	:where(.afg-products-hero, .bank-directory-hero, .afg-services-hero, .finaf-magazine-hero) {
		padding-block: 38px 34px !important;
	}

	.afg-services-directory-content,
	.bank-directory-shell,
	.finaf-magazine-layout {
		padding-block: 22px 48px !important;
	}

	.afg-services-directory .finaf-service-paths,
	.afg-services-grid,
	.bank-directory-grid,
	:where(.afg-product-filters, .afg-financing-filters, .afg-transfer-filters, .afg-digital-filters),
	.bank-directory-toolbar {
		grid-template-columns: 1fr !important;
	}

	.afg-services-directory .finaf-service-paths > a {
		grid-template-columns: 44px 1fr !important;
	}

	.afg-services-directory .finaf-service-paths > a > :last-child {
		display: none;
	}

	.afg-service-card,
	.bank-directory-card {
		padding: 17px !important;
	}

	.bank-profile-v3-nav {
		top: 72px;
		margin-inline: -4px;
	}

	.bank-profile-v3-layout {
		padding-block: 22px 48px !important;
	}
}

/* Financing directory: goal-first filters with progressive disclosure. */
.finaf-financing-enhanced .afg-financing-model-bar {
	display: none !important;
}

.finaf-digital-enhanced .afg-digital-channel-bar {
	display: none !important;
}

.finaf-search-provider-group {
	margin-block: 0 48px;
}

.finaf-search-provider-card .afg-search-result-thumb.is-fallback {
	display: grid;
	place-items: center;
	background: var(--fui-green-soft);
	color: var(--fui-green-dark);
	font-weight: 900;
}

.finaf-financing-filters {
	display: block !important;
	padding: 22px !important;
}

.finaf-financing-filter-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.finaf-financing-filter-heading strong {
	display: block;
	font-size: 18px;
	line-height: 1.5;
	color: var(--fui-navy);
}

.finaf-financing-filter-heading small {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--fui-muted);
}

.finaf-financing-primary,
.finaf-financing-advanced {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.finaf-financing-advanced {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 14px;
	padding: 17px;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius-sm);
	background: #f8fbfa;
}

.finaf-financing-advanced[hidden] {
	display: none !important;
}

.finaf-financing-more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 46px;
	margin-top: 12px;
	padding: 9px 14px;
	border: 1px solid var(--fui-line);
	border-radius: var(--fui-radius-sm);
	background: #fff;
	color: var(--fui-green-dark);
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.finaf-financing-more:hover,
.finaf-financing-more:focus-visible {
	border-color: var(--fui-green);
	background: var(--fui-green-soft);
}

.finaf-financing-more small {
	font-size: 12px;
	color: var(--fui-muted);
}

.finaf-financing-more i {
	width: 9px;
	height: 9px;
	border-inline-end: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s ease;
}

.finaf-financing-more[aria-expanded="true"] i {
	transform: rotate(225deg);
}

.finaf-financing-filters > .afg-filter-actions {
	display: flex !important;
	justify-content: flex-end;
	margin-top: 16px;
}

.finaf-financing-filters > .afg-filter-actions .afg-button,
.finaf-financing-filters > .afg-filter-actions button {
	min-width: 180px;
}

.finaf-financing-active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: -3px 0 16px;
}

.finaf-financing-active a:not(.finaf-financing-reset) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 6px 10px;
	border: 1px solid #bcded5;
	border-radius: 999px;
	background: var(--fui-green-soft);
	color: var(--fui-green-dark);
	font-size: 12px;
	font-weight: 750;
	text-decoration: none;
}

.finaf-financing-active b {
	font-size: 17px;
	line-height: 1;
}

.finaf-financing-reset {
	padding: 7px 4px;
	color: var(--fui-muted);
	font-size: 12px;
	font-weight: 750;
}

@media (max-width: 1040px) {
	.finaf-financing-advanced {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.finaf-financing-filters {
		padding: 16px !important;
	}

	.finaf-financing-primary,
	.finaf-financing-advanced {
		grid-template-columns: 1fr;
	}

	.finaf-financing-advanced {
		padding: 13px;
	}

	.finaf-financing-filters > .afg-filter-actions,
	.finaf-financing-filters > .afg-filter-actions .afg-button,
	.finaf-financing-filters > .afg-filter-actions button {
		width: 100%;
	}
}
/* Finaf magazine v4 — active child-theme editorial landing. */
.finaf-mag-v4-masthead{padding:46px 0 34px;border-bottom:1px solid var(--fui-line);background:radial-gradient(circle at 14% 15%,rgba(8,119,101,.12),transparent 28%),#fff}
.finaf-mag-v4-masthead-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);align-items:end;gap:48px}
.finaf-mag-v4-kicker{display:block;margin-bottom:6px;color:var(--fui-green);font-size:13px;font-weight:850}
.finaf-mag-v4-masthead h1{margin:0;color:var(--fui-navy);font-size:clamp(38px,5vw,58px);line-height:1.3;letter-spacing:-1.5px}
.finaf-mag-v4-masthead p{max-width:650px;margin:8px 0 0;color:var(--fui-muted);font-size:17px;line-height:1.9}
.finaf-mag-v4-search{display:flex;align-items:center;gap:8px;padding:7px;border:1px solid #d0d5dd;border-radius:13px;background:#fff;box-shadow:0 12px 30px rgba(16,24,40,.06)}
.finaf-mag-v4-search input{min-width:0;width:100%;height:44px;padding-inline:12px;border:0;outline:0;background:transparent;color:var(--fui-navy);font:inherit}
.finaf-mag-v4-search button{min-width:78px;height:44px;border:0;border-radius:9px;background:var(--fui-green);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.finaf-mag-v4-search button:hover{background:var(--fui-green-dark)}
.finaf-mag-v4-topics{border-bottom:1px solid var(--fui-line);background:#fff}
.finaf-mag-v4-topic-scroll{display:flex;gap:8px;overflow-x:auto;padding-block:13px;scrollbar-width:thin}
.finaf-mag-v4-topic-scroll a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:38px;padding-inline:14px;border:1px solid transparent;border-radius:9px;color:var(--fui-muted);font-size:12px;font-weight:750}
.finaf-mag-v4-topic-scroll a:hover,.finaf-mag-v4-topic-scroll a.is-active{border-color:#b9dbd2;background:var(--fui-green-soft);color:var(--fui-green)}
.finaf-mag-v4-main{padding-block:54px 84px}
.finaf-mag-v4-lead-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.72fr);gap:20px}
.finaf-mag-v4-lead-story{position:relative;min-height:506px;overflow:hidden;display:flex;align-items:end;border-radius:22px;background:#123e3a;color:#fff}
.finaf-mag-v4-lead-story:after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(0deg,rgba(7,18,38,.96),rgba(7,18,38,.22) 62%,rgba(7,18,38,.04))}
.finaf-mag-v4-lead-media{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#8fd0c1,#dff2ed 52%,#f3dfbf);color:#fff;font-size:74px;font-weight:900}
.finaf-mag-v4-lead-media img{width:100%;height:100%;object-fit:cover}
.finaf-mag-v4-lead-copy{position:relative;z-index:2;max-width:680px;padding:34px}
.finaf-mag-v4-label{display:inline-flex;align-items:center;min-height:28px;padding-inline:10px;border-radius:7px;background:rgba(255,255,255,.16);color:#fff;font-size:11px;font-weight:800}
.finaf-mag-v4-lead-copy h2{max-width:620px;margin:10px 0 8px;font-size:clamp(28px,4vw,43px);line-height:1.45;letter-spacing:-.6px}.finaf-mag-v4-lead-copy h2 a{color:#fff}
.finaf-mag-v4-lead-copy p{max-width:600px;margin:0 0 10px;color:#d6dfec;font-size:15px;line-height:1.85}
.finaf-mag-v4-meta{color:#657b82;font-size:11px}.finaf-mag-v4-lead-copy .finaf-mag-v4-meta{color:#c0ccdc}
.finaf-mag-v4-side-stories{display:grid;grid-template-rows:repeat(3,1fr);gap:14px}
.finaf-mag-v4-side-story{display:grid;grid-template-columns:128px minmax(0,1fr);min-height:0;overflow:hidden;border:1px solid var(--fui-line);border-radius:16px;background:#fff}
.finaf-mag-v4-side-media{display:grid;place-items:center;min-height:100%;overflow:hidden;background:var(--fui-green-soft);color:var(--fui-green);font-size:34px;font-weight:900}.finaf-mag-v4-side-media img{width:100%;height:100%;object-fit:cover}
.finaf-mag-v4-side-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:16px}.finaf-mag-v4-side-copy>span,.finaf-mag-v4-latest-copy>span{color:var(--fui-green);font-size:10px;font-weight:850}
.finaf-mag-v4-side-copy h3{margin:4px 0 7px;color:var(--fui-navy);font-size:16px;line-height:1.55}.finaf-mag-v4-side-copy h3 a{color:inherit}
.finaf-mag-v4-section{margin-top:76px}.finaf-mag-v4-section.is-filtered{margin-top:0}
.finaf-mag-v4-section-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:22px}
.finaf-mag-v4-section-head h2{margin:0;color:var(--fui-navy);font-size:29px;line-height:1.45;letter-spacing:-.45px}.finaf-mag-v4-section-head p{max-width:570px;margin:4px 0 0;color:var(--fui-muted);font-size:14px}
.finaf-mag-v4-section-link{flex:0 0 auto;color:var(--fui-green);font-size:13px;font-weight:850}
.finaf-mag-v4-needs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.finaf-mag-v4-need{display:grid;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:13px;min-height:118px;padding:19px;border:1px solid var(--fui-line);border-radius:14px;background:#fff;color:var(--fui-ink);transition:transform .18s,border-color .18s}
.finaf-mag-v4-need:hover{border-color:#9acdc2;transform:translateY(-2px)}
.finaf-mag-v4-need-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:var(--fui-green-soft);color:var(--fui-green);font-size:17px;font-weight:850}
.finaf-mag-v4-need strong,.finaf-mag-v4-need small{display:block}.finaf-mag-v4-need strong{color:var(--fui-navy);font-size:15px}.finaf-mag-v4-need small{margin-top:2px;color:var(--fui-muted);font-size:11px;line-height:1.65}.finaf-mag-v4-arrow{color:var(--fui-green);font-size:18px}
.finaf-mag-v4-security{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:24px;padding:30px;border:1px solid #f1d69a;border-radius:18px;background:#fff9ea}
.finaf-mag-v4-security .finaf-mag-v4-kicker{color:#9a6200}.finaf-mag-v4-security h2{margin:2px 0 8px;color:#3d2d0d;font-size:27px}.finaf-mag-v4-security p{margin:0;color:#765c26;font-size:14px}
.finaf-mag-v4-security-list{display:grid;gap:8px}.finaf-mag-v4-security-list a{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:8px 13px;border-radius:9px;background:rgba(255,255,255,.78);color:#4f3b13;font-size:13px;font-weight:750}
.finaf-mag-v4-latest-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.1fr) minmax(300px,.9fr);grid-template-rows:repeat(4,1fr);gap:0 17px}
.finaf-mag-v4-latest-story{background:#fff}.finaf-mag-v4-latest-story.is-visual{grid-row:1/5;overflow:hidden;border:1px solid var(--fui-line);border-radius:16px}.finaf-mag-v4-latest-story.is-visual:nth-child(1){grid-column:1}.finaf-mag-v4-latest-story.is-visual:nth-child(2){grid-column:2}
.finaf-mag-v4-latest-story.is-compact{grid-column:3;display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:center;padding-block:13px;border-bottom:1px solid var(--fui-line)}
.finaf-mag-v4-latest-media{display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;background:var(--fui-green-soft);color:var(--fui-green);font-size:46px;font-weight:900}.finaf-mag-v4-latest-media img{width:100%;height:100%;object-fit:cover}
.finaf-mag-v4-latest-copy{padding:18px}.finaf-mag-v4-latest-story.is-compact .finaf-mag-v4-latest-copy{padding:0}
.finaf-mag-v4-latest-copy h3{margin:5px 0 10px;color:var(--fui-navy);font-size:18px;line-height:1.6}.finaf-mag-v4-latest-story.is-compact h3{margin:2px 0 4px;font-size:14px;line-height:1.55}.finaf-mag-v4-latest-copy h3 a{color:inherit}
.finaf-mag-v4-list-number{color:#8ca09f;font-size:20px;font-weight:750}
.finaf-mag-v4-latest-grid.is-results{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:16px}.finaf-mag-v4-latest-grid.is-results .finaf-mag-v4-latest-story{grid-column:auto;grid-row:auto}.finaf-mag-v4-latest-grid.is-results .is-compact{min-height:135px;padding:18px;border:1px solid var(--fui-line);border-radius:14px}
.finaf-mag-v4-path{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.6fr);overflow:hidden;border:1px solid #b9dbd2;border-radius:18px;background:#fff}
.finaf-mag-v4-path-intro{padding:30px;background:var(--fui-green-soft)}.finaf-mag-v4-path-intro h2{margin:4px 0 9px;color:#123e3a;font-size:27px;line-height:1.5}.finaf-mag-v4-path-intro p{margin:0;color:#526780;font-size:13px}
.finaf-mag-v4-path-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:25px}.finaf-mag-v4-path-steps a{padding:8px 13px;border-inline-start:1px solid var(--fui-line)}.finaf-mag-v4-path-steps b{display:grid;place-items:center;width:28px;height:28px;margin-bottom:9px;border-radius:50%;background:var(--fui-green);color:#fff;font-size:11px}.finaf-mag-v4-path-steps strong{display:block;color:var(--fui-navy);font-size:12px;line-height:1.65}
.finaf-mag-v4-services-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.finaf-mag-v4-services-grid>a{display:flex;flex-direction:column;min-height:176px;padding:19px;border:1px solid var(--fui-line);border-radius:14px;background:#fff}.finaf-mag-v4-services-grid i{display:grid;place-items:center;width:38px;height:38px;margin-bottom:14px;border-radius:10px;background:var(--fui-green-soft);color:var(--fui-green);font-style:normal;font-weight:850}.finaf-mag-v4-services-grid strong{color:var(--fui-navy);font-size:15px}.finaf-mag-v4-services-grid small{display:block;margin:5px 0 12px;color:var(--fui-muted);font-size:11px;line-height:1.65}.finaf-mag-v4-services-grid span{margin-top:auto;color:var(--fui-green);font-size:11px;font-weight:850}
.finaf-mag-v4-trust{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:36px;padding:34px;border-radius:18px;background:var(--fui-navy);color:#fff}.finaf-mag-v4-trust h2{margin:0 0 7px;color:#fff;font-size:25px}.finaf-mag-v4-trust p{max-width:760px;margin:0;color:#c4cedb;font-size:13px}.finaf-mag-v4-trust>div:last-child{display:flex;flex-wrap:wrap;justify-content:end;gap:10px}.finaf-mag-v4-trust a{display:inline-flex;align-items:center;min-height:42px;padding-inline:14px;border:1px solid rgba(255,255,255,.2);border-radius:9px;color:#fff;font-size:11px;font-weight:800}
.finaf-mag-v4-empty{display:grid;justify-items:center;gap:7px;padding:42px;border:1px dashed #b9c1ce;border-radius:14px;background:#fff;color:var(--fui-muted);text-align:center}.finaf-mag-v4-empty strong{color:var(--fui-navy);font-size:20px}.finaf-mag-v4-empty a{margin-top:8px;color:var(--fui-green);font-weight:800}
.finaf-mag-v4-main :focus-visible{outline:3px solid #43b7a4;outline-offset:3px}
@media(max-width:980px){.finaf-mag-v4-masthead-grid{grid-template-columns:1fr;gap:24px}.finaf-mag-v4-search{max-width:560px}.finaf-mag-v4-lead-grid{grid-template-columns:1fr}.finaf-mag-v4-side-stories{grid-template-columns:repeat(3,1fr);grid-template-rows:none}.finaf-mag-v4-side-story{grid-template-columns:1fr}.finaf-mag-v4-side-media{min-height:112px}.finaf-mag-v4-needs-grid{grid-template-columns:repeat(2,1fr)}.finaf-mag-v4-latest-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:17px}.finaf-mag-v4-latest-story.is-visual,.finaf-mag-v4-latest-story.is-compact{grid-column:auto;grid-row:auto}.finaf-mag-v4-latest-story.is-compact{min-height:105px;padding:13px;border:1px solid var(--fui-line);border-radius:13px}.finaf-mag-v4-latest-grid.is-results{grid-template-columns:repeat(2,1fr)}.finaf-mag-v4-path{grid-template-columns:1fr}.finaf-mag-v4-path-steps{overflow-x:auto}.finaf-mag-v4-path-steps a{min-width:150px}.finaf-mag-v4-services-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.finaf-mag-v4-masthead{padding:31px 0 25px}.finaf-mag-v4-masthead h1{font-size:37px}.finaf-mag-v4-masthead p{font-size:14px}.finaf-mag-v4-main{padding-block:28px 58px}.finaf-mag-v4-lead-story{min-height:480px}.finaf-mag-v4-lead-copy{padding:22px}.finaf-mag-v4-lead-copy h2{font-size:29px}.finaf-mag-v4-lead-copy p{font-size:13px}.finaf-mag-v4-side-stories{grid-template-columns:1fr}.finaf-mag-v4-side-story{grid-template-columns:102px 1fr}.finaf-mag-v4-side-media{min-height:128px}.finaf-mag-v4-section{margin-top:54px}.finaf-mag-v4-section-head{align-items:start}.finaf-mag-v4-section-head h2{font-size:24px}.finaf-mag-v4-section-head p{font-size:12px}.finaf-mag-v4-section-link{font-size:11px}.finaf-mag-v4-needs-grid{grid-template-columns:1fr}.finaf-mag-v4-need{min-height:104px}.finaf-mag-v4-security{grid-template-columns:1fr;padding:22px}.finaf-mag-v4-security h2{font-size:23px}.finaf-mag-v4-latest-grid,.finaf-mag-v4-latest-grid.is-results{grid-template-columns:1fr}.finaf-mag-v4-path-intro{padding:23px}.finaf-mag-v4-path-steps{padding:18px}.finaf-mag-v4-services-grid{grid-template-columns:1fr 1fr}.finaf-mag-v4-services-grid>a{min-height:164px;padding:16px}.finaf-mag-v4-trust{grid-template-columns:1fr;padding:24px}.finaf-mag-v4-trust>div:last-child{justify-content:start}}
@media(max-width:390px){.finaf-mag-v4-services-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.finaf-mag-v4-need{transition:none}}

/* Magazine v4 mobile hardening — prevent desktop grids and fixed content from
   creating a squeezed or horizontally scrolling experience on phones. */
.finaf-mag-v4-masthead,
.finaf-mag-v4-topics {
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}

.finaf-mag-v4-main {
	max-width: 100%;
	overflow-x: clip;
}

.finaf-mag-v4-masthead-grid > *,
.finaf-mag-v4-lead-grid > *,
.finaf-mag-v4-side-story > *,
.finaf-mag-v4-latest-grid > *,
.finaf-mag-v4-security > *,
.finaf-mag-v4-path > *,
.finaf-mag-v4-trust > * {
	min-width: 0;
}

.finaf-mag-v4-main :where(img, video, iframe) {
	display: block;
	max-width: 100%;
}

.finaf-mag-v4-main :where(h1, h2, h3, p, a, strong, small) {
	overflow-wrap: anywhere;
}

@media (max-width: 680px) {
	.finaf-mag-v4-masthead .site-container,
	.finaf-mag-v4-topics .site-container,
	.finaf-mag-v4-main.site-container {
		width: calc(100% - 28px);
		max-width: 100%;
		margin-inline: auto;
	}

	.finaf-mag-v4-masthead-grid {
		gap: 18px;
	}

	.finaf-mag-v4-masthead h1 {
		font-size: clamp(31px, 10vw, 37px);
		letter-spacing: -.7px;
	}

	.finaf-mag-v4-search {
		width: 100%;
		max-width: none;
	}

	.finaf-mag-v4-search button {
		flex: 0 0 auto;
		min-width: 72px;
	}

	.finaf-mag-v4-topic-scroll {
		margin-inline: -14px;
		padding-inline: 14px;
		scroll-snap-type: inline proximity;
	}

	.finaf-mag-v4-topic-scroll a {
		scroll-snap-align: start;
	}

	.finaf-mag-v4-lead-story {
		min-height: 0;
		aspect-ratio: 4 / 5;
		border-radius: 17px;
	}

	.finaf-mag-v4-lead-copy {
		width: 100%;
		padding: 20px;
	}

	.finaf-mag-v4-lead-copy h2 {
		font-size: clamp(24px, 7.5vw, 29px);
		line-height: 1.5;
	}

	.finaf-mag-v4-side-story {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.finaf-mag-v4-side-media {
		min-height: 116px;
	}

	.finaf-mag-v4-side-copy {
		padding: 13px;
	}

	.finaf-mag-v4-section-head {
		align-items: start;
		flex-direction: column;
		gap: 8px;
	}

	.finaf-mag-v4-section-link {
		align-self: start;
	}

	/* The desktop nth-child placement has higher specificity than the generic
	   tablet reset. Pin every latest story to the sole mobile column. */
	.finaf-mag-v4-latest-grid > .finaf-mag-v4-latest-story,
	.finaf-mag-v4-latest-grid > .finaf-mag-v4-latest-story.is-visual:nth-child(1),
	.finaf-mag-v4-latest-grid > .finaf-mag-v4-latest-story.is-visual:nth-child(2),
	.finaf-mag-v4-latest-grid > .finaf-mag-v4-latest-story.is-compact {
		grid-column: 1;
		grid-row: auto;
	}

	.finaf-mag-v4-path-steps {
		grid-template-columns: 1fr;
		overflow: visible;
		padding: 10px 18px 18px;
	}

	.finaf-mag-v4-path-steps a {
		min-width: 0;
		padding: 14px 0;
		border-inline-start: 0;
		border-bottom: 1px solid var(--fui-line);
	}

	.finaf-mag-v4-path-steps a:last-child {
		border-bottom: 0;
	}

	.finaf-mag-v4-trust > div:last-child,
	.finaf-mag-v4-trust a {
		width: 100%;
	}

	.finaf-mag-v4-trust a {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.finaf-mag-v4-services-grid {
		grid-template-columns: 1fr;
	}

	.finaf-mag-v4-services-grid > a {
		min-height: 0;
	}

	.finaf-mag-v4-need {
		grid-template-columns: 38px minmax(0, 1fr) 18px;
		gap: 10px;
		padding: 15px;
	}

	.finaf-mag-v4-need-mark {
		width: 38px;
		height: 38px;
	}
}

/* Finaf semantic icon system v1 — one line style and one meaning per glyph. */
.finaf-mag-v4-need-mark,
.finaf-mag-v4-service-icon {
	transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.finaf-mag-v4-need-mark .finaf-ui-svg {
	width: 23px;
	height: 23px;
}

.finaf-mag-v4-service-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 14px;
	border-radius: 11px;
	background: var(--fui-green-soft);
	color: var(--fui-green);
}

.finaf-mag-v4-services-grid .finaf-mag-v4-service-icon {
	margin-top: 0;
	margin-bottom: 14px;
}

.finaf-mag-v4-service-icon .finaf-ui-svg {
	width: 22px;
	height: 22px;
}

.finaf-mag-v4-need:hover .finaf-mag-v4-need-mark,
.finaf-mag-v4-services-grid > a:hover .finaf-mag-v4-service-icon {
	background: var(--fui-green);
	color: #fff;
	transform: translateY(-1px);
}

.finaf-mag-v4-arrow {
	display: grid;
	place-items: center;
}

.finaf-mag-v4-security-list a > span:last-child {
	flex: 0 0 auto;
	color: var(--fui-green);
}

.finaf-mag-v4-service-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.finaf-mag-v4-service-link .finaf-ui-svg {
	width: 15px;
	height: 15px;
}

.finaf-mag-v4-lead-media > span .finaf-ui-svg {
	width: 64px;
	height: 64px;
}

.finaf-mag-v4-side-media > span .finaf-ui-svg {
	width: 34px;
	height: 34px;
}

.finaf-mag-v4-latest-media > span .finaf-ui-svg {
	width: 46px;
	height: 46px;
}

/* Exchanges: clean, consistent presentation without changing page content or links. */
body.page-id-843 .finaf-exchanges .grid > p:empty {
	display: none !important;
}

body.page-id-843 .finaf-exchanges .card {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center !important;
}

@media (max-width: 760px) {
	body.page-id-843 .essential-page-content,
	body.page-id-843 .finaf-exchanges {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.page-id-843 .finaf-exchanges {
		overflow: hidden !important;
	}

	body.page-id-843 .finaf-exchanges .hero {
		min-height: 0 !important;
		padding: 30px 20px !important;
		border-radius: 18px !important;
		background: linear-gradient(145deg, #087765 0%, #056252 100%) !important;
		text-align: center !important;
	}

	body.page-id-843 .finaf-exchanges .hero::before,
	body.page-id-843 .finaf-exchanges .hero::after,
	body.page-id-843 .finaf-exchanges .currency-stack {
		display: none !important;
	}

	body.page-id-843 .finaf-exchanges .hero .eyebrow {
		display: table !important;
		margin-inline: auto !important;
	}

	body.page-id-843 .finaf-exchanges .hero h2 {
		max-width: 18ch !important;
		margin-inline: auto !important;
		font-size: clamp(25px, 7.6vw, 32px) !important;
		line-height: 1.45 !important;
		text-align: center !important;
	}

	body.page-id-843 .finaf-exchanges .hero p {
		max-width: 34ch !important;
		margin-inline: auto !important;
		font-size: 14px !important;
		line-height: 1.9 !important;
		text-align: center !important;
	}

	body.page-id-843 .finaf-exchanges .section {
		margin-block: 32px !important;
	}

	body.page-id-843 .finaf-exchanges .section > h3 {
		margin-bottom: 18px !important;
		font-size: 21px !important;
		line-height: 1.65 !important;
		text-align: center !important;
	}

	body.page-id-843 .finaf-exchanges .grid,
	body.page-id-843 .finaf-exchanges .checklist {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 10px !important;
	}

	body.page-id-843 .finaf-exchanges .card {
		min-height: 180px !important;
		padding: 20px !important;
		border-radius: 16px !important;
	}

	body.page-id-843 .finaf-exchanges .card strong {
		font-size: 17px !important;
		line-height: 1.6 !important;
	}

	body.page-id-843 .finaf-exchanges .card span {
		max-width: 34ch;
		font-size: 13px !important;
		line-height: 1.85 !important;
	}

	body.page-id-843 .finaf-exchanges .checklist li {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-height: 58px !important;
		padding: 13px 16px !important;
		text-align: center !important;
	}

	body.page-id-843 .finaf-exchanges .submit-box {
		padding: 24px 18px !important;
		border-radius: 18px !important;
		text-align: center !important;
	}

	body.page-id-843 .finaf-exchanges .submit-box h3,
	body.page-id-843 .finaf-exchanges .submit-box p,
	body.page-id-843 .finaf-exchanges .note {
		text-align: center !important;
	}

	body.page-id-843 .finaf-exchanges .actions {
		justify-content: center !important;
	}

	body.page-id-843 .finaf-exchanges .actions br {
		display: none !important;
	}

	body.page-id-843 .finaf-exchanges .actions .btn {
		width: 100% !important;
		justify-content: center !important;
		text-align: center !important;
	}

body.page-id-843 .finaf-exchanges .note {
		border-right: 0 !important;
		border-top: 4px solid #e0a82e !important;
	}
}

/* Dark-mode compatibility layer for legacy parent-theme rules using !important. */
html[data-finaf-theme="dark"] .site-header {
	border-bottom-color: var(--fui-line) !important;
	background: rgba(9, 29, 38, .96) !important;
	box-shadow: 0 8px 28px rgba(0,0,0,.22) !important;
}

html[data-finaf-theme="dark"] :where(.site-brand-title, .site-brand-subtitle, .main-nav a, .header-actions button, .header-actions a) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(.main-nav a:hover, .main-nav a:focus-visible, .main-nav .current-menu-item > a) {
	border-color: var(--fui-line) !important;
	background: var(--fui-green-soft) !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] :where(.header-search-toggle, .mobile-nav-toggle, .finaf-theme-toggle) {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(.afg-services-hero, .finaf-home-intro) {
	background: radial-gradient(circle at 12% 14%, rgba(99,216,195,.12), transparent 28%), linear-gradient(145deg, #0a2029, #0d2731) !important;
}

html[data-finaf-theme="dark"] :where(.afg-services-hero-copy h1, .afg-services-hero-copy h2, .afg-services-hero-copy p) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(.afg-service-category-nav, .bank-profile-v3-nav) {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	box-shadow: var(--fui-shadow) !important;
}

html[data-finaf-theme="dark"] .afg-service-category-nav a:not(.is-active) {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(.fkb-term, .fkb-term-hero, .bank-profile-v3-stats, .bank-profile-v3-product-card, .bank-profile-v3-service-card) {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
	box-shadow: var(--fui-shadow) !important;
}

html[data-finaf-theme="dark"] .fkb-term :where(h1, h2, h3, strong) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .fkb-term :where(p, .fkb-aliases, .fkb-prose) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] .bank-profile-v3-stats > div {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .site-brand-title,
html[data-finaf-theme="dark"] .site-brand-subtitle,
html[data-finaf-theme="dark"] .main-nav a {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .afg-services-hero {
	border-bottom-color: var(--fui-line) !important;
	background: radial-gradient(circle at 12% 14%, rgba(99,216,195,.12), transparent 28%), linear-gradient(145deg, #0a2029, #0d2731) !important;
}

html[data-finaf-theme="dark"] .afg-services-hero-copy h1,
html[data-finaf-theme="dark"] .afg-services-hero-copy h2,
html[data-finaf-theme="dark"] .afg-services-hero-copy p {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .fkb-term,
html[data-finaf-theme="dark"] .fkb-term-hero,
html[data-finaf-theme="dark"] .bank-profile-v3-stats {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .finaf-header-wordmark strong {
	color: #f4fbfc !important;
}

html[data-finaf-theme="dark"] .finaf-header-wordmark small {
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] .afg-service-card :where(h2, h2 a, h3, h3 a) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .afg-service-card :where(p, .afg-service-card-excerpt) {
	color: var(--fui-muted) !important;
}

/* Homepage polish: centred hero, standard icons and complete dark surfaces. */
.finaf-ui-hero-copy {
	text-align: center;
}

.finaf-ui-hero-copy h1,
.finaf-ui-hero-copy > p,
.finaf-ui-hero-copy .finaf-ui-search {
	margin-inline: auto;
}

.finaf-ui-hero-copy .finaf-ui-search > label {
	text-align: center;
}

.finaf-ui-hero-copy .finaf-ui-shortcuts {
	justify-content: center;
}

.header-search-toggle .finaf-header-search-icon::before,
.header-search-toggle .finaf-header-search-icon::after {
	content: none !important;
	display: none !important;
}

.header-search-toggle .finaf-header-search-icon .finaf-ui-svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

html[data-finaf-theme="dark"] .mobile-nav-toggle span,
html[data-finaf-theme="dark"] .mobile-nav-toggle::before,
html[data-finaf-theme="dark"] .mobile-nav-toggle::after {
	background: currentColor !important;
}

.mobile-nav-toggle.finaf-mobile-menu-toggle::before,
.mobile-nav-toggle.finaf-mobile-menu-toggle::after {
	content: none !important;
	display: none !important;
}

.mobile-nav-toggle.finaf-mobile-menu-toggle .finaf-ui-svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

html[data-finaf-theme="dark"] .finaf-ui-needs-grid > a {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .finaf-ui-needs-grid h3 {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .finaf-ui-needs-grid :where(small, p) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] .finaf-ui-needs-grid b {
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] .finaf-ui-magazine {
	background: var(--fui-page) !important;
}

html[data-finaf-theme="dark"] .finaf-ui-magazine-grid article {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .finaf-ui-magazine :where(.finaf-ui-section-head h2, .finaf-ui-magazine-grid h3, .finaf-ui-magazine-grid h3 a) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .finaf-ui-magazine-grid :where(small, p) {
	color: var(--fui-muted) !important;
}

/* Site-wide hero alignment and dark-mode readability audit — v1.9.0. */
:where(
	.bank-directory-hero,
	.afg-products-hero-copy,
	.afg-services-hero-copy,
	.finaf-mag-v4-masthead,
	.fkb-hero-copy,
	.fkb-term-hero,
	.afg-product-detail-title,
	.afg-service-single-title,
	.bank-profile-v3-heading,
	.essential-page-header,
	.afg-search-page-hero
) {
	text-align: center !important;
}

:where(.bank-directory-hero, .afg-products-hero-copy, .afg-services-hero-copy, .afg-search-page-hero) :where(h1, p),
.afg-product-detail-title :where(h1, .afg-product-single-summary),
.afg-service-single-title :where(h1, .afg-service-single-summary) {
	margin-inline: auto !important;
}

.afg-products-hero-copy,
body .afg-services-hero .afg-services-hero-copy {
	margin-inline: auto !important;
	text-align: center !important;
}

:where(.afg-product-hero-actions, .bank-profile-v3-kickers) {
	justify-content: center !important;
}

.finaf-mag-v4-masthead-grid {
	grid-template-columns: 1fr !important;
	gap: 22px !important;
	text-align: center !important;
}

.finaf-mag-v4-masthead :where(h1, p),
.finaf-mag-v4-search {
	margin-inline: auto !important;
}

.fkb-hero-inner {
	grid-template-columns: 1fr !important;
	gap: 24px !important;
	text-align: center !important;
}

.fkb-hero-copy :where(h1, p),
.fkb-search {
	margin-inline: auto !important;
}

.fkb-term-hero {
	display: flex !important;
	align-items: center !important;
	flex-direction: column !important;
	justify-content: center !important;
	gap: 12px !important;
}

.fkb-term-hero-icon {
	margin: 0 auto !important;
}

.fkb-breadcrumb {
	justify-content: center !important;
	text-align: center !important;
}

.afg-service-single-title .afg-service-icon--hero {
	margin-inline: auto !important;
}

.afg-service-single-en {
	text-align: center !important;
}

.afg-search-page-form {
	margin-inline: auto !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-hero,
	.afg-products-hero,
	.afg-services-hero,
	.afg-product-detail-hero,
	.afg-service-single-hero,
	.afg-search-page-hero,
	.essential-page-header
) {
	border-color: var(--fui-line) !important;
	background: radial-gradient(circle at 12% 16%, rgba(99,216,195,.13), transparent 29%), linear-gradient(145deg, #0a2029, #0d2731) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-hero,
	.afg-products-hero,
	.afg-services-hero,
	.afg-product-detail-hero,
	.afg-service-single-hero,
	.afg-search-page-hero,
	.essential-page-header
) :where(h1, h2, h3, strong) {
	color: var(--fui-ink) !important;
	text-shadow: none !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-hero,
	.afg-products-hero,
	.afg-services-hero,
	.afg-product-detail-hero,
	.afg-service-single-hero,
	.afg-search-page-hero,
	.essential-page-header
) :where(p, small, .afg-product-single-en, .afg-service-single-en) {
	color: var(--fui-muted) !important;
	text-shadow: none !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-toolbar,
	.afg-product-filters,
	.afg-financing-filters,
	.afg-transfer-filters,
	.afg-digital-filters,
	.afg-product-bank-panel--detail,
	.afg-service-stat-card,
	.afg-search-page-summary,
	.afg-search-result-card,
	.afg-product-section,
	.afg-product-sidebar-card,
	.afg-service-bank-row,
	.essential-page
) {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
	box-shadow: var(--fui-shadow) !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-card,
	.afg-bank-account-group,
	.afg-financing-card,
	.afg-transfer-card,
	.afg-digital-card,
	.afg-bank-account-product,
	.afg-currency-card
) {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-card,
	.afg-bank-account-group,
	.afg-financing-card,
	.afg-transfer-card,
	.afg-digital-card,
	.afg-bank-account-product,
	.afg-product-section,
	.afg-search-result-card,
	.essential-page
) :where(h1, h2, h3, h4, strong, a:not(.afg-button)) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-card,
	.afg-bank-account-group,
	.afg-financing-card,
	.afg-transfer-card,
	.afg-digital-card,
	.afg-bank-account-product,
	.afg-product-section,
	.afg-search-result-card,
	.essential-page-content
) :where(p, small, li, .muted, .bank-en) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] :where(.bank-directory-fact, .bank-directory-service, .bank-directory-tag, .afg-product-decision-strip, .afg-product-anchor-nav) {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(.bank-filter-field, .afg-filter-field) label,
html[data-finaf-theme="dark"] .bank-directory-count,
html[data-finaf-theme="dark"] .afg-search-page-summary span {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] .essential-page-content :where(h2, h3, h4, strong) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .notice-box {
	border-color: #9b762e !important;
	background: #2b2415 !important;
	color: #e8d3a2 !important;
}

@media (max-width: 700px) {
	.afg-product-detail-hero-inner,
	.afg-service-single-hero-inner,
	.bank-profile-v3-hero-inner {
		text-align: center !important;
	}

	.bank-profile-v3-identity {
		align-items: center !important;
	}

	.bank-profile-v3-hero-actions {
		align-items: stretch !important;
	}
}

/* Final conflict fixes from the live cross-page audit — v1.9.1. */
:where(
	.bank-directory-hero,
	.afg-products-hero-copy,
	.afg-services-hero-copy,
	.finaf-mag-v4-masthead,
	.fkb-hero-copy,
	.fkb-term-hero,
	.afg-product-detail-title,
	.afg-service-single-title,
	.bank-profile-v3-heading,
	.essential-page-header,
	.afg-search-page-hero
) :where(h1, h2) {
	text-align: center !important;
}

html[data-finaf-theme="dark"] .afg-product-single {
	background: var(--fui-page) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .afg-product-breadcrumbs :where(a, span) {
	color: var(--fui-muted) !important;
}

/* Complete dark-surface pass — archives, cards, forms and detail pages (v1.9.3). */
html[data-finaf-theme="dark"] :where(
	.bank-directory-shell,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page,
	.afg-services-directory,
	.finaf-mag-v4-main,
	.essential-page-content
) {
	background: var(--fui-page) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-toolbar,
	.bank-directory-card,
	.afg-bank-account-group,
	.afg-bank-account-products,
	.afg-bank-account-product,
	.afg-deposits-model-bar,
	.afg-deposits-card,
	.afg-financing-purpose-block,
	.afg-financing-card,
	.afg-card-product,
	.afg-transfer-methods-toolbar,
	.afg-transfer-method-group,
	.afg-transfer-card,
	.afg-digital-card,
	.affin-contact-reasons > article,
	.affin-contact-form,
	.finaf-mag-v4-search,
	.fkb-search,
	.bank-profile-v3-no-comments,
	.comment-form-rating,
	.afg-product-data-confidence
) {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
	box-shadow: var(--fui-shadow) !important;
}

html[data-finaf-theme="dark"] :where(
	.afg-product-key-data,
	.afg-deposits-key-data,
	.afg-financing-key-data,
	.afg-card-key-data,
	.afg-transfer-key-data,
	.afg-digital-key-data,
	.afg-deposits-meta-line,
	.afg-financing-meta-line,
	.afg-transfer-meta-line,
	.afg-digital-meta-line,
	.afg-financing-decision-metrics,
	.afg-financing-detail-grid,
	.afg-product-source-grid
) {
	border-color: var(--fui-line) !important;
	background: transparent !important;
}

html[data-finaf-theme="dark"] :where(
	.afg-product-key-data,
	.afg-deposits-key-data,
	.afg-financing-key-data,
	.afg-card-key-data,
	.afg-transfer-key-data,
	.afg-digital-key-data,
	.afg-deposits-meta-line,
	.afg-financing-meta-line,
	.afg-transfer-meta-line,
	.afg-digital-meta-line,
	.afg-financing-decision-metrics,
	.afg-financing-detail-grid,
	.afg-product-source-grid
) > * {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(
	.afg-financing-purpose-grid > a,
	.afg-financing-quick-badges,
	.finaf-financing-more,
	.afg-bank-account-bank-link,
	.afg-service-card-cta,
	.finaf-service-paths a,
	.finaf-save-inline,
	.afg-button-secondary,
	.bank-profile-v3-nav a:not(.is-active),
	.nav-links .page-numbers:not(.current)
) {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-logo,
	.afg-bank-account-group-logo,
	.afg-card-bank-logo,
	.afg-product-bank-logo,
	.bank-profile-v3-logo
) {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-card,
	.afg-bank-account-group,
	.afg-bank-account-products,
	.afg-bank-account-product,
	.afg-deposits-card,
	.afg-financing-purpose-block,
	.afg-financing-card,
	.afg-card-product,
	.afg-transfer-methods-toolbar,
	.afg-transfer-method-group,
	.afg-transfer-card,
	.afg-digital-card,
	.affin-contact-reasons > article,
	.affin-contact-form,
	.afg-product-section,
	.bank-profile-v3-layout,
	.bank-profile-v3-no-comments,
	.comment-form-rating
) :where(h1, h2, h3, h4, strong, legend, label, a:not(.afg-button)) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] :where(
	.bank-directory-card,
	.afg-bank-account-group,
	.afg-bank-account-products,
	.afg-bank-account-product,
	.afg-deposits-card,
	.afg-financing-purpose-block,
	.afg-financing-card,
	.afg-card-product,
	.afg-transfer-methods-toolbar,
	.afg-transfer-method-group,
	.afg-transfer-card,
	.afg-digital-card,
	.affin-contact-reasons > article,
	.affin-contact-form,
	.afg-product-section,
	.bank-profile-v3-layout,
	.bank-profile-v3-no-comments,
	.comment-form-rating
) :where(p, small, li, span:not(.afg-button), .muted) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] .afg-financing-decision-box.is-positive {
	border-color: #2f806d !important;
	background: #10352c !important;
	color: #c9f3e8 !important;
}

html[data-finaf-theme="dark"] .afg-financing-decision-box.is-caution {
	border-color: #8a6e32 !important;
	background: #332916 !important;
	color: #f0dca8 !important;
}

html[data-finaf-theme="dark"] :where(
	.afg-product-richtext li,
	.afg-generic-fee-note,
	.comment-form-rating label
) {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] .finaf-mag-v4-trust {
	border-color: var(--fui-line) !important;
	background: #0c2a31 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .finaf-mag-v4-trust :where(h2, a) {
	color: #f4fbfc !important;
}

html[data-finaf-theme="dark"] .finaf-mag-v4-trust p {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] :where(select option, select optgroup) {
	background: var(--fui-surface);
	color: var(--fui-ink);
}

/* Specificity-safe dark exceptions found by the post-release detail audit. */
html[data-finaf-theme="dark"] body .finaf-ui-shortcuts a,
html[data-finaf-theme="dark"] body .afg-button.afg-service-card-cta {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body :where(
	.bank-profile-v3-logo.bank-profile-v3-logo-fallback,
	.afg-service-bank-row-logo
) {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :where(.afg-search-page, .affin-article-page) {
	background: var(--fui-page) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .bank-profile-v3-hero {
	border-color: var(--fui-line) !important;
	background: radial-gradient(circle at 12% 16%, rgba(99,216,195,.13), transparent 29%), linear-gradient(145deg, #0a2029, #0d2731) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :where(
	.affin-editorial-note,
	.affin-article-aside > div,
	.affin-more-grid > article,
	.finaf-exchanges .card,
	.finaf-exchanges .checklist li,
	.finaf-exchanges .submit-box
) {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
	box-shadow: var(--fui-shadow) !important;
}

html[data-finaf-theme="dark"] body :where(
	.affin-editorial-note,
	.affin-article-aside > div,
	.affin-more-grid > article,
	.finaf-exchanges .card,
	.finaf-exchanges .checklist li,
	.finaf-exchanges .submit-box
) :where(h2, h3, h4, strong, a) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :where(
	.affin-editorial-note,
	.affin-article-aside > div,
	.affin-more-grid > article,
	.finaf-exchanges .card,
	.finaf-exchanges .checklist li,
	.finaf-exchanges .submit-box
) :where(p, span, small, li) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body .finaf-exchanges .currency-stack span,
html[data-finaf-theme="dark"] body .finaf-exchanges .btn-secondary {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-green) !important;
}

/* Final high-specificity overrides for legacy parent selectors. */
html[data-finaf-theme="dark"] body .finaf-ui-cta {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .finaf-ui-cta :where(h2, h3, strong) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .finaf-ui-cta p {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body .finaf-services-simple .finaf-service-paths a,
html[data-finaf-theme="dark"] body .afg-button.afg-official-source-button {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body .bank-profile-v3-logo.bank-profile-v3-logo-fallback {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .finaf-exchanges .note {
	border-color: #8a6e32 !important;
	background: #332916 !important;
	color: #f0dca8 !important;
}

/* Bank-profile statistics: preserve readable hierarchy on dark surfaces. */
html[data-finaf-theme="dark"] body .bank-profile-v3-stats > div > strong {
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body .bank-profile-v3-stats > div > span {
	color: var(--fui-muted) !important;
}

/* Provider profiles: readable facts and content without affecting other detail pages. */
.single-afg_institution .is-provider-stats > div {
	gap: 6px !important;
	padding: clamp(18px, 2vw, 26px) 16px !important;
}

.single-afg_institution .is-provider-stats > div > strong {
	font-size: clamp(1.05rem, 1.25vw, 1.25rem) !important;
	line-height: 1.55 !important;
}

.single-afg_institution .is-provider-stats > div > span {
	font-size: .875rem !important;
	line-height: 1.8 !important;
}

.single-afg_institution .bank-profile-v3-nav a {
	font-size: .875rem !important;
	line-height: 1.8 !important;
}

.single-afg_institution .bank-profile-v3-description :where(p, li),
.single-afg_institution .bank-profile-v3-comments-intro,
.single-afg_institution .bank-profile-v3-no-comments span {
	font-size: 1rem !important;
	line-height: 2 !important;
}

.single-afg_institution :where(.facts-v2, .contact-list) small {
	font-size: .8125rem !important;
	line-height: 1.8 !important;
}

html[data-finaf-theme="dark"] body.single-afg_institution .is-provider-stats > div > strong {
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body.single-afg_institution .is-provider-stats > div > span {
	color: var(--fui-muted) !important;
}

@media (max-width: 700px) {
	.single-afg_institution .is-provider-stats > div > strong {
		font-size: 1rem !important;
	}

	.single-afg_institution .is-provider-stats > div > span,
	.single-afg_institution .bank-profile-v3-nav a {
		font-size: .8125rem !important;
	}
}

/* Contrast, centering and responsive completion pass — v1.9.6. */
:where(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero > .site-container {
	justify-content: center !important;
}

body :where(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero .afg-products-hero-copy {
	width: min(100%, 820px) !important;
	margin-inline: auto !important;
	text-align: center !important;
}

body :where(
	.afg-accounts-page,
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-products-hero .afg-products-hero-copy :where(.afg-eyebrow, h1, p) {
	margin-inline: auto !important;
	text-align: center !important;
}

/* About and contact use a deliberately narrow reading column, but it must sit
   in the visual centre instead of inheriting the old RTL sidebar offset. */
body.page-id-14 .essential-page-content,
body.page-id-15 .essential-page-content {
	width: min(100%, 780px) !important;
	margin-inline: auto !important;
}

body.page-id-14 .essential-page-content :where(h2, h3, h4, p, li) {
	text-align: center !important;
}

body.page-id-14 .essential-page-content :where(ul, ol) {
	padding-inline: 0 !important;
	list-style-position: inside !important;
}

body.page-id-15 :where(.affin-contact-intro, .affin-contact-reasons > article, .affin-contact-channel > :not(.affin-contact-form)) {
	text-align: center !important;
}

body.page-id-15 :where(.affin-contact-reasons, .affin-contact-channel, .affin-contact-form) {
	margin-inline: auto !important;
}

/* Light aqua remains the brand action colour. Dark ink, not white, supplies
   accessible contrast on these controls in dark mode. */
html[data-finaf-theme="dark"] body :where(
	.header-compare-link,
	.afg-button-primary,
	.afg-filter-submit,
	.afg-products-filter-submit,
	.affin-contact-form button[type="submit"],
	.finaf-mag-v4-search button
) {
	color: #071820 !important;
}

html[data-finaf-theme="dark"] body :where(.essential-page-kicker, .affin-contact-reasons > article > span) {
	border-color: var(--fui-line) !important;
	background: #12372f !important;
	color: var(--fui-green) !important;
}

/* Product archive banners and status chips previously retained light-mode
   backgrounds, producing pale text and bright strips inside dark cards. */
html[data-finaf-theme="dark"] body :where(
	.afg-bank-account-group-head,
	.afg-deposits-banner,
	.afg-financing-banner,
	.afg-card-banner,
	.afg-transfer-banner,
	.afg-digital-banner
) {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-bank-account-group-head,
	.afg-deposits-banner,
	.afg-financing-banner,
	.afg-card-banner,
	.afg-transfer-banner,
	.afg-digital-banner
) :where(h2, h3, strong, b, a) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-bank-account-group-head,
	.afg-deposits-banner,
	.afg-financing-banner,
	.afg-card-banner,
	.afg-transfer-banner,
	.afg-digital-banner
) :where(p, small, span) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-products-result-bar strong,
	.afg-products-result-bar b,
	.afg-products-result-count
) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-bank-account-count,
	.afg-card-verified,
	.afg-product-tags span,
	.afg-financing-quick-badges span,
	.afg-deposits-model-bar small,
	.afg-deposits-model-bar a.is-active small,
	.afg-financing-purpose-grid em
) {
	border-color: var(--fui-line) !important;
	background: #12372f !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body .afg-product-tags span.is-verified {
	border-color: #2f806d !important;
	background: #10352c !important;
	color: #c9f3e8 !important;
}

/* Knowledge-guide cards embedded in service pages. */
html[data-finaf-theme="dark"] body .fkb-landing-guide {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .fkb-landing-guide .fkb-landing-guide__head h2 {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .fkb-landing-guide .fkb-landing-guide__head p,
html[data-finaf-theme="dark"] body .finaf-services-simple .finaf-service-paths a :where(em, small) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body .finaf-services-simple .finaf-service-paths a :where(b, strong) {
	color: var(--fui-green) !important;
}

/* Magazine archive and article reading surfaces. */
html[data-finaf-theme="dark"] body :where(
	.finaf-mag-v4-side-story,
	.finaf-mag-v4-need,
	.finaf-mag-v4-latest-story,
	.finaf-mag-v4-path,
	.finaf-mag-v4-services-grid > a,
	.finaf-mag-v4-empty,
	.affin-article-summary
) {
	border-color: var(--fui-line) !important;
	background: var(--fui-surface) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :where(
	.finaf-mag-v4-side-story,
	.finaf-mag-v4-need,
	.finaf-mag-v4-latest-story,
	.finaf-mag-v4-path,
	.finaf-mag-v4-services-grid > a,
	.finaf-mag-v4-empty,
	.affin-article-summary,
	.affin-article-content
) :where(h1, h2, h3, h4, strong, b, a:not(.afg-button)) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :where(
	.finaf-mag-v4-side-story,
	.finaf-mag-v4-need,
	.finaf-mag-v4-latest-story,
	.finaf-mag-v4-path,
	.finaf-mag-v4-services-grid > a,
	.finaf-mag-v4-empty,
	.affin-article-header,
	.affin-article-summary,
	.affin-article-content
) :where(p, li, small, .affin-article-deck) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body :where(.finaf-mag-v4-path-intro, .finaf-mag-v4-need-mark, .finaf-mag-v4-service-icon) {
	background: #12372f !important;
	color: var(--fui-green) !important;
}

/* Live contrast audit exceptions — v1.9.7. */
html[data-finaf-theme="dark"] body :where(
	.afg-products-page,
	.afg-deposits-page,
	.afg-financing-page,
	.afg-cards-page,
	.afg-transfer-page,
	.afg-digital-page
) .afg-button:not(.afg-button-secondary):not(.afg-service-card-cta):not(.afg-official-source-button) {
	color: #071820 !important;
}

html[data-finaf-theme="dark"] body :where(.afg-deposits-banner, .afg-financing-banner) > strong,
html[data-finaf-theme="dark"] body .afg-service-category-nav a.is-active > small {
	border-color: var(--fui-line) !important;
	background: #12372f !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body .afg-financing-purpose-icon {
	border-color: var(--fui-line) !important;
	background: #12372f !important;
	color: var(--fui-green) !important;
}

/* Product detail contrast and archive CTA alignment — v1.9.9. */
:where(
	.afg-bank-account-actions,
	.afg-deposits-card-actions,
	.afg-card-product-actions
) {
	grid-template-columns: 1fr !important;
	justify-items: center !important;
	text-align: center !important;
}

:where(
	.afg-bank-account-actions,
	.afg-deposits-card-actions,
	.afg-card-product-actions
) > .afg-button {
	margin-inline: auto !important;
	text-align: center !important;
}

html[data-finaf-theme="dark"] body .afg-financing-detail-hero {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .afg-financing-detail-hero :where(h2, h3, h4) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .afg-financing-detail-hero :where(p, small, span) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body .afg-financing-detail-hero strong {
	border-color: #2f806d !important;
	background: #12372f !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-card-capability-grid,
	.afg-card-limit-grid
) > * {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-card-capability-grid,
	.afg-card-limit-grid
) > * :where(span, small) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-card-capability-grid,
	.afg-card-limit-grid
) > * :where(strong, b) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .afg-product-anchor-nav a.is-active {
	border-color: #2f806d !important;
	background: #12372f !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body .afg-product-hero-actions .afg-button:not(.afg-button-secondary) {
	color: #071820 !important;
}

html[data-finaf-theme="dark"] body .afg-financing-decision-box-title > span {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

/* Money-transfer archive and detail dark surfaces — v1.10.0. */
html[data-finaf-theme="dark"] body .afg-transfer-method-banner {
	border-block-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .afg-transfer-method-banner span {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .afg-transfer-method-banner small {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-transfer-all-methods,
	.afg-transfer-quick-links a.is-active,
	.afg-transfer-quick-links a:hover
) {
	border-color: #2f806d !important;
	background: #12372f !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-transfer-quick-links a small,
	.afg-transfer-all-methods small
) {
	background: #12372f !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-transfer-detail-grid > div,
	.afg-transfer-fee-box
) {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-transfer-detail-grid,
	.afg-transfer-fee-box
) :where(span, small) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body :where(
	.afg-transfer-detail-grid,
	.afg-transfer-fee-box
) :where(strong, b) {
	color: var(--fui-ink) !important;
}

@media (max-width: 700px) {
	body.page-id-14 .essential-page-content,
	body.page-id-15 .essential-page-content {
		width: 100% !important;
		padding-inline: 20px !important;
	}

	body.page-id-15 :where(.affin-contact-reasons, .affin-contact-channel) {
		grid-template-columns: 1fr !important;
	}

	body.page-id-15 .affin-contact-form {
		width: 100% !important;
	}
}

/* Source-order guard for the older cards-directory reset. */
body .afg-cards-page .afg-cards-hero {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	padding: clamp(48px, 6vw, 70px) 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--fui-line) !important;
	background:
		radial-gradient(circle at 12% 18%, rgba(8, 119, 101, .14), transparent 28%),
		linear-gradient(145deg, #eef8f5, #fbfdfd 62%, #eef4f6) !important;
}

body .afg-cards-page .afg-cards-hero .afg-products-hero-copy {
	width: min(100%, 820px) !important;
	max-width: 820px !important;
	margin: 0 auto !important;
	padding: 0 20px !important;
	text-align: center !important;
}

html[data-finaf-theme="dark"] body .afg-cards-page .afg-cards-hero {
	border-color: var(--fui-line) !important;
	background:
		radial-gradient(circle at 12% 16%, rgba(99, 216, 195, .13), transparent 29%),
		linear-gradient(145deg, #0a2029, #0d2731) !important;
}

html[data-finaf-theme="dark"] body .afg-cards-page .afg-cards-hero .afg-products-hero-copy :is(h1, h2) {
	color: var(--fui-ink) !important;
	opacity: 1 !important;
}

html[data-finaf-theme="dark"] body .afg-cards-page .afg-cards-hero .afg-products-hero-copy :is(p, li) {
	color: var(--fui-muted) !important;
	opacity: 1 !important;
}

@media (max-width: 767px) {
	body .afg-cards-page .afg-cards-hero {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		padding: 42px 0 38px !important;
	}

	body .afg-cards-page .afg-cards-hero .afg-products-hero-copy {
		width: 100% !important;
		max-width: 680px !important;
		margin: 0 auto !important;
		padding: 0 20px !important;
	}
}

/* Article tables: readable, consistent surfaces in dark mode — v1.10.14. */
html[data-finaf-theme="dark"] body .affin-article-content :where(.wp-block-table, table) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body .affin-article-content .wp-block-table {
	border-color: var(--fui-line) !important;
	background: transparent !important;
}

html[data-finaf-theme="dark"] body .affin-article-content :where(.wp-block-table table, table) :where(th, td) {
	border-color: var(--fui-line) !important;
	background: #102731 !important;
	color: var(--fui-ink) !important;
	opacity: 1 !important;
}

html[data-finaf-theme="dark"] body .affin-article-content :where(.wp-block-table table, table) th {
	background: #14323d !important;
	color: #f2fafb !important;
}

html[data-finaf-theme="dark"] body .affin-article-content :where(.wp-block-table table, table) tbody tr:nth-child(even) td {
	background: #0d222b !important;
}

html[data-finaf-theme="dark"] body .affin-article-content .wp-block-table figcaption,
html[data-finaf-theme="dark"] body .affin-article-content table caption {
	color: var(--fui-muted) !important;
}

/* Launch-readiness contrast fixes — v1.10.15. */
body .fkb-hero .fkb-hero-copy h1 {
	color: #fff !important;
}

html[data-finaf-theme="dark"] body .finaf-ui-search > div > button,
html[data-finaf-theme="dark"] body .fkb-search > button,
html[data-finaf-theme="dark"] body .finaf-ui-cta .afg-button {
	color: #102d40 !important;
}

/* Product fee tables: dark-mode headers and source-status contrast — v1.10.16. */
html[data-finaf-theme="dark"] body.single-afg_product .afg-product-table th {
	background: #14323d !important;
	color: #f2fafb !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-source-status--verified {
	background: #10352c !important;
	color: #c9f3e8 !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-source-status--conflict {
	background: #332916 !important;
	color: #f0dca8 !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-source-status--unknown {
	background: #182a33 !important;
	color: #d5e5ea !important;
}

/* Keep product-table rows readable when the parent theme applies its light hover. */
html[data-finaf-theme="dark"] body.single-afg_product .afg-product-table tbody tr:hover td {
	background: #17333d !important;
	color: var(--fui-ink) !important;
}

/* Product presentation QA: contain wide fee tables and improve mobile type — v1.10.19. */
@media (max-width: 700px) {
	body.single-afg_product .afg-product-detail-main {
		grid-template-columns: minmax(0, 1fr) !important;
		width: 100% !important;
		min-width: 0 !important;
	}

	body.single-afg_product .afg-product-detail-main .afg-product-section {
		box-sizing: border-box;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.single-afg_product .afg-product-table-wrap {
		box-sizing: border-box;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		overflow-x: auto !important;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
	}

	body.single-afg_product .afg-fee-table :where(th, td) {
		font-size: 13px !important;
		line-height: 1.65;
	}

	body.single-afg_product :where(.afg-currency-card p, .afg-generic-fee-note) {
		font-size: 12px !important;
		line-height: 1.75;
	}
}

/* Compact the opened navigation on tablets and small laptops — v1.10.31. */
@media (min-width: 701px) and (max-width: 1220px) {
	.header-inner .main-nav {
		inset-inline-start: 0;
		inset-inline-end: auto;
		width: min(640px, calc(100vw - 32px));
		max-height: min(68vh, 520px);
	}

	.header-inner .main-nav > ul,
	.header-inner .main-nav .menu {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.header-inner .main-nav .finaf-ui-mobile-socials {
		margin-top: 2px;
		padding-top: 8px;
	}
}

/* Needs-first Homepage and guided paths — v1.10.33. */
.finaf-ui-simple-mobile-menu {
	display: none;
}

.finaf-ui-home--needs-first {
	--fui-home-mint: #e7f5ef;
	--fui-home-mint-strong: #ccebdd;
	--fui-home-deep: #0d4b43;
	background: var(--fui-page);
}

.finaf-ui-path-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(44px, 8vw, 92px) 0 clamp(30px, 5vw, 58px);
	background:
		radial-gradient(circle at 8% 12%, rgba(69, 190, 158, .18), transparent 24rem),
		linear-gradient(145deg, var(--fui-home-mint) 0%, #f7fbf9 72%);
	text-align: center;
}

.finaf-ui-path-hero::after {
	position: absolute;
	inset-block-start: -110px;
	inset-inline-end: -90px;
	width: 280px;
	height: 280px;
	border: 44px solid rgba(29, 139, 117, .08);
	border-radius: 50%;
	content: "";
}

.finaf-ui-path-hero > .site-container {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
}

.finaf-ui-path-hero h1 {
	max-width: 900px;
	margin: 12px auto 14px;
	color: #113c39;
	font-size: clamp(34px, 6vw, 66px);
	line-height: 1.35;
}

.finaf-ui-path-hero h1 .finaf-ui-home-accent {
	color: var(--fui-green);
}

.finaf-ui-path-hero-summary {
	max-width: 760px;
	margin: 0 auto 26px;
	color: #345d59;
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.95;
}

.finaf-ui-path-hero .finaf-ui-search {
	width: min(720px, 100%);
	margin: 0;
}

.finaf-ui-paths {
	position: relative;
	z-index: 2;
	padding: 0 0 clamp(42px, 7vw, 78px);
}

.finaf-ui-paths-intro {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(32px, 5vw, 54px) 0 22px;
	text-align: center;
}

.finaf-ui-paths-intro h2 {
	margin: 8px 0 7px;
	color: var(--fui-ink);
	font-size: clamp(26px, 4vw, 40px);
	line-height: 1.45;
}

.finaf-ui-paths-intro p {
	margin: 0;
	color: var(--fui-muted);
	font-size: 16px;
	line-height: 1.9;
}

.finaf-ui-path-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	margin-top: 0;
}

.finaf-ui-path-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 218px;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px;
	border: 1px solid var(--fui-line);
	border-radius: 22px;
	background: var(--fui-surface);
	box-shadow: 0 14px 34px rgba(15, 64, 59, .08);
	color: var(--fui-ink);
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.finaf-ui-path-card:hover,
.finaf-ui-path-card:focus-visible,
.finaf-ui-path-card[aria-expanded="true"] {
	border-color: color-mix(in srgb, var(--fui-brand) 58%, var(--fui-line));
	box-shadow: 0 18px 44px rgba(15, 64, 59, .13);
	color: var(--fui-ink);
	transform: translateY(-3px);
}

.finaf-ui-path-icon,
.finaf-ui-provider-type-grid > a > span,
.finaf-ui-tool-icon {
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	background: var(--fui-home-mint);
	color: var(--fui-brand);
}

.finaf-ui-path-icon .finaf-ui-svg,
.finaf-ui-provider-type-grid > a > span .finaf-ui-svg,
.finaf-ui-tool-icon .finaf-ui-svg {
	width: 25px;
	height: 25px;
}

.finaf-ui-path-card h2 {
	margin: 20px 0 8px;
	font-size: 18px;
	line-height: 1.55;
}

.finaf-ui-path-card p {
	margin: 0 0 20px;
	color: var(--fui-muted);
	font-size: 14px;
	line-height: 1.85;
}

.finaf-ui-path-card strong {
	margin-top: auto;
	color: var(--fui-brand);
	font-size: 14px;
}

.finaf-ui-path-panels {
	margin-top: 18px;
}

.finaf-ui-path-panel {
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid color-mix(in srgb, var(--fui-brand) 26%, var(--fui-line));
	border-radius: 24px;
	background: linear-gradient(145deg, var(--fui-home-mint) 0%, var(--fui-surface) 70%);
	box-shadow: 0 18px 46px rgba(15, 64, 59, .1);
}

.finaf-ui-path-panel[hidden] {
	display: none;
}

.finaf-ui-path-panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.finaf-ui-path-panel-head h2 {
	margin: 7px 0 0;
	font-size: clamp(22px, 3vw, 32px);
}

.finaf-ui-path-panel-head > button {
	min-height: 42px;
	padding: 8px 16px;
	border: 1px solid var(--fui-line);
	border-radius: 12px;
	background: var(--fui-surface);
	color: var(--fui-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.finaf-ui-path-choices {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-top: 24px;
}

.finaf-ui-path-choices > a {
	display: flex;
	min-height: 58px;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 15px;
	border: 1px solid var(--fui-line);
	border-radius: 14px;
	background: var(--fui-surface);
	color: var(--fui-ink);
	font-weight: 750;
	line-height: 1.65;
	text-decoration: none;
}

.finaf-ui-path-choices > a:hover,
.finaf-ui-path-choices > a:focus-visible {
	border-color: var(--fui-brand);
	color: var(--fui-brand);
}

.finaf-ui-provider-types {
	background: var(--fui-surface);
}

.finaf-ui-provider-type-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.finaf-ui-provider-type-grid > a {
	display: flex;
	min-height: 245px;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
	border: 1px solid var(--fui-line);
	border-radius: 20px;
	background: var(--fui-page);
	color: var(--fui-ink);
	text-decoration: none;
	transition: border-color .2s ease, transform .2s ease;
}

.finaf-ui-provider-type-grid > a:hover,
.finaf-ui-provider-type-grid > a:focus-visible {
	border-color: var(--fui-brand);
	color: var(--fui-ink);
	transform: translateY(-3px);
}

.finaf-ui-provider-type-grid h3,
.finaf-ui-tool-card h3 {
	margin: 18px 0 8px;
	font-size: 20px;
	line-height: 1.55;
}

.finaf-ui-provider-type-grid p,
.finaf-ui-tool-card p {
	margin: 0 0 20px;
	color: var(--fui-muted);
	line-height: 1.9;
}

.finaf-ui-provider-type-grid b {
	margin-top: auto;
	color: var(--fui-brand);
}

.finaf-ui-home-tools {
	background: color-mix(in srgb, var(--fui-home-mint) 55%, var(--fui-page));
}

.finaf-ui-tool-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.finaf-ui-tool-card {
	position: relative;
	display: grid;
	min-height: 290px;
	align-content: start;
	padding: clamp(24px, 4vw, 36px);
	border: 1px solid var(--fui-line);
	border-radius: 24px;
	background: var(--fui-surface);
	box-shadow: 0 12px 34px rgba(15, 64, 59, .07);
}

.finaf-ui-tool-card.is-exchange {
	background:
		radial-gradient(circle at 12% 12%, rgba(91, 215, 179, .18), transparent 13rem),
		var(--fui-surface);
}

.finaf-ui-tool-card small {
	position: absolute;
	inset-block-start: 28px;
	inset-inline-end: 30px;
	color: var(--fui-brand);
	font-weight: 800;
}

.finaf-ui-tool-card h3 {
	margin-top: 24px;
	font-size: clamp(23px, 3vw, 31px);
}

.finaf-ui-tool-card > a {
	align-self: end;
	justify-self: start;
	margin-top: auto;
	color: var(--fui-brand);
	font-weight: 800;
	text-decoration: none;
}

html[data-finaf-theme="dark"] .finaf-ui-home--needs-first {
	--fui-home-mint: #12322f;
	--fui-home-mint-strong: #19433d;
	--fui-home-deep: #c9f3e8;
}

html[data-finaf-theme="dark"] .finaf-ui-path-hero {
	background:
		radial-gradient(circle at 8% 12%, rgba(62, 197, 159, .13), transparent 24rem),
		linear-gradient(145deg, #0b252b 0%, #0d1f27 72%);
}

html[data-finaf-theme="dark"] .finaf-ui-path-hero h1 {
	color: var(--fui-ink);
}

html[data-finaf-theme="dark"] .finaf-ui-path-hero-summary {
	color: var(--fui-muted);
}

html[data-finaf-theme="dark"] .finaf-ui-path-card,
html[data-finaf-theme="dark"] .finaf-ui-provider-type-grid > a,
html[data-finaf-theme="dark"] .finaf-ui-tool-card,
html[data-finaf-theme="dark"] .finaf-ui-path-panel-head > button,
html[data-finaf-theme="dark"] .finaf-ui-path-choices > a {
	background: #102731;
}

html[data-finaf-theme="dark"] .finaf-ui-home--needs-first :where(
	.finaf-ui-path-card h2,
	.finaf-ui-path-card strong,
	.finaf-ui-path-panel h2,
	.finaf-ui-provider-type-grid h3,
	.finaf-ui-provider-type-grid b,
	.finaf-ui-tool-card h3,
	.finaf-ui-tool-card > a
) {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] .finaf-ui-home--needs-first :where(
	.finaf-ui-path-card p,
	.finaf-ui-provider-type-grid p,
	.finaf-ui-tool-card p
) {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] .finaf-ui-path-panel {
	background: linear-gradient(145deg, #12322f 0%, #102731 70%);
}

html[data-finaf-theme="dark"] .finaf-ui-provider-types {
	background: #0d222b;
}

html[data-finaf-theme="dark"] .finaf-ui-home-tools {
	background: #0b1e25;
}

/* Provider-directory and methodology alignment — v1.10.34.
   Keep Dari reading text start-aligned, while centring the visible content
   column and the provider hero summary within the page. */
body.finaf-provider-directory .bank-directory-hero p {
	margin-inline: auto !important;
	text-align: center !important;
	text-wrap: balance;
}

body.page-id-389 .essential-page-content {
	width: min(100%, 780px) !important;
	margin-inline: auto !important;
}

@media (max-width: 1120px) {
	.finaf-ui-path-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.finaf-ui-path-card:nth-child(4),
	.finaf-ui-path-card:nth-child(5) {
		min-height: 190px;
	}

	.finaf-ui-path-choices {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.finaf-ui-provider-type-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 701px) and (max-width: 1220px) {
	/* Social links belong to the compact phone drawer, not the desktop row. */
	.header-inner .main-nav .finaf-ui-mobile-socials {
		display: none !important;
	}
}

@media (max-width: 700px) {
	.header-inner .main-nav .mobile-nav-language {
		display: none !important;
	}

	.header-inner .main-nav > ul,
	.header-inner .main-nav > .menu {
		display: none !important;
	}

	.header-inner .main-nav .finaf-ui-simple-mobile-menu {
		display: grid !important;
		grid-column: 1 / -1;
		gap: 18px;
		padding: 2px 0 8px;
	}

	.finaf-ui-simple-mobile-menu__group {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	.finaf-ui-simple-mobile-menu__group > strong {
		margin-bottom: 4px;
		padding: 0 12px 7px;
		border-bottom: 1px solid var(--fui-line);
		color: var(--fui-muted);
		font-size: 13px;
		font-weight: 800;
		line-height: 1.7;
	}

	.header-inner .main-nav .finaf-ui-simple-mobile-menu a {
		display: flex;
		align-items: center;
		gap: 11px;
		min-height: 48px;
		padding: 10px 12px;
		border-radius: 10px;
		color: var(--fui-ink);
		font-size: 16px;
		font-weight: 750;
		line-height: 1.7;
		text-decoration: none;
	}

	.finaf-ui-simple-mobile-menu__icon {
		display: inline-grid;
		place-items: center;
		width: 36px;
		height: 36px;
		flex: 0 0 36px;
		border: 1px solid color-mix(in srgb, var(--fui-green) 22%, transparent);
		border-radius: 10px;
		background: var(--fui-surface-soft);
		color: var(--fui-green-dark);
	}

	.finaf-ui-simple-mobile-menu__icon .finaf-ui-svg {
		width: 20px;
		height: 20px;
	}

	.finaf-ui-simple-mobile-menu__label {
		flex: 1 1 auto;
	}

	.header-inner .main-nav .finaf-ui-simple-mobile-menu a::after {
		color: var(--fui-green);
		content: "←";
		font-family: Arial, sans-serif;
		font-size: 16px;
	}

	.header-inner .main-nav .finaf-ui-simple-mobile-menu a:is(:hover, :focus-visible) {
		background: var(--fui-surface-soft);
		color: var(--fui-green-dark);
	}

	html[data-finaf-theme="dark"] .header-inner .main-nav .finaf-ui-simple-mobile-menu a:is(:hover, :focus-visible) {
		border-color: #285449 !important;
		background: #143730 !important;
		color: #f3fbf8 !important;
	}

	html[data-finaf-theme="dark"] .finaf-ui-simple-mobile-menu__icon {
		border-color: #285449;
		background: #12312c;
		color: #7dd7c2;
	}

	.finaf-ui-simple-mobile-menu__tools {
		padding-top: 4px;
		border-top: 1px solid var(--fui-line);
	}

	.finaf-ui-path-hero {
		padding: 34px 0 34px;
		text-align: right;
	}

	.finaf-ui-path-hero > .site-container {
		justify-items: stretch;
	}

	.finaf-ui-path-hero h1 {
		margin-inline: 0;
		font-size: clamp(31px, 11vw, 46px);
	}

	.finaf-ui-path-hero-summary {
		margin-inline: 0;
	}

	.finaf-ui-paths-intro {
		padding-block: 28px 18px;
		text-align: right;
	}

	.finaf-ui-path-grid,
	.finaf-ui-provider-type-grid,
	.finaf-ui-tool-grid,
	.finaf-ui-path-choices {
		grid-template-columns: minmax(0, 1fr);
	}

	.finaf-ui-path-grid {
		margin-top: 0;
	}

	.finaf-ui-path-card,
	.finaf-ui-path-card:nth-child(4),
	.finaf-ui-path-card:nth-child(5) {
		min-height: 148px;
		padding: 18px 78px 18px 18px;
	}

	.finaf-ui-path-icon {
		position: absolute;
		inset-block-start: 18px;
		inset-inline-start: 18px;
	}

	.finaf-ui-path-card h2 {
		margin-top: 0;
	}

	.finaf-ui-path-panel-head {
		align-items: stretch;
		flex-direction: column;
	}

	.finaf-ui-path-panel-head > button {
		align-self: flex-start;
	}

	.finaf-ui-provider-type-grid > a {
		min-height: 210px;
	}

	.finaf-ui-tool-card {
		min-height: 320px;
	}

	.finaf-ui-tool-card small {
		position: static;
		margin-top: 16px;
	}
}

/* Site-wide readability baseline — v1.10.32.
   Dari body copy stays at 16px or above, with generous line spacing. Compact
   labels remain visually secondary without dropping below a readable 14px. */
html {
	font-size: 100%;
}

body {
	font-size: 16px;
	line-height: 1.8;
}

body main :where(p, li, dd, td, th),
body .site-footer :where(p, li) {
	line-height: 1.85;
}

body :where(button, input, select, textarea) {
	font-size: 16px;
}

body :where(
	.afg-button,
	.afg-filter-submit,
	.afg-products-filter-submit,
	.finaf-ui-decision-primary,
	.finaf-ui-decision-secondary
) {
	min-height: 44px;
	font-size: 16px !important;
}

/* Homepage and directory cards. */
.finaf-ui-home--needs-first :where(
	.finaf-ui-path-card p,
	.finaf-ui-provider-type-card p,
	.finaf-ui-tool-card p,
	.finaf-ui-bank-section-head p,
	.finaf-ui-section-head p,
	.finaf-ui-recent p,
	.finaf-ui-transparency p
),
.afg-service-card-excerpt,
.finaf-services-simple .afg-service-card-excerpt,
.finaf-services-simple .finaf-provider-links > header p {
	font-size: 16px !important;
	line-height: 1.9 !important;
}

.finaf-services-simple .afg-service-category,
.finaf-services-simple .finaf-provider-links > header span,
:where(.afg-eyebrow, .afg-section-kicker, .afg-sidebar-kicker) {
	font-size: 14px !important;
	line-height: 1.7;
}

.afg-service-category-nav a,
:where(.afg-product-filters, .afg-financing-filters, .afg-transfer-filters, .afg-digital-filters) label {
	font-size: 15px !important;
}

/* Product pages: labels, facts, tables and supporting explanations. */
body.single-afg_product .afg-product-single-en {
	font-size: 15px !important;
}

body.single-afg_product .afg-product-single-summary,
body.single-afg_product .afg-product-richtext :where(p, li),
body.single-afg_product .finaf-ui-decision-copy p {
	font-size: 17px !important;
	line-height: 1.95 !important;
}

body.single-afg_product :where(
	.afg-product-bank-panel-copy small,
	.afg-product-bank-panel-copy span,
	.afg-product-bank-panel-copy em,
	.afg-product-data-confidence span,
	.afg-product-data-confidence small,
	.afg-product-decision-grid > div > span,
	.afg-card-capability-grid > div > span,
	.afg-card-limit-grid > div > span,
	.afg-product-source-grid > div > span,
	.afg-sidebar-fact > span,
	.afg-source-status,
	.finaf-ui-decision-kicker,
	.finaf-ui-decision-disclosure
) {
	font-size: 14px !important;
	line-height: 1.75 !important;
}

body.single-afg_product :where(
	.afg-product-decision-grid > div > strong,
	.afg-card-capability-grid > div > strong,
	.afg-card-limit-grid > div > strong,
	.afg-product-source-grid > div > strong,
	.afg-sidebar-fact > strong
) {
	font-size: 16px !important;
	line-height: 1.7 !important;
}

body.single-afg_product .afg-product-anchor-nav a,
body.single-afg_product .afg-product-table :where(th, td),
body.single-afg_product .afg-generic-fee-note {
	font-size: 15px !important;
	line-height: 1.8 !important;
}

body.single-afg_product .afg-product-anchor-nav a {
	min-height: 44px;
}

/* Articles and essential information pages use a comfortable reading size. */
:where(.affin-article-content, .essential-page-content, .fkb-term) :where(p, li) {
	font-size: 18px !important;
	line-height: 2 !important;
}

:where(.affin-article-deck, .affin-article-summary, .fkb-landing-guide__head) :where(p, li) {
	font-size: 16px !important;
	line-height: 1.9 !important;
}

/* Header and footer share the same readable navigation scale. */
.header-inner .main-nav a,
.header-actions :where(a, button),
.finaf-theme-toggle__label {
	font-size: 15px !important;
}

.finaf-ui-footer-brand > p,
.finaf-ui-footer-email {
	font-size: 15px !important;
}

.finaf-ui-footer-methodology p,
.finaf-ui-footer-bottom,
.finaf-ui-footer-legal a,
.finaf-ui-footer-status {
	font-size: 14px !important;
	line-height: 1.8;
}

@media (max-width: 700px) {
	body {
		font-size: 17px;
	}

	body main :where(p, li, dd, td, th) {
		line-height: 1.9;
	}

	:where(.affin-article-content, .essential-page-content, .fkb-term) :where(p, li),
	body.single-afg_product .afg-product-single-summary,
	body.single-afg_product .afg-product-richtext :where(p, li),
	body.single-afg_product .finaf-ui-decision-copy p {
		font-size: 17px !important;
		line-height: 2 !important;
	}

	.header-inner .main-nav a,
	.finaf-theme-toggle__label,
	.finaf-ui-footer-group a,
	.finaf-ui-footer-email {
		font-size: 16px !important;
	}

	.finaf-ui-footer-brand > p,
	.finaf-ui-footer-methodology p,
	.finaf-ui-footer-bottom,
	.finaf-ui-footer-legal a,
	.finaf-ui-footer-status {
		font-size: 15px !important;
	}
}

/* Bank/provider profiles follow the same readable scale as product pages. */
body.single-afg_institution .bank-profile-v3-heading > p,
body.single-afg_institution .bank-profile-v3-description :where(p, li),
body.single-afg_institution .bank-profile-v3-comments-intro,
body.single-afg_institution .comment-policy-note,
body.single-afg_institution .bank-profile-v3-disclaimer :where(p, span) {
	font-size: 17px !important;
	line-height: 1.95 !important;
}

body.single-afg_institution :where(
	.bank-profile-v3-kickers span,
	.bank-profile-v3-rating-summary small,
	.bank-profile-v3-stats > div > span,
	.bank-profile-v3-nav a,
	.bank-profile-v3-no-comments span,
	.source-item :where(span, small),
	.fact-v2 small,
	.contact-list :where(span, small),
	.afg-bank-rating-help
) {
	font-size: 14px !important;
	line-height: 1.75 !important;
}

body.single-afg_institution .bank-profile-v3-heading h1 small {
	font-size: 16px !important;
	line-height: 1.7 !important;
}

body.single-afg_institution :where(
	.bank-profile-v3-stats > div > strong,
	.fact-v2 strong,
	.contact-list :where(a, strong),
	.source-item :where(a, strong),
	.bank-profile-v3-no-comments strong
) {
	font-size: 16px !important;
	line-height: 1.75 !important;
}

body.single-afg_institution :where(.comment-form label, .comment-form input, .comment-form textarea, .comment-form button) {
	font-size: 16px !important;
}

@media (max-width: 700px) {
	body.single-afg_institution .bank-profile-v3-heading > p,
	body.single-afg_institution .bank-profile-v3-description :where(p, li),
	body.single-afg_institution .bank-profile-v3-comments-intro,
	body.single-afg_institution .comment-policy-note {
		font-size: 17px !important;
	}
}

/* Finaf typography system — v1.10.35.
   Implements Farid's approved responsive scale, line-height, weight and
   vertical-spacing specification without changing stored content or routes. */
body main h1 {
	margin-block: 0 clamp(24px, 2.6vw, 32px);
	font-size: clamp(32px, 4vw, 48px) !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
}

body main h2 {
	margin-block: 0 clamp(16px, 2vw, 24px);
	font-size: clamp(26px, 3vw, 36px) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
}

body main h3 {
	font-size: clamp(22px, 2.5vw, 28px) !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

body main h4 {
	font-size: 20px !important;
}

body main h5 {
	font-size: 18px !important;
}

body main :where(p, li, dd, td, th) {
	font-size: clamp(16px, 1.2vw, 18px) !important;
	font-weight: 400;
	line-height: 1.9 !important;
}

body main :where(a, strong) {
	font-weight: 600;
}

body main p + p {
	margin-block-start: clamp(16px, 2vw, 24px);
}

body main :where([lang="en"], [dir="ltr"]) :where(p, li, dd, td, th),
body main :where(p, li, dd, td, th)[lang="en"],
body main :where(p, li, dd, td, th)[dir="ltr"] {
	line-height: 1.7 !important;
}

body :where(button, input[type="button"], input[type="submit"], input[type="reset"], .afg-button) {
	font-size: 16px !important;
	line-height: 1.4 !important;
}

.header-inner .main-nav a,
.finaf-mobile-menu a,
.finaf-ui-footer-group a {
	font-size: 16px !important;
}

.header-actions :where(a, button),
.finaf-theme-toggle__label,
.afg-service-category-nav a,
:where(.afg-product-filters, .afg-financing-filters, .afg-transfer-filters, .afg-digital-filters) label,
body.single-afg_product .afg-product-anchor-nav a,
body.single-afg_product .afg-product-table :where(th, td) {
	font-size: 16px !important;
}

body main > section + section,
body main > article > section + section {
	margin-block-start: clamp(64px, 8vw, 96px);
}

@media (max-width: 767px) {
	body.single-afg_product main .afg-product-detail-hero .afg-product-detail-title h1 {
		font-size: 32px !important;
		line-height: 1.2 !important;
	}

	body main h4 {
		font-size: 18px !important;
	}

	body main h5 {
		font-size: 16px !important;
	}

	body main > section + section,
	body main > article > section + section {
		margin-block-start: clamp(40px, 12vw, 56px);
	}
}

/* Homepage alignment and icon scale — v1.10.42.
   Keep the short decision surfaces centred and balanced without changing the
   reading alignment of article cards, the footer or long-form content. */
.finaf-ui-home--needs-first :where(
	.finaf-ui-path-hero,
	.finaf-ui-paths-intro
) {
	text-align: center;
}

.finaf-ui-home--needs-first .finaf-ui-path-hero > .site-container {
	justify-items: center;
}

.finaf-ui-home--needs-first :where(
	.finaf-ui-path-hero h1,
	.finaf-ui-path-hero-summary
) {
	margin-inline: auto;
	text-align: center;
	text-wrap: balance;
}

.finaf-ui-home--needs-first .finaf-ui-section-head {
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
	text-align: center;
}

.finaf-ui-home--needs-first .finaf-ui-section-head > div {
	max-width: 760px;
	margin-inline: auto;
}

.finaf-ui-home--needs-first .finaf-ui-section-head > p {
	max-width: 680px;
	margin-inline: auto;
	text-align: center;
}

.finaf-ui-home--needs-first :where(
	.finaf-ui-path-card,
	.finaf-ui-provider-type-grid > a
) {
	align-items: center;
	text-align: center;
}

.finaf-ui-home--needs-first .finaf-ui-path-card {
	min-height: 265px;
	padding: 24px 20px;
}

.finaf-ui-home--needs-first :where(
	.finaf-ui-path-icon,
	.finaf-ui-provider-type-grid > a > span,
	.finaf-ui-tool-icon
) {
	width: 64px;
	height: 64px;
	flex: 0 0 64px;
	border-radius: 18px;
}

/* Legal information pages — v1.10.43.
   Centre the page structure and hero while preserving start alignment for
   long Dari paragraphs, which remains easier to scan and read. */
body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-wrap {
	width: min(100% - 32px, 980px) !important;
	margin-inline: auto !important;
	padding-block: clamp(28px, 5vw, 58px) clamp(48px, 7vw, 82px) !important;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page {
	overflow: hidden;
	background: var(--fui-surface) !important;
	box-shadow: 0 20px 54px rgba(16, 51, 59, .08) !important;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-header {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: clamp(44px, 7vw, 78px) clamp(24px, 6vw, 72px) !important;
	background:
		radial-gradient(circle at 9% 14%, rgba(69, 190, 158, .20), transparent 19rem),
		linear-gradient(145deg, #e7f5ef 0%, #f7fbf9 74%) !important;
	text-align: center !important;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-header::before,
body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-header::after {
	position: absolute;
	z-index: -1;
	border: 34px solid rgba(29, 139, 117, .08);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-header::before {
	inset-block-start: -96px;
	inset-inline-end: -72px;
	width: 240px;
	height: 240px;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-header::after {
	inset-block-end: -118px;
	inset-inline-start: -82px;
	width: 220px;
	height: 220px;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-header :where(.essential-page-kicker, h1) {
	position: relative;
	z-index: 1;
	margin-inline: auto !important;
	text-align: center !important;
	text-wrap: balance;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-header h1 {
	max-width: 760px;
	font-size: clamp(34px, 5vw, 52px) !important;
	line-height: 1.35 !important;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-content {
	width: min(100%, 800px) !important;
	margin-inline: auto !important;
	padding: clamp(30px, 6vw, 64px) clamp(22px, 6vw, 68px) !important;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-content .page-lead {
	max-width: 720px;
	margin: 0 auto clamp(30px, 5vw, 46px) !important;
	color: var(--fui-ink) !important;
	font-size: clamp(18px, 2vw, 21px) !important;
	font-weight: 650;
	line-height: 2 !important;
	text-align: center !important;
	text-wrap: pretty;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-content h2 {
	margin: 30px 0 12px !important;
	padding-top: 28px;
	border-top: 1px solid var(--fui-line);
	font-size: clamp(22px, 3vw, 28px) !important;
	line-height: 1.55 !important;
	text-align: center !important;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-content h2:first-of-type {
	margin-top: 0 !important;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-content :where(p:not(.page-lead, .page-updated), li) {
	text-align: start !important;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-content :where(ul, ol) {
	margin-block: 12px 24px;
	padding-inline-start: 24px;
}

body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-content .page-updated {
	width: fit-content;
	margin: 38px auto 0 !important;
	padding: 10px 18px;
	border: 1px solid color-mix(in srgb, var(--fui-brand) 22%, var(--fui-line));
	border-radius: 999px;
	background: color-mix(in srgb, var(--fui-brand) 7%, var(--fui-surface));
	color: var(--fui-muted) !important;
	font-size: 15px !important;
	line-height: 1.7 !important;
	text-align: center !important;
}

html[data-finaf-theme="dark"] body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-header::before,
html[data-finaf-theme="dark"] body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-header::after {
	border-color: rgba(99, 216, 195, .09);
}

html[data-finaf-theme="dark"] body.page-id-3 .essential-page-header,
html[data-finaf-theme="dark"] body.page-id-390 .essential-page-header,
html[data-finaf-theme="dark"] body.page-id-392 .essential-page-header {
	background:
		radial-gradient(circle at 9% 14%, rgba(99, 216, 195, .13), transparent 19rem),
		linear-gradient(145deg, #0a2029, #0d2731) !important;
}

html[data-finaf-theme="dark"] body.page-id-3 .essential-page-header h1,
html[data-finaf-theme="dark"] body.page-id-390 .essential-page-header h1,
html[data-finaf-theme="dark"] body.page-id-392 .essential-page-header h1 {
	color: var(--fui-ink) !important;
	-webkit-text-fill-color: var(--fui-ink) !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

html[data-finaf-theme="dark"] body.page-id-3 .essential-page-header .essential-page-kicker,
html[data-finaf-theme="dark"] body.page-id-390 .essential-page-header .essential-page-kicker,
html[data-finaf-theme="dark"] body.page-id-392 .essential-page-header .essential-page-kicker {
	color: var(--fui-green) !important;
	text-shadow: none !important;
}

@media (max-width: 700px) {
	body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-wrap {
		width: min(100% - 20px, 980px) !important;
		padding-block: 18px 48px !important;
	}

	body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-header {
		min-height: 210px;
		padding: 44px 20px !important;
	}

	body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-content {
		padding: 28px 20px 40px !important;
	}

	body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-content h2 {
		margin-top: 24px !important;
		padding-top: 24px;
	}

	body:is(.page-id-3, .page-id-390, .page-id-392) .essential-page-content .page-updated {
		width: 100%;
		box-sizing: border-box;
		border-radius: 16px;
	}
}

.finaf-ui-home--needs-first .finaf-ui-path-icon .finaf-ui-svg,
.finaf-ui-home--needs-first .finaf-ui-provider-type-grid > a > span .finaf-ui-svg,
.finaf-ui-home--needs-first .finaf-ui-tool-icon .finaf-ui-svg {
	width: 34px;
	height: 34px;
	stroke-width: 1.9;
}

.finaf-ui-home--needs-first .finaf-ui-path-card h2 {
	margin: 16px 0 8px;
	font-size: clamp(24px, 2vw, 26px) !important;
	line-height: 1.4 !important;
	text-align: center;
	text-wrap: balance;
}

.finaf-ui-home--needs-first .finaf-ui-path-card p {
	margin: 0 0 18px;
	font-size: 17px !important;
	line-height: 1.8 !important;
	text-align: center;
}

.finaf-ui-home--needs-first .finaf-ui-path-card strong {
	font-size: 16px;
	line-height: 1.6;
}

.finaf-ui-home--needs-first .finaf-ui-provider-type-grid > a {
	min-height: 285px;
	padding: 26px 22px;
}

.finaf-ui-home--needs-first :where(
	.finaf-ui-provider-type-grid h3,
	.finaf-ui-tool-card h3
) {
	font-size: clamp(24px, 2vw, 26px) !important;
	line-height: 1.45 !important;
	text-align: center;
	text-wrap: balance;
}

.finaf-ui-home--needs-first :where(
	.finaf-ui-provider-type-grid p,
	.finaf-ui-tool-card p
) {
	font-size: 17px !important;
	line-height: 1.85 !important;
	text-align: center;
}

.finaf-ui-home--needs-first .finaf-ui-provider-type-grid b {
	font-size: 16px;
	line-height: 1.6;
	text-align: center;
}

.finaf-ui-home--needs-first .finaf-ui-tool-card {
	display: flex;
	min-height: 320px;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.finaf-ui-home--needs-first .finaf-ui-tool-card small {
	position: static;
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.7;
}

.finaf-ui-home--needs-first .finaf-ui-tool-card h3 {
	margin: 10px 0 8px;
}

.finaf-ui-home--needs-first .finaf-ui-tool-card > a {
	align-self: center;
	justify-self: auto;
	margin-top: auto;
	font-size: 16px;
	line-height: 1.6;
}

@media (max-width: 700px) {
	.finaf-ui-home--needs-first .finaf-ui-path-hero {
		text-align: center;
	}

	.finaf-ui-home--needs-first .finaf-ui-path-hero > .site-container {
		justify-items: center;
	}

	.finaf-ui-home--needs-first :where(
		.finaf-ui-path-hero h1,
		.finaf-ui-path-hero-summary
	) {
		margin-inline: auto;
		text-align: center;
	}

	.finaf-ui-home--needs-first .finaf-ui-paths-intro {
		text-align: center;
	}

	.finaf-ui-home--needs-first .finaf-ui-path-card,
	.finaf-ui-home--needs-first .finaf-ui-path-card:nth-child(4),
	.finaf-ui-home--needs-first .finaf-ui-path-card:nth-child(5) {
		min-height: 228px;
		align-items: center;
		padding: 22px 20px;
		text-align: center;
	}

	.finaf-ui-home--needs-first .finaf-ui-path-icon {
		position: static;
	}

	.finaf-ui-home--needs-first :where(
		.finaf-ui-path-icon,
		.finaf-ui-provider-type-grid > a > span,
		.finaf-ui-tool-icon
	) {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
		border-radius: 16px;
	}

	.finaf-ui-home--needs-first .finaf-ui-path-icon .finaf-ui-svg,
	.finaf-ui-home--needs-first .finaf-ui-provider-type-grid > a > span .finaf-ui-svg,
	.finaf-ui-home--needs-first .finaf-ui-tool-icon .finaf-ui-svg {
		width: 30px;
		height: 30px;
	}

	.finaf-ui-home--needs-first .finaf-ui-path-card h2 {
		margin: 14px 0 7px;
		font-size: 24px !important;
		line-height: 1.4 !important;
	}

	.finaf-ui-home--needs-first .finaf-ui-provider-type-grid > a {
		min-height: 260px;
	}

	.finaf-ui-home--needs-first .finaf-ui-tool-card {
		min-height: 300px;
	}
}

/* Core directory UI/UX QA — v1.10.44.
   Banks, providers, accounts, deposits and financing share one calm hero
   language. Decorative rings remain behind the copy and never receive input. */
body.post-type-archive-afg_institution .bank-directory-hero,
body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero {
	position: relative !important;
	isolation: isolate !important;
	overflow: hidden !important;
}

body.post-type-archive-afg_institution .bank-directory-hero::before,
body.post-type-archive-afg_institution .bank-directory-hero::after,
body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero::before,
body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero::after {
	display: block !important;
	position: absolute;
	z-index: 0;
	border: 34px solid rgba(29, 139, 117, .08);
	border-radius: 50%;
	content: "" !important;
	pointer-events: none;
}

body.post-type-archive-afg_institution .bank-directory-hero::before,
body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero::before {
	inset-block-start: -104px;
	inset-inline-end: -76px;
	width: 252px;
	height: 252px;
}

body.post-type-archive-afg_institution .bank-directory-hero::after,
body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero::after {
	inset-block-end: -126px;
	inset-inline-start: -86px;
	width: 228px;
	height: 228px;
}

body.post-type-archive-afg_institution .bank-directory-hero > .site-container,
body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero > .site-container {
	position: relative;
	z-index: 1;
}

body.post-type-archive-afg_institution .bank-directory-hero :where(h1, p),
body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero-copy :where(h1, p) {
	overflow-wrap: break-word;
	word-break: normal;
	white-space: normal;
}

body.post-type-archive-afg_institution .bank-directory-hero h1,
body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero-copy h1 {
	text-wrap: balance;
}

body.post-type-archive-afg_institution .bank-directory-hero p,
body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero-copy p {
	margin-inline: auto !important;
	text-align: center !important;
	text-wrap: pretty;
}

html[data-finaf-theme="dark"] body.post-type-archive-afg_institution .bank-directory-hero::before,
html[data-finaf-theme="dark"] body.post-type-archive-afg_institution .bank-directory-hero::after,
html[data-finaf-theme="dark"] body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero::before,
html[data-finaf-theme="dark"] body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero::after {
	border-color: rgba(99, 216, 195, .10);
}

@media (max-width: 700px) {
	body.post-type-archive-afg_institution .bank-directory-hero::before,
	body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero::before {
		inset-block-start: -86px;
		inset-inline-end: -76px;
		width: 190px;
		height: 190px;
		border-width: 26px;
	}

	body.post-type-archive-afg_institution .bank-directory-hero::after,
	body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero::after {
		inset-block-end: -96px;
		inset-inline-start: -72px;
		width: 170px;
		height: 170px;
		border-width: 24px;
	}

	body :is(.afg-accounts-page, .afg-deposits-page, .afg-financing-page) .afg-products-hero .afg-products-hero-copy h1 {
		font-size: clamp(31px, 9vw, 36px) !important;
		line-height: 1.4 !important;
	}
}

/* Homepage provider-card alignment — v1.10.45.
   Older link-level rules aligned the flex children to the inline start even
   though their text was centred. Centre each real child, not only its text. */
.finaf-ui-home.finaf-ui-home--needs-first .finaf-ui-provider-type-grid > a {
	align-items: center !important;
	text-align: center !important;
}

.finaf-ui-home.finaf-ui-home--needs-first .finaf-ui-provider-type-grid > a > :where(span, h3, p, b) {
	align-self: center;
	margin-inline: auto;
	text-align: center !important;
}

.finaf-ui-home.finaf-ui-home--needs-first .finaf-ui-provider-type-grid > a > :where(h3, p, b) {
	width: 100%;
}

.finaf-ui-home.finaf-ui-home--needs-first .finaf-ui-provider-type-grid > a > b {
	display: flex;
	justify-content: center;
}

/* Deposit-detail dark-mode contrast — v1.10.48.
   The parent theme gives the deposit specification cards and the Sharia badge
   light-only surfaces. Keep the complete component on the dark product palette. */
html[data-finaf-theme="dark"] body.single-afg_product .afg-deposit-detail-hero {
	border-color: var(--fui-line) !important;
	background:
		radial-gradient(circle at 12% 20%, rgba(99, 216, 195, .12), transparent 28%),
		linear-gradient(135deg, #102b35, #0d2630) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-deposit-detail-hero span {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-deposit-detail-hero strong {
	border: 1px solid rgba(99, 216, 195, .30);
	background: rgba(8, 119, 101, .28) !important;
	color: #9be8d7 !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-deposit-detail-hero small {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-deposit-detail-grid > div {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-deposit-detail-grid > div > span {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-deposit-detail-grid > div > strong {
	color: var(--fui-ink) !important;
}

/* Digital-banking detail cards use light-only surfaces in the parent theme.
   Match their surfaces and text colours to the active dark product palette. */
html[data-finaf-theme="dark"] body.single-afg_product .afg-digital-detail-hero {
	border-color: var(--fui-line) !important;
	background:
		radial-gradient(circle at 12% 20%, rgba(99, 216, 195, .12), transparent 28%),
		linear-gradient(135deg, #102b35, #0d2630) !important;
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-digital-detail-icon {
	border: 1px solid var(--fui-line);
	background: #102b35 !important;
	color: var(--fui-green) !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-digital-detail-hero strong,
html[data-finaf-theme="dark"] body.single-afg_product .afg-digital-detail-grid > div > strong {
	color: var(--fui-ink) !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-digital-detail-hero span,
html[data-finaf-theme="dark"] body.single-afg_product .afg-digital-detail-grid > div > span {
	color: var(--fui-muted) !important;
}

html[data-finaf-theme="dark"] body.single-afg_product .afg-digital-detail-grid > div {
	border-color: var(--fui-line) !important;
	background: #102b35 !important;
	color: var(--fui-ink) !important;
}
