/**
 * Al-Irshad CRM — front-end styling.
 *
 * Scoped entirely under .air-* class names so it cannot leak into the theme, and written
 * against CSS custom properties so the child theme can restyle it without overrides.
 */

/* Tokens live on :root, not on a hand-maintained list of component classes.
   They were scoped to a selector list, and every component added later (.air-videos,
   .air-gallery) silently fell outside it — `color: var(--air-ink)` then resolved to
   nothing, the declaration was dropped at computed-value time, and the video captions
   inherited the section's white text onto a white card. A --air-* prefix cannot collide
   with anything else, so :root is both safer and simpler. */
:root {
	--air-green: #0b5d3b;
	--air-green-dark: #084029;
	--air-gold: #c9a227;
	--air-cream: #faf8f2;
	--air-line: #e5e0d4;
	--air-ink: #22282c;
	--air-muted: #6c7278;
	--air-radius: 10px;
	--air-shadow: 0 2px 14px rgba(11, 93, 59, .07);
}

.air-block { margin: 0 0 2.5rem; }

.air-block__title {
	margin: 0 0 1rem;
	font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
	line-height: 1.25;
	color: var(--air-green-dark);
}

.air-muted { color: var(--air-muted); }

/* ---------- Notices ---------- */

.air-notice {
	margin: 0 0 1.5rem;
	padding: 1.15rem 1.35rem;
	border-radius: var(--air-radius);
	border-left: 4px solid;
}

.air-notice h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.air-notice p  { margin: 0 0 .4rem; }
.air-notice p:last-child { margin-bottom: 0; }

