/* Ridewell Cargo · rw-post.css: the guide body (task T23).
   The post's own words are Gutenberg blocks written in the post editor (T24), so their look cannot live in a
   section's element Custom CSS: it lives here, scoped to .rw-post-content (the Post Content widget on the
   Single Post template) and keyed to the block classes the reference uses (ps-sec, ps-def, ps-tbl, src, …).
   Colours read the Elementor Global Colors, like rw-base.css. Ported from the reference's v2.css. */

/* The reference's own screen-reader class, used inside the post content (<span class="sr">). */
.rw-post-content .sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Gutenberg's own paragraph/heading margins are replaced by the rhythm below. */
.rw-post-content p,
.rw-post-content h2,
.rw-post-content h3,
.rw-post-content ul,
.rw-post-content ol {
	margin: 0;
}

/* ---------- Quick answer + key takeaways (the first two blocks) ---------- */

.rw-post-content > .pa-answer {
	position: relative;
	padding: clamp(28px, 3vw, 40px);
	border-radius: 20px;
	background: linear-gradient(160deg, #F1F8F8 0%, #E6F2F3 100%);
	border: 1px solid #CFE5E7;
	overflow: hidden;
}

.rw-post-content > .pa-answer::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--e-global-color-secondary);
}

/* The label row: "Quick answer" with its sparkle, and the copy button pushed to the right. */
.rw-post-content .pa-l {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 500;
	font-size: 12px;
	line-height: 1;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--e-global-color-accent);
}

.rw-post-content .pa-l::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--rw-i-sparkle) center / contain no-repeat;
	mask: var(--rw-i-sparkle) center / contain no-repeat;
}

.rw-post-content > .pa-answer .pa-l {
	margin-bottom: 18px;
}

.rw-post-content .pa-text {
	font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
	font-weight: 500;
	font-size: clamp(20px, 1.75vw, 25px);
	line-height: 1.5;
	letter-spacing: -.012em;
	color: var(--e-global-color-primary);
	text-wrap: pretty;
}

/* "Copy answer": a button the template adds beside the label (rw-site.js handles the copy and the done state). */
.rw-post-content > .pa-answer > .pa-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.rw-post-content > .pa-answer > .pa-top .pa-l {
	margin-bottom: 0;
}

.rw-post-content > .pa-keys {
	padding: clamp(28px, 3vw, 40px);
	border-radius: 20px;
	background: var(--e-global-color-rwice00);
	border: 1px solid var(--e-global-color-rwline0);
}

.rw-post-content > .pa-keys .pa-l {
	color: var(--e-global-color-rwmuted);
	margin-bottom: 20px;
}

.rw-post-content > .pa-keys .pa-l::before {
	color: var(--e-global-color-secondary);
	-webkit-mask-image: var(--rw-i-list);
	mask-image: var(--rw-i-list);
}

.rw-post-content > .pa-keys ol {
	display: grid;
	gap: 0;
	padding: 0;
	list-style: none;
	counter-reset: pk;
}

.rw-post-content > .pa-keys li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 8px;
	padding: 14px 0;
	border-top: 1px solid var(--e-global-color-rwline0);
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--e-global-color-primary);
	counter-increment: pk;
}

.rw-post-content > .pa-keys li::before {
	content: counter(pk, decimal-leading-zero);
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 500;
	font-size: 12px;
	line-height: 1.9;
	color: var(--e-global-color-accent);
}

.rw-post-content > .pa-keys li:first-child {
	border-top: 0;
	padding-top: 0;
}

/* ---------- The article: question-led sections ---------- */

.rw-post-content {
	counter-reset: ps;
}

.rw-post-content > .ps-sec {
	max-width: 740px;
	padding: 0 0 56px;
	scroll-margin-top: 110px;
	counter-increment: ps;
}

.rw-post-content > .ps-sec + .ps-sec {
	padding-top: 56px;
	border-top: 1px solid var(--e-global-color-rwline0);
}

.rw-post-content > .ps-sec > h2 {
	display: flex;
	align-items: baseline;
	gap: 16px;
	font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(26px, 2.3vw, 34px);
	line-height: 1.15;
	letter-spacing: -.022em;
	color: var(--e-global-color-primary);
	margin-bottom: 20px;
	text-wrap: balance;
}

/* The reference prints the section number from data-n; here it counts the sections, so adding one in the
   editor numbers itself. */
.rw-post-content > .ps-sec > h2::before {
	content: counter(ps, decimal-leading-zero);
	flex: none;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 600;
	font-size: .5em;
	line-height: 1;
	color: var(--e-global-color-accent);
	transform: translateY(-.3em);
}

