/* Shared structure for Search Logistics article templates. */

/*
 * This stylesheet is conditionally enqueued for the supported article
 * templates. Page Scroll to ID can write an inline `auto` value on the root
 * element, so keep native fragment navigation smooth on this shared surface.
 */
html {
	scroll-behavior: smooth !important;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto !important;
	}
}

.sl-article,
.sl-article * {
	box-sizing: border-box;
}

.sl-article {
	--sl-layout-max: 1488px;
	--sl-left-rail: 280px;
	--sl-content-max: 880px;
	--sl-right-rail: 240px;
	--sl-column-gap: 20px;
	--sl-outer-padding: 24px;
	--sl-sticky-offset: 16px;
	--sl-header-offset: 0px;
	--sl-hero-base-top-padding: 54px;
	--sl-card-radius: 16px;
	--sl-card-border: #e2e8f0;
	--sl-card-shadow: 0 1px 2px rgb(20 32 46 / 4%), 0 10px 30px rgb(20 32 46 / 7%);
	--sl-surface: #ffffff;
	--sl-muted: #5d6b7a;
	width: 100%;
	max-width: 100%;
	margin: 0;
	font-family: inherit;
}

.sl-article .sl-article__layout {
	display: grid;
	width: min(100%, var(--sl-layout-max));
	max-width: var(--sl-layout-max);
	margin: 0 auto;
	padding: 34px var(--sl-outer-padding) 70px;
	grid-template-columns: var(--sl-left-rail) minmax(0, var(--sl-content-max)) var(--sl-right-rail);
	gap: var(--sl-column-gap);
	justify-content: center;
	align-items: start;
}

.sl-article .sl-article__left-rail,
.sl-article .sl-article__middle,
.sl-article .sl-article__right-rail,
.sl-article .sl-article__content,
.sl-article .sl-article__post-content,
.sl-article .sl-article__comments,
.sl-article .sl-article__related-content {
	min-width: 0;
}

.sl-article .sl-article__middle {
	width: 100%;
	max-width: var(--sl-content-max);
}

.sl-article .sl-article__content,
.sl-article .sl-article__comments,
.sl-article .sl-article__related-content,
.sl-article .sl-article__right-rail-card,
.sl-article .sl-author-card,
.sl-article .sl-table-of-contents {
	background: var(--sl-surface);
	border: 1px solid var(--sl-card-border);
	border-radius: var(--sl-card-radius);
	box-shadow: var(--sl-card-shadow);
}

.sl-article .sl-article__post-content {
	min-width: 0;
	overflow-wrap: anywhere;
}

.sl-article .sl-article__post-content img {
	display: block;
	max-width: 100%;
	height: auto;
}

.sl-article .sl-article__post-content img.aligncenter {
	margin-right: auto;
	margin-left: auto;
}

.sl-article .sl-article__post-content img.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.sl-article .sl-article__post-content img.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.sl-article .sl-article__post-content figure {
	max-width: 100%;
	margin: 0 0 1.5rem;
	overflow: hidden;
}

