/* =============================================================================
   Single Resource Page — components/resources/single-resource.css
   BEM prefix: xceleration__
   Depends on: resources-archive.css (loaded first)
   ============================================================================= */


/* ── Article Content Wrapper ──────────────────────────────────────────────── */
.xceleration__single-content {
	background: #E9E7ED;
	padding: 40px 20px;
}

.xceleration__single-content-inner {
	max-width: 1160px;
	margin: 0 auto;
	font: normal normal normal 16px/28px Lato;
	color: #677584;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* Full-width modifier — no TOC sidebar */
.xceleration__single-content-inner--full {
	max-width: 1160px;
}

@media (min-width: 768px) {
	.xceleration__single-content {
		padding: 50px 32px;
	}

	.xceleration__single-content-inner {
		flex-direction: row;
		align-items: flex-start;
		gap: 50px;
	}

	/* Full-width stays single column */
	.xceleration__single-content-inner--full {
		flex-direction: column;
	}
}

@media (min-width: 1024px) {
	.xceleration__single-content {
		padding: 60px 40px;
	}
}


/* ── TOC Sidebar ──────────────────────────────────────────────────────────── */
.xceleration__wp-toc-wrap {
	flex-shrink: 0;
}

.xceleration__wp-toc-heading {
	font: normal normal normal 24px/28px Lato;
	letter-spacing: 0px;
	color: #677584 !important;
	text-transform: uppercase;
	margin: 0 0 20px;
}

.xceleration__wp-toc {
	background: #FFFFFF;
	border-radius: 15px;
	box-shadow: 0px 3px 20px #0000001A;
	padding: 30px;
	list-style: none;
	margin: 0;
}

.xceleration__wp-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.xceleration__wp-toc-item {
	padding: 8px 0;
	border-left: 3px solid transparent;
	padding-left: 15px;
}

.xceleration__wp-toc-item.is-active {
	border-left-color: #4192A5;
}

.xceleration__wp-toc-link {
	display: flex;
	font: normal normal normal 14px/16px Lato;
	letter-spacing: 0px;
	color: #303C42 !important;
	text-decoration: none !important;
	transition: color 0.15s;
}

.xceleration__wp-toc-item.is-active .xceleration__wp-toc-link {
	color: #4192A5 !important;
}

.xceleration__wp-toc-link:hover {
	color: #4192A5 !important;
}

/* Nested TOC items (sub-sections) */
.xceleration__wp-toc-item .xceleration__wp-toc-item,
.xceleration__wp-toc-item--indent {
	padding-left: 24px;
}

/* PDF download below TOC */
.xceleration__wp-pdf {
	margin-top: 24px;
	text-align: center;
}

@media (min-width: 768px) {
	.xceleration__cs-pdf-link {
		padding: 17px 45px !important;
	}
}

@media (min-width: 1024px) {
	.xceleration__wp-pdf {
		text-align: left;
	}

	.xceleration__cs-pdf-link {
		padding: 17px 24px !important;
	}
}

/* ── Mobile TOC toggle ────────────────────────────────────────────────────── */
.xceleration__wp-toc-heading {
	display: none;
}

.xceleration__toc-toggle {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100% !important;
	padding: 20px 24px !important;
	background: #FFFFFF !important;
	border: none !important;
	border-radius: 15px !important;
	box-shadow: 0px 3px 20px #0000001A;
	cursor: pointer !important;
	font: normal normal bold 14px/18px Lato !important;
	letter-spacing: 1.4px !important;
	color: #677584 !important;
	text-transform: uppercase !important;
	margin-bottom: 16px;
}

/* When expanded: merge toggle + TOC into one card */
.xceleration__toc-toggle[aria-expanded="true"] {
	border-radius: 15px 15px 0 0 !important;
	margin-bottom: 0;
	box-shadow: 0px 3px 20px #0000001A;
}

.xceleration__toc-chevron {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: #677584;
	transition: transform 0.25s ease;
}

.xceleration__toc-toggle[aria-expanded="true"] .xceleration__toc-chevron {
	transform: rotate(180deg);
}

/* TOC collapsed by default on mobile */
.xceleration__wp-toc {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	padding: 0 30px;
	transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
	margin-bottom: 0;
	border-radius: 0 0 15px 15px;
	box-shadow: none;
}

.xceleration__wp-toc.is-open {
	max-height: none;
	overflow: visible;
	height: auto;
	opacity: 1;
	padding: 30px;
	margin-bottom: 16px;
	box-shadow: 0px 3px 20px #0000001A;
}

@media (min-width: 768px) {
	.xceleration__wp-toc-heading {
		display: block;
	}

	.xceleration__toc-toggle {
		display: none !important;
	}

	.xceleration__wp-toc {
		max-height: none;
		overflow: visible;
		opacity: 1;
		padding: 30px;
		border-radius: 15px;
		box-shadow: 0px 3px 20px #0000001A;
	}

	.xceleration__wp-toc-wrap {
		flex: 0 0 268px;
		position: sticky;
		top: 100px;
		/* max-height: calc(100vh - 120px);
		overflow-y: auto; */
		height: auto;
		
	}
}

@media (min-width: 1024px) {
	.xceleration__wp-toc-wrap {
		flex: 0 0 353px;
	}
}


/* ── Article Body ─────────────────────────────────────────────────────────── */
.xceleration__wp-body {
	flex: 1;
	min-width: 0;
	font: normal normal normal 16px/28px Lato;
	color: #303C42;
}

.xceleration__wp-body h2,
.xceleration__wp-body h3,
.xceleration__wp-body h4 {
	color: #303C42 !important;
	margin: 32px 0 16px;
}

.xceleration__wp-body > :first-child h2,
.xceleration__wp-body > :first-child h3 {
	margin-top: 0;
}

.xceleration__wp-body h2 {
	font: normal normal normal 28px/34px Lato;
}

.xceleration__wp-body h3 {
	font: normal normal normal 22px/28px Lato;
}

.xceleration__wp-body h4 {
	font: normal normal normal 18px/24px Lato;
}

.xceleration__wp-body p {
	color: #303C42 !important;
	margin: 0 0 20px;
}

.xceleration__wp-body a {
	color: #4192A5;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.xceleration__wp-body a:hover {
	color: #2d7a8c;
}

.xceleration__wp-body ul,
.xceleration__wp-body ol {
	padding-left: 24px;
	margin: 0 0 20px;
}

.xceleration__wp-body li {
	margin-bottom: 8px;
}

.xceleration__wp-body img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.xceleration__wp-body blockquote {
	border-left: 3px solid #4192A5;
	padding: 12px 24px;
	margin: 24px 0;
	font-style: italic;
	color: #556677;
}


/* ── Share Section ────────────────────────────────────────────────────────── */
.xceleration__wp-share-heading {
	font: normal normal normal 24px/28px Lato;
	letter-spacing: 0px;
	color: #677584;
	text-transform: uppercase;
	margin: 32px 0 16px;
	text-align: center;
}

.xceleration__wp-share-icons {
	display: flex;
	gap: 12px;
	justify-content: center;
}

@media (min-width: 768px) {
	.xceleration__wp-share-heading {
		text-align: left;
	}

	.xceleration__wp-share-icons {
		justify-content: flex-start;
	}
}

.xceleration__wp-share-icons a,
.xceleration__wp-share-icons button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 46px !important;
	height: 46px !important;
	border-radius: 5px !important;
	background: #4192A5 !important;
	color: #FFFFFF !important;
	border: none !important;
	cursor: pointer !important;
	transition: background 0.2s !important;
	padding: 0 !important;
}

