/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/nwpStKy2OAdR1K-IwhWudF-R3w8aZQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/nwpStKy2OAdR1K-IwhWudF-R3w8aZQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/vEFH2_tTDB4M7-auWDN0ahZJW1ge6NmXpVAHV83Bfb_US0r6aX0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/vEFH2_tTDB4M7-auWDN0ahZJW1ge6NmXpVAHV83Bfb_US0r6aX0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/vEFF2_tTDB4M7-auWDN0ahZJW3IX2ih5nk3AucvUHf6kDXr4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/vEFF2_tTDB4M7-auWDN0ahZJW3IX2ih5nk3AucvUHf6kDXr4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	background: #fbfaf7;
	color: #1d2327;
	font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
}

.wp-block-list {
	padding-left: 0;
}

/* ── Buttons (mm-btn system) ───────────────────────────────── */
.mm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	min-height: 38px;
	padding: 0 14px;
	transition: opacity 0.15s;
	white-space: nowrap;
}

.mm-btn svg {
	display: block;
	flex: 0 0 auto;
}

.mm-btn:hover {
	opacity: 0.85;
	text-decoration: none;
}

.mm-btn-quiet {
	background: transparent;
	color: #1d2327;
	border-color: #1d2327;
}

.mm-btn-primary {
	background: #1e5fa3;
	color: #fff;
	border-color: #1e5fa3;
}

/* Removed body overflow-x guard — kept breaking the vertical scrollbar
 * across browsers. Individual mobile element fixes (admin-mock clip,
 * hero stack, fbp stack, etc.) handle the actual overflow sources. */

/* Override browser-default focus ring (red) with brand-blue. Uses
 * `:where()` to keep specificity at 0 so any component-level focus
 * rule still wins. Buttons + already-styled CTAs unaffected because
 * their own `color` rule keeps text white. */
:where(a):focus-visible {
	outline: 2px solid rgba(30, 95, 163, 0.45);
	outline-offset: 2px;
	border-radius: 2px;
}
:where(a):focus:not(:focus-visible) {
	outline: none;
}

/* Body-text links: don't go browser-default purple after click. */
.membermode-faq-answer a:visited,
.membermode-page-hero__sub a:visited,
p a:visited {
	color: var(--wp--preset--color--brand);
}

/* ── Header ────────────────────────────────────────────────── */
/* FSE wraps the <header> in a `.wp-block-template-part` outer element
 * that's only as tall as the header itself (~73px). `position: sticky`
 * is bounded by the parent, so when set on the inner header alone, it
 * scrolled away after 73px. Promote sticky to the wrapper — its parent
 * (`.wp-site-blocks`) is the full page height. */
.wp-site-blocks > .wp-block-template-part:has(.membermode-site-header) {
	position: sticky;
	top: 0;
	z-index: 100;
}

/* WP admin bar offset for the sticky header. Three states:
   - ≤600px: admin bar is `position: absolute` and scrolls away with the
     page → no offset (top: 0). Applying one leaves a white gap.
   - 601–782px: admin bar becomes `position: fixed` at 46px tall.
   - ≥783px: admin bar is fixed at 32px tall. */
@media screen and (min-width: 601px) {
	body.admin-bar .wp-site-blocks > .wp-block-template-part:has(.membermode-site-header) {
		top: 46px;
	}
}
@media screen and (min-width: 783px) {
	body.admin-bar .wp-site-blocks > .wp-block-template-part:has(.membermode-site-header) {
		top: 32px;
	}
}

.membermode-site-header {
	background: rgba(255, 255, 255, 0.97) !important;
	border-bottom: 1px solid #e8e3d8 !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 100;
	padding: 0 !important;
}

.membermode-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 56px;
	max-width: 1280px;
	margin: 0 auto;
}

.membermode-header-left {
	display: flex;
	align-items: center;
	gap: 48px;
}

.membermode-header-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}
.membermode-header-logo:focus,
.membermode-header-logo:active {
	outline: none;
	box-shadow: none;
}
.membermode-header-logo:focus-visible {
	outline: 2px solid rgba(30, 95, 163, 0.4);
	outline-offset: 4px;
	border-radius: 4px;
}

.membermode-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: #1e5fa3;
	border-radius: 7px;
	color: #fff;
	flex-shrink: 0;
	text-decoration: none;
}

.membermode-brand-mark svg {
	display: block;
	width: 20px;
	height: 20px;
}

.membermode-header-wordmark {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.3px;
	color: #1d2327;
	text-decoration: none;
}

.membermode-header-nav {
	display: flex;
	align-items: center;
	gap: 34px;
}

.membermode-header-nav a {
	font-size: 15.5px;
	font-weight: 500;
	color: #3c434a;
	text-decoration: none;
}

.membermode-header-nav a:hover {
	color: #1d2327;
}

.membermode-header-right {
	display: flex;
	align-items: center;
	gap: 18px;
}

.membermode-header-right .membermode-dm-envelope-nav-slot {
	order: 30;
}

.membermode-header-right .membermode-bell-nav-slot {
	order: 31;
}

.membermode-header-right .membermode-profile-menu,
.membermode-header-right .membermode-profile-menu-slot,
.membermode-header-right .membermode-profile-menu-auto {
	order: 32;
}

.membermode-header-right .membermode-bell-nav-slot,
.membermode-header-right .membermode-profile-menu,
.membermode-header-right .membermode-profile-menu-slot,
.membermode-header-right .membermode-profile-menu-auto {
	margin-left: -12px;
}

.membermode-header-login {
	font-size: 15.5px;
	font-weight: 500;
	color: #3c434a;
	text-decoration: none;
}

.membermode-header-login:hover {
	color: #1d2327;
}

/* Hamburger button — hidden by default, shown on mobile */
.membermode-header-hamburger {
	display: none;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 8px;
	padding: 0;
	cursor: pointer;
	margin-left: auto;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	transition: background-color 140ms ease;
	-webkit-tap-highlight-color: transparent;
}
.membermode-header-hamburger:hover {
	background: #f1ede1;
}
.membermode-header-hamburger:active {
	background: #e8e3d8;
}
.membermode-header-hamburger:focus-visible {
	outline: 2px solid rgba(30, 95, 163, 0.45);
	outline-offset: 2px;
}
.membermode-header-hamburger-icon {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 22px;
	height: 17px;
	position: relative;
}
.membermode-header-hamburger-icon span {
	display: block;
	height: 2.5px;
	background: #1d2327;
	border-radius: 999px;
	width: 100%;
	transform-origin: center;
	transition: transform 220ms cubic-bezier(0.6, 0.05, 0.4, 1.4),
		opacity 140ms ease,
		width 220ms ease;
}
.membermode-header-hamburger-icon span:nth-child(2) {
	width: 16px;
	margin-left: auto;
}
.membermode-header-hamburger:hover .membermode-header-hamburger-icon span:nth-child(2) {
	width: 22px;
}
.membermode-header-hamburger[aria-expanded="true"] .membermode-header-hamburger-icon span:nth-child(1) {
	transform: translateY(7.5px) rotate(45deg);
}
.membermode-header-hamburger[aria-expanded="true"] .membermode-header-hamburger-icon span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.membermode-header-hamburger[aria-expanded="true"] .membermode-header-hamburger-icon span:nth-child(3) {
	transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu drawer — collapsed by default, expanded via aria-expanded */
.membermode-mobile-menu {
	display: none;
	position: relative;
	z-index: 110;
	background: #fff;
	border-bottom: 1px solid #e8e3d8;
	padding: 16px 20px 24px;
}
.membermode-mobile-menu[hidden] {
	display: none;
}
.membermode-mobile-menu__nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 16px;
}
.membermode-mobile-menu__nav a {
	display: block;
	padding: 12px 4px;
	font-size: 17px;
	font-weight: 500;
	color: #1d2327;
	text-decoration: none;
	border-bottom: 1px solid #f0ece1;
}
.membermode-mobile-menu__nav a:last-child {
	border-bottom: 0;
}
.membermode-mobile-menu__nav a:hover {
	color: #1e5fa3;
}
.membermode-mobile-menu__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.membermode-mobile-menu__actions .mm-btn,
.membermode-mobile-menu__actions a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	width: 100%;
	box-sizing: border-box;
}
.membermode-mobile-menu__actions .membermode-header-login {
	padding: 10px 16px;
	border: 1px solid #e8e3d8;
	border-radius: 6px;
	text-align: center;
}

/* Backdrop overlay — fades in behind the open mobile drawer. */
.membermode-mobile-menu-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.28);
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px);
	z-index: 90;
	opacity: 0;
	transition: opacity 180ms ease;
	pointer-events: none;
}
.membermode-mobile-menu-backdrop.is-visible {
	opacity: 1;
	pointer-events: auto;
}
.membermode-mobile-menu-backdrop[hidden] {
	display: none;
}

/* No body-scroll lock — caused issues with admin bar + sticky header.
 * The dim backdrop is enough UX guidance that the drawer is modal. */

/* ── Hero ──────────────────────────────────────────────────── */
.membermode-hero {
	padding: 72px 56px 40px;
	background: #fbfaf7;
	max-width: 1280px;
	margin: 0 auto;
}

.membermode-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: center;
}

/* Left column */
.membermode-version-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px;
	background: #fff;
	border: 1px solid #e8e3d8;
	border-radius: 999px;
	font-size: 13px;
	color: #646970;
	margin-bottom: 24px;
}

.membermode-version-badge__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #00a32a;
	flex-shrink: 0;
}

.membermode-hero h1 {
	font-family: "Source Serif 4", Georgia, serif !important;
	font-size: 76px !important;
	line-height: 1.02 !important;
	font-weight: 500 !important;
	margin: 0 0 20px !important;
	letter-spacing: -1.5px;
	color: #1d2327;
}

.membermode-hero h1 em {
	font-style: italic;
	color: #1e5fa3;
}

.membermode-hero__sub {
	font-size: 19px !important;
	color: #3c434a !important;
	margin: 0 0 32px !important;
	max-width: 520px;
	line-height: 1.5;
}

.membermode-hero__ctas {
	display: flex;
	align-items: center;
	gap: 18px;
}

.membermode-hero__cta-primary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #1d2327;
	color: #fff;
	border: 1px solid #1d2327;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	padding: 14px 24px;
	text-decoration: none;
	font-family: inherit;
	cursor: pointer;
}

.membermode-hero__cta-primary:hover {
	opacity: 0.9;
	color: #fff;
	text-decoration: none;
}

.membermode-hero__cta-ghost {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	color: #1d2327;
	border: 1px solid #1d2327;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	padding: 14px 24px;
	text-decoration: none;
	font-family: inherit;
	cursor: pointer;
}

