/*
 * CardRewardsHub — shared design system for every plugin of the suite.
 * Everything is scoped to .crh so it doesn't leak into the theme. The accent colour is set
 * from CardRewardsHub → Settings → Site & design (inline style: .crh{--crh-accent:…}).
 * The last section, "CardRewardsHub identity", holds the brand-specific pieces.
 */

.crh {
	--crh-accent: #1a4fd6;
	--crh-accent-ink: #fff;
	--crh-accent-soft: color-mix(in srgb, var(--crh-accent) 12%, #fff);
	--crh-accent-strong: color-mix(in srgb, var(--crh-accent) 82%, #000);
	--crh-ink: #0e1a33;
	--crh-muted: #55607a;
	--crh-surface: #fff;
	--crh-canvas: #f5f7fb;
	--crh-line: #dfe4ee;
	--crh-radius: 16px;
	--crh-radius-sm: 10px;
	--crh-shadow: 0 1px 2px rgba(14, 26, 51, .05), 0 10px 30px rgba(14, 26, 51, .08);
	--crh-edge: #cdd5e3;
	--crh-lift: 0 1px 2px rgba(14, 26, 51, .06), 0 6px 16px rgba(14, 26, 51, .08);
	--crh-focus: 0 0 0 3px color-mix(in srgb, var(--crh-accent) 35%, transparent);
	color: var(--crh-ink);
	font-family: inherit;
	line-height: 1.6;
	box-sizing: border-box;
}

.crh *,
.crh *::before,
.crh *::after {
	box-sizing: inherit;
}

.crh [hidden] {
	display: none !important;
}

.crh-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Shared bits ---------- */

.crh .crh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;
	min-height: 44px;
	padding: .55em 1.15em;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--crh-accent);
	color: var(--crh-accent-ink);
	font: inherit;
	font-weight: 600;
	font-size: 1.04rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}

.crh .crh-button:hover {
	background: var(--crh-accent-strong);
	color: var(--crh-accent-ink);
}

.crh .crh-button:active {
	transform: translateY(1px);
}

.crh .crh-button:focus-visible,
.crh .crh-chip:focus-visible,
.crh a:focus-visible,
.crh input:focus-visible,
.crh select:focus-visible,
.crh textarea:focus-visible {
	outline: none;
	box-shadow: var(--crh-focus);
}

.crh .crh-button[disabled] {
	opacity: .6;
	cursor: progress;
}

.crh .crh-button--ghost {
	background: transparent;
	color: var(--crh-accent-strong);
	border-color: var(--crh-line);
}

.crh .crh-button--ghost:hover {
	background: var(--crh-accent-soft);
	color: var(--crh-accent-strong);
}

.crh .crh-link {
	color: var(--crh-accent-strong);
	font-weight: 600;
	text-decoration: none;
}

.crh .crh-link:hover {
	text-decoration: underline;
}

.crh .crh-chip {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	min-height: 36px;
	padding: .35em .9em;
	border: 1px solid var(--crh-line);
	border-radius: 999px;
	background: var(--crh-surface);
	color: var(--crh-ink);
	font: inherit;
	font-size: 0.97rem;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color .15s ease, background-color .15s ease;
}

.crh .crh-chip:hover {
	border-color: var(--crh-accent);
	color: var(--crh-ink);
}

.crh .crh-chip.is-active {
	background: var(--crh-ink);
	border-color: var(--crh-ink);
	color: #fff;
}

.crh-badge {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	padding: .15em .65em;
	border-radius: 999px;
	background: var(--crh-accent-soft);
	color: var(--crh-accent-strong);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.6;
}

.crh-badge--ai {
	background: #eef1ff;
	color: #3a46a8;
}

.crh-notice {
	padding: .75em 1em;
	border-radius: var(--crh-radius-sm);
	background: var(--crh-accent-soft);
}

.crh-section-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 16px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.crh .crh-section-title {
	margin: 0;
	font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem);
	line-height: 1.25;
	letter-spacing: -.01em;
}

.crh-section-sub {
	margin: .25em 0 0;
	color: var(--crh-muted);
	font-size: 1.02rem;
}

/* ---------- Homepage ---------- */

.crh-home {
	container-type: inline-size;
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(8px, 2vw, 24px) 0 48px;
}

.crh-hero {
	text-align: center;
	padding: clamp(16px, 4vw, 40px) 8px clamp(20px, 4vw, 36px);
}

.crh-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	margin: 0 0 12px;
	padding: .3em .9em;
	border-radius: 999px;
	background: var(--crh-accent-soft);
	color: var(--crh-accent-strong);
	font-size: 0.93rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.crh .crh-hero__title {
	margin: 0 auto;
	max-width: 16ch;
	font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem);
	line-height: 1.06;
	letter-spacing: -.025em;
}

.crh-hero__subtitle {
	margin: 14px auto 0;
	max-width: 52ch;
	color: var(--crh-muted);
	font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
}

.crh-home__grid {
	display: grid;
	/* minmax(0, …) stops the non-wrapping chip rows from stretching the column past the screen. */
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.crh-home__grid > * {
	min-width: 0;
}

.crh-chat,
.crh-forum {
	min-width: 0;
	max-width: 100%;
}

@container (min-width: 900px) {
	.crh-home__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		align-items: start;
	}

	.crh-home__chat .crh-chat__log {
		min-height: 380px;
	}
}

/* ---------- Chat ---------- */

.crh-chat {
	display: flex;
	flex-direction: column;
	background: var(--crh-surface);
	border: 1px solid var(--crh-line);
	border-radius: 24px;
	box-shadow: var(--crh-shadow);
	overflow: hidden;
}

.crh-chat__header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: linear-gradient(135deg, var(--crh-accent-soft), #fff 70%);
	border-bottom: 1px solid var(--crh-line);
}

.crh-chat__avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--crh-accent);
	font-size: 22px;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--crh-accent) 35%, transparent);
}

.crh-chat__who {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.crh-chat__name {
	font-weight: 700;
	font-size: 1.08rem;
	line-height: 1.2;
}

.crh-chat__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--crh-muted);
	font-size: 0.97rem;
}

.crh-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2fb36b;
	box-shadow: 0 0 0 3px rgba(47, 179, 107, .18);
}

.crh .crh-chat__new {
	min-height: 36px;
	padding: .35em .9em;
	border: 1px solid var(--crh-line);
	border-radius: 999px;
	background: #fff;
	color: var(--crh-ink);
	font: inherit;
	font-size: 0.93rem;
	cursor: pointer;
}

.crh .crh-chat__new:hover {
	border-color: var(--crh-accent);
}

.crh-chat__log {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 260px;
	max-height: min(62vh, 560px);
	padding: 18px 16px;
	overflow-y: auto;
	overscroll-behavior: auto; /* let the page keep scrolling once the chat reaches its end */
	scroll-behavior: smooth;
	background: var(--crh-canvas);
}

.crh-msg {
	display: flex;
	flex-direction: column;
	max-width: 88%;
}

.crh-msg--user {
	align-self: flex-end;
	align-items: flex-end;
}

.crh-msg--bot {
	align-self: flex-start;
}

.crh-msg__bubble {
	padding: 10px 14px;
	border-radius: var(--crh-radius);
	background: var(--crh-surface);
	border: 1px solid var(--crh-line);
	font-size: 1.06rem;
	overflow-wrap: anywhere;
}

.crh-msg--bot .crh-msg__bubble {
	border-top-left-radius: 6px;
}

.crh-msg--user .crh-msg__bubble {
	background: var(--crh-accent);
	border-color: var(--crh-accent);
	color: var(--crh-accent-ink);
	border-top-right-radius: 6px;
}

.crh-msg--error .crh-msg__bubble {
	background: #fff4f2;
	border-color: #f6cfc6;
}

.crh .crh-msg__bubble p,
.crh .crh-msg__bubble ul,
.crh .crh-msg__bubble ol {
	margin: 0 0 .6em;
}

.crh .crh-msg__bubble > :last-child {
	margin-bottom: 0;
}

.crh .crh-msg__bubble ul,
.crh .crh-msg__bubble ol {
	padding-left: 1.25em;
}

.crh .crh-msg__bubble li {
	margin: .2em 0;
}

.crh .crh-msg__bubble a {
	color: var(--crh-accent-strong);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.crh .crh-msg--user .crh-msg__bubble a {
	color: inherit;
}

.crh .crh-msg__bubble code {
	padding: .1em .35em;
	border-radius: 6px;
	background: var(--crh-accent-soft);
	font-size: .9em;
}

.crh-msg__actions {
	margin-top: 6px;
	padding-left: 4px;
	font-size: 0.93rem;
}

.crh .crh-msg__actions a {
	color: var(--crh-muted);
	text-decoration: none;
	font-weight: 600;
}

.crh .crh-msg__actions a:hover {
	color: var(--crh-accent-strong);
}

.crh-typing {
	display: inline-flex;
	gap: 5px;
	padding: 4px 2px;
}

.crh-typing i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--crh-muted);
	opacity: .35;
	animation: crh-bounce 1.2s infinite ease-in-out;
}