.xceleration__wp-share-icons a:hover,
.xceleration__wp-share-icons button:hover {
	background: #8BCDD0 !important;
}

.xceleration__wp-share-icons .xceleration__wp-share-linkedin svg {
	width: 18px;
	height: 18px;
}

.xceleration__wp-share-icons .xceleration__wp-share-email svg {
	width: 23px !important;
	height: 14px !important;
}

.xceleration__wp-share-icons .xceleration__wp-share-copy svg {
	width: 22px;
	height: 22px;
}


/* ── Featured Card Date (single pages) ────────────────────────────────────── */
.xceleration__featured-card-date {
	font: normal normal bold 14px/16px Lato;
	letter-spacing: 0.7px;
	color: #4192A5;
	text-align: left;
	text-transform: uppercase;
	margin: 0;
}


/* =============================================================================
   SHARED — PDF + Share + WYSIWYG
   ============================================================================= */

/* ── PDF Download Button ──────────────────────────────────────────────────── */
.xceleration__cs-pdf-link {
	display: inline-flex;
	align-items: center;
	font: normal normal normal 14px/16px Lato;
	letter-spacing: 0.7px;
	color: #FFFFFF !important;
	text-transform: uppercase;
	text-decoration: none !important;
	background: #4192A5;
	border: 1px solid #4192A5;
	border-radius: 26px;
	padding: 17px 24px;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.xceleration__cs-pdf-link:hover {
	background: #8BCDD0;
	border-color: #8BCDD0;
	color: #FFFFFF !important;
}

/* Filled variant (case study) */
.xceleration__cs-pdf-link--filled {
	background: #4192A5;
	color: #FFFFFF !important;
	border-color: #4192A5;
	justify-content: center;
	width: 100%;
	text-align: center;
}

.xceleration__cs-pdf-link--filled:hover {
	background: #2d7a8c;
	border-color: #2d7a8c;
}

/* ── Section (Goal, Their Success, Challenge, Solution) ───────────────────── */
.xceleration__cs-section-heading {
	font: normal normal normal 22px/26px Lato;
	letter-spacing: 0px;
	color: #303C42 !important;
	text-transform: uppercase;
	margin: 20px 0 40px;
}

@media (min-width: 768px) {
	.xceleration__cs-section-heading {
		margin: 0;
	}
}

.xceleration__wp-body .xceleration__wp-section:first-child .xceleration__cs-section-heading {
	margin-top: 0 !important;
}

/* Tighter spacing for Industry / Location / Participants subsections */
#industry,
#location,
#participants {
	margin: 0;
	padding: 0;
}