.membermode-hero__cta-ghost:hover {
	opacity: 0.7;
	color: #1d2327;
	text-decoration: none;
}

.membermode-hero__trust {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 36px;
	font-size: 13px;
	color: #646970;
}

.membermode-hero__trust-bold {
	font-weight: 700;
	color: #1d2327;
}

/* Right column: Form Builder Preview */
.membermode-fbp {
	position: relative;
}

.membermode-fbp__live-label {
	position: absolute;
	top: -16px;
	right: -16px;
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
	color: #1e5fa3;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	background: #fff;
	border: 1px solid #c5d8ec;
	padding: 3px 9px;
	border-radius: 2px;
	z-index: 2;
}

.membermode-fbp__inner {
	position: relative;
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 14px;
	padding: 14px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	box-shadow: 0 16px 40px -20px rgba(13, 40, 80, 0.25);
}

.membermode-fbp__palette {
	border-right: 1px solid #f0f0f1;
	padding-right: 12px;
}

.membermode-fbp__palette-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: #646970;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.membermode-fbp__chip {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	margin-bottom: 6px;
	font-size: 12px;
	color: #3c434a;
}

.membermode-fbp__chip--active {
	background: #f0f6fc;
	border-color: #2271b1;
}

.membermode-fbp__chip svg {
	flex-shrink: 0;
	stroke: currentColor;
}

.membermode-fbp__canvas {
	background: #f6f7f7;
	border: 1px dashed #dcdcde;
	border-radius: 4px;
	padding: 16px;
	min-height: 280px;
}

.membermode-fbp__canvas-label {
	font-size: 11px;
	color: #646970;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.membermode-fbp__field {
	margin-bottom: 12px;
}

.membermode-fbp__field-label {
	font-size: 12px;
	color: #3c434a;
	margin-bottom: 4px;
}

.membermode-fbp__field-input {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	padding: 8px 10px;
	font-size: 13px;
	color: #1d2327;
	width: 100%;
	font-family: inherit;
}

.membermode-fbp__field-select {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	padding: 8px 10px;
	font-size: 13px;
	color: #1d2327;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.membermode-fbp__submit {
	background: #2271b1;
	color: #fff;
	width: 100%;
	padding: 9px 14px;
	border-radius: 3px;
	font-size: 13px;
	font-weight: 500;
	margin-top: 6px;
	text-align: center;
}

.membermode-fbp__cursor {
	position: absolute;
	top: 234px;
	left: 100px;
	pointer-events: none;
	z-index: 10;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* ── Trust strip ───────────────────────────────────────────── */
.membermode-trust-strip {
	max-width: 1280px;
	margin: 80px auto 0;
	padding: 32px 56px;
	border-top: 1px solid #e8e3d8;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 28px;
	text-align: center;
}

.membermode-trust-strip__label {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	font-size: 13px;
	color: #646970;
	font-family: "Source Serif 4", Georgia, serif;
	font-style: italic;
	line-height: 1.2;
}

.membermode-trust-strip__name {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 18px;
	color: #8c8f94;
	letter-spacing: -0.2px;
	line-height: 1.2;
}

/* ── Free features section ─────────────────────────────────── */
.membermode-free-section {
	margin-block-start: 0;
	padding: 80px 56px;
	background: #fff;
	border-bottom: 1px solid #e8e3d8;
}

.membermode-section-center {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}

.membermode-section-eyebrow {
	font-family: "JetBrains Mono", monospace !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-bottom: 16px !important;
}

.membermode-section-eyebrow--green {
	color: #00754a !important;
}

.membermode-section-eyebrow--blue {
	color: #9bb8d8 !important;
}

.membermode-section-eyebrow--brand {
	color: #1e5fa3 !important;
}

.membermode-free-section h2,
.membermode-section-h2 {
	font-family: "Source Serif 4", Georgia, serif !important;
	font-size: 48px !important;
	font-weight: 500 !important;
	margin: 0 0 16px !important;
	letter-spacing: -1px;
	color: #1d2327;
	line-height: 1.1;
}

.membermode-section-sub {
	font-size: 17px !important;
	color: #3c434a !important;
	margin: 0 !important;
	line-height: 1.55;
}

.membermode-feature-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	margin-top: 56px;
	background: transparent;
	border: 0;
}

.membermode-feature-tile {
	background: #fff;
	border: 1px solid rgba(232, 227, 216, 0.72);
	border-radius: 10px;
	padding: 30px 26px;
}

.membermode-feature-tile__icon {
	width: 40px;
	height: 40px;
	background: #eaf6ee;
	color: #00754a;
	border-radius: 6px;
	display: grid;
	place-items: center;
	margin-bottom: 14px;
}

.membermode-feature-tile__icon svg {
	display: block;
	stroke: #00754a;
}

.membermode-feature-tile h3 {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #1d2327;
	margin: 0 0 6px !important;
	font-family: inherit !important;
}

.membermode-feature-tile p {
	font-size: 13px !important;
	color: #3c434a !important;
	margin: 0 !important;
	line-height: 1.55;
}

.membermode-free-section__dl {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.membermode-free-section__dl-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 22px;
	border: 1px solid #1d2327;
	background: transparent;
	color: #1d2327;
	font-size: 15px;
	border-radius: 3px;
	cursor: pointer;
	text-decoration: none;
	font-family: inherit;
}

.membermode-free-section__dl-btn:hover {
	opacity: 0.7;
	color: #1d2327;
	text-decoration: none;
}

/* ── Pro section (dark navy) ───────────────────────────────── */
.membermode-pro-section {
	margin-block-start: 0;
	padding: 80px 56px;
	background: #0e1c2e;
	color: #e3e8ed;
}

.membermode-pro-section h2 {
	font-family: "Source Serif 4", Georgia, serif !important;
	font-size: 48px !important;
	font-weight: 500 !important;
	color: #fff !important;
	letter-spacing: -1px;
	line-height: 1.1;
	margin: 0 0 16px !important;
}

.membermode-pro-section .membermode-section-sub {
	color: #a7b8cc !important;
}

/* ── Admin mock ─────────────────────────────────────────────── */
.membermode-admin-mock-wrap {
	display: flex;
	justify-content: center;
	margin-top: 48px;
	margin-bottom: 56px;
	max-width: 100%;
	overflow: hidden;
}

.membermode-admin-mock {
	width: 760px;
	height: 540px;
	position: relative;
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
	display: grid;
	grid-template-columns: 160px 1fr;
	grid-template-rows: 32px 1fr;
	overflow: hidden;
	flex-shrink: 0;
	transform-origin: top center;
}

.membermode-admin-mock__toolbar {
	grid-column: 1 / -1;
	background: #1d2327;
	border-bottom: 1px solid #000;
	height: 32px;
	display: flex;
	align-items: center;
	padding: 0 8px;
	gap: 12px;
	color: #a7aaad;
	font-size: 13px;
}

.membermode-admin-mock__toolbar-logo {
	color: #fff;
	font-weight: 600;
	font-size: 14px;
}

.membermode-admin-mock__toolbar-spacer {
	flex: 1;
}

.membermode-admin-mock__toolbar-howdy {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #a7aaad;
}

.membermode-admin-mock__toolbar-avatar {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: linear-gradient(135deg, #9bb8d8, #2271b1);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.membermode-admin-mock__sidebar {
	background: #1d2327;
	padding: 8px 0;
	overflow: hidden;
}

.membermode-admin-mock__nav-item {
	padding: 7px 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #c3c4c7;
	font-size: 13px;
	border-left: 4px solid transparent;
	white-space: nowrap;
}

.membermode-admin-mock__nav-icon {
	width: 16px;
	height: 16px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.18);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: 700;
	flex-shrink: 0;
	color: #c3c4c7;
}

.membermode-admin-mock__nav-item--active {
	background: #2271b1;
	color: #fff;
	border-left-color: #fff;
}

.membermode-admin-mock__nav-item--active .membermode-admin-mock__nav-icon {
	color: #fff;
}

.membermode-admin-mock__nav-badge {
	margin-left: auto;
	background: #d63638;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	border-radius: 10px;
	padding: 1px 5px;
	line-height: 1.4;
}

.membermode-admin-mock__content {
	background: #f0f0f1;
	padding: 16px 20px;
	color: #1d2327;
	overflow: hidden;
}

.membermode-admin-mock__title-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 14px;
}

.membermode-admin-mock__title-row h1 {
	font-size: 20px !important;
	font-weight: 400 !important;
	color: #1d2327 !important;
	margin: 0 !important;
	font-family: inherit !important;
	letter-spacing: normal !important;
	line-height: 1.4 !important;
}

.membermode-admin-mock__title-count {
	font-size: 13px;
	color: #646970;
	font-weight: 400;
}

.membermode-admin-mock__add-btn {
	background: #2271b1;
	color: #fff;
	border: 0;
	padding: 6px 12px;
	border-radius: 3px;
	font-size: 12px;
	cursor: pointer;
	font-family: inherit;
}

.membermode-admin-mock__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-bottom: 14px;
}

.membermode-admin-mock__stat {
	background: #fff;
	border: 1px solid #c3c4c7;
	padding: 8px 10px;
}

.membermode-admin-mock__stat-tier {
	font-size: 10px;
	color: #646970;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.membermode-admin-mock__stat-value {
	font-size: 18px;
	font-weight: 600;
	color: #1d2327;
	margin-top: 2px;
}

.membermode-admin-mock__stat-delta {
	font-size: 10px;
	color: #646970;
}

.membermode-admin-mock__stat-delta--green {
	color: #00a32a;
}

.membermode-admin-mock__table-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	overflow: hidden;
}

.membermode-admin-mock__table-head {
	display: grid;
	grid-template-columns: 1.6fr 1fr 0.7fr 0.7fr 0.5fr;
	padding: 8px 12px;
	background: #f6f7f7;
	font-size: 11px;
	font-weight: 600;
	color: #50575e;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	border-bottom: 1px solid #c3c4c7;
}

.membermode-admin-mock__table-row {
	display: grid;
	grid-template-columns: 1.6fr 1fr 0.7fr 0.7fr 0.5fr;
	padding: 8px 12px;
	font-size: 12px;
	align-items: center;
	border-bottom: 1px solid #f0f0f1;
}

.membermode-admin-mock__table-row:last-child {
	border-bottom: none;
}

.membermode-admin-mock__member {
	display: flex;
	align-items: center;
	gap: 7px;
}

