/* Partner / sponsor inquiry theme. Loaded by [afc_form id="…" theme="partner"].
 * Dark moss panel, white type, translucent inputs, white pill button.
 * Inherits base.css; only overrides what the dark-on-green design needs. */

/* ---- the green panel ---- */
.afc-form--theme-partner {
	max-width: 100%;
	background: var(--afc-moss);
	border-radius: 24px;
	padding: clamp(28px, 4vw, 56px);
	color: #fff;
}

/* ---- heading + intro (white) ---- */
.afc-form--theme-partner .afc-form__title {
	font-family: 'Lora', serif;
	font-size: 26px;
	font-weight: 500;
	color: #fff;
	margin-bottom: 8px;
}
.afc-form--theme-partner .afc-section__text,
.afc-form--theme-partner .afc-desc {
	color: rgba(255, 255, 255, 0.78);
}
/* richtext "Description Area" acts as the intro paragraph under the title */
.afc-form--theme-partner .afc-section { margin: 0; }
.afc-form--theme-partner .afc-section__text { font-size: 16px; line-height: 1.65; }
.afc-form--theme-partner .afc-section__text p { margin: 0; }
.afc-form--theme-partner .afc-section__heading {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.18);
}

/* ---- 2-column field pairing (org|contact, email|phone) ---- */
.afc-form--theme-partner .afc-form__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 22px;
}
/* full-width rows: dropdown, long text, section blocks, name/address composites */
.afc-form--theme-partner .afc-field--select,
.afc-form--theme-partner .afc-field--textarea,
.afc-form--theme-partner .afc-field--name,
.afc-form--theme-partner .afc-field--address,
.afc-form--theme-partner .afc-section {
	grid-column: 1 / -1;
}

/* ---- labels (white, uppercase) ---- */
.afc-form--theme-partner .afc-label,
.afc-form--theme-partner .afc-legend {
	color: rgba(255, 255, 255, 0.72);
}
.afc-form--theme-partner .afc-req { color: #F2E0C8; }

/* ---- inputs (translucent on green) ---- */
.afc-form--theme-partner .afc-input,
.afc-form--theme-partner select,
.afc-form--theme-partner textarea {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #fff;
	border-radius: 14px;
	padding: 16px 18px;
}
.afc-form--theme-partner .afc-input::placeholder,
.afc-form--theme-partner textarea::placeholder {
	color: rgba(255, 255, 255, 0.5);
	opacity: 1;
}
.afc-form--theme-partner select { color: #fff; }
.afc-form--theme-partner select option { color: var(--afc-bark); } /* dropdown list on white */
.afc-form--theme-partner .afc-input:focus,
.afc-form--theme-partner select:focus,
.afc-form--theme-partner textarea:focus {
	border-color: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

/* ---- white pill submit, left-aligned, auto width ---- */
.afc-form--theme-partner .afc-form__actions { grid-column: 1 / -1; margin-top: 28px; }
.afc-form--theme-partner .afc-submit {
	width: auto;
	background: #fff;
	color: var(--afc-moss);
	padding: 15px 40px;
}
.afc-form--theme-partner .afc-submit:hover:not(:disabled) {
	background: var(--afc-cream);
	color: var(--afc-moss);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* ---- status / success on dark ---- */
.afc-form--theme-partner .afc-form__status { grid-column: 1 / -1; color: #fff; }
.afc-form--theme-partner .afc-form__success {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}

/* ---- single column on small screens ---- */
@media (max-width: 600px) {
	.afc-form--theme-partner .afc-form__fields { grid-template-columns: 1fr; }
	.afc-form--theme-partner .afc-submit { width: 100%; }
}
