/*
 * Public forum styles. Everything is scoped under .sigqa and defensively reset,
 * because heavy themes (Flatsome among them) bleed button, input and heading
 * styles into embedded widgets.
 */

.sigqa {
	--sigqa-accent: #EA3959;
	--sigqa-ink: #1d2327;
	--sigqa-muted: #646970;
	--sigqa-line: #e2e4e7;
	--sigqa-soft: #f6f7f8;
	--sigqa-radius: 5px;
	/* Buttons and fields follow the site's corners (Flatsome buttons here run
	 * 4-6px), so the forum reads as part of the site, not a widget. */
	--sigqa-radius-control: 6px;
	/* Buttons carry their own admin-chosen colour; falls back to the accent. */
	--sigqa-btn: var(--sigqa-accent);

	box-sizing: border-box;
	max-width: 980px;
	margin: 0 auto;
	color: var(--sigqa-ink);
	font-size: 16px;
	line-height: 1.6;
}

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

/* The ask page renders right under the header; give the form air. */
.sigqa--ask {
	padding-top: 32px;
	padding-bottom: 16px;
}

.sigqa h2,
.sigqa h3 {
	margin: 0;
	color: var(--sigqa-ink);
	line-height: 1.3;
}

.sigqa p {
	margin: 0 0 0.6em;
}

.sigqa a {
	text-decoration: none;
}

/* Flatsome gives every form a bottom margin, which knocks the search bar and
 * the ask button out of line; our forms space themselves. */
.sigqa form {
	margin: 0;
}

.sigqa .sig-ui-icon {
	flex: 0 0 auto;
	vertical-align: middle;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.sigqa-btn,
.sigqa-btn:hover,
.sigqa-btn:focus {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border: 0;
	border-radius: var(--sigqa-radius-control);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
	text-decoration: none;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
}

.sigqa-btn--primary,
.sigqa-btn--primary:hover,
.sigqa-btn--primary:focus {
	background: var(--sigqa-btn);
	color: #fff;
}

@media (hover: hover) {
	.sigqa-btn--primary:hover {
		transform: translateY(-1px);
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
	}
}

.sigqa-btn--ghost,
.sigqa-btn--ghost:hover,
.sigqa-btn--ghost:focus {
	background: transparent;
	color: var(--sigqa-ink);
	border: 1px solid var(--sigqa-line);
}

/* ------------------------------------------------------------------ */
/* Toolbar: search + ask                                               */
/* ------------------------------------------------------------------ */

.sigqa-toolbar {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 16px;
}

/* One composite bar: [category scope][magnifier + input]. */
.sigqa-search {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	color: var(--sigqa-muted);
}

.sigqa-search__box {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}

/* The magnifier is a real button: click searches what is in the box. */
.sigqa-search__btn,
.sigqa-search__btn:hover,
.sigqa-search__btn:focus {
	position: absolute;
	left: 6px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--sigqa-muted);
	cursor: pointer;
	box-shadow: none;
	transition: color 0.12s ease, background 0.12s ease;
}

.sigqa-search__btn:hover {
	color: var(--sigqa-accent);
	background: color-mix(in srgb, var(--sigqa-accent) 8%, transparent);
}

/* Suggestions under the box, in the same rounded language as the cards. */
.sigqa-suggest {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 30;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--sigqa-line);
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
}

.sigqa-suggest li {
	margin: 0;
	list-style: none;
}

.sigqa-suggest a,
.sigqa-suggest a:hover,
.sigqa-suggest a:focus {
	display: block;
	padding: 10px 14px;
	border-radius: 9px;
	color: var(--sigqa-ink);
	font-size: 14.5px;
	line-height: 1.45;
	text-decoration: none;
	cursor: pointer;
}

.sigqa-suggest li:hover a,
.sigqa-suggest li.is-active a {
	background: var(--sigqa-soft);
	color: var(--sigqa-accent);
}

.sigqa .sigqa-search input[type="search"],
.sigqa .sigqa-search input[type="search"]:not(:focus) {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 104px 0 46px;
	border: 1px solid var(--sigqa-line);
	border-radius: var(--sigqa-radius-control);
	background: #fff;
	color: var(--sigqa-ink);
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.sigqa .sigqa-search input[type="search"]:focus {
	outline: none;
	border-color: var(--sigqa-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sigqa-accent) 18%, transparent);
}

/* The labelled search button, embedded in the field's right end. */
.sigqa-search__go,
.sigqa-search__go:hover,
.sigqa-search__go:focus {
	position: absolute;
	right: 5px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	height: 34px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: var(--sigqa-radius-control);
	background: var(--sigqa-btn);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	box-shadow: none;
	transition: filter 0.12s ease;
}

