/*
 * miniOrange Knowledge Base — page bodies of the redesigned FAQ pages:
 * homepage (.mo-home), KB category (.mo-kbc) and KB article (.mo-kba).
 *
 * Minimal and monochrome; orange is a sparse accent (primary buttons, focus
 * ring, active indicator, logo). Lists: grey hover + arrow; cards: lift.
 * Colours come from mo-tokens.css and follow the light/dark theme.
 * Every rule is scoped to .mo-ui (the <main> of those pages) or the page's
 * body class; element resets use :where() so component classes win.
 */

/* ------------------------------------------------------------------
 * Page frame
 * ------------------------------------------------------------------ */
/* Homepage: narrower page frame (header and content), other pages 1400px. */
body.mo-faq-home {
	--mo-page-max: 130rem;
}

html body.mo-ui-page {
	background: var(--mo-surface) !important;
	color: var(--mo-text);
}

.mo-ui {
	display: block;
	padding-bottom: 6rem;
	overflow-x: clip;
	background: var(--mo-surface);
	color: var(--mo-text);
	font-family: var(--mo-font);
	font-size: var(--mo-fs-md);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

@media (min-width: 900px) {
	.mo-ui {
		padding-bottom: 6rem;
	}
}

.mo-ui *,
.mo-ui *::before,
.mo-ui *::after {
	box-sizing: border-box;
}

/* Resets with class-level specificity: the theme styles bare elements
 * (h2 uppercase with 1px tracking, ul margin-bottom 10px, a:hover colour),
 * and component rules (.mo-ui .mo-…) still win over these. */
.mo-ui h1,
.mo-ui h2,
.mo-ui h3,
.mo-ui h4,
.mo-ui p,
.mo-ui ul,
.mo-ui ol,
.mo-ui figure {
	margin: 0;
	padding: 0;
}

.mo-ui h1,
.mo-ui h2,
.mo-ui h3,
.mo-ui h4 {
	font-family: var(--mo-font);
	color: var(--mo-text);
	letter-spacing: 0;
	text-transform: none;
}

.mo-ui ul,
.mo-ui ol {
	list-style: none;
}

.mo-ui a,
.mo-ui a:hover,
.mo-ui a:focus {
	color: inherit;
	text-decoration: none;
}

.mo-ui [hidden] {
	display: none !important;
}

.mo-ui :focus-visible {
	outline: 0.18rem solid var(--mo-focus);
	outline-offset: 0.25rem;
	border-radius: var(--mo-radius-sm);
}

.mo-ui ::selection {
	background: var(--mo-accent-soft);
	color: var(--mo-text);
}

/* ------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------ */
.mo-ui .mo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: var(--mo-control-h);
	margin: 0;
	padding: 0 1.75rem;
	border: 1px solid transparent;
	border-radius: var(--mo-radius-md);
	background: none;
	color: var(--mo-text);
	font-family: var(--mo-font);
	font-size: var(--mo-fs-md);
	font-weight: 500;
	line-height: 1.75;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: background-color var(--mo-speed) var(--mo-ease), border-color var(--mo-speed) var(--mo-ease), color var(--mo-speed) var(--mo-ease);
}

@media (pointer: coarse) {
	.mo-ui .mo-btn {
		min-height: 5.5rem;
	}
}

.mo-ui .mo-btn--primary,
.mo-ui a.mo-btn--primary {
	background: var(--mo-accent);
	color: var(--mo-on-accent);
}

.mo-ui .mo-btn--primary:hover,
.mo-ui a.mo-btn--primary:hover,
.mo-ui a.mo-btn--primary:focus {
	background: var(--mo-accent-hover);
	color: var(--mo-on-accent);
}

.mo-ui .mo-btn--primary:active {
	background: var(--mo-accent-pressed);
}

.mo-ui .mo-btn--outlined {
	border-color: var(--mo-border);
	background: var(--mo-surface);
	color: var(--mo-text);
}

.mo-ui .mo-btn--outlined:hover {
	border-color: var(--mo-border-strong);
	background: var(--mo-surface-subtle);
	color: var(--mo-text);
}

.mo-ui .mo-btn--text,
.mo-ui a.mo-btn--text {
	min-height: 3.5rem;
	padding: 0 1rem;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-sm);
}

.mo-ui .mo-btn--text:hover,
.mo-ui a.mo-btn--text:hover {
	background: var(--mo-surface-subtle);
	color: var(--mo-text);
}

/* ------------------------------------------------------------------
 * Section heading, meta, hover arrow
 * ------------------------------------------------------------------ */
.mo-ui .mo-sechead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	column-gap: 2rem;
	row-gap: 1rem;
	min-height: 3.5rem;
	margin-bottom: 2rem;
}

.mo-ui .mo-sechead__title {
	margin: 0;
	color: var(--mo-text);
	font-size: var(--mo-fs-xl);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.015em;
}

.mo-ui a.mo-sechead__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-sm);
	font-weight: 500;
	transition: color var(--mo-speed) var(--mo-ease);
}

.mo-ui a.mo-sechead__link:hover {
	color: var(--mo-text);
}

.mo-ui .mo-meta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-xs);
	line-height: 1.5;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.mo-ui .mo-meta .mo-icon {
	color: var(--mo-icon);
}

.mo-ui a.mo-meta--link {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.mo-ui a.mo-meta--link:hover {
	color: var(--mo-text);
	text-decoration: underline;
}

/* ------------------------------------------------------------------
 * Question rows
 * ------------------------------------------------------------------ */
.mo-ui a.mo-qrow {
	display: flex;
	align-items: center;
	gap: 4rem; /* title ↔ views and date */
	margin: 0 -1.5rem;
	padding: 1.25rem 1.5rem;
	border-radius: var(--mo-radius-md);
	color: var(--mo-text);
	transition: background-color var(--mo-speed) var(--mo-ease);
}

.mo-ui a.mo-qrow:hover {
	background: var(--mo-surface-subtle);
	color: var(--mo-text);
}

.mo-ui .mo-qrow__main {
	display: block;
	flex: 1;
	min-width: 0;
}

.mo-ui .mo-qrow__title {
	display: block;
	color: var(--mo-text);
	font-size: var(--mo-fs-lg);
	font-weight: 500;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.mo-ui .mo-qrow__path {
	display: block;
	margin-top: 0.5rem;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-xs);
	line-height: 1.5;
}

.mo-ui .mo-qrow__meta {
	gap: 2rem;
	flex-shrink: 0;
}

.mo-ui .mo-qrow__meta--side {
	display: none;
	align-items: center;
	white-space: nowrap;
}

/* KB category list and search results: questions separated by a thin line. */
.mo-ui .mo-kbc__list a.mo-qrow,
.mo-ui #mo-srch-list a.mo-qrow {
	padding-top: 1.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 0.2px solid #e5e5e5;
}

