.ws-home-lead {
	padding: 3rem 0 3.5rem;
	background: var(--ws-surface);
}

.ws-home-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
	align-items: end;
	gap: 2rem;
	margin-bottom: 2rem;
}

.ws-home-heading h1 {
	max-width: 800px;
	margin: 0;
	font-size: clamp(2.6rem, 5.5vw, 5rem);
}

.ws-home-heading > p {
	margin: 0 0 .6rem;
	color: var(--ws-muted);
	font-size: 1.06rem;
}

.ws-featured-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
	gap: 1.25rem;
}

.ws-featured-main {
	overflow: hidden;
	border: 1px solid var(--ws-border);
	border-radius: var(--ws-radius-lg);
	background: var(--ws-surface);
	box-shadow: var(--ws-shadow-sm);
}

.ws-featured-main__image {
	display: block;
	aspect-ratio: 16 / 8.6;
	overflow: hidden;
	background: var(--ws-surface-alt);
}

.ws-featured-main__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ws-featured-main__content {
	padding: clamp(1.4rem, 3vw, 2rem);
}

.ws-featured-main__content h2 {
	font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.ws-featured-main__content h2 a,
.ws-rail-card h2 a {
	color: var(--ws-ink);
	text-decoration: none;
}

.ws-featured-main__content > p {
	color: var(--ws-muted);
}

.ws-featured-rail {
	display: grid;
	gap: .85rem;
}

.ws-rail-card {
	display: grid;
	grid-template-columns: 124px minmax(0, 1fr);
	gap: 1rem;
	padding: .85rem;
	border: 1px solid var(--ws-border);
	border-radius: 14px;
	background: var(--ws-surface);
}

.ws-rail-card__image {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 10px;
	background: var(--ws-surface-alt);
}

.ws-rail-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ws-rail-card .ws-badge {
	margin-bottom: .35rem;
	font-size: .67rem;
}

.ws-rail-card h2 {
	margin-bottom: .45rem;
	font-size: 1.02rem;
	line-height: 1.28;
}

.ws-topic-section {
	padding: 3.75rem 0;
	border-block: 1px solid var(--ws-border);
	background: var(--ws-surface-alt);
}

.ws-topic-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .9rem;
}

.ws-topic-card {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .16rem 1rem;
	padding: 1.1rem 1.2rem;
	border: 1px solid var(--ws-border);
	border-radius: 12px;
	background: var(--ws-surface);
	color: var(--ws-ink);
	text-decoration: none;
	transition: border-color .18s ease, transform .18s ease;
}

.ws-topic-card:hover {
	transform: translateY(-2px);
	border-color: var(--ws-accent);
}

.ws-topic-card__type {
	color: var(--ws-accent);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ws-topic-card__name {
	font-weight: 780;
}

.ws-topic-card__count {
	color: var(--ws-muted);
	font-size: .83rem;
}

.ws-topic-card > span:last-child {
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: center;
	color: var(--ws-accent);
	font-size: 1.25rem;
}

.ws-latest-section {
	padding: 4.25rem 0 5rem;
}

.ws-archive-header {
	padding: 3.5rem 0 2.5rem;
	border-bottom: 1px solid var(--ws-border);
	background: var(--ws-surface-alt);
}

.ws-archive-header h1 {
	max-width: 900px;
	margin-bottom: .45rem;
}

.ws-archive-header > .ws-container > p,
.ws-archive-description {
	max-width: 760px;
	color: var(--ws-muted);
}

.ws-article-shell,
.ws-page-shell {
	width: min(calc(100% - 2rem), 1180px);
	margin-inline: auto;
	padding-block: 2.75rem 5rem;
}

.ws-article-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--ws-reading)) 260px;
	align-items: start;
	justify-content: center;
	gap: 2.5rem;
}

.ws-article {
	width: 100%;
}

.ws-article-aside {
	position: sticky;
	top: calc(var(--ws-header-height) + 24px);
}

.ws-article-header {
	margin-bottom: 1.75rem;
}

.ws-article-header h1 {
	font-size: clamp(2.35rem, 5vw, 4.45rem);
}

.ws-article-deck {
	max-width: 720px;
	color: var(--ws-muted);
	font-size: 1.14rem;
	line-height: 1.6;
}

.ws-article-featured {
	margin: 0 0 2.2rem;
	overflow: hidden;
	border-radius: var(--ws-radius-lg);
}

.ws-entry-content {
	font-size: 1.06rem;
}

.ws-entry-content > * {
	max-width: var(--ws-reading);
	margin-inline: auto;
}

.ws-entry-content > .alignwide {
	max-width: 1080px;
}

.ws-entry-content > .alignfull {
	max-width: none;
}

.ws-entry-content h2,
.ws-entry-content h3 {
	scroll-margin-top: calc(var(--ws-header-height) + 24px);
	margin-top: 1.85em;
}

.ws-entry-content a {
	font-weight: 650;
}

.ws-entry-content table {
	display: block;
	overflow-x: auto;
}

.ws-article-footer {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--ws-border);
}

.ws-related {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid var(--ws-border);
}

.ws-author-hero {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 1.4rem;
}

.ws-author-posts,
.ws-search-results {
	padding-block: 3rem 5rem;
}

.ws-error-page {
	display: grid;
	min-height: 68vh;
	place-items: center;
	padding: 4rem 0;
	text-align: center;
}

.ws-error-page .ws-container {
	max-width: 680px;
}

.ws-error-code {
	display: block;
	color: var(--ws-accent);
	font-size: clamp(5rem, 15vw, 9rem);
	font-weight: 900;
	line-height: .9;
	letter-spacing: -.08em;
}

.ws-empty-state {
	padding: 2rem;
	border: 1px dashed var(--ws-border);
	border-radius: var(--ws-radius-md);
	background: var(--ws-surface-alt);
	text-align: center;
}