.rw-post-content .ps-lead {
	position: relative;
	padding: 4px 0 4px 20px;
	margin-bottom: 22px;
	border-left: 3px solid var(--e-global-color-secondary);
	/* !important, as the reference has it: the lead is a .ps-sec > p too, and that rule is more specific. */
	font-size: 19px !important;
	line-height: 1.6 !important;
	font-weight: 500;
	color: var(--e-global-color-primary) !important;
}

.rw-post-content .ps-sec > p,
.rw-post-content .ps-sec li,
.rw-post-content .ps-sec td {
	font-size: 17.5px;
	line-height: 1.78;
	color: var(--e-global-color-text);
}

.rw-post-content .ps-sec > p + p,
.rw-post-content .ps-sec > * + p {
	margin-top: 18px;
}

.rw-post-content .ps-sec > p a,
.rw-post-content .ps-sec li a,
.rw-post-content .ps-def a {
	color: var(--e-global-color-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(32, 127, 134, .35);
}

.rw-post-content .ps-sec > p a:hover,
.rw-post-content .ps-sec li a:hover {
	text-decoration-color: currentColor;
}

.rw-post-content .ps-sec strong {
	color: var(--e-global-color-primary);
	font-weight: 600;
}

/* Footnote markers (the <sup class="cite"> inside the sentences). */
.rw-post-content .cite {
	font-size: .68em;
	line-height: 0;
	vertical-align: super;
	margin-left: 1px;
}

.rw-post-content .cite a {
	display: inline-grid;
	place-items: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 5px;
	background: var(--e-global-color-rwtealt);
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 600;
	font-size: 10.5px;
	line-height: 1;
	color: var(--e-global-color-accent) !important;
	text-decoration: none !important;
	transition: background-color var(--rw-fast), color var(--rw-fast);
}

.rw-post-content .cite a:hover,
.rw-post-content .cite a:focus-visible {
	background: var(--e-global-color-secondary);
	color: #fff !important;
}

/* Diamond bullets. */
.rw-post-content .ps-ul {
	display: grid;
	gap: 14px;
	margin: 20px 0;
	padding: 0;
	list-style: none;
}

.rw-post-content .ps-ul li {
	position: relative;
	padding-left: 28px;
}

.rw-post-content .ps-ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .78em;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--e-global-color-secondary);
	transform: rotate(45deg);
}

/* Definition box (block style "Definition box"). */
.rw-post-content .ps-def {
	margin: 26px 0;
	padding: 22px 24px;
	border-radius: 14px;
	background: var(--e-global-color-rwice00);
	border: 1px solid var(--e-global-color-rwline0);
}

.rw-post-content .ps-def-l {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 500;
	font-size: 11px;
	line-height: 1;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--e-global-color-rwmuted);
}

.rw-post-content .ps-def-l::before {
	content: "";
	flex: none;
	width: 15px;
	height: 15px;
	background: var(--e-global-color-secondary);
	-webkit-mask: var(--rw-i-book) center / contain no-repeat;
	mask: var(--rw-i-book) center / contain no-repeat;
}

.rw-post-content .ps-def-t {
	font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
	font-size: 19px;
	color: var(--e-global-color-primary);
	margin-bottom: 4px;
}

.rw-post-content .ps-def-t strong {
	font-weight: 700;
}

.rw-post-content .ps-def-d {
	font-size: 16.5px !important;
	line-height: 1.65 !important;
	color: var(--e-global-color-text);
}

/* Note / caution box. */
.rw-post-content .ps-note {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 12px;
	margin: 24px 0 0;
	padding: 18px 20px;
	border-radius: 14px;
	background: #FBF7EE;
	border: 1px solid #EADFC6;
}

.rw-post-content .ps-note::before {
	content: "";
	width: 18px;
	height: 18px;
	margin-top: 3px;
	background: #8A5A12;
	-webkit-mask: var(--rw-i-alert) center / contain no-repeat;
	mask: var(--rw-i-alert) center / contain no-repeat;
}

.rw-post-content .ps-note p {
	font-size: 15.5px !important;
	line-height: 1.6 !important;
	color: #4A3B1E !important;
}

.rw-post-content .ps-note strong {
	color: #3A2E14 !important;
}

/* Data tables (HTML blocks, logged in build-log/decorative-html.md). */
.rw-post-content .ps-tbl {
	margin: 26px 0;
}

.rw-post-content .ps-tbl-scroll {
	overflow-x: auto;
	border: 1px solid var(--e-global-color-rwline0);
	border-radius: 14px;
	background: #fff;
}