.sigqa-search__go:hover {
	filter: brightness(0.94);
}

/* The category scope: our own dropdown, opening in place under its button. */
.sigqa-scope {
	position: relative;
	flex: 0 0 auto;
	min-width: 120px;
	max-width: 240px;
}

.sigqa-scope__btn,
.sigqa-scope__btn:hover,
.sigqa-scope__btn:focus {
	display: flex;
	align-items: center;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 38px 0 18px;
	border: 1px solid var(--sigqa-line);
	border-radius: var(--sigqa-radius-control);
	background-color: #fff;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646970' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px 16px;
	color: var(--sigqa-ink);
	font-size: 14.5px;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	box-shadow: none;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.sigqa-scope__btn:focus {
	outline: none;
	border-color: var(--sigqa-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sigqa-accent) 18%, transparent);
}

.sigqa-scope__btn span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sigqa-scope__menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 100001;
	min-width: 100%;
	width: max-content;
	max-width: 300px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--sigqa-line);
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
}

.sigqa-scope__opt {
	margin: 0;
	padding: 10px 14px;
	border-radius: 9px;
	list-style: none;
	color: var(--sigqa-ink);
	font-size: 14.5px;
	line-height: 1.45;
	cursor: pointer;
	white-space: nowrap;
}

.sigqa-scope__opt:hover {
	background: var(--sigqa-soft);
	color: var(--sigqa-accent);
}

.sigqa-scope__opt.is-sel {
	font-weight: 600;
	color: var(--sigqa-accent);
}

