/* ==========================================================================
   NFCR card grid  [nfcr_card_grid]
   ========================================================================== */

.nfcr-cards {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	font-family: var(--nfcr-font);
}
.nfcr-cards--compact.nfcr-cards--cols-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nfcr-cards--cols-1 { grid-template-columns: minmax(0, 1fr); }
.nfcr-cards--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nfcr-cards--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nfcr-cards--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nfcr-cards--cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nfcr-cards--cols-5 .nfcr-card { padding: 24px 22px; }

/* ---- Card (separate) ---- */
.nfcr-cards .nfcr-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 170px;
	padding: 24px 26px;
	background: var(--nfcr-white);
	border-radius: var(--nfcr-r-card);
	box-shadow: var(--nfcr-shadow);
	color: var(--nfcr-text);
	text-decoration: none !important;
	transition: box-shadow .15s ease, background-color .15s ease;
}
.nfcr-cards a.nfcr-card:hover { box-shadow: var(--nfcr-shadow-hover); }

.nfcr-cards .nfcr-card__avatar {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--nfcr-surface);
}
.nfcr-cards .nfcr-card__eyebrow {
	font-size: var(--nfcr-fs-label);
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: var(--nfcr-orange);
}
.nfcr-cards .nfcr-card__title {
	margin: 0;
	padding: 0;
	font-family: var(--nfcr-font);
	font-size: var(--nfcr-fs-h3);
	font-weight: 600;
	line-height: 1.32;
	letter-spacing: -.3px;
	color: var(--nfcr-navy);
	text-transform: none;
}
.nfcr-cards .nfcr-card__meta {
	margin-top: -4px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--nfcr-text-2);
}
.nfcr-cards .nfcr-card__text {
	flex: 1;
	margin: 0;
	font-size: var(--nfcr-fs-body);
	line-height: 1.65;
	color: var(--nfcr-text);
}
.nfcr-cards .nfcr-card__cta {
	display: block;
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--nfcr-orange);
}
.nfcr-cards a.nfcr-card:hover .nfcr-card__cta { color: var(--nfcr-navy); }
.nfcr-cards .nfcr-card__cta svg { display: inline-block; margin-left: 2px; vertical-align: -1px; }

/* ---- Compact (scientists) ---- */
.nfcr-cards--compact .nfcr-card { gap: 12px; min-height: 0; padding: 24px; }
.nfcr-cards--compact .nfcr-card__title { font-size: 16.5px; line-height: 1.3; }
.nfcr-cards--compact .nfcr-card__meta { margin-top: -8px; }
.nfcr-cards--compact .nfcr-card__text { font-size: 14px; line-height: 1.55; color: var(--nfcr-text-2); }
.nfcr-cards--compact .nfcr-card__cta { font-size: 13.5px; }

