.myde-projects {
	padding-top: 30px;
	padding-bottom: 30px;
}

.myde-projects__pretitle {
	position: relative;
	display: inline-block;
	padding-bottom: 2px;
	font-weight: 400;
	font-size: 14px;
	line-height: normal;
	color: #e6e6e6;
	text-transform: uppercase;
}

.myde-projects__pretitle::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: #e7e7e7;
	transform: scaleY(0.3);
	transform-origin: bottom;
}

.myde-projects__list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	margin-top: 30px;
}

.myde-project {
	position: relative;
	display: flex;
	width: calc((100% - 20px) / 2);
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 0 5px rgba(242, 206, 181, 0.2);
	transition: box-shadow .3s ease-in-out;
}

.myde-project:before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(#f2ceb5, #f2ceb5) top left / 100% 0.3px no-repeat,
		linear-gradient(#f2ceb5, #f2ceb5) top right / 0.3px 100% no-repeat,
		linear-gradient(#f2ceb5, #f2ceb5) bottom left / 100% 0.3px no-repeat,
		linear-gradient(#f2ceb5, #f2ceb5) top left / 0.3px 100% no-repeat;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease-in-out;
}

.myde-project:hover {
	box-shadow: 0 0 5px rgba(242, 206, 181, 0.2);
}

.myde-project:hover:before {
	opacity: 1;
}

.myde-project__content {
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	padding: 20px 30px 24px;
}

.myde-project__image {
	display: flex;
	margin-top: -1px;
	margin-right: -1px;
	margin-left: -1px;
}

.myde-project__image img {
	display: block;
	width: 100%;
	height: 640px;
    object-fit: cover;
}

.myde-project__title {
	margin: 0;
	font-weight: 300;
	font-size: 20px;
	line-height: normal;
	color: #f2ceb5;
	text-transform: uppercase;
}

.myde-project__title a {
	color: inherit;
	text-decoration: none;
}

.myde-project__desc {
	flex-grow: 1;
	margin-top: 12px;
	font-weight: 300;
	font-size: 14px;
	line-height: normal;
	color: #e6e6e6;
}

.myde-project__props {
	display: flex;
	flex-wrap: wrap;
	margin-top: 24px;
	column-gap: 20px;
}

.myde-project__prop {
	display: flex;
	align-items: center;
	column-gap: 8px;
}

.myde-project__prop-value {
	font-weight: 300;
	font-size: 14px;
	line-height: normal;
	color: #e6e6e6;
}

.myde-projects__bottom {
	display: flex;
	justify-content: flex-end;
	margin-top: 30px;
}

@media (min-width: 1024px) and (max-width: 1439px) {
	.myde-projects__list {
		row-gap: 20px;
	}

	.myde-project {
		width: calc((100% - 20px) / 2);
	}

	.myde-project__image {
		aspect-ratio: 462 / 308;
		overflow: hidden;
	}

	.myde-project__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

@media (max-width: 1023px) {
	.myde-projects {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.myde-projects__pretitle {
		font-weight: 300;
		font-size: 12px;
	}

	.myde-projects__list {
		display: flex;
		flex-direction: column;
		row-gap: 20px;
	}

	.myde-project {
		width: 100%;
	}

	.myde-project__image {
		aspect-ratio: 335 / 224;
		overflow: hidden;
	}

	.myde-project__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.myde-project__content {
		padding: 20px;
	}

	.myde-project__props {
		gap: 14px 18px;
	}

	.myde-project__prop {
		min-width: calc(50% - 9px);
	}

	.myde-projects__bottom {
		justify-content: stretch;
	}

	.myde-projects__link {
		width: 100%;
	}
}
