/*
 * Tile layout (the design chosen in October 2026): pale page, white rounded tiles,
 * one purple registry tile, navy footer. Loaded after components.css and wins on purpose.
 */
:root {
	--dl-pale: #E3EAF4; /* page ground: a touch deeper than the tiles' inner panels so white tiles stand out */
	--dl-panel: #F3F6FB;
	--dl-purple: #6B57C4;
	--dl-purple-dark: #4F3DA3;
	--dl-line: #E1E8F2;
	--dl-tile-radius: 20px;
	--dl-tile-shadow: 0 1px 2px rgba(16, 36, 74, .04), 0 10px 28px rgba(16, 36, 74, .06);
}
body { background: var(--dl-pale); }
html body { --wp--style--root--padding-left: 16px; --wp--style--root--padding-right: 16px; }

/* ---- header: smaller mark, bigger stacked wordmark, amber Donate ---- */
.dl-header { background: #fff; border-bottom: 1px solid #E3EAF4; }
.dl-header .dl-header__inner { min-height: 72px; gap: 10px; }
.dl-header .dl-header__brand { gap: 8px; }
.dl-header .dl-header__logo { margin: 0; }
.dl-header .dl-header__logo img { height: 42px; width: auto; display: block; }
.dl-header .dl-header__title { margin: 0; font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 20px; line-height: 1.05; font-weight: 600; letter-spacing: -.02em; }
.dl-header .dl-header__title a { color: var(--wp--preset--color--navy); text-decoration: none; display: inline-flex; flex-direction: column; }
.dl-header .dl-header__title a span { white-space: nowrap; }
.dl-header .dl-header__actions { gap: 10px; }
.dl-header .dl-header__donate { margin: 0; }
.dl-header .dl-header__donate .wp-block-button__link { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy); font-weight: 700; font-size: 17px; min-height: 48px; padding: 10px 16px; border-radius: 10px; white-space: nowrap; }
.dl-header .dl-header__donate .wp-block-button__link:hover { background: #E3981B; }
.dl-header .wp-block-navigation .wp-block-navigation-item__content { font-weight: 600; position: relative; }
.dl-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--navy); font-weight: 700; }
.dl-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 2px; background: var(--wp--preset--color--amber); }
.dl-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--navy); border-left: 4px solid var(--wp--preset--color--amber); padding-left: 10px; }
.dl-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content::after { display: none; }
.dl-header .wp-block-navigation__responsive-container-open { border: 1.5px solid var(--wp--preset--color--navy); border-radius: 10px; width: 44px; height: 44px; justify-content: center; }
.dl-header .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .dl-header .dl-header__logo img { height: 48px; } .dl-header .dl-header__title { font-size: 22px; } .dl-header .dl-header__donate { order: 2; margin-left: 6px; } }

