/* =====================================================================
 * Parker & Parker — /case-results/ editorial restyle
 * Selector strategy: every selector is `.pp-d-cr-*`, all wrapped under
 * the page-id body class so styles only fire on /case-results/.
 *
 * To deploy: enqueue this file via wp_enqueue_style on
 *   is_page('case-results') || is_page(2181)
 * (see case-results-enqueue.php in the handoff bundle).
 *
 * Vocabulary: matches paperstreet-child/css/home-variation-d.css
 *   - Brand green #003d21 / #0f4f32 / #2a7442
 *   - Hairline #cbc8be / divider #d9d6cb / row sep #e6e2d5
 *   - Open-tint #fafaf6, body #3a3f3a, mute #6c6f6a
 *   - Cormorant Garamond display, Lato body
 * ===================================================================== */

/* ---------- Page reset (only on case-results) ---------- */

.page-id-2181 main#main.full-width {
	padding-bottom: 0;
}
.page-id-2181 main#main.full-width > .row > .content.columns {
	max-width: 1140px;
	padding-left: 0;
	padding-right: 0;
}

/* ===================================================================
   Section 1 — Editorial Hero
   =================================================================== */

.pp-d-cr-hero {
	max-width: 880px;
	margin: 0 auto;
	padding: 84px 32px 56px;
	text-align: center;
}

.pp-d-cr-kicker {
	display: inline-block;
	font-family: "Lato", -apple-system, system-ui, sans-serif;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #0f4f32;
	font-weight: 700;
	margin-bottom: 16px;
}

.pp-d-cr-h1 {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-weight: 500;
	color: #003d21;
	font-size: clamp(2.4rem, 4vw, 3.4rem);
	line-height: 1.05;
	letter-spacing: 0.005em;
	margin: 0 0 28px;
	text-transform: none;
}

.pp-d-cr-headline {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-weight: 400;
	color: #003d21;
	font-size: clamp(1.4rem, 2.1vw, 1.8rem);
	line-height: 1.35;
	letter-spacing: 0.005em;
	margin: 0 0 24px;
	padding: 22px 0;
	border-top: 1px solid #cbc8be;
	border-bottom: 1px solid #cbc8be;
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
	text-transform: none;
}

.pp-d-cr-lede {
	max-width: 720px;
	margin: 0 auto 28px;
	font-size: 1.05rem;
	line-height: 1.65;
	color: #3a3f3a;
}

.pp-d-cr-disclaimer {
	font-family: "Lato", sans-serif;
	font-size: 0.82rem;
	line-height: 1.55;
	color: #888;
	max-width: 720px;
	margin: 0 auto;
}
.pp-d-cr-disclaimer em { font-style: italic; }

/* ===================================================================
   Section wrapper (shared)
   =================================================================== */

.pp-d-cr-section {
	max-width: 1080px;
	margin: 0 auto;
	padding: 64px 32px;
	border-top: 1px solid #cbc8be;
}
.pp-d-cr-section--featured {
	background: #f1f1f1;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}
.pp-d-cr-section--featured > * {
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 32px;
	padding-right: 32px;
}
.pp-d-cr-section--why {
	background: #fff;
}

.pp-d-cr-section-head {
	text-align: center;
	margin-bottom: 40px;
}
.pp-d-cr-section-head .pp-d-cr-kicker { display: inline-block; }

.pp-d-cr-h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	color: #003d21;
	font-size: clamp(1.7rem, 2.4vw, 2.3rem);
	line-height: 1.15;
	letter-spacing: 0.005em;
	margin: 0 auto;
	max-width: 780px;
	text-transform: none;
}

/* ===================================================================
   Section 2 — Hairline ledger (By the numbers)
   =================================================================== */

.pp-d-cr-ledger {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid #cbc8be;
	border-bottom: 1px solid #cbc8be;
	margin-top: 16px;
}
.pp-d-cr-ledger__cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px 18px;
	border-right: 1px solid #d9d6cb;
	border-bottom: 1px solid #d9d6cb;
	text-align: center;
}
.pp-d-cr-ledger__cell:nth-child(3n) { border-right: none; }
.pp-d-cr-ledger__cell:nth-last-child(-n+3) { border-bottom: none; }

.pp-d-cr-ledger__value {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.7rem, 2.6vw, 2.4rem);
	line-height: 1;
	font-weight: 600;
	color: #003d21;
	margin-bottom: 10px;
	letter-spacing: 0.005em;
}
.pp-d-cr-ledger__label {
	font-family: "Lato", sans-serif;
	font-size: 0.74rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6c6f6a;
	font-weight: 700;
	line-height: 1.4;
}

/* ===================================================================
   Section 3 — Featured Recoveries (numbered editorial run)
   =================================================================== */

