/*
Theme Name:   Hello Elementor Child
Description:  The Smoothire 2026 blog. Article template (breadcrumbs, byline, contents rail, share, author, previous and next, related articles, call to action) and the blog listing drawn by the Smoothire Blog plugin's Gutenberg blocks. Indigo accent, Schibsted Grotesk over Instrument Sans.
Author:       Smoothire
Template:     hello-elementor
Version:      2.1.0
Requires PHP: 7.4
Text Domain:  hello-elementor-child
*/

/* =========================================================================
 * Design tokens.
 *
 * Every value below is lifted from the Smoothire 2026 blocks — SBP is
 * single-blog-post/src/single-blog-post/style.scss, which is the site's own
 * article design, and HDR/FTR are the header and footer regions inside it.
 * No colour literal appears anywhere after this block.
 *
 * Declared on :root rather than on a wrapper because the page shell rules
 * below target <html> and <body>, which sit above any wrapper. The stylesheet
 * is only enqueued on single posts and the blog listings, so nothing leaks
 * onto pages the theme does not draw.
 * ====================================================================== */

:root {
	/* surfaces */
	--shc-page: #ffffff;             /* SBP .sh-blog background */
	--shc-card: #ffffff;             /* SBP toc / card / comment background */
	--shc-surface: #f6f7fb;          /* SBP --sh-surface */
	--shc-placeholder: #f6f7fb;      /* SBP card media background, empty state */

	/* ink */
	--shc-ink: #17163f;              /* SBP --sh-ink, headings */
	--shc-ink-deep: #161543;         /* SBP --sh-ink-deep, footer + code block */
	--shc-body: #3d4657;             /* SBP --sh-body, prose */
	--shc-muted: #66708a;            /* SBP --sh-muted, meta */
	--shc-muted-soft: #8a93a6;       /* SBP --sh-muted-soft, tertiary meta */

	/* lines */
	--shc-border: #e3e7ef;           /* SBP --sh-border */
	--shc-border-strong: #c9d0dd;    /* SBP --sh-border-strong */

	/* accent */
	--shc-primary: #4540dc;          /* SBP --sh-primary */
	--shc-primary-dark: #3733b0;     /* SBP --sh-primary-dark */
	--shc-primary-tint: #edecfb;     /* SBP --sh-primary-tint */
	--shc-primary-tint-hi: #e3e1fa;  /* SBP badge hover */
	--shc-primary-line: rgba(69, 64, 220, 0.35); /* SBP prose underline */
	--shc-primary-ring: rgba(69, 64, 220, 0.14); /* SBP input focus ring */

	/* footer, the one dark region in the design */
	--shc-dark-border: #363275;      /* FTR --sh-dark-border */
	--shc-dark-text: #a6adbf;        /* FTR --sh-dark-text */
	--shc-dark-faint: #8a8fb0;       /* FTR --sh-dark-faint */
	--shc-dark-bright: #e8ebf2;      /* FTR --sh-dark-bright */

	/* callout accents */
	--shc-success: #0e8a5f;          /* SBP --sh-success */
	--shc-success-bg: #eefaf4;       /* SBP is-style-success */
	--shc-success-line: #cbeada;
	--shc-success-ink: #0b5f43;
	--shc-warning: #d97706;          /* SBP is-style-warning */
	--shc-warning-bg: #fff8ed;
	--shc-warning-line: #f6e2c3;
	--shc-warning-ink: #7c4a06;
	--shc-info-line: #ddd8f5;        /* SBP is-style-info */
	--shc-info-ink: #2f2b6b;

	/* effects */
	--shc-shadow-hair: 0 1px 2px rgba(22, 21, 67, 0.05);                                   /* SBP toc / card */
	--shc-shadow-card: 0 1px 2px rgba(22, 21, 67, 0.05), 0 12px 32px rgba(22, 21, 67, 0.09); /* SBP --sh-shadow-card */
	--shc-shadow-lift: 0 1px 2px rgba(22, 21, 67, 0.06), 0 16px 40px rgba(22, 21, 67, 0.12); /* SBP --sh-shadow-lift */
	--shc-shadow-media: 0 1px 2px rgba(22, 21, 67, 0.05), 0 12px 32px rgba(22, 21, 67, 0.09), 0 32px 80px rgba(22, 21, 67, 0.1); /* SBP hero image */
	--shc-shadow-btn: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 2px 6px rgba(69, 64, 220, 0.28), 0 8px 24px rgba(69, 64, 220, 0.18); /* SBP primary button */
	--shc-shadow-ink: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(22, 21, 67, 0.16); /* SBP ink button */
	--shc-glow: radial-gradient(ellipse at center, rgba(69, 64, 220, 0.07), transparent 62%);    /* SBP hero glow */
	--shc-chrome-blur: rgba(255, 255, 255, 0.88);  /* SBP sticky header */

	/* -------------------------------------------------------------------
	 * Premium layer.
	 *
	 * Nothing new enters the design here. The four colours below are the
	 * accent and the ink above pushed one step lighter or deeper, which is
	 * all a flat colour needs to be drawn as a gradient, and everything
	 * after them is composed from tokens that already existed.
	 * ---------------------------------------------------------------- */

	--shc-primary-lift: #5a56e6;     /* --shc-primary, lightened: gradient head */
	--shc-primary-deep: #302c9e;     /* --shc-primary-dark, deepened: gradient foot */
	--shc-ink-mid: #1d1b52;          /* --shc-ink-deep, lifted: dark panel head */
	--shc-ink-well: #100f34;         /* --shc-ink-deep, deepened: dark panel foot */

	/* gradients */
	--shc-grad-primary: linear-gradient(135deg, var(--shc-primary-lift), var(--shc-primary) 52%, var(--shc-primary-dark));
	--shc-grad-primary-hi: linear-gradient(135deg, var(--shc-primary), var(--shc-primary-dark) 54%, var(--shc-primary-deep));
	--shc-grad-ink: linear-gradient(150deg, var(--shc-ink-mid), var(--shc-ink-deep) 52%, var(--shc-ink-well));
	--shc-grad-tint: linear-gradient(160deg, var(--shc-primary-tint), var(--shc-card) 86%);
	--shc-grad-surface: linear-gradient(170deg, var(--shc-surface), var(--shc-card) 72%);
	--shc-grad-rule: linear-gradient(90deg, transparent, var(--shc-border-strong) 18%, var(--shc-border-strong) 82%, transparent);
	--shc-grad-sheen: linear-gradient(100deg, transparent 26%, rgba(255, 255, 255, 0.26) 50%, transparent 74%);
	--shc-grad-veil: linear-gradient(180deg, rgba(22, 21, 67, 0) 58%, rgba(22, 21, 67, 0.18));

	/* the hero wash, drawn as two offset lobes rather than one centred ellipse */
	--shc-halo:
		radial-gradient(760px 400px at 20% -12%, rgba(69, 64, 220, 0.10), transparent 68%),
		radial-gradient(640px 360px at 84% 4%, rgba(69, 64, 220, 0.07), transparent 70%);

	/* the same wash for the dark CTA panel, where it has to carry over ink */
	--shc-halo-dark:
		radial-gradient(460px 260px at 26% 0%, rgba(90, 86, 230, 0.5), transparent 68%),
		radial-gradient(420px 240px at 78% 12%, rgba(69, 64, 220, 0.34), transparent 70%);

	/* extra depth */
	--shc-shadow-float: 0 2px 4px rgba(22, 21, 67, 0.05), 0 22px 48px rgba(22, 21, 67, 0.13), 0 48px 100px rgba(22, 21, 67, 0.08);
	--shc-shadow-btn-hi: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 10px rgba(69, 64, 220, 0.3), 0 14px 34px rgba(69, 64, 220, 0.26);
	--shc-shadow-chrome: 0 1px 0 rgba(227, 231, 239, 0.9), 0 10px 30px rgba(22, 21, 67, 0.07);
	--shc-ring-hair: inset 0 1px 0 rgba(255, 255, 255, 0.6);   /* top highlight on light panels */
	--shc-ring-dark: inset 0 1px 0 rgba(255, 255, 255, 0.07);  /* top highlight on ink panels */

	/* type */
	--shc-font-display: "Schibsted Grotesk", system-ui, -apple-system, sans-serif; /* SBP headings */
	--shc-font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;      /* SBP body */
	--shc-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; /* SBP code */

	/* layout */
	--shc-container: 1200px;   /* SBP --sh-container */
	--shc-gutter: 32px;        /* SBP --sh-gutter */
	--shc-measure: 780px;      /* SBP --sh-measure, article column */
	--shc-header-h: 64px;      /* SBP --sh-header-h */
	--shc-anchor-offset: 16px; /* room under the sticky header: the page's scroll-padding already clears the header itself */
	--shc-ease: cubic-bezier(0.23, 1, 0.32, 1); /* SBP --ease-out */
}

