/*
Theme Name: NBF Theme
Theme URI: https://example.com/nbf-theme
Author: Glowing Dark
Author URI: https://glowingdark.com
Description: WordPress theme built from the Nageshwar Bimla Foundation.
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nbf-theme
*/

/* Keep file to satisfy WordPress theme stylesheet requirement. */

/* DESKTOP / WEB: apply small negative gap so caption sits closer to avatar */
@media (min-width: 768px) {
	#volunteers .single-cases .cases-img {
		margin-bottom: -50px !important;
	}
}

:root {
	--rpf-ink: #132238;
	--rpf-body: #526277;
	--rpf-muted: #8091a7;
	--rpf-line: rgba(19, 34, 56, 0.12);
	--rpf-surface: #ffffff;
	--rpf-surface-soft: #edf4fb;
	--rpf-surface-accent: #eef8f3;
	--rpf-brand: #1f9d6a;
	--rpf-brand-dark: #16714c;
	--rpf-brand-blue: #195b9b;
	--rpf-brand-blue-dark: #123f71;
	--rpf-gold: #e2aa42;
	--rpf-coral: #f07c52;
	--rpf-shadow: 0 24px 64px rgba(23, 61, 114, 0.12);
	--rpf-radius-lg: 32px;
	--rpf-radius-md: 22px;
	--rpf-radius-sm: 16px;
	--rpf-max: 1240px;
}

body {
	color: var(--rpf-body);
	background:
		radial-gradient(circle at top left, rgba(31, 157, 106, 0.14), transparent 24%),
		radial-gradient(circle at top right, rgba(25, 91, 155, 0.12), transparent 30%),
		radial-gradient(circle at 50% 18%, rgba(226, 170, 66, 0.08), transparent 22%),
		linear-gradient(180deg, #fcfdff 0%, #eef4fb 52%, #f7fbff 100%);
}

body,
button,
input,
select,
textarea {
	font-family: Poppins, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero__caption h1,
.hero__caption h2 {
	font-family: "Playfair Display", Georgia, serif;
	color: var(--rpf-ink);
}

.container,
.container-fluid {
	max-width: var(--rpf-max);
}

.header-area .main-header {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 248, 255, 0.9));
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(35, 90, 159, 0.1);
	position: relative;
	z-index: 1000;
	box-shadow: 0 14px 34px rgba(23, 61, 114, 0.08);
}

.header-area .header-bottom {
	padding: 14px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-area .header-bottom.header-sticky.sticky-bar {
	position: sticky;
	top: 0;
	left: auto;
	width: 100%;
	animation: none;
}

.logo img,
.footer-logo img,
.custom-logo {
	max-height: 145px ;
	width: auto;
	object-fit: contain;
}

.logo,
.logo a,
.footer-logo,
.footer-logo a,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.logo a,
.footer-logo a,
.custom-logo-link {
	max-height: 153px;
	overflow: hidden;
}

.logo img,
.footer-logo img,
.custom-logo-link img,
img.custom-logo {
	display: block;
	width: auto !important;
	max-width: 100%;
	max-height: 145px !important;
	height: auto !important;
}

.header-area .row.align-items-center {
	min-height: 165px;
}

.header-area .logo {
	max-width: 100%;
}

.header-area .logo a,
.footer-logo a,
.rpf-site-logo {
	max-width: 100%;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.header-area .logo img,
.footer-logo img,
.rpf-site-logo img {
	max-height: 145px !important;
	width: auto !important;
	height: auto !important;
	display: block;
	object-fit: contain;
}

.header-area .menu-wrapper {
	min-height: 165px;
}

.header-area .col-xl-2.col-lg-2,
.header-area .col-xl-10.col-lg-10 {
	display: flex;
	align-items: center;
}

#navigation li a,
.slicknav_nav a {
	font-size: 15px;
	font-weight: 600;
	color: var(--rpf-ink);
	letter-spacing: 0.01em;
	position: relative;
	padding: 12px 16px;
	border-radius: 999px;
	transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#navigation li a:hover,
#navigation li.current-menu-item > a {
	color: var(--rpf-brand);
	background: rgba(29, 107, 82, 0.10);
	box-shadow: 0 10px 22px rgba(29, 107, 82, 0.10);
	transform: translateY(-1px);
}

#navigation li.current-menu-item > a,
#navigation li.current-menu-ancestor > a {
	color: var(--rpf-brand);
	background: rgba(29, 107, 82, 0.14);
	box-shadow: inset 0 0 0 1px rgba(29, 107, 82, 0.12);
}

#navigation li a::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 7px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--rpf-brand), var(--rpf-gold));
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
}