html[data-mo-theme="dark"] .mo-ui .mo-kbc__list a.mo-qrow,
html[data-mo-theme="dark"] .mo-ui #mo-srch-list a.mo-qrow {
	border-bottom-color: var(--mo-border);
}

/* Views and date, each with a small caption below ("Views", "Last updated"). */
.mo-ui .mo-meta--views,
.mo-ui .mo-meta--date {
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	line-height: 1.35;
}

.mo-ui .mo-meta__value {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.mo-ui .mo-meta__label {
	color: var(--mo-text-muted);
	font-size: 0.85em;
	opacity: 0.8;
}

/* Below the title (small screens): one line each, "49,351 Views" and
   "Last updated Jun 30, 2026". */
.mo-ui .mo-qrow__meta--below .mo-meta--views,
.mo-ui .mo-qrow__meta--below .mo-meta--date {
	flex-direction: row;
	align-items: center;
	gap: 0.4rem;
}

.mo-ui .mo-qrow__meta--below .mo-meta__label {
	font-size: inherit;
}

.mo-ui .mo-qrow__meta--below .mo-meta--date .mo-meta__label {
	order: -1;
}

.mo-ui .mo-qrow__meta--below {
	display: flex;
	gap: 1.5rem;
	margin-top: 0.5rem;
}

@media (min-width: 600px) {
	.mo-ui .mo-qrow__meta--side {
		display: flex;
	}

	.mo-ui .mo-qrow__meta--below {
		display: none;
	}
}

/* ------------------------------------------------------------------
 * Search box (hero size) + suggestions
 * ------------------------------------------------------------------ */
.mo-ui .mo-hero-search {
	width: 100%;
	max-width: 75rem;
	margin: 3rem auto 0;
	text-align: left;
}

.mo-ui .mo-hero-search.is-pinned {
	height: var(--mo-control-h-lg);
}

.mo-ui .mo-hero-search.is-pinned .mo-hero-search__bar {
	position: fixed;
	top: var(--mo-pin-top, var(--mo-header-h));
	left: 0;
	right: 0;
	z-index: 1090;
	padding: 1rem 0;
	border-bottom: 1px solid var(--mo-border);
	background: var(--mo-surface);
}

.mo-ui .mo-hero-search.is-pinned .mo-hero-search__inner {
	max-width: 75rem;
	margin: 0 auto;
	padding: 0 2rem;
}

@media (min-width: 600px) {
	.mo-ui .mo-hero-search.is-pinned .mo-hero-search__inner {
		box-sizing: content-box;
		padding: 0 3rem;
	}
}

.mo-ui .mo-search {
	position: relative;
	width: 100%;
	margin: 0;
}

.mo-ui .mo-search__field {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: var(--mo-control-h-lg);
	padding: 0.75rem 0.75rem 0.75rem 1.75rem;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-md);
	background: var(--mo-surface);
	transition: border-color var(--mo-speed) var(--mo-ease), box-shadow var(--mo-speed) var(--mo-ease);
}

.mo-ui .mo-search__field:hover {
	border-color: var(--mo-border-strong);
}

/* Focus: the box's own border turns orange (no separate ring, no gap). */
.mo-ui .mo-search__field:has(input:focus-visible) {
	outline: none;
	border-color: var(--mo-focus);
	box-shadow: 0 0 0 0.08rem var(--mo-focus);
}

.mo-ui .mo-search__icon {
	color: var(--mo-icon);
}

.mo-ui input.mo-search__input,
.mo-ui input.mo-search__input:focus {
	flex: 1;
	min-width: 0;
	height: 4.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	outline: none;
	color: var(--mo-text);
	font-family: var(--mo-font);
	font-size: var(--mo-fs-lg);
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
	width: auto;
	min-height: 0;
	box-sizing: border-box;
}

.mo-ui input.mo-search__input::placeholder {
	color: var(--mo-text-muted);
	opacity: 0.6; /* lighter than typed text */
}

.mo-ui input.mo-search__input::-webkit-search-cancel-button,
.mo-ui input.mo-search__input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}

.mo-ui button.mo-search__clear {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--mo-radius-md);
	background: none;
	color: var(--mo-icon);
	cursor: pointer;
}

.mo-ui button.mo-search__clear:hover {
	background: var(--mo-surface-subtle);
	color: var(--mo-text);
}

.mo-ui .mo-search__submit {
	flex-shrink: 0;
	min-height: 4.25rem;
	padding: 0 1.75rem;
	font-size: var(--mo-fs-sm);
}

/* Homepage search: soft drop shadow (kept with the focus ring). */
.mo-ui.mo-home .mo-search__field {
	box-shadow: rgb(202 210 216 / 20%) 0 0.8rem 2.4rem;
}

/* Pinned under the header: a shorter field. */
.mo-ui .is-pinned .mo-search__field {
	min-height: 5.5rem;
	padding: 0.5rem 0.5rem 0.5rem 1.25rem;
}

.mo-ui .is-pinned input.mo-search__input {
	height: 3.5rem;
	font-size: var(--mo-fs-md);
}

.mo-ui .is-pinned .mo-search__submit {
	min-height: 3.5rem;
}

.mo-ui .mo-search__pop {
	position: absolute;
	top: calc(100% + 0.75rem);
	left: 0;
	right: 0;
	z-index: 20;
	max-height: 50rem;
	overflow-y: auto;
	padding: 0.5rem;
	border-radius: var(--mo-radius-lg);
	background: var(--mo-surface);
	box-shadow: var(--mo-shadow-popover);
}

.mo-ui .mo-search__group {
	padding: 0 1.5rem;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-xs);
	font-weight: 500;
	line-height: 3.5rem;
}

.mo-ui .mo-search__option {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	min-height: 4.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--mo-radius-md);
	color: var(--mo-text);
	cursor: pointer;
}

.mo-ui .mo-search__option .mo-icon {
	margin-top: 0.375rem;
	color: var(--mo-icon);
}

.mo-ui .mo-search__option.is-active,
.mo-ui .mo-search__option:hover {
	background: var(--mo-surface-subtle);
}

.mo-ui .mo-search__option-text {
	display: block;
	min-width: 0;
}