.membermode-admin-mock__avatar {
	width: 24px;
	height: 24px;
	font-size: 10px;
	border-radius: 50%;
	background: linear-gradient(135deg, #c3d9eb, #2271b1);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	flex-shrink: 0;
}

.membermode-admin-mock__member-name {
	font-weight: 500;
	color: #1d2327;
	line-height: 1.2;
}

.membermode-admin-mock__member-email {
	font-size: 10px;
	color: #646970;
}

.membermode-admin-mock__badge {
	display: inline-block;
	padding: 2px 7px;
	font-size: 10px;
	font-weight: 600;
	border-radius: 2px;
}

.membermode-admin-mock__badge--active {
	color: #2c8a3f;
	border: 1px solid rgba(44, 138, 63, 0.25);
	background: rgba(44, 138, 63, 0.07);
}

.membermode-admin-mock__badge--trial {
	color: #dba617;
	border: 1px solid rgba(219, 166, 23, 0.25);
	background: rgba(219, 166, 23, 0.07);
}

.membermode-admin-mock__edit {
	color: #2271b1;
	font-size: 12px;
	text-decoration: none;
}

.membermode-admin-mock__cursor {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 50;
}

@keyframes membermode-cursor-drift {
	0% { transform: translate(160px, 80px); }
	30% { transform: translate(320px, 140px); }
	60% { transform: translate(240px, 260px); }
	100% { transform: translate(160px, 80px); }
}

.mm-cursor-anim {
	animation: membermode-cursor-drift 6s ease-in-out infinite;
}

/* ── Pro feature grid (2-col dark) ─────────────────────────── */
.membermode-pro-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	background: transparent;
	border: 0;
	margin-top: 56px;
}

.membermode-pro-feature-item {
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(155, 184, 216, 0.16);
	border-radius: 10px;
	padding: 28px 26px;
	display: block;
	gap: 18px;
}

.membermode-pro-feature-item__icon {
	width: 36px;
	height: 36px;
	background: rgba(155, 184, 216, 0.12);
	color: #9bb8d8;
	border-radius: 6px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	margin-bottom: 16px;
}

.membermode-pro-feature-item__icon svg {
	display: block;
	stroke: #9bb8d8;
}

.membermode-pro-feature-item h3 {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin: 0 0 4px !important;
	font-family: inherit !important;
}

.membermode-pro-feature-item p {
	font-size: 13px !important;
	color: #a7b8cc !important;
	margin: 0 !important;
	line-height: 1.5;
}

.membermode-pro-section__cta {
	margin-top: 48px;
	text-align: center;
}

.membermode-pro-section__cta p {
	margin: 0 0 18px !important;
	color: #c5d3e2 !important;
	font-size: 16px !important;
}

.membermode-pro-section__cta-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.membermode-pro-section__cta-primary,
.membermode-pro-section__cta-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.membermode-pro-section__cta-primary {
	background: #fff;
	border: 1px solid #fff;
	color: #0e1c2e;
}

.membermode-pro-section__cta-primary:hover {
	color: #0e1c2e;
	opacity: 0.9;
	text-decoration: none;
}

.membermode-pro-section__cta-secondary {
	background: transparent;
	border: 1px solid rgba(155, 184, 216, 0.38);
	color: #d8e3ef;
}

.membermode-pro-section__cta-secondary:hover {
	border-color: rgba(216, 227, 239, 0.8);
	color: #fff;
	text-decoration: none;
}

/* ── Pricing section ────────────────────────────────────────── */
.membermode-pricing-section {
	padding: 80px 56px;
	background: #fbfaf7;
}

.membermode-pricing-section h2 {
	font-family: "Source Serif 4", Georgia, serif !important;
	font-size: 48px !important;
	font-weight: 500 !important;
	letter-spacing: -1px;
	color: #1d2327;
	line-height: 1.1;
	margin: 0 0 16px !important;
}

.membermode-pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 48px;
	align-items: stretch;
}

.membermode-pricing-card {
	background: #fff;
	color: inherit;
	border: 1px solid #e8e3d8;
	border-radius: 6px;
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.membermode-pricing-card--featured {
	background: #0e1c2e;
	color: #e3e8ed;
	border-color: #0e1c2e;
}

.membermode-pricing-card__popular {
	position: absolute;
	top: -12px;
	left: 24px;
	background: #1e5fa3;
	color: #fff;
	font-size: 11px;
	padding: 3px 10px;
	border-radius: 3px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.membermode-pricing-card__tier {
	font-size: 13px;
	color: #646970;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.membermode-pricing-card--featured .membermode-pricing-card__tier {
	color: #9bb8d8;
}

.membermode-pricing-card__price {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 44px;
	font-weight: 500;
	letter-spacing: -1px;
	color: #1d2327;
	line-height: 1;
}

.membermode-pricing-card--featured .membermode-pricing-card__price {
	color: #fff;
}

.membermode-pricing-card__sub {
	font-size: 13px;
	color: #646970;
	margin-bottom: 14px;
}

.membermode-pricing-card--featured .membermode-pricing-card__sub {
	color: #9bb8d8;
}

.membermode-pricing-card__audience {
	font-size: 13px;
	color: #3c434a;
	margin: 0 0 20px;
	line-height: 1.5;
}

.membermode-pricing-card--featured .membermode-pricing-card__audience {
	color: #c5d3e2;
}

.membermode-pricing-card__features {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	font-size: 13px;
	line-height: 1.7;
	flex: 1;
}

.membermode-pricing-card__features li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-bottom: 6px;
	color: #3c434a;
}

.membermode-pricing-card--featured .membermode-pricing-card__features li {
	color: #c5d3e2;
}

.membermode-pricing-card__check {
	color: #1e5fa3;
	margin-top: 2px;
	font-size: 14px;
	flex-shrink: 0;
}

.membermode-pricing-card--featured .membermode-pricing-card__check {
	color: #9bb8d8;
}

.membermode-pricing-card__cta {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 11px 16px;
	font-size: 14px;
	font-weight: 500;
	border-radius: 4px;
	text-decoration: none;
	font-family: inherit;
	background: #1e5fa3;
	color: #fff;
	border: 1px solid #1e5fa3;
}

.membermode-pricing-card__cta:hover {
	opacity: 0.9;
	color: #fff;
	text-decoration: none;
}

.membermode-pricing-card--featured .membermode-pricing-card__cta {
	background: #fff;
	color: #0e1c2e;
	border-color: #fff;
}

.membermode-pricing-card--featured .membermode-pricing-card__cta:hover {
	opacity: 0.9;
	color: #0e1c2e;
}

.membermode-pricing-grid--four {
	grid-template-columns: repeat(4, 1fr) !important;
}

.membermode-pricing-card--free .membermode-pricing-card__price {
	color: #1d2327 !important;
}

.membermode-pricing-card__cta--free {
	background: transparent !important;
	color: #1e5fa3 !important;
	border: 1px solid #1e5fa3 !important;
}

.membermode-pricing-card__cta--free:hover {
	background: #eaf2fa !important;
}

.membermode-pricing-note {
	text-align: center;
	margin-top: 32px;
	font-size: 13px;
	color: #646970;
}

/* ── Sticky footer layout ───────────────────────────────────── */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wp-site-blocks > .wp-block-template-part:has(.membermode-site-footer) {
	margin-block-start: 0;
}

/* ── Generic page template ──────────────────────────────────── */
.membermode-page-content {
	flex: 1;
	padding: 48px 24px 64px;
	/* Fall-through content-size for the constrained layout — without these
	   vars the inner post-content blocks (paragraphs, headings, comments)
	   render full-viewport-width on FSE child themes that don't always
	   inherit the global theme.json values onto the container. Plugin-owned
	   member pages override these via page-template.css below. */
	--wp--style--global--content-size: 680px;
	--wp--style--global--wide-size: 1140px;
}

/* Small admin-style title only on plugin-owned member pages
   (account / saved / dashboard / profile / membership / auth). On a regular
   blog post or non-MM page the post-title keeps its theme typography. */
body[class*="membermode-"][class*="-page"] .membermode-page-content__title {
	font-size: 22px !important;
	font-weight: 600 !important;
	color: #1d2327 !important;
	margin-bottom: 32px !important;
	font-family: inherit !important;
	letter-spacing: 0 !important;
}

/* Member-page width owned by the plugin's page-template.css. */

/* ── Page hero (subpages) ───────────────────────────────────── */
.membermode-page-hero {
	background: #fbfaf7;
	padding: 72px 56px 56px;
	border-bottom: 1px solid #e8e3d8;
}

.membermode-page-hero__inner {
	max-width: 680px;
	margin: 0 auto;
	text-align: center;
}

.membermode-page-hero h1 {
	font-family: "Source Serif 4", Georgia, serif !important;
	font-size: 56px !important;
	font-weight: 500 !important;
	letter-spacing: -1.5px;
	line-height: 1.1 !important;
	color: #1d2327 !important;
	margin: 12px 0 20px !important;
}

.membermode-page-hero__sub {
	font-size: 18px !important;
	color: #3c434a !important;
	line-height: 1.6 !important;
	margin: 0 !important;
}

/* ── Legal / company pages ─────────────────────────────────── */
.membermode-page-hero--legal {
	padding-bottom: 48px;
}

.membermode-legal-page {
	padding: 64px 24px 80px;
	background: #fbfaf7;
}

.membermode-legal-card {
	max-width: 820px;
	margin: 0 auto;
	padding: 42px 46px;
	background: #fff;
	border: 1px solid rgba(232, 227, 216, 0.9);
	border-radius: 12px;
}

.membermode-legal-card h2 {
	font-family: "Source Serif 4", Georgia, serif !important;
	font-size: 28px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.5px;
	color: #1d2327 !important;
	margin: 34px 0 10px !important;
}

.membermode-legal-card h2:first-child,
.membermode-legal-updated + h2 {
	margin-top: 0 !important;
}

.membermode-legal-card p,
.membermode-legal-card li {
	font-size: 16px;
	line-height: 1.7;
	color: #3c434a;
}

.membermode-legal-card p {
	margin: 0 0 16px;
}

.membermode-legal-card ul {
	margin: 0 0 20px;
	padding-left: 20px;
}

.membermode-legal-card li {
	margin-bottom: 8px;
}

.membermode-legal-card a {
	color: #1e5fa3;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.membermode-legal-updated {
	font-family: "JetBrains Mono", monospace;
	font-size: 12px !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #646970 !important;
	margin-bottom: 28px !important;
}

.membermode-contact-card {
	display: grid;
	gap: 28px;
}

.membermode-contact-card h2 {
	margin-top: 0 !important;
}

.membermode-about-grid {
	max-width: 1040px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.membermode-about-grid .membermode-legal-card {
	max-width: none;
	margin: 0;
}

.membermode-about-card--wide {
	grid-column: 1 / -1;
}

/* ── Feature tiles – 3-col variant for features page ───────── */
.membermode-feature-tiles--detailed {
	grid-template-columns: repeat(3, 1fr) !important;
}

/* ── CTA strip ──────────────────────────────────────────────── */
.membermode-cta-strip {
	padding: 80px 56px;
	background: #fbfaf7;
	border-top: 1px solid #e8e3d8;
	text-align: center;
}

.membermode-cta-strip h2 {
	font-family: "Source Serif 4", Georgia, serif !important;
	font-size: 40px !important;
	font-weight: 500 !important;
	letter-spacing: -1px;
	color: #1d2327;
	margin: 0 0 28px !important;
}

.membermode-cta-strip__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* ── Pricing page variant ───────────────────────────────────── */
.membermode-pricing-section--page {
	padding-top: 64px;
}

/* ── Founders deal ──────────────────────────────────────────── */
.membermode-founders {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	max-width: 560px;
	margin: 56px auto 0;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 14px;
	padding: 32px 28px 28px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(146, 64, 14, 0.04), 0 8px 24px rgba(146, 64, 14, 0.06);
}

.membermode-founders__top {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.membermode-founders__label {
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	color: #92400e !important;
	margin: 0 0 4px !important;
}

.membermode-founders__headline {
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #1d2327 !important;
	margin: 0 !important;
	line-height: 1.3;
}

.membermode-founders__price-row {
	display: flex !important;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
	margin: 6px 0 4px !important;
}

.membermode-founders__price {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 44px;
	font-weight: 700;
	color: #78350f;
	line-height: 1;
	letter-spacing: -0.02em;
}

.membermode-founders__price-suffix {
	font-size: 14px;
	font-weight: 500;
	color: #92400e;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.membermode-founders__note {
	font-size: 13px !important;
	color: #78350f !important;
	margin: 0 !important;
	line-height: 1.5;
}

.membermode-founders__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 28px;
	background: #d97706;
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease, transform 0.15s ease;
}

.membermode-founders__cta:hover,
.membermode-founders__cta:focus-visible {
	background: #b45309;
	transform: translateY(-1px);
	outline: 0;
}

/* ── FAQ section ────────────────────────────────────────────── */
.membermode-faq-section {
	padding: 80px 56px;
	background: #fff;
	border-top: 1px solid #e8e3d8;
}

.membermode-faq-section--page {
	padding: 64px 0 0;
	background: transparent;
	border-top: none;
}

.membermode-faq-inner {
	max-width: 880px;
	margin: 0 auto;
}

.membermode-faq-section h2 {
	font-family: "Source Serif 4", Georgia, serif !important;
	font-size: 48px !important;
	font-weight: 500 !important;
	letter-spacing: -1px;
	color: #1d2327;
	line-height: 1.1;
	margin: 0 0 32px !important;
}

.membermode-faq-accordion {
	margin-top: 32px;
}

.membermode-faq-item {
	border-bottom: 1px solid #dcdcde;
}

.membermode-faq-item:first-child {
	border-top: 1px solid #dcdcde;
}

.membermode-faq-item summary {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 16px 0;
	font-size: 16px;
	font-weight: 500;
	color: #1d2327;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	font-family: inherit;
}

.membermode-faq-item summary::-webkit-details-marker {
	display: none;
}

.membermode-faq-toggle {
	width: 20px;
	height: 20px;
	border: 1px solid #dcdcde;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	flex-shrink: 0;
	color: #646970;
	font-style: normal;
}

.membermode-faq-item[open] .membermode-faq-toggle::after {
	content: "−";
}

.membermode-faq-item:not([open]) .membermode-faq-toggle::after {
	content: "+";
}

.membermode-faq-answer {
	color: #3c434a;
	line-height: 1.6;
	font-size: 14px;
	padding-bottom: 16px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.membermode-site-footer {
	padding: 56px;
	background: #1d2327;
	color: #a7aaad;
}

.membermode-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
	gap: 32px;
}

.membermode-footer-brand {
	max-width: 320px;
}

.membermode-footer-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.membermode-footer-wordmark {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	color: #fff;
}

.membermode-footer-desc {
	font-size: 16px;
	color: #a7aaad;
	margin: 0 0 16px;
	line-height: 1.6;
}

.membermode-footer-gpl {
	font-size: 12px;
	color: #646970;
	margin: 0;
}

.membermode-footer-col h4 {
	font-weight: 600;
	color: #fff;
	margin-bottom: 12px;
	font-size: 15px;
	margin-top: 0;
}

.membermode-footer-col a {
	color: #a7aaad;
	text-decoration: none;
	font-size: 15px;
	display: block;
	margin-bottom: 9px;
}

.membermode-footer-col a:hover {
	color: #fff;
}

.membermode-footer-col a[target="_blank"]::after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 6px;
	vertical-align: -1px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='7' y1='17' x2='17' y2='7'/><polyline points='8 7 17 7 17 16'/></svg>") no-repeat center / contain;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='7' y1='17' x2='17' y2='7'/><polyline points='8 7 17 7 17 16'/></svg>") no-repeat center / contain;
	opacity: 0.5;
	transition: opacity 0.15s ease;
}

