/* N.H.A.P section blocks (home page and listings). Bright & Bold design. */
.nhs {
	--sky: var(--wp--preset--color--sky, #2F7DB8); --skylt: var(--wp--preset--color--sky-light, #DDF0FB);
	--coral: var(--wp--preset--color--coral, #E2553F); --corallt: var(--wp--preset--color--coral-light, #FFE3DC);
	--sun: var(--wp--preset--color--sun, #FFC93C); --sunlt: var(--wp--preset--color--sun-light, #FFF3C4);
	--mint: var(--wp--preset--color--mint, #BFE8D2); --mintdk: var(--wp--preset--color--mint-dark, #1F7A55);
	--ink: var(--wp--preset--color--ink, #172033); --muted: var(--wp--preset--color--muted, #4A5468); --cloud: var(--wp--preset--color--cloud, #F4F8FC);
	--display: var(--wp--preset--font-family--heading, "Fredoka", sans-serif);
	box-sizing: border-box;
}
.nhs *, .nhs *::before, .nhs *::after { box-sizing: border-box; }
.nhs p { margin: 0; }
.nhs h1, .nhs h2, .nhs h3 { margin: 0; font-family: var(--display); color: var(--ink); text-wrap: balance; }
.nhs h2 { font-size: var(--wp--preset--font-size--x-large, 2.4rem); }
.nhs h3 { font-size: 1.3rem; }
.nhs img { max-width: 100%; height: auto; display: block; }

/* Shared bits */
.nhs-pill { display: inline-block; width: fit-content; font-family: var(--display); font-weight: 600; font-size: .88rem; background: var(--sunlt); color: #7A5600; padding: .3rem .9rem; border-radius: 999px; }
.nhs-pill--white { background: #fff; }
.nhs-lead { font-size: 1.15rem; color: var(--muted); line-height: 1.6; }
.nhs-head { max-width: 46rem; margin: 0 auto 2.6rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.nhs-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.nhs-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 5px 0 #B23A28; transition: transform .15s, box-shadow .15s; }
.nhs-btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 #B23A28; }
.nhs .nhs-btn--white { background: #fff; color: var(--sky); box-shadow: 0 5px 0 #1D5E8F; }
.nhs .nhs-btn--white:hover { background: #fff; color: var(--sky); box-shadow: 0 3px 0 #1D5E8F; }
.nhs .nhs-btn--outline { background: #fff; color: var(--sky); border: 2px solid var(--sky); box-shadow: 0 5px 0 var(--sky); }
.nhs .nhs-btn--outline:hover { background: #fff; color: var(--sky); }
.nhs-center { display: flex; justify-content: center; margin-top: 2.4rem; }
.nhs-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.nhs-section.alignfull { padding-inline: var(--wp--style--root--padding-left, 1rem); }
.nhs-section--cloud { background: var(--cloud); }
.nhs-section--sun { background: var(--sunlt); }
.nhs-inner { max-width: 1200px; margin-inline: auto; }
.nhs-photo, .nhs-story__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
.nhs-photo--empty { display: block; background: repeating-linear-gradient(45deg, var(--skylt) 0 14px, #fff 14px 28px); }
.nhs-empty { padding: 1rem 1.25rem; border: 2px dashed #C9D3E0; border-radius: 16px; color: var(--muted); }
.nhs-notice { max-width: 40rem; margin: -1.4rem auto 2rem !important; background: var(--sunlt); border: 2px dashed #E7B416; color: #5E4500; border-radius: 16px; padding: .7rem 1.1rem; font-size: .92rem; text-align: center; }
.nhs-admin-note { background: var(--sunlt); border: 2px dashed #E7B416; color: #5E4500; border-radius: 14px; padding: .7rem 1rem; font-size: .9rem; }

/* Hero */
.nhs-hero { background: var(--sky); color: #fff; border-radius: 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem) clamp(3.5rem, 6vw, 5.5rem); margin-top: 1rem !important; overflow: hidden; }
.nhs-hero__copy { display: grid; gap: 1.2rem; justify-items: start; }
.nhs-hero h1 { color: #fff; font-size: var(--wp--preset--font-size--xx-large, 4rem); font-weight: 700; line-height: 1.06; }
.nhs-hero h1 em { font-style: normal; color: var(--sun); }
.nhs-hero .nhs-lead { color: rgba(255, 255, 255, .9); max-width: 34rem; }
.nhs-hero__note { font-size: .95rem; color: rgba(255, 255, 255, .82); }
.nhs-hero__note strong { color: #fff; }
.nhs-sunny { width: 100%; max-width: 470px; margin-inline: auto; }
.nhs-sunny__hat { width: 100%; animation: nhs-bob 6s ease-in-out infinite; }
.nhs-sunny--photo { aspect-ratio: 1; border-radius: 50%; padding: 14px; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 255, 255, .7); }
.nhs-sunny--photo .nhs-sunny__img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
@keyframes nhs-bob { 50% { transform: translateY(-8px) rotate(1.5deg); } }

/* Numbers */
.nhs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-inline: clamp(0rem, 3vw, 2.5rem); position: relative; z-index: 2; }
.nhs-hero + .nhs-stats { margin-top: -2.4rem !important; }
.nhs-stat { --c: var(--coral); background: #fff; border-radius: 24px; padding: 1.2rem 1.3rem; box-shadow: 0 10px 30px rgba(23, 32, 51, .1); border-top: 6px solid var(--c); }
.nhs-stat:nth-child(2) { --c: var(--sky); } .nhs-stat:nth-child(3) { --c: var(--mintdk); } .nhs-stat:nth-child(4) { --c: #A87400; }
.nhs-stat__num { font: 700 clamp(2rem, 3.6vw, 2.8rem)/1 var(--display); color: var(--c); }
.nhs-stat__label { font-weight: 700; font-size: .92rem; margin-top: .35rem !important; color: var(--muted); }

/* Mission & vision */
.nhs-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.nhs-block { border-radius: 32px; padding: clamp(1.8rem, 4vw, 2.8rem); display: grid; gap: 1rem; align-content: start; }
.nhs-big { font: 600 clamp(1.4rem, 2.4vw, 1.85rem)/1.3 var(--display); }
.nhs-block--mission { background: var(--coral); color: #fff; }
.nhs-block--mission .nhs-pill { background: rgba(255, 255, 255, .22); color: #fff; }
.nhs-block--vision { background: var(--mint); color: #0F3D2A; }
.nhs-block--vision .nhs-pill { background: rgba(255, 255, 255, .6); color: #0F3D2A; }
.nhs-values { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.8rem; }
.nhs-values span { font: 600 .95rem var(--display); padding: .5rem 1.1rem; border-radius: 999px; border: 2px dashed #C9D3E0; }

/* Cause tiles */
.nhs-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.2rem; }
.nhs-tile { --bg: var(--corallt); --fg: #C2412D; background: var(--bg); border-radius: 28px; padding: 8px; }
.nhs-tile:nth-child(4n+2) { --bg: var(--skylt); --fg: var(--sky); }
.nhs-tile:nth-child(4n+3) { --bg: var(--sunlt); --fg: #9A6A00; }
.nhs-tile:nth-child(4n+4) { --bg: #D9F2E4; --fg: var(--mintdk); }
.nhs-tile__in { border: 2px dashed color-mix(in srgb, var(--fg) 45%, transparent); border-radius: 22px; padding: 1rem 1rem 1.4rem; height: 100%; display: flex; flex-direction: column; gap: .6rem; }
.nhs-tile h3 { color: var(--fg); }
.nhs-tile p { color: var(--ink); opacity: .82; }
.nhs-more { margin-top: auto; color: var(--fg); font: 600 1rem var(--display); }
.nhs-more::after { content: " →"; }

/* Causes in detail (Causes page) */
.nhs-cause { padding: clamp(3rem, 6vw, 5rem) var(--wp--style--root--padding-left, 1rem); scroll-margin-top: 90px; }
.nhs-cause--alt { background: var(--cloud); }
.nhs-cause__inner { max-width: 1200px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.nhs-cause--alt .nhs-cause__media { order: 2; }
.nhs-cause__media .nhs-photo { border-radius: 32px; }
.nhs-cause__text { display: grid; gap: 1rem; justify-items: start; }
.nhs-cause__text > p:not(.nhs-pill) { color: var(--muted); }
.nhs-checklist { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; width: 100%; }
.nhs-checklist li { padding-left: 1.7rem; position: relative; margin-bottom: .45rem; break-inside: avoid; }
.nhs-checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--sun); box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--sun); }

/* Request a pack */
.nhs-request { background: #D9F2E4; border-radius: 40px; padding: clamp(1.8rem, 5vw, 3.6rem); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 5rem) !important; scroll-margin-top: 90px; }
.nhs-request__intro { display: grid; gap: 1.1rem; justify-items: start; }
.nhs-request h2 { color: #0F3D2A; }
.nhs-request .nhs-lead { color: #2E5A45; }
.nhs-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: .8rem; }
.nhs-steps li { counter-increment: s; position: relative; padding-left: 3rem; color: #2E5A45; }
.nhs-steps strong { color: #0F3D2A; }
.nhs-steps li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--mintdk); color: #fff; font: 700 1rem var(--display); display: grid; place-items: center; }
.nhs-request__email { font-size: .92rem; color: #2E5A45; }
.nhs-request__email strong { color: #0F3D2A; user-select: all; }
.nhs-packs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.nhs-pack { background: #fff; border-radius: 22px; padding: .7rem; display: flex; gap: .9rem; align-items: center; box-shadow: 0 4px 0 rgba(31, 122, 85, .12); }
.nhs-pack__img { width: 92px; height: 92px; object-fit: cover; border-radius: 16px; flex: none; }
.nhs-pack h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.nhs-pack p { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.nhs-pack--ask { background: var(--coral); flex-direction: column; align-items: flex-start; justify-content: center; gap: .3rem; padding: 1rem 1.2rem; box-shadow: 0 4px 0 #B23A28; }
.nhs-pack--ask h3, .nhs-pack--ask p { color: #fff; }

/* Project cards and stories */
.nhs-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 1.2rem; }
.nhs-card { background: #fff; border-radius: 28px; padding: 1.2rem 1.2rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; box-shadow: 0 2px 0 rgba(23, 32, 51, .04), 0 10px 30px rgba(23, 32, 51, .06); }
.nhs-card .nhs-photo { margin-bottom: .3rem; }
.nhs-card h3 a, .nhs-story h3 a { color: var(--ink); text-decoration: none; }
.nhs-card h3 a:hover, .nhs-story h3 a:hover { color: var(--sky); }
.nhs-card p:not(.nhs-chip), .nhs-story p { color: var(--muted); }
.nhs-chip { align-self: flex-start; font: 600 .82rem var(--display); background: var(--skylt); color: var(--sky); padding: .28rem .8rem; border-radius: 999px; }
.nhs-card:nth-child(4n+2) .nhs-chip { background: var(--corallt); color: #C2412D; }
.nhs-card:nth-child(4n+3) .nhs-chip { background: var(--sunlt); color: #8A6200; }
.nhs-card:nth-child(4n+4) .nhs-chip { background: #D9F2E4; color: var(--mintdk); }
.nhs-story { display: flex; flex-direction: column; gap: .5rem; }
.nhs-story__img { aspect-ratio: 16 / 11; border-radius: 28px; margin-bottom: .4rem; }
.nhs-meta { font-weight: 800; font-size: .85rem; }
.nhs-meta span { color: var(--coral); }

/* Hat gallery */
.nhs-hats { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.8rem, 2vw, 1.4rem); }
.nhs-hats figure { margin: 0; background: #fff; padding: 8px; border-radius: 22px; box-shadow: 0 10px 24px rgba(23, 32, 51, .1); transition: transform .2s; }
.nhs-hats figure:nth-child(odd) { transform: rotate(-2deg); }
.nhs-hats figure:nth-child(even) { transform: rotate(2deg) translateY(8px); }
.nhs-hats figure:hover { transform: none; }
.nhs-hats img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.nhs-hats__more { text-align: center; margin-top: 2.2rem !important; font: 600 1.1rem var(--display); }
.nhs-hats__more a::after { content: " →"; }
.nhs-hats__credit { text-align: center; font-size: .82rem; color: var(--muted); margin-top: .4rem !important; }

/* Testimonials */
.nhs-bubbles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 1.6rem 1.2rem; }
.nhs-bubble { --bg: var(--corallt); margin: 0; display: grid; gap: 1rem; align-content: start; }
.nhs-bubble:nth-child(3n+2) { --bg: var(--skylt); } .nhs-bubble:nth-child(3n+3) { --bg: var(--sunlt); }
.nhs-bubble blockquote { margin: 0; background: var(--bg); border-radius: 28px 28px 28px 6px; padding: 1.6rem 1.5rem; font: 500 1.15rem/1.5 var(--display); border: 0; }
.nhs-bubble figcaption { font-weight: 800; font-size: .85rem; color: var(--muted); padding-left: .4rem; }

/* Donate panel */
.nhs-donate { background: var(--sun); border-radius: 40px; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-block: clamp(3.5rem, 7vw, 6rem) !important; }
.nhs-donate__copy { display: grid; gap: 1rem; justify-items: start; }
.nhs-donate p, .nhs-donate a:not(.nhs-platform) { color: #3D2E00; }
.nhs-platforms { display: grid; gap: .8rem; }
.nhs-platform { --c: var(--sky); display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #fff; border-radius: 22px; padding: 1rem 1.4rem; text-decoration: none; color: var(--ink); box-shadow: 0 5px 0 rgba(0, 0, 0, .12); border-left: 10px solid var(--c); transition: transform .15s; }
.nhs-platform:hover { transform: translateY(2px); }
.nhs-platform b { font: 700 1.3rem var(--display); color: var(--c); }
.nhs-platform small { font-weight: 700; color: var(--muted); text-align: right; }
.nhs-platform--justgiving { --c: var(--coral); } .nhs-platform--gofundme { --c: var(--mintdk); }

/* Contact */
.nhs-contact { display: grid; gap: 2rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
.nhs-contact__card { max-width: 760px; }
.nhs-contact__list { list-style: none; padding: 0; margin: 1rem 0 0; }
.nhs-contact__list li { padding: .7rem 0; border-bottom: 2px dashed #E3E9F0; }
.nhs-contact__list li:last-child { border-bottom: 0; }
.nhs-contact__list strong { display: block; font: 600 1rem var(--display); color: var(--coral); }
.nhs-copy { user-select: all; font-weight: 700; }

/* Responsive */
@media (max-width: 1000px) { .nhs-request { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
	.nhs-hero, .nhs-mv, .nhs-donate, .nhs-cause__inner { grid-template-columns: 1fr; }
	.nhs-cause--alt .nhs-cause__media { order: 0; }
	.nhs-stats { grid-template-columns: 1fr 1fr; }
	.nhs-hero + .nhs-stats { margin-top: 1rem !important; }
	.nhs-sunny { max-width: 340px; }
}
@media (max-width: 781px) { .nhs-hats { grid-template-columns: repeat(3, 1fr); } .nhs-hats figure:nth-child(n+4) { display: none; } }
@media (max-width: 560px) {
	.nhs-hero, .nhs-request, .nhs-donate { border-radius: 28px; }
	.nhs-packs { grid-template-columns: 1fr; }
	.nhs-platform { flex-direction: column; align-items: flex-start; gap: .2rem; }
	.nhs-platform small { text-align: left; }
	.nhs-hats { grid-template-columns: repeat(2, 1fr); }
	.nhs-hats figure:nth-child(4) { display: block; }
	.nhs-checklist { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .nhs * { animation: none !important; transition: none !important; } }
.nhs-contact__list li, .nhs-contact__list a, .nhs-copy { overflow-wrap: anywhere; }
.nhs-contact, .nhs-contact > * { min-width: 0; }

/* Testimonial form */
.nhs-tform { margin-top: 2.6rem; background: var(--skylt); border-radius: 32px; padding: clamp(1.5rem, 4vw, 2.6rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.2rem, 4vw, 2.6rem); align-items: start; scroll-margin-top: 90px; }
.nhs-tform__intro { display: grid; gap: .8rem; justify-items: start; }
.nhs-tform__intro h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.nhs-tform__intro p:not(.nhs-pill) { color: var(--muted); }
.nhs-tform__form { display: grid; gap: 1rem; }
.nhs-tform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.nhs-field { display: grid; gap: .35rem; align-content: start; }
.nhs-field label { font: 600 1rem var(--display); color: var(--ink); }
.nhs-field input, .nhs-field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #BFD9EC; border-radius: 16px; padding: .75rem 1rem; }
.nhs-field textarea { resize: vertical; min-height: 8rem; }
.nhs-field input:focus, .nhs-field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(47, 125, 184, .18); }
.nhs-field small { font-size: .82rem; color: var(--muted); }
.nhs-tform__consent { font-size: .85rem; color: var(--muted); }
.nhs-tform__form .nhs-btn { justify-self: start; border: 0; cursor: pointer; }
.nhs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nhs-tform__msg { border-radius: 16px; padding: .9rem 1.1rem; margin-bottom: 1rem !important; font-weight: 600; }
.nhs-tform__msg--ok { background: #D9F2E4; color: #0F3D2A; font: 600 1.15rem var(--display); }
.nhs-tform__msg--error { background: var(--corallt); color: #8A2A1B; }
.nhs-tform__msg--error ul { margin: .4rem 0 0; padding-left: 1.2rem; font-weight: 400; }
@media (max-width: 900px) { .nhs-tform { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .nhs-tform__row { grid-template-columns: 1fr; } .nhs-tform { border-radius: 24px; } }

/* Poorly children photo (rotated to landscape): keep the baby's face, on the left, in view. */
img[src*="WhatsApp-Image-2026-11-19-at-17.29.40"] {
	object-position: 0% 50%;
	/* Discourage right-click saving and dragging of this photo. */
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
	-webkit-touch-callout: none;
}

/* Wedding dress gallery: "From wedding dress to angel gown". */
.nhs-section--rose { background: var(--corallt); }
.nhs-gowns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 2rem 0 2.5rem;
}
.nhs-gown {
	margin: 0;
	background: #fff;
	border-radius: 18px;
	padding: .6rem;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}
.nhs-gown a { display: block; border-radius: 12px; overflow: hidden; }
.nhs-gown img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	transition: transform .4s ease;
}
/* First collage (Sarah's, from a phone screenshot) has black bars top and bottom: crop them out. */
.nhs-gown:first-child img { object-position: 50% 36%; }
.nhs-gown a:hover img,
.nhs-gown a:focus-visible img { transform: scale(1.03); }
.nhs-gown figcaption {
	text-align: center;
	font-weight: 700;
	padding: .75rem 0 .35rem;
	color: var(--ink);
}
.nhs-gowns__cta { margin: 0 0 1rem; font-size: 1.1rem; color: var(--ink); }
.nhs-gown .screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (max-width: 900px) { .nhs-gowns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nhs-gowns { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .nhs-gown img { transition: none; } }

