/* Dementia League — components: cards, carousel, donation bar, team grid,
   social links, footer, hero, mission cards, CTA band, news grid, single post. */

/* ---------- Cards ---------- */
.dl-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--dl-radius-card);
	box-shadow: var(--dl-shadow-card);
	overflow: hidden;
}
.dl-card > * + * { margin-block-start: 0; }
.dl-card__media, .dl-card__media a { display: block; margin: 0; }
.dl-card .dl-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--dl-radius-card) var(--dl-radius-card) 0 0;
}
.dl-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
}
.dl-card__body > * { margin: 0; }
.dl-card .dl-card__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--heading-4);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.dl-card__title a { color: var(--wp--preset--color--ink); text-decoration: none; }
/* The title link covers the whole card, so the card is one big tap target. */
.dl-card__title a::after { content: ""; position: absolute; inset: 0; }
.dl-card .dl-card__link { position: relative; }
.dl-card__title a:hover, .dl-card__title a:focus-visible {
	color: var(--wp--preset--color--navy-dark);
	text-decoration: underline;
	text-underline-offset: .15em;
}
.dl-card__excerpt, .dl-card__excerpt p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--wp--preset--color--ink-soft); }
.dl-card .dl-card__link { margin-top: auto; padding-top: 4px; }


/* ---------- Carousel (plugin markup, theme styles) ---------- */
.dl-carousel { margin-block: 0; }
.dl-carousel .dl-carousel__heading { color: var(--wp--preset--color--navy); }
.dl-carousel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.dl-carousel__heading { margin: 0; font-size: var(--wp--preset--font-size--heading-2); }
.dl-carousel__track { scroll-padding-inline: 0; }
.dl-carousel__nav { display: none; gap: 8px; flex: 0 0 auto; }
@media (min-width: 640px) { .dl-carousel__nav { display: flex; } }
.dl-carousel__nav[hidden] { display: none; }
.dl-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 50%;
	cursor: pointer;
	transition: color .15s ease, border-color .15s ease;
}
.dl-carousel__btn svg { width: 24px; height: 24px; fill: currentColor; }
.dl-carousel__btn:hover { color: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); }
.dl-carousel__btn:disabled { opacity: .35; cursor: default; color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--line); }
.dl-carousel__track {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 4px 0 8px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.dl-carousel__item { display: flex; flex: 0 0 88%; margin: 0; scroll-snap-align: start; }
@media (min-width: 640px) { .dl-carousel__item { flex-basis: calc((100% - 20px) / 2); } }
.dl-carousel__item > .dl-card { width: 100%; }
.dl-carousel__all { margin: 16px 0 0; }
@media (min-width: 900px) {
	.dl-carousel__item { flex-basis: calc((100% - 60px) / 4); }
}
@media (prefers-reduced-motion: reduce) {
	.dl-carousel__track { scroll-behavior: auto; }
}

/* ---------- Donation bar ---------- */
body.dl-has-donation-bar { padding-bottom: var(--dl-donation-bar-h, 0px); }
.dl-donation-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 60;
	color: var(--wp--preset--color--paper);
	background: var(--wp--preset--color--navy);
	box-shadow: 0 -2px 12px rgba(26, 26, 26, .18);
}
.dl-donation-bar[hidden], .dl-donation-bar-hidden .dl-donation-bar { display: none; }
.dl-donation-bar :focus-visible { outline-color: var(--wp--preset--color--amber); }
.dl-donation-bar__inner {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 8px 8px 14px;
}
.dl-donation-bar__text {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 12px;
	flex: 1 1 auto;
	min-width: 0;
}
.dl-donation-bar__heart {
	grid-row: 1 / 3;
	width: 40px;
	height: 40px;
	padding: 9px;
	color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--paper);
	border-radius: 50%;
}
.dl-donation-bar__title, .dl-donation-bar__sub { margin: 0; color: var(--wp--preset--color--paper); }
.dl-donation-bar__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: .8125rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.dl-donation-bar__cta-long { display: none; }
@media (max-width: 479px) {
	.dl-donation-bar__heart { display: none; }
	.dl-donation-bar__text { grid-template-columns: 1fr; }
	/* Small phones: sans-serif, normal case is ~30% narrower than the uppercase serif and still reads as the brand voice. */
	.dl-donation-bar__title { font-family: var(--wp--preset--font-family--sans); font-size: .9375rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
}
@media (min-width: 480px) {
	.dl-donation-bar__cta-long { display: inline; }
	.dl-donation-bar__cta-short { display: none; }
}
@media (min-width: 480px) {
	.dl-donation-bar__title { font-size: .9375rem; }
}
.dl-donation-bar__sub { display: none; font-size: .9375rem; line-height: 1.3; }
.dl-donation-bar__amounts { display: none; align-items: center; gap: 8px; }
.dl-donation-bar__amount, .dl-donation-bar__freq {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--paper);
	background: transparent;
	border: 2px solid rgba(255, 255, 255, .85);
	border-radius: var(--dl-radius-button);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease;
}
.dl-donation-bar__amount { min-width: 88px; }
.dl-donation-bar__amount:hover, .dl-donation-bar__amount:focus-visible {
	color: var(--wp--preset--color--paper);
	background: var(--wp--preset--color--navy-dark);
	border-color: var(--wp--preset--color--paper);
}
.dl-donation-bar__amount[aria-current] { color: var(--wp--preset--color--navy); background: var(--wp--preset--color--paper); }
.dl-donation-bar__freq { gap: 10px; cursor: pointer; user-select: none; }
.dl-donation-bar__freq input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--wp--preset--color--paper);
	cursor: pointer;
}
.dl-donation-bar__freq.is-checked, .dl-donation-bar__freq:has(input:checked) {
	color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--paper);
}
.dl-donation-bar .dl-donation-bar__cta {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 14px;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--amber);
	border-radius: var(--dl-radius-button);
	white-space: nowrap;
}
.dl-donation-bar .dl-donation-bar__cta:hover, .dl-donation-bar .dl-donation-bar__cta:focus-visible {
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--amber-dark);
}
.dl-donation-bar__close {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 28px;
	line-height: 1;
	color: var(--wp--preset--color--paper);
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
.dl-donation-bar__close:hover { background: rgba(255, 255, 255, .15); }
@media (min-width: 900px) {
	.dl-donation-bar__inner { gap: 24px; padding: 14px 40px; }
	.dl-donation-bar__heart { width: 48px; height: 48px; padding: 11px; }
	.dl-donation-bar__title { font-size: 1.25rem; }
	.dl-donation-bar__sub, .dl-donation-bar__amounts { display: flex; }
	.dl-donation-bar .dl-donation-bar__cta { padding: 0 26px; font-size: 1rem; }
}

/* ---------- Social links ---------- */
.dl-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dl-social-links li { margin: 0; }
.dl-social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 50%;
	text-decoration: none;
	transition: color .15s ease, border-color .15s ease;
}
.dl-social-links a:hover, .dl-social-links a:focus-visible { color: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); }
.dl-social-links svg { width: 22px; height: 22px; fill: currentColor; }
.dl-social-links--light a { color: var(--wp--preset--color--paper); background: transparent; border-color: rgba(255, 255, 255, .6); }
.dl-social-links--light a:hover, .dl-social-links--light a:focus-visible {
	color: var(--wp--preset--color--paper);
	background: rgba(255, 255, 255, .15);
	border-color: var(--wp--preset--color--paper);
}

