/*
 * Reading-first design for the homepage and question page.
 *
 * The forum is treated as a civic publication rather than a dashboard: large editorial
 * type establishes hierarchy, fine rules replace most shadows, and every content area
 * leaves enough room for German legal language to breathe.
 */

.slf-view--home,
.slf-view--topic,
.slf-view--article {
	--slf-bg: #f2eee6;
	--slf-bg-header: #fbf9f4;
	--slf-surface: #fffdf8;
	--slf-surface-2: #f4f0e8;
	--slf-surface-3: #e9e3d8;
	--slf-border: #d8d0c3;
	--slf-border-strong: #bdb3a4;
	--slf-text: #172226;
	--slf-text-2: #354246;
	--slf-text-muted: #687276;
	--slf-accent: #b4232f;
	--slf-accent-hover: #8f1722;
	--slf-accent-soft: #f3dcde;
	--slf-accent-text: #8f1722;
	--slf-on-accent: #fff;
	--slf-solved: #276653;
	--slf-shadow: 0 14px 40px rgb(53 42 26 / 6%);
	background:
		radial-gradient(circle at 8% 4%, rgb(180 35 47 / 4%), transparent 26rem),
		var(--slf-bg);
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.62;
}

.slf-view--home h1,
.slf-view--home h2,
.slf-view--home h3,
.slf-view--topic h1,
.slf-view--topic h2,
.slf-view--topic h3,
.slf-view--article h1,
.slf-view--article h2,
.slf-view--article h3 {
	font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
	font-weight: 600;
	letter-spacing: -0.025em;
}

.slf-view--home .slf-container {
	max-width: 1360px;
}

.slf-view--topic .slf-container {
	max-width: 1160px;
}

.slf-view--article .slf-container {
	max-width: 1160px;
}

.slf-view--home .slf-card,
.slf-view--topic .slf-card,
.slf-view--article .slf-card {
	background: var(--slf-surface);
	border-color: var(--slf-border);
	border-radius: 2px;
	box-shadow: none;
}

.slf-view--home .slf-header,
.slf-view--topic .slf-header,
.slf-view--article .slf-header {
	background: color-mix(in srgb, var(--slf-bg-header) 94%, transparent);
	border-bottom-color: var(--slf-border);
	backdrop-filter: blur(14px);
}

.slf-view--home .slf-header {
	flex: none;
}

.slf-view--home .slf-header__inner,
.slf-view--topic .slf-header__inner,
.slf-view--article .slf-header__inner {
	min-height: 76px;
}

.slf-view--home .slf-brand__name,
.slf-view--topic .slf-brand__name,
.slf-view--article .slf-brand__name {
	font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
	font-size: 1.2rem;
	letter-spacing: -0.02em;
}

.slf-view--home .slf-brand__mark,
.slf-view--topic .slf-brand__mark,
.slf-view--article .slf-brand__mark {
	border-radius: 2px;
	background: var(--slf-accent);
}

.slf-view--home .slf-nav a,
.slf-view--topic .slf-nav a,
.slf-view--article .slf-nav a {
	font-size: 0.875rem;
	font-weight: 600;
}

.slf-view--home .slf-theme-toggle,
.slf-view--home .slf-swiss-badge,
.slf-view--topic .slf-swiss-badge,
.slf-view--article .slf-swiss-badge {
	display: none;
}

.slf-view--home .slf-theme-toggle {
	display: inline-grid;
}

.slf-view--home .slf-btn,
.slf-view--topic .slf-btn,
.slf-view--article .slf-btn {
	border-radius: 2px;
}

.slf-view--home .slf-btn--ask,
.slf-view--topic .slf-btn--ask,
.slf-view--home .slf-btn--primary,
.slf-view--topic .slf-btn--primary,
.slf-view--article .slf-btn--primary {
	background: var(--slf-accent);
	border-color: var(--slf-accent);
	color: var(--slf-on-accent);
}

.slf-view--home .slf-btn--ask:hover,
.slf-view--topic .slf-btn--ask:hover,
.slf-view--home .slf-btn--primary:hover,
.slf-view--topic .slf-btn--primary:hover,
.slf-view--article .slf-btn--primary:hover {
	background: var(--slf-accent-hover);
	border-color: var(--slf-accent-hover);
	color: var(--slf-on-accent);
}

