/*
 * Zakat Policy page — marker prefix `ab-zakat-`.
 *   1. ab-zakat-hero        — green hero: eyebrow, headline, lede (centred, white)
 *   2. ab-zakat-commitment  — five numbered standards (bg neutral-50)
 *   3. ab-zakat-oversight   — two governance cards (bg peach)
 *   4. ab-zakat-scholars    — endorsing-scholar card grid + honour note (white)
 *   5. ab-zakat-closing     — italic thank-you band (blue)
 *   6. ab-zakat-cta         — green "Give your Zakat with confidence" CTA
 *
 * Tokens where they map (ab-green #0F7060, ab-blue #0D72BA, ab-navy #053A66,
 * neutral scale). Design-only shades stay literal and scoped: the Oversight
 * peach #FEF3E6, section lede #555, hairline #E9E9E9. Section H2 is 40px here.
 * Figma TITLE→capitalize, UPPER→uppercase. Loaded conditionally by inc/enqueue.php.
 */

.ab-zakat-hero *,
.ab-zakat-section *,
.ab-zakat-cta * { box-sizing: border-box; }

/* ============================================================= *
 * 1. HERO — green band                                          *
 * ============================================================= */
.ab-zakat-hero {
	background: var(--wp--preset--color--ab-green);
	padding-top: 150px;
	padding-bottom: 150px;
}
.ab-zakat-hero__text {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}
.ab-zakat-hero__eyebrow {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #fff;
}
.ab-zakat-hero__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 64px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: capitalize;
	color: #fff;
}
.ab-zakat-hero__lede {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	text-transform: capitalize;
	color: #fff;
}

/* ============================================================= *
 * Shared section shell (Commitment / Oversight / Scholars)      *
 * ============================================================= */
.ab-zakat-section {
	padding-top: 100px;
	padding-bottom: 100px;
	border-bottom: 1px solid #E9E9E9;
}
.ab-zakat-section--commitment { background: var(--wp--custom--neutral--50); } /* #FAF8F4 */
.ab-zakat-section--oversight { background: #FEF3E6; } /* peach (no token) */
.ab-zakat-section--scholars { background: #fff; }
.ab-zakat-section__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.ab-zakat-section__head {
	max-width: 800px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ab-zakat-eyebrow {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--wp--preset--color--ab-blue);
}
.ab-zakat-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 40px;
	font-weight: 600;
	line-height: 1.15;
	text-transform: capitalize;
	color: var(--wp--preset--color--ab-navy);
}
.ab-zakat-lede {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	color: #555;
}

/* ============================================================= *
 * 2. OUR COMMITMENT — numbered standards                        *
 * ============================================================= */
.ab-zakat-standards {
	list-style: none;
	margin: 0;
	padding: 30px 0 0;
	max-width: 800px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.ab-zakat-standards li {
	display: flex;
	align-items: flex-start;
	gap: 25px;
	margin: 0;
	padding-bottom: 30px;
	border-bottom: 0.6px solid var(--wp--custom--neutral--300);
}
.ab-zakat-standards li:last-child { border-bottom: 0; padding-bottom: 0; }
.ab-zakat-standard__num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border-radius: 999px;
	background: var(--wp--preset--color--ab-green);
	color: #fff;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
}
.ab-zakat-standard__text {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ab-zakat-standard__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--wp--custom--neutral--700);
}
.ab-zakat-standard__desc {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	text-align: justify;
	color: var(--wp--custom--neutral--700);
}

/* ============================================================= *
 * 3. OVERSIGHT — two governance cards                           *
 * ============================================================= */