/* ---- Large (Join / Give router) + navy tone ---- */
.nfcr-cards--large { gap: 20px; }
.nfcr-cards--large .nfcr-card { gap: 12px; padding: 40px 44px; border-radius: var(--nfcr-r-section); }
.nfcr-cards--large .nfcr-card__title { font-size: var(--nfcr-fs-h2-sm); line-height: 1.15; letter-spacing: -.03em; }
.nfcr-cards--large .nfcr-card__text { font-size: var(--nfcr-fs-body); line-height: 1.7; }
.nfcr-cards--large .nfcr-card__cta { margin-top: 8px; font-size: var(--nfcr-fs-small); }
.nfcr-cards .nfcr-card--dark { background: var(--nfcr-navy); }
.nfcr-cards .nfcr-card--dark .nfcr-card__eyebrow { color: var(--nfcr-orange-soft); }
.nfcr-cards .nfcr-card--dark .nfcr-card__title { color: #fff; }
.nfcr-cards .nfcr-card--dark .nfcr-card__text { color: var(--nfcr-on-dark-soft); }
.nfcr-cards .nfcr-card--dark .nfcr-card__cta { color: #fff; }
.nfcr-cards a.nfcr-card--dark:hover .nfcr-card__cta,
.nfcr-cards a.nfcr-card--dark:focus-visible .nfcr-card__cta { color: var(--nfcr-orange-soft); } /* navy card: link turns soft orange on hover */
.nfcr-cards a.nfcr-card--dark:hover { box-shadow: var(--nfcr-shadow-raised); }

/* ---- Joined (audience router): one panel, dividers ---- */
.nfcr-cards--joined {
	gap: 0;
	overflow: hidden;
	background: var(--nfcr-white);
	border-radius: var(--nfcr-r-section);
	box-shadow: var(--nfcr-shadow);
}
.nfcr-cards--joined .nfcr-card {
	min-height: 0;
	margin-left: -1px; /* hides the divider on the first column */
	padding: 28px 30px;
	border-left: 1px solid var(--nfcr-line);
	border-radius: 0;
	box-shadow: none;
}
.nfcr-cards--joined a.nfcr-card:hover { background: var(--nfcr-surface-hover); box-shadow: none; }
.nfcr-cards--joined .nfcr-card__title { line-height: 1.3; }
.nfcr-cards--joined .nfcr-card__text { font-size: var(--nfcr-fs-small); line-height: 1.6; }
.nfcr-cards--joined .nfcr-card__cta { margin-top: 4px; font-size: var(--nfcr-fs-meta); }

/* ---- Feature (events): photo on top, badge on the photo, outline button ---- */
.nfcr-cards--feature { gap: 20px; }
.nfcr-cards--feature .nfcr-card { gap: 0; min-height: 0; padding: 0; overflow: hidden; }
.nfcr-cards--feature .nfcr-card__media {
	position: relative;
	display: block;
	height: 230px;
	background: var(--nfcr-line-chip);
}
.nfcr-cards--feature .nfcr-card__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.nfcr-cards--feature .nfcr-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 5px 13px;
	border-radius: var(--nfcr-r-chip);
	background: var(--nfcr-navy); /* fallback */
	background: color-mix(in srgb, var(--nfcr-navy) 78%, transparent);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	font-size: var(--nfcr-fs-label);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #fff;
}
.nfcr-cards--feature .nfcr-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 24px 26px 26px;
}
.nfcr-cards--feature .nfcr-card__title { font-size: var(--nfcr-fs-h3-lg); line-height: 1.3; }
.nfcr-cards--feature .nfcr-card__meta {
	margin-top: 0;
	font-size: var(--nfcr-fs-body);
	font-weight: 600;
	line-height: 1.5;
	color: var(--nfcr-navy);
}
.nfcr-cards--feature .nfcr-card__text { font-size: var(--nfcr-fs-body); line-height: 1.7; color: var(--nfcr-text-2); }
.nfcr-cards--feature .nfcr-card__action { display: block; margin-top: 8px; }
.nfcr-cards--feature .nfcr-card__action .nfcr-btn-combo { pointer-events: none; }
.nfcr-cards--feature a.nfcr-card:hover .nfcr-btn--outline { background: var(--nfcr-navy); color: #fff !important; }
.nfcr-cards--feature a.nfcr-card:hover .nfcr-btn-combo--orange .nfcr-btn-combo__circle { background: var(--nfcr-orange-hover); }

/* ---- Photo (giving paths): photo on top, tag pill, tagline, solid button ---- */
.nfcr-cards--photo { gap: 20px; }
.nfcr-cards--photo .nfcr-card { gap: 0; min-height: 0; padding: 0; overflow: hidden; }
.nfcr-cards--photo .nfcr-card__media {
	position: relative;
	display: block;
	flex-shrink: 0;
	height: 190px;
	background: var(--nfcr-line-chip);
}
.nfcr-cards--photo .nfcr-card__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.nfcr-cards--photo .nfcr-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 26px 32px 32px;
}
.nfcr-cards--photo .nfcr-card__tag {
	align-self: flex-start;
	margin-bottom: 8px;
	padding: 3.5px 13px;
	border: 1.5px solid transparent;
	border-radius: var(--nfcr-r-chip);
	background: var(--nfcr-surface);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--nfcr-orange);
}
.nfcr-cards--photo .nfcr-card--dark .nfcr-card__tag { background: transparent; border-color: var(--nfcr-accent); color: #fff; }
.nfcr-cards--photo .nfcr-card__title { font-size: var(--nfcr-fs-h3-xl); line-height: 1.25; letter-spacing: -.02em; }
.nfcr-cards--photo .nfcr-card__meta {
	margin-top: 0;
	font-size: var(--nfcr-fs-body);
	font-weight: 600;
	line-height: 1.5;
	color: var(--nfcr-heading-muted);
}
.nfcr-cards--photo .nfcr-card--dark .nfcr-card__meta { color: #fff; }
.nfcr-cards--photo .nfcr-card__text { flex: 0 1 auto; font-size: var(--nfcr-fs-body); line-height: 1.7; color: var(--nfcr-text-2); }
.nfcr-cards--photo .nfcr-card--dark .nfcr-card__text { color: var(--nfcr-on-dark-link); }
.nfcr-cards--photo .nfcr-card__action { display: block; margin-top: auto; padding-top: 14px; }
.nfcr-cards--photo .nfcr-card__action .nfcr-btn { pointer-events: none; }
.nfcr-cards--photo a.nfcr-card:hover .nfcr-btn--navy { background: var(--nfcr-navy-hover); }
.nfcr-cards--photo a.nfcr-card:hover .nfcr-btn--white { background: var(--nfcr-surface); }

/* ---- Responsive ---- */
@media (max-width: 1280px) {
	.nfcr-cards--cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.nfcr-cards--cols-5,
	.nfcr-cards--cols-3,
	.nfcr-cards--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.nfcr-cards--feature.nfcr-cards--cols-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.nfcr-cards--cols-2,
	.nfcr-cards--cols-3,
	.nfcr-cards--cols-4,
	.nfcr-cards--cols-5 { grid-template-columns: minmax(0, 1fr); }
	.nfcr-cards .nfcr-card { min-height: 0; }

	.nfcr-cards--joined { grid-template-columns: minmax(0, 1fr); }
	.nfcr-cards--joined .nfcr-card {
		margin: -1px 0 0; /* hides the divider above the first card */
		padding: 22px 22px;
		border-left: 0;
		border-top: 1px solid var(--nfcr-line);
	}
}

/* ---- People layout (team): large round photo, name, orange role, bio ---- */
.nfcr-cards--people.nfcr-cards--cols-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nfcr-cards--people .nfcr-card { gap: 0; min-height: 0; padding: 26px; }
.nfcr-cards--people .nfcr-card__avatar { width: 88px; height: 88px; margin-bottom: 18px; }
.nfcr-cards--people .nfcr-card__title { font-size: var(--nfcr-fs-title-sm); line-height: 1.35; letter-spacing: -.2px; }
.nfcr-cards--people .nfcr-card__meta {
	margin-top: 3px;
	font-size: var(--nfcr-fs-meta);
	font-weight: 600;
	line-height: 1.45;
	color: var(--nfcr-orange);
}
.nfcr-cards--people .nfcr-card__text {
	flex: 0 1 auto;
	margin-top: 9px;
	font-size: var(--nfcr-fs-body);
	line-height: 1.7;
	color: var(--nfcr-text-2);
}
.nfcr-cards--people .nfcr-card__cta { margin-top: 12px; }

/* ---- Badge layout (ratings & accreditations): seal in a tinted box, name, orange link ---- */
.nfcr-cards--badge .nfcr-card { gap: 12px; min-height: 0; padding: 22px 22px 20px; }
.nfcr-cards--badge .nfcr-card__seal {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 92px;
	padding: 10px 14px;
	overflow: hidden;
	border-radius: var(--nfcr-r-callout);
	background: var(--nfcr-surface);
}
.nfcr-cards--badge .nfcr-card__seal-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.nfcr-cards--badge .nfcr-card__title { font-size: var(--nfcr-fs-title-sm); line-height: 1.3; letter-spacing: 0; }
.nfcr-cards--badge .nfcr-card__cta { margin-top: auto; }
.nfcr-cards--badge a.nfcr-card:hover .nfcr-card__title { color: var(--nfcr-orange); }

/* ==========================================================================
   0.9.8 layouts: explore, index, numbered, project (+ filter buttons)
   ========================================================================== */

/* Cards hidden by the project filter (the card's own display rule would otherwise win) */
.nfcr-cards [hidden] { display: none !important; }

/* ---- Explore (research hub): photo, orange label, title, text, text link ---- */
.nfcr-cards--explore { gap: 20px; }
.nfcr-cards--explore .nfcr-card { gap: 0; min-height: 0; padding: 0; overflow: hidden; }
.nfcr-cards--explore .nfcr-card__media {
	position: relative;
	display: block;
	flex-shrink: 0;
	height: 180px;
	background: var(--nfcr-line-chip);
}
.nfcr-cards--explore .nfcr-card__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.nfcr-cards--explore .nfcr-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 24px 26px 26px;
}
.nfcr-cards--explore .nfcr-card__title { font-size: var(--nfcr-fs-h3-xl); line-height: 1.25; letter-spacing: -.02em; }
.nfcr-cards--explore .nfcr-card__text { margin-bottom: 10px; line-height: 1.65; color: var(--nfcr-text-2); }
.nfcr-cards--explore .nfcr-card__cta { font-size: var(--nfcr-fs-ui); }

.nfcr-cards--explore .nfcr-card--dark .nfcr-card__text { color: var(--nfcr-on-dark-soft); }

/* ---- Index (areas of impact): one panel of numbered cells, dividers drawn by each cell ---- */
.nfcr-cards--index {
	gap: 0;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-auto-rows: 1fr; /* 0.9.23: every row as tall as the tallest cell, so a short last row (11th card alone) keeps the height */
	overflow: hidden;
	background: var(--nfcr-white);
	border-radius: var(--nfcr-r-card);
	box-shadow: var(--nfcr-shadow);
}
.nfcr-cards--index .nfcr-card {
	gap: 14px;
	min-height: 0;
	padding: 24px 22px 26px;
	border-radius: 0;
	/* 0.9.23: dividers are drawn on the right + bottom of every cell (cells are transparent on the white panel, so a later cell never
	   paints over them). They also close the cells above an incomplete last row; the panel's overflow hides the outer ones. */
	background: transparent;
	box-shadow: 1px 1px 0 0 var(--nfcr-line);
}
.nfcr-cards--index .nfcr-card__eyebrow { font-size: var(--nfcr-fs-small); letter-spacing: 0; }
.nfcr-cards--index .nfcr-card__title { flex: 0 0 auto; font-size: var(--nfcr-fs-title-sm); line-height: 1.35; letter-spacing: 0; }
.nfcr-cards--index .nfcr-card__text { flex: 1; font-size: var(--nfcr-fs-small); line-height: 1.6; color: var(--nfcr-text-2); } /* 0.9.23: text under the title */
.nfcr-cards--index .nfcr-card__link { margin-top: auto; } /* Explore stays on the bottom line of the cell, with or without text */
.nfcr-cards--index .nfcr-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	font-size: var(--nfcr-fs-meta);
	font-weight: 600;
	color: var(--nfcr-orange);
	text-decoration: none !important;
}
.nfcr-cards--index .nfcr-card__link:hover,
.nfcr-cards--index .nfcr-card__link:focus-visible { color: var(--nfcr-navy); }