/* ---------- Newsletter band (every page, above the footer) ---------- */
.dl-newsletter { text-align: center; background: var(--wp--preset--color--page); border-top: 1px solid var(--wp--preset--color--line); }
.dl-newsletter > * { margin-left: auto; margin-right: auto; }
.dl-newsletter h2 { margin: 0 0 8px; color: var(--wp--preset--color--navy); }
.dl-newsletter p { margin: 0 0 20px; }
.dl-newsletter .wp-block-shortcode, .dl-newsletter .dl-stub, .dl-newsletter form { max-width: 520px; margin-left: auto; margin-right: auto; text-align: left; }

/* ---------- Newsletter signup form (plugin block dl/newsletter-form) ---------- */
.dl-signup { max-width: 520px; margin: 0 auto; text-align: left; }
.dl-signup__row { display: flex; flex-direction: column; gap: 10px; }
.dl-signup__field { flex: 1 1 auto; min-width: 0; }
.dl-signup__label { display: block; font-weight: 600; margin: 0 0 8px; color: var(--wp--preset--color--ink); }
.dl-signup input[type="email"] { width: 100%; }
.dl-signup__button {
	background: var(--wp--preset--color--amber);
	color: var(--wp--preset--color--navy-dark);
	border: 0;
	border-radius: var(--dl-radius-button);
	font-weight: 700;
	padding: 0 24px;
	min-height: 48px;
	width: 100%;
}
.dl-signup__button:hover, .dl-signup__button:focus-visible { background: var(--wp--preset--color--amber-dark); color: var(--wp--preset--color--navy-dark); }
.dl-signup__button[disabled] { opacity: .7; cursor: wait; }
.dl-signup__honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.dl-signup__turnstile { margin-top: 12px; }
.dl-signup__status { margin: 12px 0 0; font-size: 1rem; font-weight: 600; }
.dl-signup__status:empty { display: none; }
.dl-signup__status.is-ok { color: var(--wp--preset--color--navy); }
.dl-signup__status.is-error { color: #B42318; }
@media (min-width: 640px) {
	.dl-signup__row { flex-direction: row; align-items: flex-end; }
	.dl-signup__button { width: auto; }
}

/* The full form (page "Sign up", block attribute mode="full") */
.dl-signup--full { max-width: 640px; margin: 0; }
.dl-signup--full .dl-signup__field { margin-bottom: 20px; }
.dl-signup--full input[type="text"], .dl-signup--full input[type="email"], .dl-signup__select { width: 100%; }
.dl-signup__optional { font-weight: 400; color: var(--wp--preset--color--ink-soft); }
.dl-signup__fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.dl-signup__legend { display: block; font-weight: 600; margin: 0 0 12px; padding: 0; color: var(--wp--preset--color--ink); }
.dl-signup__checks { display: grid; grid-template-columns: 1fr; gap: 8px; }
.dl-signup__check {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 12px 14px; border: 1px solid var(--wp--preset--color--line); border-radius: var(--dl-radius-button);
	background: var(--wp--preset--color--paper); cursor: pointer; line-height: 1.4;
}
.dl-signup__check:hover { border-color: var(--wp--preset--color--navy); }
.dl-signup__check:has(input:checked) { border-color: var(--wp--preset--color--navy); background: var(--wp--preset--color--blue-tint); }
.dl-signup__check input { flex: 0 0 auto; margin: 1px 0 0; }
.dl-signup__note { margin: 14px 0 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-soft); }
.dl-signup__more { display: inline-block; margin-top: 4px; font-weight: 600; }
.dl-signup__stub { text-align: center; margin: 0; }
.dl-newsletter:has(.dl-signup__stub) .dl-newsletter__more { display: none; }
@media (min-width: 640px) {
	.dl-signup__name { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
	.dl-signup__checks { grid-template-columns: 1fr 1fr; }
	.dl-signup--full .dl-signup__button { min-width: 280px; }
}

/* ---------- Footer (navy) ---------- */
.dl-footer { color: var(--wp--preset--color--paper); }
.dl-footer :is(h1, h2, h3, p, li) { color: var(--wp--preset--color--paper); }
.dl-footer :focus-visible { outline-color: var(--wp--preset--color--amber); }
.dl-footer__columns { gap: 32px; }
.dl-footer .dl-footer__emblem { margin: 0 auto 28px; text-align: center; }
.dl-footer__emblem img { width: 140px; height: auto; border-radius: 0; margin: 0 auto; }
.dl-footer__mission { max-width: 36ch; }
.dl-footer .dl-footer__heading { margin: 0 0 12px; font-size: var(--wp--preset--font-size--heading-4); }
.dl-footer .dl-footer__links { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }

.dl-footer .dl-footer__links li { margin: 0; }
.dl-footer .dl-footer__links a { display: inline-block; padding: 10px 0; color: var(--wp--preset--color--paper); text-decoration: none; }
.dl-footer .dl-footer__links a:hover, .dl-footer .dl-footer__links a:focus-visible { text-decoration: underline; text-underline-offset: .15em; }
.dl-footer__contact a { display: inline-block; padding: 4px 0; color: var(--wp--preset--color--paper); }
.dl-footer__legal, .dl-footer__copyright { font-size: var(--wp--preset--font-size--small); line-height: 1.5; }
.dl-footer .dl-footer__signup > * { margin-left: 0; }
.dl-footer .dl-footer__contact p { margin: 0 0 8px; }
.dl-footer .dl-footer__bottom {
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--20);
	border-top: 1px solid rgba(255, 255, 255, .25);
}
.dl-footer__bottom p { margin: 0; }
.dl-footer .dl-footer__columns { gap: 28px; }

