/* CSS Document */
.cols {
	/* align-items: center; */
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

@media (min-width: 769px) {
	.col {
		width: 50%;
	}
}

.col img {
	display: block;
	height: auto;
	max-width: 100%;
}

.card-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.card-grid .card {
	display: flex;
	flex-direction: column;
	padding: 50px;
	text-align: center;
}
@media (min-width: 1025px) {
	.card-grid .card {
		border-right: 1px solid #f1b434;
		width: 33.333%;
	}
}

@media (min-width: 1025px) {
	.card-grid .card:last-of-type {
		border-right: unset;
	}
}

.card-grid .card .btn {
	margin: auto auto 0;
	width: fit-content;
}

.card-grid .card .image {
	margin-bottom: 40px;
}

/* Homepage Specific */
.page-template-page-home main {
	padding-bottom: 40px;
}

.page-template-page-home section:not(#products-services) {
	margin-top: 40px;
}

.page-template-page-home section#masthead {
	margin-top: 0;
}

@media (min-width: 1025px) {
	.page-template-page-home section#products-services {
		margin-top: 135px;
	}
}

@media (min-width: 1025px) {
	.page-template-page-home section#industries {
		margin-top: 100px;
	}
}

@media (min-width: 1025px) {
	.page-template-page-home section#testing {
		margin-top: 100px;
	}
}

@media (min-width: 769px) {
	.page-template-page-home main p {
		font-size: 20px;
	}
}

.page-template-page-home main h2 {
	font-size: 24px;
	line-height: 1.25;
}
@media (min-width: 769px) {
	.page-template-page-home main h2 {
		font-size: 28px;
	}
}

.page-template-page-home h2 strong {
	color: #ee3126;
}

.page-template-page-home section#masthead {
	background-color: #0d2440;
	background-image: url('/wp-content/uploads/bg_masthead-lineart.svg');
	background-size: cover;
	overflow: visible;
	position: relative;
}
@media (min-width: 1025px) {
	.page-template-page-home section#masthead {
		min-height: 600px;
	}
}

@media (min-width: 1025px) {
	.page-template-page-home section#masthead .cols {
		flex: 1;
	}
}

@media (min-width: 1025px) {
	.page-template-page-home section#masthead .col.left {
		width: 48%;
	}
}

@media (min-width: 1025px) {
	.page-template-page-home section#masthead .col.right {
		width: 52%;
	}
}

.page-template-page-home section#masthead .slant-box {
	height: 100%;
	/* overflow: hidden; */
	position: relative;
	width: 100%;
	z-index: 2;
}

.page-template-page-home section#masthead .slant-box > img {
	display: block;
}
@media (min-width: 769px) {
	.page-template-page-home section#masthead .slant-box > img {
		bottom: 0;
		height: 100%;
		left: 0;
		object-fit: cover;
		position: absolute;
		right: 0;
		top: 0;
		width: 100%;
	}
}

.page-template-page-home section#masthead .slant-box > .photo {
	object-position: center left;
}
@media (min-width: 1025px) {
	.page-template-page-home section#masthead .slant-box > .photo {
		mask-image: url('/wp-content/uploads/mask_home-masthead.svg');
		mask-position: center right;
		mask-repeat: no-repeat;
	}
}

.page-template-page-home section#masthead .slant-box > .overlay {
	display: none;
}
@media (min-width: 1025px) {
	.page-template-page-home section#masthead .slant-box > .overlay {
		display: block;
		height: calc(100% + 76px);
		object-position: center right;
	}
}

.page-template-page-home section#masthead h1 {
	color: #fff;
	font-size: 22px;
	line-height: 1.226;
}
@media (min-width: 1025px) {
	.page-template-page-home section#masthead h1 {
		font-size: 26px;
	}
}
@media (min-width: 1200px) {
	.page-template-page-home section#masthead h1 {
		font-size: 28px;
	}
}

.page-template-page-home section#masthead p {
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
}
@media (min-width: 1025px) {
	.page-template-page-home section#masthead p {
		font-size: 19px;
	}
}
@media (min-width: 1200px) {
	.page-template-page-home section#masthead p {
		font-size: 20px;
	}
}

.page-template-page-home section#masthead .btn {
	margin-top: 30px;
}
@media (min-width: 1025px) {
	.page-template-page-home section#masthead .btn {
		margin-top: 35px;
		padding: 15px 65px 12px 65px
	}
}

.page-template-page-home section#masthead .col.right {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 20px 120px 20px 60px;
}

@media (max-width: 1400px) {
	.page-template-page-home section#masthead .col.right {
		padding: 20px 40px;
	}
}

@media (max-width: 1024px) {
	.page-template-page-home section#masthead .col.right {
		padding: 20px;
	}
}

@media (max-width: 768px) {
	.page-template-page-home section#masthead .col {
		width: 100%;
	}
}

