/* Desktop church listing matched to the approved visual reference. */
@media (min-width: 1025px) {
	body.qcg-reference-layout {
		--qcg-gold: #d6a63d;
		--qcg-red: #e42936;
		--qcg-ink: #0b0c0e;
		--qcg-panel: #111316;
		--qcg-copy: rgba(250, 246, 238, .78);
		background: var(--qcg-ink);
	}
	body.qcg-reference-layout .edgtf-ls-gallery {
		min-height: 520px;
		overflow: hidden;
		position: relative;
	}
	body.qcg-reference-layout .edgtf-ls-gallery::after {
		background: linear-gradient(90deg, rgba(5, 6, 8, .96) 0%, rgba(5, 6, 8, .76) 28%, rgba(5, 6, 8, .16) 62%, rgba(5, 6, 8, .04) 100%);
		content: "";
		inset: 0;
		pointer-events: none;
		position: absolute;
		z-index: 4;
	}
	body.qcg-reference-layout .edgtf-ls-gallery img {
		height: 100% !important;
		object-fit: cover;
	}
	body.qcg-reference-layout .qcg-hero-overlay {
		align-items: center;
		background: transparent !important;
		border: 0;
		display: flex;
		inset: 0;
		padding: 54px max(7vw, 54px);
		position: absolute;
		z-index: 5;
	}
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-grid {
		margin: 0;
		max-width: none;
		width: 100%;
	}
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-title-area {
		display: block;
	}
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-title-left-area {
		display: block;
		float: none;
		padding: 0;
		text-align: left;
		width: min(690px, 54vw);
	}
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-title-right-area,
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-logo {
		display: none;
	}
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-title-content {
		margin: 0;
	}
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-categories {
		display: none !important;
	}
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-category {
		align-items: center;
		background: transparent;
		border: 0;
		display: flex;
		gap: 14px;
		padding: 0;
	}
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-category::after {
		background: var(--qcg-gold);
		content: "";
		height: 1px;
		opacity: .75;
		width: 58px;
	}
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-category-label,
	body.qcg-reference-layout .qcg-hero-commitments {
		color: var(--qcg-gold);
		font-size: 11px;
		font-weight: 700;
		letter-spacing: .2em;
		text-transform: uppercase;
	}
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-title {
		color: #fff;
		font-size: clamp(54px, 4.7vw, 74px);
		letter-spacing: -.03em;
		line-height: .94;
		margin: 0;
		max-width: 680px;
		text-align: left;
	}
	body.qcg-reference-layout .qcg-hero-commitments {
		margin: 24px 0 22px;
		word-spacing: 9px;
	}
	body.qcg-reference-layout .qcg-hero-summary {
		color: rgba(255, 255, 255, .82);
		font-size: 17px;
		line-height: 1.65;
		margin: 0;
		max-width: 520px;
	}
	body.qcg-reference-layout .qcg-hero-pick-mark {
		display: inline-flex;
		margin-left: 18px;
		vertical-align: middle;
	}
	body.qcg-reference-layout .qcg-hero-pick-mark img {
		display: block;
		height: auto;
		width: 64px;
	}
	body.qcg-reference-layout .edgtf-ls-content-area {
		margin: 0;
		max-width: none;
		padding: 0 !important;
		width: 100%;
	}
	body.qcg-reference-layout .edgtf-ls-content-area > .edgtf-grid-row,
	body.qcg-reference-layout .edgtf-ls-content-area .edgtf-grid-col-8 {
		margin: 0;
		padding: 0;
		width: 100%;
	}
	body.qcg-reference-layout .edgtf-ls-content {
		background: transparent !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		margin: 0 !important;
		overflow: visible;
		padding: 0 !important;
		width: 100%;
	}
	body.qcg-reference-layout .qcg-church-sidebar-empty,
	body.qcg-reference-layout .edgtf-ls-tags {
		display: none !important;
	}
	body.qcg-reference-layout .qcg-church-about {
		background:
			linear-gradient(90deg, rgba(8, 9, 11, 1) 0%, rgba(8, 9, 11, .94) 43%, rgba(8, 9, 11, .40) 62%, rgba(8, 9, 11, .04) 100%),
			url("https://queencityguide.com/wp-content/uploads/2026/09/Open-Bible-%E2%80%94-What-We-Believe-scaled.jpg") center right / 58% auto no-repeat;
		border-bottom: 1px solid rgba(214, 166, 61, .46);
		border-top: 1px solid rgba(214, 166, 61, .58);
		display: grid;
		grid-template-columns: minmax(420px, 48%) 1fr;
		min-height: 390px;
		padding: 58px max(7vw, 54px);
		position: relative;
	}
	body.qcg-reference-layout .qcg-church-about .qcg-church-about-title {
		color: #fff;
		font-size: clamp(52px, 4.6vw, 70px);
		grid-column: 1;
		line-height: .95;
		margin: 38px 0 26px;
		max-width: 430px;
		text-align: left;
	}
	body.qcg-reference-layout .qcg-church-about .qcg-church-about-title::before {
		background: transparent;
		color: var(--qcg-gold);
		content: "BELIEFS  —";
		display: block;
		font-family: inherit;
		font-size: 11px;
		font-weight: 700;
		height: auto;
		letter-spacing: .22em;
		margin: 0 0 24px;
		width: auto;
	}
	body.qcg-reference-layout .qcg-church-about p:not(.qcg-about-motto) {
		color: var(--qcg-copy);
		font-size: 17px;
		grid-column: 1;
		line-height: 1.7;
		margin: 0;
		max-width: 500px;
		text-align: left;
	}
	body.qcg-reference-layout .qcg-about-motto {
		align-self: end;
		color: #e2c27d;
		font-family: Georgia, serif;
		font-size: 29px;
		font-style: italic;
		grid-column: 2;
		justify-self: center;
		line-height: 1.2;
		margin: 0 0 16px;
		max-width: 260px;
		text-align: left;
	}
	body.qcg-reference-layout .qcg-about-motto::after {
		background: var(--qcg-gold);
		content: "";
		display: inline-block;
		height: 2px;
		margin-left: 14px;
		vertical-align: middle;
		width: 34px;
	}
	body.qcg-reference-layout .qcg-pastor-panel {
		background: radial-gradient(circle at 86% 90%, rgba(48, 58, 45, .34), transparent 32%), linear-gradient(105deg, #111214, #090a0c);
		border: 0;
		border-bottom: 1px solid rgba(214, 166, 61, .42);
		border-radius: 0;
		box-shadow: none;
		display: grid;
		gap: 60px;
		grid-template-columns: 360px minmax(0, 1fr);
		margin: 0;
		min-height: 440px;
		padding: 34px max(7vw, 54px);
		text-align: left;
	}
	body.qcg-reference-layout .qcg-pastor-photo {
		aspect-ratio: 4 / 4.25;
		border: 0;
		border-radius: 3px;
		box-shadow: 18px 0 0 rgba(109, 17, 29, .42);
		margin: 0;
		max-width: 340px;
	}
	body.qcg-reference-layout .qcg-pastor-photo::after {
		display: none;
	}
	body.qcg-reference-layout .qcg-pastor-copy {
		align-self: center;
		padding-left: 18px;
		text-align: left !important;
	}
	body.qcg-reference-layout .qcg-pastor-copy::after {
		border-top: 1px solid rgba(214, 166, 61, .55);
		color: #cba24f;
		content: "Committed to Scripture, discipleship, and care for neighbors.";
		display: block;
		font-family: Georgia, serif;
		font-size: 23px;
		font-style: italic;
		margin-top: 28px;
		padding-top: 20px;
	}
	body.qcg-reference-layout .qcg-pastor-copy h2 {
		color: #fff;
		font-size: clamp(52px, 5vw, 72px);
		letter-spacing: -.03em;
		line-height: 1;
		margin: 12px 0 10px;
		text-align: left !important;
	}
	body.qcg-reference-layout .qcg-pastor-title {
		margin-bottom: 20px;
	}
	body.qcg-reference-layout .qcg-pastor-bio {
		color: var(--qcg-copy);
		font-size: 17px;
		line-height: 1.7;
		margin: 0;
		max-width: 620px;
	}
	body.qcg-reference-layout .qcg-church-pillars {
		background: linear-gradient(180deg, #0d0f11, #0a0b0d);
		border-bottom: 1px solid rgba(214, 166, 61, .42);
		counter-reset: qcg-pillar;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin: 0;
		padding: 24px max(5vw, 48px) 34px;
	}
	body.qcg-reference-layout .qcg-church-pillar {
		background: transparent;
		border: 0;
		border-left: 1px solid rgba(214, 166, 61, .46);
		border-radius: 0;
		counter-increment: qcg-pillar;
		min-height: 260px;
		padding: 18px 46px;
		position: relative;
		text-align: center;
	}
	body.qcg-reference-layout .qcg-church-pillar:first-child {
		border-left: 0;
	}
	body.qcg-reference-layout .qcg-church-pillar::before {
		color: var(--qcg-gold);
		content: "0" counter(qcg-pillar);
		font-size: 11px;
		font-weight: 700;
		left: 18px;
		letter-spacing: .18em;
		position: absolute;
		top: 26px;
	}
	body.qcg-reference-layout .qcg-pillar-icon {
		color: var(--qcg-gold);
		display: block;
		height: 40px;
		margin: 0 auto 15px;
		width: 40px;
	}
	body.qcg-reference-layout .qcg-pillar-icon svg {
		height: 100%;
		width: 100%;
	}
	body.qcg-reference-layout .qcg-church-pillar h2 {
		color: #fff;
		font-size: 29px;
		line-height: 1.05;
		margin: 0 auto 18px;
		max-width: 280px;
		padding: 14px 0 0;
		text-align: center;
	}
	body.qcg-reference-layout .qcg-church-pillar h2::before {
		display: none;
	}
	body.qcg-reference-layout .qcg-church-pillar p {
		color: var(--qcg-copy);
		font-size: 14px;
		line-height: 1.6;
		margin: 0 auto;
		max-width: 300px;
		text-align: center;
	}
	body.qcg-reference-layout .qcg-church-location-contact {
		background: #0b0d0f;
		border-bottom: 1px solid rgba(214, 166, 61, .48);
		margin: 0;
		padding: 0 max(7vw, 54px);
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-sidebar {
		margin: 0;
		width: 100%;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location {
		display: grid;
		grid-template-columns: minmax(330px, 34%) minmax(450px, 46%) minmax(230px, 20%);
		min-height: 370px;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location::after {
		align-items: end;
		background: radial-gradient(circle at 90% 12%, rgba(48, 58, 45, .7), transparent 44%), linear-gradient(145deg, #111417, #090a0c);
		color: #c9a452;
		content: "Real people.\A Lasting hope.\A A brighter Cincinnati.";
		display: flex;
		font-family: Georgia, serif;
		font-size: 24px;
		font-style: italic;
		line-height: 1.45;
		padding: 44px 28px;
		white-space: pre-line;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info {
		align-content: center;
		background: #0d0f11;
		border: 0;
		border-radius: 0;
		display: grid;
		grid-column: 1;
		grid-row: 1;
		margin: 0;
		padding: 44px max(3.5vw, 38px);
		text-align: left !important;
	}
	body.qcg-reference-layout .qcg-location-kicker {
		margin-bottom: 14px;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info h2 {
		color: #fff;
		font-size: 42px;
		line-height: 1;
		margin: 0 0 22px;
		text-align: left;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-cid-holder {
		display: block;
		margin: 0;
		text-align: left !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-cid-holder p,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-cid-holder a {
		text-align: left !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-cid-holder > * {
		border: 0;
		margin: 0;
		padding: 7px 0;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-map {
		border: 0;
		border-radius: 0;
		box-shadow: none;
		grid-column: 2;
		grid-row: 1;
		margin: 0;
		min-height: 370px;
		width: auto;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-google-map-holder,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-google-map-holder iframe {
		height: 100% !important;
		min-height: 370px;
		width: 100% !important;
	}
	body.qcg-reference-layout .qcg-church-sections {
		display: block;
		margin: 0;
	}
	body.qcg-reference-layout .qcg-church-sections .qcg-church-panel {
		background: #0d0f11;
		border: 0;
		border-bottom: 1px solid rgba(214, 166, 61, .48);
		border-radius: 0;
		box-shadow: none;
		margin: 0;
		padding: 42px max(7vw, 54px);
	}
	body.qcg-reference-layout .qcg-church-events {
		align-items: center;
		display: grid;
		grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
		text-align: left;
	}
	body.qcg-reference-layout .qcg-church-events .qcg-section-heading {
		align-items: flex-start;
		margin: 0;
		text-align: left;
	}
	body.qcg-reference-layout .qcg-church-events .qcg-section-heading h2,
	body.qcg-reference-layout .qcg-church-media .qcg-section-heading h2 {
		color: #fff;
		font-size: 44px;
	}
	body.qcg-reference-layout .qcg-church-events .qcg-section-empty {
		font-size: 16px;
		text-align: left;
	}
	body.qcg-reference-layout .qcg-church-events .qcg-section-link {
		grid-column: 2;
		margin: -12px 0 0;
		text-align: left;
	}
	body.qcg-reference-layout .qcg-church-media {
		padding-bottom: 54px;
		padding-top: 38px;
	}
	body.qcg-reference-layout .qcg-church-media .qcg-section-heading {
		align-items: flex-start;
		margin-bottom: 24px;
		text-align: left;
	}
	body.qcg-reference-layout .qcg-video-grid {
		gap: 20px;
	}
	body.qcg-reference-layout .qcg-video-thumb {
		border-radius: 3px;
	}
	body.qcg-reference-layout .qcg-video-card strong {
		color: #fff;
	}
	body.qcg-reference-layout .edgtf-reviews-list-info.edgtf-reviews-per-criteria {
		background: #0d0f11;
		border: 0;
		border-bottom: 1px solid rgba(214, 166, 61, .48);
		border-radius: 0;
		margin: 0;
		padding: 44px max(7vw, 54px);
	}
	body.qcg-reference-layout .edgtf-reviews-list-info.edgtf-reviews-count {
		background: #0d0f11;
		margin: 0;
		padding: 28px max(7vw, 54px);
	}
	body.qcg-reference-layout .edgtf-comment-holder {
		display: none;
	}
	body.qcg-reference-layout .qcg-comment-accordion {
		background: #0d0f11;
		border-bottom: 1px solid rgba(214, 166, 61, .48);
		margin: 0;
		padding: 0 max(7vw, 54px) 42px;
	}

	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-title-content,
	body.qcg-reference-layout .qcg-hero-overlay .edgtf-ls-title,
	body.qcg-reference-layout .qcg-hero-overlay .qcg-hero-commitments,
	body.qcg-reference-layout .qcg-hero-overlay .qcg-hero-summary,
	body.qcg-reference-layout .qcg-church-about .qcg-church-about-title,
	body.qcg-reference-layout .qcg-church-about p,
	body.qcg-reference-layout .qcg-pastor-copy,
	body.qcg-reference-layout .qcg-pastor-copy h2,
	body.qcg-reference-layout .qcg-pastor-copy p,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info h2,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-cid-holder,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-cid-holder p,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-cid-holder a,
	body.qcg-reference-layout .qcg-church-events .qcg-section-heading,
	body.qcg-reference-layout .qcg-church-events .qcg-section-heading h2,
	body.qcg-reference-layout .qcg-church-events .qcg-section-empty,
	body.qcg-reference-layout .qcg-church-events .qcg-section-link,
	body.qcg-reference-layout .qcg-church-media .qcg-section-heading,
	body.qcg-reference-layout .qcg-church-media .qcg-section-heading h2 {
		text-align: left !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info {
		border-radius: 0 !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-google-map {
		filter: grayscale(.82) invert(.88) hue-rotate(180deg) brightness(.7) contrast(1.15);
		height: 100% !important;
		min-height: 370px !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-google-map > div {
		height: 100% !important;
	}

	/* Compact reference-style pastor composition */
	body.qcg-reference-layout .qcg-pastor-panel {
		grid-template-columns: minmax(280px, 340px) minmax(420px, 620px) !important;
		justify-content: center !important;
	}
	body.qcg-reference-layout .qcg-pastor-copy,
	body.qcg-reference-layout .qcg-pastor-copy h2,
	body.qcg-reference-layout .qcg-pastor-copy p,
	body.qcg-reference-layout .qcg-pastor-copy::after {
		text-align: left !important;
	}
	body.qcg-reference-layout .qcg-pastor-bio {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location {
		grid-template-columns: minmax(380px, 40%) minmax(0, 60%) !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location::after {
		display: none !important;
		content: none !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info h2,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info .edgtf-ls-cid-holder,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info .edgtf-ls-cid-holder p,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info .edgtf-ls-cid-holder a,
	body.qcg-reference-layout .qcg-church-location-contact .qcg-location-kicker {
		text-align: center !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .qcg-location-kicker {
		display: block !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info .edgtf-ls-cid-holder {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
	}
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info * {
		text-align: center !important;
	}

	/* Remove the theme's white location frame. */
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-contact-info,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-ls-location-map,
	body.qcg-reference-layout .qcg-church-location-contact .edgtf-google-map-holder {
		border: 0 !important;
		box-shadow: none !important;
		outline: 0 !important;
	}

	/* Compact reference-style reviews band. */
	body.qcg-reference-layout .edgtf-reviews-per-criteria {
		display: none !important;
	}
	body.qcg-reference-layout .edgtf-grid-col-8 > .edgtf-ls-content {
		margin-bottom: 0 !important;
	}
	body.qcg-reference-layout .edgtf-full-width-inner {
		padding-bottom: 0 !important;
	}
	body.qcg-reference-layout .qcg-reviews-band {
		align-items: center;
		background: #0d0f11;
		border-bottom: 1px solid rgba(214, 166, 61, .48);
		display: grid;
		grid-template-columns: auto;
		justify-content: center;
		justify-items: center;
		row-gap: 15px;
		margin: 0;
		padding: 24px max(7vw, 54px);
	}
	body.qcg-reference-layout .qcg-reviews-copy,
	body.qcg-reference-layout .qcg-reviews-copy * {
		text-align: center !important;
	}
	body.qcg-reference-layout .qcg-reviews-kicker {
		display: block;
		margin-bottom: 7px;
	}
	body.qcg-reference-layout .qcg-reviews-band .edgtf-reviews-count {
		background: transparent !important;
		border: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	body.qcg-reference-layout .qcg-reviews-band .edgtf-reviews-summary {
		color: #fff;
		font-size: 30px;
		line-height: 1;
		margin: 0;
	}
	body.qcg-reference-layout .qcg-reviews-band .qcg-comment-accordion {
		background: transparent;
		border: 0;
		grid-column: 1;
		justify-self: center;
		margin: 0;
		padding: 0;
		width: auto;
	}
	body.qcg-reference-layout .qcg-reviews-band .qcg-comment-accordion-toggle {
		align-items: center;
		border: 1px solid rgba(214, 166, 61, .72);
		border-radius: 3px;
		color: var(--qcg-gold);
		display: flex;
		font-size: 13px;
		font-weight: 700;
		gap: 16px;
		justify-content: center;
		list-style: none;
		padding: 11px 16px;
		text-align: center;
		width: auto;
	}
	body.qcg-reference-layout .qcg-reviews-band .qcg-comment-accordion-toggle::-webkit-details-marker {
		display: none;
	}
	body.qcg-reference-layout .qcg-reviews-band .qcg-comment-accordion[open] {
		grid-column: 1 / -1;
		margin-top: 22px;
		width: 100%;
	}
	body.qcg-reference-layout .qcg-reviews-band .qcg-comment-accordion[open] > .qcg-comment-accordion-toggle {
		margin-left: auto;
		width: max-content;
	}
}
