/*--------------------------------------------------------------
Homepage Module 6 — Capability Pillars
--------------------------------------------------------------*/
.capability-pillars {
	position: relative;
}

.capability-pillars__head {
	max-width: 820px;
	margin: 0 0 48px;
}

.capability-pillars__head .medium-title {
	margin: 0;
	font-size: clamp(30px, 3.8vw, 45px);
	line-height: 1.06;
	letter-spacing: -0.5px;
}

.capability-pillars__head .fade-anim-box,
.pillar-wrap.fade-anim-box {
	display: block;
}

.pillar-grid {
	display: grid;
	gap: 24px;
}

.pillar-grid.six {
	grid-template-columns: repeat(3, 1fr);
}

.pillar-wrap {
	height: 100%;
}

.pillar {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #1b2a2f;
	border: 0;
	text-decoration: none;
	color: inherit;
	transition: transform .5s cubic-bezier(.767, .01, .18, 1.01),
		box-shadow .5s cubic-bezier(.767, .01, .18, 1.01);
}

.pillar:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 56px -40px rgba(0, 0, 0, .45);
}

.pillar-imgbox {
	overflow: hidden;
	background: #1b2a2f;
	height: 170px;
}

.pillar-imgbox img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .9s cubic-bezier(.767, .01, .18, 1.01), opacity .9s;
}

.pillar:hover .pillar-imgbox img {
	transform: scale(1.06);
	opacity: .85;
}

.pillar-body {
	padding: 24px 22px 28px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.pillar h3 {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 19px;
	letter-spacing: .5px;
	color: #ffffff;
	margin: 0 0 10px;
	line-height: 1.15;
}

.pillar p {
	font-family: 'Open Sans', sans-serif;
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 22px;
	flex: 1;
}

.pillar .plink {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 12px;
	font-weight: 600;
	color: var(--brand-orange);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
}

.pillar .plink:after {
	content: '\2192';
	transition: transform .4s cubic-bezier(.767, .01, .18, 1.01);
}

.pillar:hover .plink:after {
	transform: translateX(5px);
}

@media only screen and (max-width: 900px) {
	.pillar-grid.six {
		grid-template-columns: 1fr 1fr;
	}
}

@media only screen and (max-width: 520px) {
	.capability-pillars__head {
		margin-bottom: 34px;
	}

	.pillar-grid.six {
		grid-template-columns: 1fr;
	}

	.pillar-imgbox {
		height: 180px;
	}
}