.crh-typing i:nth-child(2) {
	animation-delay: .15s;
}

.crh-typing i:nth-child(3) {
	animation-delay: .3s;
}

@keyframes crh-bounce {
	0%, 80%, 100% { transform: translateY(0); opacity: .35; }
	40% { transform: translateY(-5px); opacity: .9; }
}

@media (prefers-reduced-motion: reduce) {
	.crh-typing i { animation: none; opacity: .7; }
	.crh-chat__log { scroll-behavior: auto; }
}

.crh-chat__suggestions {
	display: flex;
	gap: 8px;
	padding: 0 16px 12px;
	overflow-x: auto;
	background: var(--crh-canvas);
	scrollbar-width: none;
}

.crh-chat__suggestions::-webkit-scrollbar {
	display: none;
}

.crh-chat__form {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	padding: 12px;
	border-top: 1px solid var(--crh-line);
	background: var(--crh-surface);
}

.crh .crh-chat__input {
	flex: 1;
	min-height: 46px;
	max-height: 160px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--crh-line);
	border-radius: 14px;
	background: var(--crh-canvas);
	color: var(--crh-ink);
	font: inherit;
	font-size: 1.02rem; /* 16px+ stops iOS from zooming in */
	line-height: 1.4;
	resize: none;
}

.crh .crh-chat__input:focus {
	background: #fff;
	border-color: var(--crh-accent);
}

.crh .crh-chat__send {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--crh-accent);
	color: var(--crh-accent-ink);
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}

.crh .crh-chat__send:hover {
	background: var(--crh-accent-strong);
}

.crh .crh-chat__send[disabled] {
	opacity: .55;
	cursor: progress;
}

.crh-chat__turnstile:empty {
	display: none;
}

.crh-chat__turnstile {
	padding: 0 12px 8px;
}

.crh-chat__disclaimer {
	margin: 0;
	padding: 0 16px 12px;
	color: var(--crh-muted);
	font-size: 0.92rem;
	text-align: center;
}

/* ---------- Forum ---------- */

.crh-forum {
	padding: clamp(16px, 3vw, 24px);
	background: var(--crh-surface);
	border: 1px solid var(--crh-line);
	border-radius: 24px;
}

.crh-forum--compact .crh-section-title {
	font-size: 1.28rem;
}

.crh-filters {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 4px 0 14px;
}

.crh-filters__areas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.crh .crh-filters__areas .crh-chip {
	flex: none;
}

/* Phones: one clear "Topic" dropdown instead of a wall of chips. */
.crh .crh-filters__area-label,
.crh .crh-filters__area-select {
	display: none;
}


.crh-filters__tools {
	display: flex;
	gap: 8px;
	margin: 0;
}

.crh .crh-filters__tools input[type="search"],
.crh .crh-filters__tools select,
.crh .crh-form input[type="text"],
.crh .crh-form input[type="email"],
.crh .crh-form select,
.crh .crh-form textarea {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 9px 12px;
	border: 1px solid var(--crh-line);
	border-radius: var(--crh-radius-sm);
	background: #fff;
	color: var(--crh-ink);
	font: inherit;
	font-size: 1.02rem;
	line-height: 1.4;
}

.crh .crh-filters__tools input[type="search"] {
	flex: 1;
	min-width: 0;
}

.crh .crh-filters__tools select {
	width: auto;
	flex: none;
}

.crh-topics {
	transition: opacity .2s ease;
}

.crh-topics.is-loading {
	opacity: .55;
}

.crh .crh-topic-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.crh .crh-topic {
	margin: 0;
	padding: 0;
}

.crh .crh-topic__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1px solid var(--crh-line);
	border-radius: var(--crh-radius);
	background: #fff;
	color: var(--crh-ink);
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.crh .crh-topic__link:hover {
	border-color: color-mix(in srgb, var(--crh-accent) 45%, var(--crh-line));
	box-shadow: var(--crh-shadow);
	transform: translateY(-1px);
	color: var(--crh-ink);
}

.crh-topic__top {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.crh-topic__top:empty {
	display: none;
}

.crh-topic__title {
	font-weight: 700;
	font-size: 1.04rem;
	line-height: 1.35;
}

.crh-topic__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--crh-muted);
	font-size: 1.01rem;
}

.crh-topic__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	margin-top: 2px;
	color: var(--crh-muted);
	font-size: 0.94rem;
}

.crh-topic__replies {
	margin-left: auto;
	font-weight: 600;
	color: var(--crh-ink);
}

.crh-empty {
	padding: 28px 16px;
	border: 1px dashed var(--crh-line);
	border-radius: var(--crh-radius);
	text-align: center;
	color: var(--crh-muted);
}

.crh-empty__icon {
	display: block;
	font-size: 28px;
	margin-bottom: 4px;
}

.crh .crh-empty p {
	margin: 0;
}

.crh-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 14px;
}

.crh-pager__info {
	color: var(--crh-muted);
	font-size: 0.93rem;
	margin: 0 auto;
}

.crh-forum__all {
	margin: 14px 0 0;
	text-align: center;
}

/* Ask form */

.crh-ask {
	margin: 0 0 18px;
	padding: 16px;
	border-radius: var(--crh-radius);
	background: var(--crh-canvas);
	border: 1px solid var(--crh-line);
}

.crh-form {
	display: grid;
	gap: 12px;
	margin: 0;
}

.crh-form__row {
	display: grid;
	gap: 12px;
}

@media (min-width: 560px) {
	.crh-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.crh-field {
	display: grid;
	gap: 4px;
}

.crh .crh-field label {
	font-weight: 600;
	font-size: 0.99rem;
}

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

.crh .crh-form [aria-invalid="true"] {
	border-color: #d6453d;
}

.crh-field__error {
	color: #b3261e;
	font-size: 0.97rem;
}

.crh-field__error:empty {
	display: none;
}

.crh .crh-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.99rem;
}

.crh-hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.crh-form__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.crh .crh-form__status {
	margin: 0;
	font-size: 1.01rem;
}

.crh .crh-form__status:empty {
	display: none;
}

.crh .crh-form__status.is-success {
	padding: 10px 12px;
	border-radius: var(--crh-radius-sm);
	background: #edf9f1;
	color: #18603a;
}

.crh .crh-form__status.is-error {
	color: #b3261e;
}

/* ---------- Blog strip ---------- */

.crh-blog {
	margin-top: 40px;
}

.crh-blog__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.crh .crh-blog-card {
	margin: 0;
}

.crh .crh-blog-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--crh-line);
	border-radius: var(--crh-radius);
	overflow: hidden;
	background: #fff;
	color: var(--crh-ink);
	text-decoration: none;
	transition: box-shadow .15s ease, transform .15s ease;
}

.crh .crh-blog-card__link:hover {
	box-shadow: var(--crh-shadow);
	transform: translateY(-2px);
	color: var(--crh-ink);
}

.crh-blog-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--crh-accent-soft);
}

.crh-blog-card__image--empty {
	display: grid;
	place-items: center;
	font-size: 34px;
}

.crh-blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 16px;
}

.crh-blog-card__title {
	font-weight: 700;
	line-height: 1.3;
}

.crh-blog-card__excerpt {
	color: var(--crh-muted);
	font-size: 0.99rem;
}

/* ---------- Ads ---------- */

/* Reserved height prevents layout shift (CLS) while the ad loads; clear spacing keeps it away from buttons. */
.crh-ad {
	clear: both;
	margin: 32px auto;
	text-align: center;
	min-height: 280px;
}

.crh-ad--forum {
	margin: 24px 0 8px;
	min-height: 250px;
}

.crh-ad__label {
	display: block;
	margin-bottom: 6px;
	color: var(--crh-muted);
	font-size: 0.92rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Collapse slots AdSense couldn't fill instead of leaving a blank box. */
.crh-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
	display: none;
}

/* ---------- Single topic page ---------- */

.crh-topic-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 1.25em;
	color: var(--crh-muted);
	font-size: 0.99rem;
}

.crh-topic-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 1.75em 0 0;
	padding: 14px 16px;
	border-radius: var(--crh-radius);
	background: var(--crh-canvas);
	border: 1px solid var(--crh-line);
}

.crh-ai-comment .crh-ai-label,
.crh-ai-label {
	display: inline-block;
	margin: 0 0 .75em;
	padding: .2em .7em;
	border-radius: 999px;
	background: #eef1ff;
	color: #3a46a8;
	font-size: 0.94rem;
	font-weight: 600;
}

.crh-comment-turnstile {
	margin: 12px 0;
}

/* ======================================================================
   Homepage v2 — "warm editorial" design
   ====================================================================== */

.crh-home--v2,
.crh-site {
	--crh-paper: #f5f7fb;
	--crh-ink: #0e1a33;
	--crh-ink-soft: #34405a;
	--crh-sage: #e4ebff;
	--crh-sage-deep: #b7c6f3;
	--crh-butter: #f6c85a;
	--crh-muted: #55607a;
	--crh-line: #dfe4ee;
	--crh-pop: 0 2px 4px rgba(14, 26, 51, .05), 0 18px 44px rgba(14, 26, 51, .11);
	color: var(--crh-ink);
}

