/**
 * Critical styles for Products page template.
 */

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	background-position: center;
	background-repeat: no-repeat;
}

html,
body {
	background-color: #FFF;
	font-family: "Open Sans", sans-serif;
	overflow-x: hidden;
	font-size: 16px; /* 1rem */
	color: #000;
}

@media ( max-width: 991px ) {

	html,
	body {
		font-size: 14px;
	}

}

html {
	background-color: #182528;
	scroll-padding-top: 100px;
}

@media ( prefers-reduced-motion: no-preference ) {

	html {
		scroll-behavior: smooth;
	}

}

.container {
	display: block;
	width: 77%;
	max-width: 1110px;
	margin-left: auto;
	margin-right: auto;
}

@media ( max-width: 991px ) {

	.container {
		width: 90%;
	}

}

.container--ratio,
.container--image {
	position: relative;
	overflow: hidden;
}

@supports not( aspect-ratio: 1 / 1 ) {

	.container--ratio::before {
		content: "";
		float: left;
		display: inline-block;
		width: 1px;
		height: 0;
		margin-left: -1px;
	}

}

.container--ratio img,
.container--image img,
.container--ratio iframe,
.container--image.has-lqip::after,
.container--ratio.has-lqip::after {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: block;
	width: calc( 100% + 2px ); /* add 2px to width and height to prevent hairline of background color */
	height: calc( 100% + 2px );
	transform: translate( -50%, -50% );
	object-fit: cover;
}

.container--ratio.has-lqip::after,
.container--image.has-lqip::after {
	content: "";
	z-index: 1;
	width: calc( 100% + 50px );
	height: calc( 100% + 50px );
	background-position: center;
	background-size: cover;
}

.button {
	display: inline-block;
	padding: 9px 27px;
	background-color: #fb8406;
	text-decoration: none;
	border: none;
	border-radius: 20px;
	font-weight: 600;
	color: #FFF;
}

@media ( hover: hover ) {

	.button:hover {
		background-color: #f0650a;
	}

}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: "Roboto Slab", serif;
	font-weight: 500;
	color: #334b50;
}

h1,
.h1 {
	line-height: 1.222;
	font-size: 54px;
}

@media ( max-width: 991px ) {

	h1,
	.h1 {
		font-size: 42px;
	}

}

h2,
.h2 {
	line-height: 1.3;
	font-size: 40px;
}

@media ( max-width: 991px ) {

	h2,
	.h2 {
		font-size: 34px;
	}

}

h3,
.h3 {
	line-height: 1.5;
	font-size: 30px;
}

@media ( max-width: 991px ) {

	h3,
	.h3 {
		font-size: 25px;
	}

}

h4,
.h4 {
	line-height: 1.583;
	font-size: 24px;
	color: #8e8e8d;
}

@media ( max-width: 991px ) {

	h4,
	.h4 {
		font-size: 20px;
	}

}

h5,
h6,
.h5,
.h6 {
	line-height: 1.7;
	font-size: 20px;
	color: #5d5d5d;
}

img,
video,
figure,
iframe,
picture {
	max-width: 100%;
	height: auto;
}

img.alignleft { margin: 1.11rem 1.11rem 1.11rem 0; }
img.alignright { margin: 1.11rem 0 1.11rem 1.11rem; }

img.lazyload,
img.lazyloading,
img.lazyloaded,
video.lazyload,
video.lazyloading,
video.lazyloaded,
iframe.lazyload,
iframe.lazyloading,
iframe.lazyloaded {
	opacity: 0;
	transition: opacity 0.5s;
}

img.lazyloading,
video.lazyloading,
iframe.lazyloading {
	will-change: opacity;
}

img.lazyloaded,
video.lazyloaded,
iframe.lazyloaded {
	opacity: 1;
}

.entry p,
.entry li,
.entry td,
.entry blockquote {
	line-height: 1.75;
}

.entry * + h2,
.entry * + h3,
.entry * + h4,
.entry * + h5,
.entry * + h6,
.entry * + p,
.entry * + hr,
.entry * + dl,
.entry * + ol,
.entry * + ul,
.entry * + .hr,
.entry * + pre,
.entry * + form,
.entry * + table,
.entry * + video,
.entry * + figure,
.entry * + iframe,
.entry * + blockquote,
.entry * + img.aligncenter,
.entry img.aligncenter + * {
	margin-top: 15px;
}

.entry .wp-block-table {
	overflow: auto;
}

.entry table {
	border-top: solid 0.5px #000;
	border-left: solid 0.5px #000;
	border-collapse: collapse;
}

.entry hr,
.entry .hr {
	margin: 1rem auto;
}

.entry pre {
	white-space: unset;
}

.entry iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
}

b,
.b,
strong,
.strong {
	font-weight: 700;
}

ul,
ol {
	margin-left: 1rem;
}

blockquote {
	width: 80%;
	font-style: italic;
}