/* =========================================================================
 * Page shell.
 *
 * Every rule is gated on `:has(.shc-article-page)` or `:has(.shc-blog)`, which
 * are true only when one of this theme's templates actually rendered. If an
 * Elementor Single or Archive template ever takes over a view, neither class
 * is printed, none of this applies, and that page is left exactly as
 * Elementor drew it.
 * ====================================================================== */

html:has(.shc-article-page),
html:has(.shc-blog),
body:has(.shc-article-page),
body:has(.shc-blog) {
	background: var(--shc-page);
}

/* The header and footer plugins draw the site chrome, so the parent theme's
   and anything a header builder injected would otherwise double up. */
body:has(.shc-article-page) > header.site-header,
body:has(.shc-article-page) > footer.site-footer,
body:has(.shc-article-page) .site-header.dynamic-header,
body:has(.shc-article-page) .site-footer.dynamic-footer,
body:has(.shc-blog) > header.site-header,
body:has(.shc-blog) > footer.site-footer,
body:has(.shc-blog) .site-header.dynamic-header,
body:has(.shc-blog) .site-footer.dynamic-footer {
	display: none;
}

.shc-article-page,
.shc-blog {
	display: block;
	background: var(--shc-page);
	color: var(--shc-body);
	font-family: var(--shc-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

.shc-article-page,
.shc-article-page *,
.shc-article-page *::before,
.shc-article-page *::after,
.shc-blog,
.shc-blog *,
.shc-blog *::before,
.shc-blog *::after,
.shc-chrome,
.shc-chrome *,
.shc-chrome *::before,
.shc-chrome *::after {
	box-sizing: border-box;
}

.shc-article-page img,
.shc-blog img {
	max-width: 100%;
	height: auto;
}

.shc-article-page :where(a, summary, button, input, textarea):focus-visible,
.shc-blog :where(a, summary, button, input, textarea):focus-visible,
.shc-chrome :where(a, button):focus-visible {
	outline: 2px solid var(--shc-primary);
	outline-offset: 2px;
	border-radius: 6px;
}

@media (prefers-reduced-motion: no-preference) {

	html:has(.shc-article-page) {
		scroll-behavior: smooth;
	}
}

.shc-article-page ::selection,
.shc-blog ::selection {
	background: var(--shc-primary-tint-hi);
	color: var(--shc-ink);
}

/* Shared eyebrow, used by the comments and the fallback chrome. */
.shc-eyebrow {
	display: block;
	margin: 0;
	color: var(--shc-primary);
	font-family: var(--shc-font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

/* Arrow inside a link or button, nudged on hover. */
.shc-arr {
	display: inline-block;
	flex-shrink: 0;
	line-height: 1;
	transition: transform 220ms var(--shc-ease);
}

.shc-arr svg,
svg.shc-arr,
.shc-btn > svg {
	display: block;
	width: 15px;
	height: 15px;
}

a:hover > .shc-arr,
a:focus > .shc-arr,
.shc-btn:hover .shc-arr,
.shc-btn:focus .shc-arr {
	transform: translateX(4px);
}

/* -------------------------------------------------------------------------
 * Reading progress: a hairline across the top of the window that fills as
 * the article is read. Pure CSS on a scroll timeline; a browser without
 * scroll-driven animation never shows it.
 * ---------------------------------------------------------------------- */

.shc-progress {
	display: none;
}

@keyframes shc-progress {

	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(1);
	}
}

@supports (animation-timeline: scroll()) {

	@media (prefers-reduced-motion: no-preference) {

		.shc-progress {
			position: fixed;
			top: var(--wp-admin--admin-bar--height, 0px);
			right: 0;
			left: 0;
			z-index: 60;
			display: block;
			height: 3px;
			transform-origin: 0 50%;
			background: var(--shc-grad-primary);
			pointer-events: none;
			animation: shc-progress linear both;
			animation-timeline: scroll(root block);
		}
	}
}

/* =========================================================================
 * Article: header.
 *
 * Breadcrumbs, topic, title, standfirst and byline share the page's left edge
 * with the image and the contents rail below, so the whole article hangs from
 * one line.
 * ====================================================================== */

.shc-article__head {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(28px, 4.5vw, 64px) clamp(28px, 3.5vw, 44px);
	background: linear-gradient(180deg, #f5f5fd 0%, var(--shc-page) 100%);
}

.shc-article__head::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(23, 22, 63, 0.12) 1px, transparent 1.3px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000 10%, transparent 70%);
	mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000 10%, transparent 70%);
	pointer-events: none;
}

.shc-article__head::after {
	content: "";
	position: absolute;
	top: -40%;
	right: -10%;
	z-index: -1;
	width: min(560px, 60vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: rgba(69, 64, 220, 0.14);
	filter: blur(70px);
	pointer-events: none;
}

.shc-article__head-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	width: 100%;
	max-width: calc(var(--shc-container) + var(--shc-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--shc-gutter);
}

/* Breadcrumbs. */
.shc-crumbs {
	width: 100%;
	max-width: 100%;
}

.shc-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--shc-muted);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.4;
}

.shc-crumbs li {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	margin: 0;
}

.shc-crumbs li + li::before {
	content: "";
	width: 6px;
	height: 6px;
	margin: 0 10px;
	border-top: 1.5px solid var(--shc-border-strong);
	border-right: 1.5px solid var(--shc-border-strong);
	transform: rotate(45deg);
}

.shc-crumbs a {
	color: var(--shc-muted);
	text-decoration: none;
	transition: color 0.2s var(--shc-ease);
}

.shc-crumbs a:hover {
	color: var(--shc-primary);
}

.shc-crumbs [aria-current="page"] {
	display: inline-block;
	overflow: hidden;
	max-width: 34ch;
	color: var(--shc-ink);
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Topic chip. */
.shc-article-page .shc-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 13px 6px 11px;
	border-radius: 999px;
	background: var(--shc-primary-tint);
	color: var(--shc-primary-dark);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s var(--shc-ease), color 0.2s var(--shc-ease);
}

.shc-article-page .shc-chip::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentcolor;
	opacity: 0.75;
}

.shc-article-page .shc-chip:hover {
	background: var(--shc-primary);
	color: #fff;
}

.shc-article-page .shc-article__title {
	max-width: 22ch;
	margin: 0;
	color: var(--shc-ink);
	font-family: var(--shc-font-display);
	font-size: clamp(34px, 5.2vw, 62px);
	font-weight: 800;
	letter-spacing: -0.036em;
	line-height: 1.05;
	text-wrap: balance;
}

