.chc-container {
	width: min(1200px, calc(100% - 32px));
	margin-inline: auto;
}

.site-main {
	padding: 32px 0;
}

.chc-page-header {
	padding: 24px 0;
	border-bottom: 1px solid var(--chc-color-border);
	background: #fafafa;
}

.chc-page-title {
	margin: 0;
	font-size: 2rem;
}

.chc-content-layout {
	display: grid;
	gap: 32px;
	padding-top: 32px;
}

.chc-content-layout--right-sidebar {
	grid-template-columns: minmax(0, 1fr) 300px;
}

.chc-content-layout--left-sidebar {
	grid-template-columns: 300px minmax(0, 1fr);
}

.chc-content-layout--left-sidebar .chc-main-content {
	order: 2;
}

.chc-content-layout--left-sidebar .chc-sidebar {
	order: 1;
}

.chc-content-layout--no-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

.chc-main-content {
	min-width: 0;
}

.chc-sidebar {
	min-width: 0;
}

@media (max-width: 980px) {
	.chc-content-layout,
	.chc-content-layout--right-sidebar,
	.chc-content-layout--left-sidebar,
	.chc-content-layout--no-sidebar {
		grid-template-columns: 1fr;
	}
}

.chc-sidebar-placeholder {
	padding: 16px;
	border: 1px dashed var(--chc-color-border);
	border-radius: var(--chc-radius);
	background: rgba(0, 0, 0, 0.02);
	color: var(--chc-color-muted);
	font-size: 0.9rem;
}