.alignleft,
.alignright {
	float: left;
	display: inline;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	clip-path: polygon( 0 0, 0 0, 0 0, 0 0 );
	clip: rect( 1px, 1px, 1px, 1px );
	white-space: nowrap;
	overflow: hidden;
}

html.no-js .hide-if-no-js {
	display: none !important;
}


/*
##     ## ########    ###    ########  ######## ########
##     ## ##         ## ##   ##     ## ##       ##     ##
##     ## ##        ##   ##  ##     ## ##       ##     ##
######### ######   ##     ## ##     ## ######   ########
##     ## ##       ######### ##     ## ##       ##   ##
##     ## ##       ##     ## ##     ## ##       ##    ##
##     ## ######## ##     ## ########  ######## ##     ##
*/

.template-part-header-logo-nav > .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 23px 0;
	font-weight: 600;
	font-size: 14px;
}

.template-part-header-logo-nav .logo {
	max-width: 225px;
}

.template-part-header-logo-nav .mark {
	display: none;
	max-width: 28px;
}

@media ( max-width: 767px ) {

	.template-part-header-logo-nav .logo {
		max-width: 150px;
	}

	.template-part-header-logo-nav .right {
		font-size: 12px;
	}

}

.template-part-header-logo-nav .right > * {
	white-space: nowrap;
}

.template-part-header-logo-nav a:not( .button ) {
	color: #fb8406;
	text-decoration: none;
}

.template-part-header-logo-nav a[href^="tel:"]::before {
	content: "";
	display: inline-block;
	width: 11px;
	height: 10px;
	margin-right: 5px;
	background-image: url( "/demos/lp.hazlnut.com/wp-content/themes/hazlnut-lps/template-products/img/icon-phone.svg" );
	background-size: contain;
}

.template-part-header-logo-nav .right > * + * {
	margin-left: 30px;
}

@media ( max-width: 767px ) {

	.template-part-header-logo-nav .right > * + * {
		margin-left: 15px;
	}

	.template-part-header-logo-nav .button {
		display: none;
	}

}


/*
##     ## ######## ########   #######
##     ## ##       ##     ## ##     ##
##     ## ##       ##     ## ##     ##
######### ######   ########  ##     ##
##     ## ##       ##   ##   ##     ##
##     ## ##       ##    ##  ##     ##
##     ## ######## ##     ##  #######
*/

.template-part-hero {
	display: flex;
	flex-direction: column;
}

#page-hero .container {
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: min-content min-content min-content min-content;
}

#page-hero .content {
	grid-area: 1 / 1 / 2 / 2;
	margin-bottom: 45px;
}

#page-hero .entry {
	margin-top: 15px;
	font-weight: 600;
	font-size: 24px;
	color: #8e8e8d;
}

#page-hero .container--button {
	margin-top: 30px;
}

#page-hero .bg-image {
	grid-area: 2 / 1 / 4 / 2;
}

#page-hero .bg-image .container--ratio {
	width: 100vw;
	transform: translateX( -5vw );
	aspect-ratio: 640 / 500;
}

@supports not ( aspect-ratio: 640 / 500 ) {

	#page-hero .bg-image .container--ratio::before {
		padding-top: 82%;
	}

}

#page-hero .video {
	position: relative;
	z-index: 2;
	display: flex;
	grid-area: 3 / 1 / 5 / 2;
	align-items: end;
}

#page-hero .video img {
	display: block;
	width: 100%;
	border-radius: 10px;
}

@media ( min-width: 768px ) {

	#page-hero .container {
		grid-template-rows: min-content min-content min-content;
	}

	#page-hero .bg-image {
		grid-area: 2 / 1 / 4 / 2;
		width: auto;
		padding-bottom: 45px;
	}

	#page-hero .bg-image .container--ratio {
		width: calc( 100% - 45px );
		border-top-right-radius: 200px;
	}

	#page-hero .video {
		grid-area: 3 / 1 / 4 / 2;
		justify-content: end;
	}

	#page-hero .video img {
		width: 60%;
	}

}

@media ( min-width: 992px ) {

	#page-hero {
		position: relative;
		z-index: 1;
		overflow: hidden;
	}

	#page-hero .container {
		grid-template-columns: 1fr 1fr;
		justify-content: space-between;
		align-items: center;
		grid-column-gap: 50px;
	}

	#page-hero .content {
		margin-bottom: 0;
		padding: 85px 0;
	}

	#page-hero .bg-image {
		position: absolute;
		top: 0;
		right: 0;
		z-index: -1;
		width: calc( 48% - 100px );
		height: calc( 100% - 30px );
		padding-bottom: 0;
		overflow: hidden;
	}

	#page-hero .bg-image .container--ratio {
		width: 100%;
		height: 100%;
		border-top-left-radius: 200px;
		border-top-right-radius: 0;
		transform: none;
	}

	#page-hero .video {
		grid-area: 1 / 2 / 2 / 3;
		justify-content: start;
		align-self: end;
	}

}