.rw-post-content .ps-tbl-scroll:focus-visible {
	outline-offset: 2px;
}

.rw-post-content .ps-tbl table {
	/* Hello Elementor gives tables a bottom margin; the scroll box is the table's own frame here. */
	margin: 0;
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 15px;
}

.rw-post-content .ps-tbl caption {
	caption-side: top;
	padding: 14px 18px;
	text-align: left;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 500;
	font-size: 11.5px;
	line-height: 1.4;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--e-global-color-rwmuted);
	background: var(--e-global-color-rwice00);
	border-bottom: 1px solid var(--e-global-color-rwline0);
}

.rw-post-content .ps-tbl caption::before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 8px;
	vertical-align: -3px;
	background: var(--e-global-color-secondary);
	-webkit-mask: var(--rw-i-table) center / contain no-repeat;
	mask: var(--rw-i-table) center / contain no-repeat;
}

/* Hello Elementor's reset draws a full grid and zebra stripes on every table; the design has row rules only. */
.rw-post-content .ps-tbl th,
.rw-post-content .ps-tbl td {
	padding: 14px 18px;
	text-align: left;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid var(--e-global-color-rwline0);
	background-color: transparent;
	font-size: 15px !important;
	line-height: 1.55 !important;
}

.rw-post-content .ps-tbl thead th {
	font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	/* The reference's own 12.5px/1.3 here loses to its 15px !important on every cell, so the head renders at
	   15 px: matched, not "corrected". */
	letter-spacing: .02em;
	color: var(--e-global-color-primary);
	background: #fff;
	border-bottom: 1.5px solid var(--e-global-color-primary);
}

.rw-post-content .ps-tbl tbody th {
	font-weight: 600;
	color: var(--e-global-color-primary);
	width: 26%;
}

.rw-post-content .ps-tbl tbody tr:last-child > * {
	border-bottom: 0;
}

.rw-post-content .ps-tbl tbody tr:hover > * {
	background: #FAFCFD;
}

/* Numbered process steps (each step its own Group, so steps can be added or reordered in the editor). */
.rw-post-content .ps-steps {
	display: grid;
	gap: 0;
	margin: 24px 0 0;
	counter-reset: s;
}

 /* The editor's constrained layout centres every block with auto side margins, which shrinks a short heading or
   line to its text and centres it. Inside the guide's own blocks everything is set from the left. */
.rw-post-content .ps-sec > *,
.rw-post-content .ps-steps > *,
.rw-post-content .ps-step > *,
.rw-post-content .ps-def > *,
.rw-post-content .ps-disp > *,
.rw-post-content .ps-ly > *,
.rw-post-content .ly-list > *,
.rw-post-content .pa-answer > *,
.rw-post-content .pa-keys > *,
.rw-post-content .src-i > *,
.rw-post-content .src-ed > * {
	margin-inline: 0;
	/* …and, in the grid blocks, every line fills its column instead of shrinking to its text. */
	justify-self: stretch;
	width: 100%;
}

/* The small mono labels stay as wide as their words (they are pills, not lines). */
.rw-post-content .pa-l,
.rw-post-content .ps-def-l,
.rw-post-content .src-ed-l {
	width: auto;
	justify-self: start;
}

/* The editor's constrained layout gives every group a 24 px block gap and auto side margins; the steps are one
   stack with their own rhythm, so both are cleared here. */
.rw-post-content .ps-steps > .ps-step {
	margin: 0;
	width: 100%;
}

.rw-post-content .ps-step {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	/* The heading and its line are two rows of the same step, so only the columns are spaced. */
	row-gap: 0;
	column-gap: 18px;
	padding-bottom: 26px;
	counter-increment: s;
}

.rw-post-content .ps-step::after {
	content: counter(s);
	grid-column: 1;
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--e-global-color-primary);
	color: #fff;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
}

.rw-post-content .ps-step:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 21px;
	top: 46px;
	bottom: 4px;
	width: 2px;
	/* The reference paints a teal rule over the grey track (full length). */
	background: linear-gradient(var(--e-global-color-secondary) 0 0) top / 2px 100% no-repeat, var(--e-global-color-rwline0);
}

.rw-post-content .ps-step:last-child::after {
	background: var(--e-global-color-secondary);
}

.rw-post-content .ps-step > h3 {
	grid-column: 2;
	font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	font-size: 19px;
	line-height: 1.3;
	color: var(--e-global-color-primary);
	margin: 9px 0 6px;
}