/* ---- the stack ---- */
.dl-tiles { display: flex; flex-direction: column; gap: 18px; padding-top: 18px; padding-bottom: 40px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.dl-tiles > *, .dl-tiles .wp-block-post-content > * { margin: 0; width: 100%; max-width: none; min-width: 0; }
.dl-tiles > .wp-block-post-content { display: contents; }
.dl-tiles .wp-block-post-content > * { margin: 0; }
.dl-tiles .wp-block-post-content > * + * { margin-top: 18px; }
.dl-tile { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to bottom, #DCE5F2, #9FB3D3) border-box; border-radius: var(--dl-tile-radius); border: 1.5px solid transparent; box-shadow: 0 2px 4px rgba(16, 36, 74, .05), 0 14px 32px rgba(16, 36, 74, .10); padding: 22px 16px; margin: 0; }
.dl-tile > :first-child { margin-top: 0; }
.dl-tile > :last-child { margin-bottom: 0; }
.dl-tile h1 { font-size: 32px; line-height: 1.18; margin: 0 0 12px; color: var(--wp--preset--color--navy); letter-spacing: -.02em; }
.dl-tile h2 { font-size: 28px; line-height: 1.22; margin: 0 0 14px; color: var(--wp--preset--color--navy); letter-spacing: -.02em; }
.dl-tile h3 { font-size: 21px; margin: 18px 0 6px; color: var(--wp--preset--color--navy); }
.dl-tile p, .dl-tile li { font-size: 18px; line-height: 1.55; }
.dl-tile p { margin: 0 0 14px; }
.dl-tile ul, .dl-tile ol { margin: 0 0 14px; padding-left: 22px; }
.dl-tile .has-lead-font-size, .dl-tile .dl-lede { font-size: 19px; line-height: 1.5; }
.dl-tile figure { margin: 0 0 16px; }
.dl-tile img { border-radius: 12px; }
.dl-tile .wp-block-buttons { margin: 6px 0 14px; }
.dl-btn, .dl-tile .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 10px; border: 0; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; }
.dl-btn--amber, .dl-tile .wp-block-button__link { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy); }
.dl-btn--amber:hover, .dl-tile .wp-block-button__link:hover { background: #E3981B; color: var(--wp--preset--color--navy); }
.dl-btn--navy, .dl-tile .is-style-outline .wp-block-button__link { background: var(--wp--preset--color--navy); color: #fff; border: 0; }
.dl-btn--navy:hover, .dl-tile .is-style-outline .wp-block-button__link:hover { background: #082F70; color: #fff; }
.dl-tile .dl-call-button .wp-block-button__link { width: 100%; font-size: 20px; min-height: 56px; }
.dl-tile .wp-block-columns { gap: 18px; }
.dl-tile .dl-panel { background: var(--dl-panel); border-radius: 14px; padding: 16px; }
.dl-tile .dl-help-card { background: var(--dl-panel); border-radius: 14px; padding: 18px 16px; margin: 0 0 14px; }
.dl-tile .dl-help-card--primary { background: var(--wp--preset--color--navy); color: #fff; }
.dl-tile .dl-help-card--primary h2, .dl-tile .dl-help-card--primary .dl-eyebrow, .dl-tile .dl-help-card--primary a { color: #fff; }
.dl-tile .dl-help-card--primary .wp-block-button__link { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy); }
.dl-tile .dl-help-card--primary .dl-help-card__note, .dl-tile .dl-help-card--primary p { color: #E6EEFF; }
.dl-donation-bar { display: none !important; }

/* ---- home: hero ---- */
.dl-tile--hero { padding: 0; overflow: hidden; }
.dl-hero-photo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; background: #D5DEEC; }
.dl-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 35%; border-radius: 0; margin: 0; }
.dl-hero-caption { position: relative; z-index: 1; margin: 14px; padding: 16px 16px 14px; background: rgba(7, 24, 58, .9); border-radius: 14px; }
.dl-stat { margin: 0; color: #fff; font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 26px; line-height: 1.28; font-weight: 600; letter-spacing: -.02em; }
.dl-stat cite { font-style: normal; font-size: 17px; font-weight: 600; color: var(--wp--preset--color--amber); white-space: nowrap; letter-spacing: 0; margin-left: .35em; }
.dl-hero-copy { padding: 22px 18px 26px; }
.dl-hero-copy h1 { margin: 0; }
.dl-hero-copy .dl-lede { margin: 14px 0 0; max-width: 36em; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.dl-actions .dl-btn { flex: 1 1 200px; }
.dl-participant { margin: 16px 0 0; }
.dl-participant a { display: inline-block; min-height: 44px; padding: 8px 0; font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--wp--preset--color--navy); }

/* ---- home: donation tile ---- */
.dl-donate-layout { display: flex; flex-direction: column; gap: 16px; }
.dl-donate-layout h2 { margin: 0; }
.dl-impact { background: var(--wp--preset--color--navy); color: #fff; border-radius: 14px; padding: 16px 18px; }
.dl-impact__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--amber); }
.dl-impact__line { margin: 0; font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 21px; line-height: 1.3; color: #fff; }
.dl-impact__monthly { margin: 6px 0 0; font-size: 15px; color: #E6EEFF; }
.dl-impact.is-bump .dl-impact__line:not([hidden]) { animation: dl-impact-bump .35s ease-out; }
@keyframes dl-impact-bump { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dl-impact.is-bump .dl-impact__line:not([hidden]) { animation: none; } }
.dl-donate-controls { display: flex; flex-direction: column; gap: 14px; }
.dl-freq { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--dl-panel); border-radius: 12px; }
.dl-freq button { min-height: 48px; border: 0; border-radius: 9px; background: transparent; color: var(--wp--preset--color--navy); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.dl-freq button[aria-pressed="true"] { background: var(--wp--preset--color--navy); color: #fff; }
.dl-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dl-amount { min-height: 48px; border-radius: 10px; border: 1.5px solid #C9D4E6; background: #fff; color: var(--wp--preset--color--navy); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.dl-amount:hover { border-color: var(--wp--preset--color--navy); }
.dl-amount[aria-pressed="true"] { background: var(--wp--preset--color--navy); color: #fff; border-color: var(--wp--preset--color--navy); }
.dl-field { display: flex; flex-direction: column; gap: 6px; }
.dl-field label { font-weight: 600; font-size: 17px; color: var(--wp--preset--color--navy); }
.dl-field input { width: 100%; min-height: 48px; border: 1.5px solid #C5D0E2; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 17px; background: #fff; }
.dl-honor-box { border: 1.5px solid #D5DEEC; border-radius: 12px; padding: 12px 14px; }
.dl-check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; color: var(--wp--preset--color--navy); cursor: pointer; }
.dl-check input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--wp--preset--color--navy); margin: 0; }
.dl-honor-box .dl-field { margin-top: 12px; }
.dl-donate-controls .dl-btn { width: 100%; max-width: 360px; }
.dl-donate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dl-donate-actions .dl-btn { flex: 1 1 200px; }
.dl-donate-actions .dl-share-btn { flex: 0 0 auto; }
.dl-pay-note { font-size: 17px; line-height: 1.5; max-width: 36em; margin: 0; color: var(--wp--preset--color--ink-soft, #4A5568); }
[hidden] { display: none !important; }

/* ---- home: Build the Wall banner (angled stone wall fading in on the right third), first tile under the nav ---- */
.dl-tiles .dl-tile.dl-wall-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 12px 16px; text-decoration: none; color: var(--wp--preset--color--navy); background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #DCE5F2, #9FB3D3) border-box; border: 1.5px solid transparent; }
.dl-tiles .dl-tile.dl-wall-banner::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 42%; background: var(--dl-wall-strip) center right / cover no-repeat; -webkit-mask-image: linear-gradient(to right, transparent, #000 55%); mask-image: linear-gradient(to right, transparent, #000 55%); pointer-events: none; }
.dl-tiles .dl-tile.dl-wall-banner:hover { background: linear-gradient(#FFF9EC, #FFF9EC) padding-box, linear-gradient(to right, #E3B341, #F5A524) border-box; }
.dl-wall-banner__text { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; max-width: 64%; display: grid; gap: 2px; }
.dl-wall-banner__text strong { font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 20px; line-height: 1.15; letter-spacing: -.01em; }
.dl-wall-banner__text span { font-size: 15px; line-height: 1.35; color: var(--wp--preset--color--ink-soft, #4A5568); }
.dl-wall-banner__arrow { position: relative; z-index: 1; margin-left: auto; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; box-shadow: 0 2px 8px rgba(16, 36, 74, .25); }
@media (max-width: 480px) { .dl-wall-banner__text span { display: none; } .dl-wall-banner__text strong { font-size: 18px; } .dl-wall-banner__text { max-width: 56%; } .dl-tiles .dl-tile.dl-wall-banner::after { width: 65%; -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%); } }
@media (min-width: 900px) { .dl-tiles .dl-tile.dl-wall-banner { min-height: 104px; padding: 14px 22px; gap: 20px; } .dl-tiles .dl-tile.dl-wall-banner::after { width: 36%; } .dl-wall-banner__text { max-width: 60%; } .dl-wall-banner__text strong { font-size: 24px; } }

/* ---- home: findings tile (plugin carousel inside) ---- */
/* Three-class selector so the tile's own padding beats core's .has-global-padding reset (which zeroed the sides and pushed the heading to the edge). */
.dl-tiles .dl-tile.dl-tile--findings { overflow: hidden; padding: 26px 22px 24px; }
@media (min-width: 900px) { .dl-tiles .dl-tile.dl-tile--findings { padding: 34px 36px 32px; } }
.dl-tile--findings .dl-carousel, .dl-tile--findings .dl-carousel.alignwide { max-width: 100%; margin-left: 0; margin-right: 0; }
.dl-tile--findings .dl-carousel__track { overflow-x: auto; margin: 0 -22px; padding: 4px 22px 10px; scroll-padding-inline: 22px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 34px), transparent); }
.dl-tile--findings .dl-carousel__track::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .dl-tile--findings .dl-carousel__track { margin: 0 -36px; padding: 4px 36px 10px; scroll-padding-inline: 36px; -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 54px), transparent); mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 54px), transparent); } }
.dl-tile--findings .dl-carousel { padding: 0; background: transparent; box-shadow: none; clip-path: none; }
.dl-tile--findings .dl-carousel__head { justify-content: flex-start; gap: 14px; margin-bottom: 14px; }
.dl-tile--findings .dl-carousel__nav { display: flex; gap: 6px; }
.dl-tile--findings .dl-carousel__nav[hidden] { display: none; }
.dl-tile--findings .dl-carousel__btn { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--wp--preset--color--navy); color: var(--wp--preset--color--navy); background: #fff; }
.dl-tile--findings .dl-carousel__btn svg { width: 20px; height: 20px; }
.dl-tile--findings .dl-carousel__btn:hover { background: var(--wp--preset--color--navy); color: #fff; }
.dl-tile--findings .dl-carousel__btn:disabled { opacity: .3; background: #fff; color: var(--wp--preset--color--navy); }
.dl-tile--findings .dl-carousel__heading { font-size: 28px; }
.dl-tile--findings .dl-card { border: 1px solid var(--dl-line); border-radius: 16px; box-shadow: none; }
.dl-tile--findings .dl-card .dl-card__media img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.dl-tile--findings .dl-eyebrow { color: var(--dl-purple-dark); font-size: 15px; }
.dl-tile--findings .dl-card__title { font-size: 20px; line-height: 1.3; }
.dl-tile--findings .dl-carousel__all { margin-top: 16px; font-weight: 700; }
.dl-tile--findings .dl-card--x .dl-card__media { background: var(--dl-panel); }
.dl-tile--findings .dl-card--x .dl-card__media img { aspect-ratio: 1 / 1; object-fit: contain; background: var(--dl-panel); }

/* ---- home: registry (purple), help, ask, FAQ ---- */
.dl-tile--registry { background: var(--dl-purple-dark); color: #fff; border: 0; padding: 28px 22px; box-shadow: 0 2px 4px rgba(16, 36, 74, .05), 0 14px 32px rgba(16, 36, 74, .10); }
.dl-tile--registry h2 { color: #fff; font-size: 34px; margin: 0; }
.dl-tile--registry p { color: #fff; }
.dl-registry-lead { margin: 10px 0 0; font-size: 20px; line-height: 1.4; max-width: 28em; }
.dl-registry-row { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.dl-tile--registry .dl-btn { width: 100%; }
.dl-tile--registry :focus-visible { outline-color: #fff; }
.dl-site-code { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .35); font-size: 18px; font-weight: 700; line-height: 1.45; }
.dl-tile--help p { margin: 4px 0 18px; max-width: 40em; }
.dl-tile--help .dl-btn { width: 100%; }
.dl-tile--ask { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 18px; }
.dl-tile--ask h2 { margin: 0; }
.dl-tile--ask .dl-btn { width: 100%; }
.dl-tile--faq h2 { margin-bottom: 6px; }
.dl-faq details { border-bottom: 1px solid #E4EAF3; }
.dl-faq details:last-child { border-bottom: 0; }
.dl-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 14px 0; font-weight: 700; font-size: 18px; color: var(--wp--preset--color--navy); }
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after { content: "+"; font-weight: 600; font-size: 26px; line-height: 1; color: var(--wp--preset--color--navy); flex: 0 0 auto; }
.dl-faq details[open] summary::after { content: "−"; }
.dl-faq details p { max-width: 65ch; padding: 0 8px 18px 0; margin: 0; }

/* sections that arrive from the content keep no band styling inside a tile */
.dl-tile .dl-section, .dl-tile .dl-section--mist, .dl-tile .dl-team { background: transparent; box-shadow: none; clip-path: none; padding: 0; margin: 0; width: auto; }
.dl-tile .alignfull { margin-left: 0; margin-right: 0; width: auto; max-width: none; }

/* ---- the signup page: quick part, then "20 seconds" part ---- */
.dl-tile .dl-signup { max-width: 640px; margin: 0; }
.dl-signup__part { padding: 0; }
.dl-signup__part + .dl-signup__part { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--dl-line); }
.dl-signup__part-title { font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 26px; line-height: 1.2; color: var(--wp--preset--color--navy); margin: 0 0 6px; }
.dl-signup__part-lead { margin: 0 0 14px; color: var(--wp--preset--color--ink-soft, #4A5568); }
.dl-signup--full .dl-signup__row { margin-top: 14px; }
.dl-signup--full .dl-signup__button { min-height: 52px; font-size: 18px; width: 100%; max-width: 360px; }

/* ---- footer: navy, no top newsletter band on the signup page ---- */
.dl-footer { border-radius: 0; }
.dl-footer a { color: #fff; }
.dl-footer .dl-footer__heading { color: #fff; }
.dl-newsletter { background: #fff; border-radius: var(--dl-tile-radius); box-shadow: var(--dl-tile-shadow); margin: 0 16px 18px; padding: 22px 16px; }
body.page-subscribe .dl-newsletter { display: none; }

/* ---- desktop ---- */
@media (min-width: 900px) {
	.dl-tiles { padding-top: 24px; gap: 22px; }
	.dl-tiles .wp-block-post-content > * + * { margin-top: 22px; }
	.dl-tile { padding: 28px 30px; }
	.dl-tile--hero { display: grid; grid-template-columns: 1.15fr 1fr; }
	.dl-hero-photo { min-height: 440px; }
	.dl-hero-copy { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
	.dl-hero-copy h1 { font-size: 42px; }
	.dl-actions .dl-btn { flex: 0 1 220px; }
	.dl-donate-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px 30px; align-items: start; }
	.dl-donate-layout h2 { grid-column: 1; }
	.dl-match { grid-column: 1; }
	.dl-impact { grid-column: 1; }
	.dl-donate-controls { grid-column: 2; grid-row: 1 / span 4; }
	.dl-impact__line { font-size: 24px; }
	.dl-pay-note { grid-column: 1; }
	.dl-amounts { grid-template-columns: repeat(6, 1fr); }
	.dl-registry-row { flex-direction: row; align-items: center; justify-content: space-between; }
	.dl-tile--registry .dl-btn, .dl-tile--help .dl-btn, .dl-tile--ask .dl-btn { width: auto; min-width: 220px; }
	.dl-tile--ask { flex-direction: row; align-items: center; justify-content: space-between; }
	.dl-newsletter { margin: 0 auto 22px; max-width: 1200px; }
}

/* ---- share buttons (registry, donation, risk tiles) ---- */
.dl-share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; }
.dl-share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 10px; border: 1.5px solid var(--wp--preset--color--navy); background: #fff; color: var(--wp--preset--color--navy); font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.dl-share-btn:hover { background: var(--dl-pale); color: var(--wp--preset--color--navy); }
.dl-share-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.dl-share-btn.is-done { background: var(--wp--preset--color--navy); color: #fff; }
.dl-share-btn--quiet { border-color: transparent; padding-left: 4px; padding-right: 4px; text-decoration: underline; text-underline-offset: 3px; }
.dl-share-btn--light { border-color: #fff; background: transparent; color: #fff; }
.dl-share-btn--light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.dl-share-btn--light.is-done { background: #fff; color: var(--dl-purple-dark); }
.dl-registry-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.dl-site-code__how { color: #fff; font-weight: 600; margin-left: 6px; }
.dl-tile .dl-share .dl-share__qr img { width: 180px; height: 180px; border: 1px solid var(--dl-line); border-radius: 12px; background: #fff; padding: 6px; }
@media (min-width: 900px) {
	.dl-registry-actions { flex-direction: row; align-items: center; width: auto; }
	.dl-tile--registry .dl-registry-actions .dl-btn { width: auto; min-width: 220px; }
	.dl-tile--registry .dl-share-btn--light { min-width: 0; }
}

/* ---- cover hero (Get Involved): photo bleeding to the tile's edges, heading over the sky ---- */
.dl-tile > .dl-cover:first-child { position: relative; margin: -22px -16px 18px; border-radius: var(--dl-tile-radius) var(--dl-tile-radius) 0 0; overflow: hidden; background: #D5DEEC; }
.dl-cover img { display: block; width: 100%; height: auto; border-radius: 0; margin: 0; }
/* A tile that is only a cover (About's vision hero) has no empty strip under the picture. */
.dl-tile > .dl-cover:first-child:last-child { margin-bottom: -22px; border-radius: var(--dl-tile-radius); }
@media (min-width: 900px) { .dl-tile > .dl-cover:first-child:last-child { margin-bottom: -28px; } }
/* About: the vision statement set over the calm left side of the hero image */
.dl-cover--vision .dl-vision { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 22px 20px; max-width: 100%; background: linear-gradient(to right, rgba(8, 44, 107, .62) 0%, rgba(8, 44, 107, .35) 55%, rgba(8, 44, 107, 0) 100%); }
.dl-cover--vision .dl-vision__eyebrow { margin: 0 0 8px; color: var(--wp--preset--color--amber); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.dl-cover--vision .dl-vision__title { margin: 0 0 10px; color: #fff; font-size: 30px; line-height: 1.12; letter-spacing: -.02em; max-width: 11em; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.dl-cover--vision .dl-vision__line { margin: 0; color: #E6EEFF; font-size: 16px; line-height: 1.45; max-width: 26em; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
@media (min-width: 700px) { .dl-cover--vision .dl-vision { padding: 40px 44px; background: linear-gradient(to right, rgba(8, 44, 107, .55) 0%, rgba(8, 44, 107, .2) 48%, rgba(8, 44, 107, 0) 70%); } .dl-cover--vision .dl-vision__title { font-size: 44px; max-width: 12em; } .dl-cover--vision .dl-vision__line { font-size: 19px; } }
@media (min-width: 1000px) { .dl-cover--vision .dl-vision { padding: 56px 60px; } .dl-cover--vision .dl-vision__title { font-size: 52px; } }
.dl-cover__title { position: absolute; top: 16px; left: 16px; right: 16px; margin: 0; display: inline-block; width: max-content; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 14px; background: rgba(255, 255, 255, .94); color: var(--wp--preset--color--navy); font-size: 34px; line-height: 1.1; letter-spacing: -.02em; box-shadow: 0 6px 20px rgba(16, 36, 74, .18); }
@media (min-width: 900px) {
	.dl-tile > .dl-cover:first-child { margin: -28px -30px 24px; }
	.dl-cover__title { top: 28px; left: 32px; font-size: 48px; padding: 14px 26px; }
}

/* ---- About: three focus points ---- */
.dl-focus { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 12px; }
.dl-focus__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--dl-panel); border-radius: 14px; font-size: 17px; line-height: 1.5; }
.dl-focus__item strong { color: var(--wp--preset--color--navy); }
.dl-focus__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--wp--preset--color--navy); display: inline-flex; align-items: center; justify-content: center; }
.dl-focus__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--wp--preset--color--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .dl-focus { grid-template-columns: repeat(3, 1fr); gap: 16px; } .dl-focus__item { flex-direction: column; } }

/* ---- Our Work: three coloured vertical tiles ---- */
.dl-pillars { display: grid; gap: 14px; margin: 6px 0 4px; }
.dl-pillar { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 22px; border-radius: 16px; color: #fff; min-height: 240px; }
.dl-pillar--navy { background: var(--wp--preset--color--navy); }
.dl-pillar--purple { background: var(--dl-purple-dark); }
.dl-pillar--teal { background: #0B6E7A; }
.dl-pillar__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.dl-pillar__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.dl-pillar__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--wp--preset--color--amber); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dl-pillar__num { margin: 0; font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 15px; font-weight: 700; letter-spacing: .14em; color: var(--wp--preset--color--amber); }
.dl-tile .dl-pillar__title { margin: 0; color: #fff; font-size: 26px; line-height: 1.15; }
.dl-tile .dl-pillar__text { margin: 0; color: #fff; font-size: 17px; line-height: 1.5; flex: 1 1 auto; }
.dl-pillar__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-weight: 700; font-size: 17px; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dl-pillar__link:hover { color: var(--wp--preset--color--amber); }
.dl-pillar :focus-visible { outline-color: #fff; }
@media (min-width: 900px) { .dl-pillars { grid-template-columns: repeat(3, 1fr); gap: 18px; } .dl-pillar { min-height: 360px; padding: 30px 26px 26px; } .dl-tile .dl-pillar__title { font-size: 28px; } }

/* ---- Get help: a slight amber glow on the help tile and on the top tile of the Get help page ---- */
.dl-tile--help, body.page-get-help .dl-tiles .wp-block-post-content > .dl-tile:first-child { border-color: rgba(245, 165, 36, .55); box-shadow: 0 0 0 2px rgba(245, 165, 36, .35), 0 8px 30px rgba(245, 165, 36, .32), var(--dl-tile-shadow); }

/* ---- Resources: dementia types donut ---- */
.dl-donut { margin: 4px 0 18px; display: grid; gap: 14px; }
.dl-donut__chart { max-width: 260px; margin: 0 auto; }
.dl-donut__svg { width: 100%; height: auto; display: block; }
.dl-donut__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dl-donut__legend li { display: flex; align-items: center; gap: 10px; font-size: 17px; line-height: 1.4; min-height: 30px; }
.dl-donut__swatch { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 5px; }
.dl-donut__name { flex: 1 1 auto; }
.dl-donut__pct { color: var(--wp--preset--color--navy); }
.dl-tile .dl-donut__note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--wp--preset--color--ink-soft, #4A5568); }
@media (min-width: 700px) { .dl-donut { grid-template-columns: 260px 1fr; align-items: center; column-gap: 28px; } .dl-donut__note { grid-column: 1 / -1; } }

/* ---- Resources: risk-factor tile slider ---- */
.dl-hot { color: var(--dl-purple-dark); }
.dl-risk-slider { margin: 4px 0 10px; }
.dl-risk-slider__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.dl-tile .dl-risk-slider__hint { margin: 0; font-size: 16px; color: var(--wp--preset--color--ink-soft, #4A5568); }
.dl-risk-slider__nav { display: flex; gap: 8px; }
.dl-risk-slider__btn { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--wp--preset--color--navy); background: #fff; color: var(--wp--preset--color--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dl-risk-slider__btn:hover { background: var(--dl-pale); }
.dl-risk-slider__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dl-tile .dl-risk-slider__track { list-style: none; margin: 0 -16px; padding: 4px 16px 10px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.dl-risk { flex: 0 0 82%; max-width: 320px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dl-line); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 36, 74, .04); }
.dl-tile .dl-risk img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; display: block; margin: 0; }
.dl-risk__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.dl-tile .dl-risk__stat { margin: 0; font-size: 16px; font-weight: 600; color: var(--wp--preset--color--ink-soft, #4A5568); display: flex; align-items: baseline; gap: 8px; }
.dl-risk__num { font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 36px; line-height: 1; font-weight: 700; color: var(--dl-purple-dark); letter-spacing: -.02em; }
.dl-tile .dl-risk__title { margin: 2px 0 0; font-size: 22px; line-height: 1.2; color: var(--wp--preset--color--navy); }
.dl-tile .dl-risk__text { margin: 4px 0 0; font-size: 16px; line-height: 1.45; color: var(--wp--preset--color--ink, #1A1A1A); flex: 1 1 auto; }
.dl-tile .dl-risk__src { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--wp--preset--color--ink-soft, #4A5568); }
@media (min-width: 900px) {
	.dl-tile .dl-risk-slider__track { margin: 0 -30px; padding: 4px 30px 12px; gap: 18px; }
	.dl-risk { flex: 0 0 300px; max-width: 300px; }
}

/* ---- WPForms inside tiles: no stray character counter under message boxes ---- */
.dl-tile .wpforms-field-limit-text { display: none; }

/* ---- Resources: help-right-now box, amber glow like the Get help tile ---- */
.dl-help-now { margin: 0 0 18px; padding: 16px 18px; border-radius: 14px; background: #FFF8EA; border: 1.5px solid rgba(245, 165, 36, .7); box-shadow: 0 0 0 2px rgba(245, 165, 36, .3), 0 8px 26px rgba(245, 165, 36, .3); }
.dl-tile .dl-help-now__title { margin: 0 0 8px; font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 22px; line-height: 1.2; color: var(--wp--preset--color--navy); }
.dl-tile .dl-help-now__line { margin: 0 0 6px; font-size: 17px; line-height: 1.5; }
.dl-help-now__line a { color: var(--wp--preset--color--navy); font-size: 20px; text-decoration: none; }
.dl-help-now__line a strong { text-decoration: underline; text-underline-offset: 3px; }
.dl-tile .dl-help-now__note { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--wp--preset--color--ink-soft, #4A5568); }
.dl-risk__link { display: block; }
.dl-tile .dl-risk__post { margin: 6px 0 0; font-size: 15px; font-weight: 700; }
.dl-risk__post a { color: var(--dl-purple-dark); }

/* ---- Research: collage with the headline over it, description beside it ---- */
.dl-research-hero { display: grid; gap: 18px; margin: 0 0 18px; }
.dl-research-hero__media { position: relative; border-radius: 16px; overflow: hidden; background: #071A3F; }
.dl-tile .dl-research-hero__media img { display: block; width: 100%; height: auto; border-radius: 0; margin: 0; }
.dl-tile .dl-research-hero__title { position: absolute; left: 16px; top: 16px; right: 16px; margin: 0; font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 30px; line-height: 1.12; font-weight: 700; color: #fff; letter-spacing: -.02em; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); max-width: 11em; }
.dl-tile .dl-research-hero__title::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 12px; border-radius: 3px; background: var(--wp--preset--color--amber); }
.dl-research-hero__text p:last-child { margin-bottom: 0; }
.dl-research-hero__text .dl-btn { width: 100%; }
.dl-tile .dl-research-hero__text p { font-size: 18px; line-height: 1.5; }
@media (min-width: 900px) { .dl-research-hero { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 28px; } .dl-tile .dl-research-hero__title { font-size: 38px; left: 24px; top: 24px; } .dl-research-hero__text .dl-btn { width: auto; min-width: 260px; } }

/* Kalam (SIL Open Font License), the marker hand on the research clipboard */
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/kalam-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/kalam-latin-700-normal.woff2") format("woff2"); }

/* ---- Research: the clipboard (a real photo, the list written on it in marker) ---- */
.dl-clipboard { position: relative; margin: 4px auto 0; max-width: 560px; border-radius: 14px; overflow: hidden; }
.dl-tile .dl-clipboard img { display: block; width: 100%; height: auto; border-radius: 0; margin: 0; }
.dl-clipboard__paper { position: absolute; left: 17%; right: 26%; top: 19%; bottom: 16%; display: flex; flex-direction: column; justify-content: flex-start; }
.dl-tile .dl-clipboard__title { margin: 0 0 4%; font-family: "Kalam", "Comic Sans MS", "Segoe Print", cursive; font-weight: 700; font-size: clamp(20px, 6.2vw, 34px); line-height: 1.15; color: #1F2A44; text-align: center; }
.dl-tile .dl-clipboard__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 3.5%; }
.dl-tile .dl-clipboard__list li { font-family: "Kalam", "Comic Sans MS", "Segoe Print", cursive; font-weight: 400; font-size: clamp(17px, 5vw, 29px); line-height: 1.2; color: #1F2A44; white-space: nowrap; display: flex; align-items: center; gap: .45em; }
.dl-tile .dl-clipboard__list li::before { content: "\2611"; font-size: 1.1em; line-height: 1; color: #1F2A44; }
@media (min-width: 900px) { .dl-clipboard { max-width: 520px; } .dl-tile .dl-clipboard__title { font-size: 32px; } .dl-tile .dl-clipboard__list li { font-size: 25px; } }

/* Match Challenge gauge (plugin markup, see class-dl-match.php) */
.dl-match { background: var(--wp--preset--color--mist, #EEF3FA); border: 1.5px solid #D6E0F0; border-radius: 14px; padding: 14px 16px 16px; }
.dl-match__eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--navy); }
.dl-match__body { display: grid; grid-template-columns: 1fr; gap: 6px; justify-items: center; text-align: center; }
.dl-match__dial { position: relative; width: 200px; max-width: 100%; }
.dl-match__dial svg { display: block; width: 100%; height: auto; overflow: visible; }
.dl-match__track { fill: none; stroke: #D6E0F0; stroke-width: 18; stroke-linecap: round; }
.dl-match__fill { fill: none; stroke: var(--wp--preset--color--amber); stroke-width: 18; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.2,.7,.2,1); }
.dl-match--paid .dl-match__fill, .dl-match--unlocked .dl-match__fill { stroke: #2E8B57; }
.dl-match--none .dl-match__fill { stroke: transparent; }
.dl-match__center { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; display: grid; gap: 2px; line-height: 1.05; }
.dl-match__raised { font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 40px; font-weight: 700; color: var(--wp--preset--color--navy); letter-spacing: -.01em; }
.dl-match__of { font-size: 13px; font-weight: 600; padding: 0 22px; color: var(--wp--preset--color--ink-soft, #4A5568); }
.dl-match__text { display: grid; gap: 6px; min-width: 0; justify-items: center; }
.dl-match__state { margin: 0; font-family: var(--wp--preset--font-family--heading, "Source Serif 4", Georgia, serif); font-size: 18px; line-height: 1.3; color: var(--wp--preset--color--navy); }
.dl-match__by { margin: 0; font-size: 15px; font-weight: 700; color: var(--wp--preset--color--ink, #1A2233); }
.dl-match__why { margin: 0; font-size: 15px; font-style: italic; color: var(--wp--preset--color--ink-soft, #4A5568); }
.dl-match__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 6px; }
.dl-match__actions .dl-btn { min-height: 44px; padding: 10px 16px; font-size: 16px; }
.dl-btn--outline { background: #fff; color: var(--wp--preset--color--navy); border: 1.5px solid var(--wp--preset--color--navy); }
.dl-btn--outline:hover { background: var(--wp--preset--color--mist, #EEF3FA); }
.dl-match__ratio { margin: 0; font-size: 15px; color: var(--wp--preset--color--ink-soft, #4A5568); }
.dl-match-open { margin: 0; }
.dl-match--unlocked .dl-match__center, .dl-match--paid .dl-match__center { color: #2E8B57; }
.dl-match--unlocked .dl-match__raised, .dl-match--paid .dl-match__raised { color: #1F6B41; }
.dl-match.is-bump .dl-match__raised { animation: dl-impact-bump .4s ease-out; }
@media (min-width: 600px) { .dl-match__body { grid-template-columns: 190px 1fr; gap: 6px 20px; align-items: center; justify-items: start; text-align: left; } .dl-match__dial { width: 190px; } .dl-match__text { justify-items: start; } .dl-match__actions { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .dl-match__fill { transition: none; } }

/* Pledge form on the Donate page */
.dl-match-pledge { scroll-margin-top: 90px; }
.dl-match-pledge__title { margin: 0 0 8px; }
.dl-match-pledge__lead { margin: 0 0 12px; font-size: 18px; line-height: 1.5; }
.dl-match-pledge__how { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 4px; font-size: 16px; }
.dl-match-pledge__form { display: grid; gap: 14px; max-width: 640px; }
.dl-match-pledge__amounts { border: 0; padding: 0; margin: 0; min-width: 0; }
.dl-match-pledge__amounts legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.dl-match-pledge__amounts .dl-amounts { grid-template-columns: repeat(3, 1fr); }
.dl-match-pledge__preset { position: relative; cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: center; text-align: center; }
.dl-match-pledge__preset input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dl-match-pledge__preset:has(input:checked) { background: var(--wp--preset--color--navy); color: #fff; border-color: var(--wp--preset--color--navy); }
.dl-match-pledge__preset:has(input:focus-visible) { outline: 3px solid var(--wp--preset--color--amber); outline-offset: 2px; }
.dl-match-pledge__grid { display: grid; gap: 12px; }
.dl-match-pledge select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #C9D3E3; border-radius: 10px; font: inherit; font-size: 17px; background: #fff; }
.dl-match-pledge__hint { font-weight: 400; color: var(--wp--preset--color--ink-soft, #4A5568); font-size: 14px; }
.dl-match-pledge__consent { align-items: flex-start; }
.dl-match-pledge__submit { width: 100%; max-width: 360px; }
.dl-match-pledge__status { margin: 0; font-weight: 600; min-height: 1.4em; }
.dl-match-pledge__status.is-ok { color: #1F6B41; }
.dl-match-pledge__status.is-error { color: #B00020; }
.dl-match-pledge__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--wp--preset--color--ink-soft, #4A5568); }
@media (min-width: 600px) { .dl-match-pledge__grid { grid-template-columns: 1fr 1fr; } .dl-match-pledge__amounts .dl-amounts { grid-template-columns: repeat(6, 1fr); } }

/* Newsletter popup: after 15 seconds of reading, once a month, never after a signup */
.dl-popup { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; padding: 12px; background: rgba(11, 29, 64, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.dl-popup[hidden] { display: none; }
.dl-popup__card { position: relative; width: 100%; max-width: 520px; background: #fff; border-radius: 18px; padding: 24px 22px 20px; box-shadow: 0 24px 60px rgba(11, 29, 64, .35); animation: dl-popup-in .35s cubic-bezier(.2,.7,.2,1); }
.dl-popup__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 18px 18px 0 0; background: var(--wp--preset--color--amber); }
.dl-popup__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--wp--preset--color--mist, #EEF3FA); color: var(--wp--preset--color--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.dl-popup__close:hover { background: #DCE5F2; }
.dl-popup__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--navy); }
.dl-popup__card h2 { margin: 0 44px 8px 0; font-size: 24px; line-height: 1.2; }
.dl-popup__card p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; }
.dl-popup .dl-signup { max-width: none; }
.dl-popup .dl-signup__note { display: none; }
.dl-popup__fine { margin: 10px 0 0 !important; font-size: 13px !important; color: var(--wp--preset--color--ink-soft, #4A5568); }
@keyframes dl-popup-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (min-width: 600px) { .dl-popup { align-items: center; } .dl-popup__card { padding: 30px 30px 24px; } .dl-popup__card h2 { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { .dl-popup__card { animation: none; } }
.dl-popup-open, .dl-popup-open body { overflow: hidden; }

/* Create a Matching Donation dialog */
.dl-match-dialog { border: 0; border-radius: 18px; padding: 0; width: min(680px, calc(100% - 20px)); max-height: calc(100dvh - 20px); overflow: auto; background: #fff; color: var(--wp--preset--color--ink, #1A2233); box-shadow: 0 24px 60px rgba(11, 29, 64, .35); }
.dl-match-dialog::backdrop { background: rgba(11, 29, 64, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.dl-match-dialog .dl-match-pledge { padding: 24px 20px 20px; }
.dl-match-dialog .dl-match-pledge::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--wp--preset--color--amber); }
.dl-match-dialog__close { position: absolute; top: 14px; right: 12px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--wp--preset--color--mist, #EEF3FA); color: var(--wp--preset--color--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.dl-match-dialog__close:hover { background: #DCE5F2; }
.dl-match-dialog .dl-match-pledge__title { margin-right: 44px; font-size: 26px; line-height: 1.15; }
.dl-match-pledge__ratios { border: 0; padding: 0; margin: 0; min-width: 0; }
.dl-match-pledge__ratios legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.dl-match-pledge__ratio-grid { grid-template-columns: repeat(4, 1fr); }
.dl-match-pledge__ratio-text { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: var(--wp--preset--color--navy); font-weight: 600; }
@media (min-width: 600px) { .dl-match-dialog .dl-match-pledge { padding: 30px 30px 24px; } .dl-match-dialog .dl-match-pledge__title { font-size: 30px; } }

/* Share row: Facebook, X, text, email, copy */
.dl-share-row { display: grid; gap: 8px; }
.dl-share-row__label { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--wp--preset--color--ink-soft, #4A5568); }
.dl-share-row__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-share-row__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 12px; border: 1.5px solid #C9D3E3; border-radius: 10px; background: #fff; color: var(--wp--preset--color--navy); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.dl-share-row__btn:hover { background: var(--wp--preset--color--mist, #EEF3FA); border-color: var(--wp--preset--color--navy); }
.dl-share-row__btn svg { width: 18px; height: 18px; fill: currentColor; }
.dl-share-row__btn.is-done { background: var(--wp--preset--color--navy); color: #fff; border-color: var(--wp--preset--color--navy); }
.dl-match .dl-share-row { margin-top: 10px; padding-top: 12px; border-top: 1px solid #D6E0F0; justify-items: center; }
.dl-match .dl-share-row__buttons { justify-content: center; }
.dl-match-pledge__share { margin-top: 4px; padding: 14px; border-radius: 12px; background: var(--wp--preset--color--mist, #EEF3FA); }
@media (min-width: 600px) { .dl-match .dl-share-row { justify-items: start; } .dl-match .dl-share-row__buttons { justify-content: flex-start; } }
