.chapel-testimonials {
	--chapel-testimonial-star: #d8b767;
	--chapel-testimonial-rule: #efefef;
	width: 100%;
}

.chapel-testimonial-slide {
	width: 100%;
}

.chapel-testimonial-slide[hidden] {
	display: none !important;
}

.chapel-testimonial-main {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
}

.chapel-testimonial-photo {
	flex: 0 0 52px;
	padding-top: 4px;
}

.chapel-testimonial-photo img {
	display: block;
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 50%;
}

.chapel-testimonial-text {
	min-width: 0;
	flex: 1 1 auto;
}

.chapel-testimonial-title {
	margin: 0 0 8px;
	padding: 0;
	font-size: 1.2em;
	line-height: 1.08;
}

.chapel-testimonial-stars {
	color: var(--chapel-testimonial-star);
	font-size: 20px;
	line-height: 1;
	letter-spacing: 2px;
	margin: 8px 0 10px;
}

.chapel-testimonial-quote {
	line-height: 1.5;
}

.chapel-testimonial-quote > :first-child {
	margin-top: 0;
}

.chapel-testimonial-quote > :last-child {
	margin-bottom: 0;
}

.chapel-testimonial-cite {
	margin: 12px 0 4px;
	padding: 8px 0 8px 12px;
	border-left: 3px solid var(--chapel-testimonial-rule);
	font-style: italic;
	line-height: 1.25;
}

.chapel-testimonial-source {
	margin-top: 12px;
	font-size: 0.82em;
	color: #666;
}

.chapel-testimonial-source a {
	text-decoration: underline;
}

.chapel-testimonials.format-list .chapel-testimonial-slide {
	margin-bottom: 34px;
}

.chapel-testimonials-widget .chapel-testimonial-title {
	font-size: 1.18em;
}

.chapel-testimonials-widget .chapel-testimonial-quote {
	font-size: 0.96em;
}

@media (max-width: 480px) {
	.chapel-testimonial-main {
		gap: 10px;
	}

	.chapel-testimonial-photo {
		flex-basis: 44px;
	}

	.chapel-testimonial-photo img {
		width: 44px;
		height: 44px;
	}
}


/*
 * Enfold hides/collapses many sidebars on phone layouts. Only the Chapel
 * testimonial widget is moved out of the sidebar and placed after the main
 * page content so the recommendation remains visible above the footer.
 */
@media (max-width: 767px) {
	.chapel-testimonials-widget.chapel-testimonials-mobile-moved {
		display: block !important;
		visibility: visible !important;
		float: none !important;
		clear: both !important;
		width: 100% !important;
		max-width: none !important;
		margin: 28px 0 0 !important;
		padding: 0 !important;
	}

	.chapel-testimonials-widget.chapel-testimonials-mobile-moved .chapel-testimonials {
		display: block !important;
		visibility: visible !important;
		width: 100% !important;
	}
}


/* 2026.08.25.5 — honest no-photo placeholder: initials or quote mark, never a fake person */
.chapel-testimonial-avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	box-sizing: border-box;
	background: linear-gradient(145deg, #f4f6f8, #e7ebef);
	border: 1px solid #d9dee3;
	color: #64717d;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1;
}

@media (max-width: 480px) {
	.chapel-testimonial-avatar-placeholder {
		width: 44px;
		height: 44px;
		font-size: 14px;
	}
}


/* 2026.08.25.21 — public review-source attribution */
.chapel-testimonial-source-label {
	font-weight: 600;
}

.chapel-testimonial-attribution-google .chapel-testimonial-source-label {
	color: #315f9a;
}

.chapel-testimonial-attribution-yelp .chapel-testimonial-source-label {
	color: #9b2f2f;
}

.chapel-testimonial-attribution-chapel .chapel-testimonial-source-label {
	color: #4f6f57;
}