.crh-brand-fonts {
	--crh-font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--crh-font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	font-family: var(--crh-font-body);
}

.crh-home--v2 {
	max-width: none;
	padding: 0;
	background: var(--crh-paper);
}

.crh .crh-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 32px);
}

.crh .crh-display {
	margin: 0;
	font-family: var(--crh-font-display, inherit);
		font-weight: 650;
	font-size: clamp(2.5rem, 1.3rem + 5vw, 4.5rem);
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--crh-ink);
	text-wrap: balance;
}

.crh .crh-display--md {
	font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
	line-height: 1.08;
}

.crh .crh-display em {
	position: relative;
	font-style: italic;
	color: var(--crh-accent);
	white-space: nowrap;
}

/* Hand-drawn underline under the highlighted word. */
.crh .crh-display em::after {
	content: "";
	position: absolute;
	left: -2%;
	right: -2%;
	bottom: -0.12em;
	height: 0.22em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 40 4, 90 3, 120 8 S 180 16, 197 6' fill='none' stroke='%231d2b24' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	opacity: 0.85;
}

.crh .crh-kicker {
	margin: 0 0 14px;
	font-family: var(--crh-font-body, inherit);
	font-size: 0.94rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--crh-muted);
}

.crh .crh-sticker {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	margin: 0 0 22px;
	padding: 0.45em 1em;
	border: 1px solid var(--crh-edge);
	border-radius: 999px;
	background: var(--crh-butter);
	box-shadow: var(--crh-lift);
	font-size: 0.99rem;
	font-weight: 800;
	transform: rotate(0deg);
}

.crh-home--v2 .crh-button {
	border: 1px solid var(--crh-edge);
	box-shadow: var(--crh-lift);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.crh-home--v2 .crh-button:hover {
	transform: translate(-1px, -1px);
	box-shadow: var(--crh-lift);
}

.crh-home--v2 .crh-button:active {
	transform: translate(2px, 2px);
	box-shadow: none;
}

.crh-home--v2 .crh-button--ghost {
	background: #fff;
	color: var(--crh-ink);
}

.crh .crh-button--big {
	min-height: 56px;
	padding: 0.7em 1.6em;
	font-size: 1.13rem;
}

/* ---------- Hero ---------- */

.crh-hero2 {
	position: relative;
	padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 7vw, 88px);
	overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% 10%, color-mix(in srgb, var(--crh-accent) 10%, transparent), transparent 60%),
		var(--crh-paper);
}

.crh-hero2__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(32px, 5vw, 56px);
	align-items: center;
}

.crh-hero2__grid > * {
	min-width: 0;
}

.crh .crh-lede {
	max-width: 34em;
	margin: 22px 0 0;
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
	line-height: 1.55;
	color: var(--crh-ink-soft);
}

.crh .crh-promises {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.crh .crh-promises li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-weight: 700;
}

.crh .crh-promises li span {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #fff;
	border: 1.5px solid var(--crh-line);
}

.crh .crh-stats-row {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin: 28px 0 0;
}

.crh .crh-stats-row div {
	display: flex;
	flex-direction: column-reverse;
}

.crh .crh-stats-row dt {
	color: var(--crh-muted);
	font-size: 0.93rem;
}

.crh .crh-stats-row dd {
	margin: 0;
	font-family: var(--crh-font-display, inherit);
	font-size: 2.20rem;
	font-weight: 700;
	line-height: 1.1;
}

.crh-hero2__more {
	padding-top: 0;
}


.crh-hero2__chat {
	position: relative;
	scroll-margin-top: 90px;
}

.crh-blob {
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	filter: blur(2px);
}

.crh-blob--a {
	width: 62%;
	aspect-ratio: 1;
	top: -8%;
	right: -10%;
	background: var(--crh-sage);
}

.crh-blob--b {
	width: 38%;
	aspect-ratio: 1;
	bottom: -10%;
	left: -8%;
	background: var(--crh-butter);
	opacity: 0.7;
}

.crh-float-sticker {
	position: absolute;
	z-index: 2;
	top: -14px;
	right: 18px;
	padding: 0.4em 0.9em;
	border: 1px solid var(--crh-edge);
	border-radius: 999px;
	background: var(--crh-sage-deep);
	box-shadow: var(--crh-lift);
	font-size: 0.94rem;
	font-weight: 800;
	transform: rotate(0deg);
}

.crh-home--v2 .crh-chat {
	position: relative;
	z-index: 1;
	border: 1px solid var(--crh-edge);
	border-radius: 28px;
	box-shadow: var(--crh-pop);
}

.crh-home--v2 .crh-chat__header {
	background: #fff;
	border-bottom: 1px solid var(--crh-edge);
}

.crh-home--v2 .crh-chat__avatar {
	border: 1px solid var(--crh-edge);
	box-shadow: none;
}

.crh-home--v2 .crh-chat__name {
	font-family: var(--crh-font-display, inherit);
	font-size: 1.28rem;
}

.crh-home--v2 .crh-chat__log {
	min-height: 300px;
	background: var(--crh-paper);
}

.crh-home--v2 .crh-msg--user .crh-msg__bubble {
	border: 1px solid var(--crh-edge);
}

.crh-home--v2 .crh-chat__suggestions {
	background: var(--crh-paper);
}

.crh-home--v2 .crh-chip {
	border: 1px solid var(--crh-edge);
	font-weight: 700;
}

.crh-home--v2 .crh-chat__send {
	border: 1px solid var(--crh-edge);
}

/* ---------- Browse by topic ---------- */

.crh-areas {
	padding: clamp(28px, 4vw, 44px) 0;
	border-top: 1px solid var(--crh-edge);
	border-bottom: 1px solid var(--crh-edge);
	background: #fff;
}

.crh .crh-area-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 4px 4px 10px;
	list-style: none;
}

.crh .crh-area-tiles li {
	margin: 0;
	scroll-snap-align: start;
}

.crh .crh-area-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	gap: 4px;
	padding: 18px 10px 14px;
	border: 1px solid var(--crh-edge);
	border-radius: 20px;
	background: var(--crh-paper);
	color: var(--crh-ink);
	text-align: center;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.crh .crh-area-tile:hover {
	background: var(--crh-butter);
	box-shadow: var(--crh-lift);
	transform: translate(-2px, -2px);
	color: var(--crh-ink);
}

.crh-area-tile__emoji {
	font-size: 2.42rem;
	line-height: 1.1;
}

.crh-area-tile__name {
	font-weight: 800;
}

.crh-area-tile__count {
	color: var(--crh-muted);
	font-size: 0.94rem;
}

/* ---------- How it works ---------- */

.crh-how {
	padding: clamp(48px, 7vw, 96px) 0;
}

.crh .crh-steps {
	display: grid;
	gap: 18px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.crh .crh-step {
	position: relative;
	margin: 0;
	padding: 26px 24px 24px;
	border: 1px solid var(--crh-edge);
	border-radius: 24px;
	background: #fff;
}

.crh .crh-step:nth-child(2) {
	background: var(--crh-sage);
}

.crh .crh-step:nth-child(3) {
	background: var(--crh-butter);
}

.crh-step__num {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	border: 1px solid var(--crh-edge);
	border-radius: 50%;
	background: var(--crh-paper);
	font-family: var(--crh-font-display, inherit);
	font-size: 1.54rem;
	font-weight: 700;
}

.crh .crh-step h3 {
	margin: 0 0 6px;
	font-family: var(--crh-font-display, inherit);
	font-size: 1.49rem;
	line-height: 1.2;
}

.crh .crh-step p {
	margin: 0;
	color: var(--crh-ink-soft);
}

/* ---------- Community band ---------- */

.crh-community-band {
	padding: clamp(48px, 7vw, 88px) 0;
	background: var(--crh-sage);
	scroll-margin-top: 80px;
}

.crh-home--v2 .crh-forum {
	border: 1px solid var(--crh-edge);
	border-radius: 28px;
	box-shadow: var(--crh-pop);
	padding: clamp(20px, 3.5vw, 36px);
}

.crh-home--v2 .crh-forum .crh-section-title {
	font-family: var(--crh-font-display, inherit);
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
	font-weight: 650;
}

.crh-home--v2 .crh-topic__link {
	border: 1.5px solid var(--crh-line);
}

.crh-home--v2 .crh-topic__link:hover {
	border-color: var(--crh-ink);
	box-shadow: var(--crh-lift);
}

.crh-home--v2 .crh-topic__title {
	font-size: 1.11rem;
}

/* ---------- Blog ---------- */

.crh-home--v2 .crh-blog {
	margin: 0;
	padding: clamp(40px, 6vw, 80px) 0;
}

.crh-home--v2 .crh-blog-card__link {
	border: 1px solid var(--crh-edge);
	border-radius: 22px;
}

.crh-home--v2 .crh-blog-card__link:hover {
	box-shadow: var(--crh-pop);
	transform: translate(-2px, -2px);
}

.crh-home--v2 .crh-blog-card__image {
	border-bottom: 1px solid var(--crh-edge);
}

.crh-home--v2 .crh-blog-card__title {
	font-family: var(--crh-font-display, inherit);
	font-size: 1.23rem;
	line-height: 1.25;
}

.crh-blog-card__more {
	margin-top: auto;
	padding-top: 6px;
	font-weight: 800;
	color: var(--crh-accent-strong);
}

/* ---------- FAQ ---------- */

.crh-faq {
	padding: clamp(40px, 6vw, 80px) 0;
	border-top: 1px solid var(--crh-edge);
	background: #fff;
}

.crh-faq__grid {
	display: grid;
	gap: 24px;
}

.crh .crh-faq__item {
	border-bottom: 1px solid var(--crh-edge);
}

.crh .crh-faq__item:first-child {
	border-top: 1px solid var(--crh-edge);
}

.crh .crh-faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	font-size: 1.11rem;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.crh .crh-faq__item summary::-webkit-details-marker {
	display: none;
}

.crh .crh-faq__item summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--crh-edge);
	border-radius: 50%;
	font-size: 1.23rem;
	line-height: 1;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.crh .crh-faq__item[open] summary::after {
	transform: rotate(45deg);
	background: var(--crh-butter);
}