.air-notice--ok    { background: #eef6f1; border-color: var(--air-green); color: #14432e; }
.air-notice--error { background: #fdeeee; border-color: #b32d2e; color: #7d1f20; }
.air-notice--info  { background: var(--air-cream); border-color: var(--air-gold); color: #5d4b12; }

.air-reference {
	font-size: 1.05rem;
	letter-spacing: .02em;
}

.air-reference strong {
	display: inline-block;
	padding: .15rem .55rem;
	background: #fff;
	border: 1px dashed var(--air-green);
	border-radius: 5px;
}

/* ---------- Forms ---------- */

.air-form {
	margin-top: 1.5rem;
	padding: 1.6rem 1.7rem 1.4rem;
	background: #fff;
	border: 1px solid var(--air-line);
	border-radius: var(--air-radius);
	box-shadow: var(--air-shadow);
}

.air-form__legend {
	margin: 1.6rem 0 .9rem;
	padding-bottom: .5rem;
	border-bottom: 1px solid var(--air-line);
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--air-green);
}

.air-form__legend:first-of-type { margin-top: 0; }

.air-grid { display: grid; gap: 0 1.25rem; }
.air-grid--2 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.air-grid--3 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

.air-field { margin: 0 0 1.1rem; }

.air-field > label {
	display: block;
	margin-bottom: .35rem;
	font-size: .88rem;
	font-weight: 600;
	color: var(--air-ink);
}

.air-field input[type="text"],
.air-field input[type="email"],
.air-field input[type="tel"],
.air-field input[type="number"],
.air-field input[type="search"],
.air-field input[type="file"],
.air-field select,
.air-field textarea {
	width: 100%;
	padding: .62rem .75rem;
	font: inherit;
	font-size: .95rem;
	color: var(--air-ink);
	background: #fff;
	border: 1px solid var(--air-line);
	border-radius: 7px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.air-field input:focus,
.air-field select:focus,
.air-field textarea:focus {
	outline: none;
	border-color: var(--air-green);
	box-shadow: 0 0 0 3px rgba(11, 93, 59, .12);
}

.air-field textarea { resize: vertical; }

.air-field--check > label {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	font-weight: 500;
}

.air-req { color: #b32d2e; }

.air-hint,
.air-field-error {
	display: block;
	margin-top: .3rem;
	font-size: .8rem;
	line-height: 1.45;
}

.air-hint { color: var(--air-muted); }
.air-field-error { color: #b32d2e; font-weight: 600; }

.air-fieldset {
	margin: 0 0 1.2rem;
	padding: 0;
	border: 0;
}

.air-fieldset legend {
	margin-bottom: .5rem;
	padding: 0;
	font-size: .88rem;
	font-weight: 600;
}

.air-checks {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem .75rem;
}

.air-check {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .45rem .8rem;
	background: var(--air-cream);
	border: 1px solid var(--air-line);
	border-radius: 999px;
	font-size: .88rem;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.air-check:hover { border-color: var(--air-green); }

.air-check input { margin: 0; }

.air-check:has(input:checked) {
	background: #eef6f1;
	border-color: var(--air-green);
	font-weight: 600;
}

/* The honeypot must be reachable by bots and invisible to everyone else. */
.air-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.air-actions { margin: 1.5rem 0 0; }

/* ---------- Buttons ---------- */

.air-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	padding: .75rem 1.6rem;
	font: inherit;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.air-btn:hover { transform: translateY(-1px); }

.air-btn--primary {
	background: var(--air-green);
	border-color: var(--air-green);
	color: #fff;
}

.air-btn--primary:hover,
.air-btn--primary:focus {
	background: var(--air-green-dark);
	border-color: var(--air-green-dark);
	color: #fff;
}

.air-btn--outline {
	background: transparent;
	border-color: var(--air-green);
	color: var(--air-green);
}

.air-btn--outline:hover,
.air-btn--outline:focus {
	background: var(--air-green);
	color: #fff;
}

.air-btn[disabled] {
	opacity: .55;
	cursor: not-allowed;
	transform: none;
}

.air-link {
	font-weight: 600;
	color: var(--air-green);
	text-decoration: none;
	border-bottom: 1px solid rgba(11, 93, 59, .3);
}

.air-link:hover { border-bottom-color: var(--air-green); }

/* ---------- Payment details ---------- */

.air-pay {
	margin: 1.5rem 0;
	padding: 1.5rem 1.6rem;
	background: var(--air-cream);
	border: 1px solid var(--air-line);
	border-radius: var(--air-radius);
}

.air-pay__title {
	margin: 0 0 1.1rem;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--air-green);
}

.air-pay__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
}

.air-pay__card {
	padding: 1.1rem 1.2rem;
	background: #fff;
	border: 1px solid var(--air-line);
	border-radius: 8px;
}

.air-pay__card h4 {
	margin: 0 0 .7rem;
	padding-bottom: .5rem;
	border-bottom: 2px solid var(--air-gold);
	font-size: .95rem;
	font-weight: 700;
}

.air-pay__card dl { margin: 0; }

.air-pay__card dt {
	margin-top: .55rem;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--air-muted);
}

.air-pay__card dd {
	margin: .1rem 0 0;
	font-size: .92rem;
	word-break: break-word;
}

.air-pay__list { margin: 0; padding: 0; list-style: none; }

.air-pay__list li {
	padding: .5rem 0;
	border-bottom: 1px solid #f2f0ea;
}

.air-pay__list li:last-child { border-bottom: 0; }

.air-pay__name {
	display: block;
	font-size: .88rem;
	font-weight: 600;
}

.air-pay code,
.air-copy {
	display: inline-block;
	padding: .12rem .4rem;
	background: var(--air-cream);
	border: 1px solid var(--air-line);
	border-radius: 4px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .9rem;
	letter-spacing: .02em;
}

.air-copy { cursor: pointer; }
.air-copy:hover { border-color: var(--air-green); }

.air-copy.is-copied {
	background: #eef6f1;
	border-color: var(--air-green);
}

.air-pay__note {
	margin: 1.1rem 0 0;
	font-size: .85rem;
	color: var(--air-muted);
}

/* ---------- Progress ---------- */

.air-progress {
	margin: 1.5rem 0;
	padding: 1.4rem 1.5rem;
	background: #fff;
	border: 1px solid var(--air-line);
	border-radius: var(--air-radius);
	box-shadow: var(--air-shadow);
}

.air-progress__figures {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-bottom: 1rem;
}

.air-progress__label {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--air-muted);
}

.air-progress__value {
	display: block;
	margin-top: .15rem;
	font-size: 1.5rem;
	line-height: 1.15;
	color: var(--air-green-dark);
}

.air-progress__stat--goal .air-progress__value { color: var(--air-ink); }

.air-progress__bar {
	height: 12px;
	background: #eeebe2;
	border-radius: 999px;
	overflow: hidden;
}

.air-progress__bar--slim { height: 7px; margin: .7rem 0 .5rem; }

.air-progress__fill {
	display: block;
	height: 100%;
	min-width: 3px;
	background: linear-gradient(90deg, var(--air-green), #177a4f);
	border-radius: 999px;
	transition: width .6s ease;
}

.air-progress__caption {
	margin: .6rem 0 0;
	font-size: .88rem;
	color: var(--air-muted);
}

.air-progress__action { margin: 1.1rem 0 0; }

/* ---------- Cards ---------- */

.air-cards {
	display: grid;
	gap: 1.5rem;
	margin: 1.5rem 0;
}

.air-cards--1 { grid-template-columns: 1fr; }
.air-cards--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.air-cards--3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.air-cards--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.air-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--air-line);
	border-radius: var(--air-radius);
	box-shadow: var(--air-shadow);
	transition: transform .18s ease, box-shadow .18s ease;
}

.air-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(11, 93, 59, .13);
}