.rw-post-content .ps-step > p {
	grid-column: 2;
	font-size: 16.5px !important;
	line-height: 1.65 !important;
	color: var(--e-global-color-text);
}

/* Packaging-layers diagram (UN3373 guide; an HTML block, logged). */
.rw-post-content .ps-ly {
	margin: 26px 0;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	column-gap: 28px;
	row-gap: 0;
	align-items: center;
	padding: 26px;
	border-radius: 20px;
	background: var(--e-global-color-rwice00);
	border: 1px solid var(--e-global-color-rwline0);
}

.rw-post-content .ly-vis {
	display: grid;
	place-items: center;
}

.rw-post-content .ly-box {
	position: relative;
	border-radius: 16px;
	display: grid;
	place-items: center;
}

.rw-post-content .ly-3 {
	width: 100%;
	max-width: 300px;
	aspect-ratio: 1 / 1;
	place-items: center start;
	padding-left: 7%;
	background: #fff;
	border: 2.5px solid var(--e-global-color-primary);
	box-shadow: var(--rw-e1);
}

.rw-post-content .ly-2 {
	width: 62%;
	aspect-ratio: 1 / 1.05;
	border: 2px dashed var(--e-global-color-secondary);
	background: #F1F8F8;
}

.rw-post-content .ly-abs {
	position: absolute;
	inset: 10px;
	border-radius: 10px;
	background: repeating-linear-gradient(45deg, rgba(32, 127, 134, .08) 0 6px, transparent 6px 12px);
}

.rw-post-content .ly-1 {
	width: 50%;
	aspect-ratio: 1 / 1.5;
	border: 2px solid var(--e-global-color-rwsky00);
	background: #fff;
	z-index: 1;
}

.rw-post-content .ly-tube {
	width: 26%;
	height: 62%;
	border-radius: 8px 8px 40px 40px;
	background: linear-gradient(180deg, #E9EEF2 0 26%, #B03A3A 26% 100%);
	box-shadow: inset 0 0 0 1.5px rgba(17, 30, 56, .25);
}

.rw-post-content .ly-tag {
	position: absolute;
	top: -11px;
	left: 12px;
	padding: 3px 8px;
	border-radius: 6px;
	background: #fff;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 600;
	font-size: 10px;
	line-height: 1.2;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--e-global-color-primary);
	box-shadow: 0 0 0 1px var(--e-global-color-rwline0);
	white-space: nowrap;
}

.rw-post-content .ly-2 > .ly-tag {
	color: var(--e-global-color-accent);
}

.rw-post-content .ly-1 > .ly-tag {
	top: auto;
	bottom: -11px;
	left: 50%;
	transform: translateX(-50%);
	color: #1F5C8C;
}

.rw-post-content .ly-mark {
	position: absolute;
	right: 8%;
	top: 50%;
	margin-top: -23px;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	transform: rotate(45deg);
	border: 2px solid var(--e-global-color-primary);
	border-radius: 4px;
	background: #fff;
	font-size: 0;
}

.rw-post-content .ly-mark::after {
	content: "UN3373";
	transform: rotate(-45deg);
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 700;
	font-size: 8.5px;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--e-global-color-primary);
}

 /* The drawing and the numbered list are the panel's two columns (the list's steps stay editable blocks). */
.rw-post-content .ps-ly > .ly-vis {
	grid-column: 1;
}

.rw-post-content .ps-ly > .ly-list {
	grid-column: 2;
	margin: 0;
}

.rw-post-content .ly-list {
	display: grid;
	gap: 18px;
	padding: 0;
	list-style: none;
	counter-reset: ly;
}

.rw-post-content .ly-list > .ps-step {
	/* The editor's 24 px block gap would add to the list's own 18 px. */
	margin-block: 0;
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	column-gap: 12px;
	row-gap: 0;
	padding-bottom: 0;
	counter-increment: ly;
}

/* The steps in this panel are numbered circles in outline, not the body's filled ones. */
.rw-post-content .ly-list > .ps-step::after {
	content: none;
}

.rw-post-content .ly-list > .ps-step::before {
	content: counter(ly);
	position: static;
	grid-column: 1;
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid var(--e-global-color-primary);
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 600;
	font-size: 13px;
	line-height: 1;
	color: var(--e-global-color-primary);
}

.rw-post-content .ly-list > .ps-step:nth-child(2)::before {
	border-color: var(--e-global-color-secondary);
	color: var(--e-global-color-accent);
}

.rw-post-content .ly-list > .ps-step > h3 {
	margin: 5px 0 4px;
	font-size: 17px;
	/* The reference's h3 here keeps the body's tall line and no tracking. */
	line-height: 1.78;
	letter-spacing: normal;
}