.crh .crh-faq__item p {
	margin: 0;
	padding: 0 48px 20px 0;
	color: var(--crh-ink-soft);
}

/* ---------- CTA band ---------- */

.crh-cta {
	padding: clamp(48px, 7vw, 88px) 0;
	background: var(--crh-ink);
}

.crh-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.crh .crh-cta .crh-display {
	color: var(--crh-paper);
	max-width: 14em;
}

.crh .crh-cta .crh-button {
	background: var(--crh-butter);
	color: var(--crh-ink);
	border-color: var(--crh-paper);
	box-shadow: var(--crh-lift);
}

/* ---------- Ad slot inside the v2 page ---------- */

.crh-home--v2 .crh-ad {
	margin: clamp(32px, 5vw, 56px) auto 0;
}

/* ---------- Load-in motion ---------- */

@media (prefers-reduced-motion: no-preference) {
	.crh-home--v2 .crh-reveal {
		animation: crh-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.crh-home--v2 .crh-reveal:nth-child(2) {
		animation-delay: 0.12s;
	}

	.crh-home--v2 .crh-hero2__copy > * {
		animation: crh-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.crh-home--v2 .crh-hero2__copy > :nth-child(2) { animation-delay: 0.06s; }
	.crh-home--v2 .crh-hero2__copy > :nth-child(3) { animation-delay: 0.12s; }
	.crh-home--v2 .crh-hero2__copy > :nth-child(4) { animation-delay: 0.18s; }
	.crh-home--v2 .crh-hero2__copy > :nth-child(5) { animation-delay: 0.24s; }

	.crh-float-sticker {
		animation: crh-bob 4s ease-in-out infinite;
	}
}

@keyframes crh-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes crh-bob {
	0%, 100% { transform: rotate(0deg) translateY(0); }
	50% { transform: rotate(0deg) translateY(-5px); }
}

/* ---------- Wide layouts ---------- */

@container (min-width: 900px) {
	.crh .crh-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.crh .crh-step:nth-child(2) {
		transform: translateY(24px);
	}

	.crh .crh-area-tiles {
		grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	}

	.crh-faq__grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: 48px;
	}

	.crh-home--v2 .crh-blog__grid {
		grid-template-columns: 1.4fr 1fr 1fr;
	}

	.crh-home--v2 .crh-blog-card--lead .crh-blog-card__title {
		font-size: 1.76rem;
	}
}

/* ======================================================================
   Full-width page template: header & footer
   ====================================================================== */

body.crh-canvas-page {
	margin: 0;
	background: #f5f7fb;
}

.crh-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--crh-paper);
}

.crh-site-main {
	flex: 1;
}

.crh .crh-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 100;
	padding: 8px 14px;
	background: var(--crh-ink);
	color: #fff;
	border-radius: 8px;
}

.crh .crh-skip:focus {
	left: 8px;
}

.crh-site-header {
	position: relative;
	z-index: 50;
	border-bottom: 1px solid var(--crh-edge);
	background: var(--crh-paper);
}

.crh-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 68px;
}

.crh .crh-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--crh-ink);
	text-decoration: none;
}

.crh-brand__mark {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--crh-edge);
	border-radius: 12px;
	background: var(--crh-accent);
	font-size: 20px;
	transform: rotate(0deg);
}

.crh-brand__name {
	font-family: var(--crh-font-display, inherit);
	font-size: 1.59rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.crh .crh-brand__logo {
	display: block;
	max-height: 44px;
	width: auto;
}

.crh .crh-nav,
.crh .crh-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.crh .crh-nav li,
.crh .crh-footer-nav li {
	margin: 0;
}

.crh .crh-nav a,
.crh .crh-footer-nav a {
	color: var(--crh-ink);
	font-weight: 800;
	text-decoration: none;
}

.crh .crh-nav a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	text-decoration-color: var(--crh-accent);
}

.crh-nav-desktop {
	display: none;
}

.crh-menu {
	position: relative;
}

.crh .crh-menu__toggle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--crh-edge);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	list-style: none;
}

.crh .crh-menu__toggle::-webkit-details-marker {
	display: none;
}

.crh-menu__bars,
.crh-menu__bars::before,
.crh-menu__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--crh-ink);
	content: "";
}

.crh-menu__bars {
	position: relative;
}

.crh-menu__bars::before {
	position: absolute;
	top: -6px;
}

.crh-menu__bars::after {
	position: absolute;
	top: 6px;
}

.crh-menu__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	min-width: 220px;
	padding: 16px 18px;
	border: 1px solid var(--crh-edge);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--crh-pop);
}

.crh-menu__panel .crh-nav {
	flex-direction: column;
	gap: 12px;
}

@media (min-width: 760px) {
	.crh-nav-desktop {
		display: block;
	}

	.crh-menu {
		display: none;
	}
}

.crh-site-footer {
	padding: 40px 0 28px;
	border-top: 1px solid var(--crh-edge);
	background: var(--crh-paper);
}

.crh-site-footer__inner {
	display: grid;
	gap: 20px;
}

.crh-site-footer__brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.crh .crh-site-footer__brand p {
	margin: 0;
	color: var(--crh-ink-soft);
	font-size: 1.01rem;
}

.crh .crh-site-footer__fine {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--crh-line);
	color: var(--crh-muted);
	font-size: 0.94rem;
}

@media (min-width: 760px) {
	.crh-site-footer__inner {
		grid-template-columns: 1fr auto;
		align-items: center;
	}

	.crh .crh-site-footer__fine {
		grid-column: 1 / -1;
	}
}

/* ======================================================================
   Round 2: centred hero chat, highlighted chat actions
   ====================================================================== */

.crh-hero2__grid {
	justify-items: center;
	gap: clamp(24px, 4vw, 40px);
	text-align: center;
}

.crh-hero2__copy {
	max-width: 860px;
}

.crh-hero2 .crh-lede {
	margin-left: auto;
	margin-right: auto;
}

.crh-hero2__chat {
	width: 100%;
	max-width: 980px;
	text-align: left;
}

.crh-hero2__more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}

.crh-hero2 .crh-promises {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 14px;
}

.crh-hero2 .crh-promises li {
	padding: 6px 14px 6px 6px;
	border: 1.5px solid var(--crh-line);
	border-radius: 999px;
	background: #fff;
	font-size: 1.04rem;
}

.crh-hero2 .crh-promises li span {
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: var(--crh-paper);
}

.crh-hero2 .crh-stats-row {
	justify-content: center;
	margin: 0;
}

.crh-hero2 .crh-stats-row div {
	align-items: center;
}

/* Bigger chat */
.crh-home--v2 .crh-chat__log {
	min-height: 360px;
	max-height: min(72vh, 680px);
	padding: 22px clamp(14px, 3vw, 28px);
	gap: 16px;
}

.crh-home--v2 .crh-msg {
	max-width: min(88%, 680px);
}

.crh-home--v2 .crh-msg__bubble {
	padding: 14px 18px;
	font-size: 1.04rem;
	line-height: 1.6;
}

.crh-home--v2 .crh-chat__header {
	padding: 16px clamp(14px, 3vw, 24px);
}

.crh-home--v2 .crh-chat__form {
	padding: 14px clamp(12px, 3vw, 22px);
}

.crh-home--v2 .crh-chat__input {
	min-height: 54px;
	padding: 14px 18px;
	font-size: 1.08rem;
	border: 1px solid var(--crh-edge);
	border-radius: 16px;
	background: #fff;
}

.crh-home--v2 .crh-chat__send {
	width: 54px;
	height: 54px;
}

@container (min-width: 900px) {
	.crh-home--v2 .crh-chat__log {
		min-height: 460px;
	}
}

/* Hero sticker: top-left, clear of the New chat button */
.crh-float-sticker {
	right: auto;
	left: 26px;
	transform: rotate(0deg);
}

@media (prefers-reduced-motion: no-preference) {
	.crh-float-sticker {
		animation-name: crh-bob-left;
	}
}