/* ---------- Hero (pale band; photo first on phones) ---------- */
.dl-hero { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--ink); }
.dl-hero .dl-hero__title {
	margin: 0 0 16px;
	font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.5rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--navy);
	overflow-wrap: normal;
	text-wrap: balance;
}
.dl-hero .dl-hero__lead { margin: 0 0 28px; max-width: 34ch; font-size: var(--wp--preset--font-size--lead); line-height: 1.5; color: var(--wp--preset--color--ink-soft); }
.dl-hero .dl-hero__buttons { margin: 0; gap: 12px 16px; }
.dl-hero .dl-hero__buttons .wp-block-button__link { padding-left: 24px; padding-right: 24px; }
.dl-hero .dl-hero__buttons .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--wp--preset--color--navy);
	background: transparent;
	border: 1.5px solid var(--wp--preset--color--navy);
}
.dl-hero__image { margin: 0; }
.dl-hero__image img { display: block; width: 100%; border-radius: var(--dl-radius-image); }
@media (max-width: 781px) {
	.dl-hero .dl-hero__columns { gap: 0; }
	.dl-hero .dl-hero__media { order: -1; padding: 0 0 24px; }
	.dl-hero .dl-hero__image img { aspect-ratio: 3 / 2; object-fit: cover; }
}
/* Sections alternate: hero (pale) → values (white) → findings (pale) → CTA (navy) → signup (white) → footer (navy). */
.dl-carousel { padding-top: var(--wp--preset--spacing--40); padding-bottom: var(--wp--preset--spacing--40); background: var(--wp--preset--color--mist); box-shadow: 0 0 0 100vmax var(--wp--preset--color--mist); clip-path: inset(0 -100vmax); }