.membermode-footer-col a[target="_blank"]:hover::after {
	opacity: 0.9;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.membermode-hero {
		padding: 56px 32px 32px;
	}

	.membermode-hero h1 {
		font-size: 56px !important;
	}

	.membermode-hero__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.membermode-trust-strip {
		padding: 28px 32px;
	}

	.membermode-free-section,
	.membermode-pro-section,
	.membermode-pricing-section,
	.membermode-faq-section,
	.membermode-cta-strip {
		padding: 60px 32px;
	}

	.membermode-feature-tiles {
		grid-template-columns: repeat(2, 1fr);
	}

	.membermode-feature-tiles--detailed {
		grid-template-columns: repeat(3, 1fr) !important;
	}

	.membermode-pro-feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.membermode-page-hero {
		padding: 56px 32px 40px;
	}

	.membermode-page-hero h1 {
		font-size: 44px !important;
	}

	.membermode-site-footer {
		padding: 40px 32px;
	}

	.membermode-header-inner {
		padding: 16px 32px;
	}

	.membermode-admin-mock-wrap {
		overflow-x: auto;
	}
}

@media (max-width: 768px) {
	.membermode-hero h1 {
		font-size: 42px !important;
	}

	.membermode-hero__sub {
		font-size: 17px !important;
	}

	.membermode-hero__ctas {
		flex-wrap: wrap;
	}

	.membermode-feature-tiles {
		grid-template-columns: repeat(2, 1fr);
	}

	.membermode-pro-feature-grid {
		grid-template-columns: 1fr;
	}

	.membermode-hero__grid,
	.membermode-about-grid,
	.membermode-section-split {
		grid-template-columns: 1fr !important;
		gap: 32px;
	}

	.membermode-fbp__inner {
		grid-template-columns: 1fr !important;
	}
	.membermode-fbp__palette {
		border-right: 0;
		border-bottom: 1px solid #f0f0f1;
		padding-right: 0;
		padding-bottom: 12px;
	}
	.membermode-fbp__live-label {
		top: -12px;
		right: 0;
	}

	/* Scale the 760x540 admin-mock down + clip the box to the scaled height
	 * so it doesn't leave 150px of empty space below. */
	.membermode-admin-mock-wrap {
		overflow: hidden;
		height: 252px;
	}
	.membermode-admin-mock {
		transform: scale(0.46);
		transform-origin: top center;
	}

	/* Footer: links first, brand + copyright last on mobile. */
	.membermode-footer-brand {
		order: 99;
		grid-column: 1 / -1;
		margin-top: 24px;
		padding-top: 24px;
		border-top: 1px solid #2c3338;
	}

	.membermode-pricing-grid,
	.membermode-pricing-grid--four {
		grid-template-columns: 1fr !important;
	}

	.membermode-footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.membermode-trust-strip {
		flex-wrap: wrap;
		gap: 16px;
	}

	.membermode-free-section h2,
	.membermode-pro-section h2,
	.membermode-pricing-section h2,
	.membermode-faq-section h2,
	.membermode-cta-strip h2,
	.membermode-section-h2 {
		font-size: 36px !important;
	}

	.membermode-header-nav {
		display: none;
	}

	.membermode-header-right {
		display: none;
	}

	.membermode-header-hamburger {
		display: inline-flex;
	}

	.membermode-mobile-menu {
		display: block;
	}
	.membermode-mobile-menu[hidden] {
		display: none;
	}

	.membermode-header-inner {
		padding: 14px 20px;
	}

	.membermode-header-left {
		gap: 12px;
		flex: 1;
		min-width: 0;
	}

	.membermode-header-wordmark {
		font-size: 20px;
	}

	.membermode-free-section,
	.membermode-pro-section,
	.membermode-pricing-section,
	.membermode-faq-section,
	.membermode-cta-strip {
		padding: 48px 20px;
	}

	.membermode-page-hero {
		padding: 40px 20px 32px;
	}

	.membermode-page-hero h1 {
		font-size: 36px !important;
	}

	.membermode-legal-page {
		padding: 40px 20px 56px;
	}

	.membermode-legal-card {
		padding: 30px 24px;
	}

	.membermode-legal-card h2 {
		font-size: 24px !important;
	}

	.membermode-about-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.membermode-feature-tiles--detailed {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	/* Keep founders box centered on mobile too — the desktop rule already
	 * centers everything; this override was breaking the layout. */
	.membermode-founders {
		flex-direction: column;
		align-items: center;
		padding: 28px 20px 24px;
	}
	.membermode-founders__cta {
		width: 100%;
	}

	.membermode-hero {
		padding: 40px 20px 24px;
	}

	.membermode-trust-strip {
		padding: 24px 20px;
		margin-top: 40px;
	}

	.membermode-site-footer {
		padding: 40px 20px;
	}
}

@media (max-width: 480px) {
	.membermode-feature-tiles,
	.membermode-feature-tiles--detailed {
		grid-template-columns: 1fr !important;
	}

	.membermode-footer-grid {
		grid-template-columns: 1fr;
	}

	.membermode-hero h1 {
		font-size: 34px !important;
	}
}

/* ── Accessibility: WCAG AA contrast (>= 4.5:1 on text, >= 3:1 on UI) ──
 * Lighthouse flagged the following text colors as too light against their
 * backgrounds. Each replacement was checked against WebAIM's contrast
 * checker before shipping.
 */
.membermode-trust-strip__name {
	color: #50575e; /* was #8c8f94 (3.3:1) → 7.4:1 on white */
}

.membermode-admin-mock__stat-delta--green {
	color: #0a7d28; /* was #00a32a (3.3:1) → 5.6:1 on white */
}

.membermode-admin-mock__badge--active {
	background: rgba(44, 138, 63, 0.12);
	border-color: rgba(31, 107, 48, 0.5);
	color: #1f6b30; /* darker green, 6.1:1 on the tinted background */
}

.membermode-admin-mock__badge--trial {
	background: rgba(154, 109, 0, 0.12);
	border-color: rgba(133, 94, 0, 0.5);
	color: #7a5800; /* darker amber, 5.7:1 — yellow tones need extra darkening */
}

.membermode-admin-mock__badge--canceled,
.membermode-admin-mock__badge--cancelled {
	color: #155abc; /* if any blue badge is added later */
}

.membermode-admin-mock__nav-icon {
	background: rgba(255, 255, 255, 0.32); /* was 0.18 — boosts the 'MM' chip on dark sidebar */
}

.membermode-admin-mock__title {
	color: #1d2327;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.membermode-site-footer {
	color: #c8c9cc; /* was #a7aaad → 9.0:1 on #1d2327 */
}

.membermode-footer-gpl {
	color: #a7aaad; /* was #646970 (3.4:1 — too dark) → 6.0:1 on #1d2327 */
}

/* ── Changelog page ──────────────────────────────────── */
.membermode-changelog-page {
	padding: 48px 24px 96px;
}
.membermode-changelog-hero {
	text-align: center;
	margin-bottom: 32px;
}
.membermode-changelog-hero h1 {
	font-size: 2.25em;
	margin: 0;
	letter-spacing: -0.02em;
}
.membermode-changelog-hero p {
	display: none; /* lead lives inside the timeline header now */
}

.membermode-changelog {
	max-width: 880px;
	margin-inline: auto;
}

/* Intro: lead + filter pills */
.membermode-changelog__intro {
	text-align: center;
	margin-bottom: 40px;
}
.membermode-changelog__lead {
	color: #6e7682;
	font-size: 1em;
	margin: 0 0 20px;
}
.membermode-changelog__filter {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	background: #f1ede1;
	border-radius: 999px;
}
.membermode-changelog__filter-btn {
	appearance: none;
	border: 0;
	background: transparent;
	color: #5a6470;
	font: inherit;
	font-size: 0.9em;
	font-weight: 500;
	padding: 6px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition:
		background-color 120ms ease,
		color 120ms ease;
}
.membermode-changelog__filter-btn:hover {
	color: #1d2327;
}
.membermode-changelog__filter-btn.is-active {
	background: #1d2327;
	color: #fff;
}

/* Year sticker */
.membermode-changelog__timeline {
	list-style: none;
	margin: 0;
	padding: 0;
}
.membermode-changelog__year {
	margin: 48px 0 20px;
	padding-left: 0;
}
.membermode-changelog__year:first-child {
	margin-top: 0;
}
.membermode-changelog__year-label {
	font-size: 0.78em;
	color: #6e7682;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Timeline entry: rail (left) + body (right) connected by a vertical line */
.membermode-changelog__entry {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 32px;
	padding: 0 0 56px;
	position: relative;
}
.membermode-changelog__entry::before {
	content: '';
	position: absolute;
	left: 180px;
	top: 6px;
	bottom: -16px;
	width: 1px;
	background: #e6e3da;
}
.membermode-changelog__entry:last-child::before {
	display: none;
}
.membermode-changelog__entry::after {
	content: '';
	position: absolute;
	left: 176px;
	top: 6px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #c8c2b2;
	box-sizing: border-box;
}
.membermode-changelog__entry[data-product='free']::after {
	border-color: #8a93a0;
}
.membermode-changelog__entry[data-product='pro']::after {
	border-color: #1e5fa3; /* brand */
}

.membermode-changelog__rail {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
	align-self: start;
}
.membermode-changelog__rail-row {
	display: flex;
	align-items: center;
	gap: 6px;
}
.membermode-changelog__product {
	display: inline-block;
	font-size: 0.7em;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 999px;
	line-height: 1.4;
}
.membermode-changelog__product--free {
	background: #efece5;
	color: #5a6470;
}
.membermode-changelog__product--pro {
	background: #eaf2fa;
	color: #1e5fa3;
}
.membermode-changelog__latest {
	font-size: 0.65em;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 999px;
	background: #1d2327;
	color: #fff;
	line-height: 1.4;
}
.membermode-changelog__version {
	font-size: 1.05em;
	font-weight: 600;
	color: #1d2327;
	letter-spacing: -0.005em;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}
.membermode-changelog__version:hover {
	color: #1e5fa3;
}
.membermode-changelog__date {
	color: #6e7682;
	font-size: 0.85em;
	font-variant-numeric: tabular-nums;
}

/* Body */
.membermode-changelog__body {
	min-width: 0;
	padding-left: 16px;
	padding-top: 2px;
}
.membermode-changelog__body h4 {
	font-size: 0.7em;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 14px 0 6px;
	line-height: 1.2;
	color: #5a6470;
}
.membermode-changelog__body h4:first-child {
	margin-top: 0;
}
.membermode-changelog__body h4 {
	color: #5a6470;
}
.membermode-changelog__body ul {
	margin: 0;
	padding-left: 1.1em;
	display: grid;
	gap: 6px;
}
.membermode-changelog__body li {
	color: #2f2f2f;
	line-height: 1.55;
	font-size: 0.95em;
}

.membermode-changelog__empty {
	color: #757575;
	font-style: italic;
	text-align: center;
	padding: 48px 0;
}
.membermode-changelog__follow {
	margin: 56px 0 0;
	padding-top: 24px;
	border-top: 1px solid #e6e3da;
	color: #6e7682;
	font-size: 0.95em;
	text-align: center;
}
.membermode-changelog__follow a {
	color: #1e5fa3;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.membermode-changelog__follow a:hover {
	color: #134680;
}
.membermode-changelog__follow a:visited {
	color: #1e5fa3;
}
.membermode-changelog__follow a:focus,
.membermode-changelog__follow a:focus-visible {
	outline: 2px solid rgba(30, 95, 163, 0.45);
	outline-offset: 2px;
	border-radius: 2px;
}
.membermode-changelog__version:focus,
.membermode-changelog__version:focus-visible {
	outline: 2px solid rgba(30, 95, 163, 0.45);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Hidden via filter */
.membermode-changelog__entry[hidden],
.membermode-changelog__year[hidden] {
	display: none;
}

/* Mobile: stack rail on top of body, drop the vertical line */
@media (max-width: 720px) {
	.membermode-changelog__entry {
		grid-template-columns: 1fr;
		gap: 12px;
		padding-bottom: 32px;
	}
	.membermode-changelog__entry::before,
	.membermode-changelog__entry::after {
		display: none;
	}
	.membermode-changelog__rail {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
	}
	.membermode-changelog__body {
		padding-left: 0;
		border-left: 2px solid #e6e3da;
		padding-left: 14px;
	}
	.membermode-changelog__entry[data-product='pro'] .membermode-changelog__body {
		border-left-color: #1e5fa3;
	}
	.membermode-changelog__year {
		padding-left: 0;
	}
}


/*
 * Help center — Helpscout-style: light hero, prominent search, vertical category cards.
 */

.membermode-help-page {
	background: #fafbfc;
}

body.post-type-archive-membermode_doc,
body.tax-membermode_doc_category,
body.single-membermode_doc {
	background: #fafbfc;
}

.membermode-help-center {
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) 5rem;
	max-width: 1080px;
	margin: 0 auto;
}

.membermode-help-hero {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 3.5rem;
}

.membermode-help-hero__title {
	margin: 0 0 0.65rem;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(2rem, 4.5vw, 2.85rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: #0f172a;
}

.membermode-help-hero__subtitle {
	margin: 0 0 2rem;
	font-size: 1.1rem;
	color: #6b7280;
	line-height: 1.5;
	font-weight: 400;
}

.membermode-help-search {
	display: flex;
	align-items: stretch;
	max-width: 680px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 16px;
	padding: 10px 10px 10px 22px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 24px rgba(15, 23, 42, 0.05);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.membermode-help-search:focus-within {
	border-color: #1e5fa3;
	box-shadow: 0 0 0 3px rgba(30, 95, 163, 0.14), 0 6px 24px rgba(30, 95, 163, 0.1);
}

.membermode-help-search__icon {
	flex-shrink: 0;
	align-self: center;
	color: #94a3b8;
}

.membermode-help-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 0 16px;
	font: inherit;
	font-size: 1.1rem;
	line-height: 1.4;
	color: #0f172a;
}

.membermode-help-search__input::placeholder {
	color: #94a3b8;
}

.membermode-help-search__submit {
	flex-shrink: 0;
	border: 0;
	background: #1e5fa3;
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	padding: 0 28px;
	min-height: 48px;
	border-radius: 11px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.membermode-help-search__submit:hover,
.membermode-help-search__submit:focus-visible {
	background: #174a82;
	outline: 0;
}

.membermode-help-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
}

.membermode-help-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	padding: 28px 26px;
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 14px;
	text-decoration: none !important;
	color: inherit;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.membermode-help-card:hover,
.membermode-help-card:focus-visible {
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
	outline: 0;
}

.membermode-help-card__icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.membermode-help-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.membermode-help-card__name {
	font-size: 1.02rem;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.3;
	letter-spacing: -0.005em;
}

.membermode-help-card__desc {
	font-size: 0.9rem;
	color: #57606a;
	line-height: 1.5;
}

.membermode-help-card__count {
	font-size: 0.78rem;
	color: #94a3b8;
	margin-top: 6px;
	font-weight: 500;
}

.membermode-help-footer {
	max-width: 720px;
	margin: 4rem auto 0;
	text-align: center;
	color: #6b7280;
	font-size: 1rem;
	padding-top: 2.5rem;
	border-top: 1px solid #e6e8eb;
}

.membermode-help-footer a {
	color: #1e5fa3;
	font-weight: 600;
	text-decoration: none;
	margin-left: 4px;
}

.membermode-help-footer a:hover,
.membermode-help-footer a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.membermode-help-empty {
	padding: 5rem 1rem;
	text-align: center;
	color: #6b7280;
}

/* Single article page */

.membermode-help-article-page {
	padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) 5rem;
	max-width: 1100px;
	margin: 0 auto;
}

.membermode-help-article-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 4vw, 4rem);
}

