/* Services directory (hub) and related-services module. See inc/internal-linking.php. */
.jd-il-directory,
.jd-il-related {
	background: #fff;
	color: #222222;
	font-family: 'Be Vietnam Pro', 'Lexend', system-ui, -apple-system, sans-serif;
	padding: 72px 0;
	width: 100%;
}
.jd-il-related {
	background: #f6f7f8;
	border-top: 1px solid #e6e8ea;
}
.jd-il-wrap {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 24px;
	width: 100%;
}
.jd-il-eyebrow {
	color: #4c5560;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	margin: 0 0 10px;
	text-transform: uppercase;
}
.jd-il-heading {
	color: #222222;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 32px;
}
.jd-il-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}
.jd-il-card {
	margin: 0;
	padding: 0;
}
.jd-il-card__link {
	background: #fff;
	border: 1px solid #e0e3e6;
	border-radius: 12px;
	box-sizing: border-box;
	color: #222222;
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	padding: 20px 22px;
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease;
}
.jd-il-card__link:hover,
.jd-il-card__link:focus-visible {
	border-color: #6FFF2C;
	color: #222222;
	transform: translateY(-2px);
}
.jd-il-card--child .jd-il-card__link {
	background: #fafbfb;
	border-style: dashed;
}
.jd-il-card--child .jd-il-card__title::before {
	content: "\2192\00a0";
	color: #4c5560;
}
.jd-il-card__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}
.jd-il-card__desc {
	color: #4c5560;
	font-size: 14px;
	line-height: 1.5;
}
.jd-il-all {
	font-size: 16px;
	margin: 28px 0 0;
}
.jd-il-all a {
	color: #222222;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (max-width: 600px) {
	.jd-il-directory,
	.jd-il-related {
		padding: 48px 0;
	}
	.jd-il-wrap {
		padding: 0 16px;
	}
}

/* Topic navigation on category archives */
.jd-il-topics {
	font-family: 'Be Vietnam Pro', 'Lexend', system-ui, -apple-system, sans-serif;
	padding: 8px 0 24px;
}
.jd-il-topics__eyebrow {
	color: #4c5560;
	font-size: 14px;
	margin: 0 0 12px;
}
.jd-il-topics__eyebrow a {
	color: #222222;
	font-weight: 600;
	text-decoration: underline;
}
.jd-il-topics__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.jd-il-topics__link {
	background: #fff;
	border: 1px solid #d9dde1;
	border-radius: 999px;
	color: #222222;
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 10px 14px;
	text-decoration: none;
}
.jd-il-topics__link:hover,
.jd-il-topics__link.is-current {
	border-color: #222222;
	color: #222222;
}
.jd-il-topics__link.is-current {
	background: #222222;
	color: #6FFF2C;
}
.jd-il-topics__count {
	color: #6b737d;
	font-weight: 400;
	margin-left: 4px;
}
.jd-il-topics__link.is-current .jd-il-topics__count {
	color: #cfd3d7;
}

/* Pagination on category archives */
.jd-il-pagination {
	font-family: 'Be Vietnam Pro', 'Lexend', system-ui, -apple-system, sans-serif;
	margin: 32px auto 8px;
	max-width: 1400px;
	padding: 0 4vw;
}
.jd-il-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.jd-il-pagination .page-numbers {
	border: 1px solid #d9dde1;
	border-radius: 8px;
	color: #222222;
	display: inline-block;
	font-size: 15px;
	font-weight: 600;
	min-width: 40px;
	padding: 9px 12px;
	text-align: center;
	text-decoration: none;
}
.jd-il-pagination .page-numbers.current {
	background: #222222;
	border-color: #222222;
	color: #6FFF2C;
}
.jd-il-pagination .page-numbers.dots {
	border-color: transparent;
}

/* "More on this topic" on single posts */
.jd-il-topic-links {
	background: #f6f7f8;
	border-top: 1px solid #e6e8ea;
	font-family: 'Be Vietnam Pro', 'Lexend', system-ui, -apple-system, sans-serif;
	padding: 56px 0;
}
.jd-il-topic-links .jd-il-heading a {
	color: #222222;
	text-decoration: none;
}
.jd-il-topic-links__list {
	columns: 2;
	column-gap: 32px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}
.jd-il-topic-links__list li {
	break-inside: avoid;
	margin: 0 0 12px;
}
.jd-il-topic-links__list a {
	color: #222222;
	font-size: 16px;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.jd-il-topic-links__foot {
	color: #4c5560;
	font-size: 15px;
	margin: 0;
}
.jd-il-topic-links__foot a {
	color: #222222;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.jd-il-topic-links__foot span {
	margin: 0 8px;
}
@media (max-width: 700px) {
	.jd-il-topic-links__list {
		columns: 1;
	}
}

/* Hub-to-service pointer on topic archives */
.jd-il-callout {
	font-family: 'Be Vietnam Pro', 'Lexend', system-ui, -apple-system, sans-serif;
	padding: 0 0 24px;
}
.jd-il-callout p {
	background: #f6f7f8;
	border-left: 4px solid #6FFF2C;
	border-radius: 8px;
	color: #222222;
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
	padding: 14px 18px;
}
.jd-il-callout a {
	color: #222222;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
