/* CHXN page: generic page.php (4 policy pages + any other plain content
   page) — breadcrumb, sidebar+content 2-column layout, prose typography,
   and the sidebar widgets shared with the blog (sidebar.php). */

.chxn-page-wrap {
	/* longhand, not shorthand — carries ".chxn-container" too (page.php);
	   a same-specificity shorthand "padding" would overwrite the
	   container's own side padding (see pages/shop.css's
	   ".chxn-shop-layout" for the original diagnosis). */
	padding-top: 24px;
	padding-bottom: 56px;
}
.chxn-page-crumb {
	font-size: 13px;
	color: var(--chxn-ink-2);
	margin-bottom: 18px;
}
.chxn-page-crumb a {
	color: var(--chxn-ink-2);
	text-decoration: none;
}
.chxn-page-crumb a:hover {
	color: var(--chxn-green-d);
}

.chxn-page-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 28px;
	align-items: start;
}
/* below ~1380px this shared container has no spare margin outside its
   own 20px padding for the fixed floating contact cluster (components/
   fab.css, bottom-right) to sit in — the content column's own text can
   end up flush against the container edge, right where those buttons
   float. Same fix as pages/checkout.css, shop.css, blog.css,
   product-detail.css. */
@media (min-width: 851px) and (max-width: 1380px) {
	.chxn-page-layout {
		padding-right: 90px;
	}
}

.chxn-page-content-card {
	background: var(--chxn-card);
	border: 1px solid var(--chxn-line);
	border-radius: var(--chxn-radius-card);
	padding: 28px 32px;
}
.chxn-page-content-title {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.chxn-page-prose {
	font-size: 14.5px;
	line-height: 1.8;
	color: var(--chxn-ink-2);
}
.chxn-page-prose h2,
.chxn-page-prose h3 {
	font-size: 18px;
	font-weight: 800;
	color: var(--chxn-green-d);
	margin: 22px 0 10px;
}
.chxn-page-prose h2:first-child,
.chxn-page-prose h3:first-child {
	margin-top: 0;
}
.chxn-page-prose p {
	margin: 0 0 14px;
}
.chxn-page-prose ul {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}
.chxn-page-prose ol {
	margin: 0 0 14px;
	padding-left: 22px;
}
.chxn-page-prose ul li {
	padding: 5px 0 5px 26px;
	position: relative;
	margin-bottom: 4px;
}
.chxn-page-prose ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--chxn-green);
	font-weight: 700;
}
.chxn-page-prose ol li {
	margin-bottom: 4px;
}
.chxn-page-prose strong {
	color: var(--chxn-ink);
}
.chxn-page-prose a {
	color: var(--chxn-green-d);
}

/* ---- shared sidebar widget shell (policy cross-nav + blog widgets) ---- */
#secondary {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.chxn-blog-widget {
	background: var(--chxn-card);
	border: 1px solid var(--chxn-line);
	border-radius: var(--chxn-radius-card);
	padding: 20px 22px;
}
.chxn-blog-widget-title {
	font-size: 15px;
	font-weight: 800;
	margin-bottom: 14px;
}

.chxn-policy-nav {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.chxn-policy-nav-link {
	display: block;
	padding: 10px 12px;
	border-radius: 9px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--chxn-ink-2);
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
.chxn-policy-nav-link:hover {
	background: var(--chxn-bg);
	color: var(--chxn-ink);
}
.chxn-policy-nav-link.is-active {
	background: var(--chxn-green-l);
	color: var(--chxn-green-d);
	font-weight: 700;
}

@media (max-width: 850px) {
	.chxn-page-layout {
		grid-template-columns: 1fr;
	}
	.chxn-page-layout #secondary {
		order: 2;
	}
	.chxn-page-layout .chxn-page-content-card {
		order: 1;
	}
}
