/*
 * NPA 2026 — components.css
 * Everything theme.json can't express (DESIGN_SPEC §2.5). Mobile-first min-width queries only.
 *
 * Contents
 *   1. Base          — text-wrap, images, focus ring, screen-reader text, skip link, reduced motion
 *   2. Layout        — .npa-section and variants, paragraph measure
 *   3. Buttons       — is-style-npa-red / -dark / -outline, .npa-button--large, outbound icon (§4.3)
 *   4. Stamp         — .npa-stamp (§4.12)
 *   5. Needs copy    — .npa-needs-copy (editor-only note)
 *   6. Header        — utility bar, masthead, brand, nav, mobile overlay (§3.1)
 *   7. Footer        — columns, link groups, seal, Donate, copyright (§3.2)
 *   8. Page banner   — npa/page-banner lockup h1, quote, decorative image slot (§4.2)
 *   9. People        — npa/people grid, person card, bio disclosure, mobile name index (§4.8)
 *  10. Resources     — npa/resources tiles, covers, media cards, video facade (§4.9)
 *  11. Certs         — npa/certs card, header row, status chip, badge, requirement checklist (§4.10)
 *  12. Partners      — npa/partners logo wall 2/3/5 (§4.11)
 *  13. Zeffy         — npa/zeffy panel, iframe heights, fallback line (§4.15)
 *  14. Counter       — npa/counter card (§4.7)
 *  15. Hero          — npa/hero pattern: photo strip / three columns, display h1 with seal (§4.1)
 *  16. Tiles         — npa/tile-grid pattern: 2/3 columns, square images, label arrow (§4.4)
 *  17. Tiers         — npa/membership-tiers cards on silver/gold gradients, npa/membership-heading (§4.5)
 *  18. Image band    — npa/image-band: blue full-bleed, black heading panel over the illustration (§4.6)
 *  19. CTA band      — npa/cta-band-partners: centered heading, lead line, button (§4.6)
 *  20. Join image    — npa/join-image: linked image, radius lg, max 720px (§4.6)
 *  21. Pledge        — npa/pledge-document: parchment panel in a double frame, seal, clauses, download link (§4.13)
 *  22. Pull quote    — npa/pull-quote: centered quote style, max 36rem (§4.16)
 *  23. Event card    — npa/event-card: paper card, image top (M) / left (T/D) (§4.16)
 *  24. Outbound      — npa/outbound-panel: store images, stamp over them from 600px, button cue (§4.16)
 */

/* ==========================================================================
   1. Base
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

p,
li,
figcaption,
blockquote {
	text-wrap: pretty;
}

img {
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 3px solid var(--wp--preset--color--blue);
	outline-offset: 2px;
}

.has-black-background-color :focus-visible,
.has-ink-background-color :focus-visible,
.has-navy-background-color :focus-visible,
.has-blue-background-color :focus-visible,
.has-red-background-color :focus-visible,
.has-red-deep-background-color :focus-visible,
.npa-section--blue :focus-visible,
.has-black-background-color:focus-visible,
.has-ink-background-color:focus-visible,
.has-navy-background-color:focus-visible,
.has-blue-background-color:focus-visible,
.has-red-background-color:focus-visible,
.has-red-deep-background-color:focus-visible {
	outline-color: var(--wp--preset--color--white);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--wp--preset--color--white);
	clip: auto !important;
	clip-path: none;
	color: var(--wp--preset--color--ink);
	display: block;
	font-size: var(--wp--preset--font-size--body);
	height: auto;
	left: var(--wp--preset--spacing--20);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
	text-decoration: none;
	top: var(--wp--preset--spacing--20);
	width: auto;
	z-index: 100000;
}

/* Skip link (core outputs .skip-link.screen-reader-text for block themes). */
.skip-link.screen-reader-text:focus {
	background-color: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
	font-weight: 700;
	min-height: 44px;
	outline-color: var(--wp--preset--color--white);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* ==========================================================================
   2. Layout utilities
   ========================================================================== */

.npa-section {
	padding-top: var(--wp--preset--spacing--80);
	padding-bottom: var(--wp--preset--spacing--80);
}

.npa-section--paper {
	background-color: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
}

.npa-section--blue {
	background-color: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
}

.npa-section--blue a:where(:not(.wp-element-button)),
.has-black-background-color a:where(:not(.wp-element-button)),
.has-blue-background-color a:where(:not(.wp-element-button)),
.has-navy-background-color a:where(:not(.wp-element-button)),
.has-ink-background-color a:where(:not(.wp-element-button)),
.has-red-background-color a:where(:not(.wp-element-button)),
.has-red-deep-background-color a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--white);
}

.wp-block-post-content p {
	max-width: 68ch;
}

/* ==========================================================================
   3. Buttons (§4.3)
   ========================================================================== */

