/* The assistance form borrows the donation form's field styling; this only
   carries what is particular to asking for help rather than giving it. */

.phwo-help-form .phwo-step legend em {
	font-style: normal;
	color: #c0392b;
}

/* The honest block. It is not a disclaimer in small print at the bottom — a
   person about to pin their hopes on this should read it before they send. */
.phwo-help-truth {
	margin: 26px 0 22px;
	padding: 20px 22px;
	background: rgba(14, 91, 95, .05);
	border: 1px solid rgba(14, 91, 95, .22);
	border-left: 4px solid var(--phwo-color-primary, #0e5b5f);
	border-radius: 10px;
}

.phwo-help-truth p { margin: 0 0 .6rem; }

.phwo-help-truth ul {
	margin: 0 0 1rem;
	padding-left: 1.15rem;
}

.phwo-help-truth li {
	margin-bottom: .5rem;
	font-size: .93rem;
	line-height: 1.6;
}

.phwo-help-agree {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
	font-weight: 600;
	line-height: 1.5;
}

.phwo-help-agree input { margin-top: .25rem; flex: 0 0 auto; }

/* ---- Sponsor a verified case --------------------------------------- */
.phwo-cases {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin: 8px 0 28px;
}

.phwo-case {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--phwo-line, #dde5e6);
	border-radius: 8px;
	padding: 20px 20px 18px;
	box-shadow: 0 2px 10px rgba(20, 38, 43, .05);
}

.phwo-case-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }

.phwo-case-need {
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--phwo-color-primary, #0D5C63);
}

.phwo-case-urgent {
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	background: #b7412b;
	color: #fff;
	padding: 2px 7px;
	border-radius: 4px;
}

.phwo-case-title { font-size: 1.08rem; line-height: 1.35; margin: 0 0 4px; }
.phwo-case-place { font-size: .86rem; color: var(--phwo-muted, #6b7a80); margin: 0 0 10px; }
.phwo-case-due { font-size: .82rem; font-weight: 600; color: #8a4b08; margin: -4px 0 10px; }

/* Emergency numbers, before anything else on the form. */
.phwo-help-danger {
	margin: 0 0 18px;
	padding: 10px 14px;
	border: 1px solid #efd6cf;
	border-left: 4px solid #b7412b;
	background: #fdf7f5;
	border-radius: 5px;
	font-size: .9rem;
	line-height: 1.55;
	color: #5b2a1f;
}

/* The hint under "The kind of help" — what to upload and who is paid. */
.phwo-help-evidence {
	display: block;
	margin-top: 8px;
	padding: 10px 12px;
	border-left: 3px solid var(--phwo-color-primary, #0D5C63);
	background: rgba(13, 92, 99, .05);
	border-radius: 0 5px 5px 0;
	line-height: 1.55;
}
.phwo-help-evidence:empty { display: none; }
.phwo-case-summary { font-size: .93rem; line-height: 1.6; margin: 0 0 14px; flex: 1 1 auto; }

.phwo-case-progress {
	height: 8px;
	background: var(--phwo-color-mist, #F5F8F8);
	border: 1px solid var(--phwo-line, #dde5e6);
	border-radius: 4px;
	overflow: hidden;
}

.phwo-case-progress span {
	display: block;
	height: 100%;
	background: var(--phwo-color-primary, #0D5C63);
}

.phwo-case-figures { font-size: .86rem; margin: 7px 0 12px; color: var(--phwo-muted, #6b7a80); }
.phwo-case-figures strong { color: var(--phwo-color-ink, #14262B); }

.phwo-case-foot { display: flex; justify-content: space-between; font-size: .78rem; margin: 0 0 14px; }
.phwo-case-verified { color: #1f6b3a; font-weight: 600; }
.phwo-case-ref { color: var(--phwo-muted, #6b7a80); font-family: ui-monospace, Menlo, Consolas, monospace; }

.phwo-case-give { display: block; text-align: center; }

.phwo-cases-empty {
	padding: 22px 24px;
	background: var(--phwo-color-mist, #F5F8F8);
	border: 1px solid var(--phwo-line, #dde5e6);
	border-radius: 8px;
	margin-bottom: 26px;
}

/* The banner the donation form shows when a donor arrives from a case. */
.phwo-case-banner {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid rgba(13, 92, 99, .3);
	border-left: 4px solid var(--phwo-color-primary, #0D5C63);
	border-radius: 6px;
	background: rgba(13, 92, 99, .05);
}

.phwo-case-banner p { margin: 0; }
.phwo-case-banner-kicker { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--phwo-color-primary, #0D5C63); }
.phwo-case-banner-title { font-weight: 600; margin-top: 3px !important; }
.phwo-case-banner-meta { font-size: .85rem; color: var(--phwo-muted, #6b7a80); margin-top: 2px !important; }

.phwo-cost-guide { margin: 0 0 1rem 1.1rem; }
.phwo-cost-guide li { margin-bottom: .4rem; line-height: 1.55; }

/* The guardian block appears only when the chosen document calls for it. */
.phwo-help-guardian[hidden] { display: none; }

/* The verification page: one job, so nothing else competes with it. */
.phwo-help-verify { max-width: 720px; }

.phwo-help-verify h2 { margin-top: 0; }

.phwo-help-verify-ref {
	font-size: 1.02rem;
	margin-top: -.4rem;
	color: var(--phwo-color-primary, #0e5b5f);
}

.phwo-help-script {
	margin: 1.1rem 0 1.2rem;
	padding: 18px 22px 18px 38px;
	background: rgba(14, 91, 95, .05);
	border: 1px solid rgba(14, 91, 95, .22);
	border-radius: 10px;
	counter-reset: none;
}

.phwo-help-script li {
	margin-bottom: .55rem;
	line-height: 1.55;
	font-weight: 500;
}

.phwo-help-script li:last-child { margin-bottom: 0; }

.phwo-help-verify-note {
	font-size: .9rem;
	color: #5a6a6c;
	line-height: 1.6;
}

@media (max-width: 640px) {
	.phwo-help-truth { padding: 16px 16px; }
	.phwo-help-truth li { font-size: .9rem; }
	.phwo-help-script { padding: 14px 16px 14px 32px; }
}