.pp-d-cr-cat {
	background: #fff;
	border: 1px solid #d9d6cb;
	margin-bottom: 32px;
}
.pp-d-cr-cat:last-child { margin-bottom: 0; }

.pp-d-cr-cat__head {
	display: grid;
	grid-template-columns: 60px 1fr auto;
	align-items: baseline;
	gap: 18px;
	padding: 26px 32px 22px;
	border-bottom: 1px solid #d9d6cb;
}
.pp-d-cr-cat__num {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-size: 1.5rem;
	color: #aaa;
	letter-spacing: 0.02em;
	line-height: 1;
}
.pp-d-cr-cat__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	color: #003d21;
	font-size: clamp(1.35rem, 1.8vw, 1.6rem);
	line-height: 1.2;
	letter-spacing: 0.005em;
	margin: 0;
	text-transform: none;
}
.pp-d-cr-cat__link {
	font-family: "Lato", sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: #0f4f32;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: color 0.2s;
	white-space: nowrap;
}
.pp-d-cr-cat__link:hover { color: #2a7442; }

.pp-d-cr-cat__body { padding: 0; }

/* Recovery row */
.pp-d-cr-rec {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 24px;
	padding: 22px 32px;
	border-bottom: 1px solid #e6e2d5;
	align-items: baseline;
}
.pp-d-cr-rec:last-child { border-bottom: none; }
.pp-d-cr-rec--terse { padding-top: 18px; padding-bottom: 18px; }

.pp-d-cr-rec__amount {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	color: #003d21;
	font-size: 1.5rem;
	line-height: 1.1;
	letter-spacing: 0.005em;
	font-variant-numeric: tabular-nums;
}
.pp-d-cr-rec__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	color: #003d21;
	font-size: 1.1rem;
	line-height: 1.3;
	margin: 0 0 6px;
	letter-spacing: 0.005em;
	text-transform: none;
}
.pp-d-cr-rec--terse .pp-d-cr-rec__title { margin: 0; }

.pp-d-cr-rec__desc {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #3a3f3a;
	margin: 0;
}
.pp-d-cr-rec__desc em { color: #6c6f6a; font-style: italic; }

/* Pull-quote (aggregate callout) */
.pp-d-cr-pull {
	background: #fafaf6;
	border-top: 1px solid #d9d6cb;
	border-bottom: 1px solid #d9d6cb;
	padding: 22px 32px;
	margin: 0;
}
.pp-d-cr-pull p {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-size: 1.15rem;
	line-height: 1.5;
	color: #003d21;
	margin: 0;
	letter-spacing: 0.005em;
}
.pp-d-cr-pull p strong {
	font-weight: 600;
	font-style: normal;
}

/* Definition-list (auto + premises results) */
.pp-d-cr-list {
	margin: 0;
	padding: 0;
}
.pp-d-cr-list__row {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 24px;
	padding: 16px 32px;
	border-bottom: 1px solid #e6e2d5;
	align-items: baseline;
}
.pp-d-cr-list__row:last-child { border-bottom: none; }
.pp-d-cr-list__row:nth-child(odd) { background: #fafaf6; }

.pp-d-cr-list__amount {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	color: #003d21;
	font-size: 1.2rem;
	line-height: 1.1;
	margin: 0;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.005em;
}
.pp-d-cr-list__desc {
	font-family: "Lato", sans-serif;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #3a3f3a;
	margin: 0;
}

.pp-d-cr-cat__close {
	padding: 22px 32px;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #3a3f3a;
	font-style: italic;
	border-top: 1px solid #e6e2d5;
}

/* ===================================================================
   Section 4 — Why these results matter (4-up numbered)
   =================================================================== */

.pp-d-cr-why-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	border-top: 1px solid #cbc8be;
	border-bottom: 1px solid #cbc8be;
}
.pp-d-cr-why {
	padding: 32px 28px;
	border-right: 1px solid #d9d6cb;
	border-bottom: 1px solid #d9d6cb;
	position: relative;
	background: #fff;
	transition: background 0.2s;
}
.pp-d-cr-why:hover { background: #fafaf6; }
.pp-d-cr-why:nth-child(2n) { border-right: none; }
.pp-d-cr-why:nth-last-child(-n+2) { border-bottom: none; }

.pp-d-cr-why__num {
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-size: 1rem;
	color: #aaa;
	letter-spacing: 0.04em;
	margin-bottom: 12px;
}
.pp-d-cr-why__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	color: #003d21;
	font-size: 1.25rem;
	line-height: 1.25;
	letter-spacing: 0.005em;
	margin: 0 0 12px;
	text-transform: none;
}
.pp-d-cr-why__body {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #3a3f3a;
	margin: 0;
}
.pp-d-cr-why__body a {
	color: #0f4f32;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	font-weight: 600;
	transition: color 0.2s;
}
.pp-d-cr-why__body a:hover { color: #2a7442; }

/* ===================================================================
   Section 5 — Free consultation strip (deep-green band)
   =================================================================== */

.pp-d-cr-consult {
	background: #003d21;
	color: #fff;
	padding: 56px 32px;
	text-align: center;
}
.pp-d-cr-consult__head {
	max-width: 820px;
	margin: 0 auto 32px;
}
.pp-d-cr-consult__kicker {
	display: inline-block;
	font-family: "Lato", sans-serif;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
	font-weight: 700;
	margin-bottom: 14px;
}
.pp-d-cr-consult__h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	color: #fff;
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	line-height: 1.25;
	letter-spacing: 0.005em;
	margin: 0 0 14px;
	text-transform: none;
}
.pp-d-cr-consult__sub {
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
	margin: 0;
}
.pp-d-cr-consult__cta {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.pp-d-cr-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	background: #fff;
	color: #003d21;
	font-family: "Lato", sans-serif;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}
.pp-d-cr-pill:hover { background: #2a7442; color: #fff; }
.pp-d-cr-pill--ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.55);
}
.pp-d-cr-pill--ghost:hover {
	background: #fff;
	color: #003d21;
	border-color: #fff;
}