#navigation li a:hover::after,
#navigation li.current-menu-item > a::after,
#navigation li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.header-btn,
.rpf-mini-btn,
.rpf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-btn {
	background: linear-gradient(135deg, var(--rpf-brand-blue), var(--rpf-brand));
	box-shadow: 0 18px 34px rgba(25, 91, 155, 0.2);
}

.header-btn:hover,
.rpf-btn:hover,
.rpf-mini-btn:hover {
	transform: translateY(-2px);
}

.rpf-home {
	overflow: clip;
}

.rpf-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(25, 91, 155, 0.12), rgba(31, 157, 106, 0.12));
	color: var(--rpf-brand-blue-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rpf-hero {
	padding: 120px 0 72px;
	position: relative;
}

.rpf-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0.92) 15%, rgba(237, 244, 251, 0.72) 100%),
		radial-gradient(circle at right top, rgba(31, 157, 106, 0.12), transparent 34%),
		radial-gradient(circle at left center, rgba(25, 91, 155, 0.08), transparent 28%);
	pointer-events: none;
}

.rpf-hero .container,
.rpf-impact-strip .container,
.rpf-story .container,
.rpf-programs .container,
.rpf-featured-projects .container,
.rpf-gallery-band .container,
.rpf-team .container,
.rpf-cta .container {
	position: relative;
	z-index: 1;
}

.rpf-hero__grid,
.rpf-story__grid,
.rpf-cta__box {
	display: grid;
	gap: 44px;
	align-items: center;
}

.rpf-hero__grid {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.rpf-hero__content h1 {
	font-size: clamp(42px, 5vw, 72px);
	line-height: 0.98;
	margin: 18px 0 20px;
	max-width: 12ch;
}

.rpf-hero__content h1 span {
	display: block;
	text-wrap: balance;
}

.rpf-hero__lead,
.rpf-section-head p,
.rpf-story__content p,
.rpf-project-card__body p,
.rpf-program-card__body p,
.rpf-cta__box p {
	font-size: 17px;
	line-height: 1.85;
	color: var(--rpf-body);
}

.rpf-hero__actions,
.rpf-project-card__actions,
.rpf-cta__actions,
.rpf-inline-points {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.rpf-btn {
	min-height: 54px;
	padding: 0 26px;
	font-size: 15px;
	border: 1px solid transparent;
}

.rpf-btn--primary,
.rpf-mini-btn {
	background: linear-gradient(135deg, var(--rpf-brand-blue), var(--rpf-brand));
	color: #fff;
	box-shadow: 0 18px 34px rgba(35, 90, 159, 0.18);
}

.rpf-btn--ghost {
	background: rgba(255, 255, 255, 0.86);
	border-color: rgba(25, 91, 155, 0.12);
	color: var(--rpf-ink);
}

.rpf-btn--ghost-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.36);
	color: #fff;
}

.rpf-trust-row,
.rpf-impact-strip__grid,
.rpf-programs__grid,
.rpf-projects-grid,
.rpf-gallery-grid,
.rpf-team__grid {
	display: grid;
	gap: 20px;
}

.rpf-trust-row {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 34px;
}