.mo-ui .mo-search__option-title {
	display: block;
	font-size: var(--mo-fs-md);
	font-weight: 500;
	line-height: 1.6;
}

.mo-ui .mo-search__option-title mark {
	padding: 0 1px;
	border-radius: var(--mo-radius-sm);
	background: var(--mo-accent-soft);
	color: inherit;
}

.mo-ui .mo-search__option-path {
	display: block;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-xs);
	line-height: 1.5;
}

.mo-ui .mo-search__note {
	padding: 1rem 1.5rem;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-md);
}

/* ------------------------------------------------------------------
 * Homepage
 * ------------------------------------------------------------------ */
.mo-ui .mo-hero {
	position: relative;
	isolation: isolate;
	z-index: 2;
	margin-bottom: 3.2rem;
	border-bottom: 1px solid var(--mo-border);
}

@media (min-width: 900px) {
	.mo-ui .mo-hero {
		margin-bottom: 4rem;
	}
}

.mo-ui .mo-hero__backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	background:
		radial-gradient(45% 90% at 0% 0%, var(--mo-hero-glow) 0%, transparent 100%),
		radial-gradient(45% 90% at 100% 100%, var(--mo-hero-glow) 0%, transparent 100%),
		radial-gradient(50% 60% at 50% 0%, var(--mo-hero-glow-soft) 0%, transparent 100%);
}

.mo-ui .mo-hero__waves {
	position: absolute;
	display: none;
	width: 46%;
	height: 100%;
}

@media (min-width: 900px) {
	.mo-ui .mo-hero__waves {
		display: block;
	}
}

@media (min-width: 1200px) {
	.mo-ui .mo-hero__waves {
		width: 42%;
	}
}