/* ===================================================================
   Section 6 — Bottom disclaimer
   =================================================================== */

.pp-d-cr-foot {
	max-width: 880px;
	margin: 0 auto;
	padding: 48px 32px 64px;
	text-align: center;
}
.pp-d-cr-foot .pp-d-cr-disclaimer {
	font-size: 0.78rem;
	color: #888;
}

/* ===================================================================
   Override parent theme bleed-through
   =================================================================== */

/* The legacy "Just Results" .top-title only fires for page id 603,
   so no conflict. But neutralise default Gutenberg leftover styles
   the page might inherit from old block treatments. */
.page-id-2181 .wp-block-heading,
.page-id-2181 .wp-block-columns,
.page-id-2181 .wp-block-quote,
.page-id-2181 .wp-block-table,
.page-id-2181 .wp-block-buttons,
.page-id-2181 .wp-block-separator {
	all: unset;
	display: revert;
}
.page-id-2181 .print { display: none; }   /* Print Page link from template-wide.php — re-enable in footer if desired */

/* ===================================================================
   Responsive
   =================================================================== */

@media screen and (max-width: 880px) {
	.pp-d-cr-hero { padding: 64px 24px 40px; }
	.pp-d-cr-section { padding: 48px 24px; }
	.pp-d-cr-section--featured > * { padding-left: 24px; padding-right: 24px; }

	.pp-d-cr-ledger { grid-template-columns: repeat(2, 1fr); }
	.pp-d-cr-ledger__cell { border-right: 1px solid #d9d6cb; border-bottom: 1px solid #d9d6cb; }
	.pp-d-cr-ledger__cell:nth-child(3n) { border-right: 1px solid #d9d6cb; }
	.pp-d-cr-ledger__cell:nth-child(2n) { border-right: none; }
	.pp-d-cr-ledger__cell:nth-last-child(-n+3) { border-bottom: 1px solid #d9d6cb; }
	.pp-d-cr-ledger__cell:nth-last-child(-n+2) { border-bottom: none; }

	.pp-d-cr-cat__head {
		grid-template-columns: 40px 1fr;
		gap: 14px;
		padding: 22px 22px 18px;
	}
	.pp-d-cr-cat__num { font-size: 1.25rem; }
	.pp-d-cr-cat__link {
		grid-column: 1 / -1;
		justify-self: start;
		font-size: 0.7rem;
	}

	.pp-d-cr-rec,
	.pp-d-cr-list__row {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 18px 22px;
	}
	.pp-d-cr-rec__amount,
	.pp-d-cr-list__amount { font-size: 1.3rem; }

	.pp-d-cr-pull,
	.pp-d-cr-cat__close { padding: 20px 22px; }

	.pp-d-cr-why-grid { grid-template-columns: 1fr; }
	.pp-d-cr-why { border-right: none; }
	.pp-d-cr-why:nth-last-child(-n+2) { border-bottom: 1px solid #d9d6cb; }
	.pp-d-cr-why:last-child { border-bottom: none; }

	.pp-d-cr-consult { padding: 48px 24px; }
}

@media screen and (max-width: 480px) {
	.pp-d-cr-ledger { grid-template-columns: 1fr; }
	.pp-d-cr-ledger__cell { border-right: none; border-bottom: 1px solid #d9d6cb; }
	.pp-d-cr-ledger__cell:last-child { border-bottom: none; }

	.pp-d-cr-headline { font-size: 1.25rem; padding: 18px 0; }
	.pp-d-cr-h1 { font-size: 2.2rem; }
}
