/*
Theme Name: commercebuild-support
Author: Jess
Description: Knowledge base and updates for commercebuild.
Version: 1.0.0
Text Domain: commercebuild-support
*/

:root {
	--purple: #6b379e;
	--purple-deep: #542a82;
	--purple-ink: #3d1868;
	--release: #241033;
	--release-2: #3a185c;
	--text: #241433;
	--muted: #6d6578;
	--line: #ece8f1;
	--paper: #ffffff;
	--canvas: #f7f6f9;
	--band: #f4eef8;
	--shadow: 0 10px 30px rgba(36, 20, 51, 0.06);
	--radius: 16px;
	--wrap: 1120px;
	--font: Inter, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--canvas);
	color: var(--text);
	font: 16px/1.6 var(--font);
}
img { max-width: 100%; height: auto; }
.wp-mark { display: inline-block; width: 15px; height: 15px; margin-right: 4px; vertical-align: -2px; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin-top: 0; }
button, input { font: inherit; }
.skip {
	position: absolute;
	left: 12px;
	top: -40px;
	background: #fff;
	padding: 8px 12px;
	z-index: 10;
}
.skip:focus { top: 12px; }
.screen-reader-text,
.hp {
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
.wrap {
	width: min(var(--wrap), calc(100% - 40px));
	margin: 0 auto;
}

.site-header {
	background: var(--purple);
	color: #fff;
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-decoration: none;
	flex: 0 0 auto;
}
.logo:hover { text-decoration: none; color: #fff; }
.logo__img { height: 32px; width: auto; display: block; }
.custom-logo-link { display: flex; }
.custom-logo { max-height: 36px; width: auto; }
.site-nav {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-left: auto;
}
.nav {
	display: flex;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav a,
.site-nav > a:not(.button) {
	color: #fff;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
}
.nav a:hover { text-decoration: underline; }
.nav .current-menu-item > a { text-decoration: underline; text-underline-offset: 5px; }
.nav-toggle {
	display: none;
	margin-left: auto;
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,.45);
	border-radius: 999px;
	padding: 6px 12px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--purple);
	color: #fff !important;
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
}
.button--light {
	background: #fff;
	color: var(--purple) !important;
	padding: 8px 14px;
	font-size: 14px;
}

.hero,
.page-hero {
	background: linear-gradient(180deg, var(--purple) 0%, var(--purple-deep) 100%);
	color: #fff;
	padding: 28px 0 56px;
}
.hero h1,
.page-hero h1 {
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.05;
	letter-spacing: -0.04em;
	margin-bottom: 12px;
	max-width: 14ch;
}
.page-hero h1 { max-width: none; font-size: clamp(32px, 4vw, 44px); }
.lede { color: rgba(255,255,255,.88); font-size: 18px; max-width: 46ch; }
.crumbs { font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,.8); }
.crumbs a { color: #fff; }
.layout .crumbs,
.article-single .crumbs { color: var(--muted); }
.layout .crumbs a,
.article-single .crumbs a { color: var(--purple); }
.crumbs__sep { margin: 0 8px; }

.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border-radius: 12px;
	padding: 6px 6px 6px 14px;
	max-width: 720px;
	margin-top: 22px;
	color: var(--muted);
}
.search-form__icon { width: 20px; height: 20px; flex: 0 0 auto; }
.search-form input {
	flex: 1;
	border: 0;
	outline: none;
	min-width: 0;
	padding: 10px 0;
	color: var(--text);
}
.search-form button {
	background: var(--purple-ink);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 10px 18px;
	font-weight: 600;
	cursor: pointer;
}