/* ---- Numbered (funding philosophy): white cards with an automatic number circle ---- */
.nfcr-cards--numbered { gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nfcr-cards--numbered .nfcr-card { gap: 0; min-height: 0; padding: 28px; }
.nfcr-cards--numbered .nfcr-card__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--nfcr-surface);
	font-size: var(--nfcr-fs-ui);
	font-weight: 700;
	color: var(--nfcr-orange);
}
.nfcr-cards--numbered .nfcr-card__title { line-height: 1.3; }
.nfcr-cards--numbered .nfcr-card__text { flex: 0 1 auto; margin-top: 9px; line-height: 1.7; color: var(--nfcr-text-2); }

/* ---- Amount (How to Help: power of your donation): white tiles, orange figure, a line; Colour Navy = the last tile ---- */
.nfcr-cards.nfcr-cards--amount { gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nfcr-cards--amount .nfcr-card { gap: 12px; min-height: 0; padding: 26px 24px; }
.nfcr-cards--amount .nfcr-card__title {
	margin: 0;
	font-size: var(--nfcr-fs-figure);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.5px;
	color: var(--nfcr-orange);
}
.nfcr-cards--amount .nfcr-card__text { flex: 0 1 auto; margin: 0; font-size: var(--nfcr-fs-body); line-height: var(--nfcr-lh-body); color: var(--nfcr-text-2); }
.nfcr-cards--amount .nfcr-card--dark .nfcr-card__title { color: #fff; }
.nfcr-cards--amount .nfcr-card--dark .nfcr-card__text { color: var(--nfcr-on-dark-link); }

/* ---- Points (How to Help: every contribution): bold line under a thin orange rule, no card ---- */
.nfcr-cards.nfcr-cards--points { gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nfcr-cards--points .nfcr-card {
	gap: 8px;
	min-height: 0;
	padding: 16px 0 0;
	background: transparent;
	border-top: 2px solid var(--nfcr-accent);
	border-radius: 0;
	box-shadow: none;
}
.nfcr-cards--points .nfcr-card__title { margin: 0; font-size: var(--nfcr-fs-h3); font-weight: 600; line-height: 1.4; color: var(--nfcr-navy); }
.nfcr-cards--points .nfcr-card__text { flex: 0 1 auto; margin: 0; font-size: var(--nfcr-fs-body); line-height: var(--nfcr-lh-body); color: var(--nfcr-text-2); }
@media (max-width: 1100px) {
	.nfcr-cards.nfcr-cards--amount { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.nfcr-cards.nfcr-cards--points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.nfcr-cards.nfcr-cards--amount,
	.nfcr-cards.nfcr-cards--points { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Project (projects to fund): the feature card + funding progress ---- */
.nfcr-cards--project .nfcr-card__media { height: 190px; }
.nfcr-cards--project .nfcr-card__body { gap: 0; padding: 22px 24px 24px; }
.nfcr-cards--project .nfcr-card__text { flex: 1; margin-top: 9px; }
.nfcr-cards--project .nfcr-card__action { margin-top: 18px; }
.nfcr-cards .nfcr-card__progress { display: block; margin-top: 18px; }
.nfcr-cards .nfcr-card__progress-text {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 7px;
	font-size: var(--nfcr-fs-meta);
	font-weight: 600;
	line-height: 1.4;
	color: var(--nfcr-text-2);
}
.nfcr-cards .nfcr-card__progress-text > span:first-child { color: var(--nfcr-navy); white-space: nowrap; }
.nfcr-cards .nfcr-card__bar {
	display: block;
	height: 8px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--nfcr-track);
}
.nfcr-cards .nfcr-card__bar-fill {
	display: block;
	width: var(--nfcr-progress, 0%);
	height: 100%;
	border-radius: 6px;
	background: var(--nfcr-orange);
}

/* Filter buttons above the project cards (shown by cards-filter.js) */
.nfcr-cards-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.nfcr-cards-filter[hidden] { display: none; }
.nfcr-cards-filter .nfcr-chip--link {
	display: inline-flex;
	align-items: center;
	margin: 0;
	font-family: var(--nfcr-font);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.nfcr-cards-filter .nfcr-chip--link:hover,
.nfcr-cards-filter .nfcr-chip--link:focus-visible,
.nfcr-cards-filter .nfcr-chip--link[aria-pressed="true"] { background: var(--nfcr-navy); border-color: var(--nfcr-navy); color: #fff; }

/* ---- Responsive (placed last so they beat the generic column rules above) ---- */
@media (max-width: 1280px) {
	.nfcr-cards--index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.nfcr-cards--index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.nfcr-cards--index,
	.nfcr-cards--numbered { grid-template-columns: minmax(0, 1fr); }
	.nfcr-cards--index { grid-auto-rows: auto; }
	.nfcr-cards--numbered .nfcr-card { padding: 22px; }
	.nfcr-cards--explore .nfcr-card__body { padding: 22px 22px 24px; }
}

/* ==========================================================================
   0.9.9 layout: story (breakthrough stories). Cards stay open: no toggle.
   Columns: 1 (photo left, parts in 2 x 2), 2 (default) or 3.
   ========================================================================== */
.nfcr-cards--story { gap: 20px; }
.nfcr-cards--story.nfcr-cards--cols-auto { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.nfcr-cards--story .nfcr-card { gap: 0; min-height: 0; padding: 0; overflow: hidden; }
.nfcr-cards--story .nfcr-card__media {
	position: relative;
	display: block;
	flex-shrink: 0;
	height: 200px;
	background: var(--nfcr-line-chip);
}
.nfcr-cards--story .nfcr-card__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.nfcr-cards--story .nfcr-card__num {
	position: absolute;
	top: 16px;
	left: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--nfcr-white);
	font-size: var(--nfcr-fs-small);
	font-weight: 700;
	color: var(--nfcr-orange);
}
.nfcr-cards--story .nfcr-card__body {
	box-sizing: border-box;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 24px 26px 26px;
}
.nfcr-cards--story .nfcr-card__title { font-size: var(--nfcr-fs-h3-xl); line-height: 1.2; letter-spacing: -.02em; }
.nfcr-cards--story .nfcr-card__sub {
	margin: 0;
	font-size: var(--nfcr-fs-body);
	font-weight: 500;
	line-height: 1.5;
	color: var(--nfcr-heading-muted);
}
.nfcr-cards--story .nfcr-card__who {
	margin: 0;
	font-size: var(--nfcr-fs-small);
	font-weight: 600;
	line-height: 1.5;
	color: var(--nfcr-text-2);
}
.nfcr-cards--story .nfcr-card__recog {
	align-self: flex-start;
	margin-top: 6px;
	padding: 6px 13px;
	border-radius: var(--nfcr-r-chip);
	background: var(--nfcr-surface);
	font-size: var(--nfcr-fs-label);
	font-weight: 600;
	line-height: 1.4;
	color: var(--nfcr-navy);
}

/* The four parts */
.nfcr-cards--story .nfcr-card__parts {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 14px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--nfcr-line);
}
.nfcr-cards--story .nfcr-card__part { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; }
.nfcr-cards--story .nfcr-card__part-title {
	margin: 0;
	padding: 0;
	font-size: var(--nfcr-fs-label);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .9px;
	text-transform: uppercase;
	color: var(--nfcr-heading-muted);
}
.nfcr-cards--story .nfcr-card__part-text {
	margin: 0;
	padding: 0;
	font-size: var(--nfcr-fs-body);
	line-height: 1.65;
	color: var(--nfcr-text-2);
}
.nfcr-cards--story .nfcr-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	margin-top: auto;
	padding-top: 20px;
	font-size: var(--nfcr-fs-ui);
	font-weight: 600;
	color: var(--nfcr-orange);
	text-decoration: none !important;
}
.nfcr-cards--story .nfcr-card__link:hover,
.nfcr-cards--story .nfcr-card__link:focus-visible { color: var(--nfcr-navy); }

/* 1 column: wide card, photo on the left, parts in two columns */
.nfcr-cards--story.nfcr-cards--cols-1 .nfcr-card { flex-direction: row; }
.nfcr-cards--story.nfcr-cards--cols-1 .nfcr-card__media { flex: 0 0 36%; height: auto; min-height: 320px; }
.nfcr-cards--story.nfcr-cards--cols-1 .nfcr-card__body { padding: 32px 36px 34px; }
.nfcr-cards--story.nfcr-cards--cols-1 .nfcr-card__parts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 32px;
}

@media (max-width: 1024px) {
	.nfcr-cards--story.nfcr-cards--cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.nfcr-cards--story.nfcr-cards--cols-1 .nfcr-card { flex-direction: column; }
	.nfcr-cards--story.nfcr-cards--cols-1 .nfcr-card__media { flex: none; height: 220px; min-height: 0; }
	.nfcr-cards--story.nfcr-cards--cols-1 .nfcr-card__body { padding: 24px 26px 26px; }
	.nfcr-cards--story.nfcr-cards--cols-1 .nfcr-card__parts { display: flex; flex-direction: column; gap: 16px; }
}
@media (max-width: 767px) {
	.nfcr-cards--story,
	.nfcr-cards--story.nfcr-cards--cols-auto,
	.nfcr-cards--story.nfcr-cards--cols-3 { grid-template-columns: minmax(0, 1fr); }
	.nfcr-cards--story .nfcr-card__body { padding: 22px 22px 24px; }
}

/* Story cards, closed by default: <details> toggle (Read the story / Close the story) */
/* Cards in a row stay the same height; the divider + toggle are pinned to the bottom so they line up across cards */
.nfcr-cards--story .nfcr-card__body > .nfcr-card__more { margin-top: auto; }
.nfcr-cards--story .nfcr-card__body > :nth-last-child(2):not(.nfcr-card__more) { margin-bottom: 14px; }
.nfcr-cards--story .nfcr-card__more { margin: 0; padding: 0; border-top: 1px solid var(--nfcr-line); }
.nfcr-cards--story .nfcr-card__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0 0;
	list-style: none;
	cursor: pointer;
	font-size: var(--nfcr-fs-ui);
	font-weight: 600;
	line-height: 1.4;
	color: var(--nfcr-orange);
}
.nfcr-cards--story .nfcr-card__toggle::-webkit-details-marker { display: none; }
.nfcr-cards--story .nfcr-card__toggle:hover { color: var(--nfcr-navy); }
.nfcr-cards--story .nfcr-card__toggle:focus-visible { outline: var(--nfcr-focus); outline-offset: 4px; border-radius: 6px; }
.nfcr-cards--story .nfcr-card__toggle-close { display: none; }
.nfcr-cards--story .nfcr-card__more[open] .nfcr-card__toggle-open { display: none; }
.nfcr-cards--story .nfcr-card__more[open] .nfcr-card__toggle-close { display: inline; }
.nfcr-cards--story .nfcr-card__sign {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border: 1.5px solid var(--nfcr-line-soft);
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	color: var(--nfcr-navy);
}
.nfcr-cards--story .nfcr-card__sign::before { content: "+"; }
.nfcr-cards--story .nfcr-card__more[open] .nfcr-card__sign::before { content: "\2212"; }
.nfcr-cards--story .nfcr-card__more .nfcr-card__parts { margin-top: 18px; padding-top: 0; border-top: 0; }
.nfcr-cards--story .nfcr-card__more .nfcr-card__link { margin-top: 0; padding-top: 18px; }
.nfcr-cards--story.nfcr-cards--cols-1 .nfcr-card__more .nfcr-card__parts { display: grid; }
@media (max-width: 900px) {
	.nfcr-cards--story.nfcr-cards--cols-1 .nfcr-card__more .nfcr-card__parts { display: flex; }
}

/* While any story card is open, cards keep their own height (no empty gap under the neighbours) */
.nfcr-cards--story.nfcr-cards--collapsible:has(.nfcr-card__more[open]) { align-items: start; }

/* ==========================================================================
   0.9.10 layout: type (cancer types). Tinted illustration, ribbon-colour dot, name, one-line fact, Learn more.
   Columns: 4 (design). Proposed responsive: 3 up to 1024px, 2 up to 767px, 1 up to 480px.
   The card's --nfcr-ribbon (its ribbon colour) is set inline by the element.
   ========================================================================== */
.nfcr-cards--type { gap: 16px; }
.nfcr-cards--type .nfcr-card { gap: 0; min-height: 0; padding: 0; overflow: hidden; }
.nfcr-cards--type .nfcr-card__media {
	position: relative;
	display: block;
	flex-shrink: 0;
	height: 132px;
	overflow: hidden;
	background-color: color-mix(in oklab, var(--nfcr-ribbon, var(--nfcr-line-chip)) 14%, var(--nfcr-surface-hover));
}
.nfcr-cards--type .nfcr-card__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 16%;
	mix-blend-mode: multiply; /* the white of the illustration takes the tint */
}
.nfcr-cards--type .nfcr-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 16px 20px 18px;
}
.nfcr-cards--type .nfcr-card__head { display: flex; align-items: center; gap: 9px; }
.nfcr-cards--type .nfcr-card__dot {
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--nfcr-ribbon, var(--nfcr-line-chip));
}
.nfcr-cards--type .nfcr-card__title { font-size: var(--nfcr-fs-title-sm); line-height: 1.25; }
.nfcr-cards--type .nfcr-card__text { font-size: var(--nfcr-fs-meta); line-height: 1.55; color: var(--nfcr-text-2); }

