/* DeepHealingLight.com homepage cleanup */

.home-intro-panel {
	background-color: var(--tan-bg-lt-lt);
	border-top: 1px solid var(--tan-bg-dk);
	border-bottom: 1px solid var(--tan-bg-dk);
	padding: 25px 20px;
	margin: 0 auto 20px auto;
	text-align: center;
}

.home-intro-panel h1 {
	font-family: Bodoni, Georgia, 'Times New Roman', Times, serif;
	color: var(--bl-bg-dk);
	font-size: 2rem;
	font-weight: 700;
	font-style: italic;
	margin: 0 0 15px 0;
}

.home-intro-panel p {
	max-width: 850px;
	margin: 0 auto 15px auto;
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--prim-text-color);
}

.home-section-lead {
	max-width: 850px;
	margin: 0 auto;
	text-align:start;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--prim-text-color);
}

.home-card {
	background-color: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	box-shadow: 3px 3px 10px rgba(0,0,0,.12);
	padding: 20px;
	box-sizing: border-box;
    margin: 0 1.25em;

}

.home-card h2,
.home-card h3 {
	font-family: Bodoni, Georgia, 'Times New Roman', Times, serif;
	color: var(--bl-bg-dk);
	font-size: 1.45rem;
	font-style: italic;
	margin-top: 0;
}

.home-card p {
	text-align: left;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--prim-text-color);
    padding: 0 1.25em;
}

.home-card ul {
	text-align: left;
	line-height: 1.7;
	color: var(--prim-text-color);
}

.home-card.featured {
	background-color: var(--tan-bg-lt-lt);
}

.home-card.soft-green {
	background-color: var(--lt-gr);
}

.home-card.product-bridge {
	background-color: var(--tan-bg-lt);
}

.home-button-row {
	text-align: center;
	margin-top: 15px;
}

.home-button-row a {
	display: inline-block;
	background-color: var(--tan-bg-dk);
	color: var(--bl-bg-dk);
	font-family: var(--button-font-family);
	font-size: 1rem;
	font-weight: 700;
	padding: 10px 16px;
	border-radius: 20px;
	box-shadow: 0 -2px 0 rgba(0,0,0,0.15) inset;
	margin: 5px;
}

.home-button-row a:hover {
	background-color: var(--tan-bg-lt-lt);
	color: var(--bl-bg-lt);
}

.home-note {
	font-size: .9rem;
	font-style: italic;
	color: #444;
}

@media screen and (max-width: 640px) {
	.home-intro-panel {
		padding: 20px 12px;
	}

	.home-intro-panel h1 {
		font-size: 1.6rem;
	}

	.home-intro-panel p {
		font-size: 1rem;
		text-align: left;
	}

	.home-card {
		padding: 15px;
	}
}


/* Homepage image support */

.home-intro-with-image {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	gap: 24px;
	text-align: left;
}

.home-intro-copy {
	flex: 1 1 520px;
	max-width: 760px;
	text-align: center;
}

.home-intro-image {
	flex: 1 1 280px;
	max-width: 360px;
	margin: 0;
	text-align: center;
}

.home-intro-image img,
.home-feature-image img,
.home-card-image img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid #d6c8b6;
	box-shadow: 4px 4px 12px rgba(0,0,0,.22);
	box-sizing: border-box;
}

.home-intro-image img {
	border-radius: 18px;
}

.home-feature-row {
	display: flex !important;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	gap: 24px;
	box-sizing: border-box;
	padding: 25px 20px !important;
}

.home-feature-row.reverse {
	flex-direction: row-reverse;
}

.home-feature-row.final-direction {
	background-color: var(--tan-bg-lt-lt);
	border-top: 1px solid var(--tan-bg-dk);
	border-bottom: 1px solid var(--tan-bg-dk);
}

.home-feature-image {
	flex: 1 1 280px;
	max-width: 340px;
	margin: 0;
}

.home-feature-image img {
	border-radius: 14px;
}

.home-feature-copy {
	flex: 1 1 500px;
	max-width: 720px;
}

.home-feature-copy .section-title {
	padding-top: 0;
}

.home-card-image {
	margin: -5px auto 18px auto;
	max-width: 100%;
}

.home-card-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 10px 10px 0 0;
}

.home-card h3 {
	clear: both;
}

@media screen and (max-width: 800px) {
	.home-intro-with-image,
	.home-feature-row,
	.home-feature-row.reverse {
		display: block !important;
		text-align: center;
	}

	.home-intro-copy {
		text-align: center;
	}

	.home-intro-image,
	.home-feature-image {
		max-width: 92%;
		margin: 15px auto;
	}

	.home-feature-row {
		padding: 18px 10px !important;
	}

	.home-feature-copy .section-title {
		padding-top: 10px;
	}

	.home-card-image img {
		aspect-ratio: 4 / 3;
	}
}

@media screen and (max-width: 640px) {
	.home-intro-copy {
		text-align: left;
	}

	.home-intro-image,
	.home-feature-image {
		max-width: 100%;
	}
}
