/**
 * Swell Mid-Article CTA
 * ----------------------
 * The card, grid, and trust-widget styling (.cx-convert / .cx-c1 / .cx-door /
 * .cx-trust) comes from the Swell Active theme's own blog-convert.css,
 * already enqueued on every single post. There is deliberately no dark band
 * here — the doors sit directly on the article's own surface (light or dark
 * reading mode), unlike the theme's end-of-article usage. This file adds
 * only the two things that difference in placement needs:
 *
 * 1. A z-index high enough to sit above the sticky reading-surface toggle
 *    (.art-col__bar, z-index:100, in assets/css/pages.css), which this
 *    content scrolls underneath. The end-of-article band never meets it —
 *    it sits outside .ed-wrap, past that button's sticky range.
 * 2. Centering for the guest-review widget. The theme only centers .cx-trust
 *    via a *parent* flex wrapper (.cx-c1__head) used in the end-of-article
 *    layout, above the doors grid. Here it sits below the grid instead, so
 *    it gets centered by its own wrapper rather than by overriding
 *    .cx-trust's `display` — that would depend on stylesheet load order
 *    relative to blog-convert.css, since both rules would carry equal
 *    specificity.
 */
.cx-c1--midbody {
	position: relative;
	z-index: 150;
}

.swell-mid-cta__trust-wrap {
	display: flex;
	justify-content: center;
	margin-top: clamp(22px, 2.6vw, 30px);
}

/* Avoid stacking this wrapper's margin-top on top of .cx-trust's own. */
.swell-mid-cta__trust-wrap .cx-trust {
	margin-top: 0;
}