@media (max-width: 1024px) {
	.nfcr-cards--type.nfcr-cards--cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.nfcr-cards--type.nfcr-cards--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nfcr-cards--type .nfcr-card__body { padding: 14px 16px 16px; }
}
@media (max-width: 480px) {
	.nfcr-cards--type.nfcr-cards--cols-4 { grid-template-columns: minmax(0, 1fr); }
}

/* No-results message under the type cards (the cards' own [hidden] rule does not reach it) */
.nfcr-cards__none[hidden] { display: none; }
.nfcr-cards__none {
	padding: 36px;
	background: var(--nfcr-white);
	border-radius: var(--nfcr-r-card);
	box-shadow: var(--nfcr-shadow);
	text-align: center;
	font-family: var(--nfcr-font);
}
.nfcr-cards__none .nfcr-cards__none-text { margin: 0; font-size: var(--nfcr-fs-body); line-height: 1.7; color: var(--nfcr-text-2); }
.nfcr-cards__none .nfcr-cards__query { font-weight: 600; color: var(--nfcr-navy); }
.nfcr-cards__none a { font-weight: 600; color: var(--nfcr-orange); text-decoration: none; }
.nfcr-cards__none a:hover { color: var(--nfcr-navy); }



/* ==========================================================================
   0.9.16 layout: topics (Living With Cancer, "Find support for the parts of life cancer can affect")
   A white card with a small orange label, a title and a list of links that jump to guide topics.
   Columns come from the Columns setting (4 in the design); tablet / phone use the shared rules above.
   ========================================================================== */
