/* ===== Project title plate (all project pages) ===== */
/* Tinted panel behind the project name so it reads over any photo */
body.single-project .project-gallery-carousel .elementor-widget-heading .elementor-heading-title {
	display: inline-block;
	padding: 5px;
	text-indent: 5px; /* offsets the trailing letter-spacing so the name stays centred */
	background: rgba(216, 216, 210, 0.8); /* #d8d8d2 */
	color: #6d6e71;
}
/* Pagination squares sit 15px beneath the title plate */
.single-project .project-gallery-carousel .slick-dots {
	bottom: 57px;
}

/* ===== Projects with a story: allow the page to scroll ===== */
/* Overrides the site-wide `.single-project { overflow: hidden !important }` */
body.single-project.has-project-story {
	overflow: visible !important;
}

/* ===== Story copy ===== */
.vdc-story {
	background: #d8d8d1;
	color: #6d6e71;
	font-family: "Nunito Sans", sans-serif;
	-webkit-font-smoothing: antialiased;
}
.vdc-story__inner {
	max-width: 760px;
	margin: 0 auto;
	padding: 56px 24px 80px;
}
.vdc-story__inner > * {
	margin: 0 0 24px;
}
.vdc-story__inner > :last-child {
	margin-bottom: 0;
}
.vdc-story .vdc-story__inner h1 {
	font-family: inherit;
	font-size: 36px;
	font-weight: 400;
	line-height: 1.15;
	text-transform: none;
	letter-spacing: normal;
	color: inherit;
	margin-bottom: 40px;
}
.vdc-story .vdc-story__inner h2,
.vdc-story .vdc-story__inner h3,
.vdc-story .vdc-story__inner h4 {
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: normal;
	color: inherit;
	margin-top: 32px;
}
.vdc-story p,
.vdc-story li {
	font-size: 16px;
	line-height: 1.8;
	color: inherit;
}
.vdc-story a {
	color: #f37c2c;
}
/* Overrides the site-wide orange blockquote style */
.vdc-story blockquote {
	border-left: 2px solid #6d6e71 !important;
	padding-left: 20px;
	margin: 4px 0 24px !important;
	font-size: 18px;
	line-height: 1.7;
	font-style: italic !important;
}
.vdc-story blockquote p {
	font-size: inherit;
	line-height: inherit;
}

@media (max-width: 768px) {
	.vdc-story__inner {
		padding: 40px 20px 56px;
	}
	.vdc-story .vdc-story__inner h1 {
		font-size: 28px;
		margin-bottom: 28px;
	}
	.vdc-story .vdc-story__inner h2,
	.vdc-story .vdc-story__inner h3,
	.vdc-story .vdc-story__inner h4 {
		font-size: 20px;
	}

	/* Mobile gallery on story pages swipes horizontally (see JS), one full-height
	   slide at a time, so vertical swipes scroll the page down to the text. */
	.has-project-story .asc-gallery .slick-list,
	.has-project-story .asc-gallery .slick-track,
	.has-project-story .asc-gallery .slick-slide {
		height: 100% !important;
	}
	.has-project-story .project-gallery-carousel .slick-dots {
		display: none !important;
	}
	.has-project-story .asc-gallery .slick-slide {
		display: flex !important;
		align-items: center;
		justify-content: center;
	}
	.single-project.has-project-story .asc-gallery .asc-gallery__item img {
		width: 100%;
		height: 100%;
		max-height: none;
		padding: 0;
		object-fit: contain;
	}
}