@keyframes crh-bob-left {
	0%, 100% { transform: rotate(0deg) translateY(0); }
	50% { transform: rotate(0deg) translateY(-5px); }
}

/* Highlighted "New chat" */
.crh .crh-chat__new {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0.4em 1.05em;
	border: 1px solid var(--crh-edge);
	border-radius: 999px;
	background: var(--crh-butter, #f6c85a);
	color: var(--crh-ink, #0e1a33);
	box-shadow: var(--crh-lift);
	font-weight: 800;
	font-size: 0.99rem;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.crh .crh-chat__new::before {
	content: "+";
	font-size: 1.15em;
	line-height: 1;
}

.crh .crh-chat__new:hover {
	transform: translate(-1px, -1px);
	box-shadow: var(--crh-lift);
	border-color: var(--crh-ink, #0e1a33);
}

.crh .crh-chat__new:active {
	transform: translate(2px, 2px);
	box-shadow: none;
}

/* Highlighted "Ask other members" */
.crh-msg__actions {
	margin-top: 10px;
	padding-left: 2px;
}

.crh .crh-msg__actions a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.45em 1em;
	border: 1px solid var(--crh-edge);
	border-radius: 999px;
	background: var(--crh-sage, #dbe5ff);
	color: var(--crh-ink, #0e1a33);
	font-size: 0.97rem;
	font-weight: 800;
	text-decoration: none;
	box-shadow: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.crh .crh-msg__actions a::before {
	content: "👥";
}

.crh .crh-msg__actions a:hover {
	background: var(--crh-butter, #f6c85a);
	color: var(--crh-ink, #0e1a33);
	transform: translate(-1px, -1px);
	box-shadow: var(--crh-lift);
}

/* ======================================================================
   Shared bits for hub / topic / blog pages
   ====================================================================== */

.crh .crh-wrap--narrow {
	max-width: 760px;
}

.crh .crh-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	font-size: 0.99rem;
	font-weight: 700;
	color: var(--crh-muted);
}

.crh .crh-crumbs a {
	color: var(--crh-ink);
	text-decoration: underline;
	text-decoration-color: var(--crh-accent);
	text-underline-offset: 3px;
}

.crh .crh-card {
	padding: 22px;
	border: 1px solid var(--crh-edge);
	border-radius: 22px;
	background: #fff;
}

.crh .crh-card + .crh-card {
	margin-top: 18px;
}

.crh .crh-card--butter {
	background: var(--crh-butter);
	box-shadow: var(--crh-pop);
}

.crh .crh-card--sage {
	background: var(--crh-sage);
}

.crh .crh-card p {
	margin: 0 0 14px;
	color: var(--crh-ink-soft);
}

.crh .crh-card__title {
	margin: 0 0 8px;
	font-family: var(--crh-font-display, inherit);
	font-size: 1.43rem;
	font-weight: 700;
	line-height: 1.2;
}

.crh .crh-card__sub {
	font-size: 0.99rem;
}

.crh .crh-mini-list {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.crh .crh-mini-list li {
	margin: 0;
}

.crh .crh-mini-list a {
	display: flex;
	gap: 10px;
	padding: 10px 8px;
	border-radius: 12px;
	color: var(--crh-ink);
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.crh .crh-mini-list a:hover {
	background: var(--crh-paper);
}

.crh .crh-mini-list small {
	color: var(--crh-muted);
	font-weight: 600;
}

.crh .crh-rules {
	margin: 0;
	padding-left: 1.1em;
}

.crh .crh-rules li {
	margin: 6px 0;
}

.crh .crh-avatar {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border: 1px solid var(--crh-edge);
	border-radius: 50%;
	background: var(--crh-butter);
	font-weight: 800;
	font-size: 1.02rem;
}

.crh .crh-avatar--ai {
	background: var(--crh-accent);
}

.crh .crh-badge--butter {
	background: var(--crh-butter);
	color: var(--crh-ink);
}

/* Prose (topic body, replies, articles) */
.crh .crh-prose {
	font-size: 1.11rem;
	line-height: 1.75;
	color: var(--crh-ink);
	overflow-wrap: break-word;
}

.crh .crh-prose > * {
	margin-top: 0;
	margin-bottom: 1.1em;
}

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

.crh .crh-prose h2,
.crh .crh-prose h3,
.crh .crh-prose h4 {
	margin-top: 1.8em;
	margin-bottom: 0.5em;
	font-family: var(--crh-font-display, inherit);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.crh .crh-prose h2 { font-size: 1.93rem; }
.crh .crh-prose h3 { font-size: 1.54rem; }

.crh .crh-prose a {
	color: var(--crh-accent-strong);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.crh .crh-prose ul,
.crh .crh-prose ol {
	padding-left: 1.4em;
}

.crh .crh-prose li {
	margin: 0.35em 0;
}

.crh .crh-prose img,
.crh .crh-prose video,
.crh .crh-prose iframe {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.crh .crh-prose figure {
	margin-left: 0;
	margin-right: 0;
}

.crh .crh-prose figcaption {
	margin-top: 8px;
	color: var(--crh-muted);
	font-size: 0.97rem;
	text-align: center;
}

.crh .crh-prose blockquote {
	margin-left: 0;
	padding: 14px 20px;
	border-left: 5px solid var(--crh-accent);
	border-radius: 0 14px 14px 0;
	background: var(--crh-paper);
	font-family: var(--crh-font-display, inherit);
	font-size: 1.23rem;
	line-height: 1.5;
}

.crh .crh-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.04rem;
}

.crh .crh-prose th,
.crh .crh-prose td {
	padding: 10px 12px;
	border: 1.5px solid var(--crh-line);
	text-align: left;
}

.crh .crh-prose th {
	background: var(--crh-paper);
}

/* Replies */
.crh-replies {
	margin-top: clamp(32px, 5vw, 48px);
}

.crh .crh-replies__title {
	margin: 0 0 18px;
	font-family: var(--crh-font-display, inherit);
	font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
	font-weight: 700;
}

.crh .crh-reply-list,
.crh .crh-reply-list .children {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.crh .crh-reply-list .children {
	margin-top: 14px;
	padding-left: clamp(14px, 4vw, 36px);
	border-left: 3px solid var(--crh-line);
}

.crh .crh-reply {
	margin: 0;
	min-width: 0; /* grid items: let long content shrink instead of widening the page */
}

.crh .crh-reply__card,
.crh .crh-reply__body {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Wide tables scroll sideways inside their box instead of stretching the page. */
.crh .crh-table-scroll {
	max-width: 100%;
	margin: 0 0 1.2em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.crh .crh-table-scroll > table {
	margin: 0;
}

.crh .crh-reply__card {
	padding: 18px 20px;
	border: 1px solid var(--crh-edge);
	border-radius: 20px;
	background: #fff;
}

.crh .crh-reply--ai > .crh-reply__card {
	background: #f3f5ff;
	border-color: #3a46a8;
}

.crh .crh-reply--op > .crh-reply__card {
	background: var(--crh-paper);
}

.crh-reply__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.crh-reply__who {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
}

.crh .crh-reply__time {
	color: var(--crh-muted);
	font-size: 0.93rem;
	text-decoration: none;
}

.crh .crh-reply__body {
	max-width: 70ch;
	font-size: 1.04rem;
	line-height: 1.72;
}

/* Readable replies: spacing, small headings, real lists. */
.crh .crh-reply__body > * {
	margin-top: 0;
	margin-bottom: 0.9em;
}

.crh .crh-reply__body > :last-child {
	margin-bottom: 0;
}

.crh .crh-reply__body .crh-subhead {
	margin: 1.5em 0 0.45em;
	font-family: var(--crh-font-display, inherit);
	font-size: 1.13rem;
	line-height: 1.3;
}

.crh .crh-reply__body > .crh-subhead:first-child {
	margin-top: 0;
}

.crh .crh-list,
.crh .crh-prose ul,
.crh .crh-prose ol {
	padding-left: 1.4em;
}

.crh .crh-list {
	margin: 0 0 1em;
	line-height: 1.6;
}

.crh ul.crh-list {
	list-style: disc;
}

.crh ol.crh-list {
	list-style: decimal;
}

.crh .crh-list li,
.crh .crh-prose li {
	margin: 0.5em 0;
	padding-left: 0.2em;
}

.crh .crh-prose li::marker {
	color: var(--crh-accent-strong, currentColor);
	font-weight: 700;
}

@media (max-width: 600px) {
	.crh .crh-reply__card {
		padding: 16px;
	}
}

.crh .crh-reply__pending {
	margin: 0 0 8px;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--crh-butter);
	font-size: 0.97rem;
	font-weight: 700;
}

.crh-reply__foot {
	margin-top: 10px;
}

.crh .crh-reply__foot a {
	font-weight: 800;
	color: var(--crh-accent-strong);
	text-decoration: none;
}

.crh .crh-reply-form {
	margin-top: 26px;
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--crh-edge);
	border-radius: 22px;
	background: var(--crh-sage);
	box-shadow: var(--crh-pop);
}

.crh .crh-reply-form__title {
	margin: 0 0 6px;
	font-family: var(--crh-font-display, inherit);
	font-size: 1.54rem;
}

.crh .crh-reply-form__title small {
	margin-left: 10px;
	font-family: var(--crh-font-body, inherit);
	font-size: 0.93rem;
}

.crh .crh-reply-form__note,
.crh .crh-reply-form .logged-in-as {
	margin: 0 0 12px;
	font-size: 0.99rem;
	color: var(--crh-ink-soft);
}

.crh .crh-reply-form p {
	margin: 0 0 12px;
}

.crh .crh-reply-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 800;
	font-size: 0.99rem;
}

.crh .crh-reply-form input[type="text"],
.crh .crh-reply-form input[type="email"],
.crh .crh-reply-form input[type="url"],
.crh .crh-reply-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--crh-edge);
	border-radius: 14px;
	background: #fff;
	font: inherit;
	font-size: 1.02rem;
}

.crh .crh-reply-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.crh .crh-reply-form .comment-form-cookies-consent label {
	display: inline;
	font-weight: 600;
}

.crh .crh-reply-form .form-submit {
	margin: 4px 0 0;
}

/* ---------- Community hub ---------- */

.crh-hub-hero {
	padding: clamp(32px, 6vw, 72px) 0 clamp(24px, 4vw, 40px);
	background:
		radial-gradient(900px 400px at 10% 0%, color-mix(in srgb, var(--crh-sage) 70%, transparent), transparent 60%),
		var(--crh-paper);
	border-bottom: 1px solid var(--crh-edge);
}

.crh .crh-hub-hero__inner {
	display: grid;
	gap: 28px;
	align-items: end;
	margin-bottom: 28px;
}

.crh-hub-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.crh .crh-hub-stats {
	display: flex;
	gap: 14px;
	margin: 0;
}

.crh .crh-hub-stats div {
	min-width: 130px;
	padding: 16px 18px;
	border: 1px solid var(--crh-edge);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--crh-lift);
}

.crh .crh-hub-stats div:nth-child(2) {
	background: var(--crh-butter);
	transform: rotate(0deg);
}

.crh .crh-hub-stats dd {
	margin: 0;
	font-family: var(--crh-font-display, inherit);
	font-size: 2.42rem;
	font-weight: 700;
	line-height: 1;
}

.crh .crh-hub-stats dt {
	color: var(--crh-ink-soft);
	font-weight: 700;
}

.crh .crh-area-tiles--compact .crh-area-tile {
	flex-direction: row;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	background: #fff;
}

.crh .crh-area-tiles--compact .crh-area-tile__emoji {
	font-size: 1.54rem;
}

.crh .crh-hub-body {
	display: grid;
	gap: 28px;
	padding-top: clamp(28px, 5vw, 48px);
	padding-bottom: clamp(48px, 7vw, 88px);
	scroll-margin-top: 80px;
}

.crh-hub-main,
.crh-hub-side,
.crh-topic-main,
.crh-topic-side {
	min-width: 0;
}

.crh-hub .crh-forum {
	border: 1px solid var(--crh-edge);
	border-radius: 28px;
	box-shadow: var(--crh-pop);
	padding: clamp(18px, 3vw, 30px);
}

.crh-hub .crh-forum .crh-section-title {
	font-family: var(--crh-font-display, inherit);
	font-size: 1.76rem;
}

/* ---------- Topic page ---------- */

.crh-topic-page {
	padding: clamp(24px, 5vw, 56px) 0 clamp(48px, 7vw, 88px);
}

.crh-topic-layout {
	display: grid;
	gap: 32px;
}

.crh .crh-q {
	margin-bottom: 18px;
}

.crh-q__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.crh-q__meta,
.crh .crh-article__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 0;
	color: var(--crh-ink-soft);
}

.crh .crh-q__body {
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--crh-edge);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--crh-pop);
}

/* ---------- Blog ---------- */

.crh-blog-hero {
	padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
	border-bottom: 1px solid var(--crh-edge);
	background:
		radial-gradient(900px 420px at 90% 0%, color-mix(in srgb, var(--crh-butter) 70%, transparent), transparent 60%),
		var(--crh-paper);
}

.crh .crh-search {
	display: flex;
	gap: 10px;
	max-width: 620px;
	margin: 26px 0 0;
}

.crh .crh-search input {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	padding: 0 18px;
	border: 1px solid var(--crh-edge);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 1.02rem;
}

.crh .crh-cat-chips {
	display: flex;
	gap: 8px;
	margin-top: 20px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.crh .crh-blog-list {
	padding-top: clamp(28px, 5vw, 56px);
	padding-bottom: clamp(40px, 6vw, 72px);
}

.crh .crh-post-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}

.crh .crh-post-card {
	margin: 0;
}

.crh .crh-post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--crh-edge);
	border-radius: 22px;
	background: #fff;
	color: var(--crh-ink);
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.crh .crh-post-card__link:hover {
	transform: translate(-2px, -2px);
	box-shadow: var(--crh-pop);
	color: var(--crh-ink);
}

.crh .crh-post-card__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-bottom: 1px solid var(--crh-edge);
	background: var(--crh-sage);
}

.crh-post-card__image--empty {
	display: grid !important;
	place-items: center;
	font-size: 2.64rem;
}

.crh-post-card:nth-child(3n+2) .crh-post-card__image--empty { background: var(--crh-butter); }
.crh-post-card:nth-child(3n+3) .crh-post-card__image--empty { background: var(--crh-accent-soft); }

.crh-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 18px 18px;
}

.crh-post-card__title {
	font-family: var(--crh-font-display, inherit);
	font-size: 1.28rem;
	font-weight: 700;
	line-height: 1.25;
}

.crh-post-card__excerpt {
	color: var(--crh-ink-soft);
	font-size: 1.04rem;
}

.crh-post-card__meta {
	margin-top: auto;
	padding-top: 6px;
	color: var(--crh-muted);
	font-size: 0.97rem;
	font-weight: 700;
}

.crh .crh-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.crh .crh-pagination a,
.crh .crh-pagination span {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--crh-edge);
	border-radius: 999px;
	background: #fff;
	color: var(--crh-ink);
	font-weight: 800;
	text-decoration: none;
}

.crh .crh-pagination .current {
	background: var(--crh-ink);
	color: var(--crh-paper);
}

/* Article */
.crh-article {
	padding-top: clamp(28px, 5vw, 56px);
}

.crh .crh-article__title {
	font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem);
}

