/* ARYF Recognition Page — supporters & volunteers */

/* The parent The7 theme renders pages on a dark background. The recognition
 * page mixes white cards (logos, volunteer cards, name pills) with on-dark
 * section headings, so we keep the body color light and override to dark
 * inside any white-backed component below. */
.aryf-recognition {
	max-width: 960px;
	margin: 0 auto;
	padding: 24px 24px 48px;
	color: #e5e7eb;
}

.aryf-recognition section {
	margin-bottom: 40px;
}

.aryf-recognition h2 {
	font-size: 1.75rem;
	margin: 0 0 24px;
	color: #ffffff;
}

.aryf-recognition h3 {
	font-size: 1.25rem;
	margin: 0 0 12px;
	color: #ffffff;
}

/* Hero / intro */
.aryf-recognition-hero {
	text-align: center;
	margin-bottom: 32px;
}

.aryf-recognition-lede {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #d1d5db;
	max-width: 640px;
	margin: 0 auto;
}

/* Corporate sponsors — logo grid */
.aryf-recognition-logo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

.aryf-recognition-logo-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	padding: 24px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	text-align: center;
	text-decoration: none;
	color: #f3f4f6;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.aryf-recognition-logo-card:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(26, 126, 251, 0.6);
	transform: translateY(-1px);
}

.aryf-recognition-logo-card img {
	max-width: 100%;
	max-height: 80px;
	height: auto;
	width: auto;
	display: block;
}

.aryf-recognition-logo-text {
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #ffffff;
}

.aryf-recognition-logo-card--placeholder {
	background: transparent;
	border: 1.5px dashed rgba(255, 255, 255, 0.22);
	color: #9ca3af;
	gap: 6px;
}

.aryf-recognition-logo-card--placeholder:hover {
	background: rgba(26, 126, 251, 0.06);
	border-color: rgba(26, 126, 251, 0.7);
	color: #60a5fa;
	transform: none;
}

.aryf-recognition-placeholder-line {
	font-size: 1.05rem;
	font-weight: 600;
}

.aryf-recognition-placeholder-sub {
	font-size: 0.85rem;
}

/* Why-sponsor pitch block — soft glass panel that picks up the page gradient */
.aryf-recognition-pitch {
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 28px 32px;
	color: #e5e7eb;
}

.aryf-recognition-pitch h3 {
	color: #ffffff;
}

.aryf-recognition-pitch ul {
	margin: 0 0 20px;
	color: #d1d5db;
}

.aryf-recognition-pitch li {
	margin-bottom: 8px;
	line-height: 1.55;
}

.aryf-recognition-pitch strong {
	color: #ffffff;
}

.aryf-recognition-cta {
	margin: 0;
}

/* Buttons */
.aryf-recognition-button {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 8px;
	background: #1a7efb;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease;
}

.aryf-recognition-button:hover {
	background: #135bcf;
}

.aryf-recognition-button--ghost {
	background: transparent;
	color: #1a7efb !important;
	border: 1.5px solid #1a7efb;
}

.aryf-recognition-button--ghost:hover {
	background: rgba(26, 126, 251, 0.08);
}

/* Individual supporters — name list */
.aryf-recognition-name-list,
.aryf-recognition-inkind-list,
.aryf-recognition-volunteer-list,
.aryf-recognition-pitch ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aryf-recognition-name-list li,
.aryf-recognition-inkind-list li,
.aryf-recognition-volunteer-list li {
	list-style: none;
}

.aryf-recognition-name-list li::marker,
.aryf-recognition-inkind-list li::marker,
.aryf-recognition-volunteer-list li::marker {
	content: "";
}

.aryf-recognition-name-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px 24px;
}

.aryf-recognition-name-list li {
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	font-weight: 500;
	color: #f3f4f6;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.aryf-recognition-name-list li:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(26, 126, 251, 0.4);
	transform: translateY(-1px);
}

/* Re-bullet the pitch block — bullets read fine inside the white card. */
.aryf-recognition-pitch ul {
	padding-left: 20px;
	list-style: disc;
}

/* In-kind */
.aryf-recognition-inkind-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aryf-recognition-inkind-list li {
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: #e5e7eb;
}

.aryf-recognition-inkind-list li:last-child {
	border-bottom: 0;
}

.aryf-recognition-inkind-note {
	color: #9ca3af;
	margin-left: 6px;
}

/* Volunteers */
.aryf-recognition-volunteer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.aryf-recognition-volunteer-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.aryf-recognition-volunteer-card:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(26, 126, 251, 0.4);
}

.aryf-recognition-volunteer-name {
	font-weight: 600;
	font-size: 1.05rem;
	color: #ffffff;
}

.aryf-recognition-volunteer-role {
	font-size: 0.92rem;
	color: #9ca3af;
}

/* Join-them footer */
.aryf-recognition-join {
	text-align: center;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.aryf-recognition-join-ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
}

/* Compact callout — used on /ways-to-help/ and the homepage to point at
 * /ways-to-help/supporters/. Self-contained so it can render outside the
 * .aryf-recognition wrapper. */
.aryf-recognition-callout {
	max-width: 960px;
	margin: 24px auto;
	padding: 24px 28px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	color: #e5e7eb;
	transition: background 0.18s ease, border-color 0.18s ease;
}

/* Pull the callout up into the empty-spacer / wrapper-padding gap that the
 * Elementor pages above leave below their last visible content. Without
 * this, the homepage shows ~100px of dead space (an 80px empty Elementor
 * trailer section + our 24px margin) and Ways-to-Help shows ~64px
 * (40px wrapper padding + 24px margin) above the callout — both feel
 * disconnected from the section above. Page-targeted so we don't risk
 * pulling content into other layouts where the space above is real. */
body.page-id-19530 .aryf-recognition-callout {
	margin-top: -88px; /* home: empty trailer + spacing — leaves ~40px visible gap */
}

body.page-id-19540 .aryf-recognition-callout {
	margin-top: -120px; /* ways-to-help: ~150px of trailing dead space — leaves ~30px gap */
}

.aryf-recognition-callout:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(26, 126, 251, 0.4);
}

.aryf-recognition-callout-title {
	font-size: 1.35rem;
	margin: 0 0 8px;
	color: #ffffff;
}

.aryf-recognition-callout-lede {
	margin: 0 0 18px;
	color: #d1d5db;
	line-height: 1.55;
}

.aryf-recognition-callout-cta {
	margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
	.aryf-recognition {
		padding: 16px 16px 32px;
	}
	.aryf-recognition section {
		margin-bottom: 32px;
	}
	.aryf-recognition-hero {
		margin-bottom: 24px;
	}
	.aryf-recognition h2 {
		font-size: 1.5rem;
		margin-bottom: 18px;
	}
	.aryf-recognition-lede {
		font-size: 1rem;
	}
	.aryf-recognition-logo-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	.aryf-recognition-pitch {
		padding: 22px;
	}
	.aryf-recognition-join {
		margin-top: 28px;
		padding-top: 24px;
	}
	.aryf-recognition-callout {
		margin: 20px 16px;
		padding: 20px 22px;
	}
	.aryf-recognition-callout-title {
		font-size: 1.2rem;
	}
	body.page-id-19530 .aryf-recognition-callout {
		margin-top: -64px;
	}
	body.page-id-19540 .aryf-recognition-callout {
		margin-top: -88px;
	}
}

@media (max-width: 480px) {
	.aryf-recognition-logo-grid {
		grid-template-columns: 1fr;
	}
}
