/* TBI Bank installment banner — single product page.
   Mirrors the official TBI module layout (badge image + orange monthly + CTA).
   Scoped under .tbi-rate-banner. */

.tbi-rate-banner {
	margin: 16px 0;
}

/* --- Official TBI badge image (with hover swap) --- */
.tbi-rate-banner__badge {
	display: inline-block;
	line-height: 0;
	max-width: 100%;
}
.tbi-rate-banner__badge .tbi-badge {
	height: auto;
	max-width: 100%;
	width: 591px; /* intrinsic; shrinks via max-width on narrow screens */
	vertical-align: top;
}
.tbi-rate-banner__badge .tbi-badge--hover {
	display: none;
}
.tbi-rate-banner__badge:hover .tbi-badge--default {
	display: none;
}
.tbi-rate-banner__badge:hover .tbi-badge--hover {
	display: inline-block;
}

/* Text fallback when the image asset is missing. */
.tbi-rate-banner__logo-text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 20px;
	font-weight: 600;
	color: #1a1a1a;
}
.tbi-rate-banner__logo-text b {
	background: #1a1a1a;
	color: #e55a00;
	padding: 4px 8px;
	border-radius: 8px;
	font-weight: 800;
}

/* --- Monthly figure (TBI orange, matches the official module) --- */
.tbi-rate-banner__amount {
	margin: 8px 0 4px;
	color: #e55a00;
	font-size: 16pt;
	font-weight: bold;
	line-height: 1.2;
}
.tbi-rate-banner__amount--fixed {
	font-size: 14pt;
}

/* --- CTA link --- */
.tbi-rate-banner__cta {
	display: inline-block;
	font-size: 14px;
	text-decoration: underline;
}
