/**
 * Kenya-A page — left content + right photo panel (does not affect Kenya-B).
 */

body.ciywr-kenya-a-page #right-sidebar,
body.ciywr-kenya-a-page #left-sidebar,
body.ciywr-kenya-a-page .widget-area,
body.ciywr-kenya-a-page .sidebar-container,
body.ciywr-kenya-a-page .page-header,
body.ciywr-kenya-a-page .entry-header,
body.ciywr-kenya-a-page .entry-title {
	display: none !important;
}

body.ciywr-kenya-a-page #content-wrap,
body.ciywr-kenya-a-page #main,
body.ciywr-kenya-a-page .content-area,
body.ciywr-kenya-a-page .entry,
body.ciywr-kenya-a-page .entry-content,
body.ciywr-kenya-a-page .oceanwp-post-content,
body.ciywr-kenya-a-page #primary {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin: 0 !important;
	float: none !important;
}

/* Parallax hero */
body.ciywr-kenya-a-page .ciywr-kenya-a__hero.ciywr-mission__hero--parallax {
	--ciywr-mission-hero-height: clamp(420px, 52vh, 560px);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--ciywr-mission-hero-height);
	height: var(--ciywr-mission-hero-height);
	max-height: var(--ciywr-mission-hero-height);
	padding: 0 20px;
	background-image: none;
	background-color: #0a0c10;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__hero.ciywr-mission__hero--parallax::before {
	display: none;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__hero .ciywr-mission__hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	line-height: 0;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__hero .ciywr-mission__hero-media img {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 165%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

body.ciywr-kenya-a-page .ciywr-kenya-a__hero.ciywr-mission__hero--parallax::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(16, 19, 24, 0.35) 0%,
		rgba(16, 19, 24, 0.48) 45%,
		rgba(16, 19, 24, 0.72) 100%
	);
}

body.ciywr-kenya-a-page .ciywr-kenya-a__hero .ciywr-mission__hero-inner {
	position: relative;
	z-index: 2;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__hero .ciywr-mission__eyebrow {
	color: #ffffff !important;
	letter-spacing: 0.18em;
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.85),
		0 0 18px rgba(0, 0, 0, 0.65);
}

body.ciywr-kenya-a-page .ciywr-kenya-a__hero .ciywr-mission__title {
	text-shadow:
		0 2px 4px rgba(0, 0, 0, 0.75),
		0 6px 24px rgba(0, 0, 0, 0.55);
}

body.ciywr-kenya-a-page .ciywr-kenya-a__hero .ciywr-mission__tagline {
	color: #ffffff !important;
	text-shadow:
		0 1px 3px rgba(0, 0, 0, 0.8),
		0 4px 18px rgba(0, 0, 0, 0.5);
}

/* Body */
body.ciywr-kenya-a-page .ciywr-kenya-a__body {
	padding-top: 48px;
	padding-bottom: 72px;
}

