/* =================================================================
   NestCraft Projects — Front-end styles
   Design language taken from the reference "NestCraft" mockups:
   navy (#0e2438 / #122438), forest green accent (#5b8c3e), cream
   background sections (#f6f4ef), soft rounded cards, subtle shadows.
   ================================================================= */

:root {
	--ncp-navy: #0e2438;
	--ncp-green: #5b8c3e;
	--ncp-green-dark: #46702f;
	--ncp-text: #33414f;
	--ncp-muted: #6b7785;
	--ncp-border: #e7e5df;
	--ncp-cream: #f6f4ef;
	--ncp-radius: 10px;
}

.ncp-projects-grid-wrap *,
.ncp-overview *,
.ncp-gallery-floorplans *,
.ncp-specs-widget *,
.ncp-testimonial-wrap * {
	box-sizing: border-box;
}

.ncp-no-results {
	color: var(--ncp-muted);
	padding: 24px;
	text-align: center;
	grid-column: 1 / -1;
}

/* -----------------------------------------------------------
   1. Projects Grid + Filter Tabs
   ----------------------------------------------------------- */
.ncp-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-bottom: 44px;
}

.ncp-tab {
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 18px;
	border-radius: 30px;
	border: 1px solid var(--ncp-border);
	background: #fff;
	color: var(--ncp-text);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ncp-tab .ncp-svg-icon {
	width: 17px;
	height: 17px;
	color: var(--ncp-green);
	flex: 0 0 auto;
}

.ncp-tab.is-active .ncp-svg-icon {
	color: #fff;
}

.ncp-tab:hover {
	border-color: var(--ncp-green);
}

.ncp-tab.is-active {
	background: var(--ncp-green);
	border-color: var(--ncp-green);
	color: #fff;
}

.ncp-projects-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	transition: opacity 0.2s ease;
}

.ncp-projects-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.ncp-projects-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }

.ncp-projects-grid.is-loading {
	opacity: 0.4;
	pointer-events: none;
}

.ncp-card {
	background: #fff;
	border-radius: var(--ncp-radius);
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(14, 36, 56, 0.06);
	display: flex;
	flex-direction: column;
}

.ncp-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.ncp-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.ncp-card:hover .ncp-card-media img {
	transform: scale(1.05);
}

.ncp-card-media-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e7e5df, #f6f4ef);
}

.ncp-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--ncp-green);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 4px;
}

.ncp-card-body {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ncp-card-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.ncp-card-title a {
	color: var(--ncp-navy);
	text-decoration: none;
}

.ncp-card-meta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: var(--ncp-muted);
}

.ncp-meta-location {
	margin: 0;
}

.ncp-card-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.ncp-icon {
	font-size: 12px;
}

.ncp-card-link {
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ncp-green);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ncp-card-link:hover {
	text-decoration: underline;
}

@media (max-width: 991px) {
	.ncp-projects-grid,
	.ncp-projects-grid[data-cols="3"],
	.ncp-projects-grid[data-cols="4"] {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ncp-projects-grid,
	.ncp-projects-grid[data-cols="2"],
	.ncp-projects-grid[data-cols="3"],
	.ncp-projects-grid[data-cols="4"] {
		grid-template-columns: 1fr;
	}
}

/* -----------------------------------------------------------
   2. Project Overview (hero + details box)
   ----------------------------------------------------------- */
.ncp-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--ncp-muted);
	margin-bottom: 18px;
}

.ncp-breadcrumb a {
	color: var(--ncp-muted);
	text-decoration: none;
}

.ncp-breadcrumb a:hover {
	color: var(--ncp-green);
}

.ncp-breadcrumb-current {
	color: var(--ncp-navy);
	font-weight: 600;
}

.ncp-hero {
	position: relative;
}

.ncp-hero img {
	width: 100%;
	border-radius: var(--ncp-radius);
	display: block;
	object-fit: cover;
	max-height: 480px;
}

.ncp-hero-photo-count {
	position: absolute;
	bottom: 16px;
	right: 16px;
	background: rgba(14, 36, 56, 0.75);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 6px;
}