#industry h3,
#location h3,
#participants h3 {
	margin: 0 0 4px;
}

#industry p,
#location p,
#participants p {
	margin: 0 0 12px;
}

#participants p {
	margin-bottom: 0;
}

.xceleration__cs-goal-text {
	font: normal normal normal 16px/28px Lato;
	color: #677584;
	margin: 0;
}

/* ── WYSIWYG content (Their Success, Challenge, Solution) ─────────────────── */
.xceleration__cs-wysiwyg {
	font: normal normal normal 16px/28px Lato;
	color: #677584;
}

.xceleration__cs-wysiwyg p {
	margin: 0 0 16px;
}

.xceleration__cs-wysiwyg p:last-child {
	margin-bottom: 0;
}

.xceleration__cs-wysiwyg strong {
	color: #303C42;
}

.xceleration__cs-wysiwyg ul,
.xceleration__cs-wysiwyg ol {
	padding-left: 24px;
	margin: 0 0 16px;
}

.xceleration__cs-wysiwyg li {
	margin-bottom: 8px;
}

.xceleration__cs-wysiwyg a {
	color: #4192A5;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.xceleration__cs-wysiwyg a:hover {
	color: #2d7a8c;
}


/* ── Previous / Next Post Navigation ─────────────────────────────────────── */
.xceleration__post-nav {
	padding: 30px 0 0 0;
}

.xceleration__post-nav-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.xceleration__post-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font: normal normal normal 16px/20px Lato;
	letter-spacing: 1.6px;
	color: #4192A5 !important;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: color 0.2s;
}

.xceleration__post-nav-link:hover {
	color: #8BCDD0 !important;
}

.xceleration__post-nav-link svg {
	width: 40px;
	height: 16px;
	flex-shrink: 0;
}

.xceleration__post-nav-link--next {
	margin-left: auto;
}