@media (min-width: 920px) {
	.membermode-help-article-layout {
		grid-template-columns: 240px minmax(0, 1fr);
	}
}

.membermode-help-sidebar {
	font-size: 0.92rem;
	position: sticky;
	top: 80px;
	align-self: start;
}

@media (max-width: 919px) {
	.membermode-help-sidebar {
		position: static;
	}
}

.membermode-help-sidebar__title {
	margin: 0 0 0.85rem;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6b7280;
}

.membermode-help-sidebar__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.membermode-help-sidebar__title a:hover,
.membermode-help-sidebar__title a:focus-visible {
	color: #1e5fa3;
}

.membermode-help-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.membermode-help-sidebar__list a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: #50575e;
	text-decoration: none;
	font-size: 0.92rem;
	line-height: 1.4;
	transition: background 0.15s ease, color 0.15s ease;
}

.membermode-help-sidebar__list a:hover,
.membermode-help-sidebar__list a:focus-visible {
	background: #f1f5f9;
	color: #1e5fa3;
	outline: 0;
}

.membermode-help-sidebar__list li.is-current a {
	background: rgba(30, 95, 163, 0.08);
	color: #1e5fa3;
	font-weight: 600;
}

.membermode-help-article {
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 14px;
	padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.75rem);
	min-width: 0;
}