.shc-article__dek {
	max-width: 62ch;
	margin: 0;
	color: var(--shc-body);
	font-size: clamp(17.5px, 1.6vw, 20.5px);
	line-height: 1.6;
	text-wrap: pretty;
}

/* Byline. */
.shc-byline {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin-top: 6px;
	padding-top: 20px;
	border-top: 1px solid var(--shc-border);
}

.shc-byline__avatar,
.shc-author__avatar {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	overflow: hidden;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--shc-primary-tint-hi);
	font-family: var(--shc-font-display);
	font-weight: 700;
}

.shc-byline__avatar img,
.shc-author__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shc-byline__avatar.is-initials,
.shc-author__avatar.is-initials {
	background: linear-gradient(140deg, var(--shc-primary-lift), var(--shc-primary-deep));
	color: #fff;
	font-size: 16px;
}

.shc-byline__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.shc-byline__name {
	margin: 0;
	color: var(--shc-muted);
	font-size: 15px;
	line-height: 1.35;
}

.shc-byline__name > span:first-of-type {
	color: var(--shc-ink);
	font-weight: 600;
}

.shc-byline__role::before {
	content: "·";
	margin: 0 8px;
	color: var(--shc-border-strong);
}

.shc-byline__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 10px;
	margin: 0;
	color: var(--shc-muted);
	font-size: 14px;
	line-height: 1.4;
}

.shc-byline__sep {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--shc-border-strong);
}

/* =========================================================================
 * Article: featured image.
 *
 * Shown at its own shape, never cropped: blog artwork often carries text.
 * ====================================================================== */

.shc-article__media-wrap {
	width: 100%;
	max-width: calc(var(--shc-container) + var(--shc-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--shc-gutter);
}

.shc-media {
	margin: 0;
}

.shc-media__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
	background: var(--shc-surface);
	box-shadow: var(--shc-shadow-media);
}

.shc-media figcaption {
	margin-top: 12px;
	color: var(--shc-muted);
	font-size: 13.5px;
	text-align: center;
}

/* =========================================================================
 * Article: layout, rail, contents and share.
 * ====================================================================== */

.shc-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	width: 100%;
	max-width: calc(var(--shc-container) + var(--shc-gutter) * 2);
	margin-inline: auto;
	padding: clamp(28px, 5vw, 64px) var(--shc-gutter) clamp(48px, 6vw, 80px);
}

.shc-article__main {
	min-width: 0;
	max-width: var(--shc-measure);
}

.shc-article__rail-inner {
	display: grid;
	gap: 18px;
}

@media (min-width: 1080px) {

	.shc-article__layout {
		grid-template-columns: 250px minmax(0, var(--shc-measure));
		gap: 72px;
	}

	.shc-article__rail-inner {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px);
		max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 120px);
		overflow-y: auto;
		scrollbar-width: thin;
	}
}

/* Contents. */
.shc-toc {
	border: 1px solid var(--shc-border);
	border-radius: 18px;
	background: var(--shc-grad-surface);
	box-shadow: var(--shc-shadow-hair);
}

.shc-toc__summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	color: var(--shc-ink);
	cursor: pointer;
	list-style: none;
}

.shc-toc__summary::-webkit-details-marker {
	display: none;
}

.shc-toc__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.shc-toc__count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--shc-primary-tint);
	color: var(--shc-primary-dark);
	font-size: 12px;
	font-weight: 700;
}

.shc-toc__chevron {
	margin-left: auto;
	color: var(--shc-muted);
	transition: transform 0.25s var(--shc-ease);
}

.shc-toc[open] .shc-toc__chevron {
	transform: rotate(180deg);
}

.shc-toc__nav {
	padding: 0 10px 12px;
}

.shc-toc__nav ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: shc-toc;
}

.shc-toc__nav > ol > li {
	counter-increment: shc-toc;
}

.shc-toc__nav li {
	margin: 0;
}

.shc-toc__nav a {
	position: relative;
	display: flex;
	gap: 10px;
	padding: 7px 8px 7px 12px;
	border-radius: 10px;
	color: var(--shc-muted);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s var(--shc-ease), color 0.2s var(--shc-ease);
}

.shc-toc__nav > ol > li > a::before {
	content: counter(shc-toc, decimal-leading-zero);
	flex-shrink: 0;
	min-width: 20px;
	color: var(--shc-border-strong);
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.7;
}

.shc-toc__nav ol ol a {
	padding-left: 42px;
	font-size: 13.5px;
}

.shc-toc__nav a:hover {
	background: #fff;
	color: var(--shc-ink);
}

.shc-toc__nav a.is-current {
	background: #fff;
	box-shadow: var(--shc-shadow-hair);
	color: var(--shc-primary-dark);
}

.shc-toc__nav a.is-current::after {
	content: "";
	position: absolute;
	top: 9px;
	bottom: 9px;
	left: 0;
	width: 3px;
	border-radius: 3px;
	background: var(--shc-primary);
}

.shc-toc__nav > ol > li > a.is-current::before {
	color: var(--shc-primary);
}

/* Share. */
.shc-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.shc-share__label {
	margin: 0;
	color: var(--shc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.shc-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shc-share__list li {
	margin: 0;
}

.shc-article-page .shc-share__link {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--shc-border);
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--shc-shadow-hair);
	color: var(--shc-ink);
	cursor: pointer;
	transition: background-color 0.2s var(--shc-ease), color 0.2s var(--shc-ease), border-color 0.2s var(--shc-ease), transform 0.2s var(--shc-ease);
}

.shc-article-page .shc-share__link:hover {
	border-color: var(--shc-ink);
	background: var(--shc-ink);
	color: #fff;
}

.shc-article-page .shc-share__link:active {
	transform: scale(0.94);
}

.shc-share__link svg {
	width: 18px;
	height: 18px;
}

.shc-share__status {
	flex-basis: 100%;
	min-height: 1em;
	margin: 0;
	color: var(--shc-success);
	font-size: 13px;
	font-weight: 600;
}

.shc-share__status:empty {
	display: none;
}

@media (min-width: 1080px) {

	.shc-share--rail {
		padding: 16px;
		border: 1px solid var(--shc-border);
		border-radius: 18px;
	}
}

/* =========================================================================
 * Article: foot — tags and the author.
 * ====================================================================== */

.shc-article__foot {
	display: grid;
	gap: 28px;
	margin-top: clamp(40px, 5vw, 64px);
	padding-top: 32px;
	border-top: 1px solid var(--shc-border);
}

.shc-article__foot:empty {
	display: none;
}

.shc-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.shc-tags__label {
	margin: 0;
	color: var(--shc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.shc-tags ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shc-tags li {
	margin: 0;
}

.shc-tags a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid var(--shc-border);
	border-radius: 999px;
	color: var(--shc-body);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.2s var(--shc-ease), color 0.2s var(--shc-ease);
}

.shc-tags a::before {
	content: "#";
	margin-right: 2px;
	color: var(--shc-primary);
}

.shc-tags a:hover {
	border-color: var(--shc-primary);
	color: var(--shc-primary);
}

.shc-author {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--shc-primary-tint-hi);
	border-radius: 24px;
	background: var(--shc-grad-tint);
}

.shc-author__avatar {
	width: 72px;
	height: 72px;
}

.shc-author__avatar.is-initials {
	font-size: 22px;
}

