.ncl-project-archive,
.ncl-news-archive {
	--ncl-editorial-red: #c8102e;
	--ncl-editorial-red-dark: #a80d27;
	--ncl-editorial-ink: #111827;
	--ncl-editorial-muted: #6b7280;
	--ncl-editorial-border: #e5e7eb;
	--ncl-editorial-soft: #f8fafc;
	background: #fff;
}

.ncl-editorial-hero {
	position: relative;
	overflow: hidden;
	min-height: 320px;
	background-color: #071426;
	background-image: var(--ncl-editorial-hero-bg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.ncl-editorial-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 13, 25, 0.86) 0%, rgba(5, 13, 25, 0.75) 34%, rgba(5, 13, 25, 0.28) 100%),
		linear-gradient(180deg, rgba(8, 19, 35, 0.1) 0%, rgba(8, 19, 35, 0.34) 100%);
}

.ncl-editorial-hero .ncl-container {
	position: relative;
	z-index: 1;
}

.ncl-editorial-hero__inner {
	display: flex;
	align-items: center;
	min-height: 200px;
}

.ncl-editorial-hero__copy {
	display: grid;
	gap: 16px;
	max-width: 560px;
	color: #fff;
}

.ncl-editorial-hero__title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.1rem);
	font-weight: 800;
	line-height: 1.5;
	text-transform: uppercase;
}

.ncl-editorial-hero__description {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
}

.ncl-editorial-hero__breadcrumbs {
	font-size: 0.86rem;
	line-height: 1.5;
}

.ncl-editorial-hero__breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.ncl-editorial-hero__breadcrumb-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.9);
}

.ncl-editorial-hero__breadcrumb-item + .ncl-editorial-hero__breadcrumb-item::before {
	content: ">";
	color: rgba(255, 255, 255, 0.56);
}

.ncl-editorial-hero__breadcrumb-item a {
	color: inherit;
	text-decoration: none;
}

.ncl-project-archive__content {
	padding: 40px 0 56px;
}

.ncl-project-archive__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.ncl-project-archive__toolbar-spacer {
	flex: 1 1 auto;
}

.ncl-project-archive__search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 56px;
	width: min(100%, 360px);
	border: 1px solid var(--ncl-editorial-border);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.ncl-project-archive__search input,
.ncl-project-archive__search button {
	border: 0;
	background: transparent;
	font: inherit;
}

.ncl-project-archive__search input {
	min-height: 54px;
	padding: 0 18px;
	color: var(--ncl-editorial-ink);
}

.ncl-project-archive__search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	background: #fff;
	color: var(--ncl-editorial-muted);
	cursor: pointer;
}

.ncl-project-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ncl-project-card {
	display: grid;
	grid-template-rows: auto 1fr;
	border: 1px solid var(--ncl-editorial-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

.ncl-project-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: #edf2f7;
}

.ncl-project-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ncl-project-card__body {
	display: grid;
	align-content: start;
	gap: 14px;
	padding: 15px 13px 10px;
}

.ncl-project-card__category {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ncl-editorial-red);
}

.ncl-project-card__title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.4;
	color: var(--ncl-editorial-ink);
}

.ncl-project-card__title a,
.ncl-project-card__link {
	color: inherit;
	text-decoration: none;
}

.ncl-project-card__location {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--ncl-editorial-muted);
}

.ncl-project-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--ncl-editorial-red);
}

.nc-pagination,
.ncl-editorial-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 36px;
}

.nc-pagination .page-numbers,
.ncl-editorial-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--ncl-editorial-border);
	border-radius: 8px;
	background: #fff;
	color: var(--ncl-editorial-ink);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
	outline: 0;
}

.nc-pagination a.page-numbers:hover,
.nc-pagination a.page-numbers:focus-visible,
.ncl-editorial-pagination a.page-numbers:hover,
.ncl-editorial-pagination a.page-numbers:focus-visible {
	border-color: #a51e3b;
	background: rgba(165, 30, 59, 0.08);
	color: #a51e3b;
}

.nc-pagination .page-numbers.current,
.ncl-editorial-pagination .page-numbers.current {
	border-color: #a51e3b;
	background: #a51e3b;
	color: #fff;
}