.air-card__media { display: block; overflow: hidden; }

.air-card .air-card__media img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
	transition: transform .35s ease;
}

.air-card:hover .air-card__media img { transform: scale(1.04); }

.air-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 110px;
	background: linear-gradient(135deg, var(--air-cream), #f0ece0);
	color: var(--air-green);
}

.air-card__icon .dashicons {
	font-size: 44px;
	width: 44px;
	height: 44px;
}

.air-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.15rem 1.25rem 1.3rem;
}

.air-card__title {
	margin: .5rem 0 .55rem;
	font-size: 1.1rem;
	line-height: 1.3;
}

.air-card__title a {
	color: var(--air-green-dark);
	text-decoration: none;
}

.air-card__title a:hover { color: var(--air-green); }

.air-card__text {
	flex: 1;
	margin: 0 0 1rem;
	font-size: .92rem;
	line-height: 1.6;
	color: var(--air-muted);
}

.air-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	align-items: baseline;
	margin: 0 0 1rem;
	font-size: .9rem;
}

.air-card__meta strong { color: var(--air-green-dark); }
.air-card__meta span { color: var(--air-muted); }

.air-card__facts {
	margin: 0 0 .8rem;
	padding: 0;
	list-style: none;
	font-size: .85rem;
	color: var(--air-muted);
}

.air-card__facts li { padding: .12rem 0; }

.air-card .air-btn,
.air-card .air-link { align-self: flex-start; }

.air-badge {
	display: inline-block;
	align-self: flex-start;
	padding: .18rem .6rem;
	background: var(--air-cream);
	border: 1px solid var(--air-line);
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--air-muted);
}

.air-badge--done {
	background: #eef6f1;
	border-color: var(--air-green);
	color: var(--air-green-dark);
}

.air-datechip {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	align-self: flex-start;
	padding: .35rem .7rem;
	background: var(--air-green);
	border-radius: 8px;
	color: #fff;
	line-height: 1.1;
}

.air-datechip__day { font-size: 1.25rem; font-weight: 700; }
.air-datechip__mon { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Impact ---------- */

.air-impact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 1px;
	margin: 2rem 0;
	background: var(--air-line);
	border: 1px solid var(--air-line);
	border-radius: var(--air-radius);
	overflow: hidden;
}

.air-impact__item {
	padding: 1.5rem 1.2rem;
	background: #fff;
	text-align: center;
}

.air-impact__value {
	display: block;
	font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem);
	line-height: 1.1;
	color: var(--air-green-dark);
}

.air-impact__label {
	display: block;
	margin-top: .4rem;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--air-muted);
}

/* ---------- Reports ---------- */

.air-reports { margin: 1.5rem 0; padding: 0; list-style: none; }

.air-report {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding: 1.05rem 1.2rem;
	background: #fff;
	border: 1px solid var(--air-line);
	border-radius: 8px;
	margin-bottom: .7rem;
}

.air-report__main {
	display: flex;
	gap: .9rem;
	align-items: flex-start;
}

.air-report__icon {
	font-size: 26px;
	width: 26px;
	height: 26px;
	color: var(--air-gold);
}

.air-report__title { margin: 0; font-size: 1rem; }

.air-report__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
	margin: .25rem 0 0;
	font-size: .8rem;
	color: var(--air-muted);
}

/* ---------- Donor feed ---------- */

.air-donorfeed { margin: 1.2rem 0; padding: 0; list-style: none; }

.air-donorfeed__item {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1rem;
	align-items: baseline;
	padding: .7rem 0;
	border-bottom: 1px solid var(--air-line);
	font-size: .92rem;
}

.air-donorfeed__item:last-child { border-bottom: 0; }
.air-donorfeed__name { flex: 1; font-weight: 600; }
.air-donorfeed__amount { color: var(--air-green-dark); font-weight: 700; }
.air-donorfeed__when { font-size: .8rem; color: var(--air-muted); }

/* ---------- Empty ---------- */

.air-empty {
	padding: 2rem 1.5rem;
	background: var(--air-cream);
	border: 1px dashed var(--air-line);
	border-radius: var(--air-radius);
	text-align: center;
	color: var(--air-muted);
}

.air-empty p { margin: 0; }