/*
   ###    ##    ##  ######  ##     ##  #######  ########   ######
  ## ##   ###   ## ##    ## ##     ## ##     ## ##     ## ##    ##
 ##   ##  ####  ## ##       ##     ## ##     ## ##     ## ##
##     ## ## ## ## ##       ######### ##     ## ########   ######
######### ##  #### ##       ##     ## ##     ## ##   ##         ##
##     ## ##   ### ##    ## ##     ## ##     ## ##    ##  ##    ##
##     ## ##    ##  ######  ##     ##  #######  ##     ##  ######
*/

#page-anchors {
	position: relative;
	margin-top: 60px;
	font-size: 14px;
}

.template-part-hero #page-anchors {
	order: 1;
}

@media ( max-width: 991px ) {

	#page-anchors {
		margin-top: 30px;
	}

}

#page-anchors > .container,
#sticky-page-anchors > .container {
	overflow: auto;
}

@media ( min-width: 768px ) {

	#page-anchors > .container,
	#sticky-page-anchors > .container {
		display: flex;
		justify-content: end;
	}

}

@media ( max-width: 767px ) {

	#page-anchors > .container,
	#sticky-page-anchors > .container {
		width: 100%;
	}

}

#page-anchors ul,
#sticky-page-anchors ul {
	display: flex;
	margin: 0;
	list-style: none;
}

@media ( max-width: 767px ) {

	#page-anchors li:first-of-type,
	#sticky-page-anchors li:first-of-type {
		padding-left: calc( 5vw - 15px );
	}

	#page-anchors li:last-of-type,
	#sticky-page-anchors li:last-of-type {
		padding-right: 100px;
	}

}

@media ( min-width: 768px ) {

	#page-anchors li + li,
	#sticky-page-anchors li + li {
		margin-left: 30px;
	}

}

#page-anchors a,
#sticky-page-anchors a {
	display: inline-block;
	text-decoration: none;
	white-space: nowrap;
	font-weight: 600;
	color: #8e8e8d;
}

@media ( hover: hover ) {

	#page-anchors a:hover,
	#sticky-page-anchors a:hover {
		color: #237787;
	}

}

@media ( max-width: 767px ) {

	#page-anchors a,
	#sticky-page-anchors a {
		padding: 20px 15px;
	}

	#page-anchors::after,
	#sticky-page-anchors::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
		width: 80px;
		height: 100%;
		background-image:
			url( "/demos/lp.hazlnut.com/wp-content/themes/hazlnut-lps/template-products/img/icon-arrow.svg" ),
			linear-gradient( 270deg, rgba( 255, 255, 255, 0 ) 0%, rgba( 255, 255, 255, 1 ) 80% );
		background-position:
			left 2vw center,
			center center;
		background-size:
			6px auto,
			cover;
		transform: scaleX( -1 );
		pointer-events: none;
	}

}


/*
 ######  ######## ##       ##        ######
##    ## ##       ##       ##       ##    ##
##       ##       ##       ##       ##
##       ######   ##       ##        ######
##       ##       ##       ##             ##
##    ## ##       ##       ##       ##    ##
 ######  ######## ######## ########  ######
*/

.template-part-cells {
	margin: 80px 0 50px;
}

@media ( max-width: 767px ) {

	.template-part-cells {
		margin-top: 30px;
	}

}

.template-part-cells .eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
	font-size: 12px;
	color: #18a2b4;
}

.template-part-cells * + h2 {
	margin-top: 5px;
}

.template-part-cells * + .container--cells {
	margin-top: 30px;
}

.template-part-cells .container--cells {
	color: #434343;
}

@media ( min-width: 768px ) {

	.template-part-cells .container--cells {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 50px;
	}

}

.template-part-cells .cell {
	display: flex;
	column-gap: 30px;
	justify-content: space-between;
}

@media ( max-width: 767px ) {

	.template-part-cells .cell + .cell {
		margin-top: 50px;
	}

}

.template-part-cells h3 {
	font-family: "Open Sans", sans-serif;
	font-weight: 700;
	line-height: 1.7;
	font-size: 20px;
	color: #5d5d5d;
}

@media ( max-width: 991px ) {

	.template-part-cells h3 {
		font-size: 18px;
	}

}

.template-part-cells .icon {
	flex: 0 0 65px;
}

@media ( max-width: 1439px ) and ( min-width: 768px ) {

	.template-part-cells .icon {
		flex-shrink: 1;
	}

}

.template-part-cells .icon img {
	display: block;
	width: 100%;
}

.template-part-cells .text {
	flex: 0 5 auto;
}

.template-part-cells h3 + .entry {
	margin-top: 10px;
}

@media ( max-width: 991px ) {

	.template-part-cells h3 + .entry {
		margin-top: 15px;
	}

}