.page-template-page-home section#products-services .cols {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: space-between;
}

.page-template-page-home section#products-services .cols .col {
	display: flex;
	flex: 0 1 calc(50% - 20px);
	flex-direction: column;
	min-width: 0;
}

.page-template-page-home section#products-services .cols h3 {
	color: #ee3126;
	font-size: 20px;
	letter-spacing: 1px;
	line-height: 1;
	margin-bottom: 10px;
	position: relative;
	text-align: right;
	text-transform: uppercase;
}

.page-template-page-home section#products-services .cols .col h3:after {
	background-color: #ee3126;
	bottom: -10px;
	content: "";
	height: 8px;
	position: absolute;
	right: 0;
	width: 80%;
}

.page-template-page-home section#products-services .cols .col.right h3 {
	color: #000;
}

.page-template-page-home section#products-services .cols .col.right h3:after {
	background-color: #000;
}

.page-template-page-home section#products-services .cols img {
	display: block;
	height: auto;
	width: 100%;
}

.page-template-page-home section#products-services .cols .col .text-box {
	background-color: #eff0f2;
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}
@media (min-width: 769px) {
	.page-template-page-home section#products-services .cols .col .text-box {
		padding: 25px 30px;
	}
}
@media (min-width: 1025px) {
	.page-template-page-home section#products-services .cols .col .text-box {
		padding: 40px 50px;
	}
}

.page-template-page-home section#products-services .cols .col .text-box .btn {
	margin-top: auto;
	width: fit-content;
}

@media (max-width: 768px) {
	.page-template-page-home section#products-services {
		margin-top: 40px;
	}
	.page-template-page-home section#products-services .cols {
		display: block;
	}
	.page-template-page-home section#products-services .cols .col.right {
		margin-top:40px;
	}
}

.page-template-page-home section#industries h2 {
	font-size: 34px;
	line-height: 1.294;
}

@media (min-width: 1025px) {
	.page-template-page-home section#industries .col.left {
		padding-right: 45px;
	}
}

.page-template-page-home section#industries .col.left img {
	margin-left: auto;
	margin-right: auto;
}

.page-template-page-home section#industries .col.right {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-width: 1025px) {
	.page-template-page-home section#industries .col.right h2 {
		max-width: 620px;
	}
}

@media (min-width: 1025px) {
	.page-template-page-home section#industries .col.right p {
		margin-bottom: 35px;
		max-width: 620px;
	}
}

@media (max-width: 1024px) {
	.page-template-page-home section#industries .cols .col {
		padding: 20px;
	}
}

.page-template-page-home section#testing .slant-box {
	aspect-ratio: 750 / 450;
	--cut: 17.33%;
	isolation: isolate;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 2;
}

.page-template-page-home section#testing .slant-box > img {
	display: block;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.page-template-page-home section#testing .slant-box.crop-left .photo {
	clip-path: polygon(var(--cut) 0%, 100% 0%, 100% 100%, 0% 100%);
	object-fit: cover;
	object-position: center;
	transform: translateX(80px);
	z-index: 1;
}

.page-template-page-home section#testing .slant-box.crop-left .overlay {
	object-fit: contain;
	object-position: left center;
	pointer-events: none;
	z-index: 2;
}

.page-template-page-home section#testing {
	background-color: #f2f2f2;
}

.page-template-page-home section#testing .col.left {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 60px 0 60px 8.667%;
}

.page-template-page-home section#testing h2 {
	font-size: 34px;
}

@media (max-width: 1024px) {
	.page-template-page-home section#testing .cols .col.left {
		padding: 40px;
		width: 100%;
	}
	.page-template-page-home section#testing .cols .col.right {
		width: 100%;
	}
}

.page-template-page-home section#download {
	background-color: #ee3126;
	color: #fff;
}
@media (min-width: 769px) {
	.page-template-page-home section#download {
		display: flex;
		min-height: 380px;
	}
}

.page-template-page-home section#download .row {
	flex-direction: column;
	width: 100%;
}
@media (min-width: 1025px) {
	.page-template-page-home section#download .row {
		flex-direction: row;
	}
}

.page-template-page-home section#download .cols {
	width: 100%;
}

.page-template-page-home section#download .col.left {
	background-color: #f2f2f2;
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 20px;
	position: relative;
	width: 100%;
}
@media (min-width: 769px) {
	.page-template-page-home section#download .col.left {
		padding: 20px 30px 20px 20px;
		width: 42%;
	}
}
@media (min-width: 1025px) {
	.page-template-page-home section#download .col.left {
		padding: 20px 40px 20px 20px;
	}
}
@media (min-width: 1200px) {
	.page-template-page-home section#download .col.left {
		mask-image: url('/wp-content/uploads/cta_left_cover.svg');
		mask-position: center right;
		mask-repeat: no-repeat;
		mask-size: cover;
		padding: 30px 3% 20px 6%;
	}
}