/* Compact public source attribution for Yelp / Google reviews. */
.chapel-testimonial-attribution-yelp,
.chapel-testimonial-attribution-google {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.chapel-testimonial-source-prefix {
	color: #666;
}

.chapel-source-logo {
	display: inline-block;
	width: 15px;
	height: 15px;
	object-fit: contain;
	vertical-align: middle;
}

.chapel-source-logo-yelp {
	width: 16px;
	height: 16px;
}

.chapel-source-logo-google {
	width: 15px;
	height: 15px;
	background: #fff;
}


/* 2026.08.26.1 — excerpts can open the complete review without changing rotator height. */
.chapel-testimonial-read-full {
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1d5f91;
	font: inherit;
	font-size: 0.9em;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.chapel-testimonial-read-full:hover,
.chapel-testimonial-read-full:focus {
	color: #113f63;
}

.chapel-testimonial-full-review-data[hidden],
.chapel-review-modal[hidden] {
	display: none !important;
}

body.chapel-review-modal-open {
	overflow: hidden;
}

.chapel-review-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.chapel-review-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 31, 0.62);
}

.chapel-review-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: min(82vh, 820px);
	overflow: auto;
	box-sizing: border-box;
	padding: 30px 32px 28px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.chapel-review-modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #44505b;
	font-size: 31px;
	line-height: 34px;
	cursor: pointer;
}

.chapel-review-modal-profile {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding-right: 38px;
	margin-bottom: 18px;
}

.chapel-review-modal-profile > img,
.chapel-review-modal-profile > .chapel-testimonial-avatar-placeholder {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	object-fit: cover;
}

.chapel-review-modal-profile h3 {
	margin: 0 0 6px;
	font-size: 1.25em;
	line-height: 1.25;
}

.chapel-review-modal-profile .chapel-testimonial-stars {
	margin: 4px 0 6px;
}

.chapel-review-modal-cite {
	font-weight: 600;
}

.chapel-review-modal-full-text {
	font-size: 1em;
	line-height: 1.62;
}

.chapel-review-modal-full-text > :first-child {
	margin-top: 0;
}

.chapel-review-modal-source {
	margin-top: 18px;
	padding-top: 12px;
	border-top: 1px solid #e6e8ea;
	color: #666;
	font-size: 0.88em;
	font-weight: 600;
}

@media (max-width: 600px) {
	.chapel-review-modal {
		padding: 12px;
	}

	.chapel-review-modal-dialog {
		max-height: 90vh;
		padding: 24px 20px 22px;
	}
}


/* 2026.08.26.33 — real public List batching with one-batch-ahead prefetch. */
.chapel-public-load-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 8px 0 2px;
	padding-top: 6px;
}

.chapel-public-load-more[hidden] {
	display: none !important;
}

.chapel-public-load-more-button {
	min-height: 38px;
	padding: 7px 16px;
	border: 1px solid #aeb4ba;
	border-radius: 6px;
	background: #fff;
	color: #2c3338;
	font: inherit;
	font-size: .92em;
	font-weight: 650;
	cursor: pointer;
}

.chapel-public-load-more-button:hover,
.chapel-public-load-more-button:focus {
	border-color: #7b848c;
	background: #f7f8f8;
}

.chapel-public-load-more-button:disabled {
	opacity: .65;
	cursor: wait;
}

.chapel-public-load-more-count {
	color: #6b7278;
	font-size: .82em;
	white-space: nowrap;
}


/* 2026.08.26.35 — optional Show All without sacrificing the default ceiling. */
.chapel-public-show-all-button {
	min-height: 38px;
	padding: 7px 14px;
	border: 0;
	background: transparent;
	color: #4e5a64;
	font: inherit;
	font-size: .9em;
	font-weight: 650;
	text-decoration: underline;
	cursor: pointer;
}

.chapel-public-show-all-button:hover,
.chapel-public-show-all-button:focus {
	color: #1d5f91;
}

.chapel-public-show-all-button:disabled {
	opacity: .6;
	cursor: wait;
}