.ab-zakat-boxes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	gap: 30px;
}
.ab-zakat-box {
	padding: 45px 30px;
	background: #fff;
	border: 0.6px solid var(--wp--custom--neutral--300);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.ab-zakat-box__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: capitalize;
	color: var(--wp--custom--neutral--900);
}
.ab-zakat-box__body {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	text-transform: capitalize; /* Figma textCase TITLE */
	color: #000;
}
.ab-zakat-box__link {
	margin-top: auto;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 16px;
	font-weight: 500;
	text-transform: capitalize;
	color: var(--wp--preset--color--ab-green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ============================================================= *
 * 4. SCHOLARLY GUIDANCE — endorsing scholars                    *
 * ============================================================= */
.ab-zakat-scholars {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.ab-zakat-scholars__row {
	display: grid;
	gap: 30px;
}
.ab-zakat-scholars__row--top { grid-template-columns: 1fr 1fr; }
.ab-zakat-scholars__row--bottom { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ab-zakat-scholar {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: 15px 25px;
	min-height: 133px;
	background: #fff;
	border: 1px solid var(--wp--preset--color--ab-green);
	border-radius: 8px;
}
.ab-zakat-scholar__name {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: capitalize;
	color: var(--wp--custom--neutral--900);
}
.ab-zakat-scholar__role {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	text-transform: capitalize;
	color: var(--wp--custom--neutral--700);
}
.ab-zakat-scholars__note {
	max-width: 800px;
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--wp--custom--neutral--700);
}

/* ============================================================= *
 * 5. CLOSING — italic thank-you band                            *
 * ============================================================= */
.ab-zakat-closing {
	background: var(--wp--preset--color--ab-blue);
	padding-top: 100px;
	padding-bottom: 100px;
	border-bottom: 1px solid #E9E9E9;
}
.ab-zakat-closing__text {
	max-width: 800px;
	margin: 0 auto;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 26px;
	font-weight: 500;
	font-style: italic;
	line-height: 60px;
	text-align: center;
	color: #fff;
}

/* ============================================================= *
 * 6. ZAKAT CTA — green "Give your Zakat with confidence"        *
 * ============================================================= */
.ab-zakat-cta {
	background: var(--wp--preset--color--ab-green);
	padding-top: 50px;
	padding-bottom: 50px;
}
.ab-zakat-cta__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	text-align: center;
}
.ab-zakat-cta__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.ab-zakat-cta__eyebrow {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #fff;
}
.ab-zakat-cta__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 40px;
	font-weight: 400;
	line-height: 1.15;
	text-transform: capitalize;
	color: #fff;
}
.ab-zakat-cta__lede {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	color: #fff;
}
.ab-zakat-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 25px;
}
.ab-zakat-cta__btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 4px;
	background: #fff;
	color: var(--wp--preset--color--ab-green);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.2px;
	text-transform: capitalize;
	text-decoration: none;
	transition: background-color .15s ease;
}
.ab-zakat-cta__btn:hover,
.ab-zakat-cta__btn:focus { background: rgba(255, 255, 255, .88); }
.ab-zakat-cta__link {
	display: inline-block;
	padding-bottom: 2px;
	border-bottom: 1px solid #fff;
	color: #fff;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-transform: capitalize;
	text-decoration: none;
}
.ab-zakat-cta__link:hover,
.ab-zakat-cta__link:focus { border-bottom-color: rgba(255, 255, 255, .6); }

/* ============================================================= *
 * Responsive                                                    *
 * ============================================================= */
@media (max-width: 900px) {
	.ab-zakat-boxes { grid-template-columns: 1fr; }
	.ab-zakat-scholars__row--top,
	.ab-zakat-scholars__row--bottom { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.ab-zakat-hero { padding-top: 80px; padding-bottom: 80px; }
	.ab-zakat-hero__title { font-size: 40px; }
	.ab-zakat-hero__lede { font-size: 18px; }
	.ab-zakat-section,
	.ab-zakat-closing { padding-top: 60px; padding-bottom: 60px; }
	.ab-zakat-title { font-size: 30px; }
	.ab-zakat-standard__desc { text-align: left; }
	.ab-zakat-closing__text { font-size: 22px; line-height: 1.9; }
	.ab-zakat-cta__title { font-size: 30px; }
}
