/**
 * Canvas layout — content width aligned with Elementor (1140px).
 */

.cb-main {
	display: block;
	min-height: 50vh;
	/* clip avoids the scroll-container side effect of hidden, which breaks position: sticky */
	overflow-x: clip;
}

.cb-article__inner {
	padding-top: var(--space-xl);
	padding-bottom: var(--space-2xl);
}

.cb-article__title {
	margin: 0 0 var(--space-lg);
}

.cb-article__content > *:first-child {
	margin-top: 0;
}

/* Elementor full-width pages: do not constrain inner Elementor sections.
 * Vertical padding is dropped too — Elementor sections manage their own spacing
 * and hero widgets sit flush under the fixed header, so the default article
 * top padding reads as dead space above the first section. */
.cb-elementor-preview .cb-article__inner,
.elementor-page .cb-article__inner {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
}

.elementor-page .cb-article__header {
	display: none;
}

.cb-archive,
.cb-search,
.cb-not-found {
	padding-top: var(--space-xl);
	padding-bottom: var(--space-2xl);
}

.cb-archive__list,
.cb-search__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cb-archive__item + .cb-archive__item,
.cb-search__list li + li {
	margin-top: var(--space-lg);
}

.cb-skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	inset-inline-start: var(--space-md);
	top: var(--space-md);
	z-index: 100000;
}