/* ---------- Value strip (icon + title + line) ---------- */
.dl-values { padding-top: 8px; padding-bottom: 8px; }
.dl-values .dl-values__list { display: grid; grid-template-columns: 1fr; margin: 0; }
.dl-value { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.dl-values__list > :last-child .dl-value { border-bottom: 0; }
.dl-value__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--blue-tint);
	border-radius: 50%;
}
.dl-value__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dl-value__title { margin: 0 0 2px; font-family: var(--wp--preset--font-family--sans); font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--wp--preset--color--ink); }
.dl-value__text { margin: 0; font-size: 1.0625rem; line-height: 1.45; color: var(--wp--preset--color--ink-soft); }
@media (min-width: 900px) {
	.dl-values { padding-top: 16px; padding-bottom: 16px; }
	.dl-values .dl-values__list { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
	.dl-value { padding: 24px 24px 24px 0; border-bottom: 0; border-right: 1px solid var(--wp--preset--color--line); }
	.dl-values__list > :last-child .dl-value { border-right: 0; }
}

/* ---------- CTA band ---------- */
.dl-cta-band :is(h1, h2, h3, p) { color: var(--wp--preset--color--paper); }
.dl-cta-band a:not(.wp-block-button__link), .dl-cta-band .dl-arrow-link { color: var(--wp--preset--color--paper); }
.dl-cta-band .dl-arrow-link:hover, .dl-cta-band .dl-arrow-link:focus-visible { color: var(--wp--preset--color--amber); }
.dl-cta-band :focus-visible { outline-color: var(--wp--preset--color--paper); }
.dl-cta-band :focus-visible { outline-color: var(--wp--preset--color--amber); }
.dl-cta-band .dl-cta-band__secondary { margin-top: 8px; }

/* ---------- Page intro / news grid ---------- */
.dl-page-intro .dl-lead { margin-top: 8px; }
.dl-topics .dl-eyebrow { margin: 0 0 12px; font-family: var(--wp--preset--font-family--sans); }
.dl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dl-chips li { margin: 0; }
.dl-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	text-decoration: none;
}
.dl-chips a:hover, .dl-chips a:focus-visible { color: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); }
.dl-chips .current-cat > a {
	color: var(--wp--preset--color--paper);
	background: var(--wp--preset--color--navy);
	border-color: var(--wp--preset--color--navy);
}
.dl-news .dl-news__grid > .wp-block-post { margin: 0; min-width: 0; }
.dl-news .dl-pagination { margin-top: var(--wp--preset--spacing--40); font-weight: 600; }
.dl-news .dl-pagination a, .dl-news .dl-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: var(--dl-radius-button);
	text-decoration: none;
}
.dl-news .dl-pagination a:hover, .dl-news .dl-pagination a:focus-visible { background: var(--wp--preset--color--blue-tint); }
.dl-news .dl-pagination .page-numbers.current { color: var(--wp--preset--color--paper); background: var(--wp--preset--color--navy); }
.dl-search .wp-block-search__inside-wrapper { max-width: 560px; }

/* ---------- Single post ---------- */
.dl-single__header > * + * { margin-block-start: 12px; }
.dl-single .wp-block-post-title { margin: 0; }
.dl-single__meta { gap: 12px; color: var(--wp--preset--color--ink-soft); }
.dl-single__meta > * { margin: 0; }
.dl-single__meta > * + *::before { content: "·"; margin-right: 12px; }
.dl-single .dl-single__image { margin-top: 24px; }
.dl-single .dl-single__share {
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--line);
}
.dl-single__share h2 { margin: 0; }
.dl-more { padding-top: var(--wp--preset--spacing--40); }
.dl-more > h2 { margin-bottom: 20px; }
@media (min-width: 900px) {
	.dl-single .dl-single__image { margin-top: 32px; }
}