.mo-ui .mo-hero__waves--tl {
	top: 0;
	left: 0;
	-webkit-mask-image: radial-gradient(farthest-side at 0% 0%, #000 25%, transparent 100%);
	mask-image: radial-gradient(farthest-side at 0% 0%, #000 25%, transparent 100%);
}

.mo-ui .mo-hero__waves--br {
	right: 0;
	bottom: 0;
	-webkit-mask-image: radial-gradient(farthest-side at 100% 100%, #000 25%, transparent 100%);
	mask-image: radial-gradient(farthest-side at 100% 100%, #000 25%, transparent 100%);
}

.mo-ui .mo-hero__waves svg {
	display: block;
	width: 100%;
	height: 100%;
}

.mo-ui .mo-hero__waves--br svg {
	transform: rotate(180deg);
}

.mo-ui .mo-hero__waves path {
	fill: none;
	stroke: var(--mo-hero-line);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.mo-ui .mo-hero__inner {
	position: relative;
	z-index: 1;
	padding-top: 4rem;
	padding-bottom: 4rem;
	text-align: center;
}

@media (min-width: 900px) {
	.mo-ui .mo-hero__inner {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}

.mo-ui h1.mo-hero__title {
	max-width: 80rem;
	margin: 0 auto;
	color: var(--mo-text);
	font-size: clamp(2.8rem, 2.2rem + 1.6vw, 3.2rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.03em;
}

@media (min-width: 900px) {
	.mo-ui h1.mo-hero__title {
		font-size: clamp(4.6rem, 3.4rem + 0.3vw, 5rem);
	}
}

.mo-ui .mo-hero .mo-hero-search {
	margin-top: 2.4rem;
}

@media (min-width: 900px) {
	.mo-ui .mo-hero .mo-hero-search {
		margin-top: 3.2rem;
	}
}

/*
 * Homepage cards. Products: 2 / 3 / one row of up to 6 per row; marketplaces:
 * 3 / 3 / one row of up to 6. --mo-cards-n (set inline) is the card count, so
 * a short list still fills the row.
 */
.mo-ui .mo-home__cards + .mo-home__cards {
	margin-top: 4.8rem;
}

@media (min-width: 900px) {
	.mo-ui .mo-home__cards + .mo-home__cards {
		margin-top: 4.4rem;
	}
}

.mo-ui .mo-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;
}

.mo-ui .mo-cards--markets {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Two columns: a last odd product card takes the whole row. */
@media (max-width: 599.98px) {
	.mo-ui .mo-cards--products > li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (min-width: 600px) {
	.mo-ui .mo-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.mo-ui .mo-cards {
		grid-template-columns: repeat(min(var(--mo-cards-n, 6), 6), minmax(0, 1fr));
		gap: 1.6rem;
	}

	.mo-ui .mo-cards--products {
		gap: 2.8rem;
	}
}

/* Six products in a row: narrower gaps so the names keep two lines. */
@media (min-width: 900px) and (max-width: 1199.98px) {
	.mo-ui .mo-cards--products {
		gap: 1.6rem;
	}
}

.mo-ui a.mo-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.2rem;
	height: 100%;
	min-height: 14rem;
	padding: 2.4rem 1.2rem 2rem;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-lg);
	background: var(--mo-surface);
	color: var(--mo-text);
	text-align: center;
	transition: transform var(--mo-speed) var(--mo-ease), box-shadow var(--mo-speed) var(--mo-ease), border-color var(--mo-speed) var(--mo-ease);
}

.mo-ui .mo-cards--markets a.mo-card {
	min-height: 13.6rem;
}

.mo-ui a.mo-card:hover {
	transform: translateY(-0.25rem);
	border-color: var(--mo-border-strong, var(--mo-border));
	box-shadow: var(--mo-shadow-lift);
	color: var(--mo-text);
}

/* Logos are designed for light backgrounds: white plate in both themes. */
.mo-ui .mo-card__plate {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 5.6rem;
	height: 5.6rem;
	border-radius: var(--mo-radius-md);
	background: var(--mo-white);
	color: #666666;
}

.mo-ui .mo-card__plate img {
	display: block;
	width: 5.6rem;
	height: 5.6rem;
	max-width: none;
	object-fit: contain;
}

.mo-ui .mo-cards--markets .mo-card__plate {
	width: 6.6rem;
	height: 6.6rem;
}

.mo-ui .mo-cards--markets .mo-card__plate img {
	width: 5.6rem;
	height: 6.6rem;
}

.mo-ui .mo-card__name {
	display: block;
	width: 100%;
	font-size: var(--mo-fs-sm);
	font-weight: 500;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

/* Product names on two balanced lines ("Data Privacy & / Protection"). */
.mo-ui .mo-cards--products .mo-card__name {
	max-width: 17ch;
	text-wrap: balance;
}

.mo-ui a.mo-kbc__topic {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 5rem;
	padding: 0 1.5rem;
	border-radius: var(--mo-radius-md);
	color: var(--mo-text);
	font-size: var(--mo-fs-md);
	font-weight: 400;
	transition: background-color var(--mo-speed) var(--mo-ease);
}

.mo-ui a.mo-kbc__topic > span {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mo-ui a.mo-kbc__topic:hover {
	background: var(--mo-surface-subtle);
	color: var(--mo-text);
}

.mo-ui .mo-home__lists {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 4rem;
	padding-top: 6.4rem;
}

@media (min-width: 1100px) {
	.mo-ui .mo-home__lists {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6.4rem;
		padding-top: 8rem;
	}
}

.mo-ui .mo-home__support {
	padding-top: 4.8rem;
}

@media (min-width: 900px) {
	.mo-ui .mo-home__support {
		padding-top: 5.6rem;
	}
}

/* ------------------------------------------------------------------
 * Support callout
 * ------------------------------------------------------------------ */
.mo-ui .mo-callout {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	padding: 2rem;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-lg);
}

@media (min-width: 600px) {
	.mo-ui .mo-callout {
		flex-direction: row;
		align-items: center;
	}
}

.mo-ui .mo-callout__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 4rem;
	height: 4rem;
	border-radius: var(--mo-radius-md);
	background: var(--mo-surface-subtle);
	color: var(--mo-icon);
}

.mo-ui .mo-callout__text {
	flex: 1;
	min-width: 0;
}

.mo-ui h2.mo-callout__title {
	margin: 0;
	color: var(--mo-text);
	font-size: var(--mo-fs-md);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
}

.mo-ui .mo-callout__desc {
	margin: 0;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-sm);
	line-height: 1.6;
}

.mo-ui a.mo-callout__btn {
	flex-shrink: 0;
	width: 100%;
}

/* White text in every state, whatever the theme sets for visited links. */
.mo-ui a.mo-callout__btn,
.mo-ui a.mo-callout__btn:link,
.mo-ui a.mo-callout__btn:visited,
.mo-ui a.mo-callout__btn:hover,
.mo-ui a.mo-callout__btn:focus,
.mo-ui a.mo-callout__btn:active {
	color: var(--mo-on-accent, #ffffff) !important;
	text-decoration: none;
}

@media (min-width: 600px) {
	.mo-ui a.mo-callout__btn {
		width: auto;
	}
}

/* ------------------------------------------------------------------
 * Page header ("mini hero") of category and article pages
 * ------------------------------------------------------------------ */
.mo-ui .mo-pagehead {
	position: relative;
	isolation: isolate;
	z-index: 2;
	padding: 4rem 0;
	border-bottom: 1px solid var(--mo-border);
	background:
		radial-gradient(50% 100% at 50% 0%, var(--mo-page-glow) 0%, transparent 100%),
		linear-gradient(to bottom, var(--mo-surface-subtle), var(--mo-surface));
	text-align: center;
}

@media (min-width: 900px) {
	.mo-ui .mo-pagehead {
		padding: 6rem 0 5rem;
	}
}

.mo-ui .mo-crumbs {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.mo-ui .mo-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-sm);
	line-height: 1.6;
}

.mo-ui .mo-crumbs li {
	display: flex;
	align-items: center;
	min-width: 0;
}

.mo-ui .mo-crumbs li + li::before {
	content: "/";
	margin: 0 0.75rem;
	color: var(--mo-border-strong);
}

.mo-ui .mo-crumbs a {
	padding: 0.5rem 0;
	color: var(--mo-text-muted);
	transition: color var(--mo-speed) var(--mo-ease);
}

.mo-ui .mo-crumbs a:hover {
	color: var(--mo-text);
}

.mo-ui .mo-crumbs [aria-current] {
	max-width: 22.5rem;
	overflow: hidden;
	color: var(--mo-text);
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 600px) {
	.mo-ui .mo-crumbs [aria-current] {
		max-width: 45rem;
	}
}

@media (min-width: 900px) {
	.mo-ui .mo-crumbs [aria-current] {
		max-width: 60rem;
	}
}

.mo-ui h1.mo-pagehead__title {
	max-width: 95rem;
	margin: 0 auto;
	color: var(--mo-text);
	font-size: var(--mo-fs-2xl);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	overflow-wrap: anywhere;
}

@media (min-width: 900px) {
	.mo-ui h1.mo-pagehead__title {
		font-size: var(--mo-fs-3xl);
	}
}

/* ------------------------------------------------------------------
 * KB category page
 * ------------------------------------------------------------------ */
.mo-kbc__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
	.mo-kbc__layout {
		grid-template-columns: clamp(22rem, 24vw, 29rem) minmax(0, 1fr);
		column-gap: clamp(3.2rem, 4vw, 6rem);
	}
}

.mo-ui .mo-kbc__aside {
	min-width: 0;
	padding-top: 3rem;
}

@media (min-width: 900px) {
	.mo-ui .mo-kbc__aside {
		margin-left: -1.5rem;
		padding-top: 4rem;
	}

	/* Long topic lists scroll inside the sidebar (scrollbar hidden). */
	.mo-ui .mo-kbc__sticky {
		--mo-kbc-top: calc(var(--mo-header-h) + var(--mo-sticky-search, 0px) + 3rem);
		position: sticky;
		top: var(--mo-kbc-top);
		display: flex;
		flex-direction: column;
		max-height: calc(100vh - var(--mo-kbc-top) - 2rem);
	}

	.admin-bar .mo-ui .mo-kbc__sticky {
		--mo-kbc-top: calc(32px + var(--mo-header-h) + var(--mo-sticky-search, 0px) + 3rem);
	}

	.mo-ui .mo-kbc__topics {
		min-height: 0;
		padding-right: 0.75rem;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-gutter: stable;
	}

	/*
	 * Scrollbar: a light full-length rounded track with a darker, shorter
	 * thumb that moves along it (darker again on hover / drag). Colours mix
	 * from the text colour, so they work in light and dark mode.
	 * Chrome 121+ ignores ::-webkit-scrollbar once scrollbar-color is set,
	 * so the standard properties are for Firefox only.
	 */
	.mo-ui .mo-kbc__topics::-webkit-scrollbar {
		width: 0.6rem;
	}

	.mo-ui .mo-kbc__topics::-webkit-scrollbar-track {
		border-radius: 999px;
		background: color-mix(in srgb, var(--mo-text) 7%, transparent);
	}

	.mo-ui .mo-kbc__topics::-webkit-scrollbar-thumb {
		min-height: 4rem;
		border-radius: 999px;
		background: color-mix(in srgb, var(--mo-text) 28%, transparent);
	}

	.mo-ui .mo-kbc__topics::-webkit-scrollbar-thumb:hover,
	.mo-ui .mo-kbc__topics::-webkit-scrollbar-thumb:active {
		background: color-mix(in srgb, var(--mo-text) 45%, transparent);
	}

	.mo-ui .mo-kbc__topics::-webkit-scrollbar-button {
		display: none;
		height: 0;
	}

	/* With faq-ui.js: the native scrollbar gives way to .mo-kbc__bar. */
	.mo-ui.mo-kbc--bar .mo-kbc__topics {
		overscroll-behavior: auto; /* at the ends, the wheel scrolls the page */
		padding-right: 1.6rem;
		scrollbar-width: none;
		scrollbar-gutter: auto;
	}

	.mo-ui.mo-kbc--bar .mo-kbc__topics::-webkit-scrollbar {
		display: none;
	}

	.mo-ui .mo-kbc__sticky {
		position: sticky; /* also the box .mo-kbc__bar is placed in */
	}

	.mo-ui .mo-kbc__bar {
		position: absolute;
		right: 0;
		width: 0.6rem;
		border-radius: 999px;
		background: color-mix(in srgb, var(--mo-text) 7%, transparent);
		cursor: pointer;
	}

	.mo-ui .mo-kbc__bar[hidden] {
		display: none;
	}

	.mo-ui .mo-kbc__bar-thumb {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		border-radius: 999px;
		background: color-mix(in srgb, var(--mo-text) 28%, transparent);
		cursor: grab;
		touch-action: none;
		transition: background-color var(--mo-speed) var(--mo-ease);
	}

	.mo-ui .mo-kbc__bar-thumb:hover,
	.mo-ui .mo-kbc__bar-thumb.is-dragging {
		background: color-mix(in srgb, var(--mo-text) 45%, transparent);
	}

	.mo-ui .mo-kbc__bar-thumb.is-dragging {
		cursor: grabbing;
	}

	@supports not selector(::-webkit-scrollbar) {
		.mo-ui .mo-kbc__topics {
			scrollbar-width: thin;
			scrollbar-color: color-mix(in srgb, var(--mo-text) 28%, transparent) color-mix(in srgb, var(--mo-text) 7%, transparent);
		}
	}
}

.mo-ui h2.mo-kbc__topics-title {
	display: none;
	align-items: center;
	min-height: var(--mo-control-h);
	margin: 0 0 2rem;
	padding: 0 1.5rem;
	color: var(--mo-text);
	font-size: var(--mo-fs-xl); /* same as section headings */
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.015em;
}

@media (min-width: 900px) {
	.mo-ui h2.mo-kbc__topics-title {
		display: flex;
	}
}

/* Mobile: topics as a scrolling row of pills. */
.mo-ui .mo-kbc__topics ul {
	display: flex;
	gap: 0.75rem;
	margin: 0 -2rem;
	padding: 0 2rem 2rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.mo-ui .mo-kbc__topics ul::-webkit-scrollbar {
	display: none;
}

.mo-ui .mo-kbc__topics li {
	flex-shrink: 0;
}

@media (max-width: 899.98px) {
	.mo-ui a.mo-kbc__topic {
		min-height: 4rem;
		padding: 0 1.5rem;
		border: 1px solid var(--mo-border);
		border-radius: 999px;
		font-size: var(--mo-fs-sm);
		font-weight: 500;
		white-space: nowrap;
	}

	.mo-ui a.mo-kbc__topic[aria-current] {
		border-color: var(--mo-accent);
		background: var(--mo-accent);
		color: var(--mo-on-accent);
	}

	.mo-ui a.mo-kbc__topic > span {
		overflow: visible;
	}

	.mo-ui .mo-kbc__expand {
		display: none;
	}

	/* Nested topics join the same row of pills. */
	.mo-ui .mo-kbc__topics li,
	.mo-ui .mo-kbc__topics ul.mo-kbc__subtopics {
		display: contents;
	}

	.mo-ui a.mo-kbc__topic {
		flex-shrink: 0;
	}
}

@media (pointer: coarse) and (max-width: 899.98px) {
	.mo-ui a.mo-kbc__topic {
		min-height: 5.5rem;
	}
}

/* Desktop: sidebar navigation with an orange indicator on the active item. */
@media (min-width: 900px) {
	.mo-ui .mo-kbc__topics ul {
		display: grid;
		grid-template-columns: minmax(0, 1fr); /* long names truncate instead of widening the list */
		gap: 0.25rem;
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.mo-ui a.mo-kbc__topic {
		min-height: 4.5rem;
		overflow: hidden; /* the indicator follows the rounded corners */
	}

	.mo-ui a.mo-kbc__topic[aria-current] {
		background: var(--mo-surface-selected);
		font-weight: 500;
	}

	.mo-ui .mo-kbc__topics ul.mo-kbc__subtopics {
		margin: 0.25rem 0 0 1.5rem;
		padding-left: 0.5rem;
		border-left: 1px solid var(--mo-border);
	}

	.mo-ui a.mo-kbc__topic--sub {
		min-height: 4rem;
		font-size: var(--mo-fs-sm);
	}

	.mo-ui a.mo-kbc__topic[aria-current]::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 0.3rem;
		background: var(--mo-accent);
	}

	/* Topics with sub-topics: chevron on the right opens and closes them. */
	.mo-ui .mo-kbc__group {
		position: relative;
	}

	.mo-ui a.mo-kbc__topic--parent {
		padding-right: 4.5rem;
	}

	.mo-ui .mo-kbc__expand {
		position: absolute;
		top: 0;
		right: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 4.5rem;
		height: 4.5rem;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: var(--mo-radius-md);
		background: transparent;
		color: var(--mo-icon);
		cursor: pointer;
	}

	/* The topic and its chevron highlight together, as one row. */
	.mo-ui .mo-kbc__expand:hover {
		background: transparent;
		color: var(--mo-text);
	}

	.mo-ui .mo-kbc__group:has(> .mo-kbc__expand:hover) > a.mo-kbc__topic--parent:not([aria-current]) {
		background: var(--mo-surface-subtle);
	}

	.mo-ui .mo-kbc__group:has(> a.mo-kbc__topic--parent:hover) > .mo-kbc__expand {
		color: var(--mo-text);
	}

	/* Closed: pointing right; open: pointing down. */
	.mo-ui .mo-kbc__chevron {
		transform: rotate(-90deg);
		transition: transform var(--mo-speed) var(--mo-ease);
	}

	.mo-ui .mo-kbc__group.is-open .mo-kbc__chevron {
		transform: none;
	}

	.mo-ui.mo-kbc--collapsible .mo-kbc__group:not(.is-open) > ul.mo-kbc__subtopics {
		display: none;
	}
}

.mo-ui .mo-kbc__main {
	min-width: 0;
}

@media (min-width: 900px) {
	.mo-ui .mo-kbc__main {
		padding-top: 4rem;
	}

	/* Same row height as "Topics", so both columns start on one line. */
	.mo-ui .mo-kbc__main > .mo-sechead {
		min-height: var(--mo-control-h);
	}
}

.mo-ui .mo-kbc__tools {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
}

.mo-ui .mo-select {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-width: 22rem;
}

.mo-ui .mo-select__icon {
	position: absolute;
	left: 1.5rem;
	color: var(--mo-icon);
	pointer-events: none;
}

.mo-ui .mo-select__chevron {
	position: absolute;
	right: 1.25rem;
	color: var(--mo-icon);
	pointer-events: none;
}

.mo-ui .mo-select select {
	width: 100%;
	height: var(--mo-control-h);
	margin: 0;
	padding: 0 4.25rem 0 4.25rem;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-md);
	background: var(--mo-surface);
	box-shadow: none;
	color: var(--mo-text);
	font-family: var(--mo-font);
	font-size: var(--mo-fs-md);
	line-height: 1.4;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	min-height: 0; /* theme: select { min-height: 45px } */
	transition: border-color var(--mo-speed) var(--mo-ease);
}

.mo-ui .mo-select select:hover {
	border-color: var(--mo-border-strong);
}

.mo-ui .mo-select select:focus {
	border-color: var(--mo-text-muted);
	box-shadow: 0 0 0 0.375rem var(--mo-surface-selected);
	outline: none;
}

.mo-ui .mo-select select:focus-visible {
	outline: 0.18rem solid var(--mo-focus);
	outline-offset: 1px;
}

.mo-ui .mo-select option {
	background: var(--mo-surface);
	color: var(--mo-text);
}

@media (pointer: coarse) {
	.mo-ui .mo-select select {
		height: 5.5rem;
	}
}

/* Path line only on "All questions" of a product with topics. */
.mo-kbc--no-paths .mo-qrow__path {
	display: none !important;
}

/* KB category pagination (built by faq-ui.js). */
.mo-ui #mo-kbc-heading {
	scroll-margin-top: calc(var(--mo-header-h) + var(--mo-sticky-search, 0px) + 2rem);
}

.mo-ui #mo-kbc-heading:focus {
	outline: none;
}

.mo-ui .mo-pager {
	margin: 3rem 0 0;
}

.mo-ui .mo-pager[hidden] {
	display: none;
}

.mo-ui .mo-pager__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mo-ui .mo-pager__list > li {
	margin: 0;
}

.mo-ui .mo-pager__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4rem;
	height: 4rem;
	padding: 0 1rem;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-md);
	background: var(--mo-surface);
	color: var(--mo-text);
	font: inherit;
	font-size: var(--mo-fs-sm);
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background-color var(--mo-speed) var(--mo-ease), border-color var(--mo-speed) var(--mo-ease), color var(--mo-speed) var(--mo-ease);
}

