/* Projects Carousel
   -----------------
   Split two-column slide layout:
     Left column: kicker label, project name (big), location subtitle
       with horizontal line, content excerpt, label/value meta pairs
       (Starting at, Residences), CTA button.
     Right column: hero image with a decorative navy accent block
       behind the top-right corner. */

.pc-carousel {
	position: relative;
	padding: 4rem 4rem;
	overflow: hidden;
}

/* Slide */
.pc-slide {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 3rem;
	align-items: center;
	min-height: 500px;
}

/* -------------------------------------------------------------------------
   Left column — rich per-project content
   ------------------------------------------------------------------------- */

.pc-slide-left {
	position: relative;
	z-index: 12;
	padding: 2rem 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.pc-kicker {
	display: inline-block;
	font-size: 0.78rem;
	color: var(--pc-accent, #002349);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	margin: 0 0 1rem;
	opacity: 0.85;
}

.pc-project-title {
	font-family: var(--sir-font-serif);
	font-size: 2.5rem;
	font-weight: 400;
	color: var(--pc-accent, #002349);
	margin: 0 0 1rem;
	line-height: 1.15;
}

.pc-subtitle-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.5rem;
}

.pc-subtitle {
	font-size: 0.95rem;
	color: var(--pc-accent, #002349);
	min-width: 0;
}

.pc-subtitle-line {
	display: block;
	width: 60px;
	height: 1px;
	flex-shrink: 0;
	background: var(--pc-accent, #002349);
}

.pc-excerpt {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #444;
	margin: 0 0 1.75rem;
	max-width: 460px;
}

.pc-project-meta {
	display: flex;
	gap: 2.25rem;
	flex-wrap: wrap;
	margin: 0 0 2rem;
}

.pc-meta-item {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.3;
}

.pc-meta-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #888;
	margin-bottom: 0.25rem;
}

.pc-meta-value {
	font-size: 1.05rem;
	color: var(--pc-accent, #002349);
	font-weight: 600;
	letter-spacing: 0.01em;
}

.pc-button {
	display: inline-block;
	padding: 0.75rem 1.9rem;
	border: 1.5px solid var(--pc-accent, #002349);
	color: var(--pc-accent, #002349);
	text-decoration: none;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: background 0.2s, color 0.2s;
}

.pc-button:hover {
	background: var(--pc-accent, #002349);
	color: #fff;
}

/* -------------------------------------------------------------------------
   Right column — hero image with accent block
   ------------------------------------------------------------------------- */

.pc-slide-right {
	position: relative;
}

.pc-image-wrapper {
	display: block;
	position: relative;
	width: 100%;
	height: 640px;
	overflow: visible;
	cursor: pointer;
}

.pc-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	position: relative;
	z-index: 1;
}

.pc-image-placeholder {
	width: 100%;
	height: 100%;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 0.9rem;
	position: relative;
	z-index: 1;
}

/* Decorative dark navy block behind the top-right corner of the image */
.pc-accent-block {
	position: absolute;
	top: -20px;
	right: -20px;
	width: 120px;
	height: 200px;
	background: var(--pc-accent, #002349);
	z-index: 0;
}

/* -------------------------------------------------------------------------
   Navigation arrows
   ------------------------------------------------------------------------- */

.pc-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	color: var(--pc-accent, #002349);
	padding: 0.5rem;
	z-index: 10;
	transition: opacity 0.2s;
}

.pc-nav:hover {
	opacity: 0.6;
}

.pc-nav-prev {
	left: 0.5rem;
}

.pc-nav-next {
	right: 0.5rem;
}

.pc-nav.swiper-button-disabled {
	opacity: 0.2;
	cursor: default;
}

/* Swiper overrides */
.pc-swiper {
	overflow: hidden;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (min-width: 1200px) {
	.pc-slide-left {
		padding: 2rem 0 2rem 5rem;
	}
}

@media (max-width: 991px) {
	.pc-carousel {
		padding: 2rem 3rem;
	}

	.pc-slide {
		grid-template-columns: 1fr;
		gap: 2rem;
		min-height: auto;
	}

	.pc-image-wrapper {
		height: 520px;
	}

	.pc-slide-left {
		align-items: center;
		text-align: center;
		padding: 0;
	}

	.pc-subtitle-row,
	.pc-project-meta {
		justify-content: center;
	}

	.pc-excerpt {
		max-width: 100%;
	}

	.pc-project-title {
		font-size: 2rem;
	}

	.pc-accent-block {
		width: 80px;
		height: 140px;
		top: -15px;
		right: -15px;
	}
}

@media (max-width: 575px) {
	.pc-carousel {
		padding: 1.5rem 2.5rem;
	}

	.pc-image-wrapper {
		height: 360px;
	}

	.pc-project-title {
		font-size: 1.6rem;
	}

	.pc-kicker {
		font-size: 0.7rem;
	}

	.pc-project-meta {
		gap: 1.5rem;
	}

	.pc-meta-value {
		font-size: 0.95rem;
	}

	.pc-accent-block {
		width: 60px;
		height: 100px;
		top: -10px;
		right: -10px;
	}

	.pc-nav {
		display: none;
	}
}

/* ----------------------------------------------------------
   Elementor editor preview mode
   Only one slide is rendered server-side; lock the wrapper
   so it shows it without Swiper transforms.
   ---------------------------------------------------------- */
.pc-carousel.is-editor-preview .pc-swiper {
	overflow: hidden;
}

.pc-carousel.is-editor-preview .pc-swiper .swiper-wrapper {
	transform: none !important;
	width: 100%;
}

.pc-carousel.is-editor-preview .pc-swiper .swiper-slide {
	width: 100% !important;
}

.pc-carousel.is-editor-preview .pc-nav {
	display: none;
}