.ncp-overview-header {
	margin-top: 28px;
}

.ncp-eyebrow {
	display: inline-block;
	color: var(--ncp-green);
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 6px;
}

.ncp-overview-title {
	margin: 0 0 12px;
	font-size: 36px;
	font-weight: 800;
	color: var(--ncp-navy);
	line-height: 1.2;
}

.ncp-overview-lede {
	color: var(--ncp-muted);
	font-size: 16px;
	line-height: 1.6;
	max-width: 720px;
}

.ncp-quick-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin-top: 22px;
}

/* Inline SVG icon base — inherits color via currentColor. */
.ncp-svg-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
}

.ncp-quick-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
}

.ncp-quick-badge .ncp-svg-icon {
	width: 26px;
	height: 26px;
	color: var(--ncp-green);
	margin-bottom: 2px;
}

.ncp-quick-badge strong {
	font-size: 16px;
	color: var(--ncp-navy);
}

.ncp-quick-badge span {
	font-size: 12px;
	color: var(--ncp-muted);
}

.ncp-action-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 22px;
}

.ncp-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 22px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.ncp-btn-solid {
	background: var(--ncp-green);
	color: #fff;
}

.ncp-btn-solid:hover {
	background: var(--ncp-green-dark);
	color: #fff;
}

.ncp-btn-outline {
	background: transparent;
	border: 1px solid var(--ncp-border);
	color: var(--ncp-navy);
}

.ncp-btn-outline:hover {
	border-color: var(--ncp-green);
	color: var(--ncp-green);
}

.ncp-section-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 30px;
	border-bottom: 1px solid var(--ncp-border);
}

.ncp-section-nav-link {
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ncp-muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ncp-nav-icon {
	font-size: 14px;
	line-height: 1;
	display: inline-flex;
}

.ncp-nav-icon .ncp-svg-icon {
	width: 17px;
	height: 17px;
}

.ncp-section-nav-link:hover {
	color: var(--ncp-navy);
}

.ncp-section-nav-link.is-active {
	color: var(--ncp-green);
	border-bottom-color: var(--ncp-green);
}

.ncp-overview-columns {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	margin-top: 36px;
	align-items: start;
}

.ncp-section-heading {
	font-size: 22px;
	font-weight: 700;
	color: var(--ncp-navy);
	margin: 0 0 14px;
}

.ncp-overview-description {
	color: var(--ncp-text);
	line-height: 1.75;
	font-size: 15px;
}

.ncp-highlights-list {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.ncp-highlights-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	color: var(--ncp-text);
}

.ncp-highlight-check {
	color: var(--ncp-green);
	font-weight: 700;
	flex-shrink: 0;
}

.ncp-details-box {
	background: var(--ncp-cream);
	border-radius: var(--ncp-radius);
	padding: 24px;
}

.ncp-details-box h3 {
	margin: 0 0 16px;
	font-size: 18px;
	color: var(--ncp-navy);
}

.ncp-details-box ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.ncp-details-box li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ncp-border);
}