@media (max-width: 600px) {
	.air-form { padding: 1.2rem 1.1rem 1rem; }
	.air-pay { padding: 1.1rem 1rem; }
	.air-progress__figures { gap: 1rem; }
}

/* ---------- Video wall (click-to-load) ---------- */

.air-videos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.4rem;
	margin: 1.5rem 0 0;
}

.air-video {
	margin: 0;
	background: #fff;
	border: 1px solid var(--air-line);
	border-radius: var(--air-radius);
	overflow: hidden;
	box-shadow: var(--air-shadow);
}

/* Doubled container class on purpose. A bare `.air-video__btn` is (0,1,0) and loses to
   the theme/parent-theme button resets, which are (0,1,1) — the button kept their
   inline-block display and 17px padding, collapsing the thumbnail to 22x0. */
.air-video .air-video__btn {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: #000;
	cursor: pointer;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.air-video .air-video__thumb {
	display: block;
	width: 100%;
	height: 100%;
	/* hqdefault is 4:3 with black bars; cropping to 16:9 removes them. */
	object-fit: cover;
	transition: transform .35s ease, opacity .2s ease;
}

.air-video .air-video__btn:hover .air-video__thumb { transform: scale(1.04); opacity: .9; }

.air-video .air-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 62px;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.air-video__play svg { display: block; width: 100%; height: auto; }

.air-video__play-bg { fill: #212121; fill-opacity: .82; transition: fill .2s ease, fill-opacity .2s ease; }

.air-video .air-video__btn:hover .air-video__play-bg,
.air-video .air-video__btn:focus-visible .air-video__play-bg { fill: #c9a227; fill-opacity: 1; }

.air-video .air-video__btn:focus-visible { outline: 3px solid var(--air-gold); outline-offset: -3px; }

.air-video .air-video__title,
.air-video iframe { display: block; }

.air-video iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

.air-video__title {
	padding: .85rem 1rem 1rem;
	font-size: .92rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--air-ink);
}

.air-videos__more { margin: 1.5rem 0 0; text-align: center; }

/* ---------- Gallery ---------- */

.air-gallery {
	display: grid;
	gap: .85rem;
	margin: 1.5rem 0;
}

.air-gallery--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.air-gallery--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.air-gallery--4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.air-gallery__item {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--air-cream, #faf8f2);
	border-radius: 10px;
}

/* Specificity note: a theme reset of `.some-body img { height: auto }` is (0,1,1) —
   exactly the same as `.air-gallery__item img`. Whichever stylesheet loads LAST then
   wins, and the plugin's CSS loads first. Doubling up the container class makes these
   (0,2,1) so the component always sizes its own images. */
.air-gallery .air-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease, filter .25s ease;
}

.air-gallery .air-gallery__item:hover img,
.air-gallery .air-gallery__item:focus-visible img {
	transform: scale(1.06);
	filter: brightness(.72);
}

.air-gallery__zoom {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, .94);
	border-radius: 50%;
	color: #0b5d3b;
	opacity: 0;
	transform: translate(-50%, -50%) scale(.8);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
}

.air-gallery__zoom svg { width: 20px; height: 20px; }