/* ---------- Team grid (centered band) ---------- */
.dl-team { text-align: center; }
.dl-team > h2 { margin: 0 0 8px; color: var(--wp--preset--color--navy); }
.dl-team > p { margin: 0 0 24px; }
.dl-team .dl-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; justify-content: center; }
@media (min-width: 640px) {
	.dl-team .dl-team-grid { grid-template-columns: repeat(auto-fit, minmax(12rem, 13.5rem)); gap: 16px; }
}
.dl-team-card {
	padding: 12px;
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--dl-radius-card);
}
@media (min-width: 640px) { .dl-team-card { padding: 16px; } }
.dl-team-card > * { margin: 0; }
.dl-team-card .dl-team-card__photo { margin: 0 0 12px; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--wp--preset--color--mist); }
.dl-team-card .dl-team-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.dl-team-card .dl-team-card__name { margin-bottom: 4px; font-family: var(--wp--preset--font-family--sans); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.dl-team-card .dl-team-card__role { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--blue); }
.dl-team-card .dl-team-card__org { margin-top: 6px; font-size: 1rem; color: var(--wp--preset--color--ink-soft); }
.dl-team > h3 { margin: 32px 0 12px; color: var(--wp--preset--color--navy); }

/* ---------- Panels (tinted blocks, e.g. Contact) ---------- */
.dl-panel { padding: 24px; background: var(--wp--preset--color--mist); border: 1px solid var(--wp--preset--color--line); border-radius: var(--dl-radius-card); }
.dl-panel > :first-child { margin-top: 0; }
body.dl-page-contact .dl-page-header .wp-block-post-title { text-align: center; }

/* ---------- Share the registry ---------- */
.dl-share { align-items: center; }
.dl-share .dl-share__qr img { width: 160px; height: 160px; border: 1px solid var(--wp--preset--color--line); border-radius: 8px; background: #fff; }

/* ---------- Page and post titles ---------- */
.dl-page-header .wp-block-post-title, .dl-single .wp-block-post-title, .dl-news h1, .dl-page-intro h1 { color: var(--wp--preset--color--navy); }

/* ---------- Get help: strip under the hero, cards on the Get help page ---------- */
.dl-help-strip { background: var(--wp--preset--color--blue-tint); border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); padding: 14px var(--dl-gutter, 20px); }
.dl-help-strip__text { margin: 0; color: var(--wp--preset--color--navy); font-size: var(--wp--preset--font-size--small); line-height: 1.5; }
.dl-help-strip__text .dl-arrow-link { white-space: nowrap; font-weight: 700; }
.dl-help-card { margin-bottom: 24px; }
.dl-help-card--primary { border: 2px solid var(--wp--preset--color--navy); }
.dl-help-card .dl-eyebrow { margin: 0 0 6px; }
.dl-help-card h2 { margin-top: 0; }
.dl-help-card .wp-block-buttons { margin: 16px 0; }
.dl-call-button .wp-block-button__link { font-size: 1.25rem; min-height: 56px; }
.dl-help-card__note { color: var(--wp--preset--color--ink-soft); margin-bottom: 0; }
.dl-footer__help { margin-top: 16px; }
.dl-callout { background: var(--wp--preset--color--blue-tint); border-left: 4px solid var(--wp--preset--color--navy); border-radius: 8px; padding: 14px 18px; margin: 0 0 28px; }
.dl-callout p { margin: 0; }

/* ---------- WPForms (contact form): the Submit button is an amber house button ---------- */
.wpforms-form button.wpforms-submit,
.wpforms-form input[type="submit"].wpforms-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.9rem 1.5rem;
	border: 0;
	border-radius: 8px;
	/* WPForms writes its own colours as inline variables on the container; these must win. */
	background: var(--wp--preset--color--amber) !important;
	color: var(--wp--preset--color--navy-dark) !important;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
}
.wpforms-form button.wpforms-submit:hover,
.wpforms-form button.wpforms-submit:focus,
.wpforms-form input[type="submit"].wpforms-submit:hover,
.wpforms-form input[type="submit"].wpforms-submit:focus {
	background: var(--wp--preset--color--amber-dark) !important;
	color: var(--wp--preset--color--navy-dark) !important;
}
.wpforms-form .wpforms-field-label { font-weight: 600; }
