/**
 * Single techstack taxonomy term, main stylesheet.
 * Enqueued inside taxonomy-techstack.php. Not loaded anywhere else.
 * @since DVB-788
 */

.techstack-single-term {
	background: url( './../../../images/templates/taxonomy-techstack/techstack-bg-circle-1.svg' ) no-repeat left -100px/500px, url( './../../../images/templates/taxonomy-techstack/techstack-bg-circle-2.svg' ) no-repeat right 322px;
	position: relative;
	padding-bottom: 60px;
}

/* Background gradient (we need a specific height, which is why this is a pseudo element) */
.techstack-single-term::before {
	content: '';
	position: absolute;
	display: block;
	background: linear-gradient(180deg, #CBE2FF 66.44%, rgba(203, 226, 255, 0.00) 100%);
	top: 0;
	left: 0;
	height: 937px;
	width: 100%;
	z-index: -1;
}

.techstack-single-term .techstack-content {
	display: flex;
	column-gap: 22px;
	justify-content: center;
}

.techstack-single-term .techstack-content .techstack-aside {
	width: 330px;
	flex-shrink: 0;
	padding-top: 37px;
}

.techstack-single-term .techstack-content .techstack-items {
	width: 100%;
	padding-top: 37px;
	max-width: 960px; /* The banner width is 960px, client requested the job items to be the same width */
}

.techstack-single-term .pagination-wrap {
	padding-bottom: 0;
}

/** No results notice card. This will probably turn into its own component at some point **/
.techstack-single-term .devbg-notice-card {
	background: linear-gradient(184.94deg, rgba(255, 255, 255, 0.9) 32.86%, rgba(255, 255, 255, 0.5) 51.78%);
	border-radius: 5px;
	padding: 0 0 20px;
	overflow: hidden;
	margin-bottom: 15px;
}

.techstack-single-term .devbg-notice-card .lottie-wrap {
	min-height: 150px;
}

.techstack-single-term .devbg-notice-card .text-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	row-gap: 16px;
	padding: 150px 0 15px;
	background-image: url('./../../../images/templates/taxonomy-techstack/no-results.svg');
	background-repeat: no-repeat;
	background-position: center 32px;
	background-size: 965px auto;
}

.techstack-single-term .devbg-notice-card .text-wrap .message-main {
	font-size: 30px;
	margin: 0;
	color: var(--color-text);
	line-height: 1.2;
}

.techstack-single-term .devbg-notice-card .text-wrap .message-secondary {
	color: var(--color-grey-60);
	max-width: 512px;
	font-weight: 100;
}
/** END no results notice card. **/

/* Small */
@media screen and (max-width: 950px) {
	.techstack-single-term {
		background: url( './../../../images/templates/taxonomy-techstack/techstack-bg-circle-1.svg' ) no-repeat -16px -3px/271px, url( './../../../images/templates/taxonomy-techstack/techstack-bg-circle-2.svg' ) no-repeat right 322px;
		padding-top: 30px;
	}

	.techstack-single-term::before {
		height: 537px;
	}

	.techstack-single-term .techstack-content {
		flex-direction: column-reverse;
	}

	.techstack-single-term .techstack-content .techstack-aside {
		padding-top: 0;
		width: 100%;
	}

	/* no results view */
	.techstack-single-term .devbg-notice-card .lottie-wrap {
		min-height: unset;
	}

	.techstack-single-term .devbg-notice-card .text-wrap .message-main {
		font-size: 20px;
		/*line-height: 32px;*/
		padding: 0 20px;
	}

	.techstack-single-term .devbg-notice-card .text-wrap .message-secondary {
		font-size: 14px;
		font-weight: 400;
		color: var(--color-grey-40);
		padding: 0 20px;
	}
}