/*
	Product Pages (template-product.php)

	Loaded AFTER css/landing.css on the product template — landing.css
	carries all the section styling (lp-hero, lp-numbers, lp-features,
	lp-review, lp-offer, lp-cta, lp-sticky); this file only adds what the
	product template does differently. Standalone on purpose, same as
	landing.css: no Scout recompile needed to edit these pages.

 */

/*
	Sticky mobile CTA interplay — mirror landing.css's rules for this
	template's body class: under 768px the .lp-sticky bar takes over and
	the sitewide .offer-bar hides (style.css already hides the offer bar
	under 1200px on templates with the tap-to-call dock; the product
	template has no dock, so it needs the landing treatment here).
 */
@media only screen and (max-width: 767px) {
	.page-template-template-product .offer-bar {
		display: none;
	}

	.page-template-template-product footer.site {
		padding-bottom: 6em;
	}
}

/*
	The page's original WYSIWYG body copy, rendered below the conversion
	spine under the config's article_title heading.
 */
.product-article {
	max-width: 860px;
	padding-top: 2.5em;
	padding-bottom: 1em;
}

.product-article .product-article-title {
	color: #262b28;
	font-size: 1.6em;
	font-weight: 700;
	margin-bottom: .75em;
}

/*
	Feature-card link button (landing/features.php 'link') — the /doors/
	hub's door-type cards. Same green as the hero submit / final CTA.
 */
.lp-features .feature-link {
	margin-top: 1em;
}

.lp-features .feature-link a {
	display: inline-block;
	background: #327B3F;
	color: #fff;
	font-weight: 700;
	padding: .7em 1.4em;
	border-radius: .5em;
	text-decoration: none;
}

.lp-features .feature-link a:hover,
.lp-features .feature-link a:focus {
	background: #27632f;
	color: #fff;
}

/*
	Sibling cross-links (landing/related.php) — the "Our Doors" row under
	the article on the door pages.
 */
.lp-related {
	background: #fff;
	border-top: 1px solid #eee;
	padding: 2.5em 1em;
}

.lp-related .container {
	max-width: 1100px;
}

.lp-related h2 {
	font-size: 1.3em;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	margin: 0 0 1.25em;
}

.lp-related h2 strong {
	display: block;
	font-size: 1.5em;
	font-weight: 700;
}

.lp-related .cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5em;
}

.lp-related .card {
	flex: 1 1 260px;
	max-width: 340px;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	color: #262b28;
	text-decoration: none;
	border-radius: 1em;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
	transition: transform .15s ease, box-shadow .15s ease;
}

.lp-related .card:hover,
.lp-related .card:focus {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
	color: #327B3F;
}

.lp-related .card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.lp-related .card span {
	display: block;
	padding: 1em;
}
