/*
 * Statutory credit warning: markedsføringsloven § 18, stk. 1 (in force 20.11.2026).
 * Markup: topbanker_credit_warning() in functions/credit_warning.php. Enqueued after the theme's style.css.
 * Plain CSS kept by hand: gulp does not build this file (it builds style.css from resources/sass).
 *
 * Two looks, as the owner picked from competitor pages (18.11.2026):
 *   offer cards: one plain line, grey outline warning triangle, normal weight, centred like the example above it;
 *   forms:       red outline triangle + the warning in bold, left-aligned (no explanation text).
 * No box, no tint, no border. Never smaller than 14px.
 */

.tb-credit-warning {
	box-sizing: border-box;
	color: #3b4350;
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	margin: 12px 0 0;
	width: 100%;
}

/* Inline with the text, so a narrow phone wraps the line like a sentence (icon stays with "Advarsel!"). */
.tb-credit-warning-icon {
	color: inherit;
	display: inline-block;
	height: 1.15em;
	margin: 0 6px 0 0;
	vertical-align: -0.2em;
	width: 1.15em;
}

/* Offer cards (toplists, featured, /tilbud): foot of the card, under the example. */
.tb-credit-warning--card {
	margin-top: 8px;
	text-align: center;
	text-wrap: balance;
}

/* Calculator, both steps: below the form. */
.tb-credit-warning--calculator {
	color: #4d5b55;
	margin-top: 16px;
	text-align: left;
}

.tb-credit-warning--calculator .tb-credit-warning-icon {
	color: #d92d20;
}

.tb-credit-warning--calculator strong {
	color: #00110c;
	font-weight: 700;
}

@media (min-width: 768px) {

	.tb-credit-warning--calculator {
		font-size: 15px;
	}

}
