/* Cornerstone Giving — Give page front-end styles */

.cstone-give-wrap {
	max-width: 740px;
}

.cstone-give-heading {
	margin-bottom: 0.5rem;
}

.cstone-give-intro {
	font-size: 1.1em;
	color: var(--wp--preset--color--muted, #565b62);
	margin-bottom: 2rem;
	max-width: 60ch;
}

/* Provider output area */
.cstone-give-provider-wrap {
	margin: 2rem 0;
}

.cstone-give-embed {
	margin: 0 auto;
}

.cstone-give-embed iframe {
	border-radius: 8px;
}

.cstone-give-action {
	margin: 1.5rem 0;
}

.cstone-give-button-lg {
	font-size: 1.2rem !important;
	padding: 0.9rem 2.5rem !important;
}

.cstone-give-paypal-form {
	display: inline-block;
}

/* Funds list */
.cstone-give-funds-section {
	margin: 2.5rem 0;
	padding: 1.5rem 2rem;
	background: var(--wp--preset--color--surface, #f6f7f9);
	border-radius: 10px;
}

.cstone-give-funds-heading {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

.cstone-give-funds-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.75rem;
}

.cstone-give-fund {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cstone-fund-name {
	font-weight: 600;
	color: var(--wp--preset--color--ink, #1a1d21);
}

.cstone-fund-desc {
	font-size: 0.88em;
	color: var(--wp--preset--color--muted, #565b62);
}

/* Why We Give */
.cstone-give-why {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--wp--preset--color--line, #e4e7eb);
}

.cstone-give-why h3 {
	margin-top: 0;
}

.cstone-give-why blockquote,
.cstone-give-why p:has(em) {
	border-left: 3px solid var(--wp--preset--color--primary, #2b5c8a);
	padding-left: 1rem;
	margin-left: 0;
	color: var(--wp--preset--color--muted, #565b62);
	font-style: italic;
}

/* Admin-only notice (unconfigured state) */
.cstone-admin-notice {
	padding: 0.75rem 1rem;
	background: #fff8e1;
	border-left: 4px solid #ffc107;
	border-radius: 4px;
	font-size: 0.9em;
}