.rw-post-content .ly-list > .ps-step > p {
	margin: 0;
	font-size: 15px !important;
	line-height: 1.6 !important;
}

/* Dispatch callout inside the article (navy band with the call button). */
.rw-post-content .ps-disp {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	/* The title and the line under it are two rows of one block, as the reference's <div> is: no row gap. */
	row-gap: 0;
	column-gap: 18px;
	margin: 0 0 56px;
	padding: 22px 24px;
	border-radius: 20px;
	background: var(--e-global-color-primary);
	color: #C9D4E3;
}

.rw-post-content .ps-disp::before {
	content: "";
	position: relative;
	grid-column: 1;
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	/* The reference's white phone (lucide "phone"); the live dot is ::after. */
	background:
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") center / 20px 20px no-repeat,
		rgba(255, 255, 255, .08);
}

.rw-post-content .ps-disp .pd-t {
	grid-column: 2;
	font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #fff;
}

.rw-post-content .ps-disp .pd-d {
	grid-column: 2;
	font-size: 14.5px !important;
	line-height: 1.5 !important;
	margin-top: 2px;
	color: #C9D4E3;
}

.rw-post-content .ps-disp .wp-block-buttons {
	grid-column: 3;
	grid-row: 1 / 3;
	display: flex;
	width: 100%;
	margin: 0;
}

.rw-post-content .ps-disp .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--e-global-color-secondary);
	color: #fff;
	font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color var(--rw-fast) var(--rw-ease);
}

.rw-post-content .ps-disp .wp-block-button__link::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	/* Plain lucide "phone", as the reference's button. */
	-webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") center / contain no-repeat;
}

/* The live dot on the phone circle: same grid cell as ::before, nudged to its top right corner. */
.rw-post-content .ps-disp::after {
	content: "";
	grid-column: 1;
	grid-row: 1 / 3;
	align-self: center;
	justify-self: start;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--e-global-color-rwlive0, #2FB67C);
	transform: translate(38px, -18px);
	pointer-events: none;
}

.rw-post-content .ps-disp .wp-block-button__link {
	box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px -6px rgba(32, 127, 134, .6);
}

.rw-post-content .ps-disp .wp-block-button__link:hover {
	background: var(--e-global-color-rwtealh);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 24px -8px rgba(32, 127, 134, .7);
}

.rw-post-content > .ps-sec + .ps-disp {
	margin-top: 0;
}

.rw-post-content > .ps-disp + .ps-sec {
	border-top: 0;
	padding-top: 0;
}

/* ---------- FAQ: the Rank Math block, drawn as the site accordion ---------- */

.rw-post-content > .ps-faq-sec {
	background: var(--e-global-color-rwice00);
	/* +7 px on top: the reference kicker sits on a taller line than this one. */
	padding: 103px 0 96px;
	/* The reference article (.psb) closes with 72 px of white before the FAQ band, at every width. */
	margin-top: 72px;
	scroll-margin-top: 90px;
}

.rw-post-content > .ps-faq-sec > * {
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}

.rw-post-content > .ps-faq-sec > .kicker {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	color: var(--e-global-color-accent);
	margin-bottom: 18px;
}

.rw-post-content > .ps-faq-sec > .kicker::before,
.rw-post-content > .ps-faq-sec > .kicker::after {
	content: "";
	width: 22px;
	height: 1.5px;
	background: currentColor;
	border-radius: 2px;
}

.rw-post-content > .ps-faq-sec > h2 {
	max-width: 20ch;
	margin-bottom: 48px;
	font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(32px, 3.5vw, 50px);
	line-height: 1.08;
	letter-spacing: -.028em;
	color: var(--e-global-color-primary);
	text-align: center;
	text-wrap: balance;
}

.rw-post-content > .ps-faq-sec > h2 em {
	font-style: italic;
	font-weight: 800;
	letter-spacing: -.022em;
	color: var(--e-global-color-accent);
}

/* The accordion is the site's own (the service pages' FAQ), drawn on Rank Math's list markup by rw-post.js. */
.rw-post-content .rank-math-list {
	border-top: 1px solid var(--e-global-color-rwline1);
	counter-reset: rwq;
}

.rw-post-content .rank-math-list-item {
	border-bottom: 1px solid var(--e-global-color-rwline1);
	scroll-margin-top: 120px;
	counter-increment: rwq;
}

.rw-post-content .rank-math-question {
	margin: 0;
}

