body.temple-site.temple-brick-donation {
	background: var(--temple-page-background);
	font-family: var(--temple-serif-cn);
}

body.temple-site.temple-brick-donation #page {
	max-width: none;
}

body.temple-site.temple-brick-donation .site-content,
body.temple-site.temple-brick-donation .inside-article,
body.temple-site.temple-brick-donation .entry-content {
	background: transparent;
	padding: 0;
}

body.temple-site.temple-brick-donation .site-content {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: none;
	width: 100vw;
}

body.temple-site.temple-brick-donation .site-main {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
}

.temple-brick-donation-page {
	min-height: calc(100vh - 80px);
	background:
		radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 10px),
		radial-gradient(circle at 76% 42%, rgba(112, 80, 47, 0.05) 0 1px, transparent 1px 13px),
		linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 36%, rgba(118, 83, 49, 0.045) 72%, transparent),
		var(--temple-page-background);
	color: #3d2b1b;
	font-family: var(--temple-serif-cn);
	position: relative;
	overflow: hidden;
}

.temple-brick-donation-page::before {
	background:
		repeating-linear-gradient(0deg, rgba(96, 70, 45, 0.025) 0 1px, transparent 1px 8px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 14px);
	content: "";
	inset: 0;
	opacity: 0.42;
	pointer-events: none;
	position: absolute;
}

.temple-brick-donation-hero {
	align-items: start;
	display: grid;
	gap: clamp(38px, 5vw, 84px);
	grid-template-columns: minmax(320px, 0.95fr) minmax(340px, 0.78fr);
	isolation: isolate;
	min-height: calc(100vh - 80px);
	padding: clamp(76px, 9vw, 126px) clamp(24px, 7vw, 110px) clamp(64px, 8vw, 110px);
	position: relative;
}

.temple-brick-donation-visual {
	align-self: start;
	display: grid;
	gap: clamp(20px, 2.8vw, 34px);
	position: relative;
	z-index: 2;
}

.temple-brick-donation-roof {
	display: block;
	height: auto;
	max-width: 760px;
	pointer-events: none;
	width: 100%;
}

.temple-brick-donation-content {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 38px;
	grid-column: 2;
	justify-self: end;
	max-width: 620px;
	position: relative;
	z-index: 2;
	font-family: 'Source Han Serif SC', 'Source Han Serif CN', 'Noto Serif SC', 'Songti SC', STSong, SimSun, serif;
}

.temple-brick-donation-copy {
	font-size: clamp(22px, 2.1vw, 31px);
	line-height: 1.95;
	padding: 0;
	text-shadow: 0 1px 0 rgba(255, 251, 238, 0.62);
}

.temple-brick-donation-copy p {
	margin: 0 0 1.15em;
}

.temple-brick-donation-copy p:last-child {
	margin-bottom: 0;
}

.temple-brick-donation-kicker {
	color: #5f2f1e;
	font-size: clamp(30px, 3.1vw, 46px);
	font-weight: 600;
	line-height: 1.45;
}

.temple-brick-donation-form {
	display: grid;
	gap: 22px;
	width: min(100%, 560px);
}

.temple-brick-donation-fields {
	display: grid;
	gap: 20px 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
}

.temple-brick-donation-field {
	display: grid;
	gap: 8px;
	margin: 0;
}

.temple-brick-donation-field-wide {
	grid-column: 1 / -1;
}