.crh .crh-article__hero {
	max-width: 860px;
	margin: clamp(24px, 4vw, 40px) auto;
}

/* Featured image: as wide as the reading column at most, never stretched beyond its real size. */
.crh .crh-article__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 440px;
	margin: 0 auto;
	object-fit: cover;
	border: 1px solid var(--crh-edge);
	border-radius: 28px;
	box-shadow: var(--crh-pop);
}

.crh-article__hero figcaption {
	margin-top: 10px;
	color: var(--crh-muted);
	font-size: 0.97rem;
	text-align: center;
}

.crh-article__body {
	margin-top: 28px;
}

.crh .crh-ask-card {
	display: grid;
	gap: 14px;
	align-items: center;
	margin: 40px 0 24px;
	padding: 22px;
	border: 1px solid var(--crh-edge);
	border-radius: 24px;
	background: var(--crh-butter);
	box-shadow: var(--crh-pop);
}

.crh .crh-ask-card p {
	margin: 0;
	color: var(--crh-ink-soft);
}

.crh-ask-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--crh-edge);
	border-radius: 16px;
	background: var(--crh-accent);
	font-size: 26px;
}

.crh .crh-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.crh-related {
	margin-top: clamp(40px, 6vw, 72px);
	padding: clamp(40px, 6vw, 72px) 0;
	border-top: 1px solid var(--crh-edge);
	background: var(--crh-sage);
}

.crh-related .crh-post-grid {
	margin-top: 24px;
}

.crh-blogx .crh-replies {
	padding-bottom: clamp(40px, 6vw, 72px);
}

/* ---------- Wide layouts ---------- */

@container (min-width: 900px) {
	.crh-hub-hero__inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.crh-hub-body,
	.crh-topic-layout {
		grid-template-columns: minmax(0, 1fr) 330px;
		align-items: start;
	}

	.crh .crh-area-tiles--compact {
		display: flex;
		flex-wrap: wrap;
	}

	.crh-post-grid .crh-post-card--lead {
		grid-column: 1 / -1;
	}

	.crh-post-card--lead .crh-post-card__link {
		flex-direction: row;
	}

	.crh-post-card--lead .crh-post-card__image {
		width: 56%;
		aspect-ratio: auto;
		min-height: 340px;
		border-bottom: 0;
		border-right: 1px solid var(--crh-edge);
	}

	.crh-post-card--lead .crh-post-card__body {
		justify-content: center;
		padding: 32px;
	}

	.crh-post-card--lead .crh-post-card__title {
		font-size: 2.31rem;
	}

	.crh .crh-ask-card {
		grid-template-columns: auto 1fr auto;
	}
}

/* ---------- Contact page ---------- */