.wp-block-button .wp-block-button__link {
	align-items: center;
	border-radius: var(--wp--custom--radius--sm);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--text);
	font-size: 1rem;
	font-weight: 700;
	gap: var(--wp--preset--spacing--20);
	justify-content: center;
	min-height: 44px;
	padding: 0.75rem 1.5rem;
	text-transform: none;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.wp-block-button.is-style-npa-red .wp-block-button__link {
	background-color: var(--wp--preset--color--red);
	border: 0;
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-npa-red .wp-block-button__link:hover,
.wp-block-button.is-style-npa-red .wp-block-button__link:active {
	background-color: var(--wp--preset--color--red-deep);
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-npa-dark .wp-block-button__link {
	background-color: var(--wp--preset--color--navy);
	border: 0;
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-npa-dark .wp-block-button__link:hover,
.wp-block-button.is-style-npa-dark .wp-block-button__link:active {
	background-color: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-npa-outline .wp-block-button__link {
	background-color: transparent;
	border: 2px solid var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}

.wp-block-button.is-style-npa-outline .wp-block-button__link:hover,
.wp-block-button.is-style-npa-outline .wp-block-button__link:active {
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.has-black-background-color .wp-block-button.is-style-npa-outline .wp-block-button__link,
.has-ink-background-color .wp-block-button.is-style-npa-outline .wp-block-button__link,
.has-navy-background-color .wp-block-button.is-style-npa-outline .wp-block-button__link,
.has-blue-background-color .wp-block-button.is-style-npa-outline .wp-block-button__link,
.npa-section--blue .wp-block-button.is-style-npa-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--white);
}

.has-black-background-color .wp-block-button.is-style-npa-outline .wp-block-button__link:hover,
.has-ink-background-color .wp-block-button.is-style-npa-outline .wp-block-button__link:hover,
.has-navy-background-color .wp-block-button.is-style-npa-outline .wp-block-button__link:hover,
.has-blue-background-color .wp-block-button.is-style-npa-outline .wp-block-button__link:hover,
.npa-section--blue .wp-block-button.is-style-npa-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
}

.wp-block-button.npa-button--large .wp-block-button__link,
.wp-block-button__link.npa-button--large {
	font-size: 1.125rem;
	padding: 1rem 2rem;
}

/* Full-width on mobile when it is the only button in its row. */
.wp-block-buttons > .wp-block-button:only-child:not(.has-custom-width),
.wp-block-buttons > .wp-block-button:only-child:not(.has-custom-width) .wp-block-button__link {
	width: 100%;
}

@media (min-width: 600px) {
	.wp-block-buttons > .wp-block-button:only-child:not(.has-custom-width),
	.wp-block-buttons > .wp-block-button:only-child:not(.has-custom-width) .wp-block-button__link {
		width: auto;
	}
}

/* Outbound: trailing ↗ icon on buttons that open a new tab (CSS mask, no icon font). */
.wp-block-button .wp-block-button__link[target="_blank"]::after {
	background-color: currentColor;
	content: "";
	display: inline-block;
	flex: none;
	height: 0.875em;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 0.875em;
}

/* ==========================================================================
   4. Stamp (§4.12)
   ========================================================================== */

.npa-stamp {
	border-bottom: 6px solid var(--wp--preset--color--ink);
	border-top: 6px solid var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
	/* Shrink-wrapped like inline-block, but a block box so the auto margins center it. */
	display: table;
	font-family: var(--wp--preset--font-family--display);
	font-size: calc(var(--wp--preset--font-size--banner) * 1.5);
	font-stretch: 62%;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1;
	margin: var(--wp--preset--spacing--60) auto;
	padding: 0.1em 0.4em;
	text-transform: uppercase;
	transform: rotate(-8deg);
}

/* ==========================================================================
   5. Needs copy (editor-only note; the block renders nothing for visitors)
   ========================================================================== */

.npa-needs-copy {
	background-color: color-mix(in srgb, var(--wp--preset--color--gold) 25%, var(--wp--preset--color--white));
	border: 2px dashed var(--wp--preset--color--gold);
	border-radius: var(--wp--custom--radius--sm);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}

/* ==========================================================================
   6. Header (§3.1) — core's overlay switches at 600px; ours at 900px
   ========================================================================== */

.wp-site-blocks > header.wp-block-template-part {
	margin-block-start: 0;
}

/* Utility bar */
.npa-utility {
	background-color: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
	gap: 0;
	min-height: 40px;
	padding-right: var(--wp--preset--spacing--30);
}

.npa-utility__store {
	align-items: center;
	align-self: stretch;
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--white);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	letter-spacing: 0.04em;
	min-height: 40px;
	padding: 0 16px;
	text-decoration: none;
	text-transform: uppercase;
}

.npa-utility__store:hover,
.npa-utility__store:focus-visible {
	background-color: var(--wp--preset--color--red-deep);
	color: var(--wp--preset--color--white);
}

.npa-utility :focus-visible {
	outline-color: var(--wp--preset--color--white);
	outline-offset: -3px;
}

.npa-social {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.npa-social--icons .npa-social__link {
	align-items: center;
	color: inherit;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	margin-block: -2px;
	width: 44px;
}

.npa-social--icons .npa-social__icon {
	height: 20px;
	width: 20px;
}

.npa-social--text {
	column-gap: var(--wp--preset--spacing--50);
	flex-wrap: wrap;
}

/* Masthead */
.npa-masthead {
	background-color: var(--wp--preset--color--white);
	border-bottom: 1px solid var(--wp--preset--color--paper);
	gap: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
}

.npa-masthead__actions {
	gap: var(--wp--preset--spacing--30);
}

.npa-brand {
	align-items: center;
	color: var(--wp--preset--color--ink);
	display: inline-flex;
	flex: none;
	gap: var(--wp--preset--spacing--30);
	text-decoration: none;
}

.npa-brand__logo {
	display: block;
	height: 44px;
	width: auto;
}

/* Visually hidden below 1200px, but present. */
.npa-brand__name {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Always-visible Donate below 900px (outside the navigation block). */
.npa-masthead__donate {
	align-items: center;
	background-color: var(--wp--preset--color--red);
	border-radius: var(--wp--custom--radius--sm);
	color: var(--wp--preset--color--white);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--text);
	font-size: 1rem;
	font-weight: 700;
	min-height: 44px;
	padding: 0 1.125rem;
	text-decoration: none;
}

.npa-masthead__donate:hover,
.npa-masthead__donate:active {
	background-color: var(--wp--preset--color--red-deep);
	color: var(--wp--preset--color--white);
}

/* Navigation — desktop row */
.npa-nav.wp-block-navigation {
	font-family: var(--wp--preset--font-family--text);
	font-size: 1rem;
	font-weight: 600;
}

.npa-nav .wp-block-navigation__container {
	gap: 0;
}

.npa-nav .wp-block-navigation-item__content {
	align-items: center;
	color: var(--wp--preset--color--ink);
	display: inline-flex;
	min-height: 44px;
	padding: 0 0.625rem;
	text-decoration: none;
}

.npa-nav .wp-block-navigation-item__content:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.npa-nav .current-menu-item > .wp-block-navigation-item__content,
.npa-nav .current-menu-ancestor > .wp-block-navigation-item__content,
.npa-nav .has-child:has(.current-menu-item) > .wp-block-navigation-item__content,
.npa-nav [aria-current="page"] {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--red);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}

.npa-nav.wp-block-navigation .has-child > .wp-block-navigation-item__content {
	padding-left: 0.625rem;
	padding-right: 0.25rem;
}

.npa-nav.wp-block-navigation .has-child > .wp-block-navigation__submenu-icon {
	margin-left: 0;
	margin-right: 0.625rem;
}

.npa-nav .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--paper);
	box-shadow: var(--wp--preset--shadow--md);
	color: var(--wp--preset--color--ink);
	min-width: 200px;
}

