.featured-project {
	margin-block: var(--wp--preset--spacing--large, 4rem);
    position: relative;
}

.featured-project__inner {
	display: grid;
	grid-template-columns: minmax(0, 40%) minmax(0, 60%);
	gap: var(--wp--custom--global--spacing--padding--background);
	align-items: center;
	padding: var(--wp--custom--global--spacing--padding--background);
	background: #fff;
	border-radius: var(--wp--preset--border-radius--md);
}

.featured-project__titles {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--20);
}

.featured-project__media {
	display: block;
    width: 100%;
    height: 100%;
	overflow: hidden;
	border-radius: var(--wp--preset--border-radius--md);
	background: #eaf3ff;
}

.featured-project__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.featured-project__media:hover .featured-project__image {
	transform: scale(1.035);
}

.featured-project__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eaf3ff, #dbeafe);
}

.featured-project__content {
	padding-block: clamp(1rem, 3vw, 3rem);
	padding-inline-end: clamp(0rem, 2vw, 2rem);
    gap: var(--wp--style--block-gap);
    display: flex;
    flex-direction: column;
}

.featured-project__label {
    margin: 0;
}

.featured-project__title {
    margin: 0;
}

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

.featured-project__title a:hover {
	color: var(--wp--preset--color--primary, #3b82f6);
}

.featured-project__summary {
    margin: 0;
}

.featured-project__services {
	display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    gap: var(--wp--preset--spacing--20);
	align-items: baseline;
	padding-block: var(--wp--preset--spacing--40);
	border-block: 1px solid var(--wp--preset--color--secondary-variant)
}

.featured-project__services-label {
	color: var(--wp--preset--color--secondary);
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.featured-project__services-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
}

.featured-project__service {
	color: var(--wp--preset--color--contrast) !important;
	text-decoration: none;
    font-style: italic;
}

.featured-project__service:not(:last-child)::after {
	content: ",";
}

.featured-project__service:hover {
	color: var(--wp--preset--color--secondary) !important;
}

.featured-project .wp-block-buttons .wp-block-button__link:before {
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
}

@media (max-width: 900px) {
	.featured-project__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.featured-project__content {
		padding: 0 0.75rem 1rem;
	}

	.featured-project__title {
		max-width: 100%;
	}

	.featured-project__services {
		grid-template-columns: 1fr;
	}
}