.nfcr-cards--topics { gap: 20px; }
.nfcr-cards--topics .nfcr-card { gap: 0; min-height: 0; padding: 28px 26px 18px; }
.nfcr-cards--topics .nfcr-card__title {
	margin-top: 6px;
	font-size: var(--nfcr-fs-h3-lg);
	line-height: 1.25;
	letter-spacing: -.02em;
}
.nfcr-cards--topics .nfcr-card__links {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--nfcr-line);
}
.nfcr-cards--topics .nfcr-card__links li {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--nfcr-line);
}
.nfcr-cards--topics .nfcr-card__links li:last-child { border-bottom: 0; }
.nfcr-cards--topics .nfcr-card__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 0;
	font-size: var(--nfcr-fs-small);
	font-weight: 600;
	line-height: 1.35;
	color: var(--nfcr-navy);
	text-decoration: none !important;
}
.nfcr-cards--topics .nfcr-card__link svg { flex: none; color: var(--nfcr-orange); }
.nfcr-cards--topics .nfcr-card__link:hover,
.nfcr-cards--topics .nfcr-card__link:focus-visible { color: var(--nfcr-orange); }

/* ---- 0.9.17: joined cards: a divider between rows too (6 cards in 3 columns) ---- */
@media (min-width: 1025px) {
	.nfcr-cards--joined.nfcr-cards--cols-2 .nfcr-card:nth-child(n+3),
	.nfcr-cards--joined.nfcr-cards--cols-3 .nfcr-card:nth-child(n+4),
	.nfcr-cards--joined.nfcr-cards--cols-4 .nfcr-card:nth-child(n+5) { border-top: 1px solid var(--nfcr-line); }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.nfcr-cards--joined .nfcr-card:nth-child(n+3) { border-top: 1px solid var(--nfcr-line); }
}

/* ==========================================================================
   0.9.18 layouts (Cancer Information hub): jump, journey, next, overlay
   ========================================================================== */