/* rw-post.js turns the question into a button; without JS the question and answer stay plain and visible. */
.rw-post-content .rank-math-question button {
	white-space: normal;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 36px;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 28px 0;
	background: none;
	border: 0;
	border-radius: 0;
	text-align: left;
	cursor: pointer;
}

.rw-post-content .rank-math-question button:focus-visible {
	outline: 3px solid var(--e-global-color-secondary);
	outline-offset: -2px;
	border-radius: 8px;
}

.rw-post-content .rank-math-question .no::before {
	content: counter(rwq, decimal-leading-zero);
}

.rw-post-content .rank-math-question .no {
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 500;
	font-size: 12px;
	line-height: 1;
	letter-spacing: .12em;
	color: var(--e-global-color-rwmuted);
	transition: color var(--rw-fast);
}

.rw-post-content .rank-math-question .q {
	/* The button's own white-space is nowrap in the browser's default button styling: questions wrap here. */
	white-space: normal;
	font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(19px, 1.6vw, 22px);
	line-height: 1.3;
	letter-spacing: -.014em;
	color: var(--e-global-color-primary);
	transition: color var(--rw-fast);
}

.rw-post-content .rank-math-question button:hover .q {
	color: var(--e-global-color-accent);
}

/* Plus / minus in a ring: the vertical bar folds into the horizontal one when the answer opens. */
.rw-post-content .rank-math-question .pm {
	position: relative;
	justify-self: end;
	width: 36px;
	height: 36px;
	border: 1px solid var(--e-global-color-rwline1);
	border-radius: 50%;
	transition: background-color var(--rw-med) var(--rw-ease), border-color var(--rw-med) var(--rw-ease), transform var(--rw-med) var(--rw-ease);
}

.rw-post-content .rank-math-question .pm::before,
.rw-post-content .rank-math-question .pm::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 1.75px;
	margin: -.875px 0 0 -6px;
	border-radius: 2px;
	background: var(--e-global-color-primary);
	transition: transform var(--rw-med) var(--rw-ease), background-color var(--rw-fast);
}

.rw-post-content .rank-math-question .pm::after {
	transform: rotate(90deg);
}

.rw-post-content .is-open .rank-math-question .pm {
	background: var(--e-global-color-secondary);
	border-color: var(--e-global-color-secondary);
	transform: rotate(180deg);
}

.rw-post-content .is-open .rank-math-question .pm::before,
.rw-post-content .is-open .rank-math-question .pm::after {
	background: #fff;
}

.rw-post-content .is-open .rank-math-question .pm::after {
	transform: rotate(0);
}

.rw-post-content .is-open .rank-math-question .no,
.rw-post-content .is-open .rank-math-question .q {
	color: var(--e-global-color-accent);
}

.rw-post-content .rank-math-answer p {
	max-width: 64ch;
	padding: 0 48px 30px 56px;
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--e-global-color-text);
}

.rw-post-content .rank-math-answer p + p {
	padding-top: 0;
	margin-top: -14px;
}

.rw-post-content .rank-math-answer a {
	white-space: nowrap;
	color: var(--e-global-color-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rw-post-content .sfaq-help {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px 18px;
	margin-top: 36px;
	font-size: 15.5px;
	color: var(--e-global-color-rwmuted);
	text-align: center;
}

.rw-post-content .sfaq-help a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--e-global-color-accent);
	white-space: nowrap;
	text-decoration: none;
}

.rw-post-content .sfaq-help a::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--rw-i-phone-m) center / contain no-repeat;
	mask: var(--rw-i-phone-m) center / contain no-repeat;
}

.rw-post-content .sfaq-help a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------- Sources ---------- */

.rw-post-content > .src {
	background: #fff;
	padding: 96px 0;
	scroll-margin-top: 90px;
	display: grid;
	grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr);
	/* Rows: kicker, heading, list (the one that takes the slack), correction link. The editorial card spans them
	   all in the second column, as the reference's two-column block does. */
	grid-template-rows: auto auto 1fr auto;
	column-gap: clamp(32px, 5vw, 80px);
	row-gap: 0;
	align-items: start;
}

 /* The editor's constrained layout centres every child with auto side margins; this band lays itself out. */
.rw-post-content > .src > * {
	margin-inline: 0 !important;
	max-width: none;
	justify-self: stretch;
}

.rw-post-content > .src > .kicker {
	justify-self: start;
}

.rw-post-content > .src > .kicker {
	grid-column: 1;
	/* The reference's kicker sits on a text line, which leaves 7 px of leading above it; ours is a grid item,
	   so the same room is kept here. */
	margin-top: 7px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	color: var(--e-global-color-accent);
	margin-bottom: 18px;
}

