/*
Theme Name: AFG Finance
Theme URI: https://example.com/
Author: AFG Finance
Description: Fast RTL-first custom theme for Afghanistan financial comparison platform.
Version: 2.0.7
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: afg-finance
*/
:root{--bg:#f5f7f8;--card:#fff;--text:#132033;--muted:#697587;--brand:#0b715a;--brand-dark:#075844;--brand2:#e9f5f1;--border:#e2e8ec;--radius:18px;--container:1180px;--shadow:0 12px 34px rgba(17,34,51,.06);--font-ui:"Dana","Vazirmatn",Tahoma,Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-ui);line-height:1.9}html[dir="rtl"] body{text-align:right}html[dir="ltr"] body{text-align:left}a{color:var(--brand);text-decoration:none}img{max-width:100%;height:auto}.site-container{width:min(calc(100% - 32px),var(--container));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.admin-bar .site-header{top:32px}.header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-weight:800;font-size:22px;color:var(--text)}.main-nav ul{display:flex;gap:18px;list-style:none;margin:0;padding:0}.hero{padding:72px 0;background:linear-gradient(135deg,#e6f5f0,#fff)}.hero h1{font-size:clamp(34px,6vw,64px);line-height:1.2;max-width:850px;margin:0 0 20px}.hero p{font-size:20px;color:var(--muted);max-width:750px}.section{padding:48px 0}.section h2{font-size:32px;margin:0 0 24px}.afg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.afg-card,.panel{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.afg-card{padding:20px}.afg-card img{width:100%;aspect-ratio:16/9;object-fit:contain;background:#fff;border-radius:12px}.afg-card h3{margin:14px 0 6px}.afg-button,button.afg-button{display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:#fff;border:0;border-radius:12px;padding:12px 18px;cursor:pointer;font-family:inherit;font-weight:700}.afg-button:hover{background:var(--brand-dark);color:#fff}.panel{padding:24px;margin-bottom:20px}.bank-hero-v2{padding:52px 0;background:linear-gradient(240deg,#e6f5f0,#f8fbfa);background-size:cover;background-position:center}.bank-hero-v2[style]{color:#fff}.bank-hero-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}.bank-identity{display:flex;align-items:center;gap:22px;min-width:0}.bank-identity-copy{min-width:0}.bank-logo-wrap{width:116px;height:116px;background:#fff;border-radius:24px;padding:14px;display:grid;place-items:center;box-shadow:0 14px 34px rgba(0,0,0,.14);flex:0 0 auto}.bank-logo{max-width:100%;max-height:100%;object-fit:contain}.bank-title{font-size:clamp(34px,5vw,54px);line-height:1.25;margin:10px 0 12px;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px}.bank-title-local{font-weight:850}.bank-title-en{font-size:.58em;font-weight:650;opacity:.72;unicode-bidi:isolate}.bank-lead{font-size:18px;max-width:760px;margin:0;color:inherit;opacity:.86}.bank-kickers{display:flex;flex-wrap:wrap;gap:8px}.bank-kickers span{font-size:13px;background:rgba(255,255,255,.82);color:#17352d;padding:4px 10px;border-radius:999px}.bank-hero-v2:not([style]) .bank-kickers span{background:#fff}.afg-button-light{background:#fff!important;color:var(--brand)!important}.bank-layout-v2{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.85fr);gap:24px;padding-top:28px}.bank-main h2,.bank-sidebar h2{margin-top:0}.bank-overview p{margin:0 0 1em}.facts-v2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fact-v2{background:#f7f9fa;border-radius:13px;padding:13px;min-width:0}.fact-v2 small,.contact-list small,.source-item small{display:block;color:var(--muted);font-size:12px}.fact-v2 strong{display:block;line-height:1.6;margin-top:3px;overflow-wrap:anywhere}.fact-v2 strong[dir="ltr"],.contact-list [dir="ltr"]{text-align:left;unicode-bidi:isolate}.contact-list{display:grid;gap:14px}.contact-list>div{padding-bottom:12px;border-bottom:1px solid var(--border)}.contact-list>div:last-child{border:0;padding-bottom:0}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title-row>span{font-size:13px;color:var(--muted)}.mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mini-card{display:flex;flex-direction:column;padding:16px;border:1px solid var(--border);border-radius:13px;background:#fbfcfc}.mini-card strong{color:var(--text)}.mini-card span{font-size:12px;color:var(--muted)}.source-list{display:grid;gap:10px}.source-item{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px;background:#f8fafb;border-radius:12px}.muted{color:var(--muted)}.afg-compare-selectors{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.afg-compare-select{width:100%;padding:12px;border:1px solid var(--border);border-radius:10px;background:#fff;font-family:inherit}.compare-table{width:100%;border-collapse:collapse;margin-top:20px;background:#fff}.compare-table th,.compare-table td{border:1px solid var(--border);padding:12px;text-align:start}.site-footer{background:#101827;color:#d7deea;margin-top:60px;padding:40px 0}.site-footer a{color:#fff}.content-area{padding:40px 0}.post-content{background:#fff;border-radius:var(--radius);padding:28px;border:1px solid var(--border)}html[dir="rtl"] .hero,html[dir="rtl"] .section,html[dir="rtl"] .panel,html[dir="rtl"] .bank-hero-v2,html[dir="rtl"] .site-footer{text-align:right}html[dir="rtl"] .bank-title,html[dir="rtl"] .bank-kickers{justify-content:flex-start}html[dir="ltr"] .bank-title,html[dir="ltr"] .bank-kickers{justify-content:flex-start}html[dir="rtl"] .header-inner,html[dir="rtl"] .bank-hero-inner{direction:rtl}html[dir="rtl"] .bank-identity{direction:rtl;text-align:right}html[dir="rtl"] .bank-identity-copy{width:100%;text-align:right}html[dir="rtl"] .bank-title{direction:rtl;text-align:right}html[dir="rtl"] .bank-lead{margin-inline-start:0;margin-inline-end:0;text-align:right}html[dir="rtl"] .bank-layout-v2{direction:rtl}html[dir="rtl"] .bank-main,html[dir="rtl"] .bank-sidebar{text-align:right}@media(max-width:900px){.afg-grid{grid-template-columns:repeat(2,1fr)}.bank-layout-v2{grid-template-columns:1fr}.afg-compare-selectors{grid-template-columns:repeat(2,1fr)}.main-nav{display:none}.bank-hero-inner{align-items:flex-start}.facts-v2{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.bank-hero-inner,.bank-identity{align-items:flex-start;flex-direction:column}.bank-logo-wrap{width:92px;height:92px}.facts-v2,.mini-grid{grid-template-columns:1fr 1fr}.source-item{align-items:flex-start;flex-direction:column}.bank-title{gap:4px 10px}.bank-title-en{font-size:.52em}}@media(max-width:600px){.afg-grid,.afg-compare-selectors,.facts-v2,.mini-grid{grid-template-columns:1fr}.hero{padding:48px 0}.site-container{width:min(calc(100% - 20px),var(--container))}.admin-bar .site-header{top:46px}}


/* ==========================================================================
   Global language direction system — v0.4.0
   Dari (fa-AF) and Pashto (ps-AF) are RTL. English (en) is LTR.
   All layout components inherit direction from the document root.
   ========================================================================== */

html[dir="rtl"] {
	direction: rtl;
}

/* Essential and legal pages — v2.0.7 */
.essential-page-wrap{max-width:960px;padding-block:52px}.essential-page{padding:0;overflow:hidden;box-shadow:0 18px 50px rgba(17,34,51,.07)}.essential-page-header{padding:42px clamp(24px,6vw,64px) 34px;background:linear-gradient(135deg,#e4f3ee 0%,#f7fbfa 100%);border-bottom:1px solid var(--border)}.essential-page-kicker{display:inline-flex;margin-bottom:10px;padding:5px 12px;border-radius:999px;background:#d6eee6;color:var(--brand-dark);font-size:13px;font-weight:800}.essential-page-header h1{margin:0;font-size:clamp(32px,5vw,48px);line-height:1.35}.essential-page-content{max-width:780px;padding:38px clamp(24px,6vw,64px) 52px}.essential-page-content .page-lead{margin-top:0;color:#344255;font-size:19px;line-height:2}.essential-page-content h2{margin:38px 0 10px;font-size:23px;line-height:1.55}.essential-page-content h2:first-of-type{margin-top:30px}.essential-page-content p{margin:0 0 16px}.essential-page-content ul{margin:10px 0 22px;padding-inline-start:24px}.essential-page-content li{margin-bottom:8px}.notice-box{margin:24px 0;padding:18px 20px;border-inline-start:4px solid #c58b20;border-radius:12px;background:#fff8e8;color:#55421f}.page-updated{margin-top:38px!important;padding-top:18px;border-top:1px solid var(--border);color:var(--muted);font-size:14px}.footer-legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px}.footer-legal-links a{font-size:13px;color:#dce7e3}.footer-legal-links a:hover{text-decoration:underline}.footer-bottom{gap:16px}.footer-bottom>span,.footer-bottom>nav{min-width:0}@media(max-width:720px){.essential-page-wrap{padding-block:24px}.essential-page-header{padding-block:28px 24px}.essential-page-content{padding-block:28px 36px}.essential-page-content .page-lead{font-size:17px}.essential-page-content h2{font-size:21px}.footer-legal-links{justify-content:flex-start}}

html[dir="ltr"] {
	direction: ltr;
}

body {
	direction: inherit;
	text-align: start;
}

/* Every public layout primitive follows the document direction. */
.site-header,
.site-footer,
main,
.site-container,
.header-inner,
.main-nav,
.hero,
.section,
.content-area,
.post-content,
.panel,
.afg-card,
.afg-grid,
.bank-hero-v2,
.bank-hero-inner,
.bank-identity,
.bank-identity-copy,
.bank-layout-v2,
.bank-main,
.bank-sidebar,
.bank-overview,
.facts-v2,
.fact-v2,
.contact-list,
.section-title-row,
.mini-grid,
.mini-card,
.source-list,
.source-item,
.afg-compare-selectors,
.compare-table,
.navigation,
.nav-links,
form {
	direction: inherit;
	text-align: start;
}

/* Use logical alignment instead of hard-coded left/right. */
.hero h1,
.hero p,
.section h1,
.section h2,
.section h3,
.post-content h1,
.post-content h2,
.post-content h3,
.panel h1,
.panel h2,
.panel h3,
.afg-card h1,
.afg-card h2,
.afg-card h3,
.bank-lead,
.bank-overview,
.contact-list,
.source-list {
	text-align: start;
}

.header-inner {
	flex-direction: row;
}

.main-nav ul {
	direction: inherit;
	justify-content: flex-start;
}

.main-nav a,
.site-footer a,
.afg-button,
button,
label {
	text-align: start;
}

/* Form controls must visually follow the active language too. */
input,
textarea,
select {
	font-family: var(--font-ui);
	direction: inherit;
	text-align: start;
}

input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[dir="ltr"],
textarea[dir="ltr"] {
	direction: ltr;
	text-align: left;
	unicode-bidi: isolate;
}

/* Latin identifiers stay LTR without changing surrounding layout. */
[dir="ltr"],
.ltr,
.bank-title-en,
.fact-v2 strong[dir="ltr"],
.contact-list [dir="ltr"] {
	unicode-bidi: isolate;
}

/* Bank page follows the same global system; no page-specific direction hacks. */
.bank-title {
	justify-content: flex-start;
	text-align: start;
}

.bank-title-local {
	direction: rtl;
	unicode-bidi: isolate;
}

html[dir="ltr"] .bank-title-local {
	direction: inherit;
}

.bank-kickers {
	justify-content: flex-start;
}

.bank-lead {
	margin-inline: 0;
}

.bank-layout-v2 {
	direction: inherit;
}

/* Tables and comparison UI. */
.compare-table {
	direction: inherit;
}

.compare-table th,
.compare-table td {
	text-align: start;
}

.compare-table [dir="ltr"] {
	text-align: left;
}

/* WordPress-generated pagination/list markup. */
.nav-links,
.page-numbers,
.wp-block-navigation,
.wp-block-list {
	direction: inherit;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
}

/* Lists use logical padding so bullets appear on the correct side. */
.post-content ul,
.post-content ol,
.panel ul,
.panel ol {
	padding-inline-start: 1.5rem;
	padding-inline-end: 0;
}

/* Media/captions inherit page direction. */
figcaption,
.wp-caption-text {
	text-align: start;
}

/* Explicit document-level behavior for the three planned languages. */
html[lang="fa-AF"],
html[lang="ps-AF"] {
	direction: rtl;
}

html[lang="en"] {
	direction: ltr;
}

/* Mobile retains exactly the same direction rules. */
@media (max-width: 900px) {
	.header-inner,
	.bank-hero-inner,
	.bank-identity,
	.section-title-row {
		direction: inherit;
	}
}

@media (max-width: 700px) {
	.bank-hero-inner,
	.bank-identity,
	.source-item {
		text-align: start;
	}
}


/* ==========================================================================
   Header + Navigation + Language Switcher — v0.5.0
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid #e7ebef;
}

.header-inner {
	min-height: 74px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	white-space: nowrap;
}

.site-brand-mark {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: inline-grid;
	place-items: center;
	background: #0b7a67;
	color: #fff;
	font-weight: 800;
	font-size: 18px;
	flex: 0 0 auto;
}

.site-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.site-brand-title {
	font-size: 20px;
	font-weight: 800;
}

.site-brand-subtitle {
	margin-top: 4px;
	font-size: 11px;
	color: #697586;
}

.main-nav {
	min-width: 0;
}

.main-nav ul {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: none;
	color: #1f2a37;
	font-size: 14px;
	font-weight: 600;
	border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
	color: #0b7a67;
	border-bottom-color: #0b7a67;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
}

.language-switcher {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #fff;
}

.language-switcher a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 10px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	color: #536273;
	white-space: nowrap;
}

.language-switcher a.is-active {
	background: #eef8f5;
	color: #0b7a67;
}

.header-compare-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 12px;
	text-decoration: none;
	background: #0b7a67;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

.header-compare-link:hover,
.header-compare-link:focus-visible {
	background: #096755;
	color: #fff;
}

.mobile-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #fff;
	cursor: pointer;
}

.mobile-nav-toggle span,
.mobile-nav-toggle::before,
.mobile-nav-toggle::after {
	content: "";
	display: block;
	width: 18px;
	height: 2px;
	background: #1f2a37;
}

.mobile-nav-toggle span {
	margin: 4px 0;
}

@media (max-width: 1020px) {
	.header-inner {
		grid-template-columns: auto 1fr auto;
	}

	.main-nav {
		position: absolute;
		inset-inline: 16px;
		top: calc(100% + 8px);
		background: #fff;
		border: 1px solid #e2e8f0;
		border-radius: 16px;
		box-shadow: 0 18px 50px rgba(15, 23, 42, .12);
		padding: 12px;
		display: none;
	}

	.main-nav.is-open {
		display: block;
	}

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.main-nav a {
		padding-inline: 10px;
		border-bottom: 0;
		border-radius: 10px;
	}

	.main-nav a:hover,
	.main-nav a:focus-visible {
		background: #f3f7f6;
	}

	.mobile-nav-toggle {
		display: inline-flex;
		flex-direction: column;
	}

	.header-actions {
		gap: 8px;
	}
}

@media (max-width: 700px) {
	.header-inner {
		min-height: 66px;
		gap: 12px;
	}

	.site-brand-subtitle {
		display: none;
	}

	.site-brand-title {
		font-size: 17px;
	}

	.site-brand-mark {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}

	.language-switcher a {
		padding-inline: 8px;
		font-size: 11px;
	}

	.header-compare-link {
		display: none;
	}
}


/* ==========================================================================
   Promotions / Advertising System — v0.6.0
   ========================================================================== */

.afg-hero-slider {
	position: relative;
	overflow: hidden;
	background: #edf8f5;
	min-height: 420px;
}

.afg-hero-slide {
	display: none;
	min-height: 420px;
	padding: 72px 0;
}

.afg-hero-slide.is-active {
	display: block;
}

.afg-hero-slide-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
	gap: 48px;
	align-items: center;
}

.afg-hero-slide-copy {
	text-align: start;
}

.afg-hero-slide-copy h1,
.afg-hero-slide-copy h2 {
	margin: 0 0 18px;
	font-size: clamp(38px, 5vw, 68px);
	line-height: 1.08;
}

.afg-hero-slide-copy p {
	max-width: 720px;
	font-size: 18px;
	line-height: 1.9;
	color: #607080;
}

.afg-hero-slide-media img {
	display: block;
	width: 100%;
	max-height: 310px;
	object-fit: contain;
	border-radius: 24px;
}

.afg-slider-dots {
	position: absolute;
	inset-inline: 0;
	bottom: 20px;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.afg-slider-dot {
	width: 9px;
	height: 9px;
	border: 0;
	border-radius: 50%;
	background: #b9cbc6;
	padding: 0;
	cursor: pointer;
}

.afg-slider-dot.is-active {
	background: #0b7a67;
	transform: scale(1.25);
}

.afg-mobile-sticky {
	display: none;
}

.afg-smart-popup-backdrop {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(15, 23, 42, .48);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.afg-smart-popup-backdrop.is-open {
	display: flex;
}

.afg-smart-popup {
	position: relative;
	width: min(560px, 100%);
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 28px 90px rgba(15, 23, 42, .28);
	overflow: hidden;
}

.afg-smart-popup-media img {
	width: 100%;
	max-height: 260px;
	object-fit: cover;
	display: block;
}

.afg-smart-popup-body {
	padding: 26px;
	text-align: start;
}

.afg-smart-popup-body h3 {
	margin: 0 0 10px;
	font-size: 26px;
}

.afg-smart-popup-close {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
}

@media (max-width: 767px) {
	body.afg-has-sticky-top {
		padding-top: 58px;
	}

	body.afg-has-sticky-bottom {
		padding-bottom: 66px;
	}

	.afg-mobile-sticky {
		position: fixed;
		inset-inline: 0;
		z-index: 9990;
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 56px;
		padding: 8px 14px;
		background: #fff;
		box-shadow: 0 0 24px rgba(15,23,42,.16);
	}

	.afg-mobile-sticky--top {
		top: 0;
	}

	.afg-mobile-sticky--bottom {
		bottom: 0;
	}

	.afg-mobile-sticky img {
		width: 42px;
		height: 42px;
		object-fit: cover;
		border-radius: 10px;
	}

	.afg-mobile-sticky-copy {
		min-width: 0;
		flex: 1;
	}

	.afg-mobile-sticky-copy strong,
	.afg-mobile-sticky-copy span {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.afg-mobile-sticky-copy span {
		font-size: 12px;
		color: #6b7280;
	}

	.afg-mobile-sticky .afg-button {
		flex: 0 0 auto;
		padding: 10px 12px;
		font-size: 12px;
	}

	.afg-hero-slide {
		padding: 52px 0 70px;
		min-height: 360px;
	}

	.afg-hero-slide-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.afg-hero-slide-media {
		order: -1;
	}

	.afg-hero-slide-media img {
		max-height: 180px;
	}
}

/* v0.7 promotion system */
.afg-hero-slider{position:relative;background:linear-gradient(135deg,#e6f5f0,#fff);overflow:hidden}
.afg-hero-slide{display:none;min-height:430px;padding:64px 0}
.afg-hero-slide.is-active{display:block}
.afg-hero-slide-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:center;gap:48px}
.afg-hero-slide-copy{max-width:760px}
.afg-hero-slide-copy h2{font-size:clamp(36px,5vw,62px);line-height:1.2;margin:0 0 18px}
.afg-hero-slide-copy p{font-size:19px;color:var(--muted);margin:0 0 24px}
.afg-hero-slide-media{display:flex;justify-content:center;align-items:center}
.afg-hero-slide-media img{width:100%;max-height:330px;object-fit:contain;border-radius:20px}
.afg-slider-dots{position:absolute;inset-inline:0;bottom:22px;display:flex;justify-content:center;gap:8px;z-index:2}
.afg-slider-dot{width:10px;height:10px;border:0;border-radius:999px;background:rgba(11,113,90,.25);padding:0;cursor:pointer}
.afg-slider-dot.is-active{width:28px;background:var(--brand)}
@media(max-width:700px){.afg-hero-slide{min-height:auto;padding:46px 0 58px}.afg-hero-slide-inner{grid-template-columns:1fr;gap:24px}.afg-hero-slide-media{order:-1}.afg-hero-slide-media img{max-height:220px}.afg-hero-slide-copy h2{font-size:clamp(32px,10vw,44px)}}


/* ==========================================================================
   Homepage Promotion Hero — v0.8.0
   ========================================================================== */

.afg-home-hero-slider {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 20% 20%, rgba(11,122,103,.10), transparent 32%),
		linear-gradient(135deg, #eef9f6 0%, #f8fbfa 100%);
	border-bottom: 1px solid #edf1f2;
}

.afg-home-hero-slide {
	display: none;
	min-height: 430px;
}

.afg-home-hero-slide.is-active {
	display: block;
}

.afg-home-hero-slide-inner {
	min-height: 430px;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
	align-items: center;
	gap: 56px;
	padding-block: 68px 82px;
}

.afg-home-hero-copy {
	text-align: start;
}

.afg-home-hero-copy h1,
.afg-home-hero-copy h2 {
	margin: 0 0 18px;
	max-width: 820px;
	font-size: clamp(42px, 5.4vw, 72px);
	line-height: 1.08;
	letter-spacing: -.03em;
}

.afg-home-hero-copy p {
	margin: 0 0 28px;
	max-width: 760px;
	color: #687586;
	font-size: 18px;
	line-height: 1.9;
}

.afg-home-hero-media {
	display: flex;
	align-items: center;
	justify-content: center;
}

.afg-home-hero-media img {
	width: 100%;
	max-width: 520px;
	max-height: 320px;
	object-fit: contain;
	border-radius: 26px;
}

.afg-home-hero-empty-media {
	width: min(100%, 420px);
	aspect-ratio: 1.35;
	border-radius: 30px;
	background:
		linear-gradient(145deg, rgba(255,255,255,.85), rgba(255,255,255,.45)),
		linear-gradient(135deg, rgba(11,122,103,.16), rgba(11,122,103,.04));
	border: 1px solid rgba(11,122,103,.10);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.afg-home-hero-dots {
	position: absolute;
	inset-inline: 0;
	bottom: 24px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 3;
}

.afg-home-hero-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background: #b9cbc6;
	cursor: pointer;
}

.afg-home-hero-dot.is-active {
	width: 28px;
	background: #0b7a67;
}

@media (max-width: 900px) {
	.afg-home-hero-slide-inner {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-block: 48px 72px;
	}

	.afg-home-hero-media {
		order: -1;
	}

	.afg-home-hero-media img {
		max-height: 220px;
	}

	.afg-home-hero-copy h1,
	.afg-home-hero-copy h2 {
		font-size: clamp(34px, 9vw, 54px);
	}
}

@media (max-width: 640px) {
	.afg-home-hero-slide,
	.afg-home-hero-slide-inner {
		min-height: auto;
	}

	.afg-home-hero-slide-inner {
		padding-block: 34px 64px;
	}

	.afg-home-hero-copy p {
		font-size: 16px;
		line-height: 1.8;
	}

	.afg-home-hero-empty-media {
		max-width: 300px;
	}
}


/* ==========================================================================
   Smart Slide-in Popup — v0.9.0
   Desktop: bottom-right drawer with persistent vertical tab.
   Mobile: compact bottom sheet-style drawer above sticky placements.
   ========================================================================== */

.afg-smart-popup-backdrop {
	position: fixed;
	inset: auto;
	right: 18px;
	bottom: 18px;
	z-index: 9998;
	display: block !important;
	background: transparent !important;
	padding: 0 !important;
	pointer-events: none;
}

.afg-smart-popup-shell {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	pointer-events: auto;
}

.afg-smart-popup {
	position: relative;
	width: min(380px, calc(100vw - 48px));
	max-height: min(560px, calc(100vh - 120px));
	overflow: hidden;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 22px 64px rgba(15, 23, 42, .24);
	transform: translateX(calc(100% + 70px));
	opacity: 0;
	visibility: hidden;
	transition:
		transform .32s cubic-bezier(.22,.61,.36,1),
		opacity .2s ease,
		visibility .2s ease;
}

html[dir="rtl"] .afg-smart-popup {
	transform: translateX(calc(100% + 70px));
}

.afg-smart-popup-backdrop.is-open .afg-smart-popup {
	transform: translateX(0);
	opacity: 1;
	visibility: visible;
}

.afg-smart-popup-tab {
	position: absolute;
	right: -2px;
	bottom: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	max-width: 180px;
	min-height: 148px;
	padding: 12px 10px;
	border: 0;
	border-radius: 14px 0 0 14px;
	background: #0b7a67;
	color: #fff;
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	cursor: pointer;
	box-shadow: 0 12px 30px rgba(11, 122, 103, .24);
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

html[dir="rtl"] .afg-smart-popup-tab {
	right: -2px;
}

.afg-smart-popup-tab:hover,
.afg-smart-popup-tab:focus-visible {
	background: #096755;
}

.afg-smart-popup-backdrop.is-open .afg-smart-popup-tab {
	opacity: 0;
	transform: translateX(8px);
	pointer-events: none;
}

.afg-smart-popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: #ef4444;
	color: #fff;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	box-shadow: 0 8px 20px rgba(239, 68, 68, .22);
}

.afg-smart-popup-close:hover,
.afg-smart-popup-close:focus-visible {
	background: #dc2626;
}

.afg-smart-popup-media {
	background: #f8fafc;
}

.afg-smart-popup-media img {
	display: block;
	width: 100%;
	max-height: 220px;
	object-fit: cover;
}

.afg-smart-popup-body {
	padding: 22px 22px 24px;
	text-align: start;
	overflow: auto;
	max-height: 340px;
}

.afg-smart-popup-body h3 {
	margin: 0 0 10px;
	padding-inline-end: 34px;
	font-size: 24px;
	line-height: 1.35;
}

.afg-smart-popup-body p {
	margin: 0 0 16px;
	color: #5f6b7a;
	line-height: 1.8;
}

.afg-smart-popup-body .afg-button {
	width: 100%;
	justify-content: center;
	text-align: center;
}

.afg-smart-popup-brand-strip {
	display: none;
}

/* If a bottom mobile sticky exists, keep the popup above it. */
body.afg-has-sticky-bottom .afg-smart-popup-backdrop {
	bottom: 82px;
}

@media (max-width: 767px) {
	.afg-smart-popup-backdrop {
		right: 10px;
		left: 10px;
		bottom: 12px;
	}

	body.afg-has-sticky-bottom .afg-smart-popup-backdrop {
		bottom: 76px;
	}

	.afg-smart-popup-shell {
		width: 100%;
	}

	.afg-smart-popup {
		width: 100%;
		max-height: min(68vh, 520px);
		border-radius: 18px;
		transform: translateY(calc(100% + 34px));
	}

	html[dir="rtl"] .afg-smart-popup {
		transform: translateY(calc(100% + 34px));
	}

	.afg-smart-popup-backdrop.is-open .afg-smart-popup {
		transform: translateY(0);
	}

	.afg-smart-popup-tab {
		position: fixed;
		right: 0;
		bottom: 110px;
		min-height: 122px;
		border-radius: 12px 0 0 12px;
		font-size: 12px;
	}

	body.afg-has-sticky-bottom .afg-smart-popup-tab {
		bottom: 132px;
	}

	.afg-smart-popup-media img {
		max-height: 170px;
	}

	.afg-smart-popup-body {
		padding: 18px;
		max-height: 280px;
	}

	.afg-smart-popup-body h3 {
		font-size: 21px;
	}
}


/* ==========================================================================
   Blue Financial Design System — v1.0.0
   ========================================================================== */

:root {
	--brand-primary: #155EEF;
	--brand-primary-hover: #0B4FD8;
	--brand-primary-soft: #EFF6FF;
	--brand-primary-border: #D7E6FF;
	--brand-navy: #101828;
	--brand-text: #344054;
	--brand-muted: #667085;
	--brand-border: #E4E7EC;
	--brand-surface: #FFFFFF;
	--brand-surface-soft: #F8FAFC;
}

/* Brand identity */
.site-brand-mark {
	background: var(--brand-primary) !important;
	color: #fff !important;
}

.site-brand-title,
h1,
h2,
h3,
h4 {
	color: var(--brand-navy);
}

body {
	color: var(--brand-text);
	background: var(--brand-surface);
}

a {
	color: var(--brand-primary);
}

a:hover,
a:focus-visible {
	color: var(--brand-primary-hover);
}

/* Buttons */
.afg-button,
.header-compare-link {
	background: var(--brand-primary) !important;
	color: #fff !important;
	border-color: var(--brand-primary) !important;
}

.afg-button:hover,
.afg-button:focus-visible,
.header-compare-link:hover,
.header-compare-link:focus-visible {
	background: var(--brand-primary-hover) !important;
	border-color: var(--brand-primary-hover) !important;
}

/* Navigation */
.main-nav a:hover,
.main-nav a:focus-visible {
	color: var(--brand-primary) !important;
	border-bottom-color: var(--brand-primary) !important;
}

.language-switcher a.is-active {
	background: var(--brand-primary-soft) !important;
	color: var(--brand-primary) !important;
}

/* Cards / panels */
.afg-card,
.panel,
.fact-v2,
.mini-card,
.source-item,
.bank-sidebar,
.bank-main {
	border-color: var(--brand-border);
}

.afg-card:hover {
	border-color: var(--brand-primary-border);
	box-shadow: 0 12px 30px rgba(21, 94, 239, .08);
}

/* Hero */
.hero,
.afg-home-hero-slider,
.afg-hero-slider {
	background:
		radial-gradient(circle at 20% 20%, rgba(21,94,239,.10), transparent 32%),
		linear-gradient(135deg, #EFF6FF 0%, #F8FBFF 100%) !important;
}

.afg-home-hero-empty-media {
	background:
		linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.5)),
		linear-gradient(135deg, rgba(21,94,239,.16), rgba(21,94,239,.04)) !important;
	border-color: rgba(21,94,239,.12) !important;
}

.afg-home-hero-dot.is-active,
.afg-slider-dot.is-active {
	background: var(--brand-primary) !important;
}

/* Smart popup */
.afg-smart-popup-tab {
	background: var(--brand-primary) !important;
	box-shadow: 0 12px 30px rgba(21,94,239,.24) !important;
}

.afg-smart-popup-tab:hover,
.afg-smart-popup-tab:focus-visible {
	background: var(--brand-primary-hover) !important;
}

/* Comparison / status accents */
.compare-table th,
.compare-table td {
	border-color: var(--brand-border);
}

.compare-table th {
	background: var(--brand-primary-soft);
	color: var(--brand-navy);
}

/* Inputs */
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid rgba(21,94,239,.18);
	border-color: var(--brand-primary) !important;
}

/* Mobile Sticky Advertising — v1.0.0 */
.afg-mobile-sticky {
	display: none;
}

@media (max-width: 767px) {
	.afg-mobile-sticky {
		position: fixed;
		inset-inline: 10px;
		z-index: 9990;
		display: grid;
		grid-template-columns: auto 1fr auto auto;
		align-items: center;
		gap: 10px;
		min-height: 58px;
		padding: 8px 10px;
		background: rgba(255,255,255,.98);
		border: 1px solid var(--brand-primary-border);
		border-radius: 14px;
		box-shadow: 0 14px 34px rgba(16,24,40,.16);
		backdrop-filter: blur(10px);
	}

	.afg-mobile-sticky--top {
		top: 10px;
	}

	.afg-mobile-sticky--bottom {
		bottom: 10px;
	}

	.afg-mobile-sticky img {
		width: 44px;
		height: 44px;
		border-radius: 10px;
		object-fit: cover;
		background: var(--brand-primary-soft);
	}

	.afg-mobile-sticky-copy {
		min-width: 0;
		text-align: start;
	}

	.afg-mobile-sticky-copy strong {
		display: block;
		color: var(--brand-navy);
		font-size: 13px;
		line-height: 1.35;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.afg-mobile-sticky-copy span {
		display: block;
		margin-top: 2px;
		color: var(--brand-muted);
		font-size: 11px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.afg-mobile-sticky .afg-button {
		min-height: 38px;
		padding: 0 12px;
		border-radius: 10px;
		font-size: 12px;
		white-space: nowrap;
	}

	.afg-mobile-sticky-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		border: 0;
		border-radius: 50%;
		background: #F2F4F7;
		color: #475467;
		cursor: pointer;
		font-size: 18px;
		line-height: 1;
	}

	body.afg-has-sticky-top {
		padding-top: 78px;
	}

	body.afg-has-sticky-bottom {
		padding-bottom: 78px;
	}

	/* Popup should stay above bottom sticky */
	body.afg-has-sticky-bottom .afg-smart-popup-backdrop {
		bottom: 92px;
	}

	body.afg-has-sticky-bottom .afg-smart-popup-tab {
		bottom: 146px;
	}
}


/* ==========================================================================
   Homepage Redesign — v1.1.0
   Inspired by the approved polished blue fintech direction.
   ========================================================================== */

.home {
	background: #F7F9FC;
}

.home main {
	background: #F7F9FC;
}

.afg-home-hero-slider {
	margin: 28px auto 0;
	max-width: 1440px;
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid var(--brand-primary-border);
	box-shadow: 0 18px 50px rgba(16,24,40,.06);
}

.afg-home-hero-slide {
	min-height: 500px;
}

.afg-home-hero-slide-inner {
	min-height: 500px;
	padding: 54px 58px 76px;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
	gap: 60px;
}

.afg-home-hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.afg-home-hero-copy h2 {
	font-size: clamp(44px, 5vw, 74px);
	max-width: 760px;
	line-height: 1.08;
}

.afg-home-hero-description p {
	font-size: 18px;
	line-height: 1.95;
	max-width: 720px;
	color: var(--brand-muted);
}

.afg-home-hero-copy .afg-button {
	margin-top: 6px;
	min-height: 54px;
	padding-inline: 22px;
	border-radius: 14px;
	font-size: 15px;
}

.afg-home-hero-media {
	position: relative;
	min-height: 350px;
}

.afg-home-hero-media::before {
	content: "";
	position: absolute;
	inset: 24px;
	border-radius: 32px;
	background:
		radial-gradient(circle at 25% 35%, rgba(21,94,239,.20), transparent 28%),
		linear-gradient(145deg, rgba(255,255,255,.78), rgba(239,246,255,.5));
	border: 1px solid rgba(21,94,239,.10);
}

.afg-home-hero-media img {
	position: relative;
	z-index: 1;
	max-width: 560px;
	max-height: 360px;
	filter: drop-shadow(0 28px 40px rgba(21,94,239,.14));
}

.afg-home-hero-empty-media {
	position: relative;
	z-index: 1;
	max-width: 520px;
	border-radius: 32px;
	box-shadow: none;
}

.afg-home-trust-row {
	max-width: 1440px;
	margin: 16px auto 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.afg-trust-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 18px;
}

.afg-trust-icon {
	width: 46px;
	height: 46px;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
	font-size: 22px;
	font-weight: 800;
}

.afg-trust-copy strong {
	display: block;
	color: var(--brand-navy);
	font-size: 15px;
}

.afg-trust-copy span {
	display: block;
	margin-top: 4px;
	color: var(--brand-muted);
	font-size: 12px;
	line-height: 1.5;
}

.home .section {
	padding-block: 44px;
}

.home .section > .site-container {
	max-width: 1440px;
}

.home-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.home-section-header h2 {
	margin: 0;
	font-size: clamp(28px, 3vw, 40px);
}

.home-section-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-decoration: none;
}

.afg-bank-grid-home {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.afg-bank-home-card {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 118px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 20px;
	text-decoration: none;
	color: inherit;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.afg-bank-home-card:hover {
	transform: translateY(-2px);
	border-color: var(--brand-primary-border);
	box-shadow: 0 14px 34px rgba(21,94,239,.08);
}

.afg-bank-home-logo {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
	font-size: 18px;
	font-weight: 800;
	overflow: hidden;
	flex: 0 0 auto;
}

.afg-bank-home-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
	background: #fff;
}

.afg-bank-home-copy strong {
	display: block;
	color: var(--brand-navy);
	font-size: 17px;
}

.afg-bank-home-copy span {
	display: block;
	margin-top: 6px;
	color: var(--brand-muted);
	font-size: 13px;
}

.home-services-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.home-service-card {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 20px;
	min-height: 160px;
}

.home-service-card-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
	margin-bottom: 16px;
	font-size: 22px;
	font-weight: 800;
}

.home-service-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.home-service-card p {
	margin: 0;
	color: var(--brand-muted);
	font-size: 13px;
	line-height: 1.7;
}

.home-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.home-articles-grid .afg-card {
	min-height: 180px;
	background: #fff;
}

@media (max-width: 1080px) {
	.afg-home-hero-slide-inner {
		grid-template-columns: 1fr;
		padding: 44px 34px 70px;
	}

	.afg-home-hero-media {
		order: -1;
		min-height: 240px;
	}

	.afg-home-trust-row {
		grid-template-columns: repeat(2, 1fr);
		padding-inline: 16px;
	}

	.afg-bank-grid-home,
	.home-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.afg-home-hero-slider {
		margin: 14px 12px 0;
		border-radius: 22px;
	}

	.afg-home-hero-slide-inner {
		padding: 28px 22px 64px;
		gap: 18px;
	}

	.afg-home-hero-copy h2 {
		font-size: clamp(34px, 11vw, 52px);
	}

	.afg-home-trust-row,
	.afg-bank-grid-home,
	.home-services-grid,
	.home-articles-grid {
		grid-template-columns: 1fr;
	}

	.afg-home-trust-row {
		margin-top: 12px;
		padding-inline: 12px;
	}

	.home-section-header {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* ==========================================================================
   Bank Directory + Compare — v1.2.0
   ========================================================================== */

.bank-directory-hero {
	padding: 52px 0 30px;
	background: linear-gradient(180deg, var(--brand-primary-soft), #F7F9FC);
}

.bank-directory-hero h1 {
	margin: 0 0 10px;
	font-size: clamp(38px, 5vw, 62px);
}

.bank-directory-hero p {
	margin: 0;
	max-width: 760px;
	color: var(--brand-muted);
	font-size: 17px;
	line-height: 1.8;
}

.bank-directory-shell {
	padding: 28px 0 64px;
	background: #F7F9FC;
}

.bank-directory-toolbar {
	display: grid;
	grid-template-columns: minmax(240px, 1.4fr) minmax(180px, .8fr) minmax(180px, .8fr) auto;
	gap: 12px;
	align-items: end;
	margin-bottom: 20px;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 18px;
}

.bank-filter-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: 700;
	color: var(--brand-muted);
}

.bank-filter-field input,
.bank-filter-field select {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--brand-border);
	border-radius: 12px;
	padding: 0 12px;
	background: #fff;
}

.bank-directory-count {
	margin: 0 0 14px;
	color: var(--brand-muted);
	font-size: 13px;
}

.bank-directory-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.bank-directory-card {
	display: flex;
	flex-direction: column;
	min-height: 300px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 22px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bank-directory-card:hover {
	transform: translateY(-2px);
	border-color: var(--brand-primary-border);
	box-shadow: 0 16px 38px rgba(21,94,239,.08);
}

.bank-directory-card-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.bank-directory-logo {
	width: 68px;
	height: 68px;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	border-radius: 18px;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
	font-size: 22px;
	font-weight: 800;
	overflow: hidden;
}

.bank-directory-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
	background: #fff;
}

.bank-directory-title {
	min-width: 0;
}

.bank-directory-title h2 {
	margin: 0;
	font-size: 20px;
	line-height: 1.35;
}

.bank-directory-title h2 a {
	color: var(--brand-navy);
	text-decoration: none;
}

.bank-directory-title .bank-en {
	display: block;
	margin-top: 4px;
	color: var(--brand-muted);
	font-size: 12px;
}

.bank-directory-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 18px;
}

.bank-directory-tag {
	padding: 6px 9px;
	border-radius: 999px;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
	font-size: 11px;
	font-weight: 700;
}

.bank-directory-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 18px;
}

.bank-directory-fact {
	padding: 11px 12px;
	border-radius: 14px;
	background: #F8FAFC;
}

.bank-directory-fact span {
	display: block;
	color: var(--brand-muted);
	font-size: 10px;
}

.bank-directory-fact strong {
	display: block;
	margin-top: 3px;
	color: var(--brand-navy);
	font-size: 13px;
}

.bank-directory-actions {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: auto;
	padding-top: 20px;
}

.bank-directory-actions .afg-button {
	flex: 1;
	justify-content: center;
}

.bank-compare-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 12px;
	border: 1px solid var(--brand-primary-border);
	border-radius: 12px;
	background: #fff;
	color: var(--brand-primary);
	font-family: var(--font-ui);
	font-weight: 800;
	cursor: pointer;
}

.bank-compare-toggle.is-selected {
	background: var(--brand-primary-soft);
	border-color: var(--brand-primary);
}

.afg-compare-dock {
	position: fixed;
	inset-inline: 50%;
	transform: translateX(50%);
	bottom: 18px;
	z-index: 9980;
	width: min(760px, calc(100vw - 30px));
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	border: 1px solid var(--brand-primary-border);
	border-radius: 18px;
	background: rgba(255,255,255,.98);
	box-shadow: 0 18px 48px rgba(16,24,40,.18);
	backdrop-filter: blur(12px);
}

html[dir="ltr"] .afg-compare-dock {
	transform: translateX(-50%);
}

.afg-compare-dock.is-visible {
	display: flex;
}

.afg-compare-dock-copy {
	min-width: 0;
}

.afg-compare-dock-copy strong {
	display: block;
	color: var(--brand-navy);
}

.afg-compare-dock-copy span {
	display: block;
	margin-top: 2px;
	color: var(--brand-muted);
	font-size: 12px;
}

.afg-compare-dock-actions {
	display: flex;
	gap: 8px;
	flex: 0 0 auto;
}

.compare-page-hero {
	padding: 50px 0 24px;
	background: linear-gradient(180deg, var(--brand-primary-soft), #fff);
}

.compare-page-hero h1 {
	margin: 0 0 10px;
	font-size: clamp(38px, 5vw, 58px);
}

.compare-page-shell {
	padding: 26px 0 70px;
}

.afg-compare-app {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 22px;
}

.afg-compare-selectors {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}

.afg-compare-select {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--brand-border);
	border-radius: 12px;
	padding: 0 12px;
	background: #fff;
}

.compare-table {
	width: 100%;
	min-width: 760px;
	margin-top: 22px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border: 1px solid var(--brand-border);
	border-radius: 16px;
	background: #fff;
}

.compare-table th,
.compare-table td {
	padding: 15px 14px;
	border-bottom: 1px solid var(--brand-border);
	border-inline-start: 1px solid var(--brand-border);
	vertical-align: top;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
	border-bottom: 0;
}

.compare-table th:first-child,
.compare-table td:first-child {
	border-inline-start: 0;
}

.compare-table thead th {
	background: var(--brand-primary-soft);
	color: var(--brand-navy);
}

.compare-table tbody th {
	width: 180px;
	background: #F8FAFC;
	color: var(--brand-muted);
	font-size: 12px;
}

.compare-table td {
	color: var(--brand-navy);
	font-weight: 600;
}

@media (max-width: 1000px) {
	.bank-directory-toolbar {
		grid-template-columns: 1fr 1fr;
	}

	.bank-directory-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.afg-compare-selectors {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.bank-directory-toolbar,
	.bank-directory-grid,
	.afg-compare-selectors {
		grid-template-columns: 1fr;
	}

	.bank-directory-hero {
		padding-top: 34px;
	}

	.bank-directory-actions {
		flex-direction: column;
	}

	.bank-directory-actions .afg-button,
	.bank-compare-toggle {
		width: 100%;
	}

	.afg-compare-dock {
		bottom: 88px;
		flex-direction: column;
		align-items: stretch;
	}

	.afg-compare-dock-actions .afg-button {
		flex: 1;
	}
}


/* ==========================================================================
   Bank Directory Redesign — v1.3.0
   ========================================================================== */

.bank-directory-hero {
	padding: 40px 0 24px;
	background: linear-gradient(180deg, #EFF6FF 0%, #F7F9FC 100%);
}

.bank-directory-hero .site-container {
	max-width: 1440px;
}

.bank-directory-hero h1 {
	margin: 0 0 8px;
	font-size: clamp(36px, 4.5vw, 56px);
	line-height: 1.15;
}

.bank-directory-hero p {
	max-width: 820px;
	font-size: 16px;
	line-height: 1.75;
}

.bank-directory-shell {
	padding: 20px 0 72px;
}

.bank-directory-shell .site-container {
	max-width: 1440px;
}

.bank-directory-toolbar {
	grid-template-columns: minmax(280px, 1.5fr) minmax(200px, .8fr) minmax(200px, .8fr) auto;
	gap: 12px;
	padding: 14px;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(16,24,40,.04);
}

.bank-directory-toolbar .afg-button {
	min-height: 44px;
	padding-inline: 18px;
}

.bank-directory-count {
	margin: 14px 2px 16px;
	font-size: 12px;
}

.bank-directory-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.bank-directory-card {
	min-height: 250px;
	padding: 16px;
	border-radius: 18px;
}

.bank-directory-card-head {
	align-items: flex-start;
	gap: 12px;
}

.bank-directory-logo {
	width: 58px;
	height: 58px;
	border-radius: 14px;
}

.bank-directory-title h2 {
	font-size: 18px;
}

.bank-directory-title .bank-en {
	margin-top: 2px;
	font-size: 11px;
}

.bank-directory-tags {
	margin-top: 12px;
	gap: 6px;
}

.bank-directory-tag {
	padding: 5px 8px;
	font-size: 10px;
}

.bank-directory-facts {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 14px;
}

.bank-directory-fact {
	padding: 9px 10px;
	border-radius: 12px;
}

.bank-directory-fact span {
	font-size: 9px;
}

.bank-directory-fact strong {
	font-size: 12px;
}

.bank-directory-services {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.bank-directory-service {
	padding: 5px 7px;
	border-radius: 999px;
	background: #F2F4F7;
	color: #475467;
	font-size: 9px;
	font-weight: 700;
}

.bank-directory-actions {
	gap: 8px;
	padding-top: 16px;
}

.bank-directory-actions .afg-button,
.bank-compare-toggle {
	min-height: 40px;
	font-size: 12px;
	border-radius: 10px;
}

.bank-directory-empty {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 18px;
	color: var(--brand-muted);
	text-align: center;
}

.afg-compare-dock {
	bottom: 20px;
	max-width: 700px;
}

body.afg-has-sticky-bottom .afg-compare-dock {
	bottom: 96px;
}

/* Keep the smart popup tab clear of bank-card actions on directory pages. */
.post-type-archive-afg_institution .afg-smart-popup-tab,
.page-template-default .afg-smart-popup-tab {
	bottom: 120px;
}

.post-type-archive-afg_institution .afg-smart-popup-backdrop,
.page-template-default .afg-smart-popup-backdrop {
	bottom: 26px;
}

@media (max-width: 1100px) {
	.bank-directory-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.bank-directory-toolbar {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 680px) {
	.bank-directory-hero {
		padding-top: 30px;
	}

	.bank-directory-toolbar {
		grid-template-columns: 1fr;
	}

	.bank-directory-grid {
		grid-template-columns: 1fr;
	}

	.bank-directory-card {
		min-height: auto;
	}

	.bank-directory-actions {
		flex-direction: row;
	}

	.bank-directory-actions .afg-button,
	.bank-compare-toggle {
		width: auto;
		flex: 1;
	}

	.post-type-archive-afg_institution .afg-smart-popup-tab {
		bottom: 150px;
	}
}


/* ==========================================================================
   Professional Bank Comparison — v1.4.0
   ========================================================================== */

.compare-page-shell {
	background: #F7F9FC;
}

.afg-compare-app {
	padding: 18px;
	border-radius: 22px;
	box-shadow: 0 10px 30px rgba(16,24,40,.04);
}

.afg-compare-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 14px;
}

.afg-compare-hint {
	margin: 0;
	color: var(--brand-muted);
	font-size: 12px;
}

.afg-compare-loading,
.afg-compare-error,
.afg-compare-empty {
	margin-top: 18px;
	padding: 18px;
	border-radius: 14px;
	background: #F8FAFC;
	color: var(--brand-muted);
}

.compare-table-wrap {
	overflow-x: auto;
	margin-top: 22px;
	border: 1px solid var(--brand-border);
	border-radius: 20px;
	background: #fff;
}

.compare-table-pro {
	width: 100%;
	min-width: 860px;
	border-collapse: separate;
	border-spacing: 0;
}

.compare-table-pro th,
.compare-table-pro td {
	padding: 14px 14px;
	border-bottom: 1px solid var(--brand-border);
	border-inline-start: 1px solid var(--brand-border);
	vertical-align: middle;
	text-align: start;
}

.compare-table-pro tr:last-child th,
.compare-table-pro tr:last-child td {
	border-bottom: 0;
}

.compare-table-pro th:first-child,
.compare-table-pro td:first-child {
	border-inline-start: 0;
}

.compare-table-pro thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #EFF6FF;
	color: var(--brand-navy);
}

.compare-feature-col {
	width: 190px;
	min-width: 190px;
	background: #F8FAFC !important;
	color: var(--brand-muted) !important;
	font-size: 12px;
	font-weight: 800;
}

.compare-bank-head {
	min-width: 190px;
	text-align: center !important;
}

.compare-bank-head a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--brand-navy);
}

.compare-bank-logo {
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--brand-primary-border);
	color: var(--brand-primary);
	font-weight: 900;
}

.compare-bank-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6px;
}