.npa-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0 var(--wp--preset--spacing--40);
	width: 100%;
}

.npa-nav .npa-nav__mobile-only {
	display: none;
}

.npa-nav .npa-nav__join,
.npa-nav .npa-nav__donate {
	margin-left: var(--wp--preset--spacing--20);
}

.npa-nav .npa-nav__join > .wp-block-navigation-item__content,
.npa-nav .npa-nav__donate > .wp-block-navigation-item__content {
	border-radius: var(--wp--custom--radius--sm);
	font-weight: 700;
	justify-content: center;
	padding: 0 1.125rem;
	text-decoration: none;
}

.npa-nav .npa-nav__join > .wp-block-navigation-item__content {
	background-color: transparent;
	border: 2px solid var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}

.npa-nav .npa-nav__join > .wp-block-navigation-item__content:hover {
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.npa-nav .npa-nav__donate > .wp-block-navigation-item__content {
	background-color: var(--wp--preset--color--red);
	border: 2px solid var(--wp--preset--color--red);
	color: var(--wp--preset--color--white);
}

.npa-nav .npa-nav__donate > .wp-block-navigation-item__content:hover {
	background-color: var(--wp--preset--color--red-deep);
	border-color: var(--wp--preset--color--red-deep);
}

/* Menu / Close menu buttons: icon + word, 44px targets. */
.npa-nav .wp-block-navigation__responsive-container-open,
.npa-nav .wp-block-navigation__responsive-container-close {
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	min-height: 44px;
	min-width: 44px;
	padding: 0 var(--wp--preset--spacing--20);
}

.npa-nav .wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: var(--wp--custom--radius--sm);
	color: var(--wp--preset--color--ink);
	font-size: 1rem;
	font-weight: 700;
}

.npa-nav .wp-block-navigation__responsive-container-open::after {
	content: "Menu";
}

/* Under 380px the word doesn't fit beside the logo and Donate; the icon stays, and core's
   aria-label ("Open menu") keeps the button named. */
@media (max-width: 379.98px) {
	.npa-nav .wp-block-navigation__responsive-container-open::after {
		content: none;
	}
}

.npa-nav .wp-block-navigation__responsive-container-close {
	display: flex;
}

.npa-nav .wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--white);
	font-size: 1rem;
	font-weight: 700;
}

.npa-nav .wp-block-navigation__responsive-container-close::after {
	content: "Close menu";
}

/* Below 1024px: Menu button on, inline nav off. The full nav plus Join/Donate needs ~985px, so
   the switch sits at 1024 rather than the 900 desktop breakpoint (measured 2026-11-25: 83px of
   sideways scroll from 900 to 999). */
@media (max-width: 1023.98px) {
	.npa-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.npa-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* From 1024px: inline nav on, Menu button and masthead Donate off. */
@media (min-width: 1024px) {
	.npa-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none;
	}

	.npa-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		background-color: inherit;
		display: block;
		position: relative;
		width: 100%;
		z-index: auto;
	}

	.npa-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close {
		display: none;
	}

	.npa-masthead__donate {
		display: none;
	}

	.npa-brand__logo {
		height: 52px;
	}
}

@media (min-width: 1200px) {
	.npa-brand__name {
		clip: auto;
		clip-path: none;
		color: var(--wp--preset--color--ink);
		font-family: var(--wp--preset--font-family--text);
		font-size: var(--wp--preset--font-size--eyebrow);
		font-weight: 700;
		height: auto;
		letter-spacing: 0.12em;
		line-height: 1.35;
		max-width: 13em;
		overflow: visible;
		position: static;
		text-transform: uppercase;
		white-space: normal;
		width: auto;
	}
}