.rpf-trust-row div,
.rpf-impact-strip__grid > div {
	padding: 20px 22px;
	border-radius: var(--rpf-radius-sm);
	border: 1px solid rgba(35, 90, 159, 0.1);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.88));
	box-shadow: 0 18px 38px rgba(35, 90, 159, 0.08);
	position: relative;
	overflow: hidden;
}

.rpf-trust-row div::before,
.rpf-impact-strip__grid > div::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--rpf-brand-blue), var(--rpf-brand), var(--rpf-gold));
}

.rpf-trust-row strong,
.rpf-impact-strip strong {
	display: block;
	color: var(--rpf-ink);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.rpf-trust-row span,
.rpf-impact-strip span {
	display: block;
	margin-top: 7px;
	color: var(--rpf-muted);
	font-size: 14px;
	line-height: 1.6;
}

.rpf-hero__media {
	position: relative;
	min-height: 620px;
}

.rpf-hero__image {
	position: absolute;
	overflow: hidden;
	border-radius: 28px;
	box-shadow: var(--rpf-shadow);
}

.rpf-hero__image img,
.rpf-story__media img,
.rpf-program-card img,
.rpf-project-card img,
.rpf-gallery-grid img,
.rpf-team-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rpf-hero__image--main {
	inset: 0 70px 110px 0;
}

.rpf-hero__image--card {
	width: 280px;
	height: 220px;
	right: 0;
	top: 42px;
	border: 8px solid rgba(255, 255, 255, 0.88);
}

.rpf-hero__image--side {
	width: 220px;
	height: 260px;
	right: 28px;
	bottom: 12px;
	border: 8px solid rgba(255, 255, 255, 0.88);
}

.rpf-hero__note {
	position: absolute;
	left: 34px;
	bottom: 28px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	max-width: 300px;
	padding: 18px 20px;
	border-radius: 22px;
	background: rgba(19, 34, 56, 0.86);
	color: #fff;
	box-shadow: 0 20px 40px rgba(19, 34, 56, 0.24);
}

.rpf-hero__note i,
.rpf-icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(220, 165, 74, 0.16);
	color: var(--rpf-gold);
	font-size: 18px;
}

.rpf-hero__note strong {
	display: block;
	font-size: 16px;
	line-height: 1.3;
	margin-bottom: 5px;
}

.rpf-hero__note span {
	display: block;
	font-size: 13px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.rpf-impact-strip {
	padding: 0 0 38px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(229, 241, 250, 0.72) 100%);
}

.rpf-impact-strip__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rpf-story,
.rpf-programs,
.rpf-featured-projects,
.rpf-team {
	padding: 84px 0;
}

.rpf-story__grid {
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.rpf-story__media {
	min-height: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--rpf-radius-lg);
	box-shadow: var(--rpf-shadow);
	background: linear-gradient(135deg, rgba(25, 91, 155, 0.08), rgba(31, 157, 106, 0.08));
}

.rpf-inline-points div {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(25, 91, 155, 0.08), rgba(31, 157, 106, 0.1));
	color: var(--rpf-ink);
	font-size: 14px;
	font-weight: 600;
}

.rpf-inline-points i {
	color: var(--rpf-brand);
}

.rpf-programs {
	background:
		linear-gradient(180deg, rgba(229, 241, 250, 0.8) 0%, rgba(237, 248, 242, 0.72) 100%);
}

.rpf-section-head {
	max-width: 760px;
	margin-bottom: 40px;
}

.rpf-section-head h2,
.rpf-story__content h2,
.rpf-cta__box h2 {
	font-size: clamp(30px, 3vw, 52px);
	line-height: 1.08;
	margin: 18px 0;
}

.rpf-programs__grid,
.rpf-projects-grid,
.rpf-team__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rpf-program-card,
.rpf-project-card,
.rpf-team-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.94));
	border: 1px solid rgba(35, 90, 159, 0.1);
	border-radius: 26px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(35, 90, 159, 0.08);
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
	display: flex;
	flex-direction: column;
}