.shc-author__body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.shc-author__eyebrow {
	margin: 0;
	color: var(--shc-primary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.shc-author__name {
	margin: 0;
	color: var(--shc-ink);
	font-family: var(--shc-font-display);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.shc-author__role {
	margin: 0;
	color: var(--shc-muted);
	font-size: 14px;
}

.shc-author__bio {
	margin: 8px 0 0;
	color: var(--shc-body);
	font-size: 15.5px;
	line-height: 1.65;
}

.shc-article-page .shc-author__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: start;
	margin-top: 10px;
	color: var(--shc-primary);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
}

.shc-author__link svg {
	width: 16px;
	height: 16px;
}

/* =========================================================================
 * Previous and next articles.
 * ====================================================================== */

.shc-postnav {
	border-top: 1px solid var(--shc-border);
}

.shc-postnav__inner {
	display: grid;
	gap: 14px;
	width: 100%;
	max-width: calc(var(--shc-container) + var(--shc-gutter) * 2);
	margin-inline: auto;
	padding: clamp(28px, 4vw, 44px) var(--shc-gutter);
}

@media (min-width: 720px) {

	.shc-postnav__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

.shc-article-page .shc-postnav__link {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 100px;
	padding: 14px 20px 14px 14px;
	border: 1px solid var(--shc-border);
	border-radius: 20px;
	background: #fff;
	color: var(--shc-ink);
	text-decoration: none;
	transition: border-color 0.25s var(--shc-ease), box-shadow 0.3s var(--shc-ease), transform 0.3s var(--shc-ease);
}

.shc-article-page .shc-postnav__link:hover {
	border-color: var(--shc-primary-tint-hi);
	box-shadow: var(--shc-shadow-lift);
	transform: translateY(-2px);
}

.shc-article-page .shc-postnav__link--next {
	flex-direction: row-reverse;
	padding: 14px 14px 14px 20px;
	text-align: right;
}

.shc-postnav__thumb {
	flex-shrink: 0;
	overflow: hidden;
	width: 72px;
	height: 72px;
	border-radius: 14px;
	background: var(--shc-surface);
}

.shc-postnav__img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.shc-postnav__text {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.shc-postnav__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--shc-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.shc-postnav__link--next .shc-postnav__label {
	flex-direction: row-reverse;
	justify-content: flex-start;
}

.shc-postnav__link--prev .shc-postnav__arrow {
	transform: scaleX(-1);
}

.shc-postnav__arrow {
	flex-shrink: 0;
	transition: translate 0.25s var(--shc-ease);
}

.shc-postnav__link--prev:hover .shc-postnav__arrow {
	translate: -3px 0;
}

.shc-postnav__link--next:hover .shc-postnav__arrow {
	translate: 3px 0;
}

.shc-postnav__title {
	display: -webkit-box;
	overflow: hidden;
	font-family: var(--shc-font-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.shc-postnav__spacer {
	display: none;
}

@media (min-width: 720px) {

	.shc-postnav__spacer {
		display: block;
	}
}

/* Comments line up with the article column. */
.shc-article__comments {
	width: 100%;
	max-width: calc(var(--shc-container) + var(--shc-gutter) * 2);
	margin-inline: auto;
	padding: 0 var(--shc-gutter) clamp(48px, 6vw, 72px);
}

.shc-article__comments > .shc-comments {
	max-width: var(--shc-measure);
	margin-top: 0;
}

@media (min-width: 1080px) {

	.shc-article__comments > .shc-comments {
		margin-left: calc(250px + 72px);
	}
}

/* =========================================================================
 * Listing fallback, drawn only while the Smoothire Blog plugin is off.
 * ====================================================================== */

.shc-fallback__shell {
	width: 100%;
	max-width: calc(var(--shc-measure) + var(--shc-gutter) * 2);
	margin-inline: auto;
	padding: clamp(40px, 6vw, 80px) var(--shc-gutter);
}

.shc-fallback__title {
	margin: 0 0 32px;
	color: var(--shc-ink);
	font-family: var(--shc-font-display);
	font-size: clamp(34px, 5vw, 52px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.shc-fallback__list {
	display: grid;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shc-fallback__list li {
	padding-bottom: 28px;
	border-bottom: 1px solid var(--shc-border);
}

.shc-fallback__list h2 {
	margin: 0 0 6px;
	font-family: var(--shc-font-display);
	font-size: 22px;
	line-height: 1.3;
}

.shc-fallback__list h2 a {
	color: var(--shc-ink);
	text-decoration: none;
}

.shc-fallback__list p {
	margin: 0;
}

.shc-fallback__meta {
	margin-bottom: 8px !important;
	color: var(--shc-muted);
	font-size: 14px;
}

.shc-fallback__pager ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.shc-fallback__pager .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--shc-border);
	border-radius: 999px;
	color: var(--shc-ink);
	text-decoration: none;
}

.shc-fallback__pager .current {
	background: var(--shc-ink);
	color: #fff;
}


/* =========================================================================
 * 1. Site chrome. Rendered by inc/partials/, so a post carries the same
 *    header and footer as every marketing page without depending on a plugin.
 * ====================================================================== */

/* Sticky like the header plugin's: below the admin bar when signed in, except on
   phones, where the admin bar scrolls away. */
.shc-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: var(--shc-chrome-blur);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--shc-border);
	font-family: var(--shc-font-body);
}

/* Links to a section land below this header too. */
html:has(.shc-header) {
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--shc-header-h) + 16px);
}

@media (max-width: 600px) {

	.shc-header {
		top: 0;
	}

	html:has(.shc-header) {
		scroll-padding-top: calc(var(--shc-header-h) + 16px);
	}
}

.shc-header__inner {
	max-width: var(--shc-container);
	margin: 0 auto;
	padding: 15px var(--shc-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.shc-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.shc-brand img {
	height: 25px;
	width: auto;
}

.shc-wordmark {
	font-family: var(--shc-font-display);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: 0.04em;
	color: var(--shc-ink);
}

.shc-header__nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.shc-header__nav a,
.shc-header__signin {
	position: relative;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--shc-ink);
	text-decoration: none;
	transition: color 150ms ease;
}

/* An accent rule that opens from the centre. Sits on the type's own baseline
   gap rather than on a border, so nothing in the row moves when it appears. */
.shc-header__nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	border-radius: 2px;
	background: var(--shc-grad-primary);
	transform: scaleX(0);
	transition: transform 240ms var(--shc-ease);
}

.shc-header__nav a:hover,
.shc-header__signin:hover {
	color: var(--shc-primary);
}

.shc-header__nav a:hover::after,
.shc-header__nav a:focus-visible::after {
	transform: scaleX(1);
}

.shc-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

/* ---- Buttons, shared by the chrome, the CTA and the comment form ---- */

.shc-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	overflow: hidden;
	font-family: var(--shc-font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.005em;
	padding: 9px 17px;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	text-decoration: none;
	isolation: isolate;
	transition: background 180ms var(--shc-ease), box-shadow 240ms var(--shc-ease), transform 200ms var(--shc-ease);
}

/* A light that crosses the face once on hover. One pseudo element, no keyframe
   loop, so it costs a single composited pass and never runs at rest. */
.shc-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--shc-grad-sheen);
	transform: translateX(-120%);
	transition: transform 620ms var(--shc-ease);
}

.shc-btn:hover::after,
.shc-btn:focus-visible::after {
	transform: translateX(120%);
}

.shc-btn:active {
	transform: scale(0.97);
}

.shc-btn--ink {
	background: var(--shc-grad-ink);
	color: var(--shc-page);
	box-shadow: var(--shc-shadow-ink);
}

.shc-btn--ink:hover,
.shc-btn--ink:focus {
	background: var(--shc-grad-primary);
	color: var(--shc-page);
	box-shadow: var(--shc-shadow-btn);
	transform: translateY(-1px);
}

.shc-btn--primary {
	background: var(--shc-grad-primary);
	color: var(--shc-page);
	font-size: 15px;
	padding: 13px 26px;
	border-radius: 12px;
	box-shadow: var(--shc-shadow-btn);
}

.shc-btn--primary:hover,
.shc-btn--primary:focus {
	background: var(--shc-grad-primary-hi);
	color: var(--shc-page);
	box-shadow: var(--shc-shadow-btn-hi);
	transform: translateY(-1px);
}

.shc-btn--primary:active,
.shc-btn--ink:active {
	transform: translateY(0) scale(0.98);
}

/* ---- Footer ---- */

.shc-footer {
	position: relative;
	background: var(--shc-grad-ink);
	border-top: 1px solid var(--shc-dark-border);
	font-family: var(--shc-font-body);
	overflow: hidden;
}

/* The same accent wash that opens an article, closing it. */
.shc-footer::before {
	content: "";
	position: absolute;
	inset: -60% -20% auto;
	height: 420px;
	background: var(--shc-glow);
	pointer-events: none;
}

.shc-footer__inner {
	position: relative;
	max-width: var(--shc-container);
	margin: 0 auto;
	padding: 56px var(--shc-gutter) 32px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.shc-footer__top {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.shc-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 300px;
}

.shc-footer__brand p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--shc-dark-text);
}