/* The frosted page behind an engaged mobile search. */
.sigqa-search-backdrop {
	position: fixed;
	inset: 0;
	z-index: 99990;
	background: rgba(16, 24, 40, 0.35);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	visibility: hidden;
	/* Closed it takes no taps at all; open it takes them all and only ever
	 * dismisses - a cancelling tap must never reach the page underneath. */
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

/* Holds the pinned bar's row open so the list never jumps under it. */
.sigqa-search-placeholder {
	flex: 1 1 100%;
}

.sigqa-search-backdrop.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Lock scrolling while the mobile search is engaged. overflow:hidden keeps
 * the scroll position; position:fixed on <body> would break the blur. */
html.sigqa-search-locked,
body.sigqa-search-locked {
	overflow: hidden;
}

/* One 44px height across the toolbar: button, search box, category picker. */
.sigqa-toolbar .sigqa-btn {
	height: 44px;
	padding-top: 0;
	padding-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Cards                                                               */
/* ------------------------------------------------------------------ */

/* One full-width card per question. */
.sigqa-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

/* The card's colours and rounding are admin-chosen (Question cards). */
.sigqa-card,
.sigqa-card:hover,
.sigqa-card:focus {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 22px 26px;
	border: 1px solid var(--sigqa-card-border, var(--sigqa-line));
	border-radius: var(--sigqa-card-radius, 5px);
	background: var(--sigqa-card-bg, #fff);
	color: var(--sigqa-ink);
	text-decoration: none;
	transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
	-webkit-tap-highlight-color: transparent;
}

/* Only on devices that really hover: on a touch screen the tap would flash
 * the lift and the recolour for a split second before the page changes. */
@media (hover: hover) {
	.sigqa-card:hover {
		transform: translateY(-2px);
		border-color: color-mix(in srgb, var(--sigqa-accent) 45%, var(--sigqa-card-border, var(--sigqa-line)));
		box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
	}
}

/* Left: the question itself. */
.sigqa-card__main {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}

/* Right: the numbers and the invitation, out of the reading flow. */
.sigqa-card__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	flex: 0 0 auto;
	padding-left: 24px;
	border-left: 1px solid var(--sigqa-soft);
}

.sigqa-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sigqa-card__cat {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	/* Admin-chosen: the text carries the colour, the pill a soft tint of it. */
	background: color-mix(in srgb, var(--sigqa-chip, #50575e) 10%, #fff);
	color: var(--sigqa-chip, #50575e);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

/* The question is the card: big enough to read at a glance, at most two
 * lines at full width. */
.sigqa-card__title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.005em;
	color: var(--sigqa-card-title, var(--sigqa-ink));
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.14s ease;
}

@media (hover: hover) {
	.sigqa-card:hover .sigqa-card__title {
		color: var(--sigqa-accent);
	}
}

.sigqa-card__excerpt {
	margin: 0;
	max-width: 72ch;
	font-size: 15px;
	line-height: 1.65;
	color: var(--sigqa-card-text, #50575e);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sigqa-card__date {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	white-space: nowrap;
	font-size: 13px;
	color: var(--sigqa-muted);
}

.sigqa-card__more {
	font-weight: 600;
	color: var(--sigqa-accent);
	white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Pager                                                               */
/* ------------------------------------------------------------------ */

.sigqa-pager {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 24px 0 8px;
}

.sigqa-pager__page,
.sigqa-pager__page:hover,
.sigqa-pager__page:focus {
	min-width: 38px;
	padding: 8px 0;
	border-radius: 10px;
	border: 1px solid var(--sigqa-line);
	background: #fff;
	color: var(--sigqa-ink);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.sigqa-pager__page.is-current {
	background: var(--sigqa-accent);
	border-color: var(--sigqa-accent);
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Flash + empty                                                       */
/* ------------------------------------------------------------------ */

.sigqa-flash {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--sigqa-soft);
	color: var(--sigqa-ink);
	font-size: 15px;
}

.sigqa-flash--ok {
	background: #edf7ee;
	color: #1e4620;
}

.sigqa-flash--warn {
	background: #fdf0e6;
	color: #6d3b12;
}

.sigqa-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 48px 20px;
	border: 1px dashed var(--sigqa-line);
	border-radius: var(--sigqa-radius);
	color: var(--sigqa-muted);
	text-align: center;
}

.sigqa-empty .sig-ui-icon {
	color: var(--sigqa-accent);
}

/* ------------------------------------------------------------------ */
/* Detail: head + thread                                               */
/* ------------------------------------------------------------------ */

/* Back link left, and (for a signed-in team member) the desk shortcut right. */
.sigqa-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.sigqa-deskjump-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 3px;
}

.sigqa-deskjump,
.sigqa-deskjump:hover,
.sigqa-deskjump:focus {
	padding: 8px 16px;
	font-size: 13.5px;
}

.sigqa-deskjump-note {
	font-size: 11.5px;
	color: var(--sigqa-muted);
}

.sigqa-back,
.sigqa-back:hover,
.sigqa-back:focus {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--sigqa-muted);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.sigqa-back:hover {
	color: var(--sigqa-accent);
}

.sigqa-head {
	margin-bottom: 22px;
}

.sigqa-head__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 13px;
	color: var(--sigqa-muted);
}

.sigqa-head__title {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.sigqa-badge {
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.sigqa-badge--closed {
	background: var(--sigqa-soft);
	color: var(--sigqa-muted);
}

.sigqa-thread {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sigqa-turn {
	border-radius: var(--sigqa-radius);
	padding: 18px 20px;
}

.sigqa-turn--question {
	background: var(--sigqa-soft);
	border: 1px solid var(--sigqa-line);
}

.sigqa-turn--answer {
	background: #fff;
	border: 1px solid var(--sigqa-line);
	border-left: 3px solid var(--sigqa-accent);
	box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}

.sigqa-turn__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--sigqa-muted);
}

.sigqa-turn__bar time {
	margin-left: auto;
	white-space: nowrap;
}

.sigqa-turn__who {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.sigqa-turn__who strong {
	color: var(--sigqa-ink);
	font-size: 14px;
}

.sigqa-turn__who em {
	font-style: normal;
	font-size: 12px;
	color: var(--sigqa-muted);
}

/* The conversation is what the reader came for, so it is set larger than the
 * rest of the page. In rem, so a site that scales its root size scales with it. */
.sigqa-turn__body {
	font-size: 1.3rem;
}

.sigqa-turn__body p:last-child {
	margin-bottom: 0;
}

.sigqa-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	overflow: hidden;
	background: color-mix(in srgb, var(--sigqa-accent) 12%, #fff);
	color: var(--sigqa-accent);
	font-size: 14px;
	font-weight: 700;
	flex: 0 0 auto;
}

.sigqa-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ------------------------------------------------------------------ */
/* Follow-up + ask forms                                               */
/* ------------------------------------------------------------------ */

.sigqa-follow {
	margin-top: 26px;
	padding: 20px;
	border: 1px solid var(--sigqa-line);
	border-radius: var(--sigqa-radius);
	background: #fff;
}

.sigqa-follow h3 {
	font-size: 17px;
	margin-bottom: 4px;
}

.sigqa-follow__hint {
	font-size: 13px;
	color: var(--sigqa-muted);
}

.sigqa-follow__actions,
.sigqa-ask__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 14px;
}

/* What happens after sending, next to the button that sends it. Quiet, but
 * above the fold of the decision rather than buried in a field hint. */
.sigqa .sigqa-ask__notice {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--sigqa-line);
	font-size: 13px;
	line-height: 1.5;
	color: var(--sigqa-muted);
}

/* The consent line opens the small print above the button, so it carries that
 * block's rule and the notice below it follows on. Site-authored HTML, so its
 * own paragraphs are flattened into the same quiet line. */
.sigqa .sigqa-ask__consent {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--sigqa-line);
	font-size: 13px;
	line-height: 1.5;
	color: var(--sigqa-muted);
}

.sigqa .sigqa-ask__consent + .sigqa-ask__notice {
	margin-top: 4px;
	padding-top: 0;
	border-top: 0;
}

.sigqa .sigqa-ask__consent p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.sigqa .sigqa-ask__consent p + p {
	margin-top: 4px;
}

.sigqa .sigqa-ask__consent a {
	color: inherit;
	text-decoration: underline;
}

.sigqa .sigqa-ask__consent a:hover,
.sigqa .sigqa-ask__consent a:focus {
	color: var(--sigqa-accent);
}

.sigqa-ask {
	padding: 24px;
	border: 1px solid var(--sigqa-line);
	border-radius: var(--sigqa-radius);
	background: #fff;
}

.sigqa-ask__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.sigqa-field {
	margin-bottom: 16px;
}

.sigqa-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--sigqa-ink);
}

.sigqa-field__hint {
	margin: 6px 0 0;
	font-size: 12.5px;
	color: var(--sigqa-muted);
}

.sigqa input[type="text"],
.sigqa input[type="email"],
.sigqa select,
.sigqa textarea {
	width: 100%;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--sigqa-line);
	border-radius: var(--sigqa-radius-control);
	background: #fff;
	color: var(--sigqa-ink);
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

/* Selects get their own metrics: Flatsome caps their height, which pushed
 * the chosen value off-centre inside the box. Own chevron, since
 * appearance:none removes the native one. */
.sigqa .sigqa-field select {
	height: 44px;
	padding: 0 40px 0 14px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646970' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px 16px;
	cursor: pointer;
}

.sigqa input[type="text"]:focus,
.sigqa input[type="email"]:focus,
.sigqa select:focus,
.sigqa textarea:focus {
	outline: none;
	border-color: var(--sigqa-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sigqa-accent) 18%, transparent);
}

.sigqa textarea {
	resize: vertical;
	min-height: 110px;
}

/* Validation, the house way: the message under the field, the border tinted. */
.sigqa-error {
	margin: 6px 0 0;
	color: #b3261e;
	font-size: 13px;
}

.sigqa .is-invalid input,
.sigqa .is-invalid textarea,
.sigqa .is-invalid select {
	border-color: #e19aa4;
}

/* The honeypot lives off-canvas, not display:none — some bots skip hidden fields. */
.sigqa-hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Related service card                                                */
/* ------------------------------------------------------------------ */

.sigqa-service {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 18px;
	padding: 18px 22px;
	border: 1px solid var(--sigqa-line);
	border-left: 3px solid var(--sigqa-accent);
	border-radius: var(--sigqa-radius);
	background: #fff;
	box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}

.sigqa-service__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-right: auto;
	min-width: 0;
}

