/* These styles apply only to the techstack header template - look at section-techstack-header.php */

.techstack-header .inner {
	display: flex;
	padding: 60px 0 10px 0;
	gap: 50px;
	max-width: 1300px;
	align-items: center;
}

.techstack-header .inner .image-wrap {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 253px;
	height: 220px;
}

/* this is the fancy background graphic behind the term logo.
 * This would usually be a background image to .image-wrap, but the designers
 * decided to go with a graphic with an enormous drop shadow, that makes it double
 * the width and height. Since we don't have the space to have .image-wrap sized this way,
 * I had to make this a pseudo element and resort to questionable positioning. I don't like this either.
 */
.techstack-header .inner .image-wrap::before {
	content: '';
	display: block;
	position: absolute;
	top: -122px;
	left: -80px;
	background: url( './../../../images/templates/taxonomy-techstack/techstack-term-bg.svg' );
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: 408px;
	height: 458px;
	z-index: 1;
	pointer-events: none; /* This element overlaps lots of things, including the menu. This makes sure we can click _through_ it */
}

.techstack-header .inner .image-wrap .term-logo {
	max-width: 100px;
	max-height: 100px;
	margin-right: 7px;
	z-index: 2;
}

.techstack-header .inner .content-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.techstack-header .inner .content-wrap .techstack-title {
	font-size: 56px;
	color: #595959;
	font-weight: 600;
}

.techstack-header .inner .content-wrap .techstack-title .techstack-term {
	color: #374FFE;
}

.techstack-header .inner .techstack-description {
	font-size: 14px;
	font-weight: 300;
	color: #8E8E8E;
}

/* Small */
@media screen and (max-width: 950px) {
	.techstack-header .inner {
		flex-direction: row;
		flex-wrap: wrap;
		flex-basis: 105px;
		padding: 0;
		gap: 28px;
	}

	.techstack-header .inner .image-wrap {
		width: 100px;
		height: 100px;
	}
	.techstack-header .inner .image-wrap .term-logo {
		max-width: 55px;
		max-height: 55px;
		margin-right: 3px;
	}

	.techstack-header .inner .image-wrap::before {
		width: 200px;
		height: 225px;
		top: -65px;
		left: -52px;
	}

	.techstack-header .inner .content-wrap {
		row-gap: 15px;
		flex-basis: calc(100% - 150px);
	}

	.techstack-header .inner .content-wrap .techstack-title {
		font-size: 28px;
		line-height: 1.1;
	}

	.techstack-header .inner .techstack-description {
		font-size: 12px;
	}
}