.shc-wordmark--footer {
	color: var(--shc-page);
	font-size: 16px;
}

/* Mark and name, as the footer plugin draws them. */
.shc-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.shc-footer__logo img {
	display: block;
	width: 26px;
	height: 26px;
}

.shc-footer__nav {
	display: flex;
	gap: 56px;
	flex-wrap: wrap;
}

.shc-footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.shc-footer__col a {
	width: fit-content;
	font-size: 14px;
	color: var(--shc-dark-text);
	text-decoration: none;
	transition: color 180ms var(--shc-ease), transform 220ms var(--shc-ease);
}

.shc-footer__col a:hover,
.shc-footer__col a:focus {
	color: var(--shc-page);
	transform: translateX(3px);
}

.shc-footer__heading {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--shc-dark-bright);
	margin-bottom: 2px;
}

.shc-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	border-top: 1px solid var(--shc-dark-border);
	padding-top: 24px;
	flex-wrap: wrap;
}

.shc-footer__bottom span {
	font-size: 13px;
	color: var(--shc-dark-faint);
}

.shc-footer__bottom a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--shc-dark-text);
	text-decoration: none;
	transition: color 180ms var(--shc-ease);
}

.shc-footer__bottom a:hover,
.shc-footer__bottom a:focus {
	color: var(--shc-page);
}


/* =========================================================================
 * 6. Post content. Every Gutenberg element inherits the design, so no post
 *    ever needs styling by hand. Mirrors SBP's .sh-blog__content scale.
 * ====================================================================== */

.shc-prose {
	margin-top: 0;
	font-size: 18px;
	line-height: 1.78;
	color: var(--shc-body);
	overflow-wrap: break-word;
}

.shc-prose > * {
	margin-block: 0 28px;
}

.shc-prose > :last-child {
	margin-bottom: 0;
}

.shc-prose p {
	text-wrap: pretty;
}

/* The standfirst. Whichever paragraph opens the article — straight after the
   AT A GLANCE callout when there is one — carries one step more weight, which
   is what gives an article a beginning rather than just a top. */
.shc-prose > p:first-of-type,
.shc-prose > .shc-glance + p {
	font-size: 1.09em;
	line-height: 1.68;
	color: var(--shc-ink);
}

.shc-prose :where(h2, h3, h4, h5, h6) {
	font-family: var(--shc-font-display);
	color: var(--shc-ink);
	letter-spacing: -0.018em;
	line-height: 1.2;
	text-wrap: balance;
}

.shc-prose :where(h2, h3, h4, h5, h6)[id] {
	scroll-margin-top: var(--shc-anchor-offset);
}

.shc-prose h2 {
	font-size: clamp(28px, 3.1vw, 38px);
	font-weight: 700;
	letter-spacing: -0.026em;
	margin: 76px 0 18px;
}

/* A short accent rule above every section head. It is the cheapest way to
   give a long article a rhythm the eye can scan, and it costs no markup. */
.shc-prose > h2::before {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-bottom: 18px;
	border-radius: 3px;
	background: var(--shc-grad-primary);
}

.shc-prose h3 {
	font-size: clamp(21px, 2.2vw, 26px);
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 52px 0 14px;
}

/* A subsection marker. An article that runs on H3s — one per step, one per
   mistake — reads as an undifferentiated wall without something to break the
   column, and a dot is the quietest mark that does it. */
.shc-prose > h3::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 12px;
	border-radius: 3px;
	background: var(--shc-grad-primary);
	vertical-align: 0.08em;
}

.shc-prose h4 {
	font-size: 19px;
	font-weight: 600;
	margin: 38px 0 10px;
}

.shc-prose h5,
.shc-prose h6 {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--shc-muted);
	margin: 28px 0 8px;
}

.shc-prose strong,
.shc-prose b {
	font-weight: 600;
	color: var(--shc-ink);
}

/* Same exemption as the lists, plus the theme's own contents box. The TOC is
   injected INTO the content, so it lives inside .shc-prose and was taking the
   body copy link treatment: every entry underlined in accent. It is
   navigation, not prose. */
.shc-prose a:not(.shc-btn, [class*="elementor"], :where(.shc-toc) *) {
	color: var(--shc-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: var(--shc-primary-line);
	transition: text-decoration-color 180ms var(--shc-ease), text-decoration-thickness 180ms var(--shc-ease), color 180ms var(--shc-ease);
}

.shc-prose a:not(.shc-btn, [class*="elementor"], :where(.shc-toc) *):hover,
.shc-prose a:not(.shc-btn, [class*="elementor"], :where(.shc-toc) *):focus {
	color: var(--shc-primary-dark);
	text-decoration-color: var(--shc-primary);
	text-decoration-thickness: 2px;
}

/* ---- Lists. SBP replaces the browser markers with a dot and a numbered
        tile, so nested content lines up on one grid.

   Every selector here skips anything carrying an Elementor class, and the
   reason is the editor. Elementor renders its widget handles as a <ul> INSIDE
   the widget they belong to, so on an Elementor-built post that list lands
   inside .shc-prose: the handle bar turns into a vertical stack, each handle
   is pushed 30px right and given an indigo bullet, and the icons disappear
   under the decoration. The same guard keeps the theme off Elementor's own
   Icon List widget on the published page, which brings its own markers and
   would otherwise show two.  ---- */

.shc-prose :where(ul, ol):not([class*="elementor"], :where(.shc-toc) *) {
	padding-left: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.shc-prose li:not([class*="elementor"], :where(.shc-toc) *) {
	position: relative;
	padding-left: 30px;
}

.shc-prose li > :where(ul, ol):not([class*="elementor"], :where(.shc-toc) *) {
	margin-top: 10px;
}

.shc-prose ul:not([class*="elementor"], :where(.shc-toc) *) > li:not([class*="elementor"], :where(.shc-toc) *)::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 0.66em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--shc-grad-primary);
	box-shadow: 0 0 0 4px var(--shc-primary-tint);
}

.shc-prose ol:not([class*="elementor"], :where(.shc-toc) *) {
	counter-reset: shc-ol;
}

.shc-prose ol:not([class*="elementor"], :where(.shc-toc) *) > li:not([class*="elementor"], :where(.shc-toc) *) {
	counter-increment: shc-ol;
}

