/*
 * Vape Supply OZ editorial layer
 * Scoped to posts, post archives, and search results. Product pages and the
 * custom front page retain their existing presentation.
 */

body.single-post,
body.blog,
body.archive,
body.search {
	--vso-editorial-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--vso-editorial-heading: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
	--vso-editorial-ink: #2c2b28;
	--vso-editorial-muted: #6c6962;
	--vso-editorial-rule: #ded9d0;
	background: #f7f5f2;
	color: var(--vso-editorial-ink);
}

body.single-post main.wp-block-group {
	margin-top: 0 !important;
}

body.single-post main > .wp-block-group.alignfull {
	padding-top: clamp(2.5rem, 7vw, 5.75rem) !important;
}

body.single-post .wp-block-post-title {
	max-width: 850px;
	margin: 0 auto 1rem;
	font-family: var(--vso-editorial-heading) !important;
	font-size: clamp(2.15rem, 5vw, 3.7rem) !important;
	font-weight: 760;
	letter-spacing: -0.047em !important;
	line-height: 1.06;
	text-wrap: balance;
	text-transform: none !important;
}

body.single-post .vso-article-meta {
	max-width: 850px;
	margin: 0 auto 2rem;
	gap: 0.6rem;
	font-family: var(--vso-editorial-font);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.035em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--vso-editorial-muted);
}

body.single-post .vso-article-meta a {
	color: inherit;
	text-decoration-color: #b79c70;
	text-underline-offset: 0.18em;
}

body.single-post .wp-block-post-featured-image {
	max-width: 780px;
	margin: 0 auto clamp(1.75rem, 4vw, 3.25rem);
	border: 1px solid var(--vso-editorial-rule);
	background: #ece8e1;
	aspect-ratio: 16 / 10 !important;
	overflow: hidden;
}

body.single-post .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.single-post .wp-block-post-content {
	max-width: 760px;
	margin: 0 auto;
	font-family: var(--vso-editorial-font);
	font-size: clamp(1.02rem, 1.25vw, 1.13rem);
	font-weight: 400;
	letter-spacing: -0.005em;
	line-height: 1.82;
	color: #393732;
}

body.single-post .wp-block-post-content > * {
	max-width: none;
}

body.single-post .wp-block-post-content > p,
body.single-post .wp-block-post-content > ul,
body.single-post .wp-block-post-content > ol {
	margin-top: 0;
	margin-bottom: 1.4em;
}

body.single-post .wp-block-post-content h2,
body.single-post .wp-block-post-content h3,
body.single-post .wp-block-post-content h4 {
	font-family: var(--vso-editorial-heading) !important;
	font-weight: 740;
	letter-spacing: -0.032em !important;
	line-height: 1.16;
	text-transform: none !important;
	color: #252421;
}

body.single-post .wp-block-post-content h2 {
	margin-top: clamp(2.6rem, 6vw, 4.25rem);
	margin-bottom: 1rem;
	padding-top: 0.1rem;
	font-size: clamp(1.6rem, 3vw, 2.25rem);
}

body.single-post .wp-block-post-content h3 {
	margin-top: 2.3rem;
	margin-bottom: 0.8rem;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
}

body.single-post .wp-block-post-content a {
	color: #654718;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

body.single-post .wp-block-post-content blockquote {
	margin: 2.15rem 0;
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 3px solid #b69b6e;
	font-family: var(--vso-editorial-font);
	font-size: 1.12em;
	line-height: 1.62;
	color: #4a463f;
}

body.single-post .wp-block-post-content figure,
body.single-post .wp-block-post-content .wp-block-image {
	margin-top: 2.25rem;
	margin-bottom: 2.25rem;
}

body.single-post .wp-block-post-content figcaption {
	margin-top: 0.6rem;
	font-family: var(--vso-editorial-font);
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--vso-editorial-muted);
}

body.single-post #ez-toc-container {
	width: auto;
	max-width: 760px;
	margin: 2.4rem auto;
	padding: 1.25rem 1.35rem 1.35rem;
	border: 1px solid var(--vso-editorial-rule);
	border-radius: 2px;
	box-shadow: none;
	background: #fbfaf7;
	font-family: var(--vso-editorial-font);
}