/* Homepage: one clear welcome, followed by a calm publication grid. */

.slf-view--home .slf-main {
	flex: 1 0 auto;
	min-height: auto;
	padding-block: 2rem 5rem;
}

.slf-view--home .slf-main > .slf-container,
.slf-view--home .slf-layout--full {
	height: auto;
}

.slf-home-intro {
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

.slf-view--home .slf-hero--home {
	height: auto;
	min-height: clamp(29rem, 48vw, 38rem);
	margin: 0;
	border: 0;
	border-radius: 2px;
	background: #172226;
	box-shadow: var(--slf-shadow);
}

.slf-view--home .slf-hero--home .slf-hero__media {
	z-index: 0;
}

.slf-view--home .slf-hero--home .slf-hero__img {
	object-position: 68% 48%;
	filter: saturate(0.78) contrast(1.04);
}

.slf-view--home .slf-hero--home.slf-hero--image .slf-hero__media::after {
	background:
		linear-gradient(90deg, rgb(18 28 32 / 96%) 0%, rgb(18 28 32 / 91%) 40%, rgb(18 28 32 / 48%) 68%, rgb(18 28 32 / 12%) 100%),
		linear-gradient(0deg, rgb(7 15 18 / 32%), transparent 55%);
}

.slf-view--home .slf-hero--home .slf-hero__inner {
	position: relative;
	z-index: 1;
	justify-content: center;
	min-height: clamp(29rem, 48vw, 38rem);
	max-width: 54rem;
	padding: clamp(2rem, 7vw, 6.5rem);
}

.slf-hero__eyebrow,
.slf-topic-page__eyebrow,
.slf-topic-rail__kicker {
	margin: 0 0 1rem;
	color: #df767c;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.slf-view--home .slf-hero--home .slf-hero__title {
	max-width: 15ch;
	margin-bottom: 1.25rem;
	color: #fffdf8;
	font-size: clamp(2.75rem, 6vw, 5.4rem);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 0.98;
	text-wrap: balance;
}

.slf-view--home .slf-hero--home .slf-hero__lead {
	max-width: 44rem;
	margin-bottom: 2rem;
	color: rgb(255 253 248 / 82%);
	font-size: clamp(1.05rem, 1.7vw, 1.3rem);
	line-height: 1.55;
}

.slf-view--home .slf-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.slf-view--home .slf-hero__actions .slf-btn {
	min-height: 50px;
	padding-inline: 1.35rem;
	font-size: 0.9rem;
}

.slf-view--home .slf-btn--discover {
	background: transparent;
	border-color: rgb(255 253 248 / 46%);
	color: #fffdf8;
}

.slf-view--home .slf-btn--discover:hover {
	background: rgb(255 255 255 / 9%);
	border-color: #fffdf8;
	color: #fffdf8;
}

.slf-hero__note {
	max-width: 38rem;
	margin: 1.25rem 0 0;
	color: rgb(255 253 248 / 64%);
	font-size: 0.78rem;
	letter-spacing: 0.01em;
}

.slf-view--home .slf-layout--full {
	gap: 2rem;
}

.slf-view--home .slf-feed,
.slf-view--home .slf-sidebar,
.slf-view--home .slf-rail {
	min-width: 0;
}

.slf-view--home .slf-feed > .slf-card {
	overflow: hidden;
	border-top: 4px solid var(--slf-accent);
}

.slf-view--home .slf-card__header {
	padding: 1.25rem 1.5rem;
}

.slf-view--home .slf-card__title {
	font-size: 1.35rem;
}

.slf-view--home .slf-feed > .slf-card > .slf-card__header .slf-card__title {
	font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.slf-view--home .slf-topic {
	position: relative;
	display: grid !important;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 0 1rem;
	height: auto;
	min-height: 9rem;
	padding: 1.5rem;
	align-items: start;
	border-bottom-color: var(--slf-border);
	transition: background-color 160ms ease;
}

.slf-view--home .slf-topic:hover {
	background: var(--slf-surface-2);
}

.slf-view--home .slf-topic__state,
.slf-view--home .slf-topic__thumbnail {
	display: none;
}

.slf-view--home .slf-topic > .slf-avatar {
	display: grid;
	width: 44px;
	height: 44px;
	background: var(--slf-surface-3);
	font-size: 0.8rem;
}

.slf-view--home .slf-topic__body {
	min-width: 0;
}

.slf-view--home .slf-topic__title {
	display: flex;
	margin: 0 0 0.5rem;
	overflow: visible;
	font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
	font-size: clamp(1.2rem, 1.8vw, 1.42rem);
	font-weight: 600;
	line-height: 1.3;
	white-space: normal;
}

.slf-view--home .slf-topic__title a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.slf-view--home .slf-topic__excerpt {
	display: -webkit-box;
	max-width: 62ch;
	margin: 0 0 0.65rem;
	overflow: hidden;
	color: var(--slf-text-2);
	font-size: 0.94rem;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.slf-view--home .slf-topic__meta {
	gap: 0.35rem 0.8rem;
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
}

.slf-view--home .slf-topic__meta > * + *::before {
	content: none;
}

.slf-view--home .slf-topic__stats {
	position: static;
	display: flex;
	grid-column: auto;
	gap: 0.9rem;
	margin: 0;
	padding: 0.2rem 0 0 1rem;
	color: var(--slf-text-muted);
	font-size: 0.78rem;
}

.slf-view--home .slf-load-more {
	position: static;
	width: auto;
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--slf-border);
}

.slf-view--home .slf-load-more .slf-btn {
	min-height: 44px;
	font-size: 0.875rem;
}

.slf-view--home .slf-sidebar .slf-card {
	height: auto;
	overflow: visible;
	border-top: 4px solid #172226;
}

.slf-view--home .slf-sidebar .slf-card__title,
.slf-view--home .slf-rail-card .slf-card__title {
	font-size: 1.12rem;
	text-transform: none;
}

.slf-view--home .slf-categories {
	padding: 0.55rem;
}

.slf-view--home .slf-categories__link {
	height: auto;
	min-height: 48px;
	gap: 0.7rem;
	padding: 0.55rem 0.65rem;
	border-radius: 2px;
	color: var(--slf-text-2);
	font-size: 0.86rem;
}

.slf-view--home .slf-categories__link[aria-current="page"] {
	background: var(--slf-accent-soft);
	box-shadow: inset 3px 0 0 var(--slf-accent);
	color: var(--slf-text);
}

.slf-view--home .slf-categories__icon {
	width: 30px;
	height: 30px;
	flex-basis: 30px;
	border-radius: 50%;
}

.slf-view--home .slf-categories__count {
	padding: 0;
	background: transparent;
	font-size: 0.75rem;
}

.slf-view--home .slf-rail {
	gap: 1rem;
}

.slf-view--home .slf-rail-card {
	height: auto;
	overflow: hidden;
	border-radius: 2px;
}

.slf-view--home .slf-rail-card .slf-card__header {
	height: auto;
	padding: 1rem 1.1rem;
}

.slf-view--home .slf-rail-list {
	padding: 0.5rem;
}

.slf-view--home .slf-rail-list__item {
	gap: 0.65rem;
	min-height: 0;
	padding: 0.7rem 0.6rem;
	font-size: 0.83rem;
	line-height: 1.45;
}

.slf-view--home .slf-rail-list__item .slf-topic__stat {
	font-size: 0.72rem;
}

.slf-view--home .slf-rail-card .slf-card__footer {
	height: auto;
	padding: 0.8rem 1.1rem;
	text-align: left;
}

.slf-view--home .slf-rail-card .slf-card__footer a {
	display: flex;
	justify-content: space-between;
	width: 100%;
	color: var(--slf-accent-text);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

.slf-view--home .slf-expert {
	padding: 1rem 1.1rem;
}

.slf-view--home .slf-expert__copy {
	font-size: 0.75rem;
}

.slf-view--home .slf-expert__copy strong {
	font-size: 0.875rem;
}

.slf-view--home .slf-rail-card--guides p {
	height: auto;
	margin: 0;
	padding: 1rem 1.1rem;
	color: var(--slf-text-2);
	font-size: 0.84rem;
	line-height: 1.5;
}

.slf-view--home .slf-footer {
	position: static;
	flex: none;
	height: auto;
	padding-block: 1.5rem;
	background: var(--slf-bg-header);
	border-top-color: var(--slf-border);
}

.slf-view--home .slf-footer__inner {
	height: auto;
}

.slf-view--home .slf-stats__value {
	font-size: 1rem;
}

.slf-view--home .slf-stats__label,
.slf-view--home .slf-footer__links {
	font-size: 0.78rem;
}

/* Topic: give the question and every answer a proper reading measure. */

.slf-view--topic .slf-main {
	padding-block: clamp(2rem, 5vw, 4.5rem) 5rem;
}

.slf-view--topic .slf-layout--topic {
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
}

.slf-topic-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: -0.25rem;
	color: var(--slf-text-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.slf-topic-breadcrumb a {
	color: var(--slf-text-muted);
	text-decoration: none;
}

.slf-topic-breadcrumb a:hover {
	color: var(--slf-accent-text);
}

.slf-view--topic .slf-topic-page {
	overflow: hidden;
	border-top: 5px solid var(--slf-accent);
}

.slf-view--topic .slf-topic-page > .slf-card__body {
	padding: clamp(1.5rem, 5vw, 4rem);
}

.slf-view--topic .slf-topic-page__header {
	margin-bottom: clamp(1.75rem, 4vw, 3rem);
	padding-bottom: clamp(1.5rem, 3vw, 2rem);
	border-bottom: 1px solid var(--slf-border);
}

.slf-view--topic .slf-topic-page__eyebrow {
	color: var(--slf-accent-text);
}

.slf-view--topic .slf-topic-page__title {
	max-width: 19ch;
	margin-bottom: 1.5rem;
	font-size: clamp(2.2rem, 5.2vw, 4.4rem);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.02;
	text-wrap: balance;
}

.slf-view--topic .slf-topic-page__meta {
	gap: 0.65rem 0.9rem;
	margin: 0;
	font-size: 0.82rem;
}

.slf-view--topic .slf-topic-page__meta .slf-avatar {
	width: 36px !important;
	height: 36px !important;
}

.slf-view--topic .slf-topic-page__header .slf-chips {
	margin-top: 1rem;
	margin-bottom: 0;
}

.slf-view--topic .slf-prose {
	max-width: 66ch;
	color: var(--slf-text-2);
	font-family: Charter, "Bitstream Charter", Georgia, serif;
	font-size: clamp(1.08rem, 1.8vw, 1.2rem);
	line-height: 1.8;
}

.slf-view--topic .slf-prose p {
	margin-bottom: 1.25em;
}

.slf-view--topic .slf-topic-page__foot {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--slf-border);
}

.slf-view--topic .slf-answers {
	overflow: hidden;
}

.slf-view--topic .slf-answers > .slf-card__header {
	padding: 1.4rem clamp(1.5rem, 4vw, 2.5rem);
	background: var(--slf-surface-2);
}

.slf-view--topic .slf-answers .slf-card__title {
	font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.slf-view--topic .slf-answer {
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.slf-view--topic .slf-answer .slf-prose {
	font-size: clamp(1rem, 1.6vw, 1.1rem);
	line-height: 1.75;
}

.slf-view--topic .slf-answer__head {
	margin-bottom: 1rem;
}

.slf-view--topic .slf-answer__author {
	font-size: 0.92rem;
}

.slf-view--topic .slf-answer__actions {
	margin-top: 1.5rem;
}

.slf-view--topic .slf-answer.is-verified,
.slf-view--topic .slf-answer.is-accepted {
	border-left-width: 5px;
}

.slf-view--topic .slf-topic-rail {
	gap: 1rem;
}

.slf-topic-rail__answer-cta {
	padding: 1.5rem;
	border-top: 4px solid var(--slf-accent) !important;
}

.slf-topic-rail__answer-cta .slf-topic-rail__kicker {
	margin-bottom: 0.65rem;
	color: var(--slf-accent-text);
}

.slf-topic-rail__answer-cta h2 {
	margin-bottom: 0.65rem;
	font-size: 1.6rem;
	line-height: 1.1;
}

.slf-topic-rail__answer-cta p:not(.slf-topic-rail__kicker) {
	color: var(--slf-text-2);
	font-size: 0.86rem;
	line-height: 1.55;
}

.slf-view--topic .slf-topic-rail .slf-card__header {
	padding: 1rem 1.1rem;
}

.slf-view--topic .slf-topic-rail .slf-card__title {
	font-size: 1.15rem;
}

.slf-view--topic .slf-topic-rail__list a {
	font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
	font-size: 0.96rem;
	line-height: 1.4;
}

/* Standard WordPress posts use the same editorial language, with an even calmer column. */

.slf-view--article .slf-main {
	padding-block: clamp(2rem, 6vw, 5rem) 6rem;
}

.slf-view--article .slf-layout--single {
	max-width: 880px;
}

.slf-article-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
	color: var(--slf-text-muted);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.slf-article-breadcrumb a {
	color: var(--slf-text-muted);
	text-decoration: none;
}

.slf-article-breadcrumb a:hover {
	color: var(--slf-accent-text);
}

.slf-view--article .slf-page {
	overflow: hidden;
	border-top: 5px solid var(--slf-accent);
}

.slf-view--article .slf-page__image {
	max-height: 34rem;
	border-radius: 0;
	object-fit: cover;
}

.slf-view--article .slf-page > .slf-card__body {
	padding: clamp(1.5rem, 7vw, 5rem);
}

.slf-page__eyebrow {
	margin: 0 0 1rem;
	color: var(--slf-accent-text);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.slf-view--article .slf-page__title {
	max-width: 17ch;
	margin-bottom: 1.25rem;
	font-size: clamp(2.4rem, 6vw, 5rem);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.02;
	text-wrap: balance;
}

.slf-page__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 clamp(2rem, 5vw, 3.5rem);
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--slf-border);
	color: var(--slf-text-muted);
	font-size: 0.82rem;
	font-weight: 600;
}

.slf-view--article .slf-prose--page {
	max-width: 65ch;
	color: var(--slf-text-2);
	font-family: Charter, "Bitstream Charter", Georgia, serif;
	font-size: clamp(1.08rem, 2vw, 1.23rem);
	line-height: 1.82;
}

.slf-view--article .slf-prose--page p {
	margin-bottom: 1.35em;
	line-height: inherit;
}

.slf-view--article .slf-prose--page h2 {
	margin: 2.2em 0 0.65em;
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	line-height: 1.16;
}

.slf-view--article .slf-prose--page h3 {
	margin: 1.8em 0 0.55em;
	font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.slf-view--article .slf-prose--page blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 4px solid var(--slf-accent);
	color: var(--slf-text);
	font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
	font-size: 1.2em;
}

.slf-view--article .slf-share {
	margin-top: 3rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--slf-border);
}

@media (min-width: 62em) {
	.slf-view--home .slf-header__actions .slf-btn {
		min-height: 42px;
		padding-inline: 0.85rem;
		font-size: 0.8rem;
	}

	.slf-view--home .slf-langs {
		padding: 2px;
		border: 1px solid var(--slf-border);
	}

	.slf-view--home .slf-langs__item {
		display: inline-flex;
		min-height: 32px;
		padding-inline: 0.45rem;
		font-size: 0.7rem;
	}

	.slf-view--home .slf-langs__item.is-current {
		background: var(--slf-accent);
		color: var(--slf-on-accent);
	}

	.slf-view--home .slf-langs__item.is-current::after {
		content: none;
	}

	.slf-view--home .slf-layout--full {
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	.slf-view--home .slf-layout--full > .slf-feed {
		grid-column: 1;
		grid-row: 1;
	}

	.slf-view--home .slf-layout--full > .slf-rail {
		grid-column: 2;
		grid-row: 1;
	}

	.slf-view--home .slf-layout--full > .slf-sidebar {
		grid-column: 1 / -1;
		grid-row: 2;
		order: 0;
	}

	.slf-view--home .slf-sidebar .slf-categories {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.slf-view--topic .slf-layout--topic {
		grid-template-columns: minmax(0, 1fr) 270px;
		gap: 2.25rem;
	}

	.slf-view--topic .slf-topic-rail {
		position: sticky;
		top: 100px;
		align-self: start;
	}
}

@media (min-width: 80em) {
	.slf-view--home .slf-layout--full {
		grid-template-columns: 236px minmax(0, 1fr) 292px;
		gap: 2rem;
	}

	.slf-view--home .slf-layout--full > .slf-sidebar {
		grid-column: 1;
		grid-row: 1;
		order: -1;
	}

	.slf-view--home .slf-layout--full > .slf-feed {
		grid-column: 2;
	}

	.slf-view--home .slf-layout--full > .slf-rail {
		grid-column: 3;
	}

	.slf-view--home .slf-sidebar .slf-categories {
		display: block;
	}

	.slf-view--home .slf-sidebar,
	.slf-view--home .slf-rail {
		position: sticky;
		top: 100px;
		align-self: start;
	}
}

@media (max-width: 47.999em) {
	.slf-view--home .slf-main,
	.slf-view--topic .slf-main {
		padding-top: 1rem;
	}

	.slf-view--home .slf-hero--home,
	.slf-view--home .slf-hero--home .slf-hero__inner {
		min-height: 34rem;
	}

	.slf-view--home .slf-hero--home .slf-hero__inner {
		justify-content: flex-end;
		padding: 2rem 1.25rem;
	}

	.slf-view--home .slf-hero--home.slf-hero--image .slf-hero__media::after {
		background: linear-gradient(0deg, rgb(18 28 32 / 97%) 0%, rgb(18 28 32 / 78%) 62%, rgb(18 28 32 / 25%) 100%);
	}

	.slf-view--home .slf-hero--home .slf-hero__title {
		font-size: clamp(2.5rem, 12vw, 3.7rem);
	}

	.slf-view--home .slf-topic {
		grid-template-columns: 40px minmax(0, 1fr);
		min-height: 0;
		padding: 1.25rem;
	}

	.slf-view--home .slf-topic > .slf-avatar {
		width: 40px;
		height: 40px;
	}

	.slf-view--home .slf-topic__stats {
		grid-column: 2;
		padding: 0.75rem 0 0;
	}

	.slf-view--home .slf-filters {
		margin-left: 0;
	}

	.slf-view--topic .slf-topic-page > .slf-card__body,
	.slf-view--topic .slf-answer {
		padding-inline: 1.25rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.slf-home-intro,
	.slf-view--home .slf-layout--full,
	.slf-view--topic .slf-topic-column,
	.slf-view--topic .slf-topic-rail {
		animation: slf-editorial-rise 500ms both;
	}

	.slf-view--home .slf-layout--full,
	.slf-view--topic .slf-topic-rail {
		animation-delay: 100ms;
	}

	@keyframes slf-editorial-rise {
		from {
			opacity: 0;
			transform: translateY(12px);
		}

		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .slf-view--home,
	:root:not([data-theme="light"]) .slf-view--topic,
	:root:not([data-theme="light"]) .slf-view--article {
		--slf-bg: #111719;
		--slf-bg-header: #151c1e;
		--slf-surface: #192123;
		--slf-surface-2: #202a2c;
		--slf-surface-3: #293436;
		--slf-border: #344043;
		--slf-border-strong: #4b595c;
		--slf-text: #f4f0e8;
		--slf-text-2: #cfd3cf;
		--slf-text-muted: #9fa8a7;
		--slf-accent: #d94b55;
		--slf-accent-hover: #ec626b;
		--slf-accent-soft: #46272b;
		--slf-accent-text: #f18a91;
		--slf-shadow: 0 16px 44px rgb(0 0 0 / 22%);
	}
}

:root[data-theme="dark"] .slf-view--home,
:root[data-theme="dark"] .slf-view--topic,
:root[data-theme="dark"] .slf-view--article {
	--slf-bg: #111719;
	--slf-bg-header: #151c1e;
	--slf-surface: #192123;
	--slf-surface-2: #202a2c;
	--slf-surface-3: #293436;
	--slf-border: #344043;
	--slf-border-strong: #4b595c;
	--slf-text: #f4f0e8;
	--slf-text-2: #cfd3cf;
	--slf-text-muted: #9fa8a7;
	--slf-accent: #d94b55;
	--slf-accent-hover: #ec626b;
	--slf-accent-soft: #46272b;
	--slf-accent-text: #f18a91;
	--slf-shadow: 0 16px 44px rgb(0 0 0 / 22%);
}