.shc-prose ol:not([class*="elementor"], :where(.shc-toc) *) > li:not([class*="elementor"], :where(.shc-toc) *)::before {
	content: counter(shc-ol);
	position: absolute;
	left: 0;
	top: 0.18em;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--shc-grad-primary);
	color: var(--shc-page);
	font-family: var(--shc-font-display);
	font-size: 12px;
	font-weight: 700;
	box-shadow: var(--shc-shadow-btn);
}

/* ---- Media ---- */

.shc-prose figure {
	margin-inline: 0;
}

.shc-prose img {
	border-radius: 14px;
	display: block;
	box-shadow: var(--shc-shadow-card);
}

.shc-prose figcaption {
	margin-top: 11px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--shc-muted);
	text-align: center;
}

.shc-prose :where(.wp-block-image, .wp-block-gallery, .wp-block-embed, .wp-block-video) {
	margin-block: 36px;
}

.shc-prose :where(iframe, video, embed, object) {
	max-width: 100%;
	border-radius: 12px;
	display: block;
}

.shc-prose .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	position: relative;
	aspect-ratio: 16 / 9;
}

.shc-prose .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Inline SVG pasted into a post carries a viewBox and no width or height. An
   <svg> in that state resolves to the full width of its column with a height
   taken from the viewBox ratio, so a 24px icon paints as a block the width of
   the article. `max-width: 100%` cannot catch it because the used width
   already is 100%. Nothing in body copy is meant to be taller than a line, so
   give it a line-sized box and let anything that states its own dimensions
   keep them.

   Elementor's icons are exempt from THIS box and given their own below —
   never left unsized, because an unsized viewBox is the bug this whole rule
   exists to prevent. */
.shc-prose svg:not([class*="elementor"], [class*="e-font-icon"], [class*="eicon"]) {
	width: 1.15em;
	height: 1.15em;
	vertical-align: -0.18em;
	flex-shrink: 0;
}

/* Everything Elementor draws — an Icon widget, an icon inside a button, the
   editor's own widget handles — sits in a box driven by the container's
   font-size. 1em is the value Elementor uses itself, so this agrees with it
   instead of fighting it, and an icon whose size is set in the widget still
   scales because the box is relative. */
.shc-prose :is(.elementor-icon, .elementor-button-icon, .elementor-element-overlay, [class*="elementor-editor"]) svg,
.shc-prose svg:is([class*="e-font-icon"], [class*="eicon"]) {
	width: 1em;
	height: 1em;
	vertical-align: baseline;
	flex-shrink: 0;
}

.shc-prose svg[width],
.shc-prose svg[height] {
	width: auto;
	height: auto;
	max-width: 100%;
}

/* ---- Code ---- */

.shc-prose :where(code, kbd, samp) {
	font-family: var(--shc-font-mono);
	font-size: 0.88em;
}

.shc-prose :not(pre) > code {
	background: var(--shc-primary-tint);
	color: var(--shc-primary-dark);
	border: 1px solid var(--shc-info-line);
	padding: 1px 6px;
	border-radius: 6px;
	white-space: nowrap;
}

.shc-prose pre {
	background: var(--shc-grad-ink);
	color: var(--shc-dark-bright);
	border: 1px solid var(--shc-dark-border);
	border-radius: 14px;
	padding: 24px 26px;
	overflow-x: auto;
	font-family: var(--shc-font-mono);
	font-size: 14px;
	line-height: 1.7;
	box-shadow: var(--shc-shadow-card), var(--shc-ring-dark);
	tab-size: 2;
}

.shc-prose pre code {
	background: none;
	color: inherit;
	padding: 0;
	white-space: pre;
}

.shc-prose :where(.wp-block-code, .wp-block-preformatted) {
	margin-block: 32px;
}

/* ---- Quotes ---- */

.shc-prose blockquote {
	position: relative;
	margin: 40px 0;
	padding: 26px 28px 26px 30px;
	border-left: 3px solid var(--shc-primary);
	border-radius: 4px 14px 14px 4px;
	background: var(--shc-grad-tint);
	font-family: var(--shc-font-display);
	font-size: 19.5px;
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: -0.008em;
	color: var(--shc-ink);
	box-shadow: var(--shc-shadow-hair);
}

/* The opening mark, set large and faint behind the first line. Decorative, so
   it is a pseudo element and never reaches the accessibility tree. */
.shc-prose blockquote::before {
	content: "\201C";
	position: absolute;
	top: 2px;
	right: 18px;
	font-family: var(--shc-font-display);
	font-size: 72px;
	line-height: 1;
	color: var(--shc-primary);
	opacity: 0.14;
	pointer-events: none;
}

.shc-prose blockquote p {
	margin: 0 0 10px;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.shc-prose blockquote p:last-child {
	margin-bottom: 0;
}

.shc-prose blockquote cite {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	color: var(--shc-muted);
}

.shc-prose .wp-block-pullquote {
	margin: 48px 0;
	padding: 36px 32px;
	border: 0;
	border-top: 1px solid var(--shc-border);
	border-bottom: 1px solid var(--shc-border);
	text-align: center;
}

/* A pullquote is already a framed block, so the inner quote gives back the
   panel, the radius and the mark it would otherwise have inherited. */
.shc-prose .wp-block-pullquote blockquote {
	border: 0;
	padding: 0;
	margin: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.shc-prose .wp-block-pullquote blockquote::before {
	content: none;
}

.shc-prose .wp-block-pullquote p {
	font-family: var(--shc-font-display);
	font-weight: 600;
	font-size: clamp(21px, 2.3vw, 27px);
	line-height: 1.34;
	letter-spacing: -0.012em;
	color: var(--shc-ink);
	text-wrap: balance;
}

/* ---- Tables ----
   The scroll wrapper alone is not enough on a phone. A table set to width
   100% and nothing else fits itself into whatever space it is given, so it
   squeezes to the viewport and wraps every cell to one word per line rather
   than overflowing and scrolling. min-width is what makes it overflow, and
   overflow is what the wrapper was built to handle. */

.shc-table-scroll {
	margin: 36px 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	border: 1px solid var(--shc-border);
	border-radius: 14px;
	background: var(--shc-card);
	box-shadow: var(--shc-shadow-hair);
}

.shc-prose table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 15px;
}

.shc-prose :where(th, td) {
	padding: 13px 16px;
	text-align: left;
	border-bottom: 1px solid var(--shc-border);
}

.shc-prose th {
	background: var(--shc-grad-surface);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--shc-ink);
	white-space: nowrap;
}

.shc-prose tr:last-child :where(th, td) {
	border-bottom: 0;
}

/* Row tracking on a wide table. Pointer devices only — a row that highlights
   under a finger just reads as a mis-tap. */
@media (hover: hover) and (pointer: fine) {

	.shc-prose tbody tr {
		transition: background 160ms var(--shc-ease);
	}

	.shc-prose tbody tr:hover {
		background: var(--shc-surface);
	}
}

/* ---- Separators, buttons and callouts ---- */

/* A rule that fades at both ends rather than butting into the column edges. */
.shc-prose :where(hr, .wp-block-separator) {
	margin-block: 52px;
	height: 1px;
	border: 0;
	background: var(--shc-grad-rule);
	opacity: 0.75;
}

.shc-prose .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	background: var(--shc-grad-primary);
	color: var(--shc-page);
	font-size: 15px;
	font-weight: 600;
	padding: 13px 26px;
	border-radius: 12px;
	text-decoration: none;
	box-shadow: var(--shc-shadow-btn);
	transition: background 180ms var(--shc-ease), box-shadow 240ms var(--shc-ease), transform 200ms var(--shc-ease);
}