.sigqa-service__eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--sigqa-muted);
}

.sigqa-service__name {
	font-size: 16px;
	color: var(--sigqa-ink);
	overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ */
/* Ask card: the invitation, above the questions                       */
/* ------------------------------------------------------------------ */

/* Its own card rather than a button in the toolbar, where it went unnoticed
 * next to the search bar. The tint is faint; the button carries the contrast. */
.sigqa-ask-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 20px;
	padding: 24px 26px;
	border: 1px solid var(--sigqa-line);
	border-radius: var(--sigqa-radius);
	background:
		radial-gradient(900px 260px at 8% -60%, color-mix(in srgb, var(--sigqa-accent) 10%, transparent), transparent),
		var(--sigqa-soft);
}

.sigqa-ask-cta__body {
	min-width: 0;
}

.sigqa .sigqa-ask-cta__title {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--sigqa-ink);
}

.sigqa .sigqa-ask-cta__text {
	margin: 6px 0 0;
	font-size: 15px;
	color: var(--sigqa-muted);
}

/* Big enough to read as the page's main action. */
.sigqa-btn--lg,
.sigqa-btn--lg:hover,
.sigqa-btn--lg:focus {
	flex: 0 0 auto;
	padding: 15px 28px;
	font-size: 17px;
}

/* This one button may carry its own colour, so the invitation can shout while
 * the search button next to it stays quiet. Unset, it follows the rest. */