/* Mobile overlay (selectors outrank core's .is-menu-open:where(...) rules) */
.npa-nav .wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-justification-setting: flex-start;
	background-color: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch;
	gap: 0;
	padding-top: var(--wp--preset--spacing--60);
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
.npa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
	align-items: stretch;
	gap: 0;
	width: 100%;
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
	align-items: stretch;
	width: 100%;
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: 700;
	justify-content: flex-start;
	min-height: 52px;
	padding: 0;
	text-align: left;
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
	background-color: transparent;
	border: 0;
	box-shadow: none;
	color: var(--wp--preset--color--white);
	min-width: 0;
	padding: 0 0 0 var(--wp--preset--spacing--40);
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-weight: 600;
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .npa-nav__mobile-only {
	display: flex;
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .npa-nav__join,
.npa-nav .wp-block-navigation__responsive-container.is-menu-open .npa-nav__donate {
	margin: var(--wp--preset--spacing--30) 0 0;
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .npa-nav__join {
	margin-top: var(--wp--preset--spacing--50);
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .npa-nav__join > .wp-block-navigation-item__content,
.npa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .npa-nav__donate > .wp-block-navigation-item__content {
	box-sizing: border-box;
	font-size: 1.125rem;
	justify-content: center;
	padding: 0 var(--wp--preset--spacing--40);
	text-align: center;
	width: 100%;
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .npa-nav__join > .wp-block-navigation-item__content {
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--white);
}

.npa-nav .wp-block-navigation__responsive-container.is-menu-open :focus-visible {
	outline-color: var(--wp--preset--color--white);
}

/* ==========================================================================
   7. Footer (§3.2) — 1 column centered → 2 columns (≥ 600px) → 4 columns (≥ 900px)
   ========================================================================== */

.wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: 0;
}

.npa-footer a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.npa-footer a:where(:not(.wp-element-button)):hover,
.npa-footer a:where(:not(.wp-element-button)):focus-visible {
	color: var(--wp--preset--color--ink);
	text-decoration: underline;
}

.npa-footer__grid {
	display: grid;
	gap: var(--wp--preset--spacing--60);
	grid-template-areas:
		"mission"
		"seal"
		"nav"
		"follow";
	grid-template-columns: 1fr;
	justify-items: center;
	text-align: center;
}

.npa-footer__grid > * {
	margin-block: 0;
}

.npa-footer__mission {
	grid-area: mission;
	max-width: 36ch;
}

.npa-footer__mission p {
	margin: 0;
}

.npa-footer__nav {
	grid-area: nav;
}

.npa-footer__seal-col {
	grid-area: seal;
}

.npa-footer__follow {
	grid-area: follow;
	width: 100%;
}

.npa-footer__seal {
	display: block;
	height: 120px;
	width: 120px;
}

.npa-footer .npa-footer__heading {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.45;
	margin: 0 0 var(--wp--preset--spacing--20);
	text-transform: uppercase;
}

.npa-footer__links,
.npa-footer .npa-social--text {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	list-style: none;
	margin: 0;
	padding: 0;
}

.npa-footer__links a,
.npa-footer .npa-social--text .npa-social__link {
	align-items: center;
	color: var(--wp--preset--color--ink);
	display: inline-flex;
	min-height: 44px;
	text-decoration: none;
}

.npa-footer .npa-social--text .npa-social__link:hover,
.npa-footer .npa-social--text .npa-social__link:focus-visible {
	text-decoration: underline;
}

.npa-footer__donate {
	justify-content: center;
	margin-block-start: var(--wp--preset--spacing--50);
}

.npa-footer__donate .wp-block-button {
	width: 100%;
}

.npa-footer__donate .wp-block-button__link {
	box-sizing: border-box;
	width: 100%;
}

.npa-footer .npa-footer__copyright {
	font-size: var(--wp--preset--font-size--small);
	margin-block: var(--wp--preset--spacing--60) 0;
	text-align: center;
}

@media (min-width: 600px) {
	.npa-footer__grid {
		align-items: start;
		grid-template-areas:
			"mission nav follow"
			"seal    nav follow";
		grid-template-columns: 2fr 1fr 1fr;
		justify-items: start;
		text-align: left;
	}

	.npa-footer__links a,
	.npa-footer .npa-social--text .npa-social__link {
		min-height: 2rem;
	}

	.npa-footer__donate {
		justify-content: flex-start;
	}

	.npa-footer__donate .wp-block-button,
	.npa-footer__donate .wp-block-button__link {
		width: auto;
	}
}

@media (min-width: 900px) {
	.npa-footer__grid {
		grid-template-areas: "mission nav seal follow";
		grid-template-columns: 2fr 1fr 1fr 1fr;
	}

	.npa-footer__seal-col {
		justify-self: center;
	}
}

/* ==========================================================================
   8. Page banner (§4.2) — npa/page-banner: the interior-page h1, optional quote and image
   ========================================================================== */

.npa-banner {
	background: var(--wp--preset--gradient--banner);
	border-radius: 0;
	box-sizing: border-box;
	color: var(--wp--preset--color--white);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--50);
	justify-content: flex-start;
	min-height: 120px;
	overflow: hidden;
	padding: var(--wp--preset--spacing--50);
	position: relative;
}

.npa-banner__title {
	align-items: baseline;
	color: var(--wp--preset--color--white);
	display: flex;
	flex-wrap: nowrap;
	gap: 0.3em;
	margin: 0;
	position: relative;
	white-space: nowrap;
	z-index: 1;
}

.npa-banner__npa {
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--banner);
	font-stretch: 125%;
	font-weight: 900;
	line-height: 1.1;
	padding: 0.1em 0.3em;
}

.npa-banner__word {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--banner);
	font-stretch: 62%;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.1;
	text-transform: uppercase;
}

.npa-banner__quote {
	border: 0;
	color: var(--wp--preset--color--white);
	margin: 0;
	max-width: 36ch;
	padding: 0;
	position: relative;
	z-index: 1;
}

.npa-banner__quote p {
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.4;
	margin: 0;
}

.npa-banner__quote cite {
	color: var(--wp--preset--color--white);
	display: block;
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	margin-top: 0.5em;
}

.npa-banner__quote cite::before {
	content: "— ";
}

/* Decorative image slot: hidden on phones. */
.npa-banner__image {
	display: none;
}

@media (min-width: 600px) {
	.npa-banner {
		min-height: 160px;
	}

	.npa-banner.has-image {
		padding-right: calc(40% + var(--wp--preset--spacing--50));
	}

	.npa-banner__image {
		bottom: 0;
		display: block;
		-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 60%);
		mask-image: linear-gradient(to right, transparent 0%, #000 60%);
		position: absolute;
		right: 0;
		top: 0;
		width: 45%;
	}

	/* The source banner art carries its old baked-in lockup along the top: scale the image up
	   from the bottom-right corner so the slot clips that strip off. */
	.npa-banner__image {
		overflow: hidden;
	}

	.npa-banner__image img {
		bottom: 0;
		display: block;
		height: 135%;
		max-width: none;
		object-fit: cover;
		object-position: right bottom;
		position: absolute;
		right: 0;
		width: 100%;
	}
}

@media (min-width: 900px) {
	.npa-banner {
		min-height: 200px;
	}
}

/* ==========================================================================
   9. People (§4.8) — 1 column (headshot beside name) → 2 (≥ 600px) → 3 (≥ 900px)
   ========================================================================== */

.npa-people__index {
	margin-block-end: var(--wp--preset--spacing--60);
}

.npa-people__index ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--wp--preset--spacing--40);
	list-style: none;
	margin: 0;
	padding: 0;
}

.npa-people__index a {
	align-items: center;
	color: var(--wp--preset--color--blue);
	display: inline-flex;
	font-size: var(--wp--preset--font-size--small);
	min-height: 44px;
}

.npa-people__grid {
	display: grid;
	gap: var(--wp--preset--spacing--60);
	grid-template-columns: 1fr;
	list-style: none;
	margin: 0;
	padding: 0;
}

.npa-person {
	align-items: start;
	column-gap: var(--wp--preset--spacing--40);
	display: grid;
	grid-template-areas:
		"photo head"
		"bio   bio"
		"toggle toggle";
	grid-template-columns: 120px 1fr;
	margin: 0;
}

.npa-person__photo {
	grid-area: photo;
}

.npa-person__img,
.npa-person__placeholder {
	aspect-ratio: 1;
	border-radius: var(--wp--custom--radius--md);
	display: block;
	height: auto;
	width: 100%;
}

.npa-person__img {
	object-fit: cover;
	object-position: 50% 20%;
}

.npa-person__placeholder {
	background-color: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--steel);
	overflow: hidden;
}

.npa-person__silhouette {
	display: block;
	height: 100%;
	width: 100%;
}

