/**
 * Single Project page.
 */

.nexora-project-single {
	width: 100%;
	padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(4rem, 9vw, 7rem);
}

.nexora-project-single__header,
.nexora-project-single__content,
.nexora-project-single__back {
	width: min(100%, 50rem);
}

.nexora-project-single__back a {
	color: var(--nexora-navy);
	text-decoration: underline;
	text-decoration-color: var(--nexora-champagne);
	text-underline-offset: 0.22em;
}

.nexora-project-single__content a:focus-visible,
.nexora-project-single__back a:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 3px;
}

.nexora-project-single__header h1 {
	margin: 0;
	color: var(--nexora-navy);
	font-size: clamp(2.25rem, 7vw, 4.5rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
	overflow-wrap: anywhere;
}

.nexora-project-single__location {
	margin: 1.25rem 0 0;
	color: #6d5427;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
}

.nexora-project-single__excerpt {
	max-width: 50rem;
	margin: 1rem 0 0;
	color: #4d596b;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.75;
}

.nexora-project-single__featured {
	width: 100%;
	max-width: 75rem;
	aspect-ratio: 16 / 9;
	margin: clamp(2.5rem, 6vw, 4rem) 0 0;
	overflow: hidden;
	border-radius: 0.75rem;
	background: var(--nexora-white);
	box-shadow: 0 1.5rem 4rem rgb(8 26 51 / 10%);
}

.nexora-project-single__featured-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.nexora-project-single__content {
	margin-top: clamp(2rem, 4vw, 3.5rem);
	color: var(--nexora-text);
	font-size: 1.0625rem;
	line-height: 1.8;
}

.nexora-project-single__content > :first-child {
	margin-top: 0;
}

.nexora-project-single__content > :last-child {
	margin-bottom: 0;
}

.nexora-project-single__content img {
	max-width: 100%;
	height: auto;
}

.nexora-project-single__back {
	margin-top: clamp(2.5rem, 6vw, 4rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--nexora-border);
	font-weight: 700;
}

@media (min-width: 60rem) {
	.nexora-project-single__header {
		width: min(100%, 60rem);
	}
}