.ncp-details-box li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.ncp-details-label {
	color: var(--ncp-muted);
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.ncp-details-label .ncp-svg-icon {
	width: 18px;
	height: 18px;
	color: var(--ncp-green);
}

.ncp-details-value {
	color: var(--ncp-navy);
	font-weight: 600;
	text-align: right;
}

@media (max-width: 900px) {
	.ncp-overview-columns {
		grid-template-columns: 1fr;
	}
	.ncp-overview-title {
		font-size: 28px;
	}
}

/* -----------------------------------------------------------
   3. Gallery + Floor Plans
   ----------------------------------------------------------- */
.ncp-gallery-block {
	margin-bottom: 44px;
}

.ncp-block-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.ncp-block-header .ncp-section-heading {
	margin-bottom: 0;
}

.ncp-view-all-link {
	background: none;
	border: none;
	color: var(--ncp-green);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ncp-view-all-link:hover {
	text-decoration: underline;
}

.ncp-gallery-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	grid-template-rows: repeat(2, 1fr);
	gap: 14px;
	height: 420px;
}

.ncp-gallery-item {
	position: relative;
	display: block;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
}

.ncp-gallery-item.ncp-gallery-hero {
	grid-row: 1 / 3;
}

.ncp-gallery-item.ncp-hidden-slide {
	display: none;
}

.ncp-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.ncp-gallery-item:hover img {
	transform: scale(1.04);
}

.ncp-gallery-more-overlay {
	position: absolute;
	inset: 0;
	background: rgba(14, 36, 56, 0.6);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

@media (max-width: 900px) {
	.ncp-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
		height: auto;
	}
	.ncp-gallery-item {
		aspect-ratio: 4 / 3;
	}
	.ncp-gallery-item.ncp-gallery-hero {
		grid-row: auto;
		grid-column: 1 / 3;
	}
}

/* Floor plans */
.ncp-floorplans-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	background: #fff;
	border: 1px solid var(--ncp-border);
	border-radius: var(--ncp-radius);
	padding: 20px;
}

.ncp-floorplan-sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ncp-floorplan-description {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--ncp-muted);
}