.air-gallery__item:hover .air-gallery__zoom,
.air-gallery__item:focus-visible .air-gallery__zoom {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.air-gallery__item:focus-visible { outline: 3px solid #c9a227; outline-offset: 2px; }

/* The first tile carries more weight on wide screens — it reads as a feature rather
   than a uniform contact sheet.
   
   The feature tile KEEPS aspect-ratio 1/1. It must not be `auto`: a spanning grid item
   with no definite height sizes the row tracks from its image's intrinsic height, which
   made every square sibling get stretched to a tall box with the photo stranded at the
   top. Spanning two columns and two rows, a 1/1 tile is exactly as tall as two rows plus
   the gap, so every track stays square. Explicit column count keeps the span predictable. */
@media (min-width: 900px) {
	.air-gallery--4 { grid-template-columns: repeat(4, 1fr); }

	.air-gallery--4 .air-gallery__item:first-child {
		grid-column: span 2;
		grid-row: span 2;
	}
}

/* =========================================================================
   Component-scoped resets
   =========================================================================
   This plugin has to look right under whatever theme is active, and themes
   legitimately restyle bare elements. Observed on this install: the parent theme
   applies `border-radius: 20px` to every `img` and italicises every `figcaption`,
   which rounded the corners of images that already sit inside a clipped, rounded
   card and made video titles italic. Each reset below is scoped to a plugin
   component so it cannot leak back out into the theme. */

.air-video .air-video__thumb,
.air-gallery .air-gallery__item img,
.air-card .air-card__media img,
.air-pay img {
	border-radius: 0;
}

.air-video .air-video__title {
	font-style: normal;
}

.air-videos figure,
.air-gallery figure {
	margin: 0;
}

/* ---------- Branded placeholder (no suitable photograph yet) ---------- */

.air-ph {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: var(--air-green-dark, #073b25);
}

.air-ph__svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.air-ph__label {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1.4rem .9rem .7rem;
	background: linear-gradient(to top, rgba(7, 59, 37, .92), transparent);
	color: rgba(255, 255, 255, .92);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-align: center;
	text-transform: uppercase;
	line-height: 1.35;
}

/* The card media box has a fixed height for photos; the placeholder must match it. */
.air-card .air-card__media .air-ph { height: 190px; }
.air-card .air-card__media .air-ph__svg { height: 190px; }

/* ---------- Donate page: steps, trust, suggested amounts ---------- */

.air-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: .9rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.air-steps__item {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	margin: 0;
	padding: 1rem 1.1rem;
	background: #fff;
	border: 1px solid var(--air-line);
	border-radius: var(--air-radius);
}

.air-steps__num {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--air-green);
	border-radius: 50%;
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
}

.air-steps__body {
	font-size: .86rem;
	line-height: 1.5;
	color: var(--air-muted);
}

.air-steps__body strong {
	display: block;
	margin-bottom: .15rem;
	font-size: .95rem;
	color: var(--air-ink);
}

.air-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: .9rem 1.4rem;
	margin: 0 0 1.5rem;
	padding: 1.15rem 1.25rem;
	background: #eef6f1;
	border: 1px solid rgba(11, 93, 59, .18);
	border-radius: var(--air-radius);
}

.air-trust__item {
	margin: 0;
	font-size: .84rem;
	line-height: 1.55;
	color: #29513f;
}

.air-trust__item strong {
	display: block;
	color: var(--air-green-dark);
}

/* Suggested amounts */

.air-amounts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: .7rem;
	margin: 0 0 1.3rem;
}

.air-amounts .air-amount {
	display: block;
	padding: .85rem .9rem;
	background: #fff;
	border: 2px solid var(--air-line);
	border-radius: var(--air-radius);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.air-amounts .air-amount:hover { border-color: var(--air-green); transform: translateY(-2px); }

.air-amounts .air-amount.is-selected {
	border-color: var(--air-green);
	background: #eef6f1;
}

.air-amount__value {
	display: block;
	font-size: 1.12rem;
	font-weight: 700;
	color: var(--air-green-dark);
}

.air-amount__note {
	display: block;
	margin-top: .15rem;
	font-size: .76rem;
	line-height: 1.4;
	color: var(--air-muted);
}

/* A newly opened campaign, instead of a demoralising empty bar. */
.air-newlaunch {
	margin: .5rem 0 1rem;
	padding: .35rem .7rem;
	background: var(--air-cream);
	border: 1px dashed var(--air-line);
	border-radius: 999px;
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .03em;
	text-align: center;
	text-transform: uppercase;
	color: var(--air-green);
}

.air-newlaunch--lg {
	border-radius: var(--air-radius);
	font-size: .88rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	padding: .8rem 1rem;
	line-height: 1.55;
}

/* =========================================================================
   Touch-screen form sizing
   =========================================================================
   iOS Safari zooms the whole viewport whenever a focused form control has a font
   smaller than 16px, and there is no way to opt out short of disabling pinch-zoom
   (which is an accessibility regression). Measured on the live donation form at
   375px: all twelve controls were 15.2px, so a donor on an iPhone got a lurching
   zoom on every single field, and had to pinch back out between them.

   16px exactly — not larger — so the desktop design is untouched above the
   breakpoint and the mobile form still looks like the rest of the page. The taller
   padding is here for the same reason: a 44px-plus control is what a thumb needs. */

@media (max-width: 900px) {
	.air-field input[type="text"],
	.air-field input[type="email"],
	.air-field input[type="tel"],
	.air-field input[type="number"],
	.air-field input[type="search"],
	.air-field input[type="file"],
	.air-field select,
	.air-field textarea {
		padding: .72rem .8rem;
		font-size: 16px;
	}

	/* Checkbox rows and the interest pills are tap targets too. */
	.air-check {
		padding: .6rem 1rem;
		font-size: .95rem;
	}

	.air-field--check > label {
		padding-block: .3rem;
		font-size: .95rem;
	}

	/* Suggested-amount tiles: give them a real hit area. */
	.air-amount { min-height: 46px; }

	.air-btn { padding: .85rem 1.6rem; }
}
