.page-template-template-fund-renewed {
	background-color: #f6f1ea;
	background-image:
		radial-gradient(circle at 10% 14%, rgba(138, 61, 34, 0.08) 0, rgba(138, 61, 34, 0) 20%),
		radial-gradient(circle at 84% 10%, rgba(24, 33, 43, 0.06) 0, rgba(24, 33, 43, 0) 18%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.4) 1px, transparent 1px, transparent 32px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.25) 0, rgba(255, 255, 255, 0.25) 1px, transparent 1px, transparent 32px);
}

.page-template-template-fund-renewed #content-wrap {
	width: 100%;
	max-width: 1200px;
}

.page-template-template-fund-renewed #primary.content-area,
.page-template-template-fund-renewed #content.site-content {
	width: 100%;
	max-width: none;
	margin: 0;
}

.ro-fund-page {
	padding: 28px 0 72px;
}

.ro-fund-shell {
	display: grid;
	gap: 24px;
}

.ro-fund-hero {
	position: relative;
	overflow: hidden;
	padding: 28px;
	border: 1px solid #d9e0e5;
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(250, 246, 239, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.ro-fund-hero::after {
	content: "";
	position: absolute;
	top: -26px;
	right: -18px;
	width: 170px;
	height: 170px;
	border-radius: 999px;
	background:
		radial-gradient(circle, rgba(138, 61, 34, 0.12) 0 18%, transparent 18% 100%),
		repeating-radial-gradient(circle, rgba(138, 61, 34, 0.08) 0 6px, transparent 6px 18px);
	opacity: 0.9;
	pointer-events: none;
}

.ro-fund-eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a3d22;
}

.ro-fund-title {
	margin: 0 0 14px;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.05;
	color: #18212b;
}

.ro-fund-lead {
	max-width: 860px;
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: #415161;
}

.ro-fund-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ro-fund-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid #8a3d22;
	border-radius: 999px;
	background: #8a3d22;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.2s ease;
}

.ro-fund-button:hover {
	border-color: #6c2d16;
	background: #6c2d16;
	color: #fff;
}

.ro-fund-notice {
	display: grid;
	gap: 10px;
	padding: 18px 20px;
	border: 1px solid #e4d3c8;
	border-radius: 18px;
	background: #fbf3ed;
}

.ro-fund-notice-label {
	display: inline-flex;
	width: fit-content;
	padding: 7px 10px;
	border-radius: 999px;
	background: #8a3d22;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ro-fund-notice p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #22313f;
}

.ro-fund-notice a {
	color: #8a3d22;
	font-weight: 700;
	text-decoration: none;
}

.ro-fund-notice a:hover {
	text-decoration: underline;
}

.ro-fund-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.ro-fund-projects {
	display: grid;
	gap: 18px;
}

.ro-fund-section-head {
	display: grid;
	gap: 10px;
	padding: 22px 24px;
	border: 1px solid #d9e0e5;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.92);
}

.ro-fund-section-eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a3d22;
}

.ro-fund-section-title {
	margin: 0;
	font-size: 30px;
	line-height: 1.1;
	color: #18212b;
}

.ro-fund-section-lead {
	max-width: 860px;
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: #4d5f70;
}

.ro-fund-project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
}

.ro-fund-project-card {
	display: grid;
	gap: 12px;
	padding: 22px;
	border: 1px solid #d9e0e5;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.94);
}

.ro-fund-project-card h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
	color: #18212b;
}

.ro-fund-project-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #4d5f70;
}

.ro-fund-project-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 42px;
	padding: 0 22px;
	border: 1px solid #d4dce3;
	border-radius: 999px;
	color: #22313f;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: 0.2s ease;
}

.ro-fund-project-link:hover {
	border-color: #8a3d22;
	background: #8a3d22;
	color: #fff;
}

.ro-fund-card {
	padding: 20px;
	border: 1px solid #d9e0e5;
	border-radius: 18px;
	background: #fff;
}

.ro-fund-card h2 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
	color: #18212b;
}

.ro-fund-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #4d5f70;
}

.ro-fund-details {
	border: 1px solid #d9e0e5;
	border-radius: 18px;
	background: #fff;
	overflow: hidden;
}

.ro-fund-details summary {
	padding: 18px 20px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	color: #18212b;
	list-style: none;
}

.ro-fund-details summary::-webkit-details-marker {
	display: none;
}

.ro-fund-details summary::after {
	content: "";
	float: right;
	width: 10px;
	height: 10px;
	margin-top: 4px;
	border-right: 2px solid #8a3d22;
	border-bottom: 2px solid #8a3d22;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.ro-fund-details[open] summary::after {
	transform: rotate(-135deg);
}

.ro-fund-fulltext {
	padding: 0 20px 20px;
	border-top: 1px solid #edf1f4;
}

.ro-fund-fulltext p,
.ro-fund-fulltext li {
	font-size: 15px;
	line-height: 1.7;
	color: #314353;
}

.ro-fund-fulltext ul {
	margin: 0;
	padding-left: 20px;
}

.ro-fund-fulltext p {
	margin: 18px 0 12px;
}

@media (max-width: 767px) {
	.ro-fund-page {
		padding: 20px 0 48px;
	}

	.ro-fund-hero,
	.ro-fund-card,
	.ro-fund-section-head,
	.ro-fund-project-card,
	.ro-fund-notice,
	.ro-fund-details summary,
	.ro-fund-fulltext {
		padding-left: 16px;
		padding-right: 16px;
	}
}