/* ---- Jump: tinted tiles that scroll to a section (hero "On this page") ---- */
.nfcr-cards--jump { gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nfcr-cards--jump .nfcr-card {
	gap: 8px;
	min-height: 0;
	padding: 18px 20px;
	background: var(--nfcr-surface-hover);
	border-radius: var(--nfcr-r-chip);
	box-shadow: none;
}
.nfcr-cards--jump a.nfcr-card:hover { background: var(--nfcr-surface); box-shadow: none; }
.nfcr-cards--jump .nfcr-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nfcr-cards--jump .nfcr-card__label {
	font-size: var(--nfcr-fs-label);
	font-weight: 700;
	letter-spacing: .8px;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--nfcr-orange);
}
.nfcr-cards--jump .nfcr-card__arrow { display: inline-flex; flex: none; color: var(--nfcr-navy); }
.nfcr-cards--jump .nfcr-card__text { flex: 0 1 auto; font-size: var(--nfcr-fs-meta); font-weight: 500; line-height: 1.55; color: var(--nfcr-navy); }

/* ---- Journey: numbered circles on a dashed line, a white photo card under each ---- */
.nfcr-cards--journey { position: relative; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nfcr-cards--journey::before {
	content: "";
	position: absolute;
	top: 28px;
	left: 10%;
	right: 10%;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--nfcr-line-chip) 0 8px, transparent 8px 14px);
}
.nfcr-cards--journey .nfcr-card {
	position: relative;
	align-items: center;
	gap: 18px;
	min-height: 0;
	padding: 0;
	background: none;
	box-shadow: none;
}
.nfcr-cards--journey a.nfcr-card:hover { box-shadow: none; }
.nfcr-cards--journey .nfcr-card__num {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	border: 5px solid var(--nfcr-bg);
	border-radius: 50%;
	background: var(--nfcr-navy);
	font-size: var(--nfcr-fs-title-sm);
	font-weight: 700;
	color: #fff;
}
.nfcr-cards--journey .nfcr-card__panel {
	box-sizing: border-box;
	display: flex;
	flex: 1;
	flex-direction: column;
	width: 100%;
	padding: 10px;
	background: var(--nfcr-white);
	border-radius: var(--nfcr-r-section);
	box-shadow: var(--nfcr-shadow);
	transition: box-shadow .15s ease;
}
.nfcr-cards--journey a.nfcr-card:hover .nfcr-card__panel { box-shadow: var(--nfcr-shadow-hover); }
.nfcr-cards--journey .nfcr-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--nfcr-r-chip);
	background: var(--nfcr-line-chip);
}
.nfcr-cards--journey .nfcr-card__photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nfcr-cards--journey .nfcr-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 12px 12px; }
.nfcr-cards--journey .nfcr-card__cta {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--nfcr-line);
	font-size: var(--nfcr-fs-meta);
	line-height: 1.4;
}

/* ---- Next step: question, divider, orange page name + circle arrow ---- */
.nfcr-cards--next { gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nfcr-cards--next .nfcr-card { gap: 18px; min-height: 190px; padding: 26px 24px; }
.nfcr-cards--next .nfcr-card__title { font-size: var(--nfcr-fs-h3-lg); line-height: 1.3; letter-spacing: -.02em; }
.nfcr-cards--next .nfcr-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--nfcr-line);
}
.nfcr-cards--next .nfcr-card__cta { margin: 0; font-size: var(--nfcr-fs-meta); line-height: 1.4; }
.nfcr-cards .nfcr-card__circle {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--nfcr-navy);
	color: #fff;
}
.nfcr-cards--next .nfcr-card--dark .nfcr-card__foot { border-top-color: var(--nfcr-on-dark-line); }
.nfcr-cards--next .nfcr-card--dark .nfcr-card__cta { color: var(--nfcr-orange-on-navy); }
.nfcr-cards--next a.nfcr-card--dark:hover .nfcr-card__cta { color: var(--nfcr-orange-soft); }
.nfcr-cards--next .nfcr-card--dark .nfcr-card__circle { background: var(--nfcr-accent); }