.temple-brick-donation-field span {
	color: #6b3a25;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.temple-brick-donation-field input,
.temple-brick-donation-field textarea {
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(78, 50, 29, 0.36);
	border-radius: 0;
	box-shadow: none;
	color: #332417;
	font-family: inherit;
	font-size: 18px;
	line-height: 1.5;
	min-height: 44px;
	padding: 6px 0 9px;
	transition: border-color 180ms ease, box-shadow 180ms ease;
	width: 100%;
}

.temple-brick-donation-money {
	align-items: center;
	border-bottom: 1px solid rgba(78, 50, 29, 0.36);
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.temple-brick-donation-money b {
	color: #6b3a25;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	padding-bottom: 3px;
}

.temple-brick-donation-money input {
	border-bottom: 0;
}

.temple-brick-donation-money:focus-within {
	border-bottom-color: #8d2f20;
	box-shadow: 0 1px 0 #8d2f20;
}

.temple-brick-donation-field textarea {
	min-height: 84px;
	resize: vertical;
}

.temple-brick-donation-field input::placeholder,
.temple-brick-donation-field textarea::placeholder {
	color: rgba(61, 43, 27, 0.46);
}

.temple-brick-donation-field input:focus,
.temple-brick-donation-field textarea:focus {
	border-bottom-color: #8d2f20;
	box-shadow: 0 1px 0 #8d2f20;
	outline: 0;
}

.temple-brick-donation-money input:focus {
	box-shadow: none;
}

.temple-brick-donation-error {
	background: rgba(141, 47, 32, 0.08);
	border-left: 3px solid #8d2f20;
	color: #6b2418;
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
	padding: 10px 14px;
}

.temple-brick-donation-button {
	background: linear-gradient(180deg, #a9432d 0%, #7d2819 100%);
	border: 1px solid rgba(88, 34, 20, 0.52);
	box-shadow: 0 14px 28px rgba(102, 36, 24, 0.22), inset 0 1px 0 rgba(255, 239, 209, 0.28);
	color: #fff7e6;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 20px;
	font-weight: 600;
	justify-content: center;
	letter-spacing: 0.1em;
	line-height: 1.2;
	min-width: 184px;
	padding: 15px 34px;
	text-decoration: none;
	transition: box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.temple-brick-donation-button:hover,
.temple-brick-donation-button:focus {
	box-shadow: 0 18px 34px rgba(102, 36, 24, 0.28), inset 0 1px 0 rgba(255, 239, 209, 0.32);
	color: #fff7e6;
	filter: saturate(1.05);
	transform: translateY(-1px);
}

.temple-brick-donation-button:focus-visible {
	outline: 2px solid #5f2f1e;
	outline-offset: 4px;
}

.temple-brick-donation-gallery {
	isolation: isolate;
	padding: 0;
	position: relative;
	z-index: 2;
}

.temple-brick-donation-gallery-grid {
	display: grid;
	gap: clamp(10px, 1.2vw, 16px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	max-width: 760px;
}

.temple-brick-donation-gallery-item {
	background: rgba(250, 245, 232, 0.42);
	border: 1px solid rgba(101, 70, 42, 0.14);
	box-shadow: 0 18px 42px rgba(79, 56, 35, 0.11);
	margin: 0;
	overflow: hidden;
}

.temple-brick-donation-gallery-item img {
	aspect-ratio: 4 / 3;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.temple-brick-donation-story {
	color: #3d2b1b;
	font-family: 'Source Han Serif SC', 'Source Han Serif CN', 'Noto Serif SC', 'Songti SC', STSong, SimSun, serif;
	font-size: clamp(16px, 1.15vw, 19px);
	line-height: 2;
	margin: 0;
	max-width: 620px;
	padding: 0;
	position: relative;
	z-index: 2;
}

.temple-brick-donation-story::before {
	background: rgba(94, 65, 38, 0.24);
	content: "";
	display: block;
	height: 1px;
	margin: 0 0 clamp(26px, 4vw, 42px);
	width: 100%;
}

.temple-brick-donation-story p {
	margin: 0 0 1.15em;
}

.temple-brick-donation-story p:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.temple-brick-donation-hero {
		grid-template-columns: 1fr;
		min-height: auto;
		padding-top: clamp(46px, 9vw, 76px);
	}

	.temple-brick-donation-roof {
		max-width: 100%;
		width: 100%;
	}

	.temple-brick-donation-content {
		grid-column: 1;
		justify-self: stretch;
		max-width: none;
	}

	.temple-brick-donation-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.temple-brick-donation-hero {
		padding: 38px 18px 58px;
	}

	.temple-brick-donation-copy {
		font-size: 20px;
		line-height: 1.85;
	}

	.temple-brick-donation-kicker {
		font-size: 28px;
	}

	.temple-brick-donation-button {
		font-size: 20px;
		width: 100%;
	}

	.temple-brick-donation-fields {
		grid-template-columns: 1fr;
	}

	.temple-brick-donation-gallery {
		padding-bottom: 0;
	}

	.temple-brick-donation-gallery-grid {
		grid-template-columns: 1fr;
	}
}