.npa-person__head {
	align-self: center;
	grid-area: head;
}

.npa-person .npa-person__name {
	font-size: var(--wp--preset--font-size--h-3);
	margin: 0;
}

.npa-person .npa-person__role {
	color: var(--wp--preset--color--steel);
	font-size: var(--wp--preset--font-size--small);
	margin: var(--wp--preset--spacing--10) 0 0;
}

.npa-person__bio {
	grid-area: bio;
	margin-block-start: var(--wp--preset--spacing--40);
}

.npa-person__bio > :first-child {
	margin-block-start: 0;
}

.npa-person__bio > :last-child {
	margin-block-end: 0;
}

.npa-person__bio a {
	color: var(--wp--preset--color--blue);
	text-decoration: underline;
}

.npa-person__bio.is-clamped {
	-webkit-box-orient: vertical;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	line-clamp: 6;
	overflow: hidden;
}

.npa-person__toggle {
	background: none;
	border: 0;
	color: var(--wp--preset--color--blue);
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	grid-area: toggle;
	justify-self: start;
	min-height: 44px;
	min-width: 44px;
	padding: 0;
	text-decoration: underline;
}

.npa-person__toggle[hidden] {
	display: none;
}

@media (min-width: 600px) {
	.npa-people__index {
		display: none;
	}

	.npa-people__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.npa-person {
		grid-template-areas:
			"photo"
			"head"
			"bio"
			"toggle";
		grid-template-columns: 1fr;
	}

	.npa-person__head {
		margin-block-start: var(--wp--preset--spacing--40);
	}
}

@media (min-width: 900px) {
	.npa-people__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.npa-person__bio {
		font-size: var(--wp--preset--font-size--small);
	}
}

/* ==========================================================================
   10. Resources (§4.9) — tiles 2/3/3, covers 2/3/4, media 1/1/2
   ========================================================================== */

.npa-resources--tiles {
	background-color: var(--wp--preset--color--paper);
	border-radius: var(--wp--custom--radius--lg);
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}

.npa-resources__group + .npa-resources__group {
	margin-block-start: var(--wp--preset--spacing--70);
}

/* Term name exactly as stored: no text-transform (source capitalization is kept). */
.npa-resources .npa-resources__topic {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 var(--wp--preset--spacing--50);
	text-align: center;
}

.npa-resources__tiles,
.npa-resources__covers,
.npa-resources__media {
	display: grid;
	list-style: none;
	margin: 0 auto;
	padding: 0;
}

.npa-resources__tiles {
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(2, minmax(0, 200px));
	justify-content: center;
	max-width: 720px;
}

.npa-tile-item {
	margin: 0;
}

.npa-tile {
	align-items: center;
	aspect-ratio: 1;
	background-color: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--radius--lg);
	box-sizing: border-box;
	color: var(--wp--preset--color--ink);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	height: 100%;
	max-width: 200px;
	padding: var(--wp--preset--spacing--40);
	text-align: center;
	text-decoration: none;
	width: 100%;
}

a.npa-tile:hover .npa-tile__title,
a.npa-tile:focus-visible .npa-tile__title {
	text-decoration: underline;
}

.npa-tile__title {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.npa-tile__subtitle {
	color: var(--wp--preset--color--steel);
	font-size: var(--wp--preset--font-size--small);
}

.npa-tile__logo {
	flex: 1 1 auto;
	margin-block-start: auto;
	max-height: 50%;
	max-width: 60%;
	min-height: 0;
	object-fit: contain;
}

.npa-resources__covers {
	gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
	grid-template-columns: repeat(2, 1fr);
}

.npa-cover {
	margin: 0;
}

.npa-cover__link {
	color: var(--wp--preset--color--ink);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	text-decoration: none;
}

a.npa-cover__link:hover .npa-cover__title,
a.npa-cover__link:focus-visible .npa-cover__title {
	text-decoration: underline;
}

.npa-cover__img {
	aspect-ratio: 2 / 3;
	box-shadow: var(--wp--preset--shadow--sm);
	display: block;
	margin-block-end: var(--wp--preset--spacing--20);
	object-fit: contain;
	width: 100%;
}

.npa-cover__title {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.npa-cover__author {
	color: var(--wp--preset--color--steel);
	font-size: var(--wp--preset--font-size--small);
}

.npa-resources__media {
	gap: var(--wp--preset--spacing--60);
	grid-template-columns: 1fr;
	max-width: 640px;
}

.npa-media {
	background-color: var(--wp--preset--color--paper);
	border-radius: var(--wp--custom--radius--md);
	margin: 0;
	padding: var(--wp--preset--spacing--50);
}

.npa-media .npa-media__title {
	font-size: var(--wp--preset--font-size--h-3);
	margin: 0 0 var(--wp--preset--spacing--40);
}

.npa-video,
.npa-media__poster {
	aspect-ratio: 16 / 9;
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
	position: relative;
}

.npa-video {
	background-color: var(--wp--preset--color--black);
}

.npa-video__poster,
.npa-video iframe {
	border: 0;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.npa-video__play {
	background-color: var(--wp--preset--color--red);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	height: 72px;
	left: 50%;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
}

.npa-video__play::before {
	border-color: transparent transparent transparent var(--wp--preset--color--white);
	border-style: solid;
	border-width: 13px 0 13px 22px;
	content: "";
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-35%, -50%);
}

.npa-video__play:hover {
	background-color: var(--wp--preset--color--red-deep);
}

.npa-video__play:focus-visible {
	outline: 3px solid var(--wp--preset--color--white);
	box-shadow: 0 0 0 6px var(--wp--preset--color--blue);
	outline-offset: 0;
}

.npa-video__fallback {
	background-color: var(--wp--preset--color--black);
	bottom: var(--wp--preset--spacing--30);
	color: var(--wp--preset--color--white);
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	left: var(--wp--preset--spacing--30);
	position: absolute;
}

.npa-media__blurb {
	margin-block-start: var(--wp--preset--spacing--40);
}

.npa-media__blurb > :first-child {
	margin-block-start: 0;
}

.npa-media__blurb > :last-child {
	margin-block-end: 0;
}

.npa-media__link {
	margin: var(--wp--preset--spacing--40) 0 0;
}

.npa-media__link a,
.npa-media__blurb a {
	color: var(--wp--preset--color--blue);
	text-decoration: underline;
}

@media (min-width: 600px) {
	.npa-resources__tiles {
		grid-template-columns: repeat(3, minmax(0, 200px));
	}

	.npa-resources__covers {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 900px) {
	.npa-resources__covers {
		grid-template-columns: repeat(4, 1fr);
	}

	.npa-resources__media {
		grid-template-columns: repeat(2, 1fr);
		max-width: none;
	}
}

/* ==========================================================================
   11. Certs (§4.10)
   ========================================================================== */

.npa-certs {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--60);
	margin-inline: auto;
	max-width: var(--wp--style--global--content-size);
}

.npa-cert {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--paper);
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--50);
}

