:root {
	--fpc-ink: var(--fp-ink, #10213a);
	--fpc-plum: var(--fp-plum, #0b5ed7);
	--fpc-copper: var(--fp-copper, #2f7be5);
	--fpc-paper: var(--fp-paper, #fff);
	--fpc-white: #fff;
	--fpc-muted: var(--fp-muted, #42566f);
	--fpc-line: var(--fp-line, #dfe7f1);
	--fpc-shell: var(--fp-shell, 1180px);
}

.fpc-comparison__header {
	align-items: end;
	display: grid;
	gap: 1rem 3rem;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
	margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.fpc-comparison__header h2 {
	color: var(--fpc-ink);
	font-family: var(--wp--preset--font-family--sans, sans-serif);
	font-size: clamp(1.8rem, 3.4vw, 2.75rem);
	letter-spacing: -0.035em;
	line-height: 1.05;
	margin: 0;
}

.fpc-comparison__header p {
	border-left: 3px solid var(--fpc-copper);
	color: #344861;
	font-size: 0.86rem;
	line-height: 1.55;
	margin: 0;
	padding-left: 1rem;
}

.fpc-card-list { display: grid; gap: 0.9rem; }

.fpc-card {
	background: var(--fpc-white);
	border: 1px solid var(--fpc-line);
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(13, 45, 89, 0.07);
	display: grid;
	grid-template-columns: 175px minmax(0, 1fr) minmax(175px, 205px);
	overflow: hidden;
	position: relative;
}

.fpc-card::before {
	background: var(--fpc-plum);
	content: "";
	height: 4px;
	inset: 0 0 auto;
	position: absolute;
}

.fpc-card__identity,
.fpc-card__facts,
.fpc-card__action { padding: 1rem; }

.fpc-card__identity {
	align-items: center;
	border-right: 1px solid var(--fpc-line);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	text-align: center;
}

.fpc-card__logo {
	align-items: center;
	display: flex;
	height: 52px;
	justify-content: center;
	margin-top: 0.75rem;
	text-decoration: none;
}

.fpc-card__logo img {
	height: 100%;
	max-width: 145px;
	object-fit: contain;
	object-position: center;
	width: auto;
}

.fpc-card__logo span { color: var(--fpc-ink); font-weight: 800; }

.fpc-card__identity h3 {
	font-family: var(--wp--preset--font-family--sans, sans-serif);
	font-size: 1rem;
	line-height: 1.25;
	margin: 0;
}

.fpc-card__identity h3 a { color: var(--fpc-ink); text-decoration: none; }
.fpc-card__identity h3 a:hover { color: var(--fpc-copper); }
.fpc-card__rating { color: var(--fpc-plum); font-size: 0.82rem; font-weight: 800; margin: 0.3rem 0 0; }
.fpc-card__rating small { color: var(--fpc-muted); font-weight: 600; }

.fpc-card__facts {
	align-content: center;
	display: grid;
	gap: 0.55rem;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
}

.fpc-card__facts div {
	background: #f7f9fc;
	border: 1px solid #e7edf5;
	border-radius: 8px;
	min-width: 0;
	padding: 0.65rem;
}

.fpc-card__facts dt {
	align-items: center;
	color: #52657d;
	display: flex;
	font-size: 0.69rem;
	font-weight: 750;
	gap: 0.35rem;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.fpc-fact-icon { color: var(--fpc-plum); flex: 0 0 1rem; height: 1rem; width: 1rem; }
.fpc-card__facts dd { color: var(--fpc-ink); font-size: 0.86rem; font-weight: 800; line-height: 1.28; margin: 0.35rem 0 0; overflow-wrap: anywhere; }

.fpc-card__action {
	align-items: stretch;
	background: #f7f9fc;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.fpc-button {
	background: var(--fpc-plum);
	border: 1px solid var(--fpc-plum);
	color: var(--fpc-white) !important;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 800;
	justify-content: center;
	line-height: 1.25;
	border-radius: 8px;
	padding: 0.78rem 0.8rem;
	text-align: center;
	text-decoration: none !important;
}

.fpc-button:hover { background: #073b82; border-color: #073b82; }

.fpc-card__details-link {
	color: var(--fpc-plum);
	font-size: 0.8rem;
	font-weight: 700;
	margin-top: 0.75rem;
	text-align: center;
}

.fpc-card__example {
	background: #f3f7fc;
	border-top: 1px solid var(--fpc-line);
	grid-column: 1 / -1;
	padding: 0.78rem 1rem;
}

.fpc-card__example summary {
	color: #213a59;
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: 800;
	list-style: none;
	padding-right: 2rem;
	position: relative;
}

.fpc-card__example summary::-webkit-details-marker { display: none; }
.fpc-card__example summary::after {
	background: no-repeat center / 15px 15px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23073b82' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	content: "";
	height: 1.25rem;
	position: absolute;
	right: 0.2rem;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 160ms ease;
	width: 1.25rem;
}
.fpc-card__example[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.fpc-card__example p { color: #344861; font-size: 0.8rem; line-height: 1.55; margin: 0.65rem 0 0; }

.fpc-shell { margin-inline: auto; max-width: var(--fpc-shell); width: calc(100% - 2.5rem); }
.fpc-creditor-page { background: var(--fpc-paper); color: var(--fpc-ink); min-height: 60vh; }
.fpc-creditor-hero { background: #0d294d; color: var(--fpc-white); padding-block: clamp(2.5rem, 6vw, 5rem); }
.fpc-creditor-hero__inner { align-items: center; display: grid; gap: 2rem; grid-template-columns: 180px minmax(0, 1fr); }
.fpc-creditor-hero__logo { align-items: center; background: var(--fpc-white); display: flex; justify-content: center; min-height: 120px; padding: 1rem; }
.fpc-creditor-hero__logo img { max-height: 82px; object-fit: contain; width: auto; }
.fpc-creditor-hero h1 { color: inherit; font-size: clamp(2.7rem, 7vw, 5.5rem); letter-spacing: -0.045em; line-height: 1; margin: 0; }
.fpc-creditor-hero p { color: #dce8f6; font-weight: 700; margin: 1rem 0 0; }

.fpc-creditor-summary { align-items: center; background: var(--fpc-white); border: 1px solid var(--fpc-line); border-radius: 12px; box-shadow: 0 14px 34px rgba(13, 45, 89, 0.1); display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) 220px; margin-top: -1.5rem; overflow: hidden; padding: 1.25rem; position: relative; }
.fpc-creditor-summary dl { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.fpc-creditor-summary dl > div { background: #f7f9fc; border: 1px solid #e7edf5; border-radius: 8px; padding: 0.75rem; }
.fpc-creditor-summary dt { align-items: center; color: #42566f; display: flex; font-size: 0.75rem; font-weight: 750; gap: 0.4rem; }
.fpc-creditor-summary dd { font-weight: 800; line-height: 1.3; margin: 0.35rem 0 0; }

.fpc-creditor-content { max-width: 900px; padding-block: clamp(3rem, 7vw, 6rem); }
.fpc-creditor-prose { color: #344861; font-size: 1rem; line-height: 1.7; }
.fpc-creditor-prose h2 { border-left: 4px solid var(--fpc-plum); color: var(--fpc-ink); font-size: clamp(1.65rem, 3.4vw, 2.35rem); margin-top: 1.45em; padding-left: 0.8rem; }
.fpc-creditor-prose h3 { color: var(--fpc-ink); font-size: 1.25rem; margin-top: 1.35em; }
.fpc-creditor-prose .wp-block-table { border: 1px solid var(--fpc-line); border-radius: 12px; box-shadow: 0 10px 28px rgba(13, 45, 89, 0.07); margin-block: 1.5rem; overflow-x: auto; }
.fpc-creditor-prose table { background: var(--fpc-white); border: 1px solid var(--fpc-line); border-collapse: collapse; display: table; margin: 0; width: 100%; }
.fpc-creditor-prose th, .fpc-creditor-prose td { border-bottom: 1px solid var(--fpc-line); padding: 0.85rem 1rem; text-align: left; }
.fpc-creditor-prose th { background: #0d294d; color: var(--fpc-white); font-size: 0.86rem; }
.fpc-creditor-prose tbody tr:nth-child(even) { background: #f7f9fc; }
.fpc-creditor-prose tbody tr:last-child td { border-bottom: 0; }

.fpc-pros-cons { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 3rem; }
.fpc-pros-cons section { background: var(--fpc-white); border: 1px solid var(--fpc-line); border-radius: 12px; box-shadow: 0 10px 28px rgba(13, 45, 89, 0.06); padding: 1.25rem; }
.fpc-pros-cons__positive { border-top: 4px solid #23815b !important; }
.fpc-pros-cons__negative { border-top: 4px solid #b74b52 !important; }
.fpc-pros-cons h2 { color: var(--fpc-ink); font-size: 1.3rem; margin: 0 0 0.9rem; }
.fpc-feature-list { display: grid; gap: 0.7rem; list-style: none; margin: 0; padding: 0; }
.fpc-feature-list li { color: #344861; font-size: 0.91rem; line-height: 1.5; padding-left: 1.75rem; position: relative; }
.fpc-feature-list li::before { background: no-repeat center / 14px 14px; border-radius: 50%; content: ""; height: 1.25rem; left: 0; position: absolute; top: 0.08rem; width: 1.25rem; }
.fpc-feature-list--positive li::before { background-color: #e8f5ef; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2323815b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E"); }
.fpc-feature-list--negative li::before { background-color: #faecee; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b74b52' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E"); }

.fpc-creditor-example { background: #f3f7fc; border: 1px solid var(--fpc-line); border-left: 4px solid var(--fpc-plum); border-radius: 10px; margin-top: 3rem; padding: 1.25rem; }
.fpc-creditor-example h2 { font-size: 1.4rem; margin: 0; }
.fpc-creditor-example p { color: #344861; font-size: 0.9rem; line-height: 1.6; }

.fpc-reviews { margin-top: 4rem; }
.fpc-reviews > h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.fpc-review-list { display: grid; gap: 0.85rem; }
.fpc-review { background: var(--fpc-white); border: 1px solid var(--fpc-line); border-radius: 10px; padding: 1.15rem; }
.fpc-review header { align-items: baseline; display: flex; gap: 1rem; justify-content: space-between; }
.fpc-review time { color: var(--fpc-muted); font-size: 0.8rem; }
.fpc-review__rating { color: var(--fpc-copper); letter-spacing: 0.08em; margin: 0.45rem 0; }
.fpc-review__content { line-height: 1.65; }
.fpc-review__note { font-size: 0.9rem; margin: 0.55rem 0 0; }
.fpc-review__note--positive strong { color: #49604d; }
.fpc-review__note--negative strong { color: var(--fpc-copper); }

@media (max-width: 900px) {
	.fpc-card { grid-template-columns: 1fr; }
	.fpc-card__identity {
		align-items: center;
		border-bottom: 1px solid var(--fpc-line);
		border-right: 0;
		display: grid;
		grid-template-columns: minmax(0, 1fr) 135px;
		text-align: left;
	}
	.fpc-card__identity h3,
	.fpc-card__rating { grid-column: 1; }
	.fpc-card__logo { grid-column: 2; grid-row: 1 / 3; justify-content: flex-end; margin-top: 0; }
	.fpc-card__logo img { object-position: right center; }
	.fpc-card__facts { grid-column: 1; }
	.fpc-card__action {
		align-items: center;
		border-top: 1px solid var(--fpc-line);
		display: grid;
		gap: 0.8rem;
		grid-column: 1;
		grid-template-columns: minmax(180px, 230px) auto;
		justify-content: start;
	}
	.fpc-card__details-link { margin-top: 0; }
	.fpc-creditor-summary { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
	.fpc-comparison__header { align-items: start; grid-template-columns: 1fr; }
	.fpc-card__identity { grid-template-columns: minmax(0, 1fr) 105px; padding-block: 0.85rem; }
	.fpc-card__logo { height: 44px; }
	.fpc-card__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fpc-card__action { grid-template-columns: 1fr; }
	.fpc-creditor-hero__inner { grid-template-columns: 1fr; }
	.fpc-creditor-hero__logo { max-width: 180px; }
	.fpc-creditor-summary dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fpc-pros-cons { grid-template-columns: 1fr; }
}
