/*
 * Generic content pages (non-shop) visual unification.
 */

html body.bb-page-family-content #main,
html body.page:not(.home):not(.woocommerce-page) #main {
	background: var(--bb-bg-page, #f5f5f3) !important;
}

html body.bb-page-family-content .page-top,
html body.page:not(.home):not(.woocommerce-page) .page-top {
	background: var(--bb-bg-card, #ffffff) !important;
	border-bottom: 1px solid var(--bb-border-soft, #d9d6d2) !important;
}

html body.bb-page-family-content article,
html body.bb-page-family-content .entry-content,
html body.page:not(.home):not(.woocommerce-page) article,
html body.page:not(.home):not(.woocommerce-page) .entry-content {
	background: var(--bb-bg-card, #ffffff);
	border: 1px solid var(--bb-border-soft, #d9d6d2);
	border-radius: var(--bb-radius-xl, 22px);
	box-shadow: var(--bb-shadow-sm, 0 8px 22px rgba(95, 70, 50, 0.05));
}

html body.bb-page-family-content .entry-content,
html body.page:not(.home):not(.woocommerce-page) .entry-content {
	padding: clamp(1rem, 2vw, 1.6rem);
	color: var(--bb-text-primary, #241f1a);
}

html body.bb-page-family-content .entry-content h1,
html body.bb-page-family-content .entry-content h2,
html body.bb-page-family-content .entry-content h3,
html body.page:not(.home):not(.woocommerce-page) .entry-content h1,
html body.page:not(.home):not(.woocommerce-page) .entry-content h2,
html body.page:not(.home):not(.woocommerce-page) .entry-content h3 {
	color: var(--bb-text-primary, #241f1a);
}

html body.bb-page-family-content .entry-content p,
html body.bb-page-family-content .entry-content li,
html body.page:not(.home):not(.woocommerce-page) .entry-content p,
html body.page:not(.home):not(.woocommerce-page) .entry-content li {
	color: var(--bb-text-secondary, #6c5645);
}

html body.bb-page-family-content .entry-content a,
html body.page:not(.home):not(.woocommerce-page) .entry-content a {
	color: var(--bb-brand-primary, #7a5b3f);
}

/* Phase: full-site high-end redesign (content template skeleton). */
html body.bb-page-family-content .entry-content > h1:first-child,
html body.page:not(.home):not(.woocommerce-page) .entry-content > h1:first-child {
	font-size: clamp(1.8rem, 3.2vw, 2.7rem);
	letter-spacing: -0.02em;
	margin-bottom: 0.7rem;
}

html body.bb-page-family-content .entry-content > p:first-of-type,
html body.page:not(.home):not(.woocommerce-page) .entry-content > p:first-of-type {
	font-size: clamp(1rem, 1.7vw, 1.15rem);
	color: var(--bb-text-primary, #241f1a);
}