.npa-cert__header {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	justify-content: space-between;
	margin-block-end: var(--wp--preset--spacing--40);
}

.npa-cert .npa-cert__title {
	font-size: var(--wp--preset--font-size--h-3);
	margin: 0;
}

.npa-chip {
	border-radius: var(--wp--custom--radius--pill);
	display: inline-block;
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	padding: 0.35em 0.9em;
	text-transform: uppercase;
	white-space: nowrap;
}

.npa-chip--coming-soon {
	background-color: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
}

.npa-chip--open {
	background-color: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
}

.npa-cert__body {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
}

.npa-cert__badge {
	flex: none;
}

.npa-cert__badge-img {
	box-shadow: var(--wp--preset--shadow--md);
	display: block;
	height: auto;
	width: 120px;
}

.npa-cert__requirements {
	flex: 1 1 auto;
	min-width: 0;
}

.npa-cert__requirements > :first-child {
	margin-block-start: 0;
}

.npa-cert__requirements > :last-child {
	margin-block-end: 0;
}

.npa-cert__requirements strong {
	font-weight: 700;
}

/* Top-level list items get an empty 18px square (decorative); nested lists are plain discs. */
.npa-cert__requirements > ul,
.npa-cert__requirements > ol {
	list-style: none;
	padding-inline-start: 0;
}

.npa-cert__requirements > ul > li,
.npa-cert__requirements > ol > li {
	padding-inline-start: 30px;
	position: relative;
}

.npa-cert__requirements > ul > li + li,
.npa-cert__requirements > ol > li + li {
	margin-block-start: var(--wp--preset--spacing--20);
}

.npa-cert__requirements > ul > li::before,
.npa-cert__requirements > ol > li::before {
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 2px;
	box-sizing: border-box;
	content: "";
	height: 18px;
	left: 0;
	position: absolute;
	top: 0.2em;
	width: 18px;
}

.npa-cert__requirements li ul,
.npa-cert__requirements li ol {
	list-style: disc;
	margin-block: var(--wp--preset--spacing--10) 0;
	padding-inline-start: 1.25em;
}

.npa-cert__requirements li li::before {
	content: none;
}

.npa-cert__actions {
	margin-block-start: var(--wp--preset--spacing--40);
}

@media (min-width: 600px) {
	.npa-cert__body {
		align-items: flex-start;
		flex-direction: row-reverse;
		gap: var(--wp--preset--spacing--50);
	}
}

/* ==========================================================================
   12. Partners (§4.11) — 2/3/5 columns
   ========================================================================== */

.npa-partners {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(2, 1fr);
	list-style: none;
	margin: 0 auto;
	padding: 0;
}

.npa-partner {
	margin: 0;
}

.npa-partner__cell {
	align-items: center;
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--paper);
	border-radius: var(--wp--custom--radius--md);
	display: flex;
	height: 100%;
	justify-content: center;
	min-height: calc(80px + 2 * var(--wp--preset--spacing--50));
	padding: var(--wp--preset--spacing--50);
}

.npa-partner__logo {
	max-height: 80px;
	object-fit: contain;
	width: 100%;
}

@media (min-width: 600px) {
	.npa-partners {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 900px) {
	.npa-partners {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* ==========================================================================
   13. Zeffy (§4.15) — embedded form panel and always-visible fallback link
   ========================================================================== */

.npa-zeffy {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--paper);
	border-radius: var(--wp--custom--radius--md);
	overflow: hidden;
}

.npa-zeffy__frame {
	border: 0;
	display: block;
	min-height: 900px;
	width: 100%;
}

.npa-zeffy__fallback {
	border-top: 1px solid var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small);
	margin: 0;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	text-align: center;
}

.npa-zeffy__fallback a {
	color: var(--wp--preset--color--blue);
	text-decoration: underline;
}

@media (min-width: 600px) {
	.npa-zeffy__frame {
		min-height: 760px;
	}
}

/* ==========================================================================
   14. Counter (§4.7) — white card, shadow md, no count-up animation
   ========================================================================== */

.npa-counter {
	background-color: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--preset--shadow--md);
	color: var(--wp--preset--color--ink);
	margin-left: auto;
	margin-right: auto;
	max-width: 400px;
	padding: var(--wp--preset--spacing--60);
	text-align: center;
}

.npa-counter__icon {
	align-items: center;
	background-color: var(--wp--preset--color--paper);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--blue);
	display: inline-flex;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.npa-counter__eyebrow {
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: var(--wp--preset--spacing--40) 0 0;
	text-transform: uppercase;
}

.npa-counter__number {
	font-family: var(--wp--preset--font-family--text);
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1.1;
	margin: var(--wp--preset--spacing--20) 0 0;
}

.npa-counter__label {
	font-size: var(--wp--preset--font-size--body);
	margin: var(--wp--preset--spacing--10) 0 0;
}

/* ==========================================================================
   15. Hero (§4.1) — black full-bleed; panel then a 3-up photo strip; three columns from 900px
   ========================================================================== */

.npa-hero.wp-block-group {
	color: var(--wp--preset--color--white);
	display: grid;
	padding: 0;
	grid-template-areas:
		"panel panel panel"
		"cap toolkit patch";
	grid-template-columns: repeat(3, 1fr);
}

.npa-hero > * {
	margin-block: 0;
	min-width: 0;
}

.npa-hero__panel {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--60);
	grid-area: panel;
	justify-content: center;
	padding: var(--wp--preset--spacing--70);
	text-align: center;
}

.npa-hero__panel > * {
	margin-block: 0;
}

