/* Shared visual treatment for WordPress pages and editorial content. */
body.page:not(.home) .site-main,
body.blog .site-main,
body.archive .site-main {
	padding-block: clamp(2rem, 5vw, 5rem);
}

body.page:not(.home) .entry-header,
body.blog .page-title,
body.archive .page-title {
	max-width: 76rem;
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 4.5rem);
	border: 3px solid #072e58;
	border-radius: 1.25rem 6rem 1.25rem 1.25rem;
	background: #ffce42;
	box-shadow: .75rem .75rem 0 #ff775c;
}

body.page:not(.home) .entry-title,
body.blog .page-title,
body.archive .page-title {
	color: #072e58;
	font-weight: 900;
	font-size: clamp(2.7rem, 7vw, 5.5rem);
	line-height: .98;
	letter-spacing: -.03em;
}

body.page:not(.home) .entry-content {
	max-width: 76rem;
	margin: 3rem auto 0;
	font-size: 1.05rem;
	line-height: 1.7;
}

body.page:not(.home) .entry-content h2,
body.page:not(.home) .entry-content h3 {
	color: #072e58;
	font-weight: 900;
	line-height: 1.04;
	letter-spacing: -.02em;
}

body.page:not(.home) .entry-content .wp-block-group,
body.page:not(.home) .entry-content .wp-block-quote {
	padding: clamp(1.25rem, 3vw, 2.5rem);
	border: 2px solid #b8d9ef;
	border-radius: 1rem;
	background: #fff;
}

body.page:not(.home) .entry-content .wp-block-button__link {
	border: 2px solid #072e58;
	border-radius: .35rem;
	background: #ff775c;
	color: #072e58;
	font-weight: 900;
}

/* These selectors decorate common editor and builder wrappers in place. They
   do not replace, hide, reorder, or require any particular editor output. */
.zpc-brand-page .entry-content .wp-block-columns,
.zpc-brand-page .entry-content .stk-block,
.zpc-brand-page .entry-content .vc_row,
.zpc-brand-page .entry-content .lvca-grid-container,
.zpc-brand-page .entry-content [class*="lvca-"],
.zpc-brand-page .entry-content .so-panel {
	margin-block: clamp(1.25rem, 3vw, 2.5rem);
}

.zpc-brand-page .entry-content .wp-block-column,
.zpc-brand-page .entry-content .stk-block-column,
.zpc-brand-page .entry-content .vc_column_container,
.zpc-brand-page .entry-content .lvca-panel,
.zpc-brand-page .entry-content .so-panel {
	padding: clamp(1rem, 2.5vw, 1.75rem);
	border: 1px solid #b8d9ef;
	border-radius: 1rem;
	background: #fff;
}

.zpc-brand-page .entry-content :where(a):focus-visible {
	outline: 3px solid #ff775c;
	outline-offset: 3px;
}

/* Support and recovery surfaces retain Blocksy's document structure while
   using the BuBuZoo visual language and accessible native controls. */
.zpc-support-preface {
	display: grid;
	gap: .7rem;
	margin: 0 0 2rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 2px solid #072e58;
	border-left: .5rem solid #ff775c;
	border-radius: 1rem;
	background: #e5f5ff;
	box-shadow: .35rem .35rem 0 #072e58;
	color: #072e58;
}

.zpc-support-preface span,
.zpc-eyebrow,
.zpc-search-result > p {
	margin: 0;
	font-size: .78rem;
	font-weight: 900;
	letter-spacing: .12em;
	line-height: 1.25;
	text-transform: uppercase;
}

.zpc-support-preface p {
	margin: 0;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 800;
	line-height: 1.4;
}

.zpc-support-preface a {
	width: fit-content;
	border-bottom: 2px solid currentColor;
	color: #072e58;
	font-weight: 900;
	text-decoration: none;
}

.zpc-support-page .entry-content details {
	margin-block: 1rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--zpc-border);
	border-radius: .8rem;
	background: #fff;
}

.zpc-support-page .entry-content summary {
	cursor: pointer;
	color: #072e58;
	font-weight: 900;
}

.zpc-support-page .entry-content input,
.zpc-support-page .entry-content textarea,
.zpc-search-page input[type="search"] {
	width: 100%;
	min-height: 2.8rem;
	border: 2px solid #072e58;
	border-radius: .4rem;
	background: #fff;
	color: #072e58;
}

.zpc-support-page .entry-content textarea {
	min-height: 9rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: .45rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: 2.75rem;
	padding: .65rem .85rem;
	border: 1px solid var(--zpc-border);
	border-radius: .6rem;
	color: var(--zpc-teal);
	font-weight: 800;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible {
	border-color: #072e58;
	background: #ffce42;
	box-shadow: 3px 3px 0 #ff775c;
}

.zpc-empty-state,
.zpc-search-hero {
	max-width: 58rem;
	margin: clamp(3rem, 10vw, 8rem) auto;
	padding: clamp(1.5rem, 5vw, 4rem);
	border: 3px solid #072e58;
	border-radius: 1.25rem 5rem 1.25rem 1.25rem;
	background: #ffce42;
	box-shadow: .75rem .75rem 0 #ff775c;
	color: #072e58;
}

.zpc-empty-state h1,
.zpc-empty-state h2,
.zpc-search-hero h1 {
	margin: .5rem 0 1rem;
	color: #072e58;
	font-size: clamp(2.5rem, 7vw, 5rem);
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: .96;
}

.zpc-empty-state > p,
.zpc-search-hero > p:not(.zpc-eyebrow) {
	max-width: 42rem;
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.6;
}

.zpc-empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
	margin-top: 1.5rem;
}

.zpc-action,
.zpc-search-page input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.8rem;
	padding: .75rem 1rem;
	border: 2px solid #072e58;
	border-radius: .35rem;
	font-weight: 900;
	text-decoration: none;
}

.zpc-action--primary,
.zpc-search-page input[type="submit"] {
	background: #ff775c;
	box-shadow: 3px 3px 0 #072e58;
	color: #072e58;
}

.zpc-action--secondary {
	background: #fff;
	color: #072e58;
}

.zpc-search-hero form {
	display: flex;
	gap: .6rem;
	margin-top: 1.5rem;
}

.zpc-search-results {
	display: grid;
	gap: 1rem;
	max-width: 58rem;
	margin: 0 auto 4rem;
}

.zpc-search-result {
	padding: 1.4rem;
	border: 1px solid var(--zpc-border);
	border-radius: .9rem;
	background: #fff;
}

.zpc-search-result h2 {
	margin: .35rem 0 .65rem;
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.zpc-search-result h2 a {
	color: #072e58;
	text-decoration-thickness: 2px;
}

@media (max-width: 767px) {
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		width: 100%;
		float: none;
	}

	.zpc-search-hero form {
		flex-direction: column;
	}

	.zpc-empty-state,
	.zpc-search-hero {
		margin-block: 2rem 3rem;
		box-shadow: .4rem .4rem 0 #ff775c;
	}
}