.compare-bank-en {
	display: block;
	margin-top: 3px;
	color: var(--brand-muted);
	font-size: 10px;
	font-weight: 600;
}

.compare-section-row th {
	padding: 10px 14px;
	background: #EAF2FF !important;
	color: var(--brand-primary) !important;
	font-size: 12px;
	font-weight: 900;
}

.compare-value {
	color: var(--brand-navy);
	font-size: 13px;
	font-weight: 650;
}

.compare-yes,
.compare-unknown {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 900;
}

.compare-yes {
	background: #EAF2FF;
	color: var(--brand-primary);
}

.compare-unknown {
	background: #F2F4F7;
	color: #98A2B3;
}

.compare-source-note {
	margin-top: 12px;
	color: var(--brand-muted);
	font-size: 11px;
}

@media (max-width: 700px) {
	.afg-compare-app {
		padding: 12px;
		border-radius: 16px;
	}

	.afg-compare-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.afg-compare-toolbar .afg-button {
		width: 100%;
	}

	.compare-feature-col {
		width: 150px;
		min-width: 150px;
	}
}


/* ==========================================================================
   Compare polish — v1.4.1
   ========================================================================== */

.compare-page-hero p {
	max-width: 820px;
	color: var(--brand-muted);
	line-height: 1.8;
}

.compare-table-pro tbody tr:not(.compare-section-row):hover td,
.compare-table-pro tbody tr:not(.compare-section-row):hover th {
	background: #FBFDFF;
}

.compare-contact-link {
	color: var(--brand-primary);
	font-weight: 750;
	text-decoration: none;
}

.compare-contact-link:hover {
	text-decoration: underline;
}

.compare-bank-short {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 7px;
	border-radius: 12px;
	background: #EFF6FF;
	color: var(--brand-primary);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .02em;
}

.compare-data-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 14px;
	padding: 11px 13px;
	border-radius: 12px;
	background: #F8FAFC;
	color: var(--brand-muted);
	font-size: 11px;
	line-height: 1.65;
}

/* On the comparison page, keep the smart-popup tab out of the table's eye-line. */
.page-template-page-compare .afg-smart-popup-tab,
body.page-id-0 .afg-smart-popup-tab {
	bottom: 26px;
}

