/*
 * Finnish credit warning (components/credit-warning.php), in force 20.11.2026.
 * Wording fixed by decree VNa 163/2026; this file only styles it.
 * Own stylesheet, versioned by filemtime in functions/theme_styles.php
 * (style.css is pinned to ASSET_VERSION, so edits there would stay cached).
 * Every rule is scoped under .fi-cw.
 */

.fi-cw p { margin: 0; }

.fi-cw__text,
.fi-cw__ad {
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
}

.fi-cw__icon {
	display: inline-block;
	vertical-align: -2px;
	margin-right: 5px;
	color: #d92d20;
}

/* form + offers: compact small print (Allan 2026-11-18: "way too prominent,
   follow the competitors", i.e. Swiftbanker's form card / Arkadia): 11px muted
   grey, only "Huomio! Luoton ottaminen maksaa." bold (same grey), small red
   icon, one 1px divider above. #67758F sits between lp-refresh --lp-slate
   (#51607A) and --lp-slate-2 (#8492AB): 4.65:1 on white, where slate-2 (3.1:1)
   is too faint for 11px text. The calculator's rate example uses the same
   style (below). */
.fi-cw--form,
.fi-cw--offers {
	color: #67758F;
	border-top: 1px solid var(--lp-line, #E4E9F2);
	padding-top: 10px;
}
.fi-cw--form .fi-cw__text,
.fi-cw--form .fi-cw__ad,
.fi-cw--offers .fi-cw__text,
.fi-cw--offers .fi-cw__ad {
	font-size: 9px;
	line-height: 1.45;
}
.fi-cw--form strong,
.fi-cw--offers strong {
	font-weight: 700;
	color: inherit;
}
.fi-cw--form .fi-cw__icon,
.fi-cw--offers .fi-cw__icon {
	width: 12px;
	height: 12px;
	margin-right: 4px;
}
.fi-cw--form { margin-top: 16px; }
.fi-cw--offers { margin: 24px 0 0; }

/* Calculator card: the axo.png badge (.calculator-body::after) reaches 30px up
   into the card; keep the last line clear of it (40px from the card edge,
   the legacy padding the badge was designed for). */
.calculator-body > .fi-cw--form { margin-bottom: 16px; }
@media (max-width: 767px) {
	.calculator-body > .fi-cw--form { margin-bottom: 22px; }
}
/* Desktop: line up with .calculator-body-note above it (10px side margins
   from 768px up, see the calculator note rule below). */
@media (min-width: 768px) {
	.calculator-body > .fi-cw--form {
		margin-left: 10px;
		margin-right: 10px;
	}
}

/* /application: same width as the AXO form column (32rem, centred). */
.axo .fi-cw--form {
	max-width: 32rem;
	margin-left: auto;
	margin-right: auto;
}

/* Footer (dark ink background): the same compact small print in the footer's
   own muted text colour (lp-refresh .footer #AAB4C8, 8.5:1 on the ink), bold
   only on "Huomio! Luoton ottaminen maksaa." (same colour), small lighter red
   icon for contrast. 12px since Allan 2026-11-18 (was 13.5px = the size of
   .footer-text next to it). */
.fi-cw--footer {
	color: inherit;
	margin: 0 0 16px;
}
.fi-cw--footer .fi-cw__text,
.fi-cw--footer .fi-cw__ad {
	font-size: 10px;
	line-height: 1.5;
}
.fi-cw--footer strong {
	font-weight: 700;
	color: inherit;
}
.fi-cw--footer .fi-cw__ad { margin-top: 8px; }
.fi-cw--footer .fi-cw__icon {
	width: 12px;
	height: 12px;
	margin-right: 4px;
	color: #ff7a6e;
}

/* ---- 20.11.2026 content fixes (not the warning itself) ---------------- */

/* Calculator: estimate note + Axolaina's representative example below the CTA
   (after the step-1 button and the list), then the credit warning. Since
   Allan 2026-11-18 ("way too prominent, follow the competitors") both are the
   same compact small print as .fi-cw--form above: 11px #67758F, nothing bold
   in the note, ONE 1px divider (above the note; the warning follows it without
   its own). Side margins match the warning (legacy style.css has
   margin:24px 10px 0 from 768px up). */
.calculator-body .calculator-body-note {
	font-size: 9px;
	line-height: 1.45;
	font-weight: 400;
	color: #67758F;
	text-align: left;
	margin: 14px 0 0;
	padding-top: 10px;
	border-top: 1px solid var(--lp-line, #E4E9F2);
}
@media (min-width: 768px) {
	.calculator-body .calculator-body-note {
		margin-left: 10px;
		margin-right: 10px;
	}
}
.calculator-body .calculator-body-note p { margin: 0 0 4px; }
.calculator-body .calculator-body-note p:last-child { margin-bottom: 0; }
.calculator-body .calculator-body-note + .fi-cw--form {
	margin-top: 8px;
	padding-top: 0;
	border-top: 0;
}
/* Loading step: lp-refresh hides the note, so the warning keeps its divider. */
.calculator-body.is-step3 .calculator-body-note + .fi-cw--form {
	margin-top: 16px;
	padding-top: 10px;
	border-top: 1px solid var(--lp-line, #E4E9F2);
}

/* Calculator list under the CTA (back 2026-11-18): the two items never fit on
   one line in the card, and lp-refresh's "·" separator then dangled at the start
   of the second line. Each item has its own check icon, so: no separator, one
   item per line, icons aligned in a centred column. */
.calculator-body .calculator-body-list {
	display: grid;
	justify-content: center;
	justify-items: start;
	row-gap: 6px;
}
.calculator-body .calculator-body-list li {
	margin: 0;
	text-align: left;
}
.calculator-body .calculator-body-list li + li::before { content: none; }

/* Sticky mobile bar: only the label is left (no monthly figure), so centre it. */
.sticky-cta.is-ready[data-lp-sticky-cta] { justify-content: center; }

/* FAQ "Asiakaspalvelu": the line under the phone button saying whose number it is. */
.faq-contact-note {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--lp-slate, #51607A);
	text-align: center;
}

/* /vaihtoehtoiset-tarjoukset buttons (2026-11-18): white label (style.css
   a:link,a:visited #29b9e3 out-ranked the plugin's .alt-btn colour, so the label
   was light blue on blue), and the arrow follows the label instead of sitting
   absolutely at the right edge, where it ran into "Siirry palveluntarjoajan
   sivuille". */
.alt-tilbud a.alt-btn:link,
.alt-tilbud a.alt-btn:visited { color: #fff; }
.alt-tilbud .alt-btn {
	text-align: center;
	gap: 8px;
	padding-left: 14px;
	padding-right: 14px;
}
.alt-tilbud .alt-btn-arrow {
	position: static;
	flex: 0 0 auto;
}

/* /vaihtoehtoiset-tarjoukset: the partner's representative example is small
   print UNDER its card (lainapilotti-axo 1.24.3, Allan 2026-11-18), in the same
   compact style as the warning under the cards. */
.alt-tilbud .alt-card-disclosure {
	font-size: 9px;
	line-height: 1.45;
	color: #67758F;
	text-align: left;
}