.sigqa .sigqa-ask-cta__btn,
.sigqa .sigqa-ask-cta__btn:hover,
.sigqa .sigqa-ask-cta__btn:focus {
	background: var(--sigqa-ask-btn, var(--sigqa-btn));
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Contact CTA                                                         */
/* ------------------------------------------------------------------ */

/* The card's colours are admin-chosen; the faint accent glow rides on top. */
.sigqa-cta {
	margin-top: 32px;
	padding: 30px 26px;
	border-radius: var(--sigqa-radius);
	background:
		radial-gradient(1200px 300px at 10% -40%, color-mix(in srgb, var(--sigqa-accent) 8%, transparent), transparent),
		var(--sigqa-cta-bg, var(--sigqa-soft));
	border: 1px solid var(--sigqa-line);
	text-align: center;
}

.sigqa .sigqa-cta__title {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 6px;
	color: var(--sigqa-cta-title, var(--sigqa-ink));
}

.sigqa-cta__text {
	max-width: 560px;
	margin: 0 auto 16px;
	color: var(--sigqa-cta-text, var(--sigqa-muted));
	font-size: 15px;
}

.sigqa-cta__text p:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Mobile                                                              */
/* ------------------------------------------------------------------ */

@media (max-width: 640px) {
	.sigqa-toolbar {
		gap: 10px;
		flex-wrap: wrap;
	}

	/* Stacked, with the button spanning the whole card. */
	.sigqa-ask-cta {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		gap: 16px;
		padding: 22px 18px;
	}

	.sigqa .sigqa-ask-cta__title {
		font-size: 20px;
	}

	.sigqa-ask-cta__btn {
		justify-content: center;
	}

	/* The search bar takes its own rows: category full width on top, the
	 * search field full width underneath - pinned or not. */
	.sigqa-search {
		flex: 1 1 100%;
		flex-wrap: wrap;
	}

	.sigqa-scope {
		flex: 1 1 100%;
		min-width: 0;
		max-width: none;
	}

	.sigqa-search__box {
		flex: 1 1 100%;
	}

	/* At least 16px, or iOS zooms the whole page the moment the input takes
	 * focus (tapping it, or a category pick focusing it) - the "growing"
	 * search bar. Mobile browsers only zoom below that size. */
	.sigqa .sigqa-search input[type="search"],
	.sigqa .sigqa-search input[type="search"]:not(:focus) {
		font-size: 16px;
	}

	.sigqa-scope__menu {
		left: 0;
		right: 0;
		width: auto;
		max-width: none;
	}

	/* Engaged: the bar pins itself to the top of the screen over the frosted
	 * backdrop, so the menu and the suggestions sit in the visible area
	 * above the on-screen keyboard. */
	.sigqa-search.is-search-active {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 99991;
		margin: 0;
		padding: 12px;
		background: #fff;
		border-radius: 0 0 14px 14px;
		box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
		flex-wrap: wrap;
	}

	/* Pinned, the bar unfolds: category full width on top, search full
	 * width underneath. */
	.sigqa-search.is-search-active .sigqa-scope {
		flex: 1 1 100%;
		min-width: 0;
		max-width: none;
	}

	.sigqa-search.is-search-active .sigqa-search__box {
		flex: 1 1 100%;
	}

	.sigqa-search.is-search-active .sigqa-scope__menu {
		left: 0;
		right: 0;
		width: auto;
		max-width: none;
	}

	.sigqa-search.is-search-active .sigqa-suggest,
	.sigqa-search.is-search-active .sigqa-scope__menu {
		max-height: 48vh;
		overflow-y: auto;
	}

	/* The row folds: question on top, numbers underneath. The :hover/:focus
	 * variants must ride along: the base rule carries them (theme-bleed
	 * guard), and without them here a tap - which focuses the link - would
	 * win with the desktop padding and visibly inflate the card. */
	.sigqa-card,
	.sigqa-card:hover,
	.sigqa-card:focus {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 18px;
	}

	.sigqa-card__side {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-left: 0;
		padding-top: 12px;
		border-left: 0;
		border-top: 1px solid var(--sigqa-soft);
	}

	.sigqa-card__title {
		font-size: 17px;
	}

	.sigqa-ask__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.sigqa-head__title {
		font-size: 21px;
	}

	.sigqa-turn {
		padding: 15px 16px;
	}

	.sigqa-service {
		flex-wrap: wrap;
	}

	.sigqa-ask {
		padding: 18px 16px;
	}
}

/* Rich answers: pictures and embedded players stay inside the bubble. */
.sigqa-turn__body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.sigqa-turn__body iframe {
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 8px;
}