.crh-contact-hero {
	padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 36px);
	background:
		radial-gradient(900px 420px at 85% 0%, color-mix(in srgb, var(--crh-accent) 14%, transparent), transparent 60%),
		var(--crh-paper);
}

.crh .crh-emergency {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 clamp(24px, 4vw, 36px);
	padding: 16px 20px;
	border: 1px solid var(--crh-edge);
	border-radius: 18px;
	background: #fdf1cf;
}

.crh .crh-emergency p {
	margin: 0;
	line-height: 1.55;
}

.crh-emergency__icon {
	font-size: 1.76rem;
	line-height: 1;
}

.crh .crh-contact-body {
	display: grid;
	gap: 28px;
	padding-bottom: clamp(40px, 6vw, 72px);
}

.crh-contact-main,
.crh-contact-side {
	min-width: 0;
}

.crh .crh-contact-card {
	padding: clamp(20px, 3.5vw, 36px);
	border: 1px solid var(--crh-edge);
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--crh-pop);
}

.crh .crh-contact-card__title {
	margin-bottom: 18px;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.crh-contact .crh-form input[type="text"],
.crh-contact .crh-form input[type="email"],
.crh-contact .crh-form textarea {
	border: 1px solid var(--crh-edge);
	border-radius: 14px;
	min-height: 50px;
	font-size: 1.04rem;
}

.crh-contact .crh-form textarea {
	min-height: 160px;
}

.crh .crh-topic-picker {
	margin: 0;
	padding: 0;
	border: 0;
}

.crh .crh-topic-picker legend {
	margin-bottom: 8px;
	padding: 0;
	font-weight: 800;
	font-size: 0.99rem;
}

.crh-topic-picker__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.crh .crh-topic-option {
	position: relative;
	cursor: pointer;
}

.crh .crh-topic-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.crh .crh-topic-option span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.4em 1em;
	border: 1px solid var(--crh-edge);
	border-radius: 999px;
	background: #fff;
	font-size: 0.99rem;
	font-weight: 700;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.crh .crh-topic-option input:checked + span {
	background: var(--crh-butter);
	box-shadow: var(--crh-lift);
}

.crh .crh-topic-option input:focus-visible + span {
	box-shadow: var(--crh-focus);
}

.crh .crh-form__fine {
	margin: 0;
	color: var(--crh-muted);
	font-size: 0.93rem;
}

.crh .crh-form__fine a {
	color: inherit;
}

.crh .crh-contact-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.crh .crh-contact-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 700;
}

.crh .crh-contact-list a {
	color: var(--crh-ink);
	overflow-wrap: anywhere;
}

.crh .crh-contact-address {
	margin: 0 0 10px;
	font-style: normal;
	line-height: 1.6;
}

.crh .crh-contact-subtitle {
	margin: 18px 0 6px;
	font-size: 1.02rem;
	font-weight: 800;
}

.crh .crh-contact-hours {
	margin: 0;
	line-height: 1.7;
}

.crh .crh-contact-map {
	padding-bottom: clamp(48px, 7vw, 88px);
}

.crh .crh-contact-map iframe {
	display: block;
	width: 100%;
	height: clamp(280px, 40vw, 420px);
	border: 1px solid var(--crh-edge);
	border-radius: 28px;
	box-shadow: var(--crh-pop);
}

/* Wrapped form plugins: give common fields the same look. */
.crh-contact-custom input[type="text"],
.crh-contact-custom input[type="email"],
.crh-contact-custom input[type="tel"],
.crh-contact-custom textarea,
.crh-contact-custom select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--crh-edge);
	border-radius: 14px;
	font: inherit;
}

.crh-contact-custom input[type="submit"],
.crh-contact-custom button[type="submit"] {
	padding: 0.7em 1.6em;
	border: 1px solid var(--crh-edge);
	border-radius: 999px;
	background: var(--crh-accent);
	color: #fff;
	font: inherit;
	font-weight: 800;
	box-shadow: var(--crh-lift);
	cursor: pointer;
}

@container (min-width: 900px) {
	.crh .crh-contact-body {
		grid-template-columns: minmax(0, 1fr) 360px;
		align-items: start;
	}
}

.crh .crh-contact-ad .crh-ad {
	margin-top: 0;
	margin-bottom: clamp(40px, 6vw, 72px);
}

.crh .crh-badge--team {
	background: var(--crh-ink, #0e1a33);
	color: var(--crh-paper, #f5f7fb);
}

.crh .crh-reply--team > .crh-reply__card {
	background: var(--crh-paper, #f5f7fb);
	box-shadow: var(--crh-lift);
}

/* Narrow phones: the "New chat" button drops below the assistant name instead of squeezing it. */
@media (max-width: 480px) {
	.crh .crh-chat__header {
		flex-wrap: wrap;
	}
	.crh .crh-chat__who {
		flex: 1 1 200px;
		min-width: 0;
	}
	.crh .crh-chat__new {
		margin-left: auto;
	}
}

/* Topic filter on phones (kept last so it wins over the general filter styles). */
@media (max-width: 640px) {
	.crh .crh-filters__areas {
		display: none;
	}
	.crh .crh-filters__tools {
		flex-wrap: wrap;
		align-items: center;
	}
	.crh .crh-filters__area-label {
		display: block;
		flex: 0 0 auto;
		font-weight: 700;
	}
	.crh .crh-filters__area-select {
		display: block;
		flex: 1 1 0%;
		width: auto;
		min-width: 0;
	}
	.crh .crh-filters__tools input[type="search"] {
		flex: 1 1 100%;
		order: 3;
	}
	.crh .crh-filters__tools [data-crh-sort] {
		flex: 1 1 100%;
		width: 100%;
		order: 4;
	}
}

/* ---------- Homepage on phones (larger default text sizes on many Android phones) ---------- */

/* Headline text always sits above the decorative circles. */
.crh-hero2__copy {
	position: relative;
	z-index: 2;
}

.crh-hero2 .crh-promises li {
	text-align: left;
}

@media (max-width: 640px) {
	/* The decorative circles crowd the text on small screens. */
	.crh-hero2 .crh-blob {
		display: none;
	}

	/* No big empty gap above the suggestions; the log grows as the conversation does. */
	.crh-home--v2 .crh-chat__log {
		min-height: 0;
	}

	/* Suggested questions wrap onto full lines instead of running off the screen. */
	.crh .crh-chat__suggestions {
		flex-direction: column;
		overflow: visible;
	}

	.crh .crh-chat__suggestions .crh-chip {
		justify-content: flex-start;
		white-space: normal;
		text-align: left;
		line-height: 1.35;
		border-radius: 18px;
	}

	/* The message box has room for a two-line placeholder at large text sizes. */
	.crh .crh-chat__input {
		min-height: 3.4em;
	}

	/* Promise pills: icon and text read as one line, left-aligned. */
	.crh-hero2 .crh-promises {
		width: 100%;
	}

	.crh-hero2 .crh-promises li {
		display: flex;
		align-items: center;
		gap: 12px;
		width: 100%;
		border-radius: 18px;
	}
}

/* Keep the green "online" dot next to the first line when the status text wraps. */
.crh .crh-chat__status {
	align-items: flex-start;
}

.crh .crh-chat__status .crh-dot {
	flex: none;
	margin-top: .45em;
}



/* ======================================================================
   CardRewardsHub identity
   Cool paper, deep navy ink, royal-blue accent and a gold highlight.
   Hairline edges and soft lift instead of heavy outlines.
   ====================================================================== */

.crh .crh-display {
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.02;
}

.crh .crh-display--md {
	letter-spacing: -0.025em;
	line-height: 1.1;
}

/* Highlighted word: upright, with a gold marker stroke behind it. */
.crh .crh-display em {
	font-style: normal;
	color: var(--crh-accent);
	isolation: isolate;
}

.crh .crh-display em::after {
	left: -3%;
	right: -3%;
	bottom: 0.06em;
	height: 0.3em;
	z-index: -1;
	border-radius: 4px;
	background: var(--crh-butter);
	opacity: 0.55;
}

.crh .crh-button {
	border-radius: 12px;
	font-weight: 700;
	letter-spacing: -0.005em;
}

.crh-home--v2 .crh-button,
.crh-site .crh-button {
	border-color: transparent;
	box-shadow: 0 1px 2px rgba(14, 26, 51, .12), 0 6px 16px color-mix(in srgb, var(--crh-accent) 24%, transparent);
}

.crh-home--v2 .crh-button:hover,
.crh-site .crh-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(14, 26, 51, .12), 0 10px 22px color-mix(in srgb, var(--crh-accent) 30%, transparent);
}

.crh-home--v2 .crh-button:active,
.crh-site .crh-button:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(14, 26, 51, .12);
}

.crh-home--v2 .crh-button--ghost,
.crh-site .crh-button--ghost {
	border-color: var(--crh-edge);
	box-shadow: none;
}

.crh-home--v2 .crh-button--ghost:hover,
.crh-site .crh-button--ghost:hover {
	border-color: var(--crh-accent);
	box-shadow: var(--crh-lift);
}

/* Small label above headings: a quiet pill with a gold dot. */
.crh .crh-sticker {
	border: 1px solid var(--crh-edge);
	background: #fff;
	box-shadow: none;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--crh-ink-soft);
	transform: none;
}