/* ---- Overlay: full-bleed photo, navy fade, title and Explore link at the bottom ---- */
.nfcr-cards--overlay { gap: 16px; }
.nfcr-cards--overlay .nfcr-card {
	position: relative;
	justify-content: flex-end;
	min-height: 280px;
	padding: 0;
	overflow: hidden;
	background: var(--nfcr-navy);
}
.nfcr-cards--overlay .nfcr-card__media { position: absolute; inset: 0; display: block; }
.nfcr-cards--overlay .nfcr-card__photo { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nfcr-cards--overlay .nfcr-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, var(--nfcr-fade-strong) 0%, var(--nfcr-fade-soft) 65%);
}
.nfcr-cards--overlay .nfcr-card__body {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px;
}
.nfcr-cards--overlay .nfcr-card__body--stack { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; }
.nfcr-cards--overlay .nfcr-card__title { font-size: var(--nfcr-fs-h3-lg); line-height: 1.25; letter-spacing: -.02em; color: #fff; }
.nfcr-cards--overlay .nfcr-card__text { flex: 0 1 auto; margin-top: 6px; font-size: var(--nfcr-fs-small); line-height: 1.5; color: var(--nfcr-on-dark-strong); }
.nfcr-cards--overlay .nfcr-card__cta { margin: 0; font-size: var(--nfcr-fs-ui); color: var(--nfcr-orange-on-navy); }
.nfcr-cards--overlay a.nfcr-card:hover .nfcr-card__cta { color: #fff; }
.nfcr-cards--overlay .nfcr-card__circle { background: var(--nfcr-accent); width: 44px; height: 44px; }

/* ---- Responsive (last, so they beat the column rules above) ---- */
@media (max-width: 1280px) {
	.nfcr-cards--journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
	.nfcr-cards--journey::before { display: none; } /* the line only makes sense in one row */
}
@media (max-width: 1024px) {
	.nfcr-cards--jump,
	.nfcr-cards--next { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nfcr-cards--journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.nfcr-cards--jump,
	.nfcr-cards--journey,
	.nfcr-cards--next { grid-template-columns: minmax(0, 1fr); }
	.nfcr-cards--next .nfcr-card { min-height: 0; }
	.nfcr-cards--overlay .nfcr-card { min-height: 220px; }
}

/* Next-step cards: the divider + page name row has the same height on every card, so the dividers line up even when one page name wraps to two lines */
.nfcr-cards--next .nfcr-card__foot { min-height: 58px; box-sizing: content-box; }

/* Next-step cards on a navy panel (Cancer Information 06): the navy card becomes a soft-white outlined one so it stays visible */
.nfcr-panel--dark .nfcr-cards--next .nfcr-card--dark { background: var(--nfcr-on-dark-wash); box-shadow: inset 0 0 0 1px var(--nfcr-on-dark-line); }

/* ==========================================================================
   0.9.22 Home layouts: Fund, Voice, Tile
   ========================================================================== */

/* ---- Fund (Research happening now): photo + area badge + full-width orange button; Navy = General Research Fund card ---- */
.nfcr-cards--fund { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nfcr-cards--fund .nfcr-card { gap: 0; min-height: 0; padding: 0; overflow: hidden; }
.nfcr-cards--fund .nfcr-card__media {
	position: relative;
	display: block;
	flex-shrink: 0;
	height: 170px;
	background: var(--nfcr-navy);
}
.nfcr-cards--fund .nfcr-card__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.nfcr-cards--fund .nfcr-card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 5px 13px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: var(--nfcr-r-chip);
	background: rgba(255, 255, 255, .16);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	font-size: var(--nfcr-fs-label);
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
}
.nfcr-cards--fund .nfcr-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 22px 26px 26px;
}
.nfcr-cards--fund .nfcr-card__title { font-size: var(--nfcr-fs-h3-lg); line-height: 1.25; letter-spacing: -.02em; }
.nfcr-cards--fund .nfcr-card__text { margin-bottom: 10px; color: var(--nfcr-text-2); }
.nfcr-cards--fund .nfcr-card__action { display: block; margin-top: auto; }
.nfcr-cards--fund .nfcr-card__action .nfcr-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; text-align: center; }
.nfcr-cards--fund .nfcr-card__action .nfcr-btn svg { flex-shrink: 0; }

/* Navy General Research Fund card */
.nfcr-cards--fund .nfcr-card--dark .nfcr-card__body { padding: 28px; gap: 12px; }
.nfcr-cards--fund .nfcr-card--dark .nfcr-card__title { font-size: var(--nfcr-fs-h2-sm); line-height: 1.15; letter-spacing: -.03em; margin-top: 6px; }
.nfcr-cards--fund .nfcr-card--dark .nfcr-card__text { color: var(--nfcr-on-dark-soft); }
.nfcr-cards--fund .nfcr-card__pill {
	align-self: flex-start;
	padding: 6px 14px;
	border: 1.5px solid var(--nfcr-accent);
	border-radius: var(--nfcr-r-chip);
	font-size: var(--nfcr-fs-label);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #fff;
}
.nfcr-cards--fund .nfcr-card__fund { display: block; margin-bottom: 8px; }
.nfcr-cards--fund .nfcr-card__fund-text { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: var(--nfcr-fs-small); font-weight: 600; line-height: 1.4; }
.nfcr-cards--fund .nfcr-card__fund-raised { color: #fff; }
.nfcr-cards--fund .nfcr-card__fund-share { color: var(--nfcr-on-dark-soft); text-align: right; }
.nfcr-cards--fund .nfcr-card--dark .nfcr-card__bar { display: block; height: 8px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, .15); }
.nfcr-cards--fund .nfcr-card--dark .nfcr-card__bar-fill { display: block; width: var(--nfcr-progress, 0%); height: 100%; border-radius: 8px; background: var(--nfcr-accent); }
.nfcr-cards a.nfcr-card--dark:hover .nfcr-btn--white { background: var(--nfcr-surface); color: var(--nfcr-orange) !important; }
.nfcr-cards a.nfcr-card:hover .nfcr-btn--primary { background: var(--nfcr-orange-hover); }
@media (max-width: 1024px) { .nfcr-cards--fund { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.nfcr-cards--fund { grid-template-columns: minmax(0, 1fr); }
	.nfcr-cards--fund .nfcr-card--dark .nfcr-card__body { padding: 24px 22px; }
}

/* ---- Voice (The people on both sides of the research) ---- */
.nfcr-cards--voice { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nfcr-cards--voice .nfcr-card { margin: 0; gap: 0; min-height: 0; padding: 28px; }
.nfcr-cards--voice .nfcr-card__chip {
	align-self: flex-start;
	margin-bottom: 16px;
	padding: 6px 14px;
	border-radius: var(--nfcr-r-chip);
	background: var(--nfcr-surface);
	font-size: var(--nfcr-fs-label);
	font-weight: 600;
	line-height: 1.4;
	color: var(--nfcr-navy);
}
.nfcr-cards--voice .nfcr-card__quote { flex: 1; margin: 0; padding: 0; border: 0; background: none; }
.nfcr-cards--voice .nfcr-card__quote p {
	margin: 0;
	font-size: var(--nfcr-fs-body);
	font-weight: 500;
	line-height: 1.6;
	color: var(--nfcr-navy);
}
.nfcr-cards--voice .nfcr-card__author { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding: 0; }
.nfcr-cards--voice .nfcr-card__avatar-wrap {
	position: relative;
	display: block;
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--nfcr-surface);
}
.nfcr-cards--voice .nfcr-card__avatar-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nfcr-cards--voice .nfcr-card__initials {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--nfcr-navy);
	font-size: var(--nfcr-fs-small);
	font-weight: 600;
	letter-spacing: .5px;
	color: #fff;
}
.nfcr-cards--voice .nfcr-card__who { display: flex; flex-direction: column; min-width: 0; }
.nfcr-cards--voice .nfcr-card__name { font-size: var(--nfcr-fs-body); font-weight: 600; line-height: 1.4; color: var(--nfcr-navy); }
.nfcr-cards--voice .nfcr-card__role { font-size: var(--nfcr-fs-label); font-weight: 500; line-height: 1.4; color: var(--nfcr-text-2); }
@media (max-width: 1024px) { .nfcr-cards--voice { grid-template-columns: minmax(0, 1fr); } }

/* ---- Tile (Cancer information: five tiles in a row) ---- */
.nfcr-cards--tile { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.nfcr-cards--tile .nfcr-card { gap: 0; min-height: 0; padding: 22px 20px; }
.nfcr-cards--tile .nfcr-card__icon { display: inline-flex; margin-bottom: 12px; color: var(--nfcr-accent); }
.nfcr-cards--tile .nfcr-card__title { margin-bottom: 6px; font-size: var(--nfcr-fs-ui); line-height: 1.3; letter-spacing: -.01em; transition: color .15s ease; }
.nfcr-cards--tile .nfcr-card__text { flex: 0; font-size: var(--nfcr-fs-meta); line-height: 1.5; color: var(--nfcr-text-2); }
.nfcr-cards--tile a.nfcr-card:hover .nfcr-card__title,
.nfcr-cards--tile a.nfcr-card:focus-visible .nfcr-card__title { color: var(--nfcr-orange); }
@media (max-width: 1280px) { .nfcr-cards--tile { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .nfcr-cards--tile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .nfcr-cards--tile { grid-template-columns: minmax(0, 1fr); } }

.nfcr-cards--voice .nfcr-card__quote, .nfcr-cards--voice .nfcr-card__quote p { font-style: italic; } /* client preference: quotes in italics */

/* ---- Latest (Home: What's new) ---- */
.nfcr-cards--latest { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; }
.nfcr-cards--latest .nfcr-card { position: relative; gap: 0; min-height: 340px; padding: 0; overflow: hidden; background: var(--nfcr-navy); }
.nfcr-cards--latest .nfcr-card:only-child { grid-column: 1 / -1; }
.nfcr-cards--latest .nfcr-card__media { position: absolute; inset: 0; display: block; background: var(--nfcr-navy); }
.nfcr-cards--latest .nfcr-card__photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nfcr-cards--latest .nfcr-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--nfcr-navy) 82%, transparent)); }
.nfcr-cards--latest .nfcr-card__body { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.nfcr-cards--latest .nfcr-card__glass {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 13px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: var(--nfcr-r-chip);
	background: rgba(255, 255, 255, .16);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	font-size: var(--nfcr-fs-label);
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
}
.nfcr-cards--latest .nfcr-card__title { font-size: var(--nfcr-fs-h3-xl); line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.nfcr-cards--latest .nfcr-card__line { display: block; margin-top: 6px; font-size: var(--nfcr-fs-small); font-weight: 500; line-height: 1.5; color: rgba(255, 255, 255, .92); }
/* Navy text card */
.nfcr-cards--latest .nfcr-card--dark .nfcr-card__body { position: static; flex: 1; align-items: stretch; gap: 12px; padding: 30px; }
.nfcr-cards--latest .nfcr-card--dark .nfcr-card__title { margin-top: 4px; }
.nfcr-cards--latest .nfcr-card--dark .nfcr-card__text { flex: 1; color: var(--nfcr-on-dark-soft); }
.nfcr-cards--latest .nfcr-card__pill {
	align-self: flex-start;
	padding: 5px 13px;
	border: 1.5px solid var(--nfcr-accent);
	border-radius: var(--nfcr-r-chip);
	font-size: var(--nfcr-fs-label);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #fff;
}
.nfcr-cards--latest .nfcr-card__action { display: block; margin-top: 6px; }
.nfcr-cards a.nfcr-card:hover .nfcr-btn--white { background: var(--nfcr-surface); }
@media (max-width: 1024px) { .nfcr-cards--latest { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
	.nfcr-cards--latest .nfcr-card { min-height: 300px; }
	.nfcr-cards--latest .nfcr-card--dark { min-height: 0; }
	.nfcr-cards--latest .nfcr-card--dark .nfcr-card__body { padding: 24px 22px; }
}

/* ---- Statement layout (0.9.25, Who We Are: Our mission / Our vision) ---- */
.nfcr-cards.nfcr-cards--statement { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nfcr-cards--statement .nfcr-card { gap: 0; min-height: 0; padding: 44px 46px; border-radius: var(--nfcr-r-section); }
.nfcr-cards--statement .nfcr-card__title {
	margin: 0 0 16px;
	font-size: var(--nfcr-fs-label);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--nfcr-orange);
}
.nfcr-cards--statement .nfcr-card--dark .nfcr-card__title { color: var(--nfcr-orange-soft); }
.nfcr-cards--statement .nfcr-card__text { flex: 0 1 auto; margin: 0; font-size: var(--nfcr-fs-statement); line-height: 1.65; color: var(--nfcr-navy); text-wrap: pretty; }
.nfcr-cards--statement .nfcr-card--dark .nfcr-card__text { color: #fff; }
@media (max-width: 767px) {
	.nfcr-cards.nfcr-cards--statement { grid-template-columns: minmax(0, 1fr); }
	.nfcr-cards--statement .nfcr-card { padding: 30px 24px; }
}

/* ---- Portrait layout (0.9.25, Who We Are: team): tall photo, orange role, name, bio; no card ---- */
.nfcr-cards--portrait.nfcr-cards--cols-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nfcr-cards--portrait { gap: 20px; }
.nfcr-cards--portrait .nfcr-card { gap: 0; min-height: 0; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.nfcr-cards--portrait .nfcr-card__portrait,
.nfcr-cards--portrait .nfcr-card:not(:has(.nfcr-card__portrait))::before {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	margin-bottom: 18px;
	border-radius: var(--nfcr-r-card);
	object-fit: cover;
	background: #E3E8F2;
}
.nfcr-cards--portrait .nfcr-card:not(:has(.nfcr-card__portrait))::before { content: ""; }
.nfcr-cards--portrait .nfcr-card__title { margin-top: 6px; font-size: 19px; line-height: 1.3; letter-spacing: -.3px; text-wrap: balance; }
.nfcr-cards--portrait .nfcr-card__text { flex: 0 1 auto; margin: 8px 0 0; font-size: var(--nfcr-fs-small); line-height: 1.62; color: var(--nfcr-text-2); }
@media (max-width: 1024px) { .nfcr-cards--portrait.nfcr-cards--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .nfcr-cards--portrait.nfcr-cards--cols-4 { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   0.9.32: several links on one card (Separate / Joined / People). The card is a plain box; each link is its own CTA.
   ========================================================================== */
.nfcr-cards .nfcr-card__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: auto;
	padding-top: 6px;
}
.nfcr-cards .nfcr-card__ctas .nfcr-card__cta {
	display: inline-flex;
	align-items: center;
	margin-top: 0;
	text-decoration: none !important;
}
.nfcr-cards .nfcr-card__ctas .nfcr-card__cta:hover,
.nfcr-cards .nfcr-card__ctas .nfcr-card__cta:focus-visible { color: var(--nfcr-navy); }
.nfcr-cards .nfcr-card--dark .nfcr-card__ctas .nfcr-card__cta:hover,
.nfcr-cards .nfcr-card--dark .nfcr-card__ctas .nfcr-card__cta:focus-visible { color: var(--nfcr-orange-soft); }