.page-template-page-home section#download .col.left:after {
	background-image: url('/wp-content/uploads/cta-accent-lines_right_red.svg');
	background-position: center right;
	background-repeat: no-repeat;
	bottom: 0;
	left: 0;
	pointer-events: none;
	position: absolute;	
	right: 0;
	top: 0;
	z-index: 2;
}
@media (min-width: 1200px) {
	.page-template-page-home section#download .col.left:after {
		content: '';
	}
}

.page-template-page-home section#download .col.left img.cover {
	margin: 0 auto;
	max-width: 292px;
	width: 100%;
}
@media (min-width: 1200px) {
	.page-template-page-home section#download .col.left img.cover {
		margin: 0;
	}
}

.page-template-page-home section#download .col.right {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 20px;
}
@media (min-width: 769px) {
	.page-template-page-home section#download .col.right {
		padding: 20px 30px;
		width: 58%;
	}
}
@media (min-width: 1025px) {
	.page-template-page-home section#download .col.right {
		padding: 20px 40px;
	}
}
@media (min-width: 1200px) {
	.page-template-page-home section#download .col.right {
		padding: 20px 5.333%;
	}
}

.page-template-page-home section#download h3 {
	color: #fff;
	font-size: 19px;
	letter-spacing: 1px;
	line-height: 1;
	margin-bottom: 10px;
	position: relative;
	text-transform: uppercase;
}
@media (min-width: 769px) {
	.page-template-page-home section#download h3 {
		font-size: 20px;
	}
}
@media (min-width: 1025px) {
	.page-template-page-home section#download h3 {
		font-size: 21px;
	}
}

.page-template-page-home section#download h2 {
	color: #ffdc0b;
	font-size: 24px;
	line-height: 1;
	margin-bottom: 5px;
}
@media (min-width: 769px) {
	.page-template-page-home section#download h2 {
		font-size: 28px;
	}
}
@media (min-width: 1025px) {
	.page-template-page-home section#download h2 {
		font-size: 34px;
	}
}

.page-template-page-home section#download h4 {
	color: #fff;
	font-family: ITCAvantGardeGothicProMedium, sans-serif;
	font-size: 22px;
	line-height: 1;
	margin-bottom: 30px;
}
@media (min-width: 769px) {
	.page-template-page-home section#download h4 {
		font-size: 24px;
	}
}
@media (min-width: 1025px) {
	.page-template-page-home section#download h4 {
		font-size: 27px;
	}
}

.page-template-page-home section#about-afp {
	background-color: #f2f2f2;
}

.page-template-page-home section#about-afp .cols {
	align-items: stretch;
}

.page-template-page-home section#about-afp .col.left {
	align-self: stretch;
	--bottom-right: 72.5%;
	display: flex;
	flex-direction: column;
	isolation: isolate;
	justify-content: center;
	padding: 85px;
	position: relative;
	width: 30%;
}

.page-template-page-home section#about-afp .col.left h2 {
	color: #fff;
	font-size: 39px;
	line-height: 1;
	margin-bottom: 0;
}

.page-template-page-home section#about-afp .col.left:before {
	background: #0d2440;
	bottom: -1px;
	clip-path: polygon(0% 0%, 100% 0%, var(--bottom-right) 100%, 0% 100%);
	content: "";
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: -1px;
	z-index: 0;
}

.page-template-page-home section#about-afp .col.left > * {
	position: relative;
	z-index: 1;
}

.page-template-page-home section#about-afp .col.mid {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 50px;
	width: 30%;
}

.page-template-page-home section#about-afp .col.mid p {
	font-size: 18px;
	line-height: 1.278;
}

.page-template-page-home section#about-afp .col.right {
	width: 40%;
}

.page-template-page-home section#about-afp .slant-box {
	aspect-ratio: 660 / 420;
	--cut: 21%;
	isolation: isolate;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 2;
}

.page-template-page-home section#about-afp .slant-box > img {
	display: block;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.page-template-page-home section#about-afp .slant-box.crop-left .photo {
	clip-path: polygon(var(--cut) 0%, 100% 0%, 100% 100%, 0% 100%);
	object-fit: cover;
	object-position: center;
	z-index: 1;
}

.page-template-page-home section#about-afp .slant-box.crop-left .overlay {
	object-fit: contain;
	object-position: 35px center;
	pointer-events: none;
	z-index: 2;
}

@media (max-width: 1024px) {
	.page-template-page-home section#about-afp .col.left,
	.page-template-page-home section#about-afp .col.mid {
		width:50%;
	}
	.page-template-page-home section#about-afp .col.mid {
		padding: 40px;
	}
	.page-template-page-home section#about-afp .col.right {
		width: 100%;
	}
}