.crh-sticker__dot {
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	background: var(--crh-butter);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--crh-butter) 35%, transparent);
}

/* Brand mark: a tiny card with a gold chip. */
.crh-brand__mark {
	position: relative;
	width: 42px;
	height: 28px;
	border: 0;
	border-radius: 7px;
	background: linear-gradient(135deg, var(--crh-accent), color-mix(in srgb, var(--crh-accent) 55%, #0e1a33));
	box-shadow: 0 4px 10px color-mix(in srgb, var(--crh-accent) 30%, transparent);
	transform: none;
	flex: none;
}

.crh-brand__mark::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 8px;
	width: 9px;
	height: 7px;
	border-radius: 2px;
	background: var(--crh-butter);
}

.crh-brand__mark::after {
	content: "";
	position: absolute;
	left: 6px;
	right: 6px;
	bottom: 5px;
	height: 2px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .55);
}

.crh-brand__name {
	font-size: 1.3rem;
	letter-spacing: -0.03em;
}

.crh-site-header {
	border-bottom: 1px solid var(--crh-line);
	background: color-mix(in srgb, #fff 86%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	position: sticky;
	top: 0;
}

/* Hero: navy-to-blue wash and a faint grid, like the face of a card. */
.crh-hero2 {
	background:
		radial-gradient(900px 420px at 88% 0%, color-mix(in srgb, var(--crh-accent) 16%, transparent), transparent 62%),
		radial-gradient(700px 380px at 0% 100%, color-mix(in srgb, var(--crh-butter) 18%, transparent), transparent 60%),
		linear-gradient(var(--crh-line) 1px, transparent 1px) 0 0 / 100% 44px,
		var(--crh-paper);
}

.crh-hero2--solo .crh-hero2__grid {
	max-width: 880px;
}

.crh-blob {
	filter: blur(42px);
	opacity: 0.55;
}

.crh-blob--a {
	background: color-mix(in srgb, var(--crh-accent) 38%, #fff);
}

.crh-blob--b {
	background: var(--crh-butter);
	opacity: 0.4;
}

/* The chat sits in the hero like a card on a desk. */
.crh-home--v2 .crh-chat {
	border: 1px solid var(--crh-edge);
	box-shadow: var(--crh-pop);
}

.crh .crh-chat__header {
	background: linear-gradient(135deg, #0e1a33, color-mix(in srgb, var(--crh-accent) 70%, #0e1a33));
	color: #fff;
}

.crh .crh-chat__name,
.crh .crh-chat__status {
	color: #fff;
}

.crh .crh-chat__status {
	opacity: 0.82;
}

.crh .crh-chat__avatar,
.crh .crh-avatar--ai,
.crh .crh-ask-card__icon {
	display: grid;
	place-items: center;
	background: var(--crh-butter);
	color: #0e1a33;
	font-weight: 700;
	border: 0;
}

.crh .crh-chat__new {
	color: #fff;
	border-color: rgba(255, 255, 255, .4);
	background: transparent;
}

/* Advertiser disclosure: plain, readable and close to the content it covers. */
.crh .crh-disclosure {
	margin: 0 0 28px;
	padding: 12px 16px;
	border: 1px solid var(--crh-line);
	border-left: 3px solid var(--crh-butter);
	border-radius: var(--crh-radius-sm);
	background: #fff;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--crh-ink-soft);
}

.crh .crh-site-footer__disclosure {
	max-width: 70em;
}

/* Promise list in the hero: tidy rows. */
.crh .crh-promises li {
	align-items: flex-start;
}


/* Long-form guide under the latest articles on the blog homepage. */
.crh-home-guide {
	padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 5vw, 56px);
	border-top: 2px solid var(--crh-line);
	background: #fff;
}

.crh .crh-home-guide .crh-prose > h2:first-child {
	margin-top: 0;
	font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem);
}

.crh .crh-home-guide .crh-prose h3 {
	margin-top: 2em;
}

.crh .crh-home-guide .crh-prose h4 {
	margin-top: 1.5em;
	margin-bottom: 0.4em;
	font-size: 1.15rem;
}


/* ============================================================
   Article side column (desktop) + folding contents (phones)
   ============================================================ */
.crh .crh-rail { display: none; }
.crh .crh-toc { border: 1px solid var(--crh-edge); border-radius: 18px; background: #fff; padding: 14px 18px; }
.crh .crh-nw { white-space: nowrap; }
.crh .crh-toc--inline { margin: 24px 0 24px; padding: 0; border-radius: 14px; box-shadow: none; }
.crh .crh-toc--inline summary { display: flex; align-items: center; gap: 10px; padding: 8px 16px; min-height: 48px; box-sizing: border-box; cursor: pointer; list-style: none; font-weight: 800; font-size: 1rem; }
.crh .crh-toc--inline summary::-webkit-details-marker { display: none; }
.crh .crh-toc--inline summary::after { content: ""; flex: none; margin-left: auto; width: 9px; height: 9px; border-right: 2.5px solid var(--crh-ink); border-bottom: 2.5px solid var(--crh-ink); transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.crh .crh-toc--inline[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.crh .crh-toc--inline[open] summary { border-bottom: 1px solid var(--crh-line); }
.crh .crh-toc__count { font-weight: 600; font-size: .85rem; color: var(--crh-muted); }
.crh details.crh-toc--inline ol { margin: 0; padding: 10px 16px 12px 2.3em; max-height: 55vh; overflow-y: auto; }
.crh details.crh-toc--inline li { margin: 0; }
.crh details.crh-toc--inline li a { display: block; padding: 7px 0; }
.crh .crh-toc__title { margin: 0 0 8px; font-weight: 800; font-size: 1.02rem; }
.crh .crh-toc ol { margin: 10px 0 2px; padding-left: 1.3em; list-style: decimal; }
.crh .crh-toc li { margin: 0 0 7px; line-height: 1.35; font-size: .98rem; }
.crh .crh-toc a { color: var(--crh-ink); text-decoration: none; }
.crh .crh-toc a:hover, .crh .crh-toc a.is-active { text-decoration: underline; font-weight: 700; color: var(--crh-accent-strong, var(--crh-ink)); }
.crh .crh-rail__ask { border: 1px solid var(--crh-edge); border-radius: 18px; background: var(--crh-butter); box-shadow: var(--crh-lift); padding: 14px 16px; }
.crh .crh-rail__ask p { margin: 0 0 8px; font-size: .95rem; line-height: 1.4; }
.crh .crh-rail__ask-title { font-weight: 800; font-size: 1.05rem !important; }
.crh .crh-rail__ask .crh-button { width: 100%; justify-content: center; min-height: 44px; }
.crh .crh-rail .crh-ad { margin: 0; padding: 0; text-align: center; }

@media (min-width: 1100px) {
	/* Header and body share one width and one left edge: 720px text column + 48px gap + 300px side column. */
	.crh .crh-article--rail .crh-article__head,
	.crh .crh-article--rail .crh-article__layout { max-width: calc(720px + 48px + 300px + 2 * clamp(16px, 4vw, 32px)); }
	.crh .crh-article--rail .crh-article__head > * { max-width: 720px; }
	.crh .crh-article__layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 48px; justify-content: start; align-items: start; }
	.crh .crh-article__main { min-width: 0; }
	.crh .crh-rail { display: block; min-width: 0; align-self: stretch; }
	.crh .crh-toc--inline { display: none; }
	.crh .crh-rail__sticky { display: flex; flex-direction: column; gap: 16px; --crh-rail-fixed: 170px; }
	.crh .crh-rail--ad .crh-rail__sticky { --crh-rail-fixed: 460px; }
	.crh .crh-toc--rail { overflow-y: auto; max-height: max(150px, calc(100vh - 24px - var(--crh-rail-fixed) - 48px)); }
}
/* Stay in view only when the window is tall enough to hold contents, card and ad without cutting any off. */
@media (min-width: 1100px) and (min-height: 760px) {
	.crh .crh-rail__sticky { position: sticky; top: 24px; }
}

/* ============================================================
   Reply footer + Edit / Delete links (editors and admins only)
   ============================================================ */
.crh .crh-reply__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
}

.crh .crh-mod {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-left: auto;
	font-size: 0.84rem;
}

.crh .crh-mod--topic {
	margin: 8px 0 0;
}

.crh .crh-reply__foot .crh-mod a,
.crh .crh-mod a {
	font-weight: 600;
	color: var(--crh-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.crh .crh-reply__foot .crh-mod a.crh-mod__review,
.crh .crh-mod a.crh-mod__review {
	color: #0a6b2c;
}

.crh .crh-reply__foot .crh-mod a.crh-mod__delete,
.crh .crh-mod a.crh-mod__delete {
	color: #b3261e;
}

@media (max-width: 600px) {
	.crh .crh-reply__body {
		font-size: 0.97rem;
		line-height: 1.66;
	}
}

.crh .crh-article__main > .crh-disclosure:first-child {
	margin-top: 12px;
}