.erp {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	font-size: 14px;
}
.erp span { margin-right: 6px; color: rgba(255,255,255,.8); }
.erp a {
	color: #fff;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 999px;
	padding: 4px 12px;
	text-decoration: none;
}
.erp a.is-active { background: #fff; color: var(--purple); }

main { padding: 28px 0 64px; }
body.home main { padding-top: 0; }
.section-head,
.list-tools {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	margin: 42px 0 16px;
}
.section-head h2,
.side-card h2,
.related h2 { font-size: 22px; letter-spacing: -0.03em; }
.section-head span,
.list-tools p { color: var(--muted); font-size: 14px; margin: 0; }
.text-link { font-weight: 600; font-size: 14px; }

.topic-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.topic-card,
.side-card,
.update-card,
.help-card,
.article-list,
.popular,
.update-rows {
	background: var(--paper);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.topic-card { padding: 22px 22px 18px; }
.topic-card h3 { margin-bottom: 10px; font-size: 18px; }
.topic-card h3 a { color: var(--text); }
.topic-card ul,
.side-list,
.popular,
.update-rows,
.article-list,
.tag-list { list-style: none; margin: 0; padding: 0; }
.topic-card li { margin: 6px 0; font-size: 14.5px; }
.topic-card li a,
.article-list a,
.popular a,
.update-rows a,
.side-list a { color: var(--text); }
.topic-card .text-link { display: inline-block; margin-top: 8px; }

.home-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}
.update-rows li,
.popular li,
.side-list li {
	display: grid;
	grid-template-columns: 92px 1fr auto;
	gap: 12px;
	align-items: start;
	padding: 14px 0;
	border-top: 1px solid var(--line);
}
.update-rows,
.popular,
.side-card { padding: 8px 18px 12px; }
.update-rows li:first-child,
.popular li:first-child,
.side-list li:first-child { border-top: 0; }
.update-rows time,
.popular span,
.side-list span,
.meta { color: var(--muted); font-size: 13px; }
.popular li,
.side-list li { grid-template-columns: 1fr auto; }
.side-list--stacked li { grid-template-columns: 1fr; }
.side-list--stacked span { display: block; }

.badge {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	border-radius: 999px;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.badge--release { background: #f3e8ff; color: var(--purple); }
.badge--incident { background: #fde8ee; color: #be123c; }
.badge--product { background: #ecfdf3; color: #15803d; }
.badge--security { background: #fff7ed; color: #c2410c; }

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 28px;
	align-items: start;
}
.layout > * { min-width: 0; }
.sort {
	display: inline-flex;
	background: #fff;
	border-radius: 999px;
	padding: 4px;
	box-shadow: var(--shadow);
}
.sort a {
	color: var(--muted);
	text-decoration: none;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
}
.sort a.is-active { background: #efe6f7; color: var(--purple); }

.article-list { padding: 6px 22px; }
.article-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.article-list li:first-child { border-top: 0; }
.article-list h2,
.article-list h3 { font-size: 20px; margin-bottom: 6px; letter-spacing: -0.02em; }
.article-list p { color: var(--muted); margin-bottom: 6px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters a {
	background: #fff;
	color: var(--text);
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: var(--shadow);
}
.filters a.is-active { background: var(--purple); color: #fff; }

.update-feed { display: grid; gap: 14px; }
.update-card { padding: 20px 22px; }
.update-card__top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.update-card h2 { font-size: 22px; letter-spacing: -0.03em; margin-bottom: 8px; }
.update-card h2 a { color: var(--text); }
.update-card p { color: var(--muted); }

.release-card {
	display: grid;
	grid-template-columns: 210px 1fr;
	background: linear-gradient(105deg, var(--release) 0 210px, var(--release-2) 210px);
	color: #fff;
	border-radius: 18px;
	overflow: hidden;
	min-height: 168px;
}
.release-card__version {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 20px;
}
.release-card__kicker {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255,255,255,.65);
}
.release-card__number {
	margin: 0;
	font-size: clamp(42px, 5vw, 64px);
	line-height: .9;
	font-weight: 700;
	letter-spacing: -0.05em;
}
.release-card__body { padding: 24px 26px; }
.release-card__meta {
	margin-bottom: 8px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,.7);
}
.release-card p { color: rgba(255,255,255,.88); }
.release-card a { color: #fff; font-weight: 600; }

.side { display: grid; gap: 16px; }
.side-card h2 { padding-top: 12px; }
.subscribe__lede { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.subscribe form { display: grid; gap: 6px; padding-bottom: 12px; }
.subscribe label { font-size: 13px; font-weight: 600; }
.subscribe input {
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 10px 12px;
	width: 100%;
}
.subscribe .es_subscription_form { display: grid; gap: 10px; }
.subscribe .es-field-wrap { display: grid; gap: 4px; }
.subscribe .es_subscription_form_submit {
	width: 100%;
	background: var(--purple);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	font-weight: 600;
	cursor: pointer;
}
.subscribe .es_subscription_message { display: block; font-size: 14px; line-height: 1.5; }
.subscribe .es_spinner_image { margin: 4px 0; }
.side-search .search-form {
	margin-top: 8px;
	border: 1px solid var(--line);
	background: #fff;
}
.intercom-cb-start { cursor: pointer; }
.form-note { font-size: 14px; }
.form-note--error { color: #be123c; }
.help-card {
	background: #f3eef8;
	color: var(--text);
	padding: 22px;
	border-radius: var(--radius);
}
.help-card h2 { color: var(--text); }
.help-card p { color: var(--muted); }
.help-card .button { background: var(--purple); color: #fff !important; }
.rss-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	border: 1px solid rgba(255,255,255,.42);
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}
.rss-link:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.rss-link svg { width: 14px; height: 14px; flex: 0 0 auto; }
.page-hero__bar > .rss-link { align-self: flex-start; margin-top: 30px; }
.page-hero--article { padding: 22px 0 32px; }
.page-hero--article h1 { max-width: 18ch; margin: 0; color: #fff; }
.page-hero--bar { padding: 18px 0 26px; }
.page-hero__bar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}
.page-hero--bar h1 { margin: 0; font-size: clamp(32px, 4vw, 42px); }
.page-hero--bar .search-form { margin: 0; max-width: 440px; width: 100%; }
.search-form--compact { border-radius: 999px; padding-right: 16px; }
.article-list--plain {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
}
body.tax-article-category .list-tools { margin-top: 4px; }
body.tax-article-category main { padding-top: 22px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 8px; }
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list li { border-top: 1px solid var(--line); }
.related-list a {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	color: var(--text);
	font-weight: 600;
}
.layout--article .side { position: sticky; top: 20px; }
.side--plain .toc-card {
	background: transparent;
	box-shadow: none;
	padding: 8px 0 0;
}
.toc-card h2 {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 600;
	padding-top: 0;
}
.topic-links { list-style: none; margin: 16px 0 0; padding: 0; }
.topic-links a { display: block; padding: 5px 0; color: var(--text); font-size: 14px; }

.article h1,
.article-single h1 {
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.15;
	letter-spacing: -0.04em;
	margin: 8px 0 10px;
}
.layout--article,
.article-single { padding-top: 28px; }
.entry {
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
}
.entry p { margin: 0 0 16px; }
.entry h2 {
	font-size: 28px;
	margin: 36px 0 12px;
	letter-spacing: -0.03em;
	line-height: 1.2;
}
.entry h3 {
	font-size: 20px;
	margin: 28px 0 10px;
	letter-spacing: -0.02em;
	line-height: 1.3;
}
.entry h2:first-child,
.entry .space-y-4 > h2:first-child { margin-top: 0; }
.entry .font-semibold,
.entry strong { font-weight: 600; }
.entry p > strong:first-child { color: var(--purple-ink); }
.entry ul,
.entry ol {
	margin: 0 0 18px;
	padding-left: 1.35em;
}
.entry li { margin: 8px 0; }
.entry li::marker { color: var(--purple); font-weight: 600; }
.entry .kbtip {
	background: var(--band);
	border-radius: 14px;
	padding: 14px 16px;
	margin: 0 0 20px;
}
.entry img,
.entry .wp-block-image img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 8px 0 20px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--shadow);
}
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.entry :not(pre) > code,
.entry .ui-markdown__inline-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
	background: var(--band);
	color: var(--purple-ink);
	padding: 0.1em 0.45em;
	border-radius: 6px;
}
.entry pre {
	background: var(--release);
	color: #f6f1fb;
	border-radius: 12px;
	padding: 16px 18px;
	overflow: auto;
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 20px;
}
.entry pre code { background: transparent; color: inherit; padding: 0; }
.entry blockquote {
	margin: 0 0 20px;
	padding: 4px 0 4px 16px;
	border-left: 3px solid var(--purple);
	color: var(--muted);
}
.entry table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 8px 0 22px;
	font-size: 15px;
	line-height: 1.45;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--shadow);
}
.entry th,
.entry td { border-bottom: 1px solid var(--line); text-align: left; padding: 12px 14px; vertical-align: top; }
.entry tr:last-child td { border-bottom: 0; }
.entry th { background: var(--band); font-weight: 600; }
.toc a { display: block; padding: 4px 0; color: var(--text); font-size: 14px; }
.toc__sub a { padding-left: 12px; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 16px; }
.tag-list a {
	background: var(--band);
	color: var(--purple);
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 13px;
	font-weight: 600;
}
.helpful {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	padding: 16px 18px;
	background: #f3eef8;
	border-radius: 14px;
}
.helpful__ask,
.helpful__thanks { margin: 0; font-weight: 600; }
.helpful__thanks { display: none; }
.helpful.is-sent .helpful__ask,
.helpful.is-sent .helpful__actions { display: none; }
.helpful.is-sent .helpful__thanks { display: block; }
.helpful__actions { display: flex; gap: 8px; }
.helpful button {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 14px;
	cursor: pointer;
}
.related { padding: 48px 0 32px; }
.related h2 { margin-bottom: 12px; }

.pager { margin-top: 18px; }
.pager .nav-links { display: flex; gap: 12px; }
.pager a { font-weight: 600; }

.assist { background: var(--band); }
.assist__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 28px 0;
}
.assist h2 { margin-bottom: 4px; }
.assist p { margin: 0; color: var(--muted); }
.site-footer { background: var(--purple-ink); color: rgba(255,255,255,.8); }
.site-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-size: 14px;
}
.site-footer a { color: #fff; margin-left: 16px; }
.site-footer p { margin: 0; }
.contact-page { padding-bottom: 56px; }
.contact-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 430px;
	gap: 48px;
	align-items: start;
}
.contact-page .entry {
	font-size: 17px;
	color: var(--muted);
}
.contact-page .entry p:last-child { margin-bottom: 0; }
.contact-links {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 8px 24px;
}
.contact-links h2 {
	font-size: 22px;
	letter-spacing: -0.03em;
	padding: 18px 0 8px;
	margin: 0;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { border-top: 1px solid var(--line); }
.contact-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	color: var(--text);
	text-decoration: none;
}
.contact-list a:hover { text-decoration: none; color: var(--purple); }
.contact-list strong { display: block; font-size: 16px; }
.contact-list small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.contact-list__arrow { color: var(--purple); font-size: 24px; line-height: 1; }
.narrow { max-width: 760px; }

.release-hero {
	background: linear-gradient(135deg, #241033 0%, #3a185c 100%);
	color: #fff;
	padding: 26px 0 44px;
}
.release-hero .crumbs { color: rgba(255,255,255,.72); margin-bottom: 26px; }
.release-hero .crumbs a { color: #fff; }
.release-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 660px;
	gap: 48px;
	align-items: center;
}
.release-hero__meta {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255,255,255,.65);
}
.release-hero__version {
	margin: 0;
	color: #fff;
	font-size: clamp(56px, 7vw, 84px);
	line-height: .9;
	letter-spacing: -.06em;
}
.release-regions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.release-region {
	min-height: 128px;
	padding: 22px 26px;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 14px;
	background: rgba(255,255,255,.09);
}
.release-region__label {
	display: block;
	margin-bottom: 9px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(255,255,255,.68);
}
.release-region__primary { display: block; font-size: 17px; font-weight: 700; line-height: 1.35; color: #fff; white-space: nowrap; }
.release-region__secondary { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.78); }

.release-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: 48px;
	align-items: start;
	padding-top: 44px;
	padding-bottom: 52px;
}
.release-main { min-width: 0; }
.release-section { margin-bottom: 52px; scroll-margin-top: 24px; }
.release-section:last-child { margin-bottom: 0; }
.release-section h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.03em; margin: 0 0 16px; }
.release-section > p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; }
.release-section__lede { color: var(--muted); font-size: 15px !important; }
.release-callout {
	margin-top: 18px;
	padding: 14px 18px;
	border-left: 3px solid var(--purple);
	border-radius: 8px;
	background: var(--band);
	font-size: 15px;
	line-height: 1.6;
}
.release-issues { display: grid; gap: 14px; }
.release-issue {
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper);
}
.release-issue h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }
.release-issue p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.release-issue__meta { display: grid; gap: 5px; margin: 0; font-size: 13px; line-height: 1.45; }
.release-issue__meta div { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
.release-issue__meta dt { color: var(--muted); font-weight: 600; }
.release-issue__meta dt::after { content: ":"; }
.release-issue__meta dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }

.release-feature {
	margin-bottom: 18px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper);
}
.release-feature:last-child { margin-bottom: 0; }
.release-feature h3,
.release-feature .release-feature__title { margin: 0 0 10px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.release-feature p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; }
.release-feature img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 18px 0;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
}
.release-feature ul,
.release-feature ol { margin: 0 0 16px; padding-left: 1.3em; }
.release-feature li { margin: 6px 0; }
.release-feature hr { display: none; }
.release-extra-content {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper);
}
.release-extra-content p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; }
.release-extra-content p:last-child { margin-bottom: 0; }
.release-extra-content ul,
.release-extra-content ol { margin: 0 0 16px; padding-left: 1.3em; }
.release-extra-content li { margin: 6px 0; }
.release-extra-content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 18px 0;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
}

.release-side { min-width: 0; }
.release-toc {
	position: sticky;
	top: 24px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper);
	box-shadow: var(--shadow);
}
.release-toc__title {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}
.release-toc ol { list-style: none; margin: 0; padding: 0; }
.release-toc li { border-top: 1px solid var(--line); }
.release-toc li:first-child { border-top: 0; }
.release-toc a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 -8px;
	padding: 10px 8px;
	border-radius: 8px;
	color: var(--text);
	font-size: 14px;
	text-decoration: none;
}
.release-toc a:hover { color: var(--purple); text-decoration: none; }
.release-toc a.is-active { background: var(--band); color: var(--purple); font-weight: 600; }
.release-toc a span { color: var(--muted); font-size: 12px; font-weight: 500; }

