/* ===================================
	Work list (Work page): alternating case-study cards, image and summary.
=================================== */

.work_portfolio_list .work_item {
	display: flex;
	margin-bottom: 11%;
}
.work_portfolio_list .work_item:last-child {
	margin-bottom: 0;
}
.work_portfolio_list .work_item.even {
	flex-direction: column;
	align-items: end;
}
.work_portfolio_list .work_item .featured_image_box,
.work_portfolio_list .work_item.even .featured_content {
	position: relative;
	max-width: 1162px;
	width: 62%;
	overflow: hidden;
}
.work_portfolio_list .work_item .featured_image_box .hover_link {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	font-size: 0;
	z-index: 1;
}
.work_portfolio_list .work_item .featured_image_box .featured_image {
	height: 100%;
}
.work_portfolio_list .work_item .featured_image img {
	width: 100%;
	display: block;
	height: 100%;
	object-fit: cover;
}
.work_portfolio_list .work_item .featured_image_box .work_logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: 0.3s var(--ease-in-out);
	transition-property: opacity;
}
@media (hover: hover) and (pointer: fine) {
	.work_portfolio_list .work_item .featured_image_box:hover .work_logo {
		opacity: 1;
	}
}
.work_portfolio_list .work_item .featured_image_box .work_logo img {
	contain-intrinsic-size: revert;
}
.work_portfolio_list .work_item .featured_image_box .image_over {
	padding: 0 70px;
	position: absolute;
	bottom: 20px;
	transition: 0.3s var(--ease-in-out);
	transition-property: opacity, transform;
}

.work_portfolio_list .work_item .featured_image_box .image_over.hover {
	transform: translateY(118px);
	opacity: 0;
}
.work_portfolio_list .work_item .featured_image_box .image_over .tag_line {
	letter-spacing: 0;
	font-weight: 900;
	position: relative;
	display: flex;
	gap: 20px;
	align-items: baseline;
	text-transform: uppercase;
}

/* → drawn like the pill buttons and Previous/Next (the case study is a page of this site, so not ↗);
	its shaft draws out when the card is hovered or focused */
.work_portfolio_list .work_item .featured_image_box .image_over .tag_line::after {
	content: "";
	flex: none;
	align-self: center;
	--ah: 0.62em;
	width: 0.75em;
	height: var(--ah);
	background: var(--wp--preset--color--darkgreen);
	-webkit-mask:
		var(--arrow-e-head) right center / auto 100% no-repeat,
		linear-gradient(#000, #000) left 0 top 50% / calc(100% - var(--ah) * 0.11) calc(var(--ah) * 0.068) no-repeat;
	mask:
		var(--arrow-e-head) right center / auto 100% no-repeat,
		linear-gradient(#000, #000) left 0 top 50% / calc(100% - var(--ah) * 0.11) calc(var(--ah) * 0.068) no-repeat;
	transition: width 650ms var(--ease-out);
}
.work_portfolio_list .work_item .featured_image_box:focus-within .image_over .tag_line::after {
	width: 1.25em;
}
@media (hover: hover) and (pointer: fine) {
	.work_portfolio_list .work_item .featured_image_box:hover .image_over .tag_line::after {
		width: 1.25em;
	}
}

.work_portfolio_list .work_item .featured_content {
	flex: 1;
	padding: 70px;
	flex-direction: column;
	display: flex;
	justify-content: end;
}
.work_portfolio_list .work_item.even .featured_content {
	padding-bottom: 0;
}
.work_portfolio_list .work_item .featured_content .featured_content_inner {
	max-width: 585px;
}

.work_portfolio_list .work_item .featured_content .work_title {
	letter-spacing: -1.08px;
}
.work_portfolio_list .work_item .featured_content .market {
	text-transform: uppercase;
	margin-bottom: 20px;
	letter-spacing: 0.36px;
}
.work_portfolio_list .work_item .featured_content .short_summary {
	letter-spacing: 0.36px;
	margin-bottom: 25px;
}

@media only screen and (max-width: 1350px) {
	.work_portfolio_list .work_item .featured_image_box .image_over {
		padding: 0 45px;
	}
	.work_portfolio_list .work_item .featured_content {
		padding: 30px 45px;
	}
	.work_portfolio_list .work_item .featured_image_box .image_over .tag_line {
		font-size: 30px;
		margin-bottom: 10px;
	}
	.work_portfolio_list .work_item .featured_image_box .image_over .work_title {
		font-size: 20px;
	}
	.work_portfolio_list .work_item .featured_image_box .work_logo {
		max-width: 200px;
	}
}
@media only screen and (max-width: 980px) {
	.work_portfolio_list .work_item {
		flex-direction: column;
	}
	.work_portfolio_list .work_item .featured_image_box,
	.work_portfolio_list .work_item.even .featured_content {
		width: 100%;
	}
	.work_portfolio_list .work_item.even .featured_content {
		padding-bottom: 30px;
	}
}
@media only screen and (max-width: 768px) {
	.work_portfolio_list .work_item .featured_image_box .image_over .tag_line {
		font-size: 22px;
	}
	.work_portfolio_list .work_item .featured_image_box .image_over .work_title {
		font-size: 15px;
	}
}
@media only screen and (max-width: 480px) {
	.work_portfolio_list .work_item .featured_image_box .image_over .tag_line {
		font-size: 19px;
	}
	.work_portfolio_list .work_item .featured_image_box .image_over {
		padding: 0 20px;
	}
	.work_portfolio_list .work_item .featured_content {
		padding: 30px 20px;
	}
	.work_portfolio_list .work_item .featured_image_box .work_logo img {
		display: block;
		width: 100%;
		max-height: 60px;
	}
	.work_portfolio_list .work_item {
		margin-bottom: 14%;
	}
}