.ncp-floorplan-tabs {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ncp-floorplan-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	text-align: left;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 14px;
	border-radius: 6px;
	border: 1px solid var(--ncp-border);
	background: var(--ncp-cream);
	color: var(--ncp-text);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ncp-floorplan-tab-icon {
	line-height: 1;
	flex-shrink: 0;
	display: inline-flex;
	color: var(--ncp-green);
}

.ncp-floorplan-tab-icon .ncp-svg-icon { width: 19px; height: 19px; }

.ncp-floorplan-tab.is-active .ncp-floorplan-tab-icon { color: #fff; }

.ncp-btn .ncp-svg-icon { width: 16px; height: 16px; }

.ncp-floorplan-tab.is-active {
	background: var(--ncp-green);
	color: #fff;
	border-color: var(--ncp-green);
}

.ncp-floorplan-viewer {
	position: relative;
	background: var(--ncp-cream);
	border-radius: 8px;
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ncp-floorplan-expand {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	min-width: 0;
	padding: 0;
	box-sizing: border-box;
	border-radius: 50%;
	border: none;
	background: var(--ncp-green);
	color: #fff;
	cursor: pointer;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 16px -4px rgba(70, 112, 47, .5);
	transition: background-color .2s ease, transform .2s ease;
}

.ncp-floorplan-expand:hover {
	background: var(--ncp-green-dark);
	transform: translateY(-1px);
}

.ncp-floorplan-expand .ncp-svg-icon { width: 18px; height: 18px; }

.ncp-floorplan-slide {
	display: none;
	width: 100%;
	height: 100%;
}

.ncp-floorplan-slide.is-active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ncp-floorplan-slide img {
	max-width: 100%;
	max-height: 340px;
	object-fit: contain;
}

/* Prev/next circular buttons — clean white disc, soft ring + shadow. */
.ncp-floorplan-nav,
.ncp-lightbox-close,
.ncp-lightbox-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	padding: 0;
	min-width: 0;
	box-sizing: border-box;
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ncp-floorplan-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	background: #fff;
	color: var(--ncp-navy);
	box-shadow: 0 4px 14px -2px rgba(14, 36, 56, .22);
}

.ncp-floorplan-nav:hover {
	background: var(--ncp-green);
	color: #fff;
	box-shadow: 0 8px 20px -4px rgba(70, 112, 47, .5);
}

.ncp-floorplan-nav:hover { transform: translateY(-50%) scale(1.06); }
.ncp-floorplan-nav .ncp-svg-icon { width: 20px; height: 20px; }

.ncp-floorplan-prev { left: 14px; }
.ncp-floorplan-next { right: 14px; }

@media (max-width: 700px) {
	.ncp-floorplans-layout {
		grid-template-columns: 1fr;
	}
	.ncp-floorplan-tabs {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

/* Lightbox */
.ncp-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(10, 20, 30, 0.92);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 40px;
}

.ncp-lightbox.is-open {
	display: flex;
}

.ncp-lightbox img {
	max-width: 90vw;
	max-height: 86vh;
	object-fit: contain;
	border-radius: 6px;
}

.ncp-lightbox-close,
.ncp-lightbox-nav {
	position: absolute;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	backdrop-filter: blur(2px);
}

.ncp-lightbox-close:hover,
.ncp-lightbox-nav:hover {
	background: var(--ncp-green);
}

.ncp-lightbox-close {
	top: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
}
.ncp-lightbox-close .ncp-svg-icon { width: 20px; height: 20px; }

.ncp-lightbox-nav {
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
}
.ncp-lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.ncp-lightbox-nav .ncp-svg-icon { width: 26px; height: 26px; }

.ncp-lightbox-prev { left: 24px; }
.ncp-lightbox-next { right: 24px; }

body.ncp-lightbox-open {
	overflow: hidden;
}

/* -----------------------------------------------------------
   Section heading + leaf divider
   ----------------------------------------------------------- */
.ncp-heading-wrap {
	margin-bottom: 22px;
}

.ncp-leaf-divider {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

.ncp-leaf-divider .ncp-svg-icon {
	width: 22px;
	height: 22px;
	color: var(--ncp-green);
	fill: var(--ncp-green);
	stroke: none;
}

.ncp-leaf-line {
	display: inline-block;
	width: 46px;
	height: 2px;
	border-radius: 2px;
	background: var(--ncp-green);
	opacity: .55;
}

.ncp-block-header .ncp-heading-wrap { margin-bottom: 0; }

/* -----------------------------------------------------------
   4. Testimonial
   ----------------------------------------------------------- */
.ncp-testimonial-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 32px;
	background: #fff;
	border: 1px solid var(--ncp-border);
	border-radius: var(--ncp-radius);
	padding: 34px 40px;
	box-shadow: 0 20px 50px -35px rgba(14, 36, 56, .4);
}

.ncp-testimonial-body {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	flex: 1;
}

.ncp-quote-mark {
	font-size: 60px;
	line-height: .8;
	color: var(--ncp-green);
	font-family: Georgia, "Times New Roman", serif;
	flex: 0 0 auto;
}

.ncp-testimonial-quote {
	font-size: 15.5px;
	color: var(--ncp-text);
	line-height: 1.75;
	margin: 6px 0 0;
}

.ncp-testimonial-author {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
	max-width: 300px;
}

.ncp-testimonial-avatar {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	object-fit: cover;
	order: 2;
}

.ncp-testimonial-meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-align: right;
	order: 1;
}

.ncp-testimonial-name {
	color: var(--ncp-navy);
	font-size: 15px;
}

.ncp-testimonial-role {
	font-size: 12.5px;
	color: var(--ncp-muted);
}

.ncp-stars {
	color: var(--ncp-green);
	font-size: 14px;
	letter-spacing: 2px;
}

@media (max-width: 720px) {
	.ncp-testimonial-card { flex-direction: column; align-items: flex-start; gap: 22px; }
	.ncp-testimonial-author { flex-direction: row-reverse; }
	.ncp-testimonial-meta { text-align: left; }
}

/* -----------------------------------------------------------
   CTA strip ("Have a similar project in mind?")
   ----------------------------------------------------------- */
.ncp-cta-outer {
	background: var(--ncp-cream);
	margin-top: 8px;
}

.ncp-cta-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px 40px;
	padding: 30px 24px;
}

.ncp-cta-lead {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 1;
	min-width: 260px;
}

.ncp-cta-icon {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(91, 140, 62, .12);
	color: var(--ncp-green);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ncp-cta-icon .ncp-svg-icon { width: 26px; height: 26px; }

.ncp-cta-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ncp-cta-text strong {
	font-size: 19px;
	color: var(--ncp-navy);
}

.ncp-cta-text span {
	font-size: 14px;
	color: var(--ncp-muted);
}

.ncp-cta-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.ncp-cta-phone {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--ncp-navy);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	padding: 13px 24px;
	border-radius: 8px;
	transition: background-color .2s ease;
}

.ncp-cta-phone:hover { background: #0a1a2b; }
.ncp-cta-phone .ncp-svg-icon { width: 18px; height: 18px; }

.ncp-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 1.5px solid var(--ncp-green);
	color: var(--ncp-green);
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.ncp-cta-button:hover {
	background: var(--ncp-green);
	color: #fff;
}

.ncp-cta-button .ncp-svg-icon { width: 17px; height: 17px; }

.ncp-editor-placeholder {
	padding: 20px;
	background: #fff7e6;
	border: 1px dashed #e0b04b;
	border-radius: 6px;
	color: #7a5b12;
	font-size: 13px;
}

/* -----------------------------------------------------------
   5. Specifications / Materials / Location tabbed widget
   ----------------------------------------------------------- */
.ncp-specs-widget {
	background: #fff;
	border: 1px solid var(--ncp-border);
	border-radius: var(--ncp-radius);
	overflow: hidden;
}

.ncp-specs-tabs {
	display: flex;
	flex-wrap: wrap;
	background: var(--ncp-cream);
	border-bottom: 1px solid var(--ncp-border);
}

.ncp-specs-tab {
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 16px 24px;
	border: none;
	border-bottom: 2px solid transparent;
	background: transparent;
	color: var(--ncp-muted);
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.ncp-specs-tab:hover {
	color: var(--ncp-navy);
}

.ncp-specs-tab.is-active {
	color: var(--ncp-green);
	border-bottom-color: var(--ncp-green);
	background: #fff;
}

.ncp-specs-panel {
	display: none;
	padding: 28px 30px;
}

.ncp-specs-panel.is-active {
	display: block;
}

.ncp-kv-list {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 40px;
}

.ncp-kv-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--ncp-border);
}

.ncp-kv-row dt {
	margin: 0;
	color: var(--ncp-muted);
	font-size: 14px;
}

.ncp-kv-row dd {
	margin: 0;
	color: var(--ncp-navy);
	font-weight: 600;
	font-size: 14px;
	text-align: right;
}

.ncp-location-address {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: var(--ncp-text);
	margin: 0 0 18px;
}

.ncp-map-embed {
	border-radius: 8px;
	overflow: hidden;
	line-height: 0;
}

.ncp-map-embed iframe {
	display: block;
	width: 100%;
}

@media (max-width: 700px) {
	.ncp-kv-list {
		grid-template-columns: 1fr;
	}
	.ncp-specs-panel {
		padding: 22px 18px;
	}
}

/* ===============================================================
 * Built-in single project template
 * =============================================================== */
.ncp-single {
	color: var(--ncp-text);
}

.ncp-container {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* ---- Split hero: content left, full-bleed feathered image right ---- */
.ncp-single-hero {
	position: relative;
	background: #fff;
	overflow: hidden;
	height: 480px;
}

.ncp-single-hero .ncp-hero-media {
	position: absolute;
	top: 0;
	right: 0;
	width: 60%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

/* Feather the left edge of the image so the white page dissolves smoothly
 * over the photo (matches the reference design). A wide, soft left-to-right
 * gradient reads as the page "melting" into the image. */
.ncp-single-hero .ncp-hero-media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		95deg,
		#fff 0%,
		#fff 7%,
		rgba(255, 255, 255, .65) 16%,
		rgba(255, 255, 255, .2) 25%,
		rgba(255, 255, 255, 0) 33%
	);
	pointer-events: none;
	z-index: 1;
}

/* Soft bottom fade so the image melts into the section below, plus a gentle
 * depth shadow beneath the photo. */
.ncp-single-hero .ncp-hero-media::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 22%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
	z-index: 1;
}