.shc-prose .wp-block-button__link:hover,
.shc-prose .wp-block-button__link:focus {
	background: var(--shc-grad-primary-hi);
	color: var(--shc-page);
	box-shadow: var(--shc-shadow-btn-hi);
	transform: translateY(-1px);
}

.shc-prose :where(.wp-block-media-text, .wp-block-columns) {
	margin-block: 36px;
	gap: 28px;
}

.shc-prose :where(.is-style-note, .is-style-info, .is-style-warning, .is-style-success) {
	position: relative;
	margin-block: 32px;
	padding: 20px 24px 20px 26px;
	border: 1px solid var(--shc-border);
	border-left-width: 3px;
	border-radius: 4px 14px 14px 4px;
	background: var(--shc-surface);
	box-shadow: var(--shc-shadow-hair);
	font-size: 16px;
	line-height: 1.65;
}

.shc-prose :where(.is-style-note, .is-style-info, .is-style-warning, .is-style-success) > :last-child {
	margin-bottom: 0;
}

.shc-prose .is-style-note {
	border-left-color: var(--shc-muted-soft);
}

/* The `border-color` shorthand has to land before the left accent, or it
   resets the side that carries the colour. */
.shc-prose .is-style-info {
	border-color: var(--shc-info-line);
	border-left-color: var(--shc-primary);
	background: var(--shc-primary-tint);
	color: var(--shc-info-ink);
}

.shc-prose .is-style-success {
	border-color: var(--shc-success-line);
	border-left-color: var(--shc-success);
	background: var(--shc-success-bg);
	color: var(--shc-success-ink);
}

.shc-prose .is-style-warning {
	border-color: var(--shc-warning-line);
	border-left-color: var(--shc-warning);
	background: var(--shc-warning-bg);
	color: var(--shc-warning-ink);
}

.shc-pagelinks {
	margin-top: 32px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--shc-muted);
}

/* =========================================================================
 * 7. AT A GLANCE callout. Same treatment as SBP's `is-style-info`, so the
 *    opener reads as one of the design's own callouts.
 * ====================================================================== */

.shc-glance {
	position: relative;
	overflow: hidden;
	margin: 0 0 44px;
	padding: 26px 30px;
	border: 1px solid var(--shc-info-line);
	border-left: 3px solid var(--shc-primary);
	border-radius: 4px 16px 16px 4px;
	background: var(--shc-primary-tint);
	box-shadow: var(--shc-shadow-hair), var(--shc-ring-hair);
}

.shc-glance::before {
	content: "";
	position: absolute;
	inset: -70% -20% auto auto;
	width: 380px;
	height: 300px;
	background: var(--shc-glow);
	pointer-events: none;
}

.shc-glance > * {
	position: relative;
}

/* Scoped through .shc-prose on purpose. The callout's heading is an eyebrow,
   not a section head, and `.shc-prose h2` is one step more specific than a
   bare `.shc-glance :where(h2)` — without the extra class the heading takes
   the article's h2 size and the callout stops reading as a callout. */
.shc-prose .shc-glance :where(h2, h3, h4, h5, h6),
.shc-glance :where(h2, h3, h4, h5, h6) {
	font-family: var(--shc-font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--shc-primary);
	line-height: 1.4;
	margin: 0;
}

.shc-glance p {
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--shc-info-ink);
	margin: 12px 0 0;
	max-width: none;
}

.shc-glance > :last-child {
	margin-bottom: 0;
}

/* =========================================================================
 * 12. Comments.
 *
 * Selectors follow the default comment walker rather than a custom callback,
 * so threading, the awaiting-moderation notice and the reply link all arrive
 * already wired and only need dressing.
 * ====================================================================== */

.shc-comments {
	margin-top: 80px;
	padding-top: 56px;
	border-top: 1px solid var(--shc-border);
}

.shc-comments__title,
.shc-comments .comment-reply-title {
	font-family: var(--shc-font-display);
	font-weight: 700;
	font-size: clamp(22px, 2.4vw, 28px);
	line-height: 1.14;
	letter-spacing: -0.018em;
	color: var(--shc-ink);
	margin: 0;
}

.shc-comments__list,
.shc-comments .children {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Replies step in once and pick up a rule, so depth reads without indenting
   so far that a threaded comment runs out of column. */
.shc-comments .children {
	margin: 18px 0 0;
	padding-left: 28px;
	border-left: 1px solid var(--shc-border);
}

.shc-comments .comment-body {
	padding: 22px 24px;
	border: 1px solid var(--shc-border);
	border-radius: 18px;
	background: var(--shc-card);
	box-shadow: var(--shc-shadow-hair), var(--shc-ring-hair);
	transition: box-shadow 260ms var(--shc-ease), border-color 260ms var(--shc-ease);
}

@media (hover: hover) and (pointer: fine) {

	.shc-comments .comment-body:hover {
		border-color: var(--shc-border-strong);
		box-shadow: var(--shc-shadow-card);
	}
}

.shc-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
}

.shc-comments .comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	color: var(--shc-ink);
}

.shc-comments .comment-author .avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--shc-surface);
}

.shc-comments .comment-author .fn {
	font-weight: 600;
	font-style: normal;
	color: var(--shc-ink);
}

.shc-comments .comment-author .says {
	display: none;
}

.shc-comments .comment-metadata,
.shc-comments .comment-metadata a {
	font-size: 12.5px;
	color: var(--shc-muted);
	text-decoration: none;
}

.shc-comments .comment-metadata a:hover,
.shc-comments .comment-metadata a:focus {
	color: var(--shc-primary);
}

.shc-comments .comment-content {
	margin-top: 13px;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--shc-body);
}

.shc-comments .comment-content p {
	margin: 0 0 12px;
}

.shc-comments .comment-content > :last-child {
	margin-bottom: 0;
}

.shc-comments .comment-awaiting-moderation {
	display: block;
	margin-top: 10px;
	font-size: 13.5px;
	font-style: italic;
	color: var(--shc-warning);
}

.shc-comments .reply {
	margin-top: 13px;
}

.shc-comments .comment-reply-link {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--shc-primary);
	text-decoration: none;
}

.shc-comments .comment-reply-link:hover,
.shc-comments .comment-reply-link:focus {
	color: var(--shc-primary-dark);
}

.shc-comments__closed {
	margin-top: 24px;
	font-size: 14.5px;
	color: var(--shc-muted);
}

/* ---- Form ---- */

.shc-comments .comment-respond {
	margin-top: 44px;
	padding: 32px;
	border: 1px solid var(--shc-border);
	border-radius: 20px;
	background: var(--shc-grad-surface);
	box-shadow: var(--shc-shadow-hair), var(--shc-ring-hair);
}

.shc-comments .comment-reply-title {
	font-size: 21px;
	font-weight: 600;
}

.shc-comments .comment-reply-title small {
	display: inline-block;
	margin-left: 12px;
	font-size: 13.5px;
	font-weight: 600;
}

.shc-comments .comment-reply-title small a {
	color: var(--shc-primary);
	text-decoration: none;
}

.shc-comments__note,
.shc-comments .comment-notes,
.shc-comments .logged-in-as {
	margin: 12px 0 0;
	font-size: 13.5px;
	color: var(--shc-muted);
}

.shc-comments .comment-form p {
	margin: 18px 0 0;
}

.shc-comments .comment-form label {
	display: block;
	margin-bottom: 7px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--shc-ink);
}