.mo-ui .mo-pager__btn:hover:not(:disabled):not([aria-current]) {
	border-color: var(--mo-border-strong);
	background: var(--mo-surface-subtle);
}

.mo-ui .mo-pager__btn[aria-current] {
	border-color: var(--mo-accent);
	background: var(--mo-accent);
	color: var(--mo-on-accent);
	cursor: default;
}

.mo-ui .mo-pager__btn:disabled {
	opacity: 0.45;
	cursor: default;
}

.mo-ui .mo-pager__gap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	color: var(--mo-text-muted);
}

@media (max-width: 599.98px) {
	.mo-ui .mo-pager__btn--step {
		padding: 0 0.8rem;
	}
}

.mo-ui .mo-loadmore {
	display: flex;
	justify-content: center;
	margin: 3rem 0 0;
}

.mo-ui .mo-loadmore:has(> [hidden]) {
	display: none;
}

.mo-ui .mo-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6rem 2rem;
	color: var(--mo-icon);
	text-align: center;
}

.mo-ui h3.mo-empty__title {
	margin: 1.5rem 0 0.5rem;
	color: var(--mo-text);
	font-size: var(--mo-fs-lg);
	font-weight: 600;
	line-height: 1.35;
}

.mo-ui .mo-empty__desc {
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-md);
}