.rpf-program-card:hover,
.rpf-project-card:hover,
.rpf-team-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 58px rgba(25, 91, 155, 0.14);
	border-color: rgba(31, 157, 106, 0.18);
}

.rpf-program-card img {
	height: auto;
	aspect-ratio: 4 / 3;
}

.rpf-project-card img {
	height: auto;
	aspect-ratio: 4 / 3;
}

.rpf-program-card__body,
.rpf-project-card__body {
	padding: 26px;
	flex: 1 1 auto;
}

.rpf-program-card__body h3,
.rpf-project-card__body h3,
.rpf-team-card h3 {
	font-size: 28px;
	line-height: 1.15;
	margin: 16px 0 12px;
}

.rpf-project-card__body h3 {
	font-size: 26px;
}

.rpf-project-card__body h3 a {
	color: var(--rpf-ink);
}

.rpf-project-card__body h3 a:hover,
.rpf-text-link:hover {
	color: var(--rpf-brand);
}

.rpf-project-card__actions {
	justify-content: space-between;
	align-items: center;
	margin-top: 22px;
}

.rpf-mini-btn {
	min-height: 42px;
	padding: 0 18px;
	font-size: 14px;
}

.rpf-text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 700;
	color: var(--rpf-ink);
}

.rpf-gallery-band {
	padding: 88px 0;
	background:
		linear-gradient(135deg, rgba(23, 61, 114, 0.98), rgba(44, 140, 104, 0.94));
	position: relative;
}

.rpf-gallery-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 20%, rgba(226, 170, 66, 0.16), transparent 20%),
		radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08), transparent 24%);
	pointer-events: none;
}