/* Languages that do not yet have published routes. */
.language-switcher .is-disabled{opacity:.45;cursor:not-allowed;user-select:none}

/* ========================================================================== 
   UI redesign 2.0 — comparison-first visual system
   ========================================================================== */
:root{
	--brand:#0f766e;
	--brand-dark:#0b5f59;
	--brand2:#e7f5f2;
	--accent:#f59e0b;
	--accent-dark:#d97706;
	--bg:#f6f7f8;
	--card:#fff;
	--text:#172033;
	--muted:#667085;
	--border:#e4e7ec;
	--radius:14px;
	--container:1220px;
	--shadow:0 10px 30px rgba(16,24,40,.07);
}
body{background:var(--bg);color:var(--text)}
.site-container{width:min(calc(100% - 40px),var(--container))}
.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid #edf0f2;box-shadow:0 1px 10px rgba(16,24,40,.035);backdrop-filter:blur(14px)}
.header-inner{min-height:76px;gap:28px}
.site-brand-mark,.footer-brand-mark{background:var(--brand)!important;border-radius:12px!important;box-shadow:none!important}
.site-brand-title{font-size:18px;letter-spacing:-.2px}
.site-brand-subtitle{font-size:10px;color:#98a2b3}
.main-nav{margin-inline:auto}
.main-nav ul{gap:4px}
.main-nav a{font-size:13px;font-weight:700;padding:10px 11px;border-radius:9px;color:#344054}
.main-nav a::after{display:none!important}
.main-nav a:hover,.main-nav a:focus-visible,.main-nav .current-menu-item>a{background:#f0f8f6;color:var(--brand)}
.header-actions{gap:9px}
.header-actions>.language-switcher{display:none}
.header-search-toggle{width:42px!important;height:42px!important;border-radius:11px!important;background:#fff!important;border:1px solid var(--border)!important;color:#475467!important}
.header-search-label{display:none!important}
.header-compare-link{background:var(--brand)!important;border-radius:11px!important;padding:11px 17px!important;box-shadow:none!important;font-size:13px!important}

.afg-home-hero-slider{margin:0!important;border:0!important;border-radius:0!important;min-height:410px!important;background:linear-gradient(135deg,#effaf7 0%,#fff8e9 100%)!important;box-shadow:none!important;overflow:hidden}
.afg-home-hero-slider::before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:rgba(15,118,110,.06);inset:-260px auto auto -130px}
.afg-home-hero-slide{min-height:410px!important;background:transparent!important}
.afg-home-hero-slide-inner{min-height:410px!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;text-align:center!important;padding:64px 20px 124px!important}
.afg-home-hero-copy{width:min(780px,100%)!important;max-width:780px!important;margin:auto!important;padding:0!important;text-align:center!important;background:transparent!important;border:0!important;box-shadow:none!important}
.afg-home-hero-copy::before,.afg-home-hero-copy::after{display:none!important}
.afg-home-hero-copy h1,.afg-home-hero-copy h2{font-size:clamp(38px,5vw,64px)!important;line-height:1.2!important;letter-spacing:-1.6px!important;color:#152238!important;margin:0 0 16px!important;text-align:center!important}
.afg-home-hero-description,.afg-home-hero-description p,.afg-home-hero-copy>p{font-size:17px!important;line-height:1.95!important;color:#667085!important;max-width:680px!important;margin:0 auto 24px!important;text-align:center!important}
.afg-home-hero-copy .afg-button{background:var(--accent)!important;color:#172033!important;border-radius:11px!important;padding:12px 22px!important;box-shadow:none!important;font-size:14px!important}
.afg-home-hero-copy .afg-button:hover{background:var(--accent-dark)!important;color:#fff!important;transform:translateY(-1px)}
.afg-home-hero-media{display:none!important}
.afg-home-hero-dots{bottom:92px!important}
.afg-home-hero-dot{background:#b6d9d4!important;width:7px!important;height:7px!important}
.afg-home-hero-dot.is-active{background:var(--brand)!important;width:22px!important}

.afg-quick-compare{position:relative;z-index:4;margin-top:-92px;padding-bottom:22px}
.afg-quick-compare-panel{background:#fff;border:1px solid #e7e9ec;border-radius:18px;padding:22px;box-shadow:0 18px 50px rgba(16,24,40,.10)}
.afg-quick-compare-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}
.afg-quick-compare-heading span{font-size:12px;font-weight:800;color:var(--brand);background:var(--brand2);padding:5px 10px;border-radius:999px}
.afg-quick-compare-heading h2{font-size:20px;line-height:1.5;margin:0;color:#1d2939}
.afg-quick-compare-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
.afg-quick-compare-grid a{min-width:0;min-height:122px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;padding:14px 8px;border:1px solid var(--border);border-radius:13px;background:#fff;color:#344054;transition:.2s ease}
.afg-quick-compare-grid a:hover{border-color:#7fc7bf;background:#f7fcfb;transform:translateY(-3px);box-shadow:0 10px 24px rgba(15,118,110,.10)}
.afg-quick-compare-grid i{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:var(--brand2);color:var(--brand);font-style:normal;font-size:21px;margin-bottom:4px}
.afg-quick-compare-grid strong{font-size:13px;color:#1d2939;white-space:nowrap}
.afg-quick-compare-grid small{font-size:11px;color:#98a2b3}
.afg-quick-compare-grid a.is-primary{background:var(--brand);border-color:var(--brand);color:#fff}
.afg-quick-compare-grid a.is-primary i{background:rgba(255,255,255,.16);color:#fff}
.afg-quick-compare-grid a.is-primary strong,.afg-quick-compare-grid a.is-primary small{color:#fff}

.afg-home-trust-row{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0!important;margin-top:10px!important;margin-bottom:10px!important;background:#fff;border:1px solid var(--border);border-radius:14px;padding:0!important;box-shadow:none!important;overflow:hidden}
.afg-trust-card{border:0!important;border-inline-end:1px solid var(--border)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;padding:18px 20px!important;min-height:auto!important}
.afg-trust-card:last-child{border-inline-end:0!important}
.afg-trust-icon{width:34px!important;height:34px!important;border-radius:9px!important;background:#fff7e6!important;color:var(--accent-dark)!important}
.afg-trust-copy strong{font-size:13px!important;color:#344054!important}
.afg-trust-copy span{font-size:11px!important;color:#98a2b3!important;line-height:1.6!important}

.section{padding:42px 0}
.home-section-header{margin-bottom:20px!important}
.home-section-header h2,.afg-home-discovery-head h2{font-size:28px!important;letter-spacing:-.5px;color:#1d2939}
.home-section-link{font-size:13px;font-weight:700}
.afg-bank-grid-home{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.afg-bank-home-card{min-height:94px!important;border:1px solid var(--border)!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important;padding:15px!important;gap:13px!important}
.afg-bank-home-card:hover{border-color:#89c8c1!important;box-shadow:0 8px 22px rgba(16,24,40,.06)!important;transform:translateY(-2px)}
.afg-bank-home-card::after{color:var(--brand)!important}
.afg-bank-home-logo{width:54px!important;height:54px!important;border-radius:11px!important;border:1px solid #edf0f2!important}
.afg-bank-home-copy strong{font-size:14px!important}
.afg-bank-home-copy span{font-size:11px!important}
.home-services-grid{display:none!important}
.home-articles-grid{gap:14px!important}
.home-articles-grid .afg-card{border:1px solid var(--border)!important;box-shadow:none!important;border-radius:13px!important}
.afg-home-discovery{background:#eef7f5!important;padding:54px 0!important}
.afg-home-discovery-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.afg-home-discovery-card{background:#fff!important;border:1px solid #dce9e6!important;border-radius:13px!important;box-shadow:none!important;min-height:112px!important;padding:17px!important}
.afg-home-discovery-card-wide{grid-column:span 3!important}
.afg-home-discovery-icon{background:var(--brand2)!important;color:var(--brand)!important;border-radius:10px!important}

.site-footer{background:#142522!important;margin-top:0!important;padding:54px 0 24px!important}
.footer-grid{grid-template-columns:1.2fr .8fr 1fr!important;gap:52px!important}
.site-footer h3{font-size:14px!important;color:#fff!important;margin-bottom:15px!important}
.site-footer p,.site-footer li,.site-footer a,.site-footer small{font-size:12px!important;color:#b9c8c5!important}
.footer-bottom{border-top:1px solid rgba(255,255,255,.09)!important;margin-top:38px!important;padding-top:20px!important;font-size:11px!important;color:#91a5a1!important}
.footer-status{display:flex;align-items:center;gap:7px}
.footer-status i{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.12)}

@media (min-width:1101px){
	.main-nav li:nth-child(n+6){display:none}
}
@media (max-width:1100px){
	.afg-quick-compare-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
	.afg-bank-grid-home{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:760px){
	.site-container{width:min(calc(100% - 24px),var(--container))}
	.header-inner{min-height:66px}
	.site-brand-subtitle{display:none}
	.header-compare-link{display:none!important}
	.afg-home-hero-slider,.afg-home-hero-slide{min-height:390px!important}
	.afg-home-hero-slide-inner{min-height:390px!important;padding:48px 18px 130px!important}
	.afg-home-hero-copy h1,.afg-home-hero-copy h2{font-size:38px!important;letter-spacing:-1px!important}
	.afg-home-hero-description,.afg-home-hero-description p,.afg-home-hero-copy>p{font-size:14px!important;line-height:1.85!important}
	.afg-quick-compare{margin-top:-106px}
	.afg-quick-compare-panel{padding:16px;border-radius:16px}
	.afg-quick-compare-heading{display:block;margin-bottom:14px}
	.afg-quick-compare-heading span{display:inline-block;margin-bottom:8px}
	.afg-quick-compare-heading h2{font-size:18px}
	.afg-quick-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
	.afg-quick-compare-grid a{min-height:100px;padding:10px 6px}
	.afg-quick-compare-grid i{width:36px;height:36px;font-size:18px}
	.afg-home-trust-row{grid-template-columns:1fr 1fr!important}
	.afg-trust-card:nth-child(2){border-inline-end:0!important}
	.afg-trust-card:nth-child(-n+2){border-bottom:1px solid var(--border)!important}
	.afg-trust-copy span{display:none!important}
	.section{padding:34px 0}
	.home-section-header h2,.afg-home-discovery-head h2{font-size:23px!important}
	.afg-bank-grid-home{grid-template-columns:1fr!important}
	.afg-home-discovery-grid{grid-template-columns:1fr!important}
	.afg-home-discovery-card-wide{grid-column:auto!important}
	.footer-grid{grid-template-columns:1fr!important;gap:28px!important}
	.footer-bottom{align-items:flex-start!important;gap:10px!important}
}

/* ========================================================================== 
   Financial product directory + single product — v1.5.0
   ========================================================================== */
.afg-products-page,
.afg-product-single {
	background: #f7f9fc;
	color: var(--brand-navy);
}

.afg-products-hero,
.afg-product-single-hero {
	background: linear-gradient(180deg, #f2f7ff 0%, #f7f9fc 100%);
	border-bottom: 1px solid var(--brand-border);
}

.afg-products-hero-copy {
	padding: 58px 0 38px;
	max-width: 860px;
	margin-inline-start: auto;
	text-align: start;
}

.afg-eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 7px 11px;
	border-radius: 999px;
	background: #eaf7f5;
	color: var(--brand-primary);
	font-size: 12px;
	font-weight: 850;
}

.afg-products-hero h1,
.afg-product-single-hero h1 {
	margin: 12px 0 10px;
	font-size: clamp(34px, 4vw, 56px);
	line-height: 1.15;
}

.afg-products-hero p {
	margin: 0;
	color: var(--brand-muted);
	font-size: 17px;
	line-height: 1.9;
}

.afg-products-content {
	padding-top: 26px;
	padding-bottom: 72px;
}

.afg-product-filters {
	display: grid;
	grid-template-columns: 1.3fr 1fr .8fr auto;
	gap: 12px;
	align-items: end;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 18px;
	box-shadow: 0 8px 28px rgba(16, 24, 40, .04);
}

.afg-filter-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 800;
	color: var(--brand-muted);
}

.afg-filter-field select {
	width: 100%;
	height: 46px;
	padding: 0 13px;
	border: 1px solid var(--brand-border);
	border-radius: 12px;
	background: #fff;
	color: var(--brand-navy);
	font: inherit;
}

.afg-filter-actions {
	display: flex;
	gap: 8px;
}

.afg-button-secondary {
	background: #fff !important;
	color: var(--brand-primary) !important;
	border: 1px solid var(--brand-primary-border) !important;
}

.afg-products-result-bar {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	margin: 22px 2px 14px;
	color: var(--brand-muted);
	font-size: 12px;
}

.afg-products-result-bar strong {
	color: var(--brand-navy);
	font-size: 14px;
}

.afg-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.afg-product-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 18px;
	box-shadow: 0 8px 25px rgba(16, 24, 40, .035);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.afg-product-card:hover {
	transform: translateY(-2px);
	border-color: var(--brand-primary-border);
	box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.afg-product-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid #eef2f6;
}

.afg-product-bank-logo {
	width: 68px;
	height: 68px;
	flex: 0 0 68px;
	display: grid;
	place-items: center;
	border: 1px solid #e5ebf4;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.afg-product-bank-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 7px;
}

.afg-product-bank-logo span {
	font-size: 25px;
	font-weight: 900;
	color: var(--brand-primary);
}

.afg-product-bank-name {
	display: block;
	font-weight: 850;
}

.afg-product-card-head small,
.afg-product-bank-panel small {
	display: block;
	margin-top: 2px;
	color: var(--brand-muted);
	font-size: 11px;
}

.afg-product-card-title {
	padding: 18px 0 8px;
}

.afg-product-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.afg-product-tags span {
	display: inline-flex;
	padding: 5px 9px;
	border-radius: 999px;
	background: #e7f5f2;
	color: var(--brand-primary);
	font-size: 10px;
	font-weight: 800;
}

.afg-product-tags .is-verified {
	background: #ecfdf3;
	color: #027a48;
}

.afg-product-card h2 {
	margin: 12px 0 0;
	font-size: 21px;
	line-height: 1.45;
}

.afg-product-card h2 a {
	color: var(--brand-navy);
	text-decoration: none;
}

.afg-product-name-en,
.afg-product-single-en {
	margin: 4px 0 0;
	color: var(--brand-muted);
	font-size: 12px;
}

.afg-product-key-data,
.afg-product-facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 10px;
}

.afg-product-key-data > div,
.afg-product-facts > div {
	padding: 11px;
	border-radius: 12px;
	background: #f8fafc;
}

.afg-product-key-data span,
.afg-product-facts span {
	display: block;
	margin-bottom: 4px;
	color: var(--brand-muted);
	font-size: 10px;
}

.afg-product-key-data strong,
.afg-product-facts strong {
	display: block;
	font-size: 13px;
	line-height: 1.5;
}

.afg-product-card-excerpt {
	margin: 14px 0 18px;
	color: var(--brand-muted);
	font-size: 13px;
	line-height: 1.8;
}

.afg-product-card-actions {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 8px;
	margin-top: auto;
}

.afg-product-card-actions .afg-button {
	text-align: center;
	justify-content: center;
}

.afg-products-empty {
	padding: 48px 24px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 18px;
	text-align: center;
}

/* Single product */
.afg-product-single-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 36px;
	align-items: center;
	padding-top: 52px;
	padding-bottom: 46px;
}

.afg-product-single-summary {
	max-width: 780px;
	color: var(--brand-muted);
	font-size: 15px;
	line-height: 1.9;
}

.afg-product-bank-panel {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--brand-border);
	border-radius: 18px;
	background: #fff;
	color: var(--brand-navy);
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(16, 24, 40, .04);
}

.afg-product-bank-logo--large {
	width: 82px;
	height: 82px;
	flex-basis: 82px;
}

.afg-product-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 24px;
	align-items: start;
	padding-top: 28px;
	padding-bottom: 70px;
}

.afg-product-single-main {
	display: grid;
	gap: 18px;
}

.afg-product-section,
.afg-product-sidebar-card {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 18px;
}

.afg-product-section h2,
.afg-product-sidebar-card h3 {
	margin: 0 0 16px;
}

.afg-product-facts {
	grid-template-columns: repeat(4, 1fr);
}

.afg-product-richtext {
	color: #344054;
	line-height: 1.95;
}

.afg-product-richtext ul {
	margin: 0;
	padding-inline-start: 21px;
}

.afg-product-table-wrap {
	overflow-x: auto;
	border: 1px solid #e9edf3;
	border-radius: 14px;
}

.afg-product-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
}

.afg-product-table th,
.afg-product-table td {
	padding: 12px 13px;
	border-bottom: 1px solid #edf1f5;
	text-align: start;
	vertical-align: top;
	font-size: 12px;
}

.afg-product-table th {
	background: #f8fafc;
	color: var(--brand-muted);
	font-weight: 850;
}

.afg-product-table tr:last-child td {
	border-bottom: 0;
}

.afg-source-status {
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 850;
	white-space: nowrap;
}

.afg-source-status--verified {
	background: #ecfdf3;
	color: #027a48;
}

.afg-source-status--conflict {
	background: #fff6ed;
	color: #b54708;
}

.afg-source-status--unknown {
	background: #f2f4f7;
	color: #667085;
}

.afg-product-section-warning {
	background: #fffcf5;
	border-color: #fedf89;
}

.afg-product-single-sidebar {
	position: sticky;
	top: 92px;
}

.afg-product-sidebar-card dl {
	margin: 0 0 18px;
}

.afg-product-sidebar-card dt {
	margin-top: 12px;
	color: var(--brand-muted);
	font-size: 10px;
}

.afg-product-sidebar-card dd {
	margin: 3px 0 0;
	font-size: 12px;
	font-weight: 750;
	line-height: 1.6;
}

.afg-product-sidebar-card .afg-button {
	display: flex;
	justify-content: center;
}

.afg-product-back-link {
	display: block;
	margin-top: 12px;
	padding: 10px;
	color: var(--brand-primary);
	font-size: 12px;
	font-weight: 750;
	text-decoration: none;
}

/* Hide Smart Popup on task-oriented product pages even if stale markup is cached. */
body.page-accounts .afg-smart-popup-backdrop,
body.single-afg_product .afg-smart-popup-backdrop,
body.single-afg_product .afg-smart-popup-tab {
	display: none !important;
}

@media (max-width: 1050px) {
	.afg-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.afg-product-filters {
		grid-template-columns: repeat(2, 1fr);
	}
	.afg-filter-actions {
		grid-column: 1 / -1;
	}
	.afg-product-single-layout,
	.afg-product-single-hero-inner {
		grid-template-columns: 1fr;
	}
	.afg-product-single-sidebar {
		position: static;
	}
}

@media (max-width: 700px) {
	.afg-products-hero-copy {
		padding: 36px 0 28px;
	}
	.afg-products-hero h1,
	.afg-product-single-hero h1 {
		font-size: 34px;
	}
	.afg-product-filters,
	.afg-product-grid {
		grid-template-columns: 1fr;
	}
	.afg-products-result-bar {
		align-items: flex-start;
		flex-direction: column;
	}
	.afg-product-key-data,
	.afg-product-facts {
		grid-template-columns: repeat(2, 1fr);
	}
	.afg-product-card-actions {
		grid-template-columns: 1fr;
	}
	.afg-product-bank-logo {
		width: 60px;
		height: 60px;
		flex-basis: 60px;
	}
	.afg-product-section,
	.afg-product-sidebar-card {
		padding: 16px;
	}
}


/* ==========================================================================
   Accounts directory polish — v1.5.1
   ========================================================================== */

.afg-product-grid--single {
	grid-template-columns: minmax(0, 820px);
	justify-content: center;
}

.afg-product-grid--two {
	grid-template-columns: repeat(2, minmax(0, 520px));
	justify-content: center;
}

.afg-product-grid--single .afg-product-card {
	padding: 26px;
}

.afg-product-grid--single .afg-product-card-head {
	gap: 18px;
}

.afg-product-grid--single .afg-product-bank-logo {
	width: 104px;
	height: 104px;
	flex-basis: 104px;
	border-radius: 22px;
}

.afg-product-grid--single .afg-product-bank-logo img {
	padding: 10px;
}

.afg-product-grid--single .afg-product-bank-name {
	font-size: 19px;
}

.afg-product-grid--single .afg-product-card-head small {
	font-size: 12px;
}

.afg-product-grid--single .afg-product-card h2 {
	font-size: 28px;
}

.afg-product-grid--single .afg-product-name-en {
	font-size: 13px;
}

.afg-product-grid--single .afg-product-key-data {
	gap: 12px;
}

.afg-product-grid--single .afg-product-key-data > div {
	padding: 16px;
}

.afg-product-grid--single .afg-product-key-data span {
	font-size: 11px;
}

.afg-product-grid--single .afg-product-key-data strong {
	font-size: 15px;
}

.afg-product-grid--single .afg-product-card-excerpt {
	font-size: 14px;
	line-height: 2;
	max-width: 700px;
}

.afg-product-grid--single .afg-product-card-actions {
	grid-template-columns: minmax(180px, .8fr) minmax(160px, .6fr);
	max-width: 430px;
}

.afg-product-tags .is-review {
	background: #e7f5f2;
	color: #175cd3;
}

.afg-product-tags .is-warning {
	background: #fff6ed;
	color: #b54708;
}

/* Single-product visual hierarchy. */
.afg-product-single-title {
	min-width: 0;
}

.afg-product-single-hero-inner {
	min-height: 260px;
}

.afg-product-single .afg-product-bank-panel {
	padding: 20px;
}

.afg-product-single .afg-product-bank-logo--large {
	width: 104px;
	height: 104px;
	flex-basis: 104px;
	border-radius: 22px;
}

.afg-product-single .afg-product-bank-panel strong {
	display: block;
	font-size: 17px;
}

.afg-product-section {
	box-shadow: 0 8px 26px rgba(16,24,40,.025);
}

.afg-product-section-warning {
	box-shadow: none;
}

.afg-product-table tbody tr:hover td {
	background: #fbfdfc;
}

.afg-source-status--conflict {
	border: 1px solid #fedf89;
}

.afg-product-sidebar-card {
	box-shadow: 0 10px 30px rgba(16,24,40,.035);
}

@media (max-width: 1050px) {
	.afg-product-grid--single,
	.afg-product-grid--two {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 700px) {
	.afg-product-grid--single .afg-product-card {
		padding: 18px;
	}

	.afg-product-grid--single .afg-product-bank-logo {
		width: 78px;
		height: 78px;
		flex-basis: 78px;
		border-radius: 17px;
	}

	.afg-product-grid--single .afg-product-card h2 {
		font-size: 22px;
	}

	.afg-product-grid--single .afg-product-card-actions {
		grid-template-columns: 1fr;
		max-width: none;
	}
}


/* ==========================================================================
   Group accounts by bank — v1.5.2
   ========================================================================== */

.afg-bank-account-groups {
	display: grid;
	gap: 24px;
}

.afg-bank-account-group {
	background: #fff;
	border: 1px solid var(--brand-line);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(16,24,40,.035);
}

.afg-bank-account-group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 26px;
	background:
		radial-gradient(circle at 85% 20%, rgba(15,118,110,.08), transparent 35%),
		linear-gradient(180deg, #fbfdfc, #f6faf9);
	border-bottom: 1px solid var(--brand-line);
}

.afg-bank-account-group-identity {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
}

.afg-bank-account-group-logo {
	width: 128px;
	height: 92px;
	flex: 0 0 128px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #d6e9e6;
	border-radius: 18px;
	overflow: hidden;
}

.afg-bank-account-group-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 4px;
	transform: scale(1.35);
	transform-origin: center;
}

.afg-bank-account-group-logo span {
	font-size: 34px;
	font-weight: 900;
	color: var(--brand-primary);
}

.afg-bank-account-group-title {
	min-width: 0;
}

.afg-bank-account-group-title-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.afg-bank-account-group-title h2 {
	margin: 0;
	font-size: 25px;
	line-height: 1.4;
}

.afg-bank-account-group-title p {
	margin: 5px 0 0;
	color: var(--brand-muted);
	font-size: 12px;
	text-align: right;
}

.afg-bank-account-count {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #eaf7f5;
	color: var(--brand-primary);
	font-size: 11px;
	font-weight: 800;
}

.afg-bank-account-bank-link {
	flex: 0 0 auto;
	color: var(--brand-primary);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.afg-bank-account-bank-link:hover {
	text-decoration: underline;
}

.afg-bank-account-products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.afg-bank-account-product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 24px;
	border-inline-start: 1px solid var(--brand-line);
	border-top: 1px solid var(--brand-line);
}

.afg-bank-account-product:nth-child(-n+3) {
	border-top: 0;
}

.afg-bank-account-product:nth-child(3n+1) {
	border-inline-start: 0;
}

.afg-bank-account-product h3 {
	margin: 15px 0 4px;
	font-size: 20px;
	line-height: 1.6;
}

.afg-bank-account-product h3 a {
	color: var(--brand-navy);
	text-decoration: none;
}

.afg-bank-account-product h3 a:hover {
	color: var(--brand-primary);
}

.afg-product-key-data--compact {
	margin-top: 18px;
	gap: 8px;
}

.afg-product-key-data--compact > div {
	min-height: 74px;
	padding: 12px;
}

.afg-product-key-data--compact strong {
	font-size: 12px;
	line-height: 1.55;
}

.afg-bank-account-product-excerpt {
	margin: 16px 0 20px;
	color: var(--brand-muted);
	font-size: 12px;
	line-height: 1.9;
}

.afg-bank-account-details {
	margin-top: auto;
	align-self: flex-start;
	min-width: 150px;
}

/* More aggressive visual recovery for whitespace-heavy uploaded bank logos. */
.afg-bank-account-group[data-bank-logo-fit="wide"] .afg-bank-account-group-logo img {
	transform: scale(1.5);
}

@media (max-width: 1100px) {
	.afg-bank-account-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.afg-bank-account-product:nth-child(-n+3),
	.afg-bank-account-product:nth-child(3n+1) {
		border-top: 1px solid var(--brand-line);
		border-inline-start: 1px solid var(--brand-line);
	}

	.afg-bank-account-product:nth-child(-n+2) {
		border-top: 0;
	}

	.afg-bank-account-product:nth-child(2n+1) {
		border-inline-start: 0;
	}
}

@media (max-width: 720px) {
	.afg-bank-account-group-head {
		align-items: flex-start;
		padding: 18px;
		flex-direction: column;
	}

	.afg-bank-account-group-identity {
		width: 100%;
	}

	.afg-bank-account-group-logo {
		width: 100px;
		height: 76px;
		flex-basis: 100px;
	}

	.afg-bank-account-group-title h2 {
		font-size: 21px;
	}

	.afg-bank-account-products {
		grid-template-columns: 1fr;
	}

	.afg-bank-account-product,
	.afg-bank-account-product:nth-child(-n+3),
	.afg-bank-account-product:nth-child(3n+1),
	.afg-bank-account-product:nth-child(-n+2),
	.afg-bank-account-product:nth-child(2n+1) {
		border-inline-start: 0;
		border-top: 1px solid var(--brand-line);
	}

	.afg-bank-account-product:first-child {
		border-top: 0;
	}

	.afg-bank-account-bank-link {
		padding-inline-start: 120px;
	}
}


/* ==========================================================================
   Accounts polish + compare — v1.5.3
   ========================================================================== */

.afg-bank-account-group-head {
	justify-content: flex-start;
}

.afg-bank-account-bank-link {
	margin-inline-start: 10px;
	padding: 9px 13px;
	border: 1px solid #c9e4df;
	border-radius: 10px;
	background: #fff;
	text-decoration: none;
}

.afg-bank-account-group-logo {
	width: 150px;
	height: 104px;
	flex-basis: 150px;
}

.afg-bank-account-group-logo img {
	padding: 0;
	transform: scale(1.55);
}

.afg-bank-account-products {
	gap: 14px;
	padding: 16px;
	background: #fbfcfe;
}

.afg-bank-account-product,
.afg-bank-account-product:nth-child(-n+3),
.afg-bank-account-product:nth-child(3n+1) {
	border: 1px solid var(--brand-line);
	border-radius: 18px;
	background: #fff;
}

.afg-bank-account-product {
	padding: 20px;
}

.afg-bank-account-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: auto;
}

.afg-bank-account-actions .afg-button {
	width: 100%;
	min-width: 0;
}

.afg-account-compare-toggle.is-selected {
	border-color: var(--brand-primary);
	background: #e7f5f2;
	color: var(--brand-primary);
}

.afg-account-compare-tray {
	position: fixed;
	z-index: 80;
	inset-inline: 20px;
	bottom: 18px;
	pointer-events: none;
}

.afg-account-compare-tray[hidden] {
	display: none;
}

.afg-account-compare-tray-inner {
	max-width: 1120px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	border: 1px solid #cbdcff;
	border-radius: 18px;
	background: rgba(255,255,255,.97);
	box-shadow: 0 18px 60px rgba(16,24,40,.18);
	backdrop-filter: blur(14px);
	pointer-events: auto;
}

.afg-account-compare-summary {
	display: grid;
	gap: 2px;
}

.afg-account-compare-summary strong {
	font-size: 14px;
}

.afg-account-compare-summary span {
	font-size: 11px;
	color: var(--brand-muted);
}

.afg-account-compare-items {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	overflow-x: auto;
}

.afg-account-compare-chip {
	border: 1px solid #d7e3fb;
	background: #f7fbfa;
	border-radius: 999px;
	padding: 8px 11px;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	color: var(--brand-navy);
}

.afg-account-compare-chip span {
	margin-inline-start: 7px;
	color: #d92d20;
	font-size: 15px;
}

.afg-account-compare-tray-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.afg-account-compare-tray-actions .is-disabled {
	opacity: .45;
	cursor: not-allowed;
	pointer-events: none;
}

.afg-account-compare-page {
	min-height: 70vh;
	background: var(--brand-soft);
}

.afg-compare-content {
	padding-top: 28px;
	padding-bottom: 70px;
}

.afg-compare-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.afg-compare-toolbar > div {
	display: grid;
	gap: 4px;
}

.afg-compare-toolbar span {
	color: var(--brand-muted);
	font-size: 12px;
}

.afg-account-compare-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--brand-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(16,24,40,.04);
}

.afg-account-compare-table {
	width: 100%;
	min-width: 950px;
	border-collapse: collapse;
	table-layout: fixed;
}

.afg-account-compare-table th,
.afg-account-compare-table td {
	padding: 17px 16px;
	border-inline-start: 1px solid var(--brand-line);
	border-top: 1px solid var(--brand-line);
	vertical-align: top;
	line-height: 1.8;
}

.afg-account-compare-table thead th {
	border-top: 0;
	background: #f4faf8;
}

.afg-account-compare-table th:first-child,
.afg-account-compare-table td:first-child {
	border-inline-start: 0;
	width: 155px;
	background: #f8fafc;
	font-weight: 800;
}

.afg-account-compare-table td {
	font-size: 12px;
	color: var(--brand-navy);
}

.afg-compare-product-head {
	display: grid;
	justify-items: center;
	gap: 8px;
	text-align: center;
}

.afg-compare-bank-logo {
	width: 130px;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.afg-compare-bank-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: scale(1.45);
}

.afg-compare-product-head strong {
	font-size: 16px;
	line-height: 1.6;
}

.afg-compare-product-head span {
	font-size: 11px;
	color: var(--brand-muted);
}

.afg-compare-actions-row td {
	text-align: center;
}

.afg-compare-note {
	margin-top: 14px;
	padding: 13px 16px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--brand-line);
	color: var(--brand-muted);
	font-size: 11px;
}

.afg-compare-note strong {
	color: var(--brand-navy);
}

@media (max-width: 800px) {
	.afg-bank-account-group-logo {
		width: 116px;
		height: 84px;
		flex-basis: 116px;
	}

	.afg-bank-account-actions {
		grid-template-columns: 1fr;
	}

	.afg-account-compare-tray {
		inset-inline: 8px;
		bottom: 8px;
	}

	.afg-account-compare-tray-inner {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.afg-account-compare-tray-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.afg-compare-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* ==========================================================================
   Product detail page — Stage 2 / v1.5.4
   ========================================================================== */

.afg-product-detail-v154 {
	background: #f7f9fc;
}

.afg-product-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 18px 0;
	color: var(--brand-muted);
	font-size: 11px;
}

.afg-product-breadcrumbs a {
	color: var(--brand-muted);
	text-decoration: none;
}

.afg-product-breadcrumbs a:hover {
	color: var(--brand-primary);
}

.afg-product-detail-hero {
	border-top: 1px solid #eaf0f8;
}

.afg-product-detail-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 46px;
	align-items: center;
	padding-top: 42px;
	padding-bottom: 44px;
}

.afg-product-detail-title h1 {
	margin: 14px 0 8px;
	max-width: 850px;
	font-size: clamp(36px, 4.4vw, 58px);
	line-height: 1.2;
	letter-spacing: -.02em;
}

.afg-product-detail-title .afg-product-single-summary {
	margin-top: 16px;
	max-width: 820px;
}

.afg-product-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.afg-product-bank-panel--detail {
	padding: 20px;
	border-radius: 24px;
	box-shadow: 0 16px 45px rgba(16,24,40,.06);
}

.afg-product-bank-logo--detail {
	width: 138px;
	height: 96px;
	flex: 0 0 138px;
	border-radius: 18px;
}

.afg-product-bank-logo--detail img {
	padding: 0;
	transform: scale(1.45);
}

.afg-product-bank-panel-copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.afg-product-bank-panel-copy small {
	margin: 0;
}

.afg-product-bank-panel-copy strong {
	font-size: 19px;
	line-height: 1.5;
}

.afg-product-bank-panel-copy span {
	color: var(--brand-muted);
	font-size: 11px;
}

.afg-product-bank-panel-copy em {
	margin-top: 7px;
	color: var(--brand-primary);
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
}

.afg-product-decision-strip {
	background: #fff;
	border-block: 1px solid var(--brand-line);
}

.afg-product-decision-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.afg-product-decision-grid > div {
	min-width: 0;
	padding: 18px 16px;
	border-inline-start: 1px solid var(--brand-line);
}

.afg-product-decision-grid > div:first-child {
	border-inline-start: 0;
}

.afg-product-decision-grid span {
	display: block;
	margin-bottom: 5px;
	color: var(--brand-muted);
	font-size: 10px;
}

.afg-product-decision-grid strong {
	display: block;
	font-size: 12px;
	line-height: 1.6;
	word-break: break-word;
}

.afg-product-anchor-wrap {
	position: sticky;
	top: 70px;
	z-index: 18;
	padding-top: 14px;
	pointer-events: none;
}

.afg-product-anchor-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	max-width: 100%;
	padding: 7px;
	border: 1px solid #dce6f5;
	border-radius: 14px;
	background: rgba(255,255,255,.95);
	box-shadow: 0 10px 30px rgba(16,24,40,.06);
	backdrop-filter: blur(12px);
	overflow-x: auto;
	pointer-events: auto;
}

.afg-product-anchor-nav a {
	flex: 0 0 auto;
	padding: 7px 11px;
	border-radius: 9px;
	color: var(--brand-muted);
	font-size: 10px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.afg-product-anchor-nav a:hover,
.afg-product-anchor-nav .is-active {
	background: #e7f5f2;
	color: var(--brand-primary);
}

.afg-product-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	align-items: start;
	padding-top: 22px;
	padding-bottom: 76px;
}

.afg-product-detail-main {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.afg-product-detail-main .afg-product-section {
	scroll-margin-top: 150px;
	padding: 26px;
	border-radius: 22px;
}

.afg-product-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.afg-product-section-heading h2 {
	margin: 4px 0 0;
	font-size: 24px;
	line-height: 1.45;
}

.afg-section-kicker {
	color: var(--brand-primary);
	font-size: 10px;
	font-weight: 850;
}

.afg-product-summary-card {
	background:
		radial-gradient(circle at 90% 0%, rgba(15,118,110,.06), transparent 32%),
		#fff;
}

.afg-product-overview-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 22px;
	align-items: stretch;
}

.afg-product-overview-copy {
	min-width: 0;
}

.afg-product-data-confidence {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 18px;
	border: 1px solid #d6e9e6;
	border-radius: 16px;
	background: #f6faf9;
}

.afg-product-data-confidence span {
	color: var(--brand-muted);
	font-size: 10px;
}

.afg-product-data-confidence strong {
	margin-top: 5px;
	color: var(--brand-primary);
	font-size: 17px;
}

.afg-product-data-confidence small {
	margin-top: 8px;
	color: var(--brand-muted);
	font-size: 10px;
	line-height: 1.8;
}

.afg-currency-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.afg-currency-card {
	position: relative;
	min-width: 0;
	padding: 18px;
	border: 1px solid #e2e9f4;
	border-radius: 18px;
	background: #fbfdfc;
}

.afg-currency-code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	height: 34px;
	margin-bottom: 16px;
	padding-inline: 10px;
	border-radius: 10px;
	background: #eaf7f5;
	color: var(--brand-primary);
	font-size: 14px;
	font-weight: 900;
}

.afg-currency-card > div:not(.afg-currency-code) {
	margin-top: 8px;
}

.afg-currency-card span {
	display: block;
	color: var(--brand-muted);
	font-size: 9px;
}

.afg-currency-card strong {
	display: block;
	margin-top: 3px;
	font-size: 14px;
	line-height: 1.5;
}

.afg-currency-card p {
	margin: 13px 0 0;
	padding-top: 12px;
	border-top: 1px solid #edf2f7;
	color: var(--brand-muted);
	font-size: 10px;
	line-height: 1.7;
}

.afg-product-feature-list ul,
.afg-product-document-list ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
	padding: 0;
	list-style: none;
}

.afg-product-feature-list li,
.afg-product-document-list li {
	position: relative;
	margin: 0;
	padding: 13px 38px 13px 14px;
	border: 1px solid #e8edf5;
	border-radius: 13px;
	background: #fbfcfe;
}

.afg-product-feature-list li::before,
.afg-product-document-list li::before {
	content: "✓";
	position: absolute;
	inset-inline-start: 13px;
	top: 13px;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #eaf8f1;
	color: #16845b;
	font-size: 10px;
	font-weight: 900;
}

.afg-product-document-list li::before {
	content: "•";
	background: #e7f5f2;
	color: var(--brand-primary);
}

.afg-generic-fee-note {
	display: flex;
	gap: 9px;
	margin-top: 14px;
	padding: 13px 15px;
	border-radius: 13px;
	background: #f8fafc;
	color: var(--brand-muted);
	font-size: 11px;
	line-height: 1.8;
}

.afg-generic-fee-note strong {
	color: var(--brand-navy);
	flex: 0 0 auto;
}

.afg-product-source-section {
	background: #fbfdfc;
}

.afg-product-source-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.afg-product-source-grid > div {
	min-width: 0;
	padding: 14px;
	border: 1px solid #e5ebf3;
	border-radius: 14px;
	background: #fff;
}

.afg-product-source-grid span {
	display: block;
	color: var(--brand-muted);
	font-size: 9px;
}

.afg-product-source-grid strong {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.6;
	word-break: break-word;
}

.afg-official-source-button {
	margin-top: 16px;
}

.afg-product-detail-sidebar {
	position: sticky;
	top: 142px;
	display: grid;
	gap: 12px;
}

.afg-product-action-card {
	padding: 22px;
}

.afg-product-action-card h3 {
	margin: 5px 0 18px;
	font-size: 19px;
	line-height: 1.55;
}

.afg-sidebar-kicker {
	color: var(--brand-primary);
	font-size: 10px;
	font-weight: 850;
}

.afg-sidebar-fact {
	padding: 11px 0;
	border-top: 1px solid #edf1f6;
}

.afg-sidebar-fact span {
	display: block;
	color: var(--brand-muted);
	font-size: 9px;
}

.afg-sidebar-fact strong {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.55;
}

.afg-product-action-card .afg-button {
	display: flex;
	justify-content: center;
	margin-top: 9px;
}

.afg-product-trust-card {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	padding: 16px;
}

.afg-product-trust-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 50%;
	background: #ecfdf3;
	color: #027a48;
	font-weight: 900;
}

.afg-product-trust-card strong {
	font-size: 12px;
}

.afg-product-trust-card p {
	margin: 4px 0 0;
	color: var(--brand-muted);
	font-size: 9px;
	line-height: 1.7;
}

.afg-fee-table td:first-child {
	min-width: 170px;
}

@media (max-width: 1150px) {
	.afg-product-detail-hero-inner {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 28px;
	}

	.afg-product-decision-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.afg-product-decision-grid > div:nth-child(4) {
		border-inline-start: 0;
		border-top: 1px solid var(--brand-line);
	}

	.afg-product-decision-grid > div:nth-child(5),
	.afg-product-decision-grid > div:nth-child(6) {
		border-top: 1px solid var(--brand-line);
	}
}

@media (max-width: 950px) {
	.afg-product-detail-hero-inner,
	.afg-product-detail-layout {
		grid-template-columns: 1fr;
	}

	.afg-product-bank-panel--detail {
		max-width: 500px;
	}

	.afg-product-detail-sidebar {
		position: static;
	}

	.afg-product-overview-grid {
		grid-template-columns: 1fr;
	}

	.afg-product-source-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 700px) {
	.afg-product-breadcrumbs {
		overflow-x: auto;
		white-space: nowrap;
	}

	.afg-product-detail-hero-inner {
		padding-top: 28px;
		padding-bottom: 30px;
	}

	.afg-product-detail-title h1 {
		font-size: 34px;
	}

	.afg-product-hero-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.afg-product-bank-logo--detail {
		width: 105px;
		height: 78px;
		flex-basis: 105px;
	}

	.afg-product-decision-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.afg-product-decision-grid > div,
	.afg-product-decision-grid > div:nth-child(4),
	.afg-product-decision-grid > div:nth-child(5),
	.afg-product-decision-grid > div:nth-child(6) {
		border-top: 1px solid var(--brand-line);
		border-inline-start: 1px solid var(--brand-line);
	}

	.afg-product-decision-grid > div:nth-child(-n+2) {
		border-top: 0;
	}

	.afg-product-decision-grid > div:nth-child(2n+1) {
		border-inline-start: 0;
	}

	.afg-product-anchor-wrap {
		top: 58px;
	}

	.afg-product-detail-main .afg-product-section {
		padding: 18px;
	}

	.afg-product-section-heading h2 {
		font-size: 21px;
	}

	.afg-currency-cards,
	.afg-product-feature-list ul,
	.afg-product-document-list ul,
	.afg-product-source-grid {
		grid-template-columns: 1fr;
	}

	.afg-generic-fee-note {
		flex-direction: column;
	}
}


/* ==========================================================================
   Detail polish — v1.5.5
   ========================================================================== */

.afg-product-detail-title .afg-product-tags span[dir="ltr"] {
	unicode-bidi: isolate;
}

.afg-product-bank-panel-copy strong {
	unicode-bidi: plaintext;
}

.afg-product-bank-panel-copy span[dir="ltr"] {
	text-align: right;
	unicode-bidi: isolate;
}

.afg-product-decision-grid strong[dir="ltr"],
.afg-sidebar-fact strong[dir="ltr"] {
	unicode-bidi: isolate;
	line-height: 1.75;
}

.afg-product-decision-grid > div {
	min-height: 78px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.afg-product-decision-grid strong {
	font-size: 11px;
}

.afg-product-detail-title .afg-product-single-en {
	margin-top: 2px;
}

.afg-currency-card .afg-currency-code {
	unicode-bidi: isolate;
}

@media (min-width: 1151px) {
	.afg-product-decision-grid > div:nth-child(3) {
		min-width: 190px;
	}
}


/* ==========================================================================
   Banking services directory and detail — v1.5.6
   ========================================================================== */

.afg-services-directory,
.afg-service-single {
	background: #f7f9fc;
}

.afg-services-hero {
	padding: 68px 0 54px;
	background:
		radial-gradient(circle at 80% 15%, rgba(15,118,110,.09), transparent 30%),
		linear-gradient(180deg,#f3f9f7,#f7faf9);
	border-bottom: 1px solid var(--brand-line);
}

.afg-services-hero-copy {
	max-width: 900px;
	margin-inline-start: auto;
}

.afg-services-hero-copy h1 {
	margin: 10px 0 12px;
	font-size: clamp(38px,5vw,62px);
	line-height: 1.15;
}

.afg-services-hero-copy p {
	margin: 0;
	color: var(--brand-muted);
	font-size: 15px;
	line-height: 2;
}

.afg-services-directory-content {
	padding-top: 28px;
	padding-bottom: 80px;
}

.afg-service-category-nav {
	display: flex;
	gap: 7px;
	margin-bottom: 18px;
	padding: 8px;
	border: 1px solid var(--brand-line);
	border-radius: 16px;
	background: #fff;
	overflow-x: auto;
}

.afg-service-category-nav a {
	flex: 0 0 auto;
	padding: 8px 12px;
	border-radius: 10px;
	color: var(--brand-muted);
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
}

.afg-service-category-nav a:hover,
.afg-service-category-nav a.is-active {
	background: #e7f5f2;
	color: var(--brand-primary);
}

.afg-services-result-bar {
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}

.afg-services-result-bar > div {
	display: grid;
	gap: 3px;
}

.afg-services-result-bar span {
	color: var(--brand-muted);
	font-size: 10px;
}

.afg-services-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 16px;
}

.afg-service-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--brand-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(16,24,40,.035);
}

.afg-service-card-head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.afg-service-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	border-radius: 15px;
	background: #e7f5f2;
	color: var(--brand-primary);
	font-size: 23px;
}

.afg-service-category {
	color: var(--brand-primary);
	font-size: 9px;
	font-weight: 850;
}

.afg-service-card h2 {
	margin: 5px 0 1px;
	font-size: 19px;
	line-height: 1.55;
}

.afg-service-card h2 a {
	color: var(--brand-navy);
	text-decoration: none;
}

.afg-service-card-head p {
	margin: 0;
	color: var(--brand-muted);
	font-size: 10px;
	text-align: right;
}

.afg-service-card-excerpt {
	margin: 18px 0;
	color: var(--brand-muted);
	font-size: 11px;
	line-height: 1.9;
}

.afg-service-bank-preview {
	margin-top: auto;
	padding: 14px;
	border: 1px solid #e7edf6;
	border-radius: 14px;
	background: #fbfcfe;
}

.afg-service-bank-preview-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 11px;
}

.afg-service-bank-preview-head span {
	color: var(--brand-muted);
	font-size: 9px;
}

.afg-service-bank-preview-head strong {
	font-size: 11px;
}

.afg-service-bank-logos {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.afg-service-bank-mini-logo,
.afg-service-bank-more {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid #dbe6f4;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.afg-service-bank-mini-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 3px;
	transform: scale(1.2);
}

.afg-service-bank-mini-logo span,
.afg-service-bank-more {
	color: var(--brand-primary);
	font-size: 11px;
	font-weight: 850;
}

.afg-service-card-cta {
	margin-top: 14px;
	justify-content: center;
}

.afg-service-single-hero {
	padding: 42px 0 44px;
	background:
		radial-gradient(circle at 88% 20%, rgba(15,118,110,.08),transparent 34%),
		#f4faf8;
	border-block: 1px solid var(--brand-line);
}

.afg-service-single-hero-inner {
	display: grid;
	grid-template-columns: minmax(0,1fr) 220px;
	gap: 32px;
	align-items: center;
}

.afg-service-icon--hero {
	width: 72px;
	height: 72px;
	margin-bottom: 16px;
	border-radius: 20px;
	font-size: 31px;
}

.afg-service-single-title h1 {
	margin: 9px 0 6px;
	font-size: clamp(38px,5vw,58px);
	line-height: 1.15;
}

.afg-service-single-en {
	margin: 0;
	color: var(--brand-muted);
	font-size: 12px;
	text-align: right;
}

.afg-service-single-summary {
	margin-top: 16px;
	max-width: 800px;
	color: var(--brand-muted);
	line-height: 2;
}

.afg-service-stat-card {
	display: grid;
	place-items: center;
	padding: 24px;
	border: 1px solid #d5e8e5;
	border-radius: 20px;
	background: #fff;
	text-align: center;
	box-shadow: 0 12px 36px rgba(16,24,40,.04);
}

.afg-service-stat-card span {
	color: var(--brand-muted);
	font-size: 10px;
}

.afg-service-stat-card strong {
	margin: 5px 0;
	color: var(--brand-primary);
	font-size: 44px;
}

.afg-service-stat-card small {
	color: var(--brand-muted);
	font-size: 9px;
}

.afg-service-single-layout {
	display: grid;
	grid-template-columns: minmax(0,1fr) 300px;
	gap: 24px;
	align-items: start;
	padding-top: 24px;
	padding-bottom: 80px;
}

.afg-service-single-main {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.afg-service-bank-list {
	display: grid;
	gap: 10px;
}

.afg-service-bank-row {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto auto;
	align-items: center;
	gap: 16px;
	padding: 15px;
	border: 1px solid #e5ebf3;
	border-radius: 16px;
	background: #fff;
}

.afg-service-bank-row-identity {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.afg-service-bank-row-logo {
	display: grid;
	place-items: center;
	width: 106px;
	height: 66px;
	flex: 0 0 106px;
	border: 1px solid #dce6f3;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.afg-service-bank-row-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 2px;
	transform: scale(1.25);
}

.afg-service-bank-row-logo span {
	color: var(--brand-primary);
	font-size: 22px;
	font-weight: 900;
}

.afg-service-bank-row h3 {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}

.afg-service-bank-row p {
	margin: 3px 0 0;
	color: var(--brand-muted);
	font-size: 10px;
	text-align: right;
}

.afg-service-bank-row-status {
	display: grid;
	justify-items: center;
	gap: 4px;
}

.afg-service-bank-row-status .is-verified {
	padding: 5px 8px;
	border-radius: 999px;
	background: #ecfdf3;
	color: #027a48;
	font-size: 9px;
	font-weight: 850;
}

.afg-service-bank-row-status small {
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-service-bank-row-actions {
	display: flex;
	gap: 6px;
}

.afg-service-bank-row-actions .afg-button {
	min-width: 110px;
	justify-content: center;
}

.afg-service-single-sidebar {
	position: sticky;
	top: 120px;
}

.afg-service-single-sidebar .afg-product-sidebar-card h3 {
	margin: 5px 0 10px;
	font-size: 18px;
}

.afg-service-single-sidebar .afg-product-sidebar-card p {
	color: var(--brand-muted);
	font-size: 10px;
	line-height: 1.8;
}

@media (max-width: 1100px) {
	.afg-services-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.afg-service-single-layout {
		grid-template-columns: 1fr;
	}

	.afg-service-single-sidebar {
		position: static;
	}
}

@media (max-width: 760px) {
	.afg-services-hero {
		padding: 42px 0 36px;
	}

	.afg-services-grid,
	.afg-service-single-hero-inner {
		grid-template-columns: 1fr;
	}

	.afg-service-stat-card {
		max-width: 240px;
	}

	.afg-service-bank-row {
		grid-template-columns: 1fr;
		align-items: flex-start;
	}

	.afg-service-bank-row-status {
		justify-items: start;
	}

	.afg-service-bank-row-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.afg-service-bank-row-actions .afg-button {
		min-width: 0;
	}
}


/* ==========================================================================
   Banking-service template routing fix — v1.5.7
   ========================================================================== */

body.afg-banking-service-page main.afg-service-single {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.afg-banking-service-page .afg-service-single .afg-product-section {
	background: #fff;
	border: 1px solid var(--brand-line);
	border-radius: 22px;
	padding: 26px;
}

body.afg-banking-service-page .afg-service-single .afg-product-breadcrumbs {
	margin: 0;
}


/* ==========================================================================
   Services polish — v1.5.8
   ========================================================================== */

.afg-service-category-nav {
	flex-wrap: wrap;
	overflow: visible;
	scrollbar-width: none;
}

.afg-service-category-nav::-webkit-scrollbar {
	display: none;
}

.afg-service-category-nav a {
	white-space: nowrap;
}

.afg-service-card-head p[dir="ltr"] {
	text-align: right;
	unicode-bidi: isolate;
}

.afg-service-bank-mini-logo,
.afg-service-bank-more {
	width: 50px;
	height: 50px;
	border-radius: 12px;
}

.afg-service-bank-mini-logo img {
	padding: 0;
	transform: scale(1.45);
}

.afg-service-bank-preview {
	padding: 15px;
}

.afg-service-bank-logos {
	gap: 7px;
}

.afg-service-card {
	min-height: 350px;
}

.afg-service-card h2 {
	font-size: 20px;
}

.afg-service-category {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 3px;
	line-height: 1.6;
}

.afg-service-bank-row-logo {
	width: 122px;
	height: 76px;
	flex-basis: 122px;
}

.afg-service-bank-row-logo img {
	padding: 0;
	transform: scale(1.42);
}

@media (max-width: 760px) {
	.afg-service-category-nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 9px;
	}

	.afg-service-bank-mini-logo,
	.afg-service-bank-more {
		width: 46px;
		height: 46px;
	}
}


/* ==========================================================================
   Canonical service filters — v1.5.9
   ========================================================================== */

.afg-service-category-nav {
	align-items: center;
	gap: 8px;
	padding: 10px;
}

.afg-service-category-nav a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 13px;
	border: 1px solid transparent;
}

.afg-service-category-nav a small {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #64748b;
	font-size: 8px;
	font-weight: 850;
}

.afg-service-category-nav a.is-active,
.afg-service-category-nav a:hover {
	border-color: #d6e4ff;
	background: #e7f5f2;
}

.afg-service-category-nav a.is-active small,
.afg-service-category-nav a:hover small {
	background: #fff;
	color: var(--brand-primary);
}


/* ==========================================================================
   Bank cards directory and comparison — v1.6.0
   ========================================================================== */

.afg-cards-page {
	background: #f7f9fc;
}

.afg-cards-hero {
	background:
		radial-gradient(circle at 82% 15%, rgba(15,118,110,.09), transparent 31%),
		linear-gradient(180deg,#f4faf8,#f7faf9);
}

.afg-card-filters {
	grid-template-columns: repeat(4,minmax(0,1fr)) auto;
}

.afg-cards-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 18px;
}

.afg-card-product {
	min-width: 0;
	border: 1px solid var(--brand-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(16,24,40,.035);
	overflow: hidden;
}

.afg-card-product-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 12px;
}

.afg-card-bank-identity {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
}

.afg-card-bank-logo {
	display: grid;
	place-items: center;
	width: 88px;
	height: 56px;
	flex: 0 0 88px;
	border: 1px solid #e1e8f2;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.afg-card-bank-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0;
	transform: scale(1.35);
}

.afg-card-bank-logo span {
	color: var(--brand-primary);
	font-size: 18px;
	font-weight: 900;
}

.afg-card-bank-identity strong {
	display: block;
	font-size: 13px;
}

.afg-card-bank-identity span {
	display: block;
	margin-top: 2px;
	color: var(--brand-muted);
	font-size: 9px;
	text-align: right;
}

.afg-card-verified {
	flex: 0 0 auto;
	padding: 5px 8px;
	border-radius: 999px;
	background: #ecfdf3;
	color: #027a48;
	font-size: 9px;
	font-weight: 850;
}

.afg-card-visual {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 200px;
	margin: 6px 20px 18px;
	padding: 22px;
	border-radius: 22px;
	background:
		radial-gradient(circle at 15% 20%, rgba(255,255,255,.65), transparent 20%),
		linear-gradient(135deg,#edf8f6,#dceaff);
	box-shadow: inset 0 0 0 1px rgba(15,118,110,.13), 0 15px 32px rgba(15,118,110,.09);
	overflow: hidden;
}

.afg-card-visual::after {
	content: "";
	position: absolute;
	inset-inline-end: -45px;
	bottom: -65px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(255,255,255,.38);
}

.afg-card-visual--visa {
	background: linear-gradient(135deg,#f2f5ff,#dfe6ff);
}

.afg-card-visual--mastercard {
	background: linear-gradient(135deg,#f8f2ff,#e9e0ff);
}

.afg-card-visual--afpay {
	background: linear-gradient(135deg,#effbf8,#daf5ec);
}

.afg-card-visual-top,
.afg-card-visual-bottom {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.afg-card-visual-top span {
	font-size: 17px;
	font-weight: 900;
	letter-spacing: .02em;
}

.afg-card-visual-top small,
.afg-card-visual-bottom {
	color: #55657b;
	font-size: 10px;
}

.afg-card-visual > strong {
	position: relative;
	z-index: 2;
	max-width: 78%;
	font-size: 20px;
	line-height: 1.5;
}

.afg-card-product-copy {
	padding: 0 20px 20px;
}

.afg-card-product-copy h2 {
	margin: 12px 0 2px;
	font-size: 21px;
	line-height: 1.55;
}

.afg-card-product-copy h2 a {
	color: var(--brand-navy);
	text-decoration: none;
}

.afg-card-key-data {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 8px;
	margin-top: 16px;
}

.afg-card-key-data > div {
	min-width: 0;
	padding: 11px;
	border-radius: 12px;
	background: #f7f9fc;
}

.afg-card-key-data span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-card-key-data strong {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	line-height: 1.55;
	word-break: break-word;
}

.afg-card-product-excerpt {
	min-height: 52px;
	margin: 15px 0;
	color: var(--brand-muted);
	font-size: 10px;
	line-height: 1.8;
}

.afg-card-product-actions {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 8px;
}

.afg-card-product-actions .afg-button {
	justify-content: center;
}

.afg-card-compare-toggle.is-selected {
	border-color: #0f766e;
	background: #e7f5f2;
	color: #0b5f59;
}

.afg-card-compare-table .afg-compare-bank-logo {
	width: 112px;
	height: 70px;
}

@media (max-width: 1100px) {
	.afg-card-filters {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.afg-card-filters .afg-filter-actions {
		grid-column: 1 / -1;
	}

	.afg-card-key-data {
		grid-template-columns: repeat(2,1fr);
	}
}

@media (max-width: 820px) {
	.afg-cards-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.afg-card-filters {
		grid-template-columns: 1fr;
	}

	.afg-card-visual {
		min-height: 180px;
		margin-inline: 14px;
	}

	.afg-card-product-head,
	.afg-card-product-copy {
		padding-inline: 14px;
	}

	.afg-card-product-actions {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Card product detail — v1.6.1
   ========================================================================== */

.afg-card-detail-section {
	overflow: hidden;
}

.afg-card-detail-layout {
	display: grid;
	grid-template-columns: minmax(300px, .9fr) 1.2fr;
	gap: 22px;
	align-items: center;
}

.afg-card-detail-visual .afg-card-visual {
	margin: 0;
	min-height: 220px;
}

.afg-card-capability-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 9px;
}

.afg-card-capability-grid > div {
	min-width: 0;
	padding: 13px;
	border: 1px solid #e6edf7;
	border-radius: 13px;
	background: #fbfcfe;
}

.afg-card-capability-grid span,
.afg-card-limit-grid span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-card-capability-grid strong,
.afg-card-limit-grid strong {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.6;
	word-break: break-word;
}

.afg-card-limit-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 10px;
	margin-top: 18px;
}

.afg-card-limit-grid > div {
	min-width: 0;
	padding: 16px;
	border: 1px solid #d7e9e6;
	border-radius: 14px;
	background: #f6faf9;
}

.afg-card-limit-grid strong {
	font-size: 13px;
}

.afg-product-detail-v154 .afg-card-visual > strong {
	font-size: 18px;
}

@media (max-width: 950px) {
	.afg-card-detail-layout {
		grid-template-columns: 1fr;
	}

	.afg-card-detail-visual {
		max-width: 560px;
	}
}

@media (max-width: 680px) {
	.afg-card-capability-grid {
		grid-template-columns: repeat(2,1fr);
	}

	.afg-card-limit-grid {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Card detail final polish — v1.6.2
   ========================================================================== */

.afg-product-detail-v154 .afg-product-tags span {
	unicode-bidi: isolate;
}

.afg-product-detail-v154 .afg-product-anchor-nav a[href="#card-specs"] {
	color: var(--brand-primary);
}

.afg-product-detail-v154 .afg-product-anchor-nav a[href="#card-specs"]::before {
	content: "◫";
	margin-inline-end: 4px;
	font-size: 9px;
}

.afg-product-action-card .afg-sidebar-fact strong[dir="ltr"] {
	text-align: right;
}


/* ==========================================================================
   Money transfer directory and detail — v1.6.3
   ========================================================================== */

.afg-transfer-page {
	background: #f7f9fc;
}

.afg-transfer-hero {
	background:
		radial-gradient(circle at 82% 12%, rgba(15,118,110,.09), transparent 32%),
		linear-gradient(180deg,#f3f9f7,#f7faf9);
}

.afg-transfer-quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 15px;
	padding: 9px;
	border: 1px solid var(--brand-line);
	border-radius: 16px;
	background: #fff;
}

.afg-transfer-quick-links a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border: 1px solid transparent;
	border-radius: 10px;
	color: var(--brand-muted);
	font-size: 10px;
	font-weight: 850;
	text-decoration: none;
}

.afg-transfer-quick-links a small {
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #64748b;
	font-size: 8px;
}

.afg-transfer-quick-links a:hover,
.afg-transfer-quick-links a.is-active {
	border-color: #d2e8e4;
	background: #e7f5f2;
	color: var(--brand-primary);
}

.afg-transfer-filters {
	grid-template-columns: repeat(5,minmax(0,1fr)) auto;
}

.afg-transfer-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 18px;
}

.afg-transfer-card {
	min-width: 0;
	border: 1px solid var(--brand-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(16,24,40,.035);
	overflow: hidden;
}

.afg-transfer-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
}

.afg-transfer-method-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 20px;
	background:
		radial-gradient(circle at 15% 20%, rgba(255,255,255,.6), transparent 22%),
		linear-gradient(135deg,#e7f5f2,#e1efec);
	border-block: 1px solid #d7e9e6;
}

.afg-transfer-method-banner span {
	color: #164e49;
	font-size: 20px;
	font-weight: 900;
}

.afg-transfer-method-banner small {
	color: #607089;
	font-size: 10px;
}

.afg-transfer-card-copy {
	padding: 20px;
}

.afg-transfer-card-copy h2 {
	margin: 0;
	font-size: 21px;
	line-height: 1.55;
}

.afg-transfer-card-copy h2 a {
	color: var(--brand-navy);
	text-decoration: none;
}

.afg-transfer-card-excerpt {
	min-height: 50px;
	margin: 10px 0 16px;
	color: var(--brand-muted);
	font-size: 10px;
	line-height: 1.85;
}

.afg-transfer-key-data {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 8px;
}

.afg-transfer-key-data > div,
.afg-transfer-meta-line > div {
	min-width: 0;
	padding: 11px;
	border-radius: 12px;
	background: #f7f9fc;
}

.afg-transfer-key-data span,
.afg-transfer-meta-line span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-transfer-key-data strong,
.afg-transfer-meta-line strong {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	line-height: 1.55;
	word-break: break-word;
}

.afg-transfer-meta-line {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 8px;
}

.afg-transfer-card-cta {
	justify-content: center;
	margin-top: 14px;
}

.afg-transfer-detail-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 10px;
}

.afg-transfer-detail-grid > div {
	min-width: 0;
	padding: 14px;
	border: 1px solid #e4ebf5;
	border-radius: 13px;
	background: #fbfcfe;
}

.afg-transfer-detail-grid span,
.afg-transfer-fee-box span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-transfer-detail-grid strong,
.afg-transfer-fee-box strong {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.6;
	word-break: break-word;
}

.afg-transfer-fee-box {
	margin-top: 12px;
	padding: 16px;
	border: 1px solid #d5e8e5;
	border-radius: 14px;
	background: #f6faf9;
}

.afg-transfer-fee-box strong {
	font-size: 13px;
}

@media (max-width: 1150px) {
	.afg-transfer-filters {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.afg-transfer-filters .afg-filter-actions {
		grid-column: 1 / -1;
	}

	.afg-transfer-key-data,
	.afg-transfer-detail-grid {
		grid-template-columns: repeat(2,1fr);
	}
}

@media (max-width: 820px) {
	.afg-transfer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.afg-transfer-filters,
	.afg-transfer-key-data,
	.afg-transfer-detail-grid,
	.afg-transfer-meta-line {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Transfer comparison — v1.6.4
   ========================================================================== */

.afg-transfer-card-actions {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 8px;
	margin-top: 14px;
}

.afg-transfer-card-actions .afg-button {
	justify-content: center;
}

.afg-transfer-compare-toggle.is-selected {
	border-color: #0f766e;
	background: #e7f5f2;
	color: #0b5f59;
}

.afg-transfer-compare-page {
	background: #f7f9fc;
}

.afg-transfer-compare-hero {
	background:
		radial-gradient(circle at 82% 15%, rgba(15,118,110,.08), transparent 30%),
		linear-gradient(180deg,#f4faf8,#f7faf9);
}

.afg-transfer-compare-table .afg-compare-product-head small {
	display: block;
	margin-top: 5px;
	color: var(--brand-primary);
	font-size: 9px;
	font-weight: 850;
}

.afg-transfer-compare-table td {
	line-height: 1.75;
}

.afg-transfer-compare-table td,
.afg-transfer-compare-table th {
	min-width: 170px;
}

.afg-transfer-compare-table thead th:first-child,
.afg-transfer-compare-table tbody th {
	min-width: 150px;
}

@media (max-width: 620px) {
	.afg-transfer-card-actions {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Money transfer polish — v1.6.5
   ========================================================================== */

.afg-transfer-hero-copy {
	margin-inline-start: auto;
	margin-inline-end: 0;
	text-align: right;
}

.afg-transfer-hero-copy .afg-eyebrow,
.afg-transfer-hero-copy h1,
.afg-transfer-hero-copy p {
	text-align: right;
}

.afg-transfer-hero-copy p {
	margin-inline-start: auto;
	margin-inline-end: 0;
	max-width: 850px;
}

.afg-transfer-method-groups {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-bottom: 15px;
}

.afg-transfer-method-group {
	padding: 10px;
	border: 1px solid var(--brand-line);
	border-radius: 16px;
	background: #fff;
}

.afg-transfer-method-group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 4px 8px;
}

.afg-transfer-method-group-head strong {
	color: var(--brand-navy);
	font-size: 11px;
}

.afg-transfer-method-group-head span {
	color: var(--brand-muted);
	font-size: 9px;
}

.afg-transfer-method-group .afg-transfer-quick-links {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.afg-transfer-all-methods {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: fit-content;
	margin-inline-start: auto;
	padding: 8px 13px;
	border: 1px solid #d2e8e4;
	border-radius: 10px;
	background: #fff;
	color: var(--brand-primary);
	font-size: 10px;
	font-weight: 850;
	text-decoration: none;
}

.afg-transfer-all-methods small {
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #e7f5f2;
	font-size: 8px;
}

.afg-transfer-all-methods.is-active,
.afg-transfer-all-methods:hover {
	background: #e7f5f2;
}

@media (max-width: 760px) {
	.afg-transfer-hero-copy,
	.afg-transfer-hero-copy h1,
	.afg-transfer-hero-copy p,
	.afg-transfer-hero-copy .afg-eyebrow {
		text-align: right;
	}
}


/* ==========================================================================
   Money transfer compact method groups — v1.6.6
   ========================================================================== */

.afg-transfer-method-groups {
	gap: 8px;
}

.afg-transfer-methods-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 8px 10px;
	border: 1px solid var(--brand-line);
	border-radius: 14px;
	background: #fff;
}

.afg-transfer-methods-toolbar > div {
	min-width: 0;
}

.afg-transfer-methods-toolbar strong {
	display: block;
	color: var(--brand-navy);
	font-size: 11px;
}

.afg-transfer-methods-toolbar span {
	display: block;
	margin-top: 2px;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-transfer-method-group {
	padding: 7px 9px;
	border-radius: 14px;
}

.afg-transfer-method-group-head {
	padding: 0 2px 5px;
}

.afg-transfer-method-group-head strong {
	font-size: 10px;
}

.afg-transfer-method-group-head span {
	font-size: 8px;
}

.afg-transfer-quick-links {
	gap: 5px;
}

.afg-transfer-quick-links a {
	padding: 6px 9px;
	font-size: 9px;
}

.afg-transfer-quick-links a small {
	min-width: 19px;
	height: 19px;
	font-size: 7px;
}

.afg-transfer-all-methods {
	margin: 0;
	padding: 6px 10px;
	font-size: 9px;
}

.afg-transfer-all-methods small {
	min-width: 19px;
	height: 19px;
	font-size: 7px;
}

@media (max-width: 700px) {
	.afg-transfer-methods-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.afg-transfer-all-methods {
		width: 100%;
		justify-content: center;
	}
}


/* ==========================================================================
   Digital banking directory — v1.6.7
   ========================================================================== */

.afg-digital-page {
	background: #f7f9fc;
}

.afg-digital-hero {
	background:
		radial-gradient(circle at 82% 15%, rgba(15,118,110,.09), transparent 31%),
		linear-gradient(180deg,#f4faf8,#f7faf9);
}

.afg-digital-hero-copy {
	margin-inline-start: auto;
	margin-inline-end: 0;
	text-align: right;
}

.afg-digital-hero-copy h1,
.afg-digital-hero-copy p,
.afg-digital-hero-copy .afg-eyebrow {
	text-align: right;
}

.afg-digital-hero-copy p {
	margin-inline-start: auto;
	margin-inline-end: 0;
	max-width: 850px;
}

.afg-digital-channel-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
	padding: 8px;
	border: 1px solid var(--brand-line);
	border-radius: 15px;
	background: #fff;
}

.afg-digital-channel-bar a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border: 1px solid transparent;
	border-radius: 9px;
	color: var(--brand-muted);
	font-size: 9px;
	font-weight: 850;
	text-decoration: none;
}

.afg-digital-channel-bar a small {
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #f1f5f9;
	font-size: 7px;
}

.afg-digital-channel-bar a:hover,
.afg-digital-channel-bar a.is-active {
	border-color: #d2e8e4;
	background: #e7f5f2;
	color: var(--brand-primary);
}

.afg-digital-filters {
	grid-template-columns: repeat(5,minmax(0,1fr)) auto;
}

.afg-digital-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 18px;
}

.afg-digital-card {
	min-width: 0;
	border: 1px solid var(--brand-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(16,24,40,.035);
	overflow: hidden;
}

.afg-digital-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
}

.afg-digital-channel-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 20px;
	border-block: 1px solid #d7e9e6;
	background:
		radial-gradient(circle at 15% 20%, rgba(255,255,255,.62), transparent 22%),
		linear-gradient(135deg,#e7f5f2,#e1efec);
}

.afg-digital-channel-banner span {
	color: #164e49;
	font-size: 18px;
	font-weight: 900;
}

.afg-digital-channel-banner small {
	color: #607089;
	font-size: 9px;
}

.afg-digital-card-copy {
	padding: 20px;
}

.afg-digital-card-copy h2 {
	margin: 0;
	font-size: 21px;
	line-height: 1.55;
}

.afg-digital-card-copy h2 a {
	color: var(--brand-navy);
	text-decoration: none;
}

.afg-digital-card-excerpt {
	min-height: 50px;
	margin: 10px 0 16px;
	color: var(--brand-muted);
	font-size: 10px;
	line-height: 1.85;
}

.afg-digital-key-data {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 8px;
}

.afg-digital-key-data > div,
.afg-digital-meta-line > div {
	min-width: 0;
	padding: 11px;
	border-radius: 12px;
	background: #f7f9fc;
}

.afg-digital-key-data span,
.afg-digital-meta-line span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-digital-key-data strong,
.afg-digital-meta-line strong {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	line-height: 1.55;
	word-break: break-word;
}

.afg-digital-meta-line {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 8px;
}

.afg-digital-card-cta {
	justify-content: center;
	margin-top: 14px;
}

@media (max-width: 1150px) {
	.afg-digital-filters {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.afg-digital-filters .afg-filter-actions {
		grid-column: 1 / -1;
	}

	.afg-digital-key-data {
		grid-template-columns: repeat(2,1fr);
	}
}

@media (max-width: 820px) {
	.afg-digital-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.afg-digital-filters,
	.afg-digital-key-data,
	.afg-digital-meta-line {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Digital banking compare & polish — v1.6.9
   ========================================================================== */

.afg-digital-card-head .afg-card-bank-logo {
	width: 96px;
	height: 60px;
	flex-basis: 96px;
}

.afg-digital-card-head .afg-card-bank-logo img {
	transform: scale(1.5);
}

.afg-digital-channel-banner small {
	font-size: 10px;
	line-height: 1.5;
}

.afg-digital-card-actions {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 8px;
	margin-top: 14px;
}

.afg-digital-card-actions .afg-button {
	justify-content: center;
}

.afg-digital-compare-toggle.is-selected {
	border-color: #0f766e;
	background: #e7f5f2;
	color: #0b5f59;
}

.afg-digital-compare-page {
	background: #f7f9fc;
}

.afg-digital-compare-hero {
	background:
		radial-gradient(circle at 82% 15%, rgba(15,118,110,.08), transparent 30%),
		linear-gradient(180deg,#f4faf8,#f7faf9);
}

.afg-digital-compare-table .afg-compare-product-head small {
	display: block;
	margin-top: 5px;
	color: var(--brand-primary);
	font-size: 9px;
	font-weight: 850;
}

.afg-digital-compare-table td,
.afg-digital-compare-table th {
	min-width: 165px;
}

@media (max-width: 620px) {
	.afg-digital-card-actions {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Digital banking product detail — v1.7.0
   ========================================================================== */

.afg-digital-detail-section {
	overflow: hidden;
}

.afg-digital-detail-hero {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	padding: 16px;
	border: 1px solid #d7e9e6;
	border-radius: 16px;
	background:
		radial-gradient(circle at 12% 20%, rgba(255,255,255,.8), transparent 24%),
		linear-gradient(135deg,#e7f5f2,#f6f9ff);
}

.afg-digital-detail-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border-radius: 15px;
	background: #fff;
	color: var(--brand-primary);
	font-size: 25px;
	font-weight: 900;
	box-shadow: 0 8px 20px rgba(15,118,110,.08);
}

.afg-digital-detail-hero strong {
	display: block;
	color: var(--brand-navy);
	font-size: 16px;
}

.afg-digital-detail-hero span {
	display: block;
	margin-top: 3px;
	color: var(--brand-muted);
	font-size: 10px;
}

.afg-digital-detail-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 10px;
}

.afg-digital-detail-grid > div {
	min-width: 0;
	padding: 14px;
	border: 1px solid #e4ebf5;
	border-radius: 13px;
	background: #fbfcfe;
}

.afg-digital-detail-grid span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-digital-detail-grid strong {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.65;
	word-break: break-word;
}

.afg-digital-detail-wide {
	grid-column: span 3;
}

.afg-product-detail-v154 .afg-product-anchor-nav a[href="#digital-specs"] {
	color: var(--brand-primary);
}

@media (max-width: 900px) {
	.afg-digital-detail-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.afg-digital-detail-wide {
		grid-column: span 2;
	}
}

@media (max-width: 620px) {
	.afg-digital-detail-grid {
		grid-template-columns: 1fr;
	}
	.afg-digital-detail-wide {
		grid-column: span 1;
	}
}


/* ==========================================================================
   Financing directory — v1.7.1
   ========================================================================== */

.afg-financing-page {
	background: #f7f9fc;
}

.afg-financing-hero {
	background:
		radial-gradient(circle at 82% 15%, rgba(15,118,110,.09), transparent 31%),
		linear-gradient(180deg,#f4faf8,#f7faf9);
}

.afg-financing-hero-copy {
	margin-inline-start: auto;
	margin-inline-end: 0;
	text-align: right;
}

.afg-financing-hero-copy h1,
.afg-financing-hero-copy p,
.afg-financing-hero-copy .afg-eyebrow {
	text-align: right;
}

.afg-financing-hero-copy p {
	margin-inline-start: auto;
	margin-inline-end: 0;
	max-width: 900px;
}

.afg-financing-model-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
	padding: 8px;
	border: 1px solid var(--brand-line);
	border-radius: 15px;
	background: #fff;
}

.afg-financing-model-bar a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border: 1px solid transparent;
	border-radius: 9px;
	color: var(--brand-muted);
	font-size: 9px;
	font-weight: 850;
	text-decoration: none;
}

.afg-financing-model-bar a small {
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #f1f5f9;
	font-size: 7px;
}

.afg-financing-model-bar a:hover,
.afg-financing-model-bar a.is-active {
	border-color: #d2e8e4;
	background: #e7f5f2;
	color: var(--brand-primary);
}

.afg-financing-filters {
	grid-template-columns: repeat(5,minmax(0,1fr)) auto;
}

.afg-financing-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 18px;
}

.afg-financing-card {
	min-width: 0;
	border: 1px solid var(--brand-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(16,24,40,.035);
	overflow: hidden;
}

.afg-financing-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
}

.afg-financing-card-head .afg-card-bank-logo {
	width: 96px;
	height: 60px;
	flex-basis: 96px;
}

.afg-financing-card-head .afg-card-bank-logo img {
	transform: scale(1.45);
}

.afg-financing-review {
	display: inline-flex;
	padding: 5px 8px;
	border-radius: 999px;
	background: #fff7e8;
	color: #a15c00;
	font-size: 8px;
	font-weight: 850;
}

.afg-financing-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 20px;
	border-block: 1px solid #d7e9e6;
	background:
		radial-gradient(circle at 15% 20%, rgba(255,255,255,.62), transparent 22%),
		linear-gradient(135deg,#e7f5f2,#e1efec);
}

.afg-financing-banner span {
	display: block;
	color: #164e49;
	font-size: 18px;
	font-weight: 900;
}

.afg-financing-banner small {
	display: block;
	margin-top: 3px;
	color: #607089;
	font-size: 9px;
}

.afg-financing-banner > strong {
	padding: 5px 9px;
	border-radius: 999px;
	background: #fff;
	color: #087443;
	font-size: 8px;
}

.afg-financing-card-copy {
	padding: 20px;
}

.afg-financing-card-copy h2 {
	margin: 0;
	font-size: 21px;
	line-height: 1.55;
}

.afg-financing-card-copy h2 a {
	color: var(--brand-navy);
	text-decoration: none;
}

.afg-financing-card-excerpt {
	min-height: 50px;
	margin: 10px 0 16px;
	color: var(--brand-muted);
	font-size: 10px;
	line-height: 1.85;
}

.afg-financing-key-data {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 8px;
}

.afg-financing-key-data > div,
.afg-financing-meta-line > div {
	min-width: 0;
	padding: 11px;
	border-radius: 12px;
	background: #f7f9fc;
}

.afg-financing-key-data span,
.afg-financing-meta-line span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-financing-key-data strong,
.afg-financing-meta-line strong {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	line-height: 1.55;
	word-break: break-word;
}

.afg-financing-meta-line {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 8px;
}

.afg-financing-card-cta {
	justify-content: center;
	margin-top: 14px;
}

@media (max-width: 1150px) {
	.afg-financing-filters {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.afg-financing-filters .afg-filter-actions {
		grid-column: 1 / -1;
	}
	.afg-financing-key-data {
		grid-template-columns: repeat(2,1fr);
	}
}

@media (max-width: 820px) {
	.afg-financing-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.afg-financing-filters,
	.afg-financing-key-data,
	.afg-financing-meta-line {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Financing hero/filter fix + comparison — v1.7.2
   ========================================================================== */

.afg-financing-hero {
	min-height: 300px;
	padding-block: 70px 56px;
}

.afg-financing-hero .site-container {
	display: flex;
	align-items: center;
	min-height: 170px;
}

.afg-financing-hero-copy {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 980px;
}

.afg-financing-hero-copy .afg-eyebrow {
	display: inline-flex;
	margin-bottom: 14px;
}

.afg-financing-hero-copy h1 {
	margin: 0 0 12px;
	font-size: clamp(36px,4vw,58px);
	line-height: 1.25;
}

.afg-financing-hero-copy p {
	margin-top: 0;
	font-size: 14px;
	line-height: 1.9;
}

.afg-financing-model-bar {
	margin-top: 0;
}

.afg-financing-filters {
	grid-template-columns: repeat(5,minmax(0,1fr)) auto;
	gap: 10px;
	padding: 14px 16px;
}

.afg-financing-filters .afg-filter-field label {
	margin-bottom: 5px;
	font-size: 9px;
}

.afg-financing-filters select {
	min-height: 44px;
	padding-block: 8px;
}

.afg-financing-filters .afg-filter-actions {
	align-self: end;
}

.afg-financing-card-actions {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 8px;
	margin-top: 14px;
}

.afg-financing-card-actions .afg-button {
	justify-content: center;
}

.afg-financing-compare-toggle.is-selected {
	border-color: #0f766e;
	background: #e7f5f2;
	color: #0b5f59;
}

.afg-financing-compare-page {
	background: #f7f9fc;
}

.afg-financing-compare-hero {
	background:
		radial-gradient(circle at 82% 15%, rgba(15,118,110,.08), transparent 30%),
		linear-gradient(180deg,#f4faf8,#f7faf9);
}

.afg-financing-compare-table .afg-compare-product-head small {
	display: block;
	margin-top: 5px;
	color: var(--brand-primary);
	font-size: 9px;
	font-weight: 850;
}

.afg-financing-compare-table td,
.afg-financing-compare-table th {
	min-width: 175px;
}

@media (max-width: 1150px) {
	.afg-financing-filters {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.afg-financing-filters .afg-filter-actions {
		grid-column: 1 / -1;
	}
}

@media (max-width: 620px) {
	.afg-financing-hero {
		min-height: 0;
		padding-block: 46px 38px;
	}
	.afg-financing-card-actions {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Financing product detail — v1.7.3
   ========================================================================== */

.afg-financing-detail-section {
	overflow: hidden;
}

.afg-financing-detail-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
	padding: 16px 18px;
	border: 1px solid #d7e9e6;
	border-radius: 16px;
	background:
		radial-gradient(circle at 12% 20%, rgba(255,255,255,.8), transparent 24%),
		linear-gradient(135deg,#e7f5f2,#f6f9ff);
}

.afg-financing-detail-hero span {
	display: block;
	color: var(--brand-navy);
	font-size: 18px;
	font-weight: 900;
}

.afg-financing-detail-hero strong {
	display: inline-flex;
	margin-top: 5px;
	padding: 5px 9px;
	border-radius: 999px;
	background: #fff;
	color: #087443;
	font-size: 8px;
}

.afg-financing-detail-hero small {
	color: var(--brand-muted);
	font-size: 10px;
}

.afg-financing-detail-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 10px;
}

.afg-financing-detail-grid > div {
	min-width: 0;
	padding: 14px;
	border: 1px solid #e4ebf5;
	border-radius: 13px;
	background: #fbfcfe;
}

.afg-financing-detail-grid span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-financing-detail-grid strong {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.65;
	word-break: break-word;
}

.afg-financing-detail-wide {
	grid-column: span 3;
}

@media (max-width: 900px) {
	.afg-financing-detail-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.afg-financing-detail-wide {
		grid-column: span 2;
	}
}

@media (max-width: 620px) {
	.afg-financing-detail-hero {
		align-items: flex-start;
		flex-direction: column;
	}
	.afg-financing-detail-grid {
		grid-template-columns: 1fr;
	}
	.afg-financing-detail-wide {
		grid-column: span 1;
	}
}


/* ==========================================================================
   Financing detail polish — v1.7.4
   ========================================================================== */

.afg-product-anchor-nav a {
	background: transparent;
	color: var(--brand-muted);
}

.afg-product-anchor-nav a.is-active {
	background: #e7f5f2;
	color: var(--brand-primary);
}

.afg-financing-detail-grid strong[dir="ltr"] {
	direction: ltr;
	text-align: left;
}

.afg-financing-detail-grid strong:not([dir="ltr"]) {
	text-align: right;
}

.afg-financing-detail-hero small {
	max-width: 420px;
	line-height: 1.6;
	text-align: right;
}


/* ==========================================================================
   Deposits directory — v1.7.5
   ========================================================================== */

.afg-deposits-page {
	background: #f7f9fc;
}

.afg-deposits-hero {
	min-height: 300px;
	padding-block: 70px 56px;
	background:
		radial-gradient(circle at 82% 15%, rgba(15,118,110,.09), transparent 31%),
		linear-gradient(180deg,#f4faf8,#f7faf9);
}

.afg-deposits-hero .site-container {
	display: flex;
	align-items: center;
	min-height: 170px;
}

.afg-deposits-hero-copy {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 980px;
	margin-inline-start: auto;
	margin-inline-end: 0;
	text-align: right;
}

.afg-deposits-hero-copy h1,
.afg-deposits-hero-copy p,
.afg-deposits-hero-copy .afg-eyebrow {
	text-align: right;
}

.afg-deposits-hero-copy .afg-eyebrow {
	display: inline-flex;
	margin-bottom: 14px;
}

.afg-deposits-hero-copy h1 {
	margin: 0 0 12px;
	font-size: clamp(36px,4vw,58px);
	line-height: 1.25;
}

.afg-deposits-hero-copy p {
	max-width: 900px;
	margin-top: 0;
	margin-inline-start: auto;
	margin-inline-end: 0;
	font-size: 14px;
	line-height: 1.9;
}

.afg-deposits-model-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
	padding: 8px;
	border: 1px solid var(--brand-line);
	border-radius: 15px;
	background: #fff;
}

.afg-deposits-model-bar a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border: 1px solid transparent;
	border-radius: 9px;
	color: var(--brand-muted);
	font-size: 9px;
	font-weight: 850;
	text-decoration: none;
}

.afg-deposits-model-bar a small {
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #f1f5f9;
	font-size: 7px;
}

.afg-deposits-model-bar a:hover,
.afg-deposits-model-bar a.is-active {
	border-color: #d2e8e4;
	background: #e7f5f2;
	color: var(--brand-primary);
}

.afg-deposits-filters {
	grid-template-columns: repeat(5,minmax(0,1fr)) auto;
	gap: 10px;
	padding: 14px 16px;
}

.afg-deposits-filters .afg-filter-field label {
	margin-bottom: 5px;
	font-size: 9px;
}

.afg-deposits-filters select {
	min-height: 44px;
	padding-block: 8px;
}

.afg-deposits-filters .afg-filter-actions {
	align-self: end;
}

.afg-deposits-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 18px;
}

.afg-deposits-card {
	min-width: 0;
	border: 1px solid var(--brand-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(16,24,40,.035);
	overflow: hidden;
}

.afg-deposits-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
}

.afg-deposits-card-head .afg-card-bank-logo {
	width: 96px;
	height: 60px;
	flex-basis: 96px;
}

.afg-deposits-card-head .afg-card-bank-logo img {
	transform: scale(1.45);
}

.afg-deposits-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 20px;
	border-block: 1px solid #d7e9e6;
	background:
		radial-gradient(circle at 15% 20%, rgba(255,255,255,.62), transparent 22%),
		linear-gradient(135deg,#e7f5f2,#e1efec);
}

.afg-deposits-banner span {
	display: block;
	color: #164e49;
	font-size: 18px;
	font-weight: 900;
}

.afg-deposits-banner small {
	display: block;
	margin-top: 3px;
	color: #607089;
	font-size: 9px;
}

.afg-deposits-banner > strong {
	padding: 5px 9px;
	border-radius: 999px;
	background: #fff;
	color: #087443;
	font-size: 8px;
}

.afg-deposits-card-copy {
	padding: 20px;
}

.afg-deposits-card-copy h2 {
	margin: 0;
	font-size: 21px;
	line-height: 1.55;
}

.afg-deposits-card-copy h2 a {
	color: var(--brand-navy);
	text-decoration: none;
}

.afg-deposits-card-excerpt {
	min-height: 50px;
	margin: 10px 0 16px;
	color: var(--brand-muted);
	font-size: 10px;
	line-height: 1.85;
}

.afg-deposits-key-data {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 8px;
}

.afg-deposits-key-data > div,
.afg-deposits-meta-line > div {
	min-width: 0;
	padding: 11px;
	border-radius: 12px;
	background: #f7f9fc;
}

.afg-deposits-key-data span,
.afg-deposits-meta-line span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-deposits-key-data strong,
.afg-deposits-meta-line strong {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	line-height: 1.55;
	word-break: break-word;
}

.afg-deposits-meta-line {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 8px;
}

.afg-deposits-card-cta {
	justify-content: center;
	margin-top: 14px;
}

@media (max-width: 1150px) {
	.afg-deposits-filters {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.afg-deposits-filters .afg-filter-actions {
		grid-column: 1 / -1;
	}

	.afg-deposits-key-data {
		grid-template-columns: repeat(2,1fr);
	}
}

@media (max-width: 820px) {
	.afg-deposits-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.afg-deposits-hero {
		min-height: 0;
		padding-block: 46px 38px;
	}

	.afg-deposits-filters,
	.afg-deposits-key-data,
	.afg-deposits-meta-line {
		grid-template-columns: 1fr;
	}
}


/* Deposits comparison — v1.7.6 */
.afg-deposits-card-actions {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 8px;
	margin-top: 14px;
}

.afg-deposits-card-actions .afg-button {
	justify-content: center;
}

.afg-deposits-compare-toggle.is-selected {
	border-color: #0f766e;
	background: #e7f5f2;
	color: #0b5f59;
}

.afg-deposits-compare-page {
	background: #f7f9fc;
}

.afg-deposits-compare-hero {
	background:
		radial-gradient(circle at 82% 15%, rgba(15,118,110,.08), transparent 30%),
		linear-gradient(180deg,#f4faf8,#f7faf9);
}

.afg-deposits-compare-table .afg-compare-product-head small {
	display: block;
	margin-top: 5px;
	color: var(--brand-primary);
	font-size: 9px;
	font-weight: 850;
}

.afg-deposits-compare-table td,
.afg-deposits-compare-table th {
	min-width: 175px;
}

@media (max-width: 620px) {
	.afg-deposits-card-actions {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Deposits hero visibility fix — v1.7.7
   ========================================================================== */

.afg-deposits-hero {
	padding-top: 92px;
	padding-bottom: 58px;
	min-height: 330px;
	overflow: visible;
}

.afg-deposits-hero .site-container {
	min-height: 180px;
	align-items: center;
}

.afg-deposits-hero-copy {
	padding-top: 8px;
}

.afg-deposits-hero-copy h1 {
	margin-top: 0;
	line-height: 1.28;
}

@media (max-width: 620px) {
	.afg-deposits-hero {
		padding-top: 58px;
		padding-bottom: 40px;
		min-height: 0;
	}
}


/* ==========================================================================
   Deposit product detail — v1.7.8
   ========================================================================== */

.afg-deposit-detail-section {
	overflow: hidden;
}

.afg-deposit-detail-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
	padding: 16px 18px;
	border: 1px solid #d7e9e6;
	border-radius: 16px;
	background:
		radial-gradient(circle at 12% 20%, rgba(255,255,255,.8), transparent 24%),
		linear-gradient(135deg,#e7f5f2,#f6f9ff);
}

.afg-deposit-detail-hero span {
	display: block;
	color: var(--brand-navy);
	font-size: 18px;
	font-weight: 900;
}

.afg-deposit-detail-hero strong {
	display: inline-flex;
	margin-top: 5px;
	padding: 5px 9px;
	border-radius: 999px;
	background: #fff;
	color: #087443;
	font-size: 8px;
}

.afg-deposit-detail-hero small {
	color: var(--brand-muted);
	font-size: 10px;
}

.afg-deposit-detail-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 10px;
}

.afg-deposit-detail-grid > div {
	min-width: 0;
	padding: 14px;
	border: 1px solid #e4ebf5;
	border-radius: 13px;
	background: #fbfcfe;
}

.afg-deposit-detail-grid span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-deposit-detail-grid strong {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.65;
	word-break: break-word;
}

.afg-deposit-detail-wide {
	grid-column: span 3;
}

@media (max-width: 900px) {
	.afg-deposit-detail-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.afg-deposit-detail-wide {
		grid-column: span 2;
	}
}

@media (max-width: 620px) {
	.afg-deposit-detail-hero {
		align-items: flex-start;
		flex-direction: column;
	}
	.afg-deposit-detail-grid {
		grid-template-columns: 1fr;
	}
	.afg-deposit-detail-wide {
		grid-column: span 1;
	}
}


/* ==========================================================================
   Primary navigation expansion — v1.7.9
   ========================================================================== */

@media (min-width: 1180px) {
	.main-nav > ul,
	.main-nav .menu {
		gap: 17px;
	}

	.main-nav a {
		font-size: 13px;
		white-space: nowrap;
	}
}

@media (min-width: 1180px) and (max-width: 1450px) {
	.main-nav > ul,
	.main-nav .menu {
		gap: 12px;
	}

	.main-nav a {
		font-size: 12px;
	}

	.site-brand-title {
		font-size: 18px;
	}

	.header-compare-link {
		padding-inline: 16px;
	}
}


/* ==========================================================================
   Bank Profile v2 / v1.8.0
   ========================================================================== */

.bank-profile-v3-hero {
	padding: 52px 0;
	background:
		radial-gradient(circle at 18% 15%, rgba(15,118,110,.15), transparent 28%),
		linear-gradient(135deg,#10213b,#0d1a2e);
	background-size: cover;
	background-position: center;
	color: #fff;
}

.bank-profile-v3-hero-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.bank-profile-v3-identity {
	display: flex;
	align-items: center;
	gap: 22px;
	min-width: 0;
}

.bank-profile-v3-logo {
	display: grid;
	place-items: center;
	width: 132px;
	height: 112px;
	flex: 0 0 132px;
	padding: 14px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 22px;
	background: rgba(255,255,255,.96);
	box-shadow: 0 18px 50px rgba(0,0,0,.12);
	overflow: hidden;
}

.bank-profile-v3-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: scale(1.22);
}

.bank-profile-v3-kickers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 9px;
}

.bank-profile-v3-kickers span {
	padding: 5px 9px;
	border: 1px solid rgba(255,255,255,.17);
	border-radius: 999px;
	background: rgba(255,255,255,.10);
	font-size: 8px;
	font-weight: 800;
}

.bank-profile-v3-heading h1 {
	margin: 0;
	font-size: clamp(34px,4vw,54px);
	line-height: 1.2;
}

.bank-profile-v3-heading h1 small {
	display: block;
	margin-top: 5px;
	color: rgba(255,255,255,.68);
	font-size: 15px;
	font-weight: 650;
}

.bank-profile-v3-heading p {
	max-width: 760px;
	margin: 15px 0 0;
	color: rgba(255,255,255,.76);
	font-size: 12px;
	line-height: 1.9;
}

.bank-profile-v3-hero-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 170px;
}

.afg-button-ghost-light {
	border: 1px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.08);
	color: #fff;
}

.bank-profile-v3-stats {
	display: grid;
	grid-template-columns: repeat(6,minmax(0,1fr));
	gap: 10px;
	margin-top: -22px;
	position: relative;
	z-index: 3;
}

.bank-profile-v3-stats > div {
	padding: 14px 12px;
	border: 1px solid #e3eaf4;
	border-radius: 15px;
	background: #fff;
	text-align: center;
	box-shadow: 0 10px 30px rgba(16,24,40,.05);
}

.bank-profile-v3-stats strong {
	display: block;
	color: var(--brand-navy);
	font-size: 19px;
}

.bank-profile-v3-stats span {
	display: block;
	margin-top: 3px;
	color: var(--brand-muted);
	font-size: 8px;
}

.bank-profile-v3-layout {
	display: grid;
	grid-template-columns: minmax(0,1fr) 310px;
	gap: 22px;
	align-items: start;
	padding-top: 24px;
	padding-bottom: 50px;
}

.bank-profile-v3-main {
	min-width: 0;
}

.bank-profile-v3-sidebar {
	position: sticky;
	top: 98px;
	display: grid;
	gap: 14px;
}

.bank-profile-v3-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 14px;
	padding: 8px;
	border: 1px solid var(--brand-line);
	border-radius: 15px;
	background: #fff;
	position: sticky;
	top: 82px;
	z-index: 8;
	box-shadow: 0 8px 22px rgba(16,24,40,.025);
}

.bank-profile-v3-nav a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 10px;
	border-radius: 9px;
	color: var(--brand-muted);
	font-size: 9px;
	font-weight: 800;
	text-decoration: none;
}

.bank-profile-v3-nav a:hover {
	background: #e7f5f2;
	color: var(--brand-primary);
}

.bank-profile-v3-nav small {
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: #f1f5f9;
	font-size: 7px;
}

.bank-profile-v3-main .panel,
.bank-profile-v3-sidebar .panel {
	margin-bottom: 16px;
	border-radius: 20px;
}

.bank-profile-v3-description {
	color: #3e4b60;
	font-size: 12px;
	line-height: 2;
}

.bank-profile-v3-description p:first-child {
	margin-top: 0;
}

.bank-profile-v3-section-head a {
	color: var(--brand-primary);
	font-size: 9px;
	font-weight: 800;
	text-decoration: none;
}

.bank-profile-v3-product-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 12px;
}

.bank-profile-v3-product-card {
	min-width: 0;
	padding: 16px;
	border: 1px solid #e4ebf5;
	border-radius: 16px;
	background: #fbfcfe;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bank-profile-v3-product-card:hover {
	transform: translateY(-2px);
	border-color: #cedcf8;
	box-shadow: 0 12px 26px rgba(15,118,110,.06);
}

.bank-profile-v3-product-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 9px;
}

.bank-profile-v3-product-top span {
	display: inline-flex;
	padding: 4px 7px;
	border-radius: 999px;
	background: #edf8f6;
	color: var(--brand-primary);
	font-size: 8px;
	font-weight: 850;
}

.bank-profile-v3-product-top small {
	color: #087443;
	font-size: 7px;
	font-weight: 800;
}

.bank-profile-v3-product-card h3 {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
}

.bank-profile-v3-product-card h3 a {
	color: var(--brand-navy);
	text-decoration: none;
}

.bank-profile-v3-product-card p {
	min-height: 42px;
	margin: 8px 0 12px;
	color: var(--brand-muted);
	font-size: 9px;
	line-height: 1.8;
}

.bank-profile-v3-product-link {
	color: var(--brand-primary);
	font-size: 9px;
	font-weight: 850;
	text-decoration: none;
}

.bank-profile-v3-service-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 10px;
}

.bank-profile-v3-service-card {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 14px;
	border: 1px solid #e4ebf5;
	border-radius: 14px;
	background: #fbfcfe;
	text-decoration: none;
}

.bank-profile-v3-service-card strong {
	color: var(--brand-navy);
	font-size: 11px;
}

.bank-profile-v3-service-card span {
	color: var(--brand-primary);
	font-size: 8px;
}

.bank-profile-v3-quick h2,
.bank-profile-v3-contact h2 {
	margin-top: 0;
	font-size: 17px;
}

.bank-profile-v3-disclaimer strong {
	color: var(--brand-primary);
	font-size: 10px;
}

.bank-profile-v3-disclaimer p {
	margin: 7px 0 0;
	color: var(--brand-muted);
	font-size: 9px;
	line-height: 1.8;
}

.bank-profile-v3-sources {
	scroll-margin-top: 145px;
}

.bank-profile-v3-product-section,
.bank-profile-v3-about {
	scroll-margin-top: 145px;
}

@media (max-width: 1150px) {
	.bank-profile-v3-stats {
		grid-template-columns: repeat(3,1fr);
	}

	.bank-profile-v3-layout {
		grid-template-columns: 1fr;
	}

	.bank-profile-v3-sidebar {
		position: static;
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}

@media (max-width: 820px) {
	.bank-profile-v3-hero-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.bank-profile-v3-hero-actions {
		flex-direction: row;
		width: 100%;
	}

	.bank-profile-v3-product-grid {
		grid-template-columns: 1fr;
	}

	.bank-profile-v3-service-grid {
		grid-template-columns: repeat(2,1fr);
	}
}

@media (max-width: 620px) {
	.bank-profile-v3-identity {
		align-items: flex-start;
		flex-direction: column;
	}

	.bank-profile-v3-logo {
		width: 112px;
		height: 92px;
		flex-basis: auto;
	}

	.bank-profile-v3-heading h1 {
		font-size: 34px;
	}

	.bank-profile-v3-hero-actions {
		flex-direction: column;
	}

	.bank-profile-v3-stats {
		grid-template-columns: repeat(2,1fr);
		margin-top: -12px;
	}

	.bank-profile-v3-sidebar {
		grid-template-columns: 1fr;
	}

	.bank-profile-v3-service-grid {
		grid-template-columns: 1fr;
	}

	.bank-profile-v3-nav {
		top: 72px;
		overflow-x: auto;
		flex-wrap: nowrap;
	}
}


/* ==========================================================================
   Bank user comments — v1.8.1
   ========================================================================== */

.bank-profile-v3-comments {
	scroll-margin-top: 145px;
}

.bank-profile-v3-comments-head > span {
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
	background: #e7f5f2;
	color: var(--brand-primary);
	font-size: 9px;
	font-weight: 850;
}

.bank-profile-v3-comments-intro {
	margin: -2px 0 18px;
	color: var(--brand-muted);
	font-size: 10px;
	line-height: 1.9;
}

.bank-profile-v3-comment-list {
	display: grid;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.bank-profile-v3-comment-list .comment {
	padding: 15px;
	border: 1px solid #e4ebf5;
	border-radius: 15px;
	background: #fbfcfe;
	list-style: none;
}

.bank-profile-v3-comment-list .comment-body {
	position: relative;
}

.bank-profile-v3-comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 9px;
}

.bank-profile-v3-comment-list .avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

.bank-profile-v3-comment-list .fn {
	color: var(--brand-navy);
	font-size: 10px;
	font-style: normal;
	font-weight: 850;
}

.bank-profile-v3-comment-list .says {
	display: none;
}

.bank-profile-v3-comment-list .comment-meta {
	margin: 4px 51px 8px 0;
	font-size: 8px;
}

.bank-profile-v3-comment-list .comment-meta a {
	color: var(--brand-muted);
	text-decoration: none;
}

.bank-profile-v3-comment-list .comment-content {
	margin-right: 51px;
	color: #39475b;
	font-size: 10px;
	line-height: 1.9;
}

.bank-profile-v3-comment-list .comment-content p:last-child {
	margin-bottom: 0;
}

.bank-profile-v3-comment-list .reply {
	margin: 8px 51px 0 0;
}

.bank-profile-v3-comment-list .reply a {
	color: var(--brand-primary);
	font-size: 8px;
	font-weight: 800;
	text-decoration: none;
}

.bank-profile-v3-comment-list .children {
	display: grid;
	gap: 8px;
	margin: 12px 40px 0 0;
	padding: 0;
}

.bank-profile-v3-no-comments {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 18px;
	padding: 16px;
	border: 1px dashed #d7e1ef;
	border-radius: 14px;
	background: #fbfcfe;
}

.bank-profile-v3-no-comments strong {
	color: var(--brand-navy);
	font-size: 11px;
}

.bank-profile-v3-no-comments span {
	color: var(--brand-muted);
	font-size: 9px;
}

.bank-profile-v3-comment-form {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #e8edf4;
}

.bank-profile-v3-comment-form .comment-reply-title {
	margin: 0 0 6px;
	color: var(--brand-navy);
	font-size: 18px;
}

.bank-profile-v3-comment-form .comment-notes,
.bank-profile-v3-comment-form .logged-in-as,
.bank-profile-v3-comment-form .comment-policy-note {
	color: var(--brand-muted);
	font-size: 9px;
	line-height: 1.8;
}

.bank-profile-v3-comment-form .comment-form {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 10px;
}

.bank-profile-v3-comment-form .comment-notes,
.bank-profile-v3-comment-form .logged-in-as,
.bank-profile-v3-comment-form .comment-form-comment,
.bank-profile-v3-comment-form .comment-form-cookies-consent,
.bank-profile-v3-comment-form .form-submit,
.bank-profile-v3-comment-form .comment-policy-note {
	grid-column: 1 / -1;
}

.bank-profile-v3-comment-form label {
	display: block;
	margin-bottom: 5px;
	color: var(--brand-muted);
	font-size: 8px;
	font-weight: 750;
}

.bank-profile-v3-comment-form input[type="text"],
.bank-profile-v3-comment-form input[type="email"],
.bank-profile-v3-comment-form input[type="url"],
.bank-profile-v3-comment-form textarea {
	width: 100%;
	border: 1px solid #dfe7f2;
	border-radius: 11px;
	background: #fff;
	padding: 11px 12px;
	font: inherit;
	font-size: 10px;
	outline: none;
}

.bank-profile-v3-comment-form textarea {
	min-height: 120px;
	resize: vertical;
}

.bank-profile-v3-comment-form input:focus,
.bank-profile-v3-comment-form textarea:focus {
	border-color: #9dbcfb;
	box-shadow: 0 0 0 3px rgba(15,118,110,.06);
}

.bank-profile-v3-comment-form .submit {
	min-height: 43px;
	border: 0;
	border-radius: 10px;
	background: var(--brand-primary);
	color: #fff;
	padding: 0 20px;
	font: inherit;
	font-size: 10px;
	font-weight: 850;
	cursor: pointer;
}

.bank-profile-v3-comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 7px;
}

.bank-profile-v3-comment-form .comment-form-cookies-consent label {
	margin: 0;
}

@media (max-width: 620px) {
	.bank-profile-v3-comment-form .comment-form {
		grid-template-columns: 1fr;
	}

	.bank-profile-v3-comment-form .comment-form > * {
		grid-column: 1;
	}

	.bank-profile-v3-comment-list .comment-content,
	.bank-profile-v3-comment-list .reply,
	.bank-profile-v3-comment-list .comment-meta {
		margin-right: 0;
	}

	.bank-profile-v3-comment-list .children {
		margin-right: 18px;
	}
}


/* ==========================================================================
   Bank user ratings — v1.8.3
   ========================================================================== */

.bank-profile-v3-rating-summary {
	padding: 11px 13px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 14px;
	background: rgba(255,255,255,.09);
	backdrop-filter: blur(8px);
}

.bank-profile-v3-rating-summary > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.bank-profile-v3-rating-summary strong {
	color: #fff;
	font-size: 22px;
	line-height: 1;
}

.bank-profile-v3-rating-summary span {
	direction: ltr;
	color: #ffd86b;
	font-size: 16px;
	letter-spacing: 1px;
	white-space: nowrap;
}

.bank-profile-v3-rating-summary small {
	display: block;
	margin-top: 5px;
	color: rgba(255,255,255,.68);
	font-size: 8px;
}

.afg-bank-rating-field {
	grid-column: 1 / -1;
	margin: 0;
	padding: 12px;
	border: 1px solid #e3eaf4;
	border-radius: 12px;
	background: #fbfcfe;
}

.afg-bank-rating-field > label {
	margin-bottom: 8px;
	color: var(--brand-navy);
	font-size: 9px;
	font-weight: 850;
}

.afg-bank-rating-options {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	direction: rtl;
}

.afg-bank-rating-options label {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #dce5f0;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}

.afg-bank-rating-options input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.afg-bank-rating-options span {
	direction: ltr;
	color: #e4a900;
	font-size: 13px;
	letter-spacing: .5px;
}

.afg-bank-rating-options small {
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-bank-rating-options label:has(input:checked) {
	border-color: #92b6ff;
	background: #e7f5f2;
	box-shadow: 0 0 0 3px rgba(15,118,110,.05);
}

.afg-bank-comment-rating {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 7px;
}

.afg-bank-comment-rating span {
	direction: ltr;
	color: #e4a900;
	font-size: 12px;
	letter-spacing: .5px;
}

.afg-bank-comment-rating small {
	color: var(--brand-muted);
	font-size: 8px;
}

@media (max-width: 1150px) {
	.bank-profile-v3-stats {
		grid-template-columns: repeat(4,1fr);
	}
}

@media (max-width: 620px) {
	.afg-bank-rating-options {
		display: grid;
		grid-template-columns: 1fr;
	}

	.afg-bank-rating-options label {
		justify-content: space-between;
	}
}


/* ==========================================================================
   Bank Compare v2 — v1.8.4
   ========================================================================== */

.afg-bank-compare-v2-page {
	background: #f7f9fc;
}

.afg-bank-compare-v2-hero {
	min-height: 280px;
	padding-block: 68px 52px;
	background:
		radial-gradient(circle at 80% 15%, rgba(15,118,110,.08), transparent 30%),
		linear-gradient(180deg,#f4faf8,#f7faf9);
}

.afg-bank-compare-v2-content {
	padding-top: 22px;
	padding-bottom: 52px;
}

.afg-bank-compare-v2-picker {
	margin-bottom: 18px;
	padding: 16px;
	border: 1px solid var(--brand-line);
	border-radius: 18px;
	background: #fff;
}

.afg-bank-compare-v2-picker-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.afg-bank-compare-v2-picker-head strong {
	display: block;
	color: var(--brand-navy);
	font-size: 14px;
}

.afg-bank-compare-v2-picker-head span {
	display: block;
	margin-top: 3px;
	color: var(--brand-muted);
	font-size: 9px;
}

.afg-bank-compare-v2-selects {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 9px;
}

.afg-bank-compare-v2-selects label > span {
	display: block;
	margin-bottom: 5px;
	color: var(--brand-muted);
	font-size: 8px;
	font-weight: 800;
}

.afg-bank-compare-v2-selects select {
	width: 100%;
	min-height: 44px;
	border: 1px solid #dfe7f2;
	border-radius: 11px;
	background: #fff;
	padding: 0 10px;
	font: inherit;
	font-size: 10px;
}

.afg-bank-compare-v2-picker-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.afg-bank-compare-v2-table-wrap {
	overflow-x: auto;
	border: 1px solid #e1e8f2;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(16,24,40,.035);
}

.afg-bank-compare-v2-table {
	width: 100%;
	min-width: 900px;
	border-collapse: collapse;
	table-layout: fixed;
}

.afg-bank-compare-v2-table th,
.afg-bank-compare-v2-table td {
	padding: 14px;
	border-bottom: 1px solid #e8edf4;
	border-left: 1px solid #edf1f6;
	text-align: center;
	vertical-align: middle;
	font-size: 10px;
	line-height: 1.65;
}

.afg-bank-compare-v2-table th:first-child {
	width: 170px;
	color: var(--brand-navy);
	text-align: right;
	font-weight: 900;
}

.afg-bank-compare-v2-table thead th {
	padding-block: 20px;
	background: #f3f7ff;
}

.afg-bank-compare-v2-bank-head {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 5px;
}

.afg-bank-compare-v2-logo {
	display: grid;
	place-items: center;
	width: 110px;
	height: 72px;
	margin-bottom: 5px;
	padding: 8px;
	border: 1px solid #dfe7f2;
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

.afg-bank-compare-v2-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: scale(1.28);
}

.afg-bank-compare-v2-bank-head strong {
	color: var(--brand-navy);
	font-size: 13px;
}

.afg-bank-compare-v2-bank-head span {
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-bank-compare-v2-bank-head a {
	margin-top: 5px;
	color: var(--brand-primary);
	font-size: 8px;
	font-weight: 850;
	text-decoration: none;
}

.afg-bank-compare-v2-table td > small {
	display: block;
	margin-top: 4px;
	color: var(--brand-muted);
	font-size: 7px;
}

.afg-bank-compare-v2-section-row th {
	padding: 9px 14px;
	background: #edf8f6;
	color: var(--brand-primary) !important;
	font-size: 10px;
	text-align: right !important;
}

.afg-bank-compare-v2-rating {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 3px;
}

.afg-bank-compare-v2-rating strong {
	font-size: 13px;
}

.afg-bank-compare-v2-rating span {
	direction: ltr;
	color: #e4a900;
	font-size: 13px;
	letter-spacing: .5px;
}

.afg-bank-compare-v2-rating small {
	color: var(--brand-muted);
	font-size: 7px;
}

.afg-bank-compare-v2-actions td {
	display: table-cell;
}

.afg-bank-compare-v2-actions .afg-button {
	display: flex;
	justify-content: center;
	margin: 4px 0;
}

@media (max-width: 950px) {
	.afg-bank-compare-v2-selects {
		grid-template-columns: repeat(2,1fr);
	}
}

@media (max-width: 620px) {
	.afg-bank-compare-v2-hero {
		min-height: 0;
		padding-block: 48px 38px;
	}

	.afg-bank-compare-v2-selects {
		grid-template-columns: 1fr;
	}

	.afg-bank-compare-v2-picker-actions {
		flex-direction: column;
	}
}


/* ==========================================================================
   Homepage discovery — v1.8.5
   ========================================================================== */

.afg-home-discovery {
	padding: 48px 0;
	background: #f7f9fc;
}

.afg-home-discovery-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 20px;
}

.afg-home-discovery-head h2 {
	margin: 4px 0 6px;
	color: var(--brand-navy);
	font-size: clamp(28px,3vw,40px);
	line-height: 1.3;
}

.afg-home-discovery-head p {
	margin: 0;
	color: var(--brand-muted);
	font-size: 11px;
	line-height: 1.9;
}

.afg-home-discovery-head > a {
	flex: 0 0 auto;
	color: var(--brand-primary);
	font-size: 10px;
	font-weight: 850;
	text-decoration: none;
}

.afg-home-discovery-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 12px;
}

.afg-home-discovery-card {
	display: grid;
	grid-template-columns: 48px minmax(0,1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 106px;
	padding: 16px;
	border: 1px solid #e1e8f2;
	border-radius: 18px;
	background: #fff;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(16,24,40,.025);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.afg-home-discovery-card:hover {
	transform: translateY(-3px);
	border-color: #c9dafa;
	box-shadow: 0 16px 34px rgba(15,118,110,.06);
}

.afg-home-discovery-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #edf8f6;
	color: var(--brand-primary);
	font-size: 20px;
	font-weight: 900;
}

.afg-home-discovery-card strong {
	display: block;
	color: var(--brand-navy);
	font-size: 14px;
	line-height: 1.5;
}

.afg-home-discovery-card span {
	display: block;
	margin-top: 3px;
	color: var(--brand-muted);
	font-size: 9px;
	line-height: 1.7;
}

.afg-home-discovery-card small {
	display: inline-flex;
	padding: 5px 8px;
	border-radius: 999px;
	background: #f4f7fb;
	color: #516078;
	font-size: 8px;
	font-weight: 800;
	white-space: nowrap;
}

.afg-home-discovery-card-wide {
	grid-column: span 3;
}

@media (max-width: 1000px) {
	.afg-home-discovery-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.afg-home-discovery-card-wide {
		grid-column: span 2;
	}
}

@media (max-width: 620px) {
	.afg-home-discovery {
		padding: 34px 0;
	}

	.afg-home-discovery-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.afg-home-discovery-grid {
		grid-template-columns: 1fr;
	}

	.afg-home-discovery-card-wide {
		grid-column: auto;
	}

	.afg-home-discovery-card {
		grid-template-columns: 44px minmax(0,1fr);
	}

	.afg-home-discovery-card small {
		grid-column: 2;
		justify-self: start;
	}
}


/* ==========================================================================
   Financing purpose navigation — v1.8.6
   ========================================================================== */

.afg-financing-purpose-block {
	margin-bottom: 14px;
	padding: 16px;
	border: 1px solid #e1e8f2;
	border-radius: 20px;
	background:
		radial-gradient(circle at 90% 5%, rgba(15,118,110,.06), transparent 28%),
		#fff;
	box-shadow: 0 12px 32px rgba(16,24,40,.025);
}

.afg-financing-purpose-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
}

.afg-financing-purpose-heading strong {
	display: block;
	margin-top: 3px;
	color: var(--brand-navy);
	font-size: 17px;
}

.afg-financing-purpose-heading > small {
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-financing-purpose-grid {
	display: grid;
	grid-template-columns: repeat(5,minmax(0,1fr));
	gap: 8px;
}

.afg-financing-purpose-grid > a {
	display: grid;
	grid-template-columns: 38px minmax(0,1fr) auto;
	align-items: center;
	gap: 8px;
	min-height: 72px;
	padding: 10px;
	border: 1px solid #e4ebf5;
	border-radius: 14px;
	background: #fbfcfe;
	color: inherit;
	text-decoration: none;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.afg-financing-purpose-grid > a:hover,
.afg-financing-purpose-grid > a.is-active {
	border-color: #bcd0fa;
	background: #e7f5f2;
	transform: translateY(-1px);
}

.afg-financing-purpose-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: #edf8f6;
	color: var(--brand-primary);
	font-size: 16px;
	font-weight: 900;
}

.afg-financing-purpose-grid strong {
	display: block;
	color: var(--brand-navy);
	font-size: 11px;
}

.afg-financing-purpose-grid small {
	display: block;
	margin-top: 2px;
	color: var(--brand-muted);
	font-size: 7px;
	line-height: 1.55;
}

.afg-financing-purpose-grid em {
	display: grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	border-radius: 999px;
	background: #fff;
	color: var(--brand-primary);
	font-size: 8px;
	font-style: normal;
	font-weight: 900;
}

@media (max-width: 1100px) {
	.afg-financing-purpose-grid {
		grid-template-columns: repeat(3,minmax(0,1fr));
	}
}

@media (max-width: 700px) {
	.afg-financing-purpose-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.afg-financing-purpose-grid {
		grid-template-columns: 1fr;
	}
}


/* Financing purpose expansion — v1.8.7 */
.afg-financing-purpose-grid {
	grid-template-columns: repeat(4,minmax(0,1fr));
}

@media (max-width: 1100px) {
	.afg-financing-purpose-grid {
		grid-template-columns: repeat(3,minmax(0,1fr));
	}
}

@media (max-width: 700px) {
	.afg-financing-purpose-grid {
		grid-template-columns: 1fr;
	}
}


/* Financing Persian-only display — v1.8.8 */
.afg-financing-page .afg-financing-card [dir="ltr"],
.afg-financing-page .afg-financing-key-data strong,
.afg-financing-page .afg-financing-meta-line strong,
.afg-financing-compare-page td,
.afg-product-single .afg-financing-detail-section strong,
.afg-product-single .afg-product-decision-strip strong {
	direction: rtl;
	unicode-bidi: plaintext;
	text-align: right;
}


/* ==========================================================================
   Financing discovery & sorting — v1.8.9
   ========================================================================== */

.afg-financing-filters {
	grid-template-columns: repeat(3,minmax(0,1fr));
}

.afg-financing-sort-field select {
	font-weight: 800;
}

.afg-financing-quick-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 14px 0;
	background: #fff;
}

.afg-financing-quick-badges span {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 8px;
	border: 1px solid #dce7f7;
	border-radius: 999px;
	background: #f6f9ff;
	color: #27538f;
	font-size: 8px;
	font-weight: 850;
	line-height: 1.4;
}

.afg-financing-suitability {
	margin: 12px 0;
	padding: 12px 13px;
	border: 1px solid #dfe9f8;
	border-radius: 13px;
	background: linear-gradient(135deg,#f6faf9,#fbfdfc);
}

.afg-financing-suitability > span {
	display: inline-flex;
	margin-bottom: 5px;
	color: var(--brand-primary);
	font-size: 8px;
	font-weight: 900;
}

.afg-financing-suitability p {
	margin: 0;
	color: #4b5b72;
	font-size: 9px;
	line-height: 1.9;
}

@media (max-width: 1000px) {
	.afg-financing-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
	.afg-financing-filters { grid-template-columns: 1fr; }
	.afg-financing-quick-badges { padding-inline: 12px; }
}


/* ==========================================================================
   Financing detail v2 — v1.8.11
   ========================================================================== */

.afg-financing-decision-v2 {
	scroll-margin-top: 145px;
}

.afg-financing-decision-metrics {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.afg-financing-decision-metrics > div {
	padding: 14px;
	border: 1px solid #e2e9f3;
	border-radius: 14px;
	background: #fbfcfe;
}

.afg-financing-decision-metrics span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-financing-decision-metrics strong {
	display: block;
	margin-top: 5px;
	color: var(--brand-navy);
	font-size: 12px;
	line-height: 1.65;
}

.afg-financing-decision-columns {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 12px;
}

.afg-financing-decision-box {
	padding: 16px;
	border-radius: 16px;
}

.afg-financing-decision-box.is-positive {
	border: 1px solid #ccebdc;
	background: #f4fbf7;
}

.afg-financing-decision-box.is-caution {
	border: 1px solid #f0dfbd;
	background: #fffaf1;
}

.afg-financing-decision-box-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.afg-financing-decision-box-title span {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	font-size: 11px;
	font-weight: 900;
}

.afg-financing-decision-box.is-positive .afg-financing-decision-box-title span {
	color: #087443;
}

.afg-financing-decision-box.is-caution .afg-financing-decision-box-title span {
	color: #a76608;
}

.afg-financing-decision-box-title strong {
	color: var(--brand-navy);
	font-size: 11px;
}

.afg-financing-decision-box ul {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0 18px 0 0;
}

.afg-financing-decision-box li {
	color: #46546a;
	font-size: 9px;
	line-height: 1.8;
}

.afg-financing-detail-section .afg-financing-detail-grid strong,
.afg-product-action-card .afg-sidebar-fact strong {
	direction: rtl;
	unicode-bidi: plaintext;
	text-align: right;
}

@media (max-width: 900px) {
	.afg-financing-decision-metrics {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}

@media (max-width: 620px) {
	.afg-financing-decision-metrics,
	.afg-financing-decision-columns {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Financing Compare v2 — v1.8.12
   ========================================================================== */

.afg-financing-compare-highlights {
	margin-bottom: 16px;
	padding: 18px;
	border: 1px solid #e1e8f2;
	border-radius: 18px;
	background: #fff;
}

.afg-financing-compare-highlights-title h2 {
	margin: 3px 0 14px;
	color: var(--brand-navy);
	font-size: 20px;
}

.afg-financing-compare-highlight-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 10px;
}

.afg-financing-compare-highlight-grid article {
	padding: 14px;
	border: 1px solid #e4ebf5;
	border-radius: 14px;
	background: #fbfcfe;
}

.afg-financing-compare-highlight-grid span {
	display: block;
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-financing-compare-highlight-grid strong {
	display: block;
	margin-top: 5px;
	color: var(--brand-primary);
	font-size: 15px;
	line-height: 1.6;
}

.afg-financing-compare-highlight-grid small {
	display: block;
	margin-top: 5px;
	color: #47566c;
	font-size: 8px;
	line-height: 1.6;
}

.afg-financing-compare-v2 .afg-compare-product-head a {
	margin-top: 4px;
	color: var(--brand-primary);
	font-size: 8px;
	font-weight: 850;
	text-decoration: none;
}

.afg-financing-compare-table td {
	position: relative;
}

.afg-financing-compare-table td > strong {
	display: block;
	color: var(--brand-navy);
	font-size: 10px;
	font-weight: 750;
	line-height: 1.7;
}

.afg-financing-compare-table td.is-best-value {
	background: #f3fbf7;
	box-shadow: inset 0 0 0 1px #bfe7d3;
}

.afg-best-value-badge {
	display: inline-flex;
	margin-bottom: 6px;
	padding: 4px 7px;
	border-radius: 999px;
	background: #e7f8ef;
	color: #087443;
	font-size: 7px;
	font-weight: 900;
}

.afg-financing-compare-row-note {
	display: block;
	margin-top: 3px;
	color: var(--brand-muted);
	font-size: 7px;
	font-weight: 500;
}

.afg-financing-compare-disclaimer {
	display: flex;
	gap: 7px;
	margin-top: 14px;
	padding: 13px 15px;
	border: 1px solid #eadfca;
	border-radius: 14px;
	background: #fffaf1;
	color: #655b4d;
	font-size: 9px;
	line-height: 1.8;
}

.afg-financing-compare-disclaimer strong {
	flex: 0 0 auto;
	color: #9a650e;
}

@media (max-width: 780px) {
	.afg-financing-compare-highlight-grid {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Dari-only financing presentation — v1.8.13
   ========================================================================== */

.afg-financing-page .afg-financing-card-copy,
.afg-financing-page .afg-financing-key-data,
.afg-financing-page .afg-financing-meta-line,
.afg-financing-compare-page .afg-financing-compare-table,
.afg-product-single .afg-financing-detail-section,
.afg-product-single .afg-financing-decision-v2 {
	direction: rtl;
}

.afg-financing-page .afg-financing-card [dir="ltr"],
.afg-financing-page .afg-financing-key-data strong[dir="ltr"],
.afg-financing-page .afg-financing-meta-line strong[dir="ltr"],
.afg-product-single .afg-financing-detail-section [dir="ltr"],
.afg-financing-compare-page [dir="ltr"] {
	direction: rtl !important;
	unicode-bidi: plaintext;
	text-align: right;
}


/* ==========================================================================
   Global Search — v1.8.14
   ========================================================================== */

.header-search-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 10px;
	border: 1px solid #dfe7f2;
	border-radius: 11px;
	background: #fff;
	color: var(--brand-navy);
	font: inherit;
	font-size: 9px;
	font-weight: 800;
	cursor: pointer;
}

.header-search-toggle > span:first-child {
	color: var(--brand-primary);
	font-size: 18px;
	line-height: 1;
}

.afg-search-open {
	overflow: hidden;
}

.afg-global-search {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.afg-global-search-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15,23,42,.48);
	backdrop-filter: blur(5px);
}

.afg-global-search-dialog {
	position: relative;
	width: min(780px, calc(100% - 30px));
	max-height: min(760px, calc(100vh - 54px));
	margin: 27px auto;
	padding: 20px;
	overflow-y: auto;
	border: 1px solid rgba(255,255,255,.55);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 30px 90px rgba(15,23,42,.22);
}

.afg-global-search-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.afg-global-search-top h2 {
	margin: 3px 0 0;
	color: var(--brand-navy);
	font-size: 22px;
}

.afg-global-search-close {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid #e1e8f2;
	border-radius: 11px;
	background: #f7f9fc;
	color: #526076;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.afg-global-search-form {
	display: grid;
	grid-template-columns: auto minmax(0,1fr) auto;
	align-items: center;
	gap: 8px;
	margin-top: 17px;
	padding: 7px 8px 7px 7px;
	border: 2px solid #cbdaf7;
	border-radius: 15px;
	background: #fff;
}

.afg-global-search-form > span {
	padding-inline: 5px;
	color: var(--brand-primary);
	font-size: 22px;
}

.afg-global-search-form input {
	width: 100%;
	min-height: 42px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--brand-navy);
	font: inherit;
	font-size: 13px;
}

.afg-global-search-form input::placeholder {
	color: #8b98aa;
}

.afg-global-search-form button {
	min-height: 40px;
	padding: 0 15px;
	border: 0;
	border-radius: 10px;
	background: var(--brand-primary);
	color: #fff;
	font: inherit;
	font-size: 9px;
	font-weight: 900;
	cursor: pointer;
}

.afg-global-search-suggestions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.afg-global-search-suggestions > span {
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-global-search-suggestions button {
	padding: 6px 9px;
	border: 1px solid #e0e8f3;
	border-radius: 999px;
	background: #f7faf9;
	color: #46566f;
	font: inherit;
	font-size: 8px;
	cursor: pointer;
}

.afg-live-search-status {
	padding: 28px 8px;
	color: var(--brand-muted);
	font-size: 9px;
	text-align: center;
}

.afg-live-search-results {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.afg-live-search-group {
	overflow: hidden;
	border: 1px solid #e3eaf3;
	border-radius: 15px;
	background: #fff;
}

.afg-live-search-group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 11px;
	background: #f7f9fc;
}

.afg-live-search-group-head strong {
	color: var(--brand-navy);
	font-size: 9px;
}

.afg-live-search-group-head span {
	color: var(--brand-muted);
	font-size: 7px;
}

.afg-live-search-item {
	display: grid;
	grid-template-columns: 42px minmax(0,1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 9px 11px;
	border-top: 1px solid #edf1f6;
	color: inherit;
	text-decoration: none;
}

.afg-live-search-item:hover {
	background: #fbfcfe;
}

.afg-live-search-thumb {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 5px;
	overflow: hidden;
	border: 1px solid #e0e8f3;
	border-radius: 10px;
	background: #fff;
	color: var(--brand-primary);
}

.afg-live-search-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.afg-live-search-copy strong {
	display: block;
	color: var(--brand-navy);
	font-size: 10px;
	line-height: 1.55;
}

.afg-live-search-copy small {
	display: block;
	margin-top: 2px;
	color: var(--brand-muted);
	font-size: 7px;
}

.afg-live-search-arrow {
	color: var(--brand-primary);
	font-size: 13px;
}

.afg-live-search-empty {
	display: grid;
	gap: 5px;
	padding: 28px 14px;
	border: 1px dashed #dfe7f2;
	border-radius: 14px;
	text-align: center;
}

.afg-live-search-empty strong {
	color: var(--brand-navy);
	font-size: 12px;
}

.afg-live-search-empty span {
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-global-search-all {
	display: flex;
	justify-content: center;
	margin-top: 12px;
	padding: 11px;
	border-radius: 11px;
	background: #e7f5f2;
	color: var(--brand-primary);
	font-size: 9px;
	font-weight: 900;
	text-decoration: none;
}

.afg-search-loading {
	display: flex;
	justify-content: center;
	gap: 5px;
	padding: 30px;
}

.afg-search-loading span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #9ab7ed;
	animation: afgSearchPulse .8s infinite alternate;
}

.afg-search-loading span:nth-child(2) { animation-delay: .15s; }
.afg-search-loading span:nth-child(3) { animation-delay: .3s; }

@keyframes afgSearchPulse {
	to { opacity: .25; transform: translateY(-3px); }
}

/* Search results page */

.afg-search-page {
	background: #f7f9fc;
	min-height: 70vh;
}

.afg-search-page-hero {
	padding: 58px 0 42px;
	background:
		radial-gradient(circle at 80% 5%, rgba(15,118,110,.09), transparent 26%),
		linear-gradient(180deg,#f3f9f7,#f7f9fc);
}

.afg-search-page-hero h1 {
	margin: 5px 0 8px;
	color: var(--brand-navy);
	font-size: clamp(30px,4vw,48px);
	line-height: 1.35;
}

.afg-search-page-hero p {
	margin: 0;
	color: var(--brand-muted);
	font-size: 10px;
}

.afg-search-page-form {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	gap: 8px;
	max-width: 700px;
	margin-top: 20px;
}

.afg-search-page-form input {
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid #ccd9ed;
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 11px;
	outline: 0;
}

.afg-search-page-content {
	padding-top: 22px;
	padding-bottom: 52px;
}

.afg-search-page-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	padding: 12px 14px;
	border: 1px solid #e1e8f2;
	border-radius: 13px;
	background: #fff;
}

.afg-search-page-summary strong {
	color: var(--brand-navy);
	font-size: 10px;
}

.afg-search-page-summary span {
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-search-result-group {
	margin-top: 28px;
}

.afg-search-result-group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.afg-search-result-group-head h2 {
	margin: 0;
	color: var(--brand-navy);
	font-size: 20px;
}

.afg-search-result-group-head span {
	color: var(--brand-muted);
	font-size: 8px;
}

.afg-search-result-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 11px;
}

.afg-search-result-card {
	display: flex;
	flex-direction: column;
	min-height: 230px;
	padding: 14px;
	border: 1px solid #e1e8f2;
	border-radius: 17px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.afg-search-result-card:hover {
	transform: translateY(-2px);
	border-color: #cbdcf9;
	box-shadow: 0 15px 30px rgba(15,118,110,.06);
}

.afg-search-result-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.afg-search-result-thumb {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 6px;
	border: 1px solid #e1e8f2;
	border-radius: 11px;
	background: #fff;
	overflow: hidden;
	color: var(--brand-primary);
}

.afg-search-result-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.afg-search-result-kind {
	padding: 5px 8px;
	border-radius: 999px;
	background: #e7f5f2;
	color: var(--brand-primary);
	font-size: 7px;
	font-weight: 850;
}

.afg-search-result-card h3 {
	margin: 13px 0 0;
	color: var(--brand-navy);
	font-size: 14px;
	line-height: 1.65;
}

.afg-search-result-subtitle {
	display: block;
	margin-top: 4px;
	color: #66758c;
	font-size: 8px;
}

.afg-search-result-card p {
	margin: 10px 0 0;
	color: var(--brand-muted);
	font-size: 8px;
	line-height: 1.85;
}

.afg-search-result-link {
	margin-top: auto;
	padding-top: 13px;
	color: var(--brand-primary);
	font-size: 8px;
}

@media (max-width: 900px) {
	.header-search-label {
		display: none;
	}

	.afg-search-result-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}

@media (max-width: 620px) {
	.afg-global-search-dialog {
		width: calc(100% - 16px);
		max-height: calc(100vh - 16px);
		margin: 8px auto;
		padding: 14px;
		border-radius: 18px;
	}

	.afg-global-search-top h2 {
		font-size: 18px;
	}

	.afg-global-search-form {
		grid-template-columns: auto minmax(0,1fr);
	}

	.afg-global-search-form button {
		grid-column: 1 / -1;
	}

	.afg-search-page-form,
	.afg-search-result-grid {
		grid-template-columns: 1fr;
	}

	.afg-search-page-summary {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* ==========================================================================
   Responsive UI Audit 01 — Header + Homepage — v1.8.15
   Target widths: 320 / 360 / 375 / 390 / 414 / 768 / 820 / 1024 /
                  1280 / 1366 / 1440 / 1600+
   ========================================================================== */

:root {
	--afg-header-height: 72px;
	--afg-touch-target: 44px;
}

/* ---------- Header: wide desktop ---------- */

.site-header {
	box-shadow: 0 1px 0 rgba(15,23,42,.02);
}

.header-inner {
	width: min(calc(100% - 40px), 1480px);
	min-height: var(--afg-header-height);
	grid-template-columns: auto minmax(0,1fr) auto;
	gap: clamp(16px, 1.7vw, 28px);
}

.site-branding {
	min-width: max-content;
}

.site-brand-title {
	letter-spacing: -.01em;
}

.main-nav {
	display: flex;
	justify-content: center;
	min-width: 0;
}

.main-nav ul {
	justify-content: center;
	gap: clamp(10px, 1vw, 18px);
}

.main-nav a {
	padding-inline: 2px;
	font-size: clamp(12px, .82vw, 14px);
	white-space: nowrap;
}

.header-actions {
	min-width: max-content;
}

.header-search-toggle,
.header-compare-link,
.mobile-nav-toggle {
	min-width: var(--afg-touch-target);
	min-height: var(--afg-touch-target);
}

.mobile-nav-tools {
	display: none;
}

/* 1600px+: keep the navigation airy without over-stretching. */
@media (min-width: 1600px) {
	.header-inner {
		width: min(calc(100% - 56px), 1540px);
	}

	.main-nav ul {
		gap: 18px;
	}
}

/* Compact desktop / normal laptops. */
@media (max-width: 1440px) and (min-width: 1221px) {
	.header-inner {
		width: min(calc(100% - 28px), 1380px);
		gap: 14px;
	}

	.main-nav ul {
		gap: 10px;
	}

	.main-nav a {
		font-size: 12px;
	}

	.site-brand-title {
		font-size: 18px;
	}

	.site-brand-subtitle {
		font-size: 10px;
	}

	.site-brand-mark {
		width: 36px;
		height: 36px;
	}

	.language-switcher a {
		min-height: 32px;
		padding-inline: 8px;
		font-size: 11px;
	}

	.header-search-toggle {
		padding-inline: 9px;
	}

	.header-search-label {
		display: none;
	}

	.header-compare-link {
		padding-inline: 12px;
		font-size: 12px;
	}
}

/*
 * Tablet / small laptop:
 * Collapse navigation earlier than the previous 1020px breakpoint.
 * This avoids the crowded header visible around 1024–1280px.
 */
@media (max-width: 1220px) {
	.header-inner {
		position: relative;
		width: min(calc(100% - 28px), 1180px);
		grid-template-columns: minmax(0,1fr) auto;
		gap: 14px;
		padding-block: 8px;
	}

	.main-nav {
		position: absolute;
		inset-inline: 0;
		top: calc(100% + 7px);
		display: none;
		justify-content: stretch;
		max-height: min(72vh, 620px);
		overflow-y: auto;
		padding: 12px;
		border: 1px solid #dfe7f2;
		border-radius: 18px;
		background: rgba(255,255,255,.99);
		box-shadow: 0 24px 60px rgba(15,23,42,.16);
	}

	.main-nav.is-open {
		display: block;
	}

	.main-nav ul {
		display: grid;
		grid-template-columns: repeat(2,minmax(0,1fr));
		gap: 5px;
	}

	.main-nav li {
		min-width: 0;
	}

	.main-nav a {
		width: 100%;
		min-height: 46px;
		padding: 8px 12px;
		border: 0;
		border-radius: 11px;
		font-size: 13px;
	}

	.main-nav a:hover,
	.main-nav a:focus-visible {
		border: 0;
		background: #f2f6ff;
		color: var(--brand-primary, #0f766e);
	}

	.mobile-nav-toggle {
		display: inline-flex;
		flex-direction: column;
	}

	.header-actions {
		gap: 7px;
	}

	.header-compare-link {
		display: none;
	}
}

/* Tablet portrait: menu becomes single column, actions stay comfortable. */
@media (max-width: 900px) {
	.header-inner {
		width: min(calc(100% - 24px), 860px);
	}

	.main-nav ul {
		grid-template-columns: 1fr;
	}

	.header-search-label {
		display: none;
	}

	.header-search-toggle {
		padding-inline: 10px;
	}

	.site-brand-subtitle {
		display: none;
	}
}

/* Phone header. */
@media (max-width: 700px) {
	:root {
		--afg-header-height: 64px;
	}

	.header-inner {
		width: calc(100% - 20px);
		min-height: var(--afg-header-height);
		gap: 8px;
		padding-block: 7px;
	}

	.site-branding {
		gap: 8px;
		min-width: 0;
	}

	.site-brand-mark {
		width: 36px;
		height: 36px;
		border-radius: 11px;
		font-size: 15px;
	}

	.site-brand-text {
		min-width: 0;
	}

	.site-brand-title {
		max-width: min(50vw, 220px);
		overflow: hidden;
		font-size: 15px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.header-actions {
		gap: 5px;
	}

	.header-actions > .language-switcher {
		display: none;
	}

	.header-search-toggle,
	.mobile-nav-toggle {
		width: 40px;
		height: 40px;
		min-width: 40px;
		min-height: 40px;
		padding: 0;
		border-radius: 11px;
	}

	.header-search-toggle > span:first-child {
		font-size: 19px;
	}

	.main-nav {
		inset-inline: -2px;
		top: calc(100% + 5px);
		max-height: calc(100vh - 86px);
		padding: 9px;
		border-radius: 15px;
	}

	.main-nav a {
		min-height: 44px;
		padding-inline: 11px;
	}

	.mobile-nav-tools {
		display: grid;
		gap: 10px;
		margin-top: 9px;
		padding-top: 11px;
		border-top: 1px solid #edf1f6;
	}

	.mobile-nav-language {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding-inline: 4px;
	}

	.mobile-nav-language > span {
		color: var(--brand-muted, #667085);
		font-size: 11px;
		font-weight: 700;
	}

	.mobile-nav-language .language-switcher {
		display: inline-flex;
	}

	.mobile-nav-language .language-switcher a {
		min-height: 32px;
		padding-inline: 9px;
		font-size: 10px;
	}

	.mobile-nav-compare {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		border-radius: 11px;
		background: var(--brand-primary, #0f766e);
		color: #fff;
		font-size: 12px;
		font-weight: 900;
		text-decoration: none;
	}
}

/* Smallest supported phones (320–360). */
@media (max-width: 360px) {
	.header-inner {
		width: calc(100% - 14px);
	}

	.site-brand-title {
		max-width: 44vw;
		font-size: 14px;
	}

	.site-brand-mark {
		width: 34px;
		height: 34px;
	}

	.header-search-toggle,
	.mobile-nav-toggle {
		width: 38px;
		height: 38px;
		min-width: 38px;
		min-height: 38px;
	}
}

/* ---------- Homepage: spacing and responsive rhythm ---------- */

.home .site-container,
.afg-home-trust-row {
	width: min(calc(100% - 40px), 1440px);
}

.afg-home-hero-slider {
	width: min(calc(100% - 40px), 1440px);
	margin-inline: auto;
}

.afg-home-hero-slide-inner {
	width: 100%;
}

.afg-home-hero-copy h1,
.afg-home-hero-copy h2 {
	text-wrap: balance;
}

.afg-home-hero-description,
.afg-home-hero-copy > p {
	max-width: 680px;
}

.afg-home-hero-empty-media {
	width: min(100%, 520px);
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(circle at 28% 36%, rgba(21,94,239,.20) 0 8%, transparent 9%),
		radial-gradient(circle at 70% 62%, rgba(21,94,239,.12) 0 12%, transparent 13%),
		linear-gradient(145deg, rgba(255,255,255,.82), rgba(220,232,255,.65));
	border: 1px solid rgba(21,94,239,.14);
	border-radius: 24px;
}

/* Finaf service hero readability */
.afg-products-hero .afg-products-hero-copy h1,
.afg-products-hero .afg-products-hero-copy h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.afg-products-hero .afg-products-hero-copy p,
.afg-products-hero .afg-products-hero-copy li {
  color: rgba(255, 255, 255, 0.9) !important;
}
.afg-products-hero .afg-products-hero-copy {
  background: rgba(8, 36, 35, 0.84) !important;
}
@media (max-width: 640px) {
  .afg-products-hero .afg-products-hero-copy {
    text-align: center;
    padding: 22px 18px !important;
  }
  .afg-products-hero .afg-products-hero-copy h1 {
    font-size: clamp(28px, 9vw, 36px) !important;
    line-height: 1.35 !important;
  }
  .afg-products-hero .afg-products-hero-copy p {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }
}

/* Finaf provider-first homepage and header refresh — 2026-08-22. */
.site-header{background:rgba(255,255,255,.9)!important;border-bottom:1px solid rgba(209,220,229,.85)!important;box-shadow:0 8px 28px rgba(15,39,64,.06)!important;backdrop-filter:blur(18px) saturate(140%)}
.header-inner{min-height:78px!important}
.site-branding{gap:11px!important}.site-brand-mark{border-radius:14px!important;box-shadow:0 9px 22px rgba(15,118,110,.16)!important}.site-brand-title{font-weight:900!important;letter-spacing:-.45px!important}.site-brand-subtitle{color:#6d7e8f!important}
.main-nav a{border:1px solid transparent!important;border-radius:11px!important;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease!important}.main-nav a:hover,.main-nav a:focus-visible,.main-nav .current-menu-item>a{border-color:#d7ebe5!important;background:#edf8f4!important;transform:translateY(-1px)}
.header-search-toggle,.header-compare-link,.mobile-nav-toggle{border-radius:12px!important;box-shadow:none!important}.header-search-toggle:hover,.mobile-nav-toggle:hover{border-color:#bfdad2!important;background:#f1f9f6!important}
.finaf-home-intro{position:relative;overflow:hidden;padding:34px 0 22px!important;background:radial-gradient(circle at 12% 14%,rgba(27,169,130,.14),transparent 28%),radial-gradient(circle at 88% 18%,rgba(38,104,170,.12),transparent 26%),linear-gradient(145deg,#f4f9fb 0%,#fff 50%,#eff9f5 100%)!important}
.finaf-home-intro:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(34,78,108,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(34,78,108,.035) 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(to bottom,#000,transparent 76%);pointer-events:none}
.finaf-intro-panel{border-color:rgba(208,222,231,.9)!important;background:rgba(255,255,255,.88)!important;box-shadow:0 28px 80px rgba(15,42,66,.11)!important;backdrop-filter:blur(14px)}
.finaf-kicker{border:1px solid #cde9df!important;background:#eaf8f3!important;color:#08765a!important;letter-spacing:.05px}
.finaf-intro-copy h1{max-width:590px!important;color:#102d48!important;text-wrap:balance}.finaf-intro-copy>p{color:#536b7e!important}
.finaf-scope-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.finaf-scope-tags span{padding:6px 10px;border:1px solid #dce7ee;border-radius:999px;background:#f8fbfc;color:#36566c;font-size:11px;font-weight:800}
.finaf-intro-actions .afg-button{background:linear-gradient(135deg,#0f8066,#0a6955)!important;box-shadow:0 12px 25px rgba(15,118,94,.2)}.finaf-secondary-button{border-color:#cfdde6!important;color:#173e67!important;transition:.18s ease}.finaf-secondary-button:hover{border-color:#9fbfb6!important;background:#f3faf7!important;transform:translateY(-1px)}
.finaf-proof-list strong{color:#143f5d!important}.finaf-proof-list span{color:#7b8d9d!important}
.finaf-service-side{background:linear-gradient(155deg,#173f69 0%,#10345a 54%,#0b695a 145%)!important;box-shadow:0 22px 48px rgba(16,52,90,.2)}
.finaf-service-heading span{color:#99e3cd!important}.finaf-service-heading strong{font-size:18px!important}.finaf-service-grid a{border-color:rgba(255,255,255,.14)!important;background:rgba(255,255,255,.075)!important;box-shadow:inset 0 1px rgba(255,255,255,.04)}.finaf-service-grid a:hover{border-color:rgba(139,226,199,.5)!important;background:rgba(255,255,255,.135)!important}
.finaf-service-grid a.finaf-service-featured{border-color:#a9ddd1!important;background:linear-gradient(145deg,#f5fffb,#e9f7ff)!important}.finaf-service-grid a.finaf-service-featured b{color:#123d61!important}.finaf-service-grid a.finaf-service-featured small{color:#557083!important}.finaf-service-grid a.finaf-service-featured i{color:#0d8064!important}
.finaf-ecosystem-strip{padding:14px 0 36px!important;background:linear-gradient(#f4f8fa,#f8fafb)!important}.finaf-ecosystem-grid{gap:14px!important}.finaf-ecosystem-grid a{position:relative;overflow:hidden;min-height:128px;padding:21px!important;border-color:#dce7ed!important;border-radius:19px!important;box-shadow:0 11px 28px rgba(17,45,67,.055);transition:.2s ease}.finaf-ecosystem-grid a:before{content:"";position:absolute;inset-inline-start:0;top:0;width:4px;height:100%;background:linear-gradient(#159274,#2b6ca3)}.finaf-ecosystem-grid a:hover{border-color:#bcd9d0!important;box-shadow:0 17px 38px rgba(17,45,67,.095);transform:translateY(-3px)}.finaf-ecosystem-grid strong{font-size:17px!important;color:#133d5c!important}.finaf-ecosystem-grid span{font-size:12.5px!important}
.afg-bank-home-card,.finaf-mag-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.afg-bank-home-card:hover,.finaf-mag-card:hover{border-color:#bfdad2!important;box-shadow:0 18px 42px rgba(16,48,69,.11)!important;transform:translateY(-3px)}
@media(max-width:1100px){.main-nav a{padding:9px 8px!important;font-size:12px!important}.header-inner{gap:14px!important}}
@media(max-width:767px){.site-header{box-shadow:0 5px 20px rgba(15,39,64,.07)!important}.header-inner{min-height:68px!important}.finaf-home-intro{padding-top:18px!important}.finaf-intro-panel{padding:24px 18px!important;border-radius:24px!important}.finaf-intro-copy h1{font-size:clamp(29px,8.3vw,39px)!important;line-height:1.3!important}.finaf-scope-tags{justify-content:center}.finaf-proof-list{display:grid!important;grid-template-columns:repeat(3,1fr);gap:5px!important}.finaf-proof-list li{padding:8px 3px;border-radius:10px;background:#f7fafb}.finaf-service-side{padding:17px 13px!important}.finaf-service-grid a{min-height:96px!important;padding:14px 12px!important}.finaf-ecosystem-strip{padding-top:4px!important}.finaf-ecosystem-grid a{min-height:auto}.home-section-header{align-items:flex-end!important}}
@media(max-width:420px){.finaf-service-grid{grid-template-columns:1fr 1fr!important}.finaf-service-grid small{line-height:1.45!important}.finaf-proof-list span{font-size:10px!important}.finaf-scope-tags span{font-size:10px}.site-brand-subtitle{display:none!important}}

/* Homepage visual unification: readable medium header and one card system. */
.finaf-service-side{border:1px solid #d7e5ec!important;background:linear-gradient(155deg,#f4f9fb 0%,#edf7f3 100%)!important;color:#153a56!important;box-shadow:0 20px 44px rgba(20,55,78,.10)!important}
.finaf-service-heading{padding:2px 3px 12px;border-bottom:1px solid #d9e7ec!important}.finaf-service-heading span{color:#0c8064!important}.finaf-service-heading strong{color:#153a56!important}.finaf-service-grid{margin-top:15px}
.finaf-service-grid a,.finaf-service-grid a.finaf-service-featured{border:1px solid #d9e5eb!important;background:#fff!important;color:#153a56!important;box-shadow:0 8px 20px rgba(22,57,79,.055)!important}
.finaf-service-grid a:hover,.finaf-service-grid a.finaf-service-featured:hover{border-color:#9fcfc0!important;background:#f8fdfb!important;box-shadow:0 13px 28px rgba(20,80,68,.10)!important}
.finaf-service-grid b,.finaf-service-grid a.finaf-service-featured b{color:#153a56!important}.finaf-service-grid small,.finaf-service-grid a.finaf-service-featured small{color:#62798a!important}.finaf-service-grid i,.finaf-service-grid a.finaf-service-featured i{color:#0d8b6b!important}
@media (min-width:901px) and (max-width:1220px){.header-inner{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;width:min(calc(100% - 28px),1180px)!important;gap:12px!important}.main-nav{position:static!important;inset:auto!important;display:block!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;opacity:1!important;visibility:visible!important;transform:none!important}.main-nav>ul,.main-nav .menu{display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important}.main-nav li{display:block!important}.main-nav li:nth-child(n+7){display:none!important}.main-nav a{min-height:38px!important;padding:7px!important;color:#243e52!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important}.mobile-nav-toggle,.mobile-nav-tools{display:none!important}.header-actions{display:flex!important}.header-compare-link{display:inline-flex!important;min-height:40px!important;padding-inline:13px!important;font-size:11px!important}.header-search-toggle{display:inline-flex!important;width:40px!important;min-width:40px!important;padding:0!important}.header-search-label{display:none!important}.site-brand-subtitle{display:none!important}}
@media(max-width:900px){.finaf-service-side{background:linear-gradient(155deg,#f4f9fb,#eef8f4)!important}.finaf-service-heading{text-align:right!important}}
/* Provider profile redesign: compact identity, readable hero and relevant facts. */
.provider-profile-v3-hero{min-height:auto!important;padding:56px 0 82px!important;background:radial-gradient(circle at 12% 20%,rgba(31,157,126,.22),transparent 30%),linear-gradient(135deg,#0d2945 0%,#123b5d 58%,#0b6658 145%)!important;color:#fff!important}.provider-profile-v3-hero .bank-profile-v3-hero-inner{align-items:center!important;gap:42px!important}.provider-profile-v3-hero .bank-profile-v3-identity{align-items:center!important;gap:22px!important}.provider-profile-v3-hero .bank-profile-v3-logo{display:grid!important;place-items:center;width:116px!important;height:116px!important;flex:0 0 116px;border:1px solid rgba(255,255,255,.45)!important;border-radius:25px!important;background:#fff!important;color:#123b5d!important;box-shadow:0 18px 44px rgba(0,0,0,.2)!important;font-size:33px!important;font-weight:950!important;letter-spacing:-1px}.provider-profile-v3-hero .bank-profile-v3-heading h1,.provider-profile-v3-hero .bank-profile-v3-heading h1 span{color:#fff!important;text-shadow:0 3px 18px rgba(0,0,0,.22)!important}.provider-profile-v3-hero .bank-profile-v3-heading h1 small{color:rgba(255,255,255,.72)!important}.provider-profile-v3-hero .bank-profile-v3-heading>p{max-width:720px!important;color:rgba(255,255,255,.84)!important;font-size:16px!important;line-height:2!important}.provider-profile-v3-hero .bank-profile-v3-kickers span{border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.12)!important;color:#fff!important}.provider-profile-v3-hero .bank-profile-v3-hero-actions{min-width:250px!important;padding:18px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:20px!important;background:rgba(255,255,255,.09)!important;backdrop-filter:blur(10px)}.provider-profile-v3-hero .bank-profile-v3-rating-summary{padding:0 0 14px!important;border-bottom:1px solid rgba(255,255,255,.14)!important}.provider-profile-v3-hero .bank-profile-v3-rating-summary strong,.provider-profile-v3-hero .bank-profile-v3-rating-summary small{color:#fff!important}.provider-profile-v3-hero .bank-profile-v3-hero-actions .afg-button{width:100%!important;margin-top:10px!important}.bank-profile-v3-stats.is-provider-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:1120px!important;margin-top:-42px!important}.bank-profile-v3-stats.is-provider-stats>div{min-height:118px!important;padding:20px!important}.bank-profile-v3-stats.is-provider-stats strong{font-size:16px!important;line-height:1.7!important;overflow-wrap:anywhere}.bank-profile-v3-stats.is-provider-stats span{font-size:11px!important}@media(max-width:900px){.provider-profile-v3-hero{padding:34px 0 68px!important}.provider-profile-v3-hero .bank-profile-v3-hero-inner{display:grid!important;grid-template-columns:1fr!important}.provider-profile-v3-hero .bank-profile-v3-hero-actions{width:100%!important;min-width:0!important}.bank-profile-v3-stats.is-provider-stats{grid-template-columns:1fr 1fr!important}}@media(max-width:560px){.provider-profile-v3-hero .bank-profile-v3-identity{align-items:center!important;flex-direction:column!important;text-align:center!important}.provider-profile-v3-hero .bank-profile-v3-heading{text-align:center!important}.provider-profile-v3-hero .bank-profile-v3-logo{width:86px!important;height:86px!important;flex-basis:86px!important;border-radius:20px!important;font-size:25px!important}.provider-profile-v3-hero .bank-profile-v3-heading h1{font-size:38px!important}.bank-profile-v3-stats.is-provider-stats{grid-template-columns:1fr!important;margin-top:-30px!important}}
/* Bank profile contrast alignment — 2026-08-22. */
.bank-profile-v3-hero .bank-profile-v3-heading h1,
.bank-profile-v3-hero .bank-profile-v3-heading h1 span{color:#fff!important;text-shadow:0 3px 18px rgba(0,0,0,.24)!important}
.bank-profile-v3-hero .bank-profile-v3-heading h1 small,
.bank-profile-v3-hero .bank-profile-v3-heading>p{color:rgba(255,255,255,.84)!important}
.bank-profile-v3-hero .bank-profile-v3-kickers span{border-color:rgba(255,255,255,.22)!important;background:rgba(255,255,255,.12)!important;color:#fff!important}