/* No Smoke No Fire — redacted text widgets */
/* The wrapper can be an h1–h6 since 1.18.3 (HTML Tag control) — zero the UA
   heading margins/size so switching tags never shifts the layout; the SVG is
   the only visual content either way. */
.sg-redacted { width: 100%; padding: 1rem 0; margin: 0; font-size: inherit; line-height: inherit; }
/* Auto uppercase (heading widget): rendering-only — DOM text/aria keep the
   typed case. Browsers apply text-transform to SVG text; getBBox measures the
   transformed glyphs, so the redaction bars fit the caps rendering. */
.sg-redacted--caps svg text { text-transform: uppercase; }
.sg-redacted svg { width: 100%; height: auto; display: block; overflow: visible; }
/* Server-rendered text (1.19.0). The SVG is the visual, but until now the
   heading tag was EMPTY in the served HTML — nothing for anything reading
   source rather than the rendered DOM, and no fallback if the script failed.
   This span carries the real text and is now the accessible name, which is why
   the SVG went aria-hidden. Clipped rather than display:none or visibility:
   hidden — both of those would remove it from the accessibility tree along
   with the pixels, which is the opposite of the point. */
.sg-redacted__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