.rpf-section-head--light .rpf-kicker {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.rpf-section-head--light h2,
.rpf-section-head--light p {
	color: #fff;
}

.rpf-gallery-grid {
	grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
}

.rpf-gallery-grid img {
	height: 290px;
	border-radius: 24px;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.rpf-team-card {
	padding: 18px;
	text-align: center;
}

.rpf-team-card img {
	height: auto;
	aspect-ratio: 4 / 5;
	border-radius: 20px;
}

.rpf-team-card h3 {
	margin: 18px 0 8px;
}

.rpf-team-card p {
	margin: 0 0 10px;
	font-size: 15px;
	color: var(--rpf-muted);
}

.rpf-cta {
	padding: 0 0 90px;
}

.rpf-cta__box {
	grid-template-columns: minmax(0, 1.1fr) auto;
	padding: 44px;
	border-radius: 30px;
	background:
		linear-gradient(135deg, rgba(23, 61, 114, 0.98), rgba(44, 140, 104, 0.94));
	box-shadow: 0 26px 56px rgba(23, 61, 114, 0.2);
	position: relative;
	overflow: hidden;
}

.rpf-cta__box::after {
	content: "";
	position: absolute;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	right: -60px;
	top: -80px;
	background: radial-gradient(circle, rgba(226, 170, 66, 0.26), transparent 70%);
	pointer-events: none;
}

.rpf-cta__box h2,
.rpf-cta__box p {
	color: #fff;
}

.footer-wrapper {
	background: linear-gradient(180deg, #10213c 0%, #132238 100%);
}

.footer-area {
	padding-top: 88px;
}

.footer-tittle h4,
.footer-copy-right p,
.footer-tittle ul li a,
.footer-pera p,
.footer-social a {
	color: rgba(255, 255, 255, 0.78);
}

.footer-tittle h4,
.footer-copy-right p {
	color: #fff;
}

.footer-social a:hover,
.footer-tittle ul li a:hover {
	color: var(--rpf-gold);
}

.footer-bottom-area {
	background: rgba(0, 0, 0, 0.16);
}

@media (max-width: 1199px) {
	.rpf-hero__grid,
	.rpf-story__grid,
	.rpf-cta__box {
		grid-template-columns: 1fr;
	}

	.rpf-hero__media {
		min-height: 540px;
	}

	.rpf-programs__grid,
	.rpf-projects-grid,
	.rpf-team__grid,
	.rpf-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.rpf-hero {
		padding-top: 104px;
	}

	.rpf-trust-row,
	.rpf-impact-strip__grid {
		grid-template-columns: 1fr;
	}

	.rpf-hero__media {
		min-height: 480px;
	}

	.rpf-hero__image--main {
		inset: 0 56px 92px 0;
	}

	.rpf-hero__image--card {
		width: 220px;
		height: 180px;
	}

	.rpf-hero__image--side {
		width: 180px;
		height: 220px;
	}

	.rpf-story__media {
		min-height: 420px;
	}
}

@media (max-width: 767px) {
	.header-area .header-bottom {
		padding: 10px 0;
	}

	.rpf-hero,
	.rpf-story,
	.rpf-programs,
	.rpf-featured-projects,
	.rpf-gallery-band,
	.rpf-team {
		padding: 70px 0;
	}

	.rpf-hero__content h1,
	.rpf-section-head h2,
	.rpf-story__content h2,
	.rpf-cta__box h2 {
		max-width: none;
	}

	.rpf-hero__media {
		min-height: auto;
		display: grid;
		gap: 16px;
	}

	.rpf-hero__image,
	.rpf-hero__note {
		position: static;
		width: 100%;
		height: auto;
		max-width: none;
	}

	.rpf-hero__image img {
		aspect-ratio: 4 / 3;
	}

	.rpf-programs__grid,
	.rpf-projects-grid,
	.rpf-gallery-grid,
	.rpf-team__grid {
		grid-template-columns: 1fr;
	}

	.rpf-cta__box {
		padding: 32px 24px;
	}
}

.rpf-page-shell {
	overflow: clip;
}

.rpf-page-section {
	padding: 28px 0 84px;
}

.rpf-page-hero {
	padding: 118px 0 64px;
	position: relative;
}

.rpf-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0.95) 18%, rgba(237, 244, 251, 0.82) 100%),
		radial-gradient(circle at right top, rgba(226, 170, 66, 0.14), transparent 32%),
		radial-gradient(circle at left center, rgba(31, 157, 106, 0.08), transparent 28%);
	pointer-events: none;
}

.rpf-page-hero .container,
.rpf-page-section .container {
	position: relative;
	z-index: 1;
}

.rpf-page-hero__grid,
.rpf-contact-layout,
.rpf-donate-layout,
.rpf-impact-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px;
	align-items: center;
}

.rpf-page-hero__content h1,
.rpf-section-head h2,
.rpf-info-card h3,
.rpf-richtext-card h2,
.rpf-richtext-card h3 {
	color: var(--rpf-ink);
}

.rpf-page-hero__content .rpf-kicker {
	margin-bottom: 22px;
}

.rpf-page-hero__content h1 {
	margin: 0 0 26px;
}

.rpf-page-hero__content p,
.rpf-info-card p,
.rpf-richtext-card,
.rpf-contact-form label span,
.rpf-muted-note {
	font-size: 16px;
	line-height: 1.8;
	color: var(--rpf-body);
}

.rpf-page-hero__content p {
	max-width: 38rem;
	margin: 0 0 30px;
}

