/* ==========================================================================
   Single Experience / Service – PlanBTheme
   ========================================================================== */

/* ── Reset overrides ── */
.single-experience #page.site.grid-container.container,
.single-service #page.site.grid-container.container {
	max-width: none;
}

.planb-single-post .site-content,
.planb-single-post .inside-article {
	padding: 0;
	margin: 0;
	max-width: none;
}

.planb-single-post .entry-content:not(:first-child) {
	margin-top: 0;
}

.planb-single-post {
	overflow-x: hidden;
}

/* ── Remove sidebar ── */
.single-experience #right-sidebar,
.single-experience #left-sidebar,
.single-service #right-sidebar,
.single-service #left-sidebar {
	display: none !important;
}

.single-experience .site-content,
.single-service .site-content {
	display: block !important;
}

/* ==========================================================================
   Section 1 – Post Header
   ========================================================================== */
.sp-post-header {
	background-color: #ffffff;
	padding-top: 120px;
	padding-bottom: 120px;
	padding-left: 5vw;
	padding-right: 5vw;
	position: relative;
	z-index: 10;
}

.sp-post-title {
	color: #000000;
	margin-top: 0;
	margin-bottom: 0;
	font-size: 120px;
	font-weight: 600;
	line-height: 1;
}

/* ==========================================================================
   Section 2 – Featured Image
   ========================================================================== */
.sp-featured-image-section {
	position: relative;
	z-index: 10;
	background-color: #f5f5f5;
}

.sp-featured-image {
	width: 100%;
	height: 100vh;
	object-fit: cover;
	display: inline-block;
	vertical-align: middle;
}

/* ==========================================================================
   Section 3 – Post Body (two-column)
   ========================================================================== */
.sp-post-body-section {
	width: 100%;
	background-color: #000000;
	color: #ffffff;
}

.sp-post-body-inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 80px 5vw;
}

.sp-post-body-grid {
	display: grid;
	grid-column-gap: 20px;
	grid-template-rows: auto;
	grid-template-columns: .75fr 1fr;
}

.sp-subtitle {
	text-transform: capitalize;
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 40px;
	font-weight: 600;
	line-height: 45px;
	color: #ffffff;
}

.sp-post-body-right {
	color: #ffffff;
}

.sp-post-body-right p {
	color: #ffffff;
}

.sp-post-body-right a {
	color: var(--accent, #e8a87c);
}

/* ==========================================================================
   Section 4 – Gallery Grid
   ========================================================================== */
.sp-gallery-grid {
	display: grid;
	grid-column-gap: 16px;
	grid-row-gap: 36px;
	grid-template-rows: auto auto;
	grid-template-columns: 1fr 1fr;
	grid-auto-columns: 1fr;
	margin-top: 60px;
}

.sp-gallery-image {
	object-fit: cover;
	border-radius: 20px;
	width: 100%;
	height: 65vh;
	vertical-align: middle;
	max-width: 100%;
	display: inline-block;
}

/* ==========================================================================
   Section 5 - Case Studies
   ========================================================================== */
.sp-case-studies {
	background: #ffffff;
	color: #111111;
	padding: 72px 3vw 80px;
}

.sp-case-studies-inner {
	max-width: 1800px;
	margin: 0 auto;
}

.sp-case-studies-heading {
	margin: 0 0 32px;
	color: #111111;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.15;
}

.sp-case-studies-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.sp-case-study {
	display: flex;
	min-width: 0;
	flex-direction: column;
	background: #151515;
	color: #ffffff;
}

.sp-case-study-client {
	margin: 0;
	padding: 24px 18px;
	background: #ff6500;
	color: #ffffff;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
}

.sp-case-study-copy {
	flex: 1;
	padding: 16px 20px 22px;
}

.sp-case-study-project {
	margin: 0 0 28px;
	color: #ffffff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.18;
	text-align: center;
}

.sp-case-study-copy p {
	margin: 0;
	color: #ffffff;
	font-size: 17px;
	line-height: 1.35;
}

.sp-case-study-media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #292929;
}

.sp-case-study-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==========================================================================
   Section 6 - View More Button
   ========================================================================== */
.sp-view-more-section {
	width: 100%;
	background-color: #000000;
	padding: 60px 5vw;
	text-align: center;
}

.sp-view-more-btn {
	text-transform: capitalize;
	border: 1px solid var(--accent-pink, #ff89a9);
	border-radius: 20px;
	padding: 15px 30px;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	display: inline-block;
	background-color: transparent;
	color: #ffffff;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.sp-view-more-btn:hover {
	background-color: var(--accent-pink, #ff89a9);
	color: #ffffff;
	text-decoration: none;
}

/* ==========================================================================
   Section 6 – CTA (Let's Get Started) — reuses front-page classes
   ========================================================================== */
.sp-cta {
	padding: 100px 5vw;
	text-align: center;
	background-color: #000000;
}

.sp-cta .cta-link {
	display: inline-flex;
	align-items: center;
	gap: 30px;
	text-decoration: none;
	color: #ffffff;
	transition: transform 0.3s ease;
}

.sp-cta .cta-link:hover {
	transform: scale(0.9);
	color: #ffffff;
	text-decoration: none;
}

.sp-cta .cta-text {
	font-size: 100px;
	font-weight: 400;
	line-height: 1.1;
	text-transform: capitalize;
}

.sp-cta .cta-btn {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: #ffffff;
	color: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.3s ease;
	transform: rotate(45deg);
	font-size: 35px;
}

.sp-cta .cta-link:hover .cta-btn {
	transform: rotate(0deg);
}

/* ==========================================================================
   Responsive – max-width: 990px
   ========================================================================== */
@media screen and (max-width: 990px) {
	.sp-case-studies-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sp-post-title {
		font-size: 50px;
		line-height: 55px;
	}

	.sp-subtitle {
		font-size: 30px;
		line-height: 35px;
	}

	.sp-cta .cta-text {
		font-size: 80px;
	}
}

/* ==========================================================================
   Responsive – max-width: 768px
   ========================================================================== */
@media screen and (max-width: 768px) {
	.sp-case-studies {
		padding: 52px 5vw 60px;
	}

	.sp-case-studies-heading {
		font-size: 30px;
	}

	.sp-featured-image {
		height: 55vh;
	}

	.sp-post-body-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.sp-cta .cta-text {
		font-size: 50px;
	}

	.sp-cta .cta-btn {
		width: 50px;
		height: 50px;
		font-size: 20px;
	}
}

/* ==========================================================================
   Responsive – max-width: 767px
   ========================================================================== */
@media screen and (max-width: 767px) {
	.sp-subtitle {
		font-size: 25px;
		line-height: 30px;
	}
}

/* ==========================================================================
   Responsive – max-width: 479px
   ========================================================================== */
@media screen and (max-width: 479px) {
	.sp-subtitle {
		font-size: 20px;
	}
}

/* ==========================================================================
   Responsive – max-width: 468px
   ========================================================================== */
@media screen and (max-width: 468px) {
	.sp-case-studies-grid {
		grid-template-columns: 1fr;
	}

	.sp-case-study-client {
		font-size: 25px;
	}

	.sp-gallery-grid {
		grid-template-columns: 1fr;
		margin-top: 40px;
	}
}

/* ==========================================================================
   Responsive – max-width: 480px
   ========================================================================== */
@media screen and (max-width: 480px) {
	.sp-cta .cta-text {
		font-size: 30px;
	}

	.sp-cta .cta-link {
		gap: 15px;
	}

	.sp-cta .cta-btn {
		width: 36px;
		height: 36px;
	}
}
