/* Shared building blocks for the Prop Club service pages (bank, accountant, solicitor, morfinity, mortgage). */
:root {
    --c-blue: #0b3d9e;
    --c-blue-2: #082f7a;
    --c-blue-soft: #eaf0fb;
    --c-red: #c8102e;
    --c-red-2: #a50d26;
    --c-red-soft: #fdecef;
    --c-ink: #0b1a3c;
    --c-text: #2f3747;
    --c-muted: #5b6475;
    --c-line: #e3e7ee;
    --c-ice: #f4f6fa;
    --c-green: #1f7a3d;
}

.cp { color: var(--c-ink); }
:where(.cp) :where(h1, h2, h3, h4) { color: var(--c-ink); letter-spacing: -.015em; }
:where(.cp) :where(p) { color: var(--c-text); }

.cp-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 18px 0; font-size: 14px; color: var(--c-text); }
.cp-crumbs a { color: var(--c-text); }
.cp-crumbs a:hover { color: var(--c-blue); }
.cp-crumbs .sep { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.cp-crumbs .now { color: var(--c-blue); }
.cp-crumbs-bar { border-bottom: 1px solid var(--c-line); }

.cp-eyebrow { display: inline-block; color: var(--c-red); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.cp-eyebrow.blue { color: var(--c-blue); }
.cp-rule { display: block; width: 64px; height: 3px; background: var(--c-red); border-radius: 2px; margin: 14px 0 22px; }
.cp-rule.center { margin-left: auto; margin-right: auto; }
.cp-h1 { font-size: 56px; line-height: 1.08; font-weight: 800; margin: 0; color: var(--c-ink); }
.cp-h2 { font-size: 34px; line-height: 1.15; font-weight: 800; margin: 0; }
.cp-lead { font-size: 18px; line-height: 1.6; color: var(--c-text); max-width: 60ch; margin: 0; }
.cp .t-red { color: var(--c-red); }
.cp .t-blue { color: var(--c-blue); }
.cp .center { text-align: center; }
.cp-band :where(h2, h3, p) { color: #fff; }

.cp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    height: 52px; padding: 0 28px; border-radius: 8px; border: 0; cursor: pointer;
    background: var(--c-blue); color: #fff; font: inherit; font-size: 17px; font-weight: 600; white-space: nowrap;
}
.cp-btn:hover { background: var(--c-blue-2); color: #fff; }
.cp-btn.red { background: var(--c-red); }
.cp-btn.red:hover { background: var(--c-red-2); }
.cp-btn.white { background: #fff; color: var(--c-blue); }
.cp-btn.white:hover { background: #f1f4fa; }
.cp-btn.outline { background: #fff; color: var(--c-blue); border: 1.5px solid var(--c-blue); }
.cp-btn.outline.red { color: var(--c-red); border-color: var(--c-red); }
.cp-btn svg, .cp-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cp-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-red); }

.cp-ico { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--c-blue); color: #fff; }
.cp-ico.red { background: var(--c-red); }
.cp-ico.soft { background: var(--c-blue-soft); color: var(--c-blue); }
.cp-ico.soft-red { background: var(--c-red-soft); color: var(--c-red); }
.cp-ico svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cp-card { background: #fff; border: 1px solid var(--c-line); border-radius: 10px; }
.cp-card.shadow { box-shadow: 0 10px 30px rgba(11, 26, 60, .07); }

.cp-band { background: var(--c-blue); color: #fff; }
.cp-band.red { background: var(--c-red); }

.cp-divided > * + * { border-left: 1px solid var(--c-line); }

:where(.cp) :where(input, select) { border: 1px solid #cfd6e2; border-radius: 6px; height: 50px; padding: 0 14px; font-size: 17px; color: var(--c-ink); background: #fff; }
:where(.cp) :where(input, select):focus { outline: 2px solid rgba(11, 61, 158, .25); border-color: var(--c-blue); }

main:has(.cp-flush-bottom) + .site-footer { margin-top: 0; }

@media (max-width: 900px) {
    .cp-h1 { font-size: 40px; }
    .cp-h2 { font-size: 28px; }
    .cp-divided > * + * { border-left: 0; }
}
@media (max-width: 720px) {
    .cp-h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
    .cp-h2 { font-size: clamp(1.35rem, 6vw, 1.85rem); }
    .cp-btn { width: 100%; height: auto; min-height: 52px; padding: 12px 18px; white-space: normal; }
    .cp-crumbs { font-size: 13px; }
}

:where(.cp) .cp-lead-ok { margin: 0 0 14px; padding: 12px 16px; border-radius: 10px; background: #e8f5ee; color: #157347; font-weight: 600; }