body.single-post #ez-toc-container .ez-toc-title,
body.single-post #ez-toc-container nav {
	font-family: var(--vso-editorial-font);
}

body.single-post #ez-toc-container .ez-toc-title {
	font-size: 0.77rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vso-editorial-muted);
}

body.single-post #ez-toc-container ul {
	margin: 0.8rem 0 0;
}

body.single-post #ez-toc-container li {
	margin: 0.32rem 0;
	line-height: 1.45;
}

body.single-post #ez-toc-container a {
	color: #4a4133;
	text-decoration-color: #c7b898;
	text-underline-offset: 0.17em;
}

body.single-post .wp-block-post-terms,
body.single-post .wp-block-post-navigation-link,
body.single-post .wp-block-comments {
	font-family: var(--vso-editorial-font);
}

body.blog .wp-block-query-title,
body.archive .wp-block-query-title,
body.search .wp-block-query-title,
body.blog .wp-block-post-title,
body.archive .wp-block-post-title,
body.search .wp-block-post-title {
	font-family: var(--vso-editorial-heading) !important;
	font-weight: 740;
	letter-spacing: -0.035em !important;
	text-transform: none !important;
}

body.blog .wp-block-post-excerpt,
body.archive .wp-block-post-excerpt,
body.search .wp-block-post-excerpt {
	font-family: var(--vso-editorial-font);
	line-height: 1.68;
	color: var(--vso-editorial-muted);
}

/* Dedicated guide index: same reading system, without borrowing home-page CSS. */
body.page .vso-guides-index {
	--vso-editorial-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--vso-editorial-heading: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
	--vso-editorial-muted: #6c6962;
	--vso-editorial-rule: #ded9d0;
	margin-top: 0 !important;
	background: #f7f5f2;
}

body.page .vso-guides-index .wp-block-post-title {
	max-width: 850px;
	margin: 0 auto 1rem;
	font-family: var(--vso-editorial-heading) !important;
	font-size: clamp(2.15rem, 5vw, 3.7rem) !important;
	font-weight: 760;
	letter-spacing: -0.047em !important;
	line-height: 1.06;
	text-transform: none !important;
}

body.page .vso-guides-index > .wp-block-group > .wp-block-post-content {
	max-width: 700px;
	margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
	font-family: var(--vso-editorial-font);
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--vso-editorial-muted);
}

body.page .vso-guides-index .wp-block-post-template {
	max-width: 1120px;
	margin: 0 auto;
}

body.page .vso-guides-index .vso-guide-card {
	height: 100%;
	padding: clamp(1.35rem, 3vw, 2rem);
	border: 1px solid var(--vso-editorial-rule);
	background: #fffdfa;
}

body.page .vso-guides-index .vso-guide-card .wp-block-post-date {
	margin-bottom: 0.65rem;
	font-family: var(--vso-editorial-font);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vso-editorial-muted);
}

body.page .vso-guides-index .vso-guide-card .wp-block-post-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
	font-weight: 730;
	letter-spacing: -0.03em !important;
	line-height: 1.2;
}

body.page .vso-guides-index .vso-guide-card .wp-block-post-title a {
	color: #292721;
}

body.page .vso-guides-index .vso-guide-card .wp-block-post-excerpt {
	margin: 0;
	font-family: var(--vso-editorial-font);
	font-size: 0.96rem;
	line-height: 1.65;
	color: var(--vso-editorial-muted);
}

body.page .vso-guides-index .vso-guide-card .wp-block-read-more {
	margin-top: 1.2rem;
	font-family: var(--vso-editorial-font);
	font-size: 0.9rem;
	font-weight: 700;
	color: #654718;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

@media (max-width: 700px) {
	body.single-post main > .wp-block-group.alignfull {
		padding-left: 1.15rem;
		padding-right: 1.15rem;
	}

	body.single-post .wp-block-post-content {
		font-size: 1rem;
		line-height: 1.76;
	}

	body.single-post #ez-toc-container {
		padding: 1.05rem 1.1rem 1.15rem;
	}
}