.npa-hero__title {
	align-items: center;
	color: var(--wp--preset--color--white);
	display: flex;
	flex-direction: column;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--display);
	font-stretch: 125%;
	font-weight: 900;
	gap: 0.15em;
	letter-spacing: -0.01em;
	line-height: 0.95;
	margin: 0;
	width: 100%;
}

.npa-hero__title > span {
	display: block;
	white-space: nowrap;
}

.npa-hero__seal {
	display: block;
	height: auto;
	max-width: 220px;
	width: 30%;
}

.npa-hero__actions {
	width: 100%;
}

.npa-hero__stack {
	display: contents;
}

.npa-hero__photo {
	aspect-ratio: 1;
	overflow: hidden;
	position: relative;
}

.npa-hero__photo--cap {
	grid-area: cap;
}

.npa-hero__photo--toolkit {
	grid-area: toolkit;
}

.npa-hero__photo--patch {
	grid-area: patch;
}

.npa-hero__photo img {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

@media (min-width: 600px) {
	.npa-hero__photo {
		aspect-ratio: auto;
		height: 200px;
	}
}

@media (min-width: 900px) {
	.npa-hero.wp-block-group {
		grid-template-areas: "cap panel stack";
		grid-template-columns: 1fr 1.25fr 1fr;
		min-height: 420px;
	}

	.npa-hero__stack {
		display: grid;
		grid-area: stack;
		grid-template-rows: 1fr 1fr;
	}

	.npa-hero__photo,
	.npa-hero__photo--toolkit,
	.npa-hero__photo--patch {
		grid-area: auto;
		height: auto;
		min-height: 0;
	}

	.npa-hero__photo--cap {
		grid-area: cap;
	}
}

/* ==========================================================================
   16. Tiles (§4.4) — 2 columns, 3 from 600px, max 880px centered from 900px
   ========================================================================== */

.npa-tiles {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.npa-tiles__item {
	margin: 0;
}

/* .npa-tile is also the resources-block tile (§10): scope under .npa-tiles and reset its card look. */
.npa-tiles .npa-tile {
	align-items: flex-start;
	aspect-ratio: auto;
	background-color: transparent;
	border-radius: 0;
	color: var(--wp--preset--color--ink);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
	height: 100%;
	max-width: none;
	padding: 0;
	text-align: start;
	text-decoration: none;
}

.npa-tiles .npa-tile:hover,
.npa-tiles .npa-tile:focus-visible {
	color: var(--wp--preset--color--ink);
}

.npa-tiles .npa-tile__image {
	aspect-ratio: 1;
	border-radius: 0;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.npa-tiles .npa-tile__label {
	align-items: center;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: 700;
	gap: 0.35em;
	line-height: 1.25;
}

.npa-tiles .npa-tile__label::after {
	content: "→";
	content: "→" / "";
	display: inline-block;
	transition: transform 150ms ease;
}

.npa-tiles .npa-tile:hover .npa-tile__label::after,
.npa-tiles .npa-tile:focus-visible .npa-tile__label::after {
	transform: translateX(4px);
}

@media (min-width: 600px) {
	.npa-tiles {
		gap: var(--wp--preset--spacing--50);
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.npa-tiles {
		margin-left: auto;
		margin-right: auto;
		max-width: 880px;
	}
}

/* ==========================================================================
   17. Tiers (§4.5) — stacked on mobile (Individual first), side by side from 600px
   ========================================================================== */

.npa-tiers-heading {
	margin-bottom: var(--wp--preset--spacing--60);
}

.npa-tiers {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
	justify-content: center;
}

.npa-tiers > .npa-tier {
	margin: 0;
}

/* All card text is ink: white on the silver or gold gradients is forbidden (§2.2). */
.npa-tier {
	aspect-ratio: 1;
	border-radius: var(--wp--custom--radius--md);
	box-sizing: border-box;
	color: var(--wp--preset--color--ink);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	justify-content: center;
	max-width: 280px;
	padding: var(--wp--preset--spacing--50);
	width: 100%;
}

.npa-tier--individual {
	background: var(--wp--preset--gradient--silver-card);
}

.npa-tier--organization {
	background: var(--wp--preset--gradient--gold-card);
}

.npa-tier > * {
	margin: 0;
}

.npa-tier .npa-tier__label,
.npa-tier .npa-tier__name,
.npa-tier .npa-tier__price {
	color: var(--wp--preset--color--ink);
}

.npa-tier__label {
	align-items: baseline;
	display: flex;
	gap: 0.35em;
	white-space: nowrap;
}

.npa-tier__npa {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	font-stretch: 125%;
	font-weight: 900;
	line-height: 1;
}

.npa-tier__membership {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.45;
}

.npa-tier .npa-tier__name {
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.25;
}

.npa-tier__price {
	font-family: var(--wp--preset--font-family--text);
	font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
	font-weight: 800;
	line-height: 1;
}

.npa-tier__actions {
	margin-top: var(--wp--preset--spacing--20);
}

@media (min-width: 600px) {
	.npa-tiers {
		align-items: stretch;
		flex-direction: row;
		gap: var(--wp--preset--spacing--60);
	}
}

/* ==========================================================================
   18. Image band (§4.6) — heading panel above the image on mobile, over its top-left corner from 600px
   ========================================================================== */

.npa-image-band {
	padding: var(--wp--preset--spacing--80) var(--wp--style--root--padding-right, 1rem) var(--wp--preset--spacing--80) var(--wp--style--root--padding-left, 1rem);
}

.npa-image-band__inner {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
	margin-left: auto;
	margin-right: auto;
	max-width: var(--wp--style--global--wide-size, 1200px);
	position: relative;
}

.npa-image-band__inner > * {
	margin: 0;
}

.npa-image-band .npa-image-band__heading {
	align-self: flex-start;
	background-color: var(--wp--preset--color--black);
	border-radius: var(--wp--custom--radius--lg);
	color: var(--wp--preset--color--white);
	margin: 0;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

.npa-image-band__media {
	margin: 0;
}

.npa-image-band__image {
	border-radius: var(--wp--custom--radius--md);
	display: block;
	height: auto;
	width: 100%;
}

@media (min-width: 600px) {
	/* Overlap the illustration only when it is there; otherwise the heading stays in flow. */
	.npa-image-band__inner:has(.npa-image-band__media) .npa-image-band__heading {
		left: var(--wp--preset--spacing--50);
		max-width: min(30rem, 60%);
		position: absolute;
		top: var(--wp--preset--spacing--50);
		z-index: 1;
	}
}

/* ==========================================================================
   19. CTA band (§4.6) — centered h2, one lead line, one button, padding 80
   ========================================================================== */

.npa-cta-band {
	padding-bottom: var(--wp--preset--spacing--80);
	padding-top: var(--wp--preset--spacing--80);
	text-align: center;
}

.npa-cta-band > * {
	margin-left: auto;
	margin-right: auto;
}

.npa-cta-band .npa-cta-band__heading {
	margin-bottom: var(--wp--preset--spacing--30);
	margin-top: 0;
}

.npa-cta-band .npa-cta-band__lead {
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.5;
	margin-bottom: var(--wp--preset--spacing--50);
	margin-top: 0;
}

/* ==========================================================================
   20. Join image (§4.6) — linked image, radius lg, max 720px, centered
   ========================================================================== */

.npa-join-image {
	margin-left: auto;
	margin-right: auto;
	max-width: 720px;
}

.npa-join-image__link {
	border-radius: var(--wp--custom--radius--lg);
	display: block;
}

.npa-join-image__image {
	border-radius: var(--wp--custom--radius--lg);
	display: block;
	height: auto;
	width: 100%;
}

/* ==========================================================================
   21. Pledge (§4.13) — parchment panel, 2px ink rule inside an 8px black frame, radius 0
   ========================================================================== */

.npa-pledge {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--wp--style--global--content-size, 720px);
}

.npa-pledge__document {
	background-color: var(--wp--preset--color--parchment);
	border: 8px solid var(--wp--preset--color--black);
	border-radius: 0;
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
	padding: var(--wp--preset--spacing--60);
	position: relative;
}

.npa-pledge__document > * {
	margin-bottom: 0;
	margin-top: var(--wp--preset--spacing--40);
}

.npa-pledge__seal {
	display: block;
	float: right;
	height: 72px;
	margin: 0 0 var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
	width: 72px;
}

.npa-pledge .npa-pledge__title {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--quote);
	font-size: var(--wp--preset--font-size--h-1);
	font-style: italic;
	font-weight: 400;
	line-height: 1.15;
	margin-top: 0;
}

.npa-pledge__clauses {
	padding-left: 1.25em;
}

.npa-pledge__clauses > li + li {
	margin-top: var(--wp--preset--spacing--30);
}

.npa-pledge__clauses > li::marker {
	color: var(--wp--preset--color--ink);
}

.npa-pledge__download {
	margin-bottom: 0;
	margin-top: var(--wp--preset--spacing--50);
	text-align: center;
}

.npa-pledge__download a {
	display: inline-block;
	min-height: 44px;
	padding: var(--wp--preset--spacing--30) 0;
}

/* ==========================================================================
   22. Pull quote (§4.16) — quote style, centered, max 36rem, attribution in small
   ========================================================================== */

.wp-block-quote.npa-pull-quote {
	border: 0;
	margin-left: auto;
	margin-right: auto;
	max-width: 36rem;
	padding: 0;
	text-align: center;
}

.wp-block-quote.npa-pull-quote p {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--quote);
	font-size: var(--wp--preset--font-size--quote);
	font-style: italic;
	line-height: 1.35;
	margin: 0;
	max-width: none;
}

.wp-block-quote.npa-pull-quote cite {
	color: var(--wp--preset--color--steel);
	display: block;
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	margin-top: var(--wp--preset--spacing--30);
}

/* ==========================================================================
   23. Event card (§4.16) — paper card, radius md; image top on mobile, left from 600px
   ========================================================================== */

.npa-event-card {
	background-color: var(--wp--preset--color--paper);
	border-radius: var(--wp--custom--radius--md);
	color: var(--wp--preset--color--ink);
	display: grid;
	gap: var(--wp--preset--spacing--50);
	margin-left: auto;
	margin-right: auto;
	max-width: 880px;
	overflow: hidden;
	padding: var(--wp--preset--spacing--50);
}

.npa-event-card > * {
	margin: 0;
}

.npa-event-card__media {
	margin: 0;
}

.npa-event-card__image {
	border-radius: var(--wp--custom--radius--md);
	display: block;
	height: auto;
	width: 100%;
}

.npa-event-card__body {
	align-self: center;
}

.npa-event-card__body > * {
	margin-bottom: 0;
	margin-top: 0;
}

.npa-event-card .npa-event-card__title {
	margin-bottom: var(--wp--preset--spacing--50);
}

@media (min-width: 600px) {
	/* Two columns only when the image is there; without it the body takes the full card. */
	.npa-event-card:has(.npa-event-card__media) {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}
}

/* ==========================================================================
   24. Outbound panel (§4.16) — store images, stamp over them from 600px (stacked below on mobile)
   ========================================================================== */

.npa-outbound {
	display: flex;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	max-width: var(--wp--style--global--wide-size, 1200px);
	position: relative;
}

.npa-outbound > * {
	margin-bottom: 0;
	margin-top: 0;
}

.npa-outbound__media {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: minmax(0, 1fr);
}

.npa-outbound__image {
	border-radius: var(--wp--custom--radius--md);
	display: block;
	height: auto;
	width: 100%;
}

.npa-outbound .npa-stamp {
	align-self: center;
	background-color: var(--wp--preset--color--white);
	margin-bottom: var(--wp--preset--spacing--60);
	margin-top: var(--wp--preset--spacing--60);
}

.npa-outbound .npa-link-button {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: var(--wp--preset--spacing--50);
}

.npa-link-button__cue {
	color: var(--wp--preset--color--steel);
	font-size: var(--wp--preset--font-size--small);
	margin-bottom: 0;
	margin-top: var(--wp--preset--spacing--30);
	text-align: center;
}

@media (min-width: 600px) {
	.npa-outbound__media {
		gap: var(--wp--preset--spacing--50);
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Over the images only when there are images. */
	.npa-outbound .npa-outbound__media + .npa-stamp {
		left: 50%;
		margin: 0;
		position: absolute;
		top: 0;
		transform: translate(-50%, 0) rotate(-8deg);
		z-index: 1;
	}
}