.ncl-project-archive__cta-strip {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.9fr) minmax(170px, 0.7fr) minmax(170px, 0.7fr) auto;
	align-items: center;
	gap: 0;
	margin: 44px 0 0;
	padding: 28px 32px;
	border: 1px solid rgba(165, 30, 59, 0.22);
	border-radius: 16px;
	background: #fff;
	box-shadow: none;
	overflow: hidden;
}

.ncl-project-archive__cta-accent {
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: #a51e3b;
}

.ncl-project-archive__cta-copy,
.ncl-project-archive__cta-meta,
.ncl-project-archive__cta-action {
	position: relative;
	z-index: 1;
	padding: 0 26px;
}

.ncl-project-archive__cta-copy {
	display: grid;
	gap: 12px;
	padding-left: 32px;
	background: transparent;
	color: #111827;
}

.ncl-project-archive__cta-copy h2,
.ncl-project-archive__cta-copy p,
.ncl-project-archive__cta-meta p {
	margin: 0;
}

.ncl-project-archive__cta-copy h2 {
	font-size: clamp(30px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.15;
	color: #111827;
}

.ncl-project-archive__cta-copy h2 span {
	color: #a51e3b;
}

.ncl-project-archive__cta-copy p {
	max-width: 56ch;
	font-size: 16px;
	line-height: 1.6;
	color: #4b5563;
}

.ncl-project-archive__cta-meta {
	display: grid;
	gap: 10px;
	align-content: center;
	min-height: 100%;
}

.ncl-project-archive__cta-meta,
.ncl-project-archive__cta-action {
	border-left: 1px solid rgba(165, 30, 59, 0.16);
}

.ncl-project-archive__cta-label {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: #6b7280;
}

.ncl-project-archive__cta-meta a,
.ncl-project-archive__cta-meta p {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
	color: #a51e3b;
	text-decoration: none;
	white-space: nowrap;
}

.ncl-project-archive__cta-action {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ncl-project-archive__cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	margin: 0;
	padding: 14px 28px;
	border: 1px solid #a51e3b;
	border-radius: 12px;
	background: #a51e3b;
	background-image: none;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: none;
}

.ncl-project-archive__cta-button:hover,
.ncl-project-archive__cta-button:focus {
	background: #8f1838;
	border-color: #8f1838;
	color: #fff;
}

.ncl-editorial-empty {
	padding: 40px 28px;
	border: 1px dashed var(--ncl-editorial-border);
	border-radius: 16px;
	background: var(--ncl-editorial-soft);
	text-align: center;
}

.ncl-editorial-empty h2,
.ncl-editorial-empty p {
	margin: 0;
}

.ncl-editorial-empty h2 {
	margin-bottom: 10px;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--ncl-editorial-ink);
}

.ncl-editorial-empty p {
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--ncl-editorial-muted);
}

@media (max-width: 1024px) {
	.ncl-project-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ncl-project-archive__cta-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 22px;
	}

	.ncl-project-archive__cta-copy {
		grid-column: 1 / -1;
		padding-right: 0;
	}

	.ncl-project-archive__cta-action {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

@media (max-width: 767px) {
	.ncl-editorial-hero {
		min-height: 280px;
	}

	.ncl-editorial-hero__inner {
		min-height: 280px;
		padding: 28px 0;
	}

	.ncl-editorial-hero__copy {
		max-width: none;
		text-align: left;
	}

	.ncl-project-archive__content {
		padding: 28px 0 40px;
	}

	.ncl-project-archive__toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.ncl-project-archive__search {
		width: 100%;
	}

	.ncl-project-archive__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.ncl-project-archive__cta-strip {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		margin-top: 32px;
		padding: 20px;
	}

	.ncl-project-archive__cta-copy,
	.ncl-project-archive__cta-meta,
	.ncl-project-archive__cta-action {
		padding: 0 0 0 18px;
	}

	.ncl-project-archive__cta-copy {
		gap: 10px;
	}

	.ncl-project-archive__cta-copy h2 {
		font-size: clamp(24px, 7vw, 28px);
	}

	.ncl-project-archive__cta-meta,
	.ncl-project-archive__cta-action {
		border-left: 0;
	}

	.ncl-project-archive__cta-meta a,
	.ncl-project-archive__cta-meta p {
		font-size: 18px;
	}

	.ncl-project-archive__cta-action {
		display: block;
	}

	.ncl-project-archive__cta-button {
		width: 100%;
	}
}