.shc-comments .comment-form input[type="text"],
.shc-comments .comment-form input[type="email"],
.shc-comments .comment-form input[type="url"],
.shc-comments .comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: var(--shc-font-body);
	font-size: 15px;
	line-height: 1.6;
	color: var(--shc-body);
	background: var(--shc-card);
	border: 1px solid var(--shc-border);
	border-radius: 10px;
	transition: border-color 180ms var(--shc-ease), box-shadow 180ms var(--shc-ease);
}

.shc-comments .comment-form textarea {
	resize: vertical;
	min-height: 130px;
	line-height: 1.65;
}

.shc-comments .comment-form :where(input, textarea):focus {
	outline: none;
	border-color: var(--shc-primary);
	box-shadow: 0 0 0 3px var(--shc-primary-ring);
}

.shc-comments .comment-form :where(input, textarea)::placeholder {
	color: var(--shc-muted-soft);
}

/* The consent checkbox is the one row that must not stretch. */
.shc-comments .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}

.shc-comments .comment-form-cookies-consent input {
	width: auto;
	margin-top: 3px;
	accent-color: var(--shc-primary);
}

.shc-comments .comment-form-cookies-consent label {
	margin: 0;
	font-size: 13.5px;
	font-weight: 400;
	color: var(--shc-muted);
}

.shc-comments .form-submit {
	margin-top: 24px;
}

.shc-comments .form-submit .shc-btn {
	cursor: pointer;
	font-size: 15px;
	padding: 13px 26px;
	border-radius: 12px;
}

.shc-comments .shc-pager {
	margin-top: 32px;
	padding-top: 0;
	border-top: 0;
}

/* =========================================================================
 * 13. FAQ accordion.
 *
 * Built by inc/faq.php from the question and answer paragraphs the content
 * arrives with. Native <details>, like the table of contents, so it opens and
 * closes, takes keyboard focus and is searchable in page without a line of
 * JavaScript.
 * ====================================================================== */

.shc-faq {
	margin-top: 28px;
	border: 1px solid var(--shc-border);
	border-radius: 18px;
	background: var(--shc-card);
	box-shadow: var(--shc-shadow-card), var(--shc-ring-hair);
	overflow: hidden;
}

.shc-faq__intro {
	margin: 0;
	padding: 20px 24px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--shc-body);
	border-bottom: 1px solid var(--shc-border);
}

.shc-faq__item + .shc-faq__item {
	border-top: 1px solid var(--shc-border);
}

.shc-faq__q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 24px;
	cursor: pointer;
	font-family: var(--shc-font-display);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.4;
	color: var(--shc-ink);
	list-style: none;
	transition: color 180ms var(--shc-ease), background 180ms var(--shc-ease);
}

/* Both are needed: the first hides the marker in Safari, the second in
   Chrome and Firefox. */
.shc-faq__q::-webkit-details-marker {
	display: none;
}

.shc-faq__q::marker {
	content: "";
}

.shc-faq__q:hover,
.shc-faq__item[open] > .shc-faq__q {
	color: var(--shc-primary);
	background: var(--shc-surface);
}

.shc-faq__item[open] > .shc-faq__q {
	background: var(--shc-grad-tint);
}

/* A plus that loses its upright stroke when the row opens, so one element
   carries both states and there is no second icon to keep in sync. */
.shc-faq__mark {
	position: relative;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	margin-top: 6px;
	color: var(--shc-primary);
}

.shc-faq__mark::before,
.shc-faq__mark::after {
	content: "";
	position: absolute;
	background: currentColor;
	border-radius: 1px;
}

.shc-faq__mark::before {
	inset: 6px 0 auto 0;
	height: 2px;
}

.shc-faq__mark::after {
	inset: 0 6px 0 6px;
	transition: transform 200ms var(--shc-ease);
}

.shc-faq__item[open] .shc-faq__mark::after {
	transform: scaleY(0);
}

.shc-faq__a {
	padding: 0 24px 22px;
}

.shc-faq__a p {
	margin: 0;
	font-size: 16px;
	line-height: 1.75;
	color: var(--shc-body);
	max-width: none;
}

.shc-faq__a p + p {
	margin-top: 12px;
}

/* =========================================================================
 * Small screens: the reading column, comments and FAQ.
 * ====================================================================== */

@media (max-width: 781px) {

	:root {
		--shc-gutter: 20px;
	}

	.shc-prose {
		font-size: 17px;
	}

	.shc-prose > h2::before {
		width: 28px;
		margin-bottom: 14px;
	}

	.shc-prose blockquote {
		padding: 22px 22px 22px 24px;
		font-size: 18.5px;
	}

	.shc-prose blockquote::before {
		font-size: 56px;
		right: 12px;
	}

	.shc-comments .comment-respond {
		padding: 22px;
	}

	.shc-comments .children {
		padding-left: 14px;
	}

	.shc-comments .comment-body {
		padding: 18px;
	}

	.shc-footer__nav {
		gap: 32px;
	}

	.shc-author {
		flex-direction: column;
	}

	.shc-media__img {
		border-radius: 16px;
	}

	.shc-crumbs [aria-current="page"] {
		max-width: 22ch;
	}
}

@media (max-width: 600px) {

	/* Cells give back the horizontal room they can spare, so a table that has
	   to scroll scrolls as little as possible. */
	.shc-prose :where(th, td) {
		padding: 11px 13px;
	}

	.shc-prose table {
		font-size: 14.5px;
	}

	.shc-faq__q {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.shc-article-page *,
	.shc-article-page *::before,
	.shc-article-page *::after,
	.shc-blog *,
	.shc-chrome * {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.shc-article-page .shc-postnav__link:hover {
		transform: none;
	}
}

/* =========================================================================
 * Print.
 *
 * An article is the one thing on this site a reader is likely to put on
 * paper, so the page is rebuilt for it: navigation, sharing, the contents box,
 * related articles and the call to action come off, the column runs full width,
 * and every shadow and wash is dropped.
 * ====================================================================== */

@media print {

	.shc-header,
	.shc-footer,
	.shc-progress,
	.shc-crumbs,
	.shc-article__rail,
	.shc-postnav,
	.shc-article__comments,
	.shc-article-page .smb-related,
	.shc-article-page .smb-cta {
		display: none !important;
	}

	.shc-article__head {
		padding: 0 0 12pt;
		background: none;
	}

	.shc-article__head::before,
	.shc-article__head::after,
	.shc-glance::before,
	.shc-prose blockquote::before {
		display: none;
	}

	.shc-article-page * {
		animation: none !important;
		opacity: 1 !important;
		translate: none !important;
		scale: none !important;
	}

	.shc-article__head-inner,
	.shc-article__media-wrap,
	.shc-article__layout {
		display: block;
		max-width: none;
		padding: 0;
	}

	.shc-article__main {
		max-width: none;
	}

	.shc-prose {
		color: var(--shc-ink);
		font-size: 11.5pt;
		line-height: 1.55;
	}

	.shc-media__img,
	.shc-prose img,
	.shc-prose pre,
	.shc-glance,
	.shc-faq,
	.shc-table-scroll {
		box-shadow: none;
	}

	.shc-prose pre {
		border: 1px solid var(--shc-border-strong);
		background: var(--shc-page);
		color: var(--shc-ink);
	}

	/* A URL a reader cannot click is worth printing next to its link text. */
	.shc-prose a:not(.shc-btn)::after {
		content: " (" attr(href) ")";
		color: var(--shc-muted);
		font-size: 0.82em;
		word-break: break-all;
	}

	.shc-prose a[href^="#"]::after {
		content: "";
	}

	.shc-prose :where(h2, h3, h4) {
		break-after: avoid;
	}

	.shc-prose :where(figure, pre, blockquote, table, .shc-glance, .shc-faq__item) {
		break-inside: avoid;
	}
}