/* Left content + right photo panel (original Kenya layout) */
body.ciywr-kenya-a-page .ciywr-kenya-a__split {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	gap: 36px;
	align-items: stretch;
	max-width: 1100px;
	margin: 0 auto 48px;
	padding: 0 20px;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

/* Left column — page editor / WPBakery (H3 big, H4 small, UL lists) */
body.ciywr-kenya-a-page .ciywr-kenya-a__editor {
	min-width: 0;
	display: block;
	overflow-x: hidden; /* stop WPBakery row negative margins from breaking the split */
}

/* Keep WPBakery structure, only neutralize horizontal layout breakage */
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb-content-wrapper {
	margin: 0;
	padding: 0;
	max-width: 100%;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__editor .vc_row,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_row {
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Mission left column is typography-first — kill WPBakery row fill cards / extra gaps */
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .vc_row.vc_row-has-fill,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .vc_row[class*="vc_custom_"],
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .vc_custom_1786564015375,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .vc_custom_1786564026241 {
	margin-bottom: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__editor .vc_column_container > .vc_column-inner,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_column > .vc_column-inner {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_wrapper {
	margin: 0;
}

/* Big section title — editor Heading H3 (or H2) / WPBakery custom heading */
body.ciywr-kenya-a-page .entry-content .ciywr-kenya-a__editor h2,
body.ciywr-kenya-a-page .entry-content .ciywr-kenya-a__editor h3,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h2,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h3,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column h2,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column h3,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h2.vc_custom_heading,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h3.vc_custom_heading {
	font-family: var(--ciywr-font-serif, Georgia, "Times New Roman", serif) !important;
	font-size: clamp(1.4rem, 2.5vw, 1.85rem) !important;
	font-weight: 700 !important;
	line-height: 1.25;
	margin: 28px 0 16px;
	padding: 0;
	color: var(--ciywr-color-heading, #101318) !important;
	letter-spacing: normal;
	text-transform: none;
}

body.ciywr-kenya-a-page .entry-content .ciywr-kenya-a__editor h2:has(i),
body.ciywr-kenya-a-page .entry-content .ciywr-kenya-a__editor h3:has(i),
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h2:has(i),
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h3:has(i) {
	color: var(--ciywr-color-dark, #101318) !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb-content-wrapper > .vc_row:first-child h2,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb-content-wrapper > .vc_row:first-child h3,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor > h2:first-child,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor > h3:first-child {
	margin-top: 0;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__editor h2::after,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h3::after,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h4::after,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column h2::after,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column h3::after,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column h4::after,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h2.vc_custom_heading::after,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h3.vc_custom_heading::after,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h4.vc_custom_heading::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin-top: 10px;
	background: #c43c30;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__editor h2 span,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h3 span,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h4 span,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h2 b,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h3 b,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h4 b {
	font-family: inherit;
	color: inherit !important;
}

/* Smaller section heading — editor Heading H4 / WPBakery */
body.ciywr-kenya-a-page .entry-content .ciywr-kenya-a__editor h4,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h4,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column h4,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor h4.vc_custom_heading {
	margin: 20px 0 12px;
	padding: 0;
	font-family: var(--ciywr-font-serif, Georgia, "Times New Roman", serif) !important;
	font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
	font-weight: 700 !important;
	letter-spacing: normal;
	text-transform: none;
	color: var(--ciywr-color-heading, #101318) !important;
}

/* Paragraphs */
body.ciywr-kenya-a-page .ciywr-kenya-a__editor p,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column p {
	margin: 0 0 14px;
	font-size: 1.02rem;
	line-height: 1.65;
	color: #1a1d23;
}

/* Lists from editor */
body.ciywr-kenya-a-page .ciywr-kenya-a__editor ul,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column ul {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__editor ul li,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column ul li {
	position: relative;
	margin: 0 0 12px;
	padding-left: 16px;
	font-size: 0.98rem;
	line-height: 1.5;
	color: #1a1d23;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__editor ul li::before,
body.ciywr-kenya-a-page .ciywr-kenya-a__editor .wpb_text_column ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	background: #c43c30;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__block {
	margin-bottom: 0;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__head-left {
	text-align: left;
	margin: 0 0 16px;
	padding: 0;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__head-left .ciywr-mission__section-title {
	margin: 0 !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__head-left .ciywr-mission__section-title::after {
	margin-left: 0;
	margin-right: auto;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__facts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	background: #ffffff;
	padding: 22px 22px 24px;
	border-top: 3px solid #c43c30;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__lead {
	margin: 0 0 18px;
	font-size: 1.02rem;
	line-height: 1.65;
	color: #1a1d23;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__main .ciywr-mission__work {
	grid-template-columns: 1fr;
}

/* Right panel — top space matches left heading so panel aligns with facts box */
body.ciywr-kenya-a-page .ciywr-kenya-a__panel {
	--ciywr-kenya-a-head-offset: calc(clamp(1.4rem, 2.5vw, 1.85rem) * 1.25 + 16px);
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding-top: var(--ciywr-kenya-a-head-offset);
	min-height: 100%;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__panel-inner {
	position: sticky;
	top: 96px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	padding: 22px 16px 18px;
	border: 0;
	border-top: 3px solid #c43c30;
	box-shadow: none;
	outline: none;
	overflow: visible;
	min-height: 100%;
	box-sizing: border-box;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__panel-label {
	margin: 0 0 12px;
	padding-top: 0;
	line-height: 1.25;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #c43c30;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__panel-note {
	margin: 12px 0 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #5c6570;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__help {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid rgba(16, 19, 24, 0.1);
}

body.ciywr-kenya-a-page .ciywr-kenya-a__help-title {
	margin: 0 0 16px;
	font-family: var(--ciywr-mission-serif, "Source Serif 4", Georgia, serif);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
	color: #101318 !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__help-title::after {
	display: none !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__help-block {
	margin-bottom: 22px;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__help-step {
	margin: 0 0 12px;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.4;
	color: #1a1d23;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__donate-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 48px;
	min-height: 48px !important;
	max-height: 48px;
	margin: 0 0 10px;
	padding: 12px 16px !important;
	border: 1px solid #c43c30;
	border-radius: 0;
	background: #c43c30;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background 0.2s ease, border-color 0.2s ease;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__donate-btn:hover,
body.ciywr-kenya-a-page .ciywr-kenya-a__donate-btn:focus {
	background: #d14f42;
	border-color: #d14f42;
	color: #ffffff !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__paypal {
	margin: 0;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__paypal-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 48px;
	min-height: 48px !important;
	max-height: 48px;
	padding: 12px 16px !important;
	border: 1px solid #c43c30 !important;
	border-radius: 0 !important;
	background: #c43c30 !important;
	color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	box-sizing: border-box;
	transition: background 0.2s ease, border-color 0.2s ease;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__paypal-btn:hover,
body.ciywr-kenya-a-page .ciywr-kenya-a__paypal-btn:focus {
	background: #d14f42;
	border-color: #d14f42;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__paypal-btn:active {
	transform: none;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form {
	margin-top: 4px;
	padding: 14px 14px 12px !important;
	border: 1px solid #e6e8ec !important;
	border-radius: 8px;
	outline: none !important;
	box-shadow: 0 8px 24px rgba(16, 19, 24, 0.06) !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	box-sizing: border-box;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7,
body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-form,
body.ciywr-kenya-a-page .ciywr-kenya-a__form div[id^="wpcf7-f1512"],
body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-form-control-wrap {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
}

/* Liberia leftover Customizer CSS used div#wpcf7-f1512-p210-o1 (ID beats class rules). */
html body.ciywr-kenya-a-page .ciywr-kenya-a__form div#wpcf7-f1512-p210-o1,
html body.ciywr-kenya-a-page div#wpcf7-f1512-p210-o1 {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-sizing: border-box !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-form > p {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form p:has(> label:empty),
body.ciywr-kenya-a-page .ciywr-kenya-a__form label:empty,
body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-form > p:not(:has(.wpcf7-form-control)):not(:has(.wpcf7-submit)) {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-form label {
	display: block;
	margin: 0;
	padding: 0;
	border: 0 !important;
	font-weight: 400;
	background: transparent !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form input.wpcf7-form-control,
body.ciywr-kenya-a-page .ciywr-kenya-a__form textarea.wpcf7-form-control,
body.ciywr-kenya-a-page .ciywr-kenya-a__form input[type="text"],
body.ciywr-kenya-a-page .ciywr-kenya-a__form input[type="email"],
body.ciywr-kenya-a-page .ciywr-kenya-a__form input[type="tel"],
body.ciywr-kenya-a-page .ciywr-kenya-a__form textarea {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border: 1px solid #e6e8ec !important;
	border-radius: 6px !important;
	background: #f7f8fa !important;
	background-color: #f7f8fa !important;
	box-shadow: none !important;
	outline: none !important;
	color: #101318 !important;
	font-family: var(--ciywr-mission-font, "Source Sans 3", Verdana, Geneva, sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form input.wpcf7-form-control::placeholder,
body.ciywr-kenya-a-page .ciywr-kenya-a__form textarea.wpcf7-form-control::placeholder {
	color: #8a929c !important;
	font-weight: 500 !important;
	opacity: 1;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form input.wpcf7-form-control:hover,
body.ciywr-kenya-a-page .ciywr-kenya-a__form textarea.wpcf7-form-control:hover {
	border-color: #d0d4da !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form input.wpcf7-form-control:focus,
body.ciywr-kenya-a-page .ciywr-kenya-a__form textarea.wpcf7-form-control:focus {
	outline: none !important;
	border-color: #c43c30 !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(196, 60, 48, 0.12) !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form textarea.wpcf7-form-control {
	min-height: 88px !important;
	resize: none;
}

/* Address is a CF7 textarea — keep it field-sized, not a giant message box */
body.ciywr-kenya-a-page .ciywr-kenya-a__form textarea[name="textarea-848"],
body.ciywr-kenya-a-page .ciywr-kenya-a__form textarea[placeholder="Address"] {
	min-height: 48px !important;
	height: 48px !important;
	resize: none;
}

/* Hide any leftover v2 checkbox widget if cached markup appears */
body.ciywr-kenya-a-page .ciywr-kenya-a__form .g-recaptcha,
body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-recaptcha iframe,
body.ciywr-kenya-a-page .ciywr-kenya-a__form .grecaptcha-noscript {
	display: none !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-recaptcha,
body.ciywr-kenya-a-page .ciywr-kenya-a__form .g-recaptcha {
	max-width: 100%;
	overflow: hidden;
	transform-origin: left top;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form input[type="submit"],
body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-submit {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 48px !important;
	margin: 4px 0 0 !important;
	padding: 12px 16px !important;
	border: 1px solid #c43c30 !important;
	border-radius: 0 !important;
	background: #c43c30 !important;
	background-color: #c43c30 !important;
	box-shadow: none !important;
	color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form input[type="submit"]:hover,
body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-submit:hover,
body.ciywr-kenya-a-page .ciywr-kenya-a__form input[type="submit"]:focus,
body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-submit:focus {
	background: #d14f42 !important;
	background-color: #d14f42 !important;
	border-color: #d14f42 !important;
	color: #ffffff !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-spinner {
	margin-left: 8px;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__form .wpcf7-response-output {
	margin: 8px 0 0 !important;
	padding: 10px 12px !important;
	border: 0 !important;
	border-radius: 6px !important;
	font-size: 0.9rem !important;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__gallery-wrap {
	max-width: 1100px;
	margin: 0 auto 24px;
	padding: 0 20px;
}

/* Donation CTA below Ministry Moments banner (Kenya-A only) */
body.ciywr-kenya-a-page .ciywr-kenya-a__help-cta {
	max-width: 1100px;
	margin: 0 auto 48px;
	padding: 32px 24px 36px;
	background: #101318;
	color: #ffffff;
	text-align: center;
	box-shadow: 0 16px 40px rgba(16, 19, 24, 0.18);
}

body.ciywr-kenya-a-page .ciywr-kenya-a__help-cta-title {
	margin: 0 0 22px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.25rem, 2.4vw, 1.55rem);
	font-weight: 600;
	line-height: 1.3;
	color: #ffffff;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__help-cta-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-items: stretch;
	max-width: 640px;
	margin: 0 auto;
	width: 100%;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__paypal--cta {
	display: block;
	margin: 0;
	width: 100%;
	height: 56px;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__help-cta-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 56px;
	min-height: 56px !important;
	max-height: 56px;
	padding: 8px 16px !important;
	border: 1px solid #c43c30 !important;
	border-radius: 0 !important;
	background: #c43c30 !important;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	box-sizing: border-box;
	transition: background 0.2s ease, border-color 0.2s ease;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__help-cta-btn:hover,
body.ciywr-kenya-a-page .ciywr-kenya-a__help-cta-btn:focus {
	background: #d14f42;
	border-color: #d14f42;
	color: #ffffff !important;
}

@media (max-width: 560px) {
	body.ciywr-kenya-a-page .ciywr-kenya-a__help-cta {
		margin: 0 16px 40px;
		padding: 26px 16px 28px;
	}

	body.ciywr-kenya-a-page .ciywr-kenya-a__help-cta-actions {
		grid-template-columns: 1fr;
	}
}

/* Plugin slider galleries (CIYWR Slider Gallery) on Kenya-A */
body.ciywr-kenya-a-page .ciywr-kenya-a__panel .ciywr-sg-slider {
	width: 100%;
	max-width: 100%;
	margin: 0 0 12px;
	border-radius: 2px;
	aspect-ratio: 4 / 3;
	min-height: 240px;
	height: auto;
	--ciywr-sg-h: 100%;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__panel .ciywr-sg-slider__track {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__gallery-wrap .ciywr-sg-slider {
	width: 100%;
	max-width: 100%;
	margin: 0;
	aspect-ratio: 16 / 9;
	height: auto;
	--ciywr-sg-h: 100%;
}

body.ciywr-kenya-a-page .ciywr-kenya-a__gallery-wrap .ciywr-sg-slider__track {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Legacy fade sliders (fallback) */
body.ciywr-kenya-a-page .ciywr-kenya-fade-slider {
	position: relative;
	overflow: hidden;
	background: #101318;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.ciywr-kenya-a-page .ciywr-kenya-fade-slider--full {
	width: 100%;
	max-width: 100%;
	margin: 0;
	aspect-ratio: 16 / 9;
	height: auto;
}

body.ciywr-kenya-a-page .ciywr-kenya-fade-slider--side {
	width: 100%;
	max-width: 100%;
	margin: 0;
	border-radius: 2px;
	aspect-ratio: 4 / 3;
	min-height: 240px;
	height: auto;
}

body.ciywr-kenya-a-page .ciywr-kenya-fade-slider__track {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

body.ciywr-kenya-a-page .ciywr-kenya-fade-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.1s ease, visibility 1.1s ease;
	z-index: 0;
}

body.ciywr-kenya-a-page .ciywr-kenya-fade-slider__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

body.ciywr-kenya-a-page .ciywr-kenya-fade-slider__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

body.ciywr-kenya-a-page .ciywr-kenya-fade-slider__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 14px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 8px;
	pointer-events: none;
}

body.ciywr-kenya-a-page .ciywr-kenya-fade-slider__dot {
	pointer-events: auto;
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
}

body.ciywr-kenya-a-page .ciywr-kenya-fade-slider__dot.is-active {
	background: #c43c30;
	transform: scale(1.15);
}

@media (max-width: 900px) {
	body.ciywr-kenya-a-page .ciywr-kenya-a__split {
		grid-template-columns: 1fr;
		gap: 24px;
		align-items: start;
	}

	body.ciywr-kenya-a-page .ciywr-kenya-a__main > .ciywr-kenya-a__block:last-child,
	body.ciywr-kenya-a-page .ciywr-kenya-a__main > .ciywr-kenya-a__block:last-child .ciywr-mission__work,
	body.ciywr-kenya-a-page .ciywr-kenya-a__main > .ciywr-kenya-a__block:last-child .ciywr-mission__work-block:last-child {
		flex: none;
	}

	body.ciywr-kenya-a-page .ciywr-kenya-a__panel-inner {
		position: static;
		min-height: 0;
	}

	body.ciywr-kenya-a-page .ciywr-kenya-a__panel {
		order: -1;
		padding-top: 0;
		min-height: 0;
	}
}

@media (max-width: 767px) {
	body.ciywr-kenya-a-page .ciywr-kenya-a__hero.ciywr-mission__hero--parallax {
		--ciywr-mission-hero-height: clamp(300px, 48vh, 420px);
	}

	body.ciywr-kenya-a-page .ciywr-kenya-a__body {
		padding-top: 36px;
		padding-bottom: 56px;
	}

	body.ciywr-kenya-a-page .ciywr-kenya-fade-slider--full {
		aspect-ratio: 16 / 10;
	}

	body.ciywr-kenya-a-page .ciywr-kenya-fade-slider--side {
		aspect-ratio: 4 / 3;
		min-height: 200px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.ciywr-kenya-a-page .ciywr-kenya-a__hero .ciywr-mission__hero-media img {
		height: 100%;
		transform: none !important;
		will-change: auto;
	}

	body.ciywr-kenya-a-page .ciywr-kenya-fade-slider__slide {
		transition: none;
	}
}