.release-related { padding-bottom: 48px; }
.release-related h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -.03em; }
.release-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.release-mini {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 112px;
	padding: 18px 20px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--release), var(--release-2));
	color: #fff;
	text-decoration: none;
}
.release-mini:hover { color: #fff; text-decoration: none; transform: translateY(-2px); }
.release-mini__meta { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.release-mini__version { margin-top: 20px; font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.05em; }

/* WooCommerce update feed card */
.woo-card {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 24px;
	padding: 24px 26px;
	border: 1px solid #e7d9f4;
	border-radius: 16px;
	background: var(--band);
}
.woo-card__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: start;
	width: 96px;
	height: 116px;
	border-radius: 12px;
	background: linear-gradient(145deg, var(--purple) 0%, var(--purple-deep) 100%);
	color: #fff;
	text-decoration: none;
}
.woo-card__date:hover { color: #fff; text-decoration: none; }
.woo-card__month,
.woo-card__year {
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255,255,255,.72);
}
.woo-card__day { font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.woo-card__body { min-width: 0; }
.woo-card__eyebrow {
	margin: 0 0 8px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--purple);
}
.woo-card h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; letter-spacing: -.03em; }
.woo-card h2 a { color: var(--text); }
.woo-card__excerpt { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.woo-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.woo-chip {
	padding: 4px 9px;
	border: 1px solid #e3d3f0;
	border-radius: 6px;
	background: #fff;
	color: var(--text);
	font-size: 12px;
	line-height: 1.35;
}
.woo-chip--more { color: var(--purple); font-weight: 600; }
.woo-card__link { font-size: 14px; font-weight: 600; }

/* WooCommerce update single */
.woo-hero {
	padding: 32px 0 44px;
	background: var(--band);
}
.woo-hero .crumbs { color: var(--muted); margin-bottom: 28px; }
.woo-hero .crumbs a { color: var(--purple); }
.woo-hero__grid {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}
.woo-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 128px;
	height: 128px;
	border-radius: 14px;
	background: linear-gradient(145deg, var(--purple) 0%, var(--purple-deep) 100%);
	color: #fff;
}
.woo-date__month,
.woo-date__year {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255,255,255,.72);
}
.woo-date__day { font-size: 50px; font-weight: 700; line-height: 1; letter-spacing: -.06em; }
.woo-hero__body { min-width: 0; }
.woo-eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--purple);
}
.woo-hero h1 {
	margin: 0 0 12px;
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.12;
	letter-spacing: -.04em;
	max-width: none;
}
.woo-lede { margin: 0 0 14px; color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 72ch; }
.woo-meta { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.woo-meta strong { color: var(--text); font-weight: 600; }
.woo-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.woo-badges .woo-pill { font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.woo-pill {
	display: inline-flex;
	align-items: center;
	border-radius: 5px;
	padding: 3px 7px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
}
.woo-pill--stable { background: #e6f6ec; color: #18733b; }
.woo-pill--release { background: #f0e6f8; color: var(--purple); }
.woo-pill--core { background: #e8eefc; color: #2c4f9e; }
.woo-pill--optin { background: #fff3d6; color: #8a5a00; }
.woo-pill--neutral { background: #f1edf6; color: var(--muted); }

.woo-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 230px;
	gap: 48px;
	align-items: start;
	padding-top: 48px;
	padding-bottom: 52px;
}
.woo-content { min-width: 0; }
.woo-side { min-width: 0; }
.woo-toc { position: sticky; top: 24px; }
.woo-toc__title {
	margin: 0 0 12px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}
.woo-toc ol { list-style: none; margin: 0; padding: 0; }
.woo-toc li { margin: 0; }
.woo-toc a {
	display: flex;
	gap: 10px;
	padding: 7px 0;
	color: var(--text);
	font-size: 13px;
	line-height: 1.35;
	text-decoration: none;
}
.woo-toc a:hover { color: var(--purple); text-decoration: none; }
.woo-toc a.is-active { color: var(--purple); font-weight: 600; }
.woo-toc__num { color: var(--muted); font-size: 11px; font-weight: 600; flex: 0 0 auto; padding-top: 1px; }

.woo-section { margin-bottom: 52px; scroll-margin-top: 24px; }
.woo-section__number {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	color: var(--muted);
}
.woo-section h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.2; letter-spacing: -.035em; }
.woo-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.woo-section p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; }
.woo-section ul,
.woo-section ol { margin: 0 0 18px; padding-left: 1.3em; }
.woo-section li { margin: 6px 0; }
.woo-section img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 18px 0 8px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
}
.woo-section p > em:only-child {
	display: block;
	margin: 0 0 20px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}
.woo-callout {
	padding: 13px 16px;
	border-left: 3px solid var(--purple);
	border-radius: 8px;
	background: #fff;
	font-size: 15px !important;
	line-height: 1.6 !important;
}
.woo-callout strong { color: var(--purple-ink); }

.woo-also-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.woo-also-card {
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
}
.woo-also-card h3 { margin: 0 0 5px; font-size: 14px; line-height: 1.35; letter-spacing: -.01em; }
.woo-also-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.woo-more { margin-top: 14px; }
.woo-more summary {
	display: inline-flex;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--purple);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.woo-more .woo-also-grid { margin-top: 14px; }

.woo-security {
	margin-top: 8px;
	padding: 24px 26px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--release) 0%, var(--release-2) 100%);
	color: #fff;
}
.woo-security ul { list-style: none; margin: 0; padding: 0; }
.woo-security li {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 9px 0;
	border-top: 1px solid rgba(255,255,255,.14);
	font-size: 14px;
	line-height: 1.55;
}
.woo-security li:first-child { border-top: 0; padding-top: 0; }
.woo-security li:last-child { padding-bottom: 0; }
.woo-security__check { color: #b9f6ce; flex: 0 0 auto; font-weight: 700; }

.woo-assist {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 8px;
	padding: 24px 28px;
	border-radius: 14px;
	background: var(--band);
}
.woo-assist h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.03em; }
.woo-assist p { margin: 0; color: var(--muted); font-size: 14px; }

.pager--simple { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.pager--simple a {
	display: inline-flex;
	padding: 9px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
}
.side-meta { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.side-meta .badge { padding: 1px 6px; font-size: 10px; vertical-align: 1px; }
.side-list--stacked .side-meta .badge { display: inline-flex; }

/* Homepage What's new */
.whats-new {
    margin-top: 48px;
    padding: 48px 0 56px;
    background: var(--purple);
    color: #fff;
}
.whats-new__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.whats-new__head h2 { margin: 0; color: #fff; font-size: 40px; line-height: 1.1; letter-spacing: -.04em; }
.whats-new__head a { color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.whats-new__head a:hover { text-decoration: underline; }
.whats-new__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.whats-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 26px;
    border-radius: 16px;
    text-decoration: none;
}
.whats-card:hover { text-decoration: none; }
.whats-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.whats-card--release {
    justify-content: space-between;
    background: linear-gradient(145deg, #2a0b3e 0%, #451a68 100%);
    color: #fff;
}
.whats-card--release .whats-eyebrow { color: rgba(255,255,255,.68); }
.whats-release__version { font-size: clamp(52px, 5vw, 66px); font-weight: 700; line-height: .9; letter-spacing: -.06em; }
.whats-card__link { margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 600; }
.whats-card--release .whats-card__link { color: #fff; }
.whats-card--woo { justify-content: space-between; background: #f3e9fb; color: var(--text); }
.whats-card--woo .whats-eyebrow { color: var(--purple); }
.whats-woo__title { margin: 12px 0 0; color: var(--text); font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.whats-card--woo .whats-card__link { color: var(--purple); }
.whats-card--feed { padding: 6px 22px; background: #fff; color: var(--text); }
.whats-feed__item {
    display: block;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
}
.whats-feed__item:first-child { border-top: 0; }
.whats-feed__item:hover { text-decoration: none; }
.whats-feed__meta { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.whats-kind { font-weight: 600; }
.whats-kind--incident { color: #be123c; }
.whats-kind--security { color: #c2410c; }
.whats-kind--product { color: #15803d; }
.whats-feed__item strong { display: block; font-size: 15px; line-height: 1.45; letter-spacing: -.01em; }

/* Homepage popular articles */
body.home main { padding-bottom: 0; }
.popular-band { padding: 52px 0 64px; background: #fff; }
.popular-band h2 { margin: 0 0 18px; font-size: 34px; line-height: 1.1; letter-spacing: -.04em; }
.popular-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.popular-list li { border-bottom: 1px solid var(--line); }
.popular-list a {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    gap: 8px;
    align-items: center;
    padding: 18px 0;
    color: var(--text);
    text-decoration: none;
}
.popular-list a:hover { text-decoration: none; color: var(--purple); }
.popular-list__num { color: var(--purple); font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.popular-list__title { font-size: 16px; line-height: 1.4; }
.popular-list__arrow { color: var(--purple); font-size: 20px; line-height: 1; text-align: right; }

@media (max-width: 980px) {
	.topic-grid,
	.home-split,
	.layout,
	.release-card { grid-template-columns: 1fr; }
	.release-card { background: var(--release); }
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 76px;
		background: var(--purple-deep);
		padding: 16px 20px 20px;
		flex-direction: column;
		align-items: flex-start;
		z-index: 5;
	}
	.site-nav.is-open { display: flex; }
	.nav { flex-direction: column; gap: 12px; }
	.site-header { position: relative; }
	.assist__inner,
	.site-footer__inner,
	.helpful,
	.page-hero__bar { flex-direction: column; align-items: flex-start; }
	.contact-page__grid { grid-template-columns: 1fr; gap: 28px; }
	.page-hero__bar > .rss-link { margin-top: 0; }
	.update-rows li { grid-template-columns: 1fr; }
	.release-hero__grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
	.release-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 30px; }
	.release-side { order: -1; }
	.release-toc { position: static; }
	.release-related__grid { grid-template-columns: repeat(2, 1fr); }
	.woo-hero__grid { grid-template-columns: 1fr; gap: 22px; }
	.woo-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 30px; }
	.woo-side { order: -1; }
	.woo-toc { position: static; }
	.woo-assist { flex-direction: column; align-items: flex-start; }
	.woo-also-grid { grid-template-columns: 1fr; }
	.whats-new__grid { grid-template-columns: 1fr; }
	.whats-card { min-height: 0; }
	.whats-card--release { min-height: 220px; }
	.popular-list { grid-template-columns: 1fr; column-gap: 0; }
}

@media (min-width: 641px) and (max-width: 980px) {
	.topic-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.whats-new { margin-top: 32px; padding: 36px 0 40px; }
	.whats-new__head h2 { font-size: 32px; }
	.whats-new__head { align-items: flex-start; }
	.whats-card { padding: 22px; }
	.whats-woo__title { font-size: 24px; }
	.popular-band { padding: 36px 0 48px; }
	.popular-band h2 { font-size: 30px; }
	.popular-list a { grid-template-columns: 38px minmax(0, 1fr) 20px; padding: 15px 0; }
	.popular-list__num { font-size: 18px; }
	.popular-list__title { font-size: 15px; }
	.woo-hero { padding-top: 24px; }
	.woo-date { width: 96px; height: 96px; }
	.woo-date__day { font-size: 38px; }
	.woo-hero h1 { font-size: 30px; }
	.woo-card { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
	.woo-card__date { flex-direction: row; width: 100%; height: auto; min-height: 0; gap: 8px; padding: 10px; }
	.woo-card__day { font-size: 28px; }
	.woo-card__month, .woo-card__year { font-size: 9px; }
	.woo-section h2 { font-size: 24px; }
	.woo-security { padding: 20px; }
	.woo-assist { padding: 20px; }
	.release-hero { padding-bottom: 32px; }
	.release-hero__version { font-size: 54px; }
	.release-regions { grid-template-columns: 1fr; }
	.release-region { min-height: 0; }
	.release-issue { padding: 18px; }
	.release-issue__meta div { grid-template-columns: 58px minmax(0, 1fr); }
	.release-feature { padding: 18px; }
	.release-related__grid { grid-template-columns: 1fr; }
	.entry table { table-layout: fixed; }
	.entry th,
	.entry td { padding: 10px; word-break: break-word; }
}

/* Keep the page shell constrained if a browser customization overrides --wrap. */
main#content.wrap {
	width: min(1120px, calc(100% - 40px)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