.membermode-help-article > .wp-block-post-title {
	margin: 0 0 1.5rem;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(1.65rem, 3.2vw, 2.25rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: #0f172a;
}

.membermode-help-article > .wp-block-post-content {
	font-size: 1rem;
	line-height: 1.75;
	color: #1d2327;
}

.membermode-help-article > .wp-block-post-content > * {
	max-width: 100%;
}

.membermode-help-article h2 {
	margin: 2.25rem 0 0.85rem;
	font-size: 1.4rem;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.membermode-help-article h3 {
	margin: 1.85rem 0 0.6rem;
	font-size: 1.12rem;
	font-weight: 600;
	color: #1e5fa3;
}

.membermode-help-article p {
	margin: 0 0 1.15rem;
}

.membermode-help-article ul,
.membermode-help-article ol {
	margin: 0 0 1.25rem 1.25rem;
	padding: 0;
}

.membermode-help-article li {
	margin-bottom: 0.4rem;
	line-height: 1.65;
}

.membermode-help-article code {
	background: #f1f5f9;
	color: #0f172a;
	padding: 2px 7px;
	border-radius: 5px;
	font-size: 0.88em;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.membermode-help-code {
	position: relative;
	margin: 1.25rem 0 1.5rem;
}

.membermode-help-article pre,
.membermode-help-code pre {
	background: #f6f8fa;
	color: #1f2328;
	border: 1px solid #e6e8eb;
	padding: 16px 18px;
	padding-right: 56px;
	border-radius: 10px;
	overflow-x: auto;
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.7;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.membermode-help-article pre code,
.membermode-help-code pre code {
	background: none;
	color: inherit;
	padding: 0;
	font-size: inherit;
}

.membermode-help-code__copy {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 9px;
	background: #fff;
	color: #57606a;
	border: 1px solid #d0d7de;
	border-radius: 6px;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 500;
	cursor: pointer;
	opacity: 0;
	transition:
		opacity 0.15s ease,
		background 0.15s ease,
		color 0.15s ease,
		border-color 0.15s ease;
}

.membermode-help-code:hover .membermode-help-code__copy,
.membermode-help-code:focus-within .membermode-help-code__copy {
	opacity: 1;
}

.membermode-help-code__copy:hover,
.membermode-help-code__copy:focus-visible {
	background: #f6f8fa;
	color: #0f172a;
	border-color: #57606a;
	outline: 0;
}

.membermode-help-code__copy.is-copied {
	background: #dcfce7;
	color: #166534;
	border-color: #86efac;
	opacity: 1;
}

.membermode-help-code__copy svg {
	flex-shrink: 0;
}

.membermode-help-article a {
	color: #1e5fa3;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.membermode-help-article a:hover {
	text-decoration-thickness: 2px;
}

.membermode-help-article hr {
	border: 0;
	border-top: 1px solid #e6e8eb;
	margin: 2rem 0;
}

.membermode-help-article blockquote {
	border-left: 3px solid #1e5fa3;
	padding-left: 1.25rem;
	margin: 1.25rem 0;
	color: #4b5563;
	font-style: italic;
}

.membermode-help-article img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 1rem 0;
}

/* Category archive (/help/category/<slug>/) */

.membermode-help-cat-page {
	padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) 5rem;
	max-width: 880px;
	margin: 0 auto;
}

.membermode-help-cat-header {
	margin-bottom: 2rem;
}

.membermode-help-cat-back {
	display: inline-block;
	margin-bottom: 0.5rem;
	color: #6b7280;
	text-decoration: none;
	font-size: 0.9rem;
}

.membermode-help-cat-back:hover,
.membermode-help-cat-back:focus-visible {
	color: #1e5fa3;
}

.tax-membermode_doc_category .wp-block-post-title,
.tax-membermode_doc_category .wp-block-term-description {
	margin-top: 0;
}

.membermode-help-cat-list {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.membermode-help-cat-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.membermode-help-cat-list .wp-block-post-template {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.membermode-help-cat-list .wp-block-post {
	list-style: none !important;
	padding: 1.25rem 1.5rem;
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 12px;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.membermode-help-cat-list .wp-block-post:hover,
.membermode-help-cat-list .wp-block-post:focus-within {
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.membermode-help-cat-list .wp-block-post-title {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.005em;
}

.membermode-help-cat-list .wp-block-post-title a {
	color: #0f172a;
	text-decoration: none;
}

.membermode-help-cat-list .wp-block-post-title a:hover {
	color: #1e5fa3;
}

.membermode-help-cat-list .wp-block-post-excerpt {
	margin: 0;
}

.membermode-help-cat-list .wp-block-post-excerpt p {
	margin: 0;
	color: #57606a;
	font-size: 0.92rem;
	line-height: 1.55;
}

.membermode-help-cat-list .wp-block-post-excerpt__more-link {
	display: none;
}

.membermode-help-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: #6b7280;
	margin: 0 0 1.5rem;
}

.membermode-help-breadcrumb a {
	color: #6b7280;
	text-decoration: none;
	transition: color 0.15s ease;
}

.membermode-help-breadcrumb a:hover,
.membermode-help-breadcrumb a:focus-visible {
	color: #1e5fa3;
}

.membermode-help-breadcrumb [aria-current="page"] {
	color: #0f172a;
	font-weight: 500;
}

.membermode-help-breadcrumb__sep {
	color: #cbd5e1;
}

/* Help mains take remaining vertical space so footer sticks to viewport bottom on short pages. */
.wp-site-blocks > main.membermode-help-page,
.wp-site-blocks > main.membermode-help-cat-page,
.wp-site-blocks > main.membermode-help-article-page {
	flex: 1;
	/* Defeat flex shrink-to-fit caused by `margin-inline: auto` in column flex. */
	width: 100%;
	background: #fafbfc;
}

/* Category page header parity with /help/ home */
.membermode-help-cat-page {
	padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 4rem !important;
	margin-inline: auto;
}

.membermode-help-cat-page .membermode-help-cat-header {
	max-width: 720px;
	margin: 0 auto 2rem;
	text-align: center;
}

.membermode-help-cat-page .wp-block-term-title,
.membermode-help-cat-page .wp-block-term-description {
	margin: 0 auto;
	text-align: center;
}

.membermode-help-cat-page .wp-block-term-title {
	margin-bottom: 0.5rem;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(1.65rem, 3.5vw, 2.25rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #0f172a;
}

.membermode-help-cat-page .wp-block-term-description p {
	font-size: 1.02rem;
	color: #6b7280;
	line-height: 1.5;
	margin: 0;
}

.membermode-help-cat-empty {
	margin: 1rem auto !important;
	max-width: 480px;
	text-align: center !important;
	padding: 3rem 2rem !important;
	color: #6b7280 !important;
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 14px;
	font-size: 0.95rem !important;
	line-height: 1.5 !important;
	position: relative;
}

.membermode-help-cat-empty::before {
	content: "";
	display: block;
	width: 56px;
	height: 56px;
	margin: 0 auto 1rem;
	background-color: #f1f5f9;
	border-radius: 50%;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><path d='M14 2v6h6'/><path d='M16 13H8'/><path d='M16 17H8'/><path d='M10 9H8'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
}

/*
 * Contact form (shared widget endpoint) — clean Helpscout/Linear-style.
 */

.membermode-help-contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	max-width: 640px;
	margin: 0 auto;
	padding: 2rem;
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 28px rgba(15, 23, 42, 0.04);
}

.membermode-help-contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

@media (max-width: 600px) {
	.membermode-help-contact-form { padding: 1.5rem; border-radius: 12px; }
	.membermode-help-contact-form__row { grid-template-columns: 1fr; gap: 1.1rem; }
}

.membermode-help-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.membermode-help-contact-form__field > span {
	font-size: 0.78rem;
	font-weight: 600;
	color: #57606a;
	letter-spacing: 0.01em;
}

.membermode-help-contact-form__field input,
.membermode-help-contact-form__field textarea {
	width: 100%;
	min-height: 44px;
	padding: 0.7rem 0.85rem;
	font: inherit;
	font-size: 0.95rem;
	color: #0f172a;
	background: #fff;
	border: 1px solid #d0d7de;
	border-radius: 9px;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	resize: vertical;
}

.membermode-help-contact-form__field textarea {
	min-height: 140px;
	line-height: 1.55;
}

.membermode-help-contact-form__field input::placeholder,
.membermode-help-contact-form__field textarea::placeholder {
	color: #94a3b8;
}

.membermode-help-contact-form__field input:focus,
.membermode-help-contact-form__field textarea:focus {
	outline: 0;
	border-color: #1e5fa3;
	box-shadow: 0 0 0 3px rgba(30, 95, 163, 0.15);
	background: #fff;
}

.membermode-help-contact-form__honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.membermode-help-contact-form__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 0.25rem;
}

@media (max-width: 480px) {
	.membermode-help-contact-form__actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
}

.membermode-help-contact-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 1.6rem;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	color: #fff;
	background: #1e5fa3;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.membermode-help-contact-form__submit:hover,
.membermode-help-contact-form__submit:focus-visible {
	background: #174a82;
	outline: 0;
	transform: translateY(-1px);
}

.membermode-help-contact-form__submit:disabled {
	background: #94a3b8;
	cursor: progress;
	transform: none;
}

.membermode-help-contact-form__hint {
	margin: 0;
	font-size: 0.85rem;
	color: #6b7280;
}

.membermode-help-contact-form__feedback {
	display: none;
	margin: 0;
	padding: 0.85rem 1rem;
	border-radius: 9px;
	font-size: 0.9rem;
	line-height: 1.5;
}

.membermode-help-contact-form__feedback.is-success {
	display: block;
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.membermode-help-contact-form__feedback.is-error {
	display: block;
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.membermode-contact-page {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	gap: 3rem;
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 5rem;
	align-items: start;
}

@media (max-width: 880px) {
	.membermode-contact-page { grid-template-columns: 1fr; gap: 2rem; }
}

.membermode-contact-page .membermode-help-contact-form {
	margin: 0;
	max-width: none;
}

.membermode-contact-aside {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 1.5rem;
	background: #fafbfc;
	border: 1px solid #e6e8eb;
	border-radius: 14px;
	color: #1d2327;
}

.membermode-contact-aside h2 {
	margin: 0 0 0.4rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: #0f172a;
	letter-spacing: -0.005em;
}

.membermode-contact-aside p,
.membermode-contact-aside li {
	font-size: 0.88rem;
	line-height: 1.55;
	color: #57606a;
}

.membermode-contact-aside p { margin: 0; }

.membermode-contact-aside ul { margin: 0; padding-left: 1.1rem; }
.membermode-contact-aside li { margin-bottom: 0.3rem; }

.membermode-contact-aside a {
	color: #1e5fa3;
	text-decoration: none;
}

.membermode-contact-aside a:hover,
.membermode-contact-aside a:focus-visible { text-decoration: underline; text-underline-offset: 2px; }

.membermode-contact-aside__direct {
	padding-top: 1rem;
	border-top: 1px solid #e6e8eb;
	font-size: 0.85rem !important;
	color: #6b7280 !important;
}

/*
 * Comparison table — MemberMode vs Ultimate Member / MemberPress / RCP.
 * Drops below the pricing grid via [membermode_comparison].
 */

.membermode-compare {
	max-width: 1080px;
	margin: clamp(3rem, 6vw, 4.5rem) auto 0;
	padding: 0 clamp(1rem, 4vw, 2rem);
}

.membermode-compare__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 2rem;
}

.membermode-compare__heading {
	margin: 0 0 0.5rem;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(1.6rem, 3.5vw, 2.1rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: #0f172a;
}

.membermode-compare__sub {
	margin: 0;
	font-size: 1rem;
	color: #57606a;
	line-height: 1.5;
}

.membermode-compare__scroll {
	overflow-x: auto;
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 28px rgba(15, 23, 42, 0.04);
}

.membermode-compare__table {
	width: 100%;
	min-width: 720px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.93rem;
	color: #1d2327;
}

.membermode-compare__table thead th {
	padding: 1rem 1rem;
	text-align: center;
	font-weight: 600;
	font-size: 0.88rem;
	color: #57606a;
	background: #fafbfc;
	border-bottom: 1px solid #e6e8eb;
	white-space: nowrap;
}

.membermode-compare__table thead th:first-child {
	text-align: left;
	width: 38%;
}

.membermode-compare__table thead th.membermode-compare__us {
	color: #1e5fa3;
	font-weight: 700;
	background: #eff5fb;
	border-bottom-color: #1e5fa3;
}

.membermode-compare__table tbody th {
	padding: 0.95rem 1rem;
	text-align: left;
	font-weight: 500;
	color: #1d2327;
	border-bottom: 1px solid #f1f5f9;
	background: #fff;
}

.membermode-compare__table tbody tr:last-child th,
.membermode-compare__table tbody tr:last-child td {
	border-bottom: 0;
}

.membermode-compare__cell {
	padding: 0.95rem 1rem;
	text-align: center;
	border-bottom: 1px solid #f1f5f9;
	border-left: 1px solid #f1f5f9;
	background: #fff;
	color: #57606a;
}

.membermode-compare__cell--us {
	background: #f7fbff;
	color: #1d2327;
	font-weight: 500;
}

.membermode-compare__cell--best {
	background: #eef6f0;
	color: #065f46;
	font-weight: 600;
}

.membermode-compare__cell-text {
	display: inline-block;
	margin-left: 0;
	vertical-align: middle;
}

.membermode-compare__icon {
	display: inline-block;
	vertical-align: -3px;
	margin-right: 6px;
}

.membermode-compare__icon--yes {
	color: #16a34a;
}

.membermode-compare__icon--no {
	color: #cbd5e1;
}

.membermode-compare__cell--best .membermode-compare__icon--yes {
	color: #047857;
}

.membermode-compare__footnote {
	margin: 1.25rem 0 0;
	font-size: 0.8rem;
	color: #94a3b8;
	text-align: center;
}

/* Comparison table — mobile: convert each row into a feature-card. */
@media (max-width: 720px) {
	.membermode-compare__scroll {
		overflow: visible;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}
	.membermode-compare__table {
		min-width: 0;
		width: 100%;
		display: block;
		border: 0;
	}
	.membermode-compare__table thead {
		position: absolute;
		left: -9999px;
		width: 1px;
		height: 1px;
		overflow: hidden;
	}
	.membermode-compare__table tbody {
		display: grid;
		gap: 14px;
	}
	.membermode-compare__table tbody tr {
		display: block;
		background: #fff;
		border: 1px solid #e6e8eb;
		border-radius: 12px;
		padding: 16px 18px;
		box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	}
	.membermode-compare__table tbody tr > th[scope='row'] {
		display: block;
		padding: 0 0 12px;
		margin: 0 0 12px;
		font-size: 0.95rem;
		font-weight: 600;
		color: #1d2327;
		border-bottom: 1px solid #f0ece1;
		text-align: left;
	}
	.membermode-compare__table tbody tr > td {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 6px 0;
		border: 0;
		text-align: right;
	}
	.membermode-compare__table tbody tr > td::before {
		content: attr(data-vendor);
		flex-shrink: 0;
		font-size: 0.78rem;
		font-weight: 500;
		color: #6e7682;
		text-align: left;
		margin-right: auto;
	}
	.membermode-compare__table tbody tr > td.membermode-compare__cell--us::before {
		color: #1e5fa3;
		font-weight: 600;
	}
	.membermode-compare__cell-text {
		text-align: right;
		min-width: 0;
		overflow-wrap: anywhere;
	}
	.membermode-compare__icon {
		flex-shrink: 0;
	}
}

/* ---------------------------------------------------------------
   Blog index, category archive, and single post.
   --------------------------------------------------------------- */

body.blog,
body.archive.category,
body.single-post {
	background: #fafbfc;
}

.membermode-blog-page,
.membermode-post-page {
	background: #fafbfc;
}

.membermode-blog {
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) 5rem;
	max-width: 1100px;
	margin: 0 auto;
}

.membermode-blog__hero {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 2.25rem;
}

.membermode-blog__eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b;
}

.membermode-blog__eyebrow a {
	color: inherit;
	text-decoration: none;
}

.membermode-blog__eyebrow a:hover {
	color: #0f172a;
}

.membermode-blog__title {
	margin: 0 0 0.6rem;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(2rem, 4.5vw, 2.85rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: #0f172a;
}

.membermode-blog__subtitle {
	margin: 0;
	font-size: clamp(1rem, 1.4vw, 1.1rem);
	color: #64748b;
	line-height: 1.55;
}

.membermode-blog__filterbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin: 0 0 2.5rem;
	padding: 0;
}

.membermode-blog__pill {
	--mm-pill-accent: #1e5fa3;
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	color: #475569;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.membermode-blog__pill:hover {
	color: #0f172a;
	border-color: #cbd5e1;
	transform: translateY(-1px);
}

.membermode-blog__pill.is-active {
	background: var(--mm-pill-accent);
	border-color: var(--mm-pill-accent);
	color: #ffffff;
}

.membermode-blog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
	margin: 0;
}

.membermode-blog-card {
	--mm-card-accent: #1e5fa3;
	position: relative;
	background: #ffffff;
	border: 1px solid #eef0f3;
	border-radius: 14px;
	overflow: hidden;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
	display: flex;
	flex-direction: column;
}

.membermode-blog-card:hover,
.membermode-blog-card:focus-within {
	transform: translateY(-3px);
	border-color: #d8dde4;
	box-shadow: 0 14px 28px -18px rgba(15, 23, 42, 0.18);
}

.membermode-blog-card__link {
	color: inherit;
	text-decoration: none;
}

.membermode-blog-card__link:hover {
	color: var(--mm-card-accent);
}

.membermode-blog-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.membermode-blog-card__link:focus-visible::after {
	outline: 2px solid var(--mm-card-accent);
	outline-offset: 2px;
}

/* Intentionally NOT positioned so the title link's ::after stretched-link
   resolves to .membermode-blog-card (the only positioned ancestor) and
   covers BOTH the media and the body — making the entire card clickable. */
.membermode-blog-card__media,
.membermode-blog-card__body {
	position: static;
}

.membermode-blog-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #f1f5f9;
	overflow: hidden;
}

.membermode-blog-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 320ms ease;
}

.membermode-blog-card:hover .membermode-blog-card__image {
	transform: scale(1.03);
}

.membermode-blog-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--mm-card-accent) 0%, color-mix(in srgb, var(--mm-card-accent) 65%, #0f172a) 100%);
	color: rgba(255, 255, 255, 0.95);
}