.mo-ui .mo-kbc__support {
	margin-top: 6rem;
}

@media (min-width: 900px) {
	.mo-ui .mo-kbc__support {
		margin-top: 6rem;
	}
}

/* ------------------------------------------------------------------
 * KB article page
 * ------------------------------------------------------------------ */
.mo-ui .mo-kba__article,
.mo-ui .mo-kba__related {
	max-width: var(--mo-reading-max);
	margin-left: auto;
	margin-right: auto;
}

.mo-ui .mo-kba__article {
	padding-top: 3rem;
}

@media (min-width: 900px) {
	.mo-ui .mo-kba__article {
		padding-top: 4rem;
	}
}

.mo-ui a.mo-kba__back {
	margin: 0 0 2.5rem -1rem;
}

.mo-ui h2.mo-kba__title {
	margin: 0;
	color: var(--mo-text);
	font-size: var(--mo-fs-2xl);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.03em;
	overflow-wrap: anywhere;
}

@media (min-width: 900px) {
	.mo-ui h2.mo-kba__title {
		font-size: var(--mo-fs-3xl);
	}
}

.mo-ui .mo-kba__meta {
	display: flex;
	flex-wrap: wrap;
	column-gap: 2.5rem;
	row-gap: 1rem;
	margin-top: 1rem;
}

.mo-ui hr.mo-divider {
	height: 0;
	margin: 3rem 0;
	border: 0;
	border-top: 1px solid var(--mo-border);
	background: none;
}

.mo-ui .mo-kba__tags {
	margin-top: 3rem;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-sm);
}

.mo-ui .mo-kba__tags a {
	display: inline-flex;
	margin: 0 0.5rem 0.5rem 0;
	padding: 0.25rem 1rem;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-md);
	color: var(--mo-text);
	font-weight: 500;
}