.rpf-page-hero__media img,
.rpf-impact-media img,
.rpf-qr-card img,
.rpf-gallery-card img {
	width: 100%;
	border-radius: 28px;
	object-fit: cover;
	box-shadow: var(--rpf-shadow);
	border: 1px solid rgba(19, 34, 56, 0.08);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.rpf-page-hero__media img:hover,
.rpf-impact-media img:hover,
.rpf-qr-card img:hover,
.rpf-gallery-card:hover img,
.rpf-program-card:hover img,
.rpf-project-card:hover img,
.rpf-story__media:hover img,
.rpf-team-card:hover img {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 28px 60px rgba(19, 34, 56, 0.16);
}

.rpf-section-head--left {
	text-align: left;
	margin-bottom: 26px;
}

.rpf-notice {
	padding: 14px 18px;
	border-radius: 16px;
	margin-bottom: 24px;
}

.rpf-notice--success {
	background: #e9f7ef;
	color: #185b3e;
	border: 1px solid rgba(24, 91, 62, 0.14);
}

.rpf-notice--error {
	background: #fff1f1;
	color: #8d2f2f;
	border: 1px solid rgba(141, 47, 47, 0.14);
}

.rpf-contact-card,
.rpf-info-card,
.rpf-richtext-card,
.rpf-qr-card {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(19, 34, 56, 0.08);
	border-radius: 28px;
	box-shadow: 0 22px 50px rgba(19, 34, 56, 0.08);
}

.rpf-contact-card,
.rpf-richtext-card {
	padding: 34px;
}

.rpf-contact-stack {
	display: grid;
	gap: 18px;
}

.rpf-info-card {
	padding: 24px 26px;
}

.rpf-info-card--accent,
.rpf-qr-card {
	background: linear-gradient(180deg, #f6fbf7 0%, #eef5ef 100%);
}

.rpf-contact-form {
	display: grid;
	gap: 16px;
}

.rpf-contact-form label {
	display: grid;
	gap: 8px;
}

.rpf-contact-form input,
.rpf-contact-form textarea {
	width: 100%;
	border-radius: 18px;
	border: 1px solid rgba(19, 34, 56, 0.12);
	background: #fff;
	padding: 15px 18px;
	font-size: 15px;
	color: var(--rpf-ink);
}

.rpf-contact-form input:focus,
.rpf-contact-form textarea:focus {
	outline: none;
	border-color: rgba(29, 107, 82, 0.45);
	box-shadow: 0 0 0 4px rgba(29, 107, 82, 0.08);
}

.rpf-impact-layout {
	padding: 34px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(19, 34, 56, 0.08);
	border-radius: 32px;
	box-shadow: 0 22px 50px rgba(19, 34, 56, 0.08);
}

.rpf-impact-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.rpf-impact-stats div {
	padding: 18px;
	border-radius: 20px;
	background: #f8fafc;
	border: 1px solid rgba(19, 34, 56, 0.08);
}

.rpf-impact-stats strong {
	display: block;
	color: var(--rpf-ink);
	font-size: 20px;
	margin-bottom: 6px;
}

.rpf-gallery-masonry {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.rpf-gallery-card {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 28px;
}

.rpf-gallery-card figcaption {
	position: absolute;
	inset: auto 16px 16px 16px;
	padding: 12px 14px;
	border-radius: 16px;
	background: rgba(19, 34, 56, 0.68);
	color: #fff;
	backdrop-filter: blur(12px);
}

.rpf-inline-list {
	margin: 0 0 20px;
	padding-left: 18px;
}

.rpf-inline-list li {
	margin-bottom: 8px;
}

.rpf-donate-layout {
	align-items: stretch;
}

.rpf-qr-card {
	padding: 24px;
	text-align: center;
}

.rpf-qr-card img {
	max-width: 320px;
	margin: 0 auto 18px;
}

@media (max-width: 991px) {
	.rpf-page-hero__grid,
	.rpf-contact-layout,
	.rpf-donate-layout,
	.rpf-impact-layout {
		grid-template-columns: 1fr;
	}

	.rpf-gallery-masonry,
	.rpf-impact-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.rpf-page-hero {
		padding: 98px 0 42px;
	}

	.rpf-page-section {
		padding: 18px 0 62px;
	}

	.rpf-contact-card,
	.rpf-richtext-card,
	.rpf-info-card,
	.rpf-impact-layout {
		padding: 22px;
	}

	.rpf-gallery-masonry,
	.rpf-impact-stats {
		grid-template-columns: 1fr;
	}
}