.rw-post-content > .src > .kicker::before {
	content: "";
	width: 22px;
	height: 1.5px;
	background: currentColor;
	border-radius: 2px;
}

.rw-post-content > .src > h2 {
	grid-column: 1;
	font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(32px, 3.5vw, 50px);
	line-height: 1.08;
	letter-spacing: -.028em;
	color: var(--e-global-color-primary);
	text-wrap: balance;
}

.rw-post-content > .src > h2 em {
	font-style: italic;
	font-weight: 800;
	letter-spacing: -.022em;
	color: var(--e-global-color-accent);
}

.rw-post-content .src-list {
	grid-column: 1;
	grid-row: 3;
	margin-top: 36px;
	counter-reset: src;
}

 /* The editor's 24 px block gap between groups: these stacks carry their own rhythm. */
.rw-post-content .src-list > .src-i,
.rw-post-content > .src > .src-ed {
	margin-block-start: 0;
}

.rw-post-content .src-i {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	/* The publisher, the title and the domain are three rows of one block: only the columns are spaced. */
	row-gap: 0;
	column-gap: 14px;
	padding: 20px 0;
	border-top: 1px solid var(--e-global-color-rwline0);
	scroll-margin-top: 120px;
	transition: background-color .6s var(--rw-ease);
	counter-increment: src;
}

.rw-post-content .src-i:last-child {
	border-bottom: 1px solid var(--e-global-color-rwline0);
}

.rw-post-content .src-i:target {
	background: var(--e-global-color-rwtealt);
	box-shadow: -12px 0 0 var(--e-global-color-rwtealt), 12px 0 0 var(--e-global-color-rwtealt);
}

.rw-post-content .src-n {
	grid-row: 1 / 4;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--e-global-color-rwtealt);
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 600;
	font-size: 12.5px;
	line-height: 1;
	color: var(--e-global-color-accent);
}

.rw-post-content .src-pub {
	grid-column: 2;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 500;
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--e-global-color-rwmuted);
	margin-bottom: 6px;
}

.rw-post-content .src-t {
	grid-column: 2;
}

.rw-post-content .src-t a {
	display: inline;
	font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.35;
	color: var(--e-global-color-primary);
	text-decoration: underline;
	text-decoration-color: var(--e-global-color-rwline1);
	text-underline-offset: 4px;
	transition: text-decoration-color var(--rw-fast), color var(--rw-fast);
}

.rw-post-content .src-t a::after {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-left: 4px;
	vertical-align: -2px;
	background: var(--e-global-color-secondary);
	-webkit-mask: var(--rw-i-out) center / contain no-repeat;
	mask: var(--rw-i-out) center / contain no-repeat;
}

.rw-post-content .src-t a:hover {
	text-decoration-color: var(--e-global-color-secondary);
	color: var(--e-global-color-accent);
}

.rw-post-content .src-d {
	grid-column: 2;
	margin-top: 4px;
	font-size: 13.5px;
	color: var(--e-global-color-rwmuted);
}

/* "How this guide was checked" card, sticky beside the list. */
.rw-post-content .src-ed {
	grid-column: 2;
	grid-row: 1 / 5;
	position: sticky;
	top: 120px;
	padding: 30px 28px;
	border-radius: 20px;
	background: var(--e-global-color-rwice00);
	border: 1px solid var(--e-global-color-rwline0);
}

.rw-post-content .src-ed-l {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-weight: 500;
	font-size: 11.5px;
	line-height: 1;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--e-global-color-accent);
	margin-bottom: 12px;
}

.rw-post-content .src-ed-l::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--rw-i-badge) center / contain no-repeat;
	mask: var(--rw-i-badge) center / contain no-repeat;
}

.rw-post-content .src-ed h3 {
	font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -.014em;
	color: var(--e-global-color-primary);
	margin-bottom: 18px;
}

.rw-post-content .src-ed ul {
	display: grid;
	gap: 14px;
	padding: 0;
	list-style: none;
}

 /* A block with the tick drawn beside it, not a grid: a line that holds a link would otherwise split into
   several grid items and gain a row. */
.rw-post-content .src-ed li {
	position: relative;
	padding-left: 30px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--e-global-color-text);
}

.rw-post-content .src-ed li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 18px;
	height: 18px;
	background: var(--e-global-color-secondary);
	-webkit-mask: var(--rw-i-check) center / contain no-repeat;
	mask: var(--rw-i-check) center / contain no-repeat;
}

