/**
 * Partnership page (slug `partner-with-us`). Loaded only where the marker class
 * `ab-pt-` appears in the content (inc/enqueue.php) — never site-wide. Distinct
 * from the existing `partnership` page.
 *
 * Values follow the Figma "Partnership CHILD" frame. Brand colours use the
 * theme.json presets; literal hexes are the design's exact values where they sit
 * between tokens. No JS — accordion is native <details>, the type field a native
 * <select>.
 */

/* Shared rail + atoms ------------------------------------------------------ */
.ab-pt-impact__inner,
.ab-pt-ways__inner,
.ab-pt-partners__inner,
.ab-pt-trust__inner,
.ab-pt-faq__inner,
.ab-pt-inquiry__inner,
.ab-pt-cta__inner {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 5vw, 3.75rem);
}

.ab-pt-eyebrow {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}
.ab-pt-eyebrow--blue { color: var(--wp--preset--color--ab-blue); }
.ab-pt-eyebrow--white { color: #fff; }
.ab-pt-eyebrow--center { text-align: center; }
.ab-pt-eyebrow--plain { letter-spacing: 1.4px; }

.ab-pt-h2 {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.875rem, 1.3rem + 2vw, 2.625rem);
	line-height: 1.15;
	font-weight: 600;
	text-transform: capitalize;
	color: var(--wp--preset--color--ab-navy);
}
.ab-pt-h2--white { color: #fff; }
.ab-pt-h2--center { text-align: center; }

/* Buttons ------------------------------------------------------------------ */
.ab-pt-btn {
	display: inline-block;
	padding: 0.75rem 1.875rem;
	border-radius: 4px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.ab-pt-btn--block { display: block; width: 100%; border: 0; }
.ab-pt-btn--orange { background: var(--wp--preset--color--ab-orange); color: #fff; }
.ab-pt-btn--orange:hover,
.ab-pt-btn--orange:focus-visible { background: var(--wp--preset--color--ab-orange-600); }
.ab-pt-btn--ghost-blue { background: #fff; border: 0.6px solid var(--wp--preset--color--ab-blue); color: var(--wp--preset--color--ab-blue); }
.ab-pt-btn--ghost-blue:hover,
.ab-pt-btn--ghost-blue:focus-visible { background: #eef6fc; }
.ab-pt-btn--ghost-white { border: 1px solid #fff; color: #fff; }
.ab-pt-btn--ghost-white:hover,
.ab-pt-btn--ghost-white:focus-visible { background: rgba(255, 255, 255, 0.14); }

/* Shared check icon (trust + inquiry bullets) ------------------------------ */
.ab-pt-trust__icon {
	flex: none;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #e6f1f9;
	color: var(--wp--preset--color--ab-blue);
}
.ab-pt-check { width: 14px; height: 12px; }

/* 1. Hero ------------------------------------------------------------------ */
.ab-pt-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}
.ab-pt-hero > * { margin-block: 0; }
.ab-pt-hero__panel {
	background: #f5f2ed;
	padding: clamp(2.5rem, 4vw, 9.375rem) clamp(1.25rem, 5vw, 6.25rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ab-pt-hero__inner {
	width: 100%;
	max-width: 600px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
	text-align: center;
}
.ab-pt-hero__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);
	line-height: 1.08;
	font-weight: 700;
	text-transform: capitalize;
	color: var(--wp--preset--color--ab-navy);
}
.ab-pt-hero__text { display: flex; flex-direction: column; gap: 1.25rem; }
.ab-pt-hero__text p {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.25rem;
	line-height: 1.5;
	color: #52525b;
}
.ab-pt-hero__media {
	position: relative;
	background: var(--wp--preset--color--ab-navy);
	min-height: 340px;
}
.ab-pt-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ab-pt-hero__media img[src=""] { display: none; }

/* 2. Impact stats ---------------------------------------------------------- */
.ab-pt-impact { background: #fff; border-bottom: 1px solid #e9e9e9; padding-block: clamp(2.5rem, 4vw, 4.375rem); }
.ab-pt-impact__inner { display: flex; flex-direction: column; gap: 3.125rem; }
.ab-pt-impact__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.ab-pt-impact__cell {
	border: 0.6px solid #d4d4d8;
	padding: 3.125rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	text-align: center;
}
.ab-pt-impact__num {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(2.75rem, 2rem + 2vw, 4.375rem);
	line-height: 1;
	font-weight: 400;
	color: #52525b;
}
.ab-pt-impact__label {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.3;
	color: #52525b;
}

/* 3. Ways to partner ------------------------------------------------------- */
.ab-pt-ways { background: #f7f9fb; border-bottom: 1px solid #e9e9e9; padding-block: clamp(3rem, 6vw, 6.25rem); }
.ab-pt-ways__head { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; margin-bottom: 2.5rem; }
.ab-pt-ways__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ab-pt-waycard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 0.5px solid #e1e1e1;
	border-radius: 8px;
	overflow: hidden;
}
.ab-pt-waycard__media { aspect-ratio: 386 / 200; background: var(--wp--preset--color--ab-navy); }
.ab-pt-waycard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-pt-waycard__media img[src=""] { display: none; }
.ab-pt-waycard__body { display: flex; flex-direction: column; gap: 1.5625rem; padding: 1.5625rem 1.25rem; flex: 1 1 auto; }
.ab-pt-waycard__text { display: flex; flex-direction: column; gap: 0.625rem; flex: 1 1 auto; }
.ab-pt-waycard__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.5rem;
	font-weight: 500;
	color: #545454;
}
.ab-pt-waycard__sub {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.875rem;
	color: #52525b;
}
.ab-pt-waycard__list { margin: 0.625rem 0 0; padding: 0 0.625rem; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.ab-pt-waycard__list li {
	display: flex;
	align-items: center;
	gap: 0.9375rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.9375rem;
	color: #52525b;
}
.ab-pt-waycard__dot { flex: none; width: 5px; height: 5px; border-radius: 999px; background: #0a5a95; }

/* 4. Partners -------------------------------------------------------------- */
.ab-pt-partners { padding-block: clamp(3rem, 6vw, 6.25rem); border-bottom: 1px solid #e9e9e9; }
.ab-pt-partners__head { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; margin-bottom: 2.5rem; }
.ab-pt-partners__sub {
	margin: 0;
	max-width: 800px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.125rem;
	line-height: 1.5;
	color: #555;
}
.ab-pt-partners__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }
.ab-pt-partners__logo {
	aspect-ratio: 190 / 150;
	border: 0.6px solid #d4d4d8;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: #fff;
}
.ab-pt-partners__logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.ab-pt-partners__logo img[src=""] { display: none; }

/* 5. Trust & accountability ------------------------------------------------ */
.ab-pt-trust { background: #faf8f4; border-bottom: 1px solid #e9e9e9; padding-block: clamp(3rem, 6vw, 6.25rem); }
.ab-pt-trust__grid { display: grid; grid-template-columns: 650fr 510fr; gap: 2.5rem; align-items: center; }
.ab-pt-trust__body { display: flex; flex-direction: column; gap: 1.5rem; }
.ab-pt-trust__head { display: flex; flex-direction: column; gap: 1rem; }
.ab-pt-trust__intro {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.125rem;
	line-height: 1.5;
	color: #555;
}
.ab-pt-trust__list { margin: 0.625rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1.125rem; }
.ab-pt-trust__item { display: flex; align-items: flex-start; gap: 0.625rem; }
.ab-pt-trust__item > span:last-child {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.125rem;
	line-height: 1.45;
	color: #52525b;
}
.ab-pt-trust__side { display: flex; flex-direction: column; gap: 1.25rem; }
.ab-pt-trust__badges { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9375rem; }
.ab-pt-trust__badge {
	padding: 1.875rem 1.25rem;
	background: #fff;
	border: 0.6px solid var(--wp--preset--color--ab-blue);
	text-align: center;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.9375rem;
	color: var(--wp--preset--color--ab-blue);
}
.ab-pt-trust__docs { display: flex; flex-direction: column; gap: 0.75rem; }
.ab-pt-doc {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.9375rem 1.25rem;
	background: #fff;
	border: 0.6px solid #a1a1aa;
	border-radius: 10px;
	text-decoration: none;
}
.ab-pt-doc:hover,
.ab-pt-doc:focus-visible { border-color: var(--wp--preset--color--ab-blue); }
.ab-pt-doc__badge {
	flex: none;
	padding: 0.5rem 0.625rem;
	background: #e6f1f9;
	border-radius: 5px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--ab-blue);
}
.ab-pt-doc__text { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; }
.ab-pt-doc__title { font-family: var(--wp--preset--font-family--sans); font-size: 0.9375rem; font-weight: 500; color: #52525b; }
.ab-pt-doc__sub { font-family: var(--wp--preset--font-family--sans); font-size: 0.8125rem; color: #52525b; }
.ab-pt-doc__arrow { flex: none; color: var(--wp--preset--color--ab-blue); font-size: 1.125rem; }

/* 6. FAQ ------------------------------------------------------------------- */
.ab-pt-faq { background: #fef3e6; border-top: 1px solid #e1e1e1; padding-block: clamp(3rem, 6vw, 6.25rem); }
.ab-pt-faq__head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.ab-pt-faq__grid { display: grid; grid-template-columns: 585fr 585fr; gap: 1.875rem; align-items: start; }
.ab-pt-faq__list { display: flex; flex-direction: column; gap: 0.5rem; }
.ab-pt-faq__item { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.ab-pt-faq__q {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	padding: 0.75rem 0;
	cursor: pointer;
	list-style: none;
}
.ab-pt-faq__q::-webkit-details-marker { display: none; }
.ab-pt-faq__marker {
	flex: none;
	width: 0;
	height: 0;
	margin-top: 0.45rem;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid var(--wp--preset--color--ab-orange);
	transition: transform 0.15s ease;
}
.ab-pt-faq__item[open] .ab-pt-faq__marker { transform: rotate(90deg); }
.ab-pt-faq__qtext {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.125rem;
	color: #52525b;
}
.ab-pt-faq__a { padding: 0 0 0.9375rem 1.5625rem; }
.ab-pt-faq__a p {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	line-height: 1.6;
	color: #555;
}
.ab-pt-faq__more {
	margin: 1rem 0 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	color: #1f2933;
}
.ab-pt-faq__more a { color: var(--wp--preset--color--ab-blue); }
.ab-pt-faq__media { border-radius: 8px; overflow: hidden; background: var(--wp--preset--color--ab-navy); aspect-ratio: 585 / 400; }
.ab-pt-faq__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-pt-faq__media img[src=""] { display: none; }

/* 7. Inquiry form ---------------------------------------------------------- */
.ab-pt-inquiry { background: #fff; border-bottom: 1px solid #e9e9e9; padding-block: clamp(3rem, 6vw, 6.25rem); }
.ab-pt-inquiry__grid { display: grid; grid-template-columns: 550fr 600fr; gap: 3.125rem; align-items: center; }
.ab-pt-inquiry__intro { display: flex; flex-direction: column; gap: 1.75rem; }
.ab-pt-inquiry__head { display: flex; flex-direction: column; gap: 1rem; }
.ab-pt-inquiry__text { display: flex; flex-direction: column; gap: 1rem; }
.ab-pt-inquiry__text p {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.125rem;
	line-height: 1.6;
	color: #555;
}
.ab-pt-inquiry__list { margin: 0; padding: 0.625rem 0.625rem 0; list-style: none; display: flex; flex-direction: column; gap: 1.125rem; }
.ab-pt-inquiry__item { display: flex; align-items: flex-start; gap: 0.625rem; }
.ab-pt-inquiry__item > span:last-child {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.0625rem;
	line-height: 1.4;
	color: #52525b;
}

.ab-pt-form {
	background: #fff;
	border: 0.6px solid #d4d4d8;
	border-radius: 8px;
	padding: 2.5rem 1.875rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.ab-pt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9375rem; }
.ab-pt-field { display: flex; flex-direction: column; gap: 0.5rem; }
.ab-pt-field label {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.9375rem;
	font-weight: 500;
	color: #1f2933;
}
.ab-pt-field label span { color: var(--wp--preset--color--ab-orange); }
.ab-pt-field input,
.ab-pt-field select,
.ab-pt-field textarea {
	width: 100%;
	padding: 0.625rem 1.25rem;
	border: 0.6px solid #a1a1aa;
	border-radius: 4px;
	background: #fff;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.9375rem;
	color: #1f2933;
}
.ab-pt-field textarea { min-height: 100px; resize: vertical; }
.ab-pt-field input::placeholder,
.ab-pt-field textarea::placeholder { color: #a1a1aa; }
.ab-pt-field input:focus,
.ab-pt-field select:focus,
.ab-pt-field textarea:focus { outline: none; border-color: var(--wp--preset--color--ab-blue); }
.ab-pt-form__note {
	margin: 0;
	text-align: center;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8125rem;
	color: #1f2933;
}
.ab-pt-form__note a { color: var(--wp--preset--color--ab-blue); }

/* 8. Closing CTA (blue gradient) ------------------------------------------- */
.ab-pt-cta { background: linear-gradient(120deg, #0d72ba 0%, #0a5a95 100%); padding-block: clamp(3rem, 6vw, 6.25rem); }
.ab-pt-cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.875rem; }
.ab-pt-cta__text {
	margin: 0;
	max-width: 800px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.125rem;
	line-height: 1.5;
	color: #fff;
}
.ab-pt-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.ab-pt-cta__trust {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.75);
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 980px) {
	.ab-pt-hero { grid-template-columns: 1fr; }
	.ab-pt-hero__media { order: -1; min-height: 260px; }
	.ab-pt-impact__grid { grid-template-columns: repeat(2, 1fr); }
	.ab-pt-impact__cell:nth-child(odd):last-child { grid-column: 1 / -1; }
	.ab-pt-ways__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
	.ab-pt-partners__grid { grid-template-columns: repeat(3, 1fr); }
	.ab-pt-trust__grid,
	.ab-pt-faq__grid,
	.ab-pt-inquiry__grid { grid-template-columns: 1fr; }
	.ab-pt-faq__media { order: -1; }
}

@media (max-width: 560px) {
	.ab-pt-impact__grid { grid-template-columns: 1fr; }
	.ab-pt-impact__cell:nth-child(odd):last-child { grid-column: auto; }
	.ab-pt-partners__grid { grid-template-columns: repeat(2, 1fr); }
	.ab-pt-trust__badges { grid-template-columns: 1fr; }
	.ab-pt-form__row { grid-template-columns: 1fr; }
	.ab-pt-cta__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
}