.ncp-single-hero .ncp-hero-photo-count {
	position: absolute;
	right: 18px;
	bottom: 18px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(14, 36, 56, .82);
	color: #fff;
	font-size: 12px;
	padding: 6px 12px;
	border-radius: 6px;
}

.ncp-single-hero .ncp-hero-photo-count .ncp-svg-icon {
	width: 15px;
	height: 15px;
}

.ncp-single-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 1180px;
	margin: 0 auto;
	padding: 36px 24px;
	height: 100%;
	min-height: 0;
	display: flex;
	align-items: center;
}

.ncp-hero-content {
	width: 48%;
	max-width: 560px;
}

.ncp-hero-content .ncp-breadcrumb {
	margin-bottom: 18px;
}

.ncp-hero-content .ncp-overview-title {
	margin: 8px 0 14px;
}

.ncp-hero-content .ncp-overview-lede {
	max-width: 440px;
}

@media (max-width: 900px) {
	.ncp-single-hero {
		height: auto;
	}
	.ncp-single-hero .ncp-hero-media {
		position: relative;
		width: 100%;
		height: 320px;
		order: -1;
	}
	.ncp-single-hero .ncp-hero-media::before {
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, #fff 100%);
	}
	.ncp-single-hero-inner {
		flex-direction: column;
		align-items: stretch;
		padding: 0 0 40px;
		min-height: 0;
	}
	.ncp-hero-content {
		width: auto;
		max-width: none;
		padding: 28px 24px 0;
	}
}