.rw-post-content .src-ed li a {
	color: var(--e-global-color-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rw-post-content .src-ed-note {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--e-global-color-rwline0);
	font-size: 13.5px;
	color: var(--e-global-color-rwmuted);
}

.rw-post-content .src-fix {
	grid-column: 1;
	margin-top: 14px;
}

.rw-post-content .src-fix a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--e-global-color-primary);
	border-bottom: 1px solid var(--e-global-color-rwline1);
	text-decoration: none;
	transition: border-color var(--rw-fast);
}

.rw-post-content .src-fix a::before {
	content: "";
	width: 16px;
	height: 16px;
	background: var(--e-global-color-secondary);
	-webkit-mask: var(--rw-i-mail) center / contain no-repeat;
	mask: var(--rw-i-mail) center / contain no-repeat;
}

.rw-post-content .src-fix a:hover {
	border-color: var(--e-global-color-primary);
}

/* ---------- Responsive ---------- */

/* The reference's section rhythm: 96 px bands become 80 px at 1024 and 64 px on phones. */
@media (max-width: 1024px) {
	.rw-post-content > .ps-faq-sec,
	.rw-post-content > .src {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.rw-post-content > .ps-faq-sec {
		padding-top: 87px;
	}
}

@media (max-width: 1000px) {
	.rw-post-content > .src {
		grid-template-columns: minmax(0, 1fr);
	}

	.rw-post-content > .src > .src-ed {
		position: static;
		grid-column: 1;
		grid-row: auto;
		margin-block-start: clamp(32px, 5vw, 80px); /* the reference .src-grid gap, now between the stacked rows */
	}

	.rw-post-content > .src {
		grid-template-rows: none;
	}

	.rw-post-content .src-list {
		grid-row: auto;
	}
}

@media (max-width: 760px) {
	.rw-post-content .pa-text {
		font-size: 19px;
	}

	.rw-post-content > .ps-sec {
		padding-bottom: 44px;
	}

	.rw-post-content > .ps-sec + .ps-sec {
		padding-top: 44px;
	}

	.rw-post-content > .ps-sec > h2 {
		font-size: 25px;
	}

	.rw-post-content .ps-lead {
		font-size: 17.5px !important;
	}

	.rw-post-content .ps-sec > p,
	.rw-post-content .ps-sec li {
		font-size: 16.5px;
	}

	.rw-post-content .ps-ly {
		grid-template-columns: 1fr;
		row-gap: 28px;
		padding: 22px 18px;
	}

	/* One column: the drawing stacks above the list instead of being pushed into a second column. */
	.rw-post-content .ps-ly > .ly-vis,
	.rw-post-content .ps-ly > .ly-list {
		grid-column: 1;
	}

	.rw-post-content .ly-3 {
		max-width: 240px;
	}

	.rw-post-content .ps-disp {
		grid-template-columns: auto minmax(0, 1fr);
		padding: 20px;
	}

	.rw-post-content .ps-disp .wp-block-buttons {
		grid-column: 1 / -1;
		grid-row: auto;
		margin-top: 18px;
	}

	.rw-post-content .ps-disp .wp-block-button {
		flex: 1 1 auto;
	}

	.rw-post-content .ps-disp .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}

	.rw-post-content > .ps-faq-sec {
		padding: 71px 0 64px;
	}

	.rw-post-content > .ps-faq-sec > h2 {
		margin-bottom: 32px;
	}

	.rw-post-content > .src {
		padding: 64px 0;
	}

	.rw-post-content .src-i {
		grid-template-columns: 34px minmax(0, 1fr);
		column-gap: 10px;
	}

	.rw-post-content .src-t a {
		font-size: 16.5px;
	}

	.rw-post-content .src-ed {
		padding: 24px 20px;
	}
}

/* The guide prints as the article alone (the reference's own print rules). */
@media print {
	.rw-post-content .ps-disp {
		display: none !important;
	}
}

/* Below 560 the accordion drops its number and tightens, as the reference's own FAQ does. */
@media (max-width: 560px) {
	.rw-post-content .rank-math-question button {
		grid-template-columns: minmax(0, 1fr) 32px;
		padding: 22px 0;
	}

	.rw-post-content .rank-math-question .no {
		display: none;
	}

	.rw-post-content .rank-math-question .pm {
		width: 32px;
		height: 32px;
	}

	.rw-post-content .rank-math-answer p {
		padding: 0 8px 24px 0;
		font-size: 15.5px;
	}
}

/* Phones: a source title is an inline Figtree link on Inter body lines in the reference, which makes each line
   27.17 px; the block here matches that measure. */
@media (max-width: 760px) {
	.rw-post-content .src-t {
		line-height: 27.17px;
	}
}
