/* =============================================================================
   Single Post — matches Figma 670:6400 "Get Involved - Blog Details"
   Breadcrumb → Article header → Body → Tag chips → Related grid.
   ========================================================================== */

.jl-single {
	background: #fff;
	color: #404040;
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
}

/* ── Breadcrumb strip ──────────────────────────────────────────────────── */
.jl-single__breadcrumb {
	background: #fafafa;
	/* Top padding = fixed-header clearance (≈93px) + gap above breadcrumb text.
	   Bottom scales up on desktop so the strip breathes. */
	padding: calc(96px + clamp(20px, 2vw, 32px)) 32px clamp(20px, 2vw, 32px);
	display: flex;
	justify-content: center;
}

.jl-single__breadcrumb-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 0;
	margin: 0;
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-size: 14px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.jl-single__breadcrumb-list li { display: inline-flex; }

.jl-single__breadcrumb-list a {
	color: #737373;
	text-decoration: none;
	transition: color 0.2s ease;
}

.jl-single__breadcrumb-list a:hover,
.jl-single__breadcrumb-list a:focus-visible {
	color: #000;
}

.jl-single__breadcrumb-sep {
	color: #a3a3a3;
}

.jl-single__breadcrumb-current {
	color: #000;
}

/* ── Article header ────────────────────────────────────────────────────── */
.jl-single__article {
	padding: 0 32px;
}

.jl-single__header {
	max-width: 1110px; /* 1030px hero + 40px × 2 padding */
	margin: 0 auto;
	padding: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	text-align: center;
}

.jl-single__date {
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-size: 14px;
	line-height: 1.15;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #737373;
}

.jl-single__title {
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: clamp(2rem, 6vw, 3.75rem); /* 32 → 60 (hits max near ~1000px vw) */
	line-height: 1.25;
	letter-spacing: clamp(3px, 0.6vw, 6px);
	color: #000;
	margin: 0;
	max-width: 896px;
}

.jl-single__excerpt {
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: clamp(1.0625rem, 1.8vw, 1.25rem); /* 17 → 20 */
	line-height: 1.65;
	color: #525252;
	margin: 0;
	max-width: 90%;
}

.jl-single__hero {
	margin: 0;
	width: 100%;
	max-width: 1030px;
}

.jl-single__hero-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	object-fit: cover;
	aspect-ratio: 1030 / 629;
}

/* ── Byline + share row ────────────────────────────────────────────────── */
.jl-single__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: 100%;
	max-width: 960px;
}

.jl-single__author {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-align: left;
}

.jl-single__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.jl-single__author-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.jl-single__author-name {
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: #000;
}

.jl-single__author-role {
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 12px;
	color: #737373;
	margin-top: 2px;
}

.jl-single__byline-sep {
	display: inline-block;
	width: 1px;
	height: 32px;
	background: #d4d4d4;
}

.jl-single__share {
	display: inline-flex;
	align-items: center;
	gap: 16px;
}

.jl-single__share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: #525252;
	text-decoration: none;
	border-radius: 4px;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.jl-single__share-btn svg {
	width: 16px;
	height: 16px;
}

.jl-single__share-btn:hover,
.jl-single__share-btn:focus-visible {
	color: #000;
	background: #f5f5f5;
}

/* ── Article body ──────────────────────────────────────────────────────── */
.jl-single__content {
	max-width: 1512px;
	margin: 0 auto;
	padding: 0 20px 80px;
	width: 100%;
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: 18px;
	line-height: 30px;
	color: #404040;
}

@media (min-width: 768px)  { .jl-single__content { padding-inline: 48px;  } }
@media (min-width: 1024px) { .jl-single__content { padding-inline: 96px;  } }
@media (min-width: 1280px) { .jl-single__content { padding-inline: 160px; } }
@media (min-width: 1440px) { .jl-single__content { padding-inline: 240px; } }

.jl-single__content > * + * { margin-top: 30px; }

.jl-single__content p { margin: 0; }

.jl-single__content h2 {
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: 30px;
	line-height: 36px;
	letter-spacing: 3px;
	color: #000;
	margin: 30px 0 0;
}