.sl-article .sl-article__post-content figcaption {
	max-width: 100%;
	margin-top: 0.625rem;
	color: var(--sl-muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

.sl-article .sl-article__post-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
}

.sl-article .sl-article__post-content pre {
	max-width: 100%;
	overflow-x: auto;
	white-space: pre;
}

.sl-article .sl-article__post-content code {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.sl-article .sl-article__post-content pre code {
	white-space: inherit;
	overflow-wrap: normal;
}

.sl-article .sl-article__post-content iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 320px;
	aspect-ratio: 16 / 9;
	border: 0;
}

.sl-article .sl-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Protect the shared author popover from host-theme paragraph typography. */
.sl-article .sl-article-hero__author-name {
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
}

.sl-article .sl-article-hero__author-role {
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}

.sl-article .sl-article-hero__author-social {
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

.sl-article .sl-article-hero__author-description {
	font-size: 13.5px !important;
	line-height: 1.55 !important;
}

.sl-article .sl-article-hero__author-description p {
	margin: 0 0 10px !important;
	padding: 0 !important;
	font-size: 13.5px !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
}

.sl-article .sl-article-hero__author-description p:last-child {
	margin-bottom: 10px !important;
}

.sl-article .sl-article-hero__author-links a {
	font-size: 11.5px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}

.sl-article .sl-article__skip-link:focus {
	position: fixed;
	top: var(--sl-sticky-offset);
	left: var(--sl-sticky-offset);
	z-index: 10;
	width: auto;
	height: auto;
	padding: 8px 12px;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: var(--sl-surface);
	color: #101828;
	box-shadow: var(--sl-card-shadow);
}

/* Keep host-theme paragraph and Bootstrap rules out of all SL breadcrumbs. */
.sl-article .sl-article-hero__breadcrumbs {
	max-width: 100%;
	overflow-wrap: anywhere;
	font-size: 13px !important;
	line-height: 1.5 !important;
}

.sl-article .sl-article-hero__breadcrumbs :where(nav, p, ol, ul) {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-size: inherit !important;
	line-height: inherit !important;
	overflow-wrap: anywhere;
}

.sl-article .sl-article-hero__breadcrumbs :where(a, span, .separator) {
	font-size: inherit !important;
	line-height: inherit !important;
	overflow-wrap: anywhere;
}

.sl-article .sl-article-hero__breadcrumbs p {
	margin: 0 !important;
	padding: 0 !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

/* Add only the measured overlap, while retaining the template's compact mobile value. */
.sl-article .sl-article-hero {
	padding-top: calc(var(--sl-hero-base-top-padding) + var(--sl-header-offset)) !important;
}

.sl-article :where(h1, h2, h3)[id] {
	scroll-margin-top: calc(var(--sl-header-offset) + 24px) !important;
}

/* Shared comment compatibility layer for Standard, Review, and Case Study. */
.sl-article .sl-comments {
	--sl-comment-child-margin: 56px;
	--sl-comment-child-padding: 30px;
	margin-top: 34px;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--sl-standard-ink, var(--sl-case-study-ink, #253247));
	overflow-wrap: anywhere;
}

.sl-article .sl-comments .sl-section-bar {
	margin: 0 0 20px;
	padding: 15px 22px;
	border-radius: 11px;
	background: var(--sl-standard-navy, var(--sl-case-study-navy, #0a1a33));
	color: #ffffff;
}

.sl-article .sl-comments .sl-section-bar h2,
.sl-article .sl-comments .comments-title,
.sl-article .sl-comments .comment-reply-title,
.sl-article .sl-comments .comment-form > p,
.sl-article .sl-comments .comment-content,
.sl-article .sl-comments .comment-content p {
	padding: 0 !important;
}

.sl-article .sl-comments .sl-section-bar h2 {
	margin: 0 !important;
	color: #ffffff !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
}

.sl-article .sl-comments .sl-comments__inner {
	min-width: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	overflow-wrap: anywhere;
}

.sl-article .sl-comments .comments-title {
	margin: 0 0 20px !important;
	color: var(--sl-standard-ink-soft, var(--sl-case-study-ink-soft, #5d6b7a));
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
}

.sl-article .sl-comments .comment-list,
.sl-article .sl-comments .comment-list .children {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.sl-article .sl-comments .comment-list > .comment,
.sl-article .sl-comments .comment-list .children > .comment,
.sl-article #comments.sl-comments .comment-list li {
	margin: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}

.sl-article .sl-comments .comment-list > .comment {
	padding: 18px 0 !important;
	border-bottom: 1px solid var(--sl-standard-line, var(--sl-case-study-line, #e2e8f0));
}

.sl-article .sl-comments .comment-list > .comment:last-child {
	border-bottom: 0;
}

.sl-article .sl-comments .comment-list .children {
	margin-block-start: 14px !important;
	margin-inline-start: var(--sl-comment-child-margin) !important;
	padding-block: 0 !important;
	padding-inline-start: var(--sl-comment-child-padding) !important;
	border-inline-start: 1px solid var(--sl-standard-line, var(--sl-case-study-line, #e2e8f0));
}

.sl-article .sl-comments .comment-list .children > .comment {
	padding: 14px 0 !important;
}

.sl-article .sl-comments .comment-body,
.sl-article #comments.sl-comments .comment-list li .comment-body {
	display: grid !important;
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	position: relative;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	overflow-wrap: anywhere;
}

.sl-article .sl-comments .comment-meta,
.sl-article .sl-comments .comment-author,
.sl-article .sl-comments .comment-metadata,
.sl-article .sl-comments .comment-content,
.sl-article .sl-comments .reply,
.sl-article .sl-comments .sl-comment__main {
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	overflow-wrap: anywhere;
}

.sl-article .sl-comments .comment-author .fn {
	color: var(--sl-standard-navy, var(--sl-case-study-navy, #0a1a33));
	font-size: 15px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
}

.sl-article .sl-comments .comment-author .fn a {
	color: inherit;
	text-decoration: none;
}

.sl-article .sl-comments .comment-author .says {
	display: none !important;
}

.sl-article .sl-comments .comment-metadata {
	margin: 1px 0 8px !important;
	color: var(--sl-standard-ink-soft, var(--sl-case-study-ink-soft, #5d6b7a));
	font-size: 12.5px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
}

.sl-article .sl-comments .comment-metadata time {
	display: inline !important;
	visibility: visible !important;
}

.sl-article #comments.sl-comments .comment-metadata {
	float: none !important;
}

.sl-article #comments.sl-comments .comment-metadata time {
	display: inline !important;
	visibility: visible !important;
}

.sl-article .sl-comments .comment-metadata a {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	text-decoration: none;
}

.sl-article .sl-comments .comment-metadata .edit-link {
	display: inline;
	margin-left: 8px !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	white-space: nowrap;
}

.sl-article .sl-comments .comment-content {
	color: var(--sl-standard-ink, var(--sl-case-study-ink, #253247));
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
}

.sl-article .sl-comments .comment-content p {
	margin: 0 0 10px !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
}

.sl-article .sl-comments .comment-content p:last-child {
	margin-bottom: 0 !important;
}

.sl-article .sl-comments .comment-content a {
	color: var(--sl-standard-brand-ink, var(--sl-case-study-brand, #e80a7a));
	font-size: inherit;
	line-height: inherit;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.sl-article .sl-comments .reply {
	display: block;
	margin-top: 8px !important;
}

.sl-article .sl-comments .comment-reply-link,
.sl-article .sl-comments #cancel-comment-reply-link {
	display: inline-block;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--sl-standard-brand, var(--sl-case-study-brand, #e80a7a));
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-decoration: none;
}

.sl-article .sl-comments .comment-respond-wrap {
	margin-top: 30px;
}

.sl-article .sl-comments .comment-respond {
	width: 100%;
	max-width: 100%;
	padding: 26px !important;
	border: 1px solid var(--sl-standard-line, var(--sl-case-study-line, #e2e8f0)) !important;
	border-radius: 14px !important;
	background: #ffffff !important;
	box-shadow: var(--sl-card-shadow) !important;
}

.sl-article .sl-comments .comment-reply-title {
	margin: 0 0 4px !important;
	background: transparent !important;
	color: var(--sl-standard-navy, var(--sl-case-study-navy, #0a1a33));
	font-size: 20px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
}

.sl-article .sl-comments .comment-reply-title small {
	margin-left: 10px;
	font-size: 12px;
	font-weight: 500;
}

.sl-article .sl-comments .comment-notes,
.sl-article .sl-comments .logged-in-as,
.sl-article .sl-comments .must-log-in {
	margin: 0 0 18px !important;
	padding: 0 !important;
	color: var(--sl-standard-ink-soft, var(--sl-case-study-ink-soft, #5d6b7a));
	font-size: 13.5px !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
}

.sl-article .sl-comments .comment-form {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
}

.sl-article .sl-comments .comment-form > p {
	min-width: 0;
	margin: 0 !important;
}

.sl-article .sl-comments .comment-form .comment-notes,
.sl-article .sl-comments .comment-form .logged-in-as,
.sl-article .sl-comments .comment-form .must-log-in,
.sl-article .sl-comments .comment-form .comment-form-comment,
.sl-article .sl-comments .comment-form .comment-form-cookies-consent,
.sl-article .sl-comments .comment-form .form-submit {
	grid-column: 1 / -1;
}

.sl-article .sl-comments .comment-form-author,
.sl-article .sl-comments .comment-form-email,
.sl-article .sl-comments .comment-form-url {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.sl-article .sl-comments .comment-form label {
	display: block;
	margin-bottom: 6px !important;
	padding: 0 !important;
	color: var(--sl-standard-navy, var(--sl-case-study-navy, #0a1a33));
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
}

.sl-article .sl-comments .comment-form input:not([type="checkbox"]):not([type="submit"]),
.sl-article .sl-comments .comment-form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 1px solid var(--sl-standard-line, var(--sl-case-study-line, #e2e8f0)) !important;
	border-radius: 9px !important;
	background: var(--sl-standard-soft, var(--sl-case-study-soft, #f7f9fc)) !important;
	color: var(--sl-standard-ink, var(--sl-case-study-ink, #253247));
	font: inherit;
	font-size: 15px !important;
	line-height: 1.4 !important;
}

.sl-article .sl-comments .comment-form input:not([type="checkbox"]):not([type="submit"]) {
	height: 46px !important;
	padding: 10px 14px !important;
}

.sl-article .sl-comments .comment-form textarea {
	height: 130px !important;
	min-height: 130px !important;
	padding: 12px 14px !important;
	resize: vertical !important;
}

.sl-article .sl-comments .comment-form .form-submit {
	margin-top: 2px;
}

.sl-article .sl-comments .comment-form .submit,
.sl-article .sl-comments .comment-form .submit:hover,
.sl-article .sl-comments .comment-form .submit:focus,
.sl-article .sl-comments .comment-form .submit:active,
.sl-article #comments.sl-comments .comment-form .submit,
.sl-article #comments.sl-comments .comment-form .submit:hover,
.sl-article #comments.sl-comments .comment-form .submit:focus,
.sl-article #comments.sl-comments .comment-form .submit:active {
	display: inline-block;
	width: auto;
	max-width: 100%;
	padding: 13px 30px !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: var(--sl-standard-brand, var(--sl-case-study-brand, #e80a7a)) !important;
	box-shadow: none !important;
	color: #ffffff !important;
	cursor: pointer;
	font: inherit;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.sl-article .sl-comments .comment-form .submit:hover {
	filter: brightness(1.05);
}

.sl-article .sl-comments :where(a, button, input, textarea):focus-visible {
	outline: 3px solid var(--sl-standard-brand, var(--sl-case-study-brand, #e80a7a));
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.sl-article .sl-comments {
		--sl-comment-child-margin: 40px;
		--sl-comment-child-padding: 24px;
	}
}

@media (max-width: 680px) {
	.sl-article .sl-comments {
		--sl-comment-child-margin: 20px;
		--sl-comment-child-padding: 16px;
	}

	.sl-article .sl-comments .comment-form {
		grid-template-columns: 1fr;
	}

	.sl-article .sl-comments .comment-form .comment-form-author,
	.sl-article .sl-comments .comment-form .comment-form-email,
	.sl-article .sl-comments .comment-form .comment-form-url,
	.sl-article .sl-comments .comment-form .comment-notes,
	.sl-article .sl-comments .comment-form .logged-in-as,
	.sl-article .sl-comments .comment-form .must-log-in,
	.sl-article .sl-comments .comment-form .comment-form-comment,
	.sl-article .sl-comments .comment-form .comment-form-cookies-consent,
	.sl-article .sl-comments .comment-form .form-submit {
		grid-column: 1;
	}

	.sl-article .sl-comments .comment-respond {
		padding: 20px !important;
	}
}

@media (max-width: 560px) {
	.sl-article {
		--sl-hero-base-top-padding: 42px;
	}
}

@media (max-width: 390px) {
	.sl-article .sl-comments {
		--sl-comment-child-margin: 10px;
		--sl-comment-child-padding: 12px;
	}
}

@media (max-width: 680px) {
	.sl-article .sl-article__post-content img.alignleft,
	.sl-article .sl-article__post-content img.alignright {
		float: none;
		margin-right: auto;
		margin-left: auto;
	}

	.sl-article .sl-article__post-content iframe {
		min-height: 220px;
	}
}

/* Final shared alignment guards for host-theme link and heading defaults. */
.sl-article .sl-article-hero__breadcrumbs a,
.sl-article .sl-article-hero__breadcrumbs a:visited {
	background: transparent !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: #9fb1cc !important;
	text-decoration: none !important;
}

.sl-article .sl-article-hero__breadcrumbs a:hover,
.sl-article .sl-article-hero__breadcrumbs a:focus-visible {
	background: transparent !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: #ffffff !important;
	text-decoration-line: underline !important;
	text-decoration-color: #ffffff !important;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.sl-article .sl-article-hero__title {
	margin: 0 auto !important;
	padding: 0 !important;
}

.sl-article .sl-article-hero__rule {
	display: block;
	width: 64px !important;
	height: 3px !important;
	margin: 18px auto !important;
}

/* Ordinary biography links stay navy; social and footer/action links stay separate. */
.sl-article .sl-article-hero__author-popover .sl-article-hero__popover-card p a,
.sl-article .sl-article-hero__author-popover .sl-article-hero__popover-card p a:visited {
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: var(--sl-standard-navy, var(--sl-case-study-navy, #14294f)) !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
	text-decoration-color: currentColor;
}

.sl-article .sl-article-hero__author-popover .sl-article-hero__popover-card p a:hover,
.sl-article .sl-article-hero__author-popover .sl-article-hero__popover-card p a:focus-visible {
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: var(--sl-standard-navy, var(--sl-case-study-navy, #14294f)) !important;
	text-decoration: underline !important;
}

/* Keep the prototype comment hierarchy legible after host-theme overrides. */
.sl-article #comments.sl-comments .sl-comment__author .fn,
.sl-article #comments.sl-comments .sl-comment__author .fn a {
	color: var(--sl-standard-navy, var(--sl-case-study-navy, #14294f)) !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
}

/* Keep native comment metadata on its own row below the author name. */
.sl-article #comments.sl-comments .comment-meta {
	display: block !important;
}

.sl-article #comments.sl-comments .comment-meta > .comment-author,
.sl-article #comments.sl-comments .comment-meta > .comment-metadata {
	display: block !important;
	width: 100%;
}

/* Match the approved metadata contrast without recolouring other comment links. */
.sl-article #comments.sl-comments .comment-metadata {
	color: #555;
}

.sl-article #comments.sl-comments .comment-metadata a {
	color: #555 !important;
}

.sl-article #comments.sl-comments .sl-comment__reply .comment-reply-link,
.sl-article #comments.sl-comments .comment-reply-link {
	background: transparent !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: var(--sl-standard-brand, var(--sl-case-study-brand, #e80a7a)) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-decoration: none !important;
}

.sl-article #comments.sl-comments .sl-comment__reply .comment-reply-link:hover,
.sl-article #comments.sl-comments .sl-comment__reply .comment-reply-link:focus-visible,
.sl-article #comments.sl-comments .comment-reply-link:hover,
.sl-article #comments.sl-comments .comment-reply-link:focus-visible {
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: var(--sl-standard-brand, var(--sl-case-study-brand, #e80a7a)) !important;
	text-decoration: underline !important;
	text-underline-offset: 0.16em;
}

.sl-article #comments.sl-comments .comment-metadata .edit-link,
.sl-article #comments.sl-comments .comment-metadata .edit-link a,
.sl-article #comments.sl-comments .comment-edit-link {
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: var(--sl-standard-navy, var(--sl-case-study-navy, #14294f)) !important;
	font-size: 12.5px !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
	text-decoration: none !important;
}

.sl-article #comments.sl-comments .comment-metadata .edit-link:hover,
.sl-article #comments.sl-comments .comment-metadata .edit-link a:hover,
.sl-article #comments.sl-comments .comment-edit-link:hover {
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: var(--sl-standard-navy, var(--sl-case-study-navy, #14294f)) !important;
	text-decoration: underline !important;
	text-underline-offset: 0.16em;
}

.sl-article .sl-comments .comment-form label.sl-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.sl-article #comments.sl-comments .comment-form input:not([type="checkbox"]):not([type="submit"])::placeholder,
.sl-article #comments.sl-comments .comment-form textarea::placeholder {
	color: var(--sl-standard-ink-soft, var(--sl-case-study-ink-soft, #5d6b7a)) !important;
	opacity: 1 !important;
}

/* The details element is the single TOC surface; its children cannot paint past it. */
.sl-article .sl-table-of-contents,
.sl-article .sl-toc-disclosure {
	position: relative;
	overflow: hidden !important;
	background: #ffffff !important;
	border-radius: 14px !important;
	isolation: isolate;
}

.sl-article .sl-table-of-contents > nav,
.sl-article .sl-toc-disclosure > nav {
	background: #ffffff !important;
}

.sl-article .sl-article__layout,
.sl-article .sl-article__left-rail,
.sl-article .sl-article__toc-sticky {
	background: transparent !important;
}

.sl-article .sl-table-of-contents,
.sl-article .sl-toc-disclosure {
	border: 1px solid var(--sl-card-border) !important;
	box-shadow: var(--sl-card-shadow) !important;
}

/* Final shared author-link/icon guards. Keep host-theme SVG paint rules out of
 * the compact social controls and keep the update author link same-tab. */
.sl-article .sl-article-hero__author-social {
	background: #141414 !important;
	color: #ffffff !important;
	text-decoration: none !important;
}

.sl-article .sl-article-hero__author-social svg {
	display: block;
	width: 15px;
	height: 15px;
	color: #ffffff !important;
	fill: currentColor !important;
	stroke: none !important;
}

.sl-article .sl-article-hero__author-social:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

.sl-article .sl-article-hero__author-links a,
.sl-article .sl-article-hero__author-links a:visited {
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: var(--sl-standard-brand, var(--sl-case-study-brand, #e80a7a)) !important;
	text-decoration: none !important;
}

.sl-article .sl-article-hero__author-links a:hover,
.sl-article .sl-article-hero__author-links a:focus-visible {
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: var(--sl-standard-brand, var(--sl-case-study-brand, #e80a7a)) !important;
	text-decoration-line: underline !important;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.sl-article .sl-article-hero__update-popover .sl-article-hero__update-author-link,
.sl-article .sl-article-hero__update-popover .sl-article-hero__update-author-link:visited {
	border-bottom: 0;
	box-shadow: none;
	color: #2f6fe0;
	font-weight: 700;
	text-decoration: none;
}

.sl-article .sl-article-hero__update-popover .sl-article-hero__update-author-link:hover,
.sl-article .sl-article-hero__update-popover .sl-article-hero__update-author-link:focus-visible {
	border-bottom: 0;
	box-shadow: none;
	color: #2f6fe0;
	text-decoration-line: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

/* ---------- Supported article-flow rhythm ----------
 *
 * The host theme keeps the compatibility classes on these templates. Its
 * `.wordpress_rightbar #postcontains p` rule uses an ID, `!important`, and a
 * 22px font size, so the reset must use the real wrapper and an equal-or-
 * greater specificity. Component descendants are deliberately excluded;
 * their own CSS or legacy wrapper owns their internal spacing.
 */
#postcontains.sl-article__post-content {
	--sl-article-prose-size: 18px;
}

#postcontains.sl-article__post-content p:not(:where(
	.sl-ec-component,
	.sl-ec-component *,
	.wps-shortcode-wrapper,
	.wps-shortcode-wrapper *,
	.cmccont,
	.cmccont *
)),
#postcontains.sl-article__post-content blockquote > p:not(:where(
	.sl-ec-component,
	.sl-ec-component *,
	.wps-shortcode-wrapper,
	.wps-shortcode-wrapper *,
	.cmccont,
	.cmccont *
)) {
	margin: 0 0 18px;
	padding: 0 !important;
	font-size: var(--sl-article-prose-size) !important;
	line-height: 1.7 !important;
}

#postcontains.sl-article__post-content > p:last-child {
	margin-bottom: 0;
}

#postcontains.sl-article__post-content blockquote > p:last-child {
	margin-bottom: 0;
}

#postcontains.sl-article__post-content ul:not(:where(
	.sl-ec-component,
	.sl-ec-component *,
	.wps-shortcode-wrapper,
	.wps-shortcode-wrapper *,
	.cmccont,
	.cmccont *
)),
#postcontains.sl-article__post-content ol:not(:where(
	.sl-ec-component,
	.sl-ec-component *,
	.wps-shortcode-wrapper,
	.wps-shortcode-wrapper *,
	.cmccont,
	.cmccont *
)) {
	margin: 0 0 18px;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0 !important;
	padding-left: 1.5rem !important;
}

#postcontains.sl-article__post-content li:not(:where(
	.sl-ec-component,
	.sl-ec-component *,
	.wps-shortcode-wrapper,
	.wps-shortcode-wrapper *,
	.cmccont,
	.cmccont *
)) {
	margin-bottom: 9px !important;
	padding-bottom: 0 !important;
}

#postcontains.sl-article__post-content li:not(:where(
	.sl-ec-component,
	.sl-ec-component *,
	.wps-shortcode-wrapper,
	.wps-shortcode-wrapper *,
	.cmccont,
	.cmccont *
)) {
	font-size: var(--sl-article-prose-size) !important;
	line-height: 1.7 !important;
}

#postcontains.sl-article__post-content em:not(:where(
	.sl-ec-component,
	.sl-ec-component *,
	.wps-shortcode-wrapper,
	.wps-shortcode-wrapper *,
	.cmccont,
	.cmccont *
)) {
	font-size: inherit !important;
}

#postcontains.sl-article__post-content li:not(:where(
	.sl-ec-component,
	.sl-ec-component *,
	.wps-shortcode-wrapper,
	.wps-shortcode-wrapper *,
	.cmccont,
	.cmccont *
)):last-child {
	margin-bottom: 0 !important;
}

#postcontains.sl-article__post-content :is(h4, h5, h6):not(:where(
	.sl-ec-component,
	.sl-ec-component *,
	.wps-shortcode-wrapper,
	.wps-shortcode-wrapper *,
	.cmccont,
	.cmccont *
)) {
	padding: 0 !important;
}

#postcontains.sl-article__post-content table:not(:where(
	.sl-ec-component,
	.sl-ec-component *,
	.wps-shortcode-wrapper,
	.wps-shortcode-wrapper *,
	.cmccont,
	.cmccont *
)) {
	margin: 0 0 22px;
}

/* Preserve the legacy WPS double-button separator's unbroken label without
 * allowing the article-flow prose rule to own this UI element. */
.sl-article #postcontains.sl-article__post-content > #wps-double-btn.wps-description-exists > span {
	overflow-wrap: normal;
}

/* Match WPS's mobile 30px separator breakpoint while keeping its desktop and
 * tablet typography inherited from the original component. */
@media (max-width: 560px) {
	.sl-article #postcontains.sl-article__post-content > #wps-double-btn.wps-description-exists > span {
		font-size: 14px;
	}
}

/* Legacy WPS article-content typography compatibility. */
:is(.sl-article--standard, .sl-article--review, .sl-article--case-study)
#postcontains.sl-article__post-content
.wps-shortcode-wrapper.wps-list > ul > li,
:is(.sl-article--standard, .sl-article--review, .sl-article--case-study)
#postcontains.sl-article__post-content
.wps-shortcode-wrapper.wps-list > ul > li :is(strong, em) {
	/* The legacy #postcontains li/strong/em rules use !important. */
	font-size: 18px !important;
}

:is(.sl-article--standard, .sl-article--review, .sl-article--case-study)
#postcontains.sl-article__post-content
.wps-shortcode-wrapper.wps-highlight {
	font-size: 18px;
}

:is(.sl-article--standard, .sl-article--review, .sl-article--case-study)
#postcontains.sl-article__post-content
.wps-shortcode-wrapper.wps-highlight :is(strong, em) {
	/* The legacy WPS strong/em rules use !important. */
	font-size: 18px !important;
}

/* Reuse the Case Study testimonial .cs-arrow artwork treatment in the shared rail. */
.sl-article .sl-right-slider__arrow > span {
	display: block;
	font-family: inherit;
	font-size: 22px;
	font-weight: 300;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	transform: translateY(-1px);
}