.membermode-blog-card__placeholder-letter {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(3rem, 6vw, 4.5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.membermode-blog-card__body {
	padding: 1.25rem 1.35rem 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1;
}

.membermode-blog-card__cat {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--mm-card-accent);
}

.membermode-blog-card__title {
	margin: 0;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: #0f172a;
}

.membermode-blog-card__excerpt {
	margin: 0;
	font-size: 0.92rem;
	color: #475569;
	line-height: 1.5;
}

.membermode-blog-card__foot {
	margin-top: auto;
	padding-top: 0.45rem;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	color: #64748b;
}

.membermode-blog-card__avatar {
	display: inline-flex;
	flex-shrink: 0;
	margin-right: 0.15rem;
}

.membermode-blog-card__avatar img,
.membermode-blog-card__avatar-img {
	border-radius: 999px;
	display: block;
	width: 24px;
	height: 24px;
}

.membermode-blog-card__author {
	color: #475569;
	font-weight: 500;
}

.membermode-blog-card__sep {
	color: #cbd5e1;
}

.membermode-blog__pagination {
	margin: 3rem auto 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
}

.membermode-blog__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 0.85rem;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	color: #475569;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}

.membermode-blog__pagination .page-numbers:hover {
	color: #0f172a;
	border-color: #cbd5e1;
}

.membermode-blog__pagination .page-numbers.current {
	background: #0f172a;
	border-color: #0f172a;
	color: #ffffff;
}

.membermode-blog__pagination .page-numbers.dots {
	background: transparent;
	border-color: transparent;
}

.membermode-blog__empty {
	text-align: center;
	padding: 4rem 1rem;
	color: #64748b;
}

/* Single post layout — applies to both the original .membermode-page-content
   shell and the newer .membermode-post-page shell. */

body.single-post .membermode-page-content,
.membermode-post-page {
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 5rem;
	max-width: 760px;
	margin: 0 auto;
}

body.single-post .membermode-page-content > .wp-block-post-title {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(2rem, 4.2vw, 2.85rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: #0f172a;
	margin: 0 0 1rem;
}

body.single-post .membermode-post-byline {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.75rem;
	font-size: 0.875rem;
	color: #64748b;
}

body.single-post .membermode-post-byline > * {
	display: inline-flex;
	align-items: center;
	width: auto;
	flex: 0 0 auto;
	margin: 0;
}

body.single-post .membermode-post-byline .membermode-post-byline__avatar img,
body.single-post .membermode-post-byline .wp-block-avatar img {
	border-radius: 999px;
	display: block;
}

body.single-post .membermode-post-byline .membermode-post-byline__name,
body.single-post .membermode-post-byline .membermode-post-byline__name a {
	color: #0f172a;
	font-weight: 600;
	text-decoration: none;
}

body.single-post .membermode-post-byline .membermode-post-byline__date {
	color: #64748b;
	position: relative;
	padding-left: 0.85rem;
}

body.single-post .membermode-post-byline .membermode-post-byline__date::before {
	content: "·";
	position: absolute;
	left: 0.25rem;
	color: #cbd5e1;
}

body.single-post .membermode-post-byline .membermode-post-byline__cat {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: rgba(30, 95, 163, 0.12);
	color: #1e5fa3;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-left: 0.25rem;
}

body.single-post .membermode-post-byline .membermode-post-byline__cat a {
	color: inherit;
	text-decoration: none;
}

body.single-post .wp-block-post-featured-image img {
	border-radius: 14px;
	margin-block: 1.5rem 2.25rem;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
}

body.single-post .wp-block-post-content {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #1f2937;
}

body.single-post .wp-block-post-content > * {
	margin-block: 1rem;
}

body.single-post .wp-block-post-content h2 {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
	color: #0f172a;
	line-height: 1.25;
}

body.single-post .wp-block-post-content h3 {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 1.3rem;
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	color: #0f172a;
}

body.single-post .wp-block-post-content a {
	color: #1e5fa3;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.single-post .wp-block-post-content a:hover {
	color: #134680;
}

body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol {
	padding-left: 1.5rem;
	margin: 1rem 0;
}

body.single-post .wp-block-post-content li {
	margin-bottom: 0.4rem;
}

body.single-post .wp-block-post-content li::marker {
	color: #94a3b8;
}

body.single-post .wp-block-post-content blockquote {
	border-left: 3px solid #1e5fa3;
	padding: 0.5rem 0 0.5rem 1.25rem;
	margin: 2rem 0;
	color: #334155;
	font-style: italic;
}

body.single-post .wp-block-post-content code {
	background: #f1f5f9;
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
	font-size: 0.92em;
	color: #be185d;
}

body.single-post .wp-block-post-content pre {
	background: #0f172a;
	color: #e2e8f0;
	padding: 1rem 1.25rem;
	border-radius: 10px;
	overflow-x: auto;
	font-size: 0.9rem;
	line-height: 1.55;
}

body.single-post .wp-block-post-content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

/* Comments. */

body.single-post .wp-block-comments {
	margin-top: 3.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e7eb;
}

body.single-post .wp-block-comments-title {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 1.4rem;
	font-weight: 600;
	margin: 0 0 1.5rem;
	color: #0f172a;
}

body.single-post .comment-form {
	background: #ffffff;
	border: 1px solid #eef0f3;
	border-radius: 12px;
	padding: 1.5rem;
}

body.single-post .comment-form-comment label,
body.single-post .comment-notes,
body.single-post .logged-in-as {
	font-size: 0.85rem;
	color: #64748b;
}

body.single-post .comment-form textarea,
body.single-post .comment-form input[type="text"],
body.single-post .comment-form input[type="email"],
body.single-post .comment-form input[type="url"] {
	width: 100%;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 0.75rem 0.9rem;
	font-size: 0.95rem;
	color: #0f172a;
	font-family: inherit;
	transition: border-color 120ms ease, background 120ms ease;
	margin-top: 0.4rem;
}

body.single-post .comment-form textarea:focus,
body.single-post .comment-form input[type="text"]:focus,
body.single-post .comment-form input[type="email"]:focus,
body.single-post .comment-form input[type="url"]:focus {
	outline: none;
	background: #ffffff;
	border-color: #1e5fa3;
	box-shadow: 0 0 0 3px rgba(30, 95, 163, 0.12);
}

body.single-post .form-submit {
	margin-top: 1rem;
}

body.single-post .form-submit .submit,
body.single-post .form-submit input[type="submit"],
body.single-post .form-submit .wp-block-button__link,
body.single-post .form-submit .wp-element-button,
body.single-post .comment-form input[type="submit"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	background: #0f172a !important;
	color: #ffffff !important;
	border: none !important;
	padding: 0.7rem 1.5rem !important;
	border-radius: 8px !important;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.2;
	font-family: inherit;
	cursor: pointer;
	box-shadow: none;
	transition: background 120ms ease;
}

body.single-post .form-submit .submit:hover,
body.single-post .form-submit input[type="submit"]:hover,
body.single-post .form-submit .wp-block-button__link:hover,
body.single-post .form-submit .wp-element-button:hover {
	background: #1e293b;
	color: #ffffff;
}

body.single-post .wp-block-comments a,
body.single-post .comment-respond a,
body.single-post .logged-in-as a,
body.single-post .comment-form a,
body.single-post .comment-reply-link,
body.single-post #cancel-comment-reply-link {
	color: #1e5fa3;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.single-post .wp-block-comments a:hover,
body.single-post .comment-respond a:hover,
body.single-post .logged-in-as a:hover,
body.single-post .comment-form a:hover,
body.single-post .comment-reply-link:hover,
body.single-post #cancel-comment-reply-link:hover {
	color: #134680;
}

body.single-post .comment-reply-title {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 1rem;
}

body.single-post #cancel-comment-reply-link {
	font-size: 0.85rem;
	margin-left: 0.5rem;
	font-weight: 400;
}