.jl-single__content h3 {
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 22px;
	line-height: 30px;
	letter-spacing: 1.5px;
	color: #000;
	margin: 30px 0 0;
}

.jl-single__content a {
	color: var(--e-global-color-slate, #4b667c);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jl-single__content a:hover,
.jl-single__content a:focus-visible {
	text-decoration: none;
}

.jl-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.jl-single__content blockquote {
	background: #fafafa;
	border-left: 4px solid #000;
	border-radius: 8px;
	padding: 32px;
	margin: 0;
	font-style: italic;
	font-weight: 300;
	font-size: 20px;
	line-height: 1.6;
	color: #000;
}

.jl-single__content blockquote cite,
.jl-single__content blockquote footer {
	display: block;
	margin-top: 16px;
	font-size: 14px;
	font-style: italic;
	font-weight: 500;
	color: #525252;
}


.jl-single__content ul,
.jl-single__content ol {
	padding-left: 1.5em;
	margin: 0;
}

.jl-single__content li + li { margin-top: 8px; }

/* ── Tag chips ─────────────────────────────────────────────────────────── */
.jl-single__tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	padding: 40px;
}

.jl-single__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 1.8px;
	color: #404040;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.jl-single__tag:hover,
.jl-single__tag:focus-visible {
	border-color: #000;
	color: #000;
	background: #fafafa;
}

/* ── Related articles ──────────────────────────────────────────────────── */
.jl-single__related {
	background: rgba(75, 102, 124, 0.2);
	padding: 40px clamp(24px, 6vw, 80px);
}

.jl-single__related-inner {
	max-width: 1352px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.jl-single__related-heading {
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: clamp(1.75rem, 3vw, 2.25rem); /* 28 → 36 */
	line-height: 1.15;
	letter-spacing: clamp(3px, 0.4vw, 5.4px);
	text-align: center;
	color: #000;
	margin: 0;
}

.jl-single__related-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 24px;
}

@media (min-width: 768px) {
	.jl-single__related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

@media (min-width: 1024px) {
	.jl-single__related-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.jl-related-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.jl-related-card:hover,
.jl-related-card:focus-within {
	transform: translateY(-2px);
	border-color: #cbd5d8;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.jl-related-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.jl-related-card__media {
	display: block;
	aspect-ratio: 460 / 192;
	overflow: hidden;
	background: #f5f5f5;
}

.jl-related-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.jl-related-card:hover .jl-related-card__img,
.jl-related-card:focus-within .jl-related-card__img {
	transform: scale(1.04);
}

.jl-related-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
}

.jl-related-card__meta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-size: 12px;
	color: #737373;
}

.jl-related-card__pill {
	background: #f5f5f5;
	color: #404040;
	font-weight: 500;
	letter-spacing: 1.8px;
	padding: 4px 12px;
	border-radius: 4px;
	text-transform: uppercase;
}

.jl-related-card__title {
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: 20px;
	line-height: 28px;
	letter-spacing: 2px;
	color: #000;
}

.jl-related-card__excerpt {
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 23px;
	color: #525252;
}

.jl-related-card__cta {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Gotham Office', 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 1.8px;
	color: #000;
	text-transform: uppercase;
}

.jl-related-card__cta-arrow {
	transition: transform 0.2s ease;
}

.jl-related-card:hover .jl-related-card__cta-arrow,
.jl-related-card:focus-within .jl-related-card__cta-arrow {
	transform: translateX(3px);
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
	.jl-single__article {
		padding: 0 20px;
	}
	.jl-single__header {
		padding: 24px 0;
		gap: 20px;
	}
	.jl-single__content {
		padding: 0 20px 48px;
		font-size: 16px;
		line-height: 28px;
	}
	.jl-single__content h2 { font-size: 24px; line-height: 32px; letter-spacing: 2px; }
	.jl-single__content h3 { font-size: 18px; letter-spacing: 1px; }
	.jl-single__content blockquote { padding: 20px; font-size: 17px; }
	.jl-single__byline {
		flex-direction: column;
		gap: 16px;
	}
	.jl-single__byline-sep { display: none; }
	.jl-single__tags { padding: 24px 20px; }
}
