/* WPMozo Docs: theme tokens (wpmozo-block), Manrope, site type scale. */
.wd {
	--wd-accent: var(--wp--preset--color--accent, #2563eb);
	--wd-accent-light: var(--wp--preset--color--accent-light, #dbeafe);
	--wd-accent-dark: var(--wp--preset--color--accent-dark, #1d4ed8);
	--wd-ink: var(--wp--preset--color--ink, #0a0a0b);
	--wd-ink-2: var(--wp--preset--color--ink-2, #3a3a3f);
	--wd-ink-3: var(--wp--preset--color--ink-3, #6e6e74);
	--wd-border: var(--wp--preset--color--border, #e5e5e2);
	--wd-surface: var(--wp--preset--color--surface, #f7f7f5);
	--wd-bg: var(--wp--preset--color--background, #fff);
	--wd-free: var(--wp--preset--color--green-text, #177844);
	--wd-free-bg: var(--wp--preset--color--mint, #D4F7EA);
	--wd-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--el-header-h, 72px) + 16px);
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin: 0 auto;
	padding: 0 24px 64px;
	color: var(--wd-ink-2);
}


/* Top bar */
.wd__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--wd-border);
	margin-bottom: 32px;
}
.wd__bar > .wd__search { margin-left: auto; width: 320px; }
.wd__menu {
	display: none;
	border: 1px solid var(--wd-border);
	background: var(--wd-bg);
	border-radius: 8px;
	padding: 6px 12px;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	color: var(--wd-ink);
}
.wd__crumbs { font-size: 14px; color: var(--wd-ink-3); min-width: 0; }
.wd__crumbs a { color: var(--wd-ink-3); text-decoration: none; }
.wd__crumbs a:hover { color: var(--wd-accent); }
.wd__crumbs [aria-current] { color: var(--wd-ink); }
.wd__sep { margin: 0 8px; opacity: .5; }

/* Grid */
.wd__grid {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr) 220px;
	gap: 48px;
	align-items: start;
}
.wd--kb .wd__grid { grid-template-columns: 260px minmax(0, 1fr); }
.wd--kb .wd__toc { display: none; }

/* Sidebar */
.wd__nav {
	position: sticky;
	top: var(--wd-top);
	max-height: calc(100vh - var(--wd-top) - 16px);
	overflow-y: auto;
	padding-right: 8px;
	font-size: 14px;
	scrollbar-width: thin;
}
.wd__navhome {
	display: block;
	padding: 6px 10px;
	margin: 12px 0 8px;
	border-radius: 6px;
	color: var(--wd-ink);
	font-weight: 600;
	text-decoration: none;
}
.wd__navsec { margin: 0 0 4px; }
.wd__navsec > summary {
	list-style: none;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 6px;
	font-weight: 600;
	color: var(--wd-ink);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.wd__navsec > summary::-webkit-details-marker { display: none; }
.wd__navsec > summary::after { content: "›"; transition: transform .15s; color: var(--wd-ink-3); }
.wd__navsec[open] > summary::after { transform: rotate(90deg); }
.wd__navsec > summary:hover,
.wd__navhome:hover { background: var(--wd-surface); }
.wd__navsec ul { list-style: none; margin: 2px 0 8px; padding: 0 0 0 10px; border-left: 1px solid var(--wd-border); }
.wd__navsec li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 5px 10px;
	border-radius: 6px;
	color: var(--wd-ink-2);
	text-decoration: none;
	line-height: 1.35;
}
.wd__navsec li a:hover { background: var(--wd-surface); color: var(--wd-ink); }
.wd__navsec li a.is-current,
.wd__navhome.is-current { background: var(--wd-accent-light); color: var(--wd-accent-dark); font-weight: 600; }

/* Badges */
.wd-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 999px;
	letter-spacing: .02em;
	vertical-align: middle;
	white-space: nowrap;
}
.wd-badge--free { background: var(--wd-free-bg, #dcfce7); color: var(--wd-free, #15803d); }
.wd-badge--pro { background: var(--wd-accent-light, #dbeafe); color: var(--wd-accent-dark, #1d4ed8); }
.wd-badge--sm { font-size: 11px; padding: 3px 6px; }
.wd__title .wd-badge { margin-left: 12px; font-size: 13px; }

/* Article */
.wd__main { min-width: 0; }
.wd__title { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; color: var(--wd-ink); margin: 0 0 12px; }
.wd__lead { font-size: 18px; color: var(--wd-ink-2); margin: 0 0 12px; max-width: 70ch; }
.wd__avail { display: inline-block; font-size: 14px; padding: 6px 12px; border-radius: 6px; margin: 4px 0 0; }
.wd__avail--pro { background: var(--wd-accent-light); color: var(--wd-accent-dark); }
.wd__avail--free { background: var(--wd-free-bg); color: var(--wd-free); }
.wd__head { margin-bottom: 32px; }

.wd__prose { max-width: 760px; font-size: 16px; line-height: 1.7; }
.wd__prose h2 { font-size: 24px; margin: 48px 0 12px; color: var(--wd-ink); scroll-margin-top: calc(var(--wd-top) + 16px); }
.wd__prose h3 { font-size: 19px; margin: 32px 0 8px; color: var(--wd-ink); scroll-margin-top: calc(var(--wd-top) + 16px); }
.wd__prose a { color: var(--wd-accent); }
.wd__prose img { max-width: 100%; height: auto; border: 1px solid var(--wd-border); border-radius: 8px; }
.wd__prose ol, .wd__prose ul { padding-left: 1.4em; }
.wd__prose li { margin: 4px 0; }
.wd__prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.wd__prose th, .wd__prose td { border: 1px solid var(--wd-border); padding: 8px 12px; text-align: left; vertical-align: top; }
.wd__prose th { background: var(--wd-surface); color: var(--wd-ink); }
.wd__prose code { background: var(--wd-surface); border: 1px solid var(--wd-border); border-radius: 4px; padding: 1px 5px; font-size: .9em; }
.wd__prose pre { position: relative; background: #0f172a; color: #e2e8f0; border-radius: 8px; padding: 16px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.wd__prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.wd__copy {
	position: absolute; top: 8px; right: 8px;
	font: inherit; font-size: 12px;
	padding: 3px 8px; border-radius: 4px;
	border: 1px solid #334155; background: #1e293b; color: #e2e8f0; cursor: pointer;
}
.wd__anchor { margin-left: 8px; color: var(--wd-ink-3); text-decoration: none; opacity: 0; font-weight: 400; }
.wd__prose h2:hover .wd__anchor,
.wd__prose h3:hover .wd__anchor,
.wd__anchor:focus { opacity: 1; }

/* Callouts (core/group block styles) */
.is-style-wd-pro, .is-style-wd-note, .is-style-wd-warning {
	border-radius: 8px;
	padding: 14px 16px 14px 18px !important;
	margin: 20px 0;
	border-left: 4px solid;
}
.is-style-wd-pro { background: var(--wp--preset--color--accent-light, #dbeafe); border-color: var(--wp--preset--color--accent, #2563eb); }
.is-style-wd-pro::before { content: "PRO"; display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--wp--preset--color--accent-dark, #1d4ed8); margin-bottom: 4px; }
.is-style-wd-note { background: var(--wp--preset--color--surface, #f7f7f5); border-color: var(--wp--preset--color--ink-3, #6e6e74); }
.is-style-wd-warning { background: #fffbeb; border-color: #f59e0b; }
.is-style-wd-pro > :last-child, .is-style-wd-note > :last-child, .is-style-wd-warning > :last-child { margin-bottom: 0; }

/* Section cards */
.wd__cards { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.wd__cards a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--wd-border); border-radius: 8px; text-decoration: none; color: var(--wd-ink-2); }
.wd__cards a:hover { border-color: var(--wd-accent); }
.wd__cards strong { color: var(--wd-ink); margin-right: 8px; }
.wd__cards span:not(.wd-badge) { display: block; margin-top: 6px; font-size: 14px; }

/* Pager + meta */
.wd__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 48px 0 16px; }
.wd__pager a { display: block; padding: 12px 16px; border: 1px solid var(--wd-border); border-radius: 8px; text-decoration: none; color: var(--wd-ink); font-weight: 600; }
.wd__pager a:hover { border-color: var(--wd-accent); }
.wd__pager small { display: block; font-weight: 400; color: var(--wd-ink-3); font-size: 13px; }
.wd__next { text-align: right; }
.wd__meta { font-size: 13px; color: var(--wd-ink-3); border-top: 1px solid var(--wd-border); padding-top: 12px; }
.wd__meta a { color: var(--wd-ink-3); }

/* On this page */
.wd__toc { position: sticky; top: var(--wd-top); max-height: calc(100vh - var(--wd-top) - 16px); overflow-y: auto; font-size: 13px; }
.wd__toc-title { font-weight: 700; color: var(--wd-ink); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.wd__toc ul, .wd__toc-mobile ul { list-style: none; margin: 0; padding: 0; }
.wd__toc li a, .wd__toc-mobile li a { display: block; padding: 4px 0 4px 12px; border-left: 2px solid var(--wd-border); color: var(--wd-ink-3); text-decoration: none; line-height: 1.4; }
.wd__toc .wd__toc-l3 a, .wd__toc-mobile .wd__toc-l3 a { padding-left: 24px; }
.wd__toc li a:hover { color: var(--wd-ink); }
.wd__toc li a.is-active { color: var(--wd-accent-dark); border-left-color: var(--wd-accent); font-weight: 600; }
.wd__toc-mobile { display: none; border: 1px solid var(--wd-border); border-radius: 8px; padding: 10px 14px; margin: 0 0 24px; font-size: 14px; }
.wd__toc-mobile summary { cursor: pointer; font-weight: 600; color: var(--wd-ink); }
.wd__toc-mobile ul { margin-top: 8px; }

/* Search */
.wd__search { position: relative; }
.wd__search-input {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 15px;
	padding: 9px 40px 9px 14px;
	border: 1px solid var(--wd-border);
	border-radius: 8px;
	background: var(--wd-surface);
	color: var(--wd-ink);
}
.wd__search-input:focus { outline: 2px solid var(--wd-accent); outline-offset: 0; background: var(--wd-bg); }
.wd__kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; border: 1px solid var(--wd-border); border-radius: 4px; padding: 1px 6px; color: var(--wd-ink-3); background: var(--wd-bg); pointer-events: none; }
.wd__results {
	position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; right: 0;
	min-width: 320px;
	max-height: 70vh; overflow-y: auto;
	background: var(--wd-bg);
	border: 1px solid var(--wd-border);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0,0,0,.12);
	padding: 6px;
}
.wd__bar .wd__results { left: auto; width: 420px; }
.wd__result { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--wd-ink-2); font-size: 14px; }
.wd__result strong { color: var(--wd-ink); margin-right: 6px; }
.wd__result small { display: block; color: var(--wd-ink-3); margin-top: 2px; }
.wd__result mark { background: #fef08a; color: inherit; padding: 0 1px; border-radius: 2px; }
.wd__result.is-active, .wd__result:hover { background: var(--wd-accent-light); }
.wd__noresult { padding: 12px; font-size: 14px; color: var(--wd-ink-3); }

/* Home */
.wd__hero { padding: 8px 0 32px; border-bottom: 1px solid var(--wd-border); margin-bottom: 32px; }
.wd__hero h1 { font-size: clamp(30px, 4vw, 44px); color: var(--wd-ink); margin: 0 0 12px; line-height: 1.1; }
.wd__hero .wd__search { max-width: 560px; margin-top: 20px; }
.wd__hero .wd__search-input { font-size: 17px; padding: 13px 44px 13px 16px; }
.wd__sections { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.wd__section { border: 1px solid var(--wd-border); border-radius: 10px; padding: 18px 20px; }
.wd__section h2 { font-size: 18px; margin: 0 0 6px; }
.wd__section h2 a { color: var(--wd-ink); text-decoration: none; }
.wd__section h2 a:hover { color: var(--wd-accent); }
.wd__section p { font-size: 14px; margin: 0 0 10px; color: var(--wd-ink-3); }
.wd__section ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.wd__section li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 0; }
.wd__section li a { color: var(--wd-ink-2); text-decoration: none; }
.wd__section li a:hover { color: var(--wd-accent); }

/* Responsive */
@media (max-width: 1180px) {
	.wd__grid { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; }
	.wd__toc { display: none; }
	.wd__toc-mobile { display: block; }
}
@media (max-width: 860px) {
	.wd { padding: 0 16px 48px; }
	.wd__grid, .wd--kb .wd__grid { grid-template-columns: minmax(0, 1fr); }
	.wd__menu { display: inline-block; }
	.wd__bar { flex-wrap: wrap; }
	.wd__bar > .wd__search { width: 100%; order: 3; }
	.wd__bar .wd__results { width: auto; left: 0; min-width: 0; }
	.wd__crumbs { display: none; }
	.wd__nav {
		display: none;
		position: static;
		max-height: none;
		border: 1px solid var(--wd-border);
		border-radius: 10px;
		padding: 12px;
		margin-bottom: 24px;
	}
	.wd__nav.is-open { display: block; }
	.wd__pager { grid-template-columns: 1fr; }
	.wd__results { min-width: 0; }
}

/* ------------------------------------------------------------------
 * WPMozo additions (28/10/2026): type scale, hub, KB home, product card,
 * "Was this helpful?", nav extras.
 * ------------------------------------------------------------------ */
.wd { padding-top: 8px; font-size: 17px; }
.wd__bar { margin-bottom: 40px; }
.wd__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--green-text); }
.wd__title { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.025em; }
.wd__lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.6; }
.wd__prose { max-width: 780px; font-size: clamp(17px, 1.15vw, 18px); line-height: 1.75; }
.wd__prose p + p { margin-top: 1.2em; }
.wd__prose h2 { font-size: clamp(24px, 2vw, 30px); margin: clamp(48px, 5vw, 72px) 0 14px; letter-spacing: -0.015em; }
.wd__prose h3 { font-size: clamp(20px, 1.5vw, 23px); margin: clamp(32px, 3.4vw, 48px) 0 10px; }
.wd__prose a { color: var(--wd-accent); font-weight: 600; }
.wd__prose img { border-radius: 12px; }
.wd__prose figure { margin: 28px 0; }
.wd__navkb { display: block; padding: 8px 10px; margin: 0 0 10px; border-radius: 8px; font-weight: 800; color: var(--wd-ink); text-decoration: none; font-size: 15px; }
.wd__navkb:hover { background: var(--wd-surface); }
.wd__navkb.is-current { background: var(--wd-accent-light); color: var(--wd-accent); }
.wd__navall { display: block; margin-top: 14px; padding: 8px 10px; font-size: 14px; color: var(--wd-ink-3); text-decoration: none; border-top: 1px solid var(--wd-border); }
.wd__navall:hover { color: var(--wd-accent); }
.wd [data-link] span::after, .wd__section a[data-link]::after { content: " ↗"; color: var(--wd-ink-3); }
.wd__navsec li a.is-current { background: var(--wd-accent); color: #fff; }

/* Hub */
.wd--hub { padding-bottom: 96px; }
.wd__single { max-width: var(--wp--style--global--wide-size, 1440px); margin: 0 auto; }
.wd__hub .wd__hero, .wd__kbhome .wd__hero { border: 0; padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 56px); margin: 0; }
.wd__hub .wd__hero h1, .wd__kbhome .wd__hero h1 { font-size: clamp(40px, 5vw, 68px); letter-spacing: -0.03em; line-height: 1.05; }
.wd__hub .wd__hero .wd__search { max-width: 680px; margin-top: 28px; }
.wd__hub .wd__hero .wd__search-input, .wd__kbhome .wd__hero .wd__search-input { font-size: 18px; padding: 16px 48px 16px 20px; border-radius: 12px; background: #fff; box-shadow: 0 6px 24px -12px rgba(0, 0, 66, .18); }
.wd__kbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 2vw, 28px); }
.wd__kb { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--wd-border); background: #fff; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; }
.wd__kb:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--card, 0 12px 32px -16px rgba(0,0,66,.2)); }
.wd__kbimgwrap { display: block; background: var(--wd-surface); }
.wd__kbimg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.wd__kbtx { display: grid; gap: 6px; padding: 18px 20px 22px; }
.wd__kbtx strong { font-size: 19px; color: var(--wd-ink); line-height: 1.3; }
.wd__kbtx small { font-size: 14px; color: var(--wd-ink-3); line-height: 1.5; }

/* KB home */
.wd__kbhome .wd__hero { padding-top: 0; }
.wd__kbhome .wd__hero .wd__search { max-width: 620px; margin-top: 24px; }
.wd__kbintro { margin-bottom: 40px; }
.wd--kb .wd__sections { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.wd__section { border-radius: 14px; padding: 22px 24px; background: #fff; }
.wd__section h2 { font-size: 19px; color: var(--wd-ink); margin: 0 0 12px; }
.wd__section li { font-size: 15.5px; padding: 6px 0; border-top: 1px solid var(--wd-border); }
.wd__section li:first-child { border-top: 0; }

/* Product card */
.wd-prod { display: flex; gap: 20px; align-items: center; margin: 48px 0 0; padding: 20px; border-radius: 16px; background: var(--wd-surface); border: 1px solid var(--wd-border); }
.wd-prod__img { width: 180px; height: auto; border-radius: 10px; flex: none; }
.wd-prod__tx > * { margin: 0; }
.wd-prod__name { font-size: 19px; font-weight: 800; color: var(--wd-ink); line-height: 1.3; }
.wd-prod__price { margin-top: 4px !important; font-size: 15px; color: var(--wd-ink-2); }
.wd-prod__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }
.wd-btn { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 9px; font-size: 15px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; }
.wd-btn--primary { background: var(--wd-accent); color: #fff !important; }
.wd-btn--primary:hover { background: var(--wd-accent-dark); }
.wd-btn--ghost { background: #fff; color: var(--wd-accent) !important; border-color: var(--wd-border); }

/* Was this helpful? */
.wd__helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 56px 0 0; padding: 18px 20px; border-radius: 14px; background: var(--wd-surface); }
.wd__helpful p { margin: 0 8px 0 0 !important; font-weight: 700; color: var(--wd-ink); }
.wd__helpful button { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--wd-border); background: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.wd__helpful button:hover { border-color: var(--wd-accent); color: var(--wd-accent); }
.wd__thanks { font-size: 15px; color: var(--wd-ink-2); }
@media (max-width: 640px) { .wd-prod { flex-direction: column; align-items: flex-start; } .wd-prod__img { width: 100%; } }