/* ---- Full-width sticky section nav ---- */
.ncp-section-nav-full {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #fff;
	border-top: 1px solid var(--ncp-border);
	border-bottom: 1px solid var(--ncp-border);
	margin-bottom: 40px;
}

.ncp-section-nav-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ncp-section-nav-full .ncp-section-nav-link {
	padding: 10px 20px;
	margin: 8px 2px;
	border-radius: 999px;
	border-bottom: none;
	transition: background-color .2s ease, color .2s ease;
}

.ncp-section-nav-full .ncp-section-nav-link.is-active {
	background: var(--ncp-green);
	color: #fff;
}

.ncp-section-nav-full .ncp-section-nav-link.is-active .ncp-svg-icon,
.ncp-section-nav-full .ncp-section-nav-link.is-active .ncp-nav-icon {
	color: #fff;
}

.ncp-section-nav-full .ncp-section-nav-link:not(.is-active):hover {
	background: rgba(91, 140, 62, .1);
	color: var(--ncp-green);
}

/* ---- Single body section rhythm ---- */
.ncp-single-body > .ncp-container,
.ncp-single-body > div > .ncp-section-heading {
	margin-bottom: 48px;
}

.ncp-single-body .ncp-gallery-floorplans,
.ncp-single-body .ncp-specs-widget,
.ncp-single-body .ncp-testimonial-wrap {
	margin-bottom: 56px;
}

/* ---------------------------------------------------------------
 * Full-width on boxed themes.
 * Rather than a fragile viewport-unit "full-bleed" hack on .ncp-single
 * (which a theme's container max-width can defeat, shifting the block
 * left instead of widening it), we force the THEME's content wrapper
 * itself to full width on project pages. Scoped to the project body
 * class and to #content only, so the site header/footer (which reuse
 * the same container class in Astra) stay intact. !important is used
 * deliberately to beat the theme's own container max-width rule.
 * --------------------------------------------------------------- */
.ncp-single-fullwidth #content .ast-container,
.ncp-single-fullwidth #content > .ast-container,
.ncp-single-fullwidth #content #primary,
.ncp-single-fullwidth #content .site-main,
.ncp-single-fullwidth #content .entry-content,
.ncp-single-fullwidth #content .content-area {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Belt-and-suspenders: make our own root fill whatever it sits in. */
.ncp-single {
	width: 100%;
	max-width: 100%;
}

/* Version-independent safety net: target the theme container that directly
 * wraps our project output using :has() — no body class or PHP needed. Any
 * container in #content that holds .ncp-single-project is forced full width.
 * Supported in all current browsers (Chrome/Edge/Brave 105+, Safari 15.4+,
 * Firefox 121+). */
#content .ast-container:has(> .ncp-single-project),
#content .ast-container:has(.ncp-single-project),
#content #primary:has(.ncp-single-project),
#content .site-main:has(.ncp-single-project),
#content .entry-content:has(.ncp-single-project) {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