.mo-ui .mo-kba__tags a:hover {
	background: var(--mo-surface-subtle);
}

/* Theme attachments block, toned to the design. */
.mo-ui .manual_attached_section {
	margin-top: 3rem;
	padding: 2rem;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-lg);
	color: var(--mo-text);
}

.mo-ui .manual_attached_section h5 {
	margin: 0 0 1rem;
	color: var(--mo-text);
	font-family: var(--mo-font);
	font-size: var(--mo-fs-md);
	font-weight: 600;
}

.mo-ui .manual_attached_section a {
	color: var(--mo-text);
	text-decoration: underline;
}

/* "Was this helpful?" */
.mo-ui .mo-feedback {
	margin-top: 2rem;
	padding: 2rem;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-lg);
	background: var(--mo-surface-subtle);
}

.mo-ui .mo-feedback__row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	gap: 2rem;
}

@media (min-width: 600px) {
	.mo-ui .mo-feedback__row {
		flex-direction: row;
		align-items: center;
	}
}

.mo-ui h2.mo-feedback__title {
	margin: 0;
	color: var(--mo-text);
	font-size: var(--mo-fs-md);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
}

.mo-ui .mo-feedback__buttons {
	display: flex;
	flex-shrink: 0;
	gap: 1rem;
}

.mo-ui .mo-feedback__buttons .mo-btn {
	flex: 1;
}

@media (min-width: 600px) {
	.mo-ui .mo-feedback__buttons .mo-btn {
		flex: none;
	}
}

.mo-ui .mo-feedback__buttons .mo-btn[data-vote="post-like"][aria-pressed="true"],
.mo-ui .mo-feedback__buttons .mo-btn[data-vote="post-like"]:hover:not(:disabled) {
	border-color: var(--mo-success);
	background: var(--mo-success);
	color: #ffffff;
}

.mo-ui .mo-feedback__buttons .mo-btn[data-vote="post-unlike"][aria-pressed="true"],
.mo-ui .mo-feedback__buttons .mo-btn[data-vote="post-unlike"]:hover:not(:disabled) {
	border-color: var(--mo-error);
	background: var(--mo-error);
	color: #ffffff;
}

.mo-ui .mo-feedback__buttons .mo-btn:disabled {
	cursor: default;
}

.mo-ui .mo-feedback__msg {
	margin-top: 1.25rem;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-sm);
}

.mo-ui .mo-feedback__msg a {
	color: var(--mo-text);
	font-weight: 500;
	text-decoration: underline !important; /* theme forces none !important on links */
	text-underline-offset: 0.2em;
}

.mo-ui .mo-kba__related {
	margin-top: 6rem;
}

/* ------------------------------------------------------------------
 * Article body (WordPress content): 15px, relaxed leading
 * ------------------------------------------------------------------ */
.mo-ui .mo-prose {
	color: var(--mo-text);
	font-family: var(--mo-font);
	font-size: var(--mo-fs-lg);
	line-height: 1.75;
	overflow-wrap: break-word;
}

/* Most articles are wrapped in WPBakery rows: the theme's Bootstrap gives
   .container a fixed 1170px width and the row/columns negative margins and
   gutters, which push the answer outside the article. Keep them inside. */
.mo-ui .mo-prose .container,
.mo-ui .mo-prose .container-fluid {
	width: auto;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

.mo-ui .mo-prose .vc_row,
.mo-ui .mo-prose .row {
	margin-left: 0;
	margin-right: 0;
}

.mo-ui .mo-prose .vc_column_container > .vc_column-inner,
.mo-ui .mo-prose [class*="vc_col-"],
.mo-ui .mo-prose [class*="col-xs-"],
.mo-ui .mo-prose [class*="col-sm-"],
.mo-ui .mo-prose [class*="col-md-"],
.mo-ui .mo-prose [class*="col-lg-"] {
	padding-left: 0;
	padding-right: 0;
}

.mo-ui .mo-prose img,
.mo-ui .mo-prose video,
.mo-ui .mo-prose iframe {
	max-width: 100%;
}

.mo-ui .mo-prose img,
.mo-ui .mo-prose video {
	height: auto;
}

.mo-ui .mo-prose > :first-child {
	margin-top: 0 !important;
}

.mo-ui .mo-prose :where(p, li, td, th, dd, dt, blockquote, span, div) {
	font-family: var(--mo-font);
	font-size: inherit;
	line-height: inherit;
}

.mo-ui .mo-prose :where(p, li, td, th, blockquote, span, div, strong, em, b, i, u) {
	color: inherit;
}

.mo-ui .mo-prose p {
	margin: 1.5rem 0;
}

.mo-ui .mo-prose :where(h1, h2, h3, h4, h5, h6) {
	color: var(--mo-text);
	font-family: var(--mo-font);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-transform: none;
}

.mo-ui .mo-prose :where(h1, h2) {
	margin: 5rem 0 1.5rem;
	font-size: var(--mo-fs-xl);
}

@media (min-width: 900px) {
	.mo-ui .mo-prose :where(h1, h2) {
		font-size: var(--mo-fs-2xl);
	}
}

.mo-ui .mo-prose h3 {
	margin: 4rem 0 1rem;
	font-size: var(--mo-fs-xl);
}

.mo-ui .mo-prose :where(h4, h5, h6) {
	margin: 3rem 0 1rem;
	font-size: var(--mo-fs-lg);
}

.mo-ui .mo-prose :where(strong, b) {
	font-weight: 600;
}

.mo-ui .mo-prose a {
	color: var(--mo-text);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--mo-text-muted);
	text-underline-offset: 0.2em;
	transition: text-decoration-color var(--mo-speed) var(--mo-ease);
}

.mo-ui .mo-prose a:hover,
.mo-ui .mo-prose a:focus {
	color: var(--mo-text);
	text-decoration: underline;
	text-decoration-color: var(--mo-text);
}

.mo-ui .mo-prose ul,
.mo-ui .mo-prose ol {
	margin: 1.5rem 0;
	padding-left: 3rem;
}

.mo-ui .mo-prose ul {
	list-style: disc;
}

.mo-ui .mo-prose ol {
	list-style: decimal;
}

.mo-ui .mo-prose li {
	margin: 0.75rem 0;
	padding-left: 0.5rem;
}

.mo-ui .mo-prose li::marker {
	color: var(--mo-text-muted);
	font-variant-numeric: tabular-nums;
}

.mo-ui .mo-prose li > p:first-child {
	margin-top: 0;
}

.mo-ui .mo-prose li > p:last-child {
	margin-bottom: 0;
}