.membermode-post-page {
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 5rem;
}

/* Single post extras: breadcrumb, reading time, share row, author bio. */

.membermode-blog-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 1rem;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #94a3b8;
}

.membermode-blog-breadcrumb a {
	color: #64748b;
	text-decoration: none;
	transition: color 120ms ease;
}

.membermode-blog-breadcrumb a:hover {
	color: #0f172a;
}

.membermode-blog-breadcrumb__sep {
	color: #cbd5e1;
}

.membermode-blog-reading-time {
	color: #94a3b8;
	font-size: 0.825rem;
	padding-left: 0.85rem;
	position: relative;
}

.membermode-blog-reading-time::before {
	content: "·";
	position: absolute;
	left: 0.25rem;
	color: #cbd5e1;
}

.membermode-blog-post-footer {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e7eb;
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.membermode-blog-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.membermode-blog-share__label {
	font-size: 0.85rem;
	color: #64748b;
	margin-right: 0.25rem;
	font-weight: 500;
}

.membermode-blog-share__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.85rem;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	color: #475569;
	font-size: 0.85rem;
	font-weight: 500;
	font-family: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}

.membermode-blog-share__btn:hover {
	border-color: #0f172a;
	color: #0f172a;
	background: #f8fafc;
}

.membermode-blog-share__btn svg {
	flex-shrink: 0;
}

.membermode-blog-author {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: #ffffff;
	border: 1px solid #eef0f3;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
}

.membermode-blog-author__avatar {
	flex-shrink: 0;
	display: block;
}

.membermode-blog-author__avatar img,
.membermode-blog-author__avatar-img {
	border-radius: 999px;
	display: block;
	width: 48px;
	height: 48px;
}

.membermode-blog-author__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.membermode-blog-author__name {
	font-size: 1rem;
	font-weight: 600;
	color: #0f172a;
	text-decoration: none;
}

.membermode-blog-author__name:hover {
	color: #1e5fa3;
}

.membermode-blog-author__bio {
	margin: 0;
	font-size: 0.9rem;
	color: #64748b;
	line-height: 1.55;
}

.membermode-post-title {
	margin: 0 0 1rem;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(2rem, 4.2vw, 2.85rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: #0f172a;
}

.membermode-blog-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.75rem;
	font-size: 0.875rem;
	color: #64748b;
}

.membermode-blog-meta__pill {
	--mm-pill-accent: #1e5fa3;
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--mm-pill-accent) 12%, transparent);
	color: var(--mm-pill-accent);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	margin-right: 0.25rem;
	transition: background 120ms ease;
}

.membermode-blog-meta__pill:hover {
	background: color-mix(in srgb, var(--mm-pill-accent) 18%, transparent);
}

.membermode-blog-meta__author {
	color: #0f172a;
	font-weight: 500;
}

.membermode-blog-meta__sep {
	color: #cbd5e1;
}

.membermode-post-cover img,
.wp-block-post-featured-image.membermode-post-cover img {
	border-radius: 14px;
	margin-block: 1.5rem 2.25rem;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
}

.membermode-post-page .wp-block-post-content {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #1f2937;
}

.membermode-post-page .wp-block-post-content > * {
	margin-block: 1rem;
}

.membermode-post-page .wp-block-post-content h2 {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	margin-top: 2.5rem;
	color: #0f172a;
}

.membermode-post-page .wp-block-post-content h3 {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 1.3rem;
	font-weight: 600;
	margin-top: 2rem;
	color: #0f172a;
}

.membermode-post-page .wp-block-post-content a {
	color: #1e5fa3;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.membermode-post-page .wp-block-post-content blockquote {
	border-left: 3px solid #1e5fa3;
	padding: 0.5rem 0 0.5rem 1.25rem;
	margin: 2rem 0;
	color: #334155;
	font-style: italic;
}

.membermode-post-footer {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e7eb;
}

.membermode-post-bio {
	gap: 1rem !important;
	background: #ffffff;
	border: 1px solid #eef0f3;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
}

.membermode-post-bio__avatar img {
	border-radius: 999px;
}

.membermode-post-bio__name {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #0f172a;
}

.membermode-post-bio__bio {
	margin: 0.15rem 0 0;
	font-size: 0.9rem;
	color: #64748b;
	line-height: 1.5;
}

.membermode-post-comments {
	margin-top: 3rem;
}

.membermode-post-comments .wp-block-comments-title {
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
	.membermode-blog__grid {
		grid-template-columns: 1fr;
	}
	.membermode-blog__filterbar {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 0.5rem;
		scrollbar-width: none;
	}
	.membermode-blog__filterbar::-webkit-scrollbar {
		display: none;
	}
	.membermode-blog__pill {
		flex-shrink: 0;
	}
}

/* Visually-hidden but readable by screen readers + indexed by Google.
   Standard accessibility pattern. */
.membermode-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