.mo-ui .mo-prose img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 3rem 0;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-lg);
}

.mo-ui .mo-prose a > img {
	display: block;
}

.mo-ui .mo-prose :where(figure, .wp-caption) {
	max-width: 100%;
	margin: 3rem 0;
}

.mo-ui .mo-prose :where(figure, .wp-caption) img {
	margin: 0;
}

.mo-ui .mo-prose :where(figcaption, .wp-caption-text) {
	margin-top: 1rem;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-xs);
	line-height: 1.5;
}

.mo-ui .mo-prose code,
.mo-ui .mo-prose kbd {
	padding: 1px 0.5rem;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-sm);
	background: var(--mo-surface-subtle);
	color: var(--mo-text);
	font-family: var(--mo-font-mono);
	font-size: 0.88em;
	overflow-wrap: anywhere;
}

.mo-ui .mo-prose pre {
	margin: 2.5rem 0;
	padding: 2rem;
	overflow-x: auto;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-lg);
	background: var(--mo-surface-subtle);
	color: var(--mo-text);
	font-family: var(--mo-font-mono);
	font-size: var(--mo-fs-sm);
	line-height: 1.6;
	white-space: pre;
	word-break: normal;
}

.mo-ui .mo-prose pre code {
	padding: 0;
	border: 0;
	background: none;
	font-size: inherit;
	overflow-wrap: normal;
}

.mo-ui .mo-prose table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 3rem 0;
	overflow-x: auto;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	font-size: var(--mo-fs-sm);
	line-height: 1.6;
}

.mo-ui .mo-prose :where(th, td) {
	min-width: 15rem;
	padding: 0.75rem 2rem;
	border: 0;
	border-bottom: 1px solid var(--mo-border);
	background: none;
	vertical-align: top;
	text-align: left;
}

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

.mo-ui .mo-prose th {
	background: var(--mo-surface-subtle);
	font-weight: 600;
}

.mo-ui .mo-prose blockquote {
	margin: 3rem 0;
	padding: 1.5rem 2rem;
	border: 1px solid var(--mo-border);
	border-left: 0.375rem solid var(--mo-border-strong);
	border-radius: var(--mo-radius-lg);
	background: var(--mo-surface-subtle);
}

.mo-ui .mo-prose hr {
	margin: 4rem 0;
	border: 0;
	border-top: 1px solid var(--mo-border);
}

.mo-ui .mo-prose :where(iframe, video) {
	display: block;
	max-width: 100%;
	margin: 3rem 0;
	border: 0;
	border-radius: var(--mo-radius-lg);
}

/* Highlighted boxes some articles use (inline background colours). */
html[data-mo-theme="dark"] .mo-ui .mo-prose [style*="background"] {
	background-color: var(--mo-surface-subtle) !important;
}

html[data-mo-theme="dark"] .mo-ui .mo-prose [style*="color"]:not(a) {
	color: inherit !important;
}

/* ------------------------------------------------------------------
 * Search results page
 * ------------------------------------------------------------------ */
.mo-ui .mo-srch__body {
	max-width: 100rem;
	margin: 0 auto;
	padding-top: 2.4rem;
}

@media (min-width: 900px) {
	.mo-ui .mo-srch__body {
		padding-top: 4rem;
	}
}

.mo-ui .mo-pills {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.75rem;
	margin: 0 -2rem;
	padding: 0 2rem 2rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.mo-ui .mo-pills::-webkit-scrollbar {
	display: none;
}

@media (min-width: 600px) {
	.mo-ui .mo-pills {
		flex-wrap: wrap;
		margin: 0;
		padding: 0 0 2rem;
		overflow: visible;
	}
}

.mo-ui a.mo-pill {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	height: 3.75rem;
	padding: 0 1.5rem;
	border: 1px solid var(--mo-border);
	border-radius: 999px;
	background: transparent;
	color: var(--mo-text);
	font-size: var(--mo-fs-sm);
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: background-color var(--mo-speed) var(--mo-ease), border-color var(--mo-speed) var(--mo-ease);
}

.mo-ui a.mo-pill:hover {
	background: var(--mo-surface-subtle);
	color: var(--mo-text);
}

.mo-ui a.mo-pill[aria-current],
.mo-ui a.mo-pill[aria-current]:hover {
	border-color: var(--mo-accent);
	background: var(--mo-accent);
	color: var(--mo-on-accent);
}

.mo-ui a.mo-pill[aria-current]:hover {
	border-color: var(--mo-accent-hover);
	background: var(--mo-accent-hover);
}

@media (pointer: coarse) {
	.mo-ui a.mo-pill {
		height: 5rem;
	}
}

.mo-ui .mo-srch__count {
	margin: 0 0 1rem;
	color: var(--mo-text-muted);
	font-size: var(--mo-fs-xs);
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

.mo-ui mark {
	padding: 0 1px;
	border-radius: var(--mo-radius-sm);
	background: var(--mo-accent-soft);
	color: inherit;
}

.mo-ui .mo-empty--boxed {
	padding: 6rem 3rem;
	border: 1px dashed var(--mo-border);
	border-radius: var(--mo-radius-lg);
}

@media (min-width: 900px) {
	.mo-ui .mo-empty--boxed {
		padding: 2rem 3rem;
	}
}

.mo-ui .mo-empty__icon {
	display: grid;
	place-items: center;
	width: 6rem;
	height: 6rem;
	margin: 0 auto 2rem;
	border: 1px solid var(--mo-border);
	border-radius: var(--mo-radius-lg);
	color: var(--mo-icon);
}

.mo-ui .mo-empty--boxed h2.mo-empty__title {
	margin: 0;
	color: var(--mo-text);
	font-size: var(--mo-fs-xl);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.015em;
}

.mo-ui .mo-empty--boxed .mo-empty__desc {
	max-width: 52.5rem;
	margin: 0.75rem auto 0;
}

.mo-ui .mo-empty__actions {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	margin-top: 3rem;
}

@media (min-width: 600px) {
	.mo-ui .mo-empty__actions {
		flex-direction: row;
	}
}

.mo-ui .mo-srch__support {
	margin-top: 6rem;
}

@media (min-width: 900px) {
	.mo-ui .mo-srch__support {
		margin-top: 6rem;
	}
}

/* 404 page: popular questions below the message. */
.mo-ui .mo-404__popular {
	margin-top: 4rem;
}

@media (max-width: 899.98px) {
	.mo-ui .mo-kbc__bar {
		display: none;
	}
}
