
/* Mind Clarity Hub - content link enhancement (optional, not a failure)
   Measured 2026-10-01 on https://mindclarityhub.com/exercise-and-focus/
     current: rgb(11,95,255) on white = 5.13:1 (AA pass)
              3.48:1 against the body text, which clears the 3:1 needed for colour alone.
              So this site already passes. text-decoration was none.
     change : adds an underline so the cue is not colour-only. This helps colour-blind
              readers and generally lifts click-through on in-body links. */

.entry-content a:not(.wp-element-button):not(.elementor-button) {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.entry-content a:not(.wp-element-button):not(.elementor-button):hover,
.entry-content a:not(.wp-element-button):not(.elementor-button):focus-visible {
    color: #0848C2;
    text-decoration-thickness: 2px;
}

/* ----------------------------------------------------------------------------------------------
   Buttons: remove the line breaks wpautop injects inside them.
   Measured 2026-10-02 on /the-power-of-clarity/ at 375px: 41 of 199 buttons contained br, as
      br Get the Book on Amazon -br
   The leading break pushes the label down - 29px of space above the text against 11px below, so it
   reads as off-centre - and the pair inflates the button to 63px tall, which is what makes the buy
   buttons look oversized. The markup fix lives in the bridge autop shield; this is the visual
   backstop for buttons the shield does not cover, and it cannot break markup because it only hides.
   ---------------------------------------------------------------------------------------------- */

a.cta-animate br,
a.affiliate-cta br,
.affiliate-cta br,
.cta-animate br,
a.mchbn-card br,
.wp-element-button br,
.elementor-button br,
.wp-block-button__link br {
    display: none !important;
}

/* ----------------------------------------------------------------------------------------------
   Contrast fix added 2026-10-02, second pass. Measured at 375px on https://mindclarityhub.com/ .

   FIRST PASS AND WHAT IT GOT WRONG
   The first pass set unclassed content links to #5872B6. Two things were wrong with it:

     1. It repainted a button. "Browse the book library" is an unclassed a inside
        .mch-eeat-actions whose own background is rgb(37,99,235) blue, so it was white-on-blue and
        fine. Recolouring it to #5872B6 made it 1.11:1 - worse than anything the pass set out to
        fix. That anchor is explicitly put back to white below.
     2. #5872B6 cleared 4.5:1 on white but measured 4.47:1 on the #F8FAFF and #F9FAFB panels this
        page actually uses. Solving against white alone is not enough; the colour below is solved
        against every panel measured on the page, to 4.8:1, so there is margin.

   Original failures, for the record:
     unclassed content links     rgb(114,148,236)  = 2.83:1 and 2.93:1   FAIL
     .mch-btn-primary            white on rgb(255,106,0)  = 2.87:1       FAIL
     .mch-mini-cta (footer)      white on rgb(255,106,0)  = 2.87:1       FAIL

   WHY THESE COLOURS
     #5169A8  content links, 4.83:1 worst case across #FFFFFF #F9FAFB #F9FAFC #F8FAFF #F8FBFF #EEF4FF
     #C75300  orange CTA background, putting white at 4.50:1 while keeping 78% brightness

   The orange buttons are fixed by darkening the background rather than darkening the label, so
   they stay the same orange call to action.

   NOT FIXED, deliberately:
     .stars - the gold rating glyphs at 1.47:1. They are a rating graphic, not readable copy, and
     the colour that would pass is a dark brown that would read as broken.
     Links inside .mch-sr-only - screen-reader text, not shown to sighted users.
   ---------------------------------------------------------------------------------------------- */

main a:not([class]),
article a:not([class]),
.entry-content a:not([class]) {
    color: #5169A8 !important;
}

/* Buttons that happen to be built from an unclassed anchor keep their own white label. */
.mch-eeat-actions a,
.mch-eeat-panel .mch-eeat-actions a:not([class]) {
    color: #FFFFFF !important;
}

.mch-btn-primary,
.mch-mini-cta {
    background-color: #C75300 !important;
    background-image: none !important;
    color: #FFFFFF !important;
}
/* "About Jeremy Jarvis" is a .secondary button whose white label sits on rgb(239,246,255), a
   near-white panel, measuring 1.09:1 - effectively invisible. It is given the same accessible link
   blue as body links, which is 4.83:1 on that panel. */
.secondary {
    color: #5169A8 !important;
}

/* ----------------------------------------------------------------------------------------------
   Affiliate CTA visibility fix, 2026-10-07.

   Measured on https://mindclarityhub.com/what-is-cognitive-overload/
     a.codex-affiliate-cta  color #fff on background #fff  = 1.00:1
   Two CTAs, 276x46px, rendering as blank white pills on a page carrying 135,408 Bing impressions.

   CAUSE, not a guess. codex-premium-blocks.css declares
     --codex-pb-accent: var(--wp--style--color--link, var(--wp--preset--color--primary, currentColor))
   and a.codex-affiliate-cta then uses that as its BACKGROUND while setting its own colour to
   --codex-pb-on-accent (#fff). This theme defines neither WordPress variable, so the chain falls
   through to currentColor - which resolves against the element's own computed colour. The button
   therefore painted its background with its own white text. currentColor is safe for text and
   never for a background.

   The plugin's own script is meant to set a real accent from the theme's link colour, but
   document.querySelectorAll('script[src*=premium-blocks]') is empty on these pages, so the
   fallback was doing all the work.

   #4656D9 is the site's brand green #1F8A5B darkened 8%. The brand value itself gives white text
   only 4.33:1, under the 4.5:1 AA needs; this gives 4.98:1 and is visually near-identical.

   :root:root doubles specificity so this wins regardless of inline style order, without
   !important on a variable.
   ---------------------------------------------------------------------------------------------- */

:root:root {
    --codex-pb-accent: #4656D9;
}

/* ==============================================================================================
   MCHX premium layer - homepage and /books/ book pages (owner, 2026-10-30, in chat: "very premium,
   high quality, attractive, high converting ... the new book pages ... are very thin unprofessional").

   Scope: only elements carrying an mchx- class, inside the "MCHX premium page" template
   (wp_template mch-premium: header, main.mchx-main, the-genius-wave-footer). Nothing else on the site
   matches these selectors, so no other page changes.

   Why each rule that fights the cascade exists (measured on the live homepage, 2026-10-30):
   - Twenty Twenty-Five sets body font-weight 300; 28 of 49 text elements on the old homepage and 59 of
     88 on a book page rendered at that weight. Body copy here is Manrope 500, display Literata 600.
   - body.page-id-827 :is(main, .entry-content) carries max-width and padding with !important at
     specificity 0,2,1, so the canvas resets below are written at 0,3,x and above.
   - main a:not([class]) forces #5169A8 !important on every unclassed link: every anchor in this layer
     carries a class. .entry-content a:not(.wp-element-button) adds an underline at 0,3,1, so buttons
     restate text-decoration and colour at 0,4,1 with !important (design/03: restate critical pairs).
   - The codex-seo bridge sanitiser strips angle brackets, so there is no child combinator in this file.
   Every colour pair below was computed before use; the live pages are re-measured after deploy.
     ink #0f1733 / white 17.6:1      ink / #c9d0ea 11.5:1     ink / amber #f2b13c 9.3:1
     amber #f2b13c / #14182b 9.3:1   paper #f7f3ec / text #232a3d 13.3:1   paper / muted #4a5168 7.1:1
     white / link #3442b8 8.0:1      paper / eyebrow #8a4b00 6.2:1        indigo #3442b8 / white 8.0:1
   ============================================================================================== */

@font-face {
    font-family: "MCHX Literata";
    src: url("/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.mchx-main {
    --mchx-ink: #0f1733;
    --mchx-ink-2: #1a2452;
    --mchx-text: #232a3d;
    --mchx-muted: #4a5168;
    --mchx-paper: #f7f3ec;
    --mchx-paper-2: #efe7da;
    --mchx-line: #e3dacb;
    --mchx-white: #ffffff;
    --mchx-amber: #f2b13c;
    --mchx-amber-ink: #14182b;
    --mchx-eyebrow: #8a4b00;
    --mchx-link: #3442b8;
    --mchx-on-ink: #ffffff;
    --mchx-on-ink-2: #c9d0ea;
    --mchx-display: "MCHX Literata", Georgia, "Times New Roman", serif;
    --mchx-sans: var(--wp--preset--font-family--manrope, "Manrope"), system-ui, -apple-system, "Segoe UI", sans-serif;
    --mchx-radius: 20px;
    --mchx-shadow: 0 1px 2px rgba(15, 23, 51, .06), 0 12px 32px rgba(15, 23, 51, .10);
    --mchx-shadow-lg: 0 2px 4px rgba(15, 23, 51, .08), 0 24px 60px rgba(15, 23, 51, .22);
}

/* --- Canvas: undo the page-width hacks that apply to every page, only inside this template --------- */
html body main.mchx-main.mchx-main.mchx-main {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body .mchx-main.mchx-main .entry-content.mchx-canvas,
html body .mchx-main.mchx-main .wp-block-post-content.mchx-canvas {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--mchx-sans);
    font-size: 18px;
    line-height: 1.65;
    font-weight: 500;
    color: var(--mchx-text);
}
html body .mchx-main .mchx-canvas .mchx {
    margin-top: 0;
    margin-bottom: 0;
    max-width: none !important;
}
.mchx-main .mchx *,
.mchx-main .mchx *::before,
.mchx-main .mchx *::after { box-sizing: border-box; }

.mchx-main .mchx-wrap {
    width: 100%;
    max-width: 1160px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px;
    padding-right: 24px;
}
.mchx-main .mchx-wrap--narrow { max-width: 820px !important; }

.mchx-main .mchx-sec { padding: 88px 0; position: relative; }
.mchx-main .mchx-sec--paper { background: var(--mchx-paper); }
.mchx-main .mchx-sec--white { background: var(--mchx-white); }
.mchx-main .mchx-sec--ink { background: var(--mchx-ink); color: var(--mchx-on-ink-2); }
.mchx-main .mchx-sec--tight { padding: 56px 0; }

/* --- Type ----------------------------------------------------------------------------------------- */
/* Base copy at specificity 0,1,0 (:where), so every class rule below wins without a fight. The opt-in form keeps
   its own styling: it belongs to the bridge and to its A/B test. */
.mchx-main :where(.mchx p:not(.codex-reach-optin *), .mchx li:not(.codex-reach-optin *)) { font-family: var(--mchx-sans); font-weight: 500; font-size: inherit; line-height: 1.65; color: inherit; }
.mchx-main :where(.mchx p:not(.codex-reach-optin *)) { margin: 0 0 1em; }
.mchx-main .mchx h1,
.mchx-main .mchx h2,
.mchx-main .mchx h3 {
    font-family: var(--mchx-display);
    font-weight: 600;
    color: var(--mchx-ink);
    letter-spacing: -0.01em;
    text-wrap: balance;
    margin: 0 0 .5em;
}
.mchx-main .mchx h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; }
.mchx-main .mchx h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
.mchx-main .mchx h3 { font-size: clamp(21px, 2vw, 25px); line-height: 1.25; }
.mchx-main .mchx-sec--ink h1,
.mchx-main .mchx-sec--ink h2,
.mchx-main .mchx-sec--ink h3 { color: var(--mchx-on-ink); }
.mchx-main .mchx-eyebrow {
    display: inline-block;
    font-family: var(--mchx-sans);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mchx-eyebrow);
    margin: 0 0 14px;
}
.mchx-main .mchx-sec--ink .mchx-eyebrow { color: var(--mchx-amber); }
.mchx-main .mchx-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--mchx-muted); max-width: 640px; }
.mchx-main .mchx-sec--ink .mchx-lede { color: var(--mchx-on-ink-2); }
.mchx-main .mchx-head { max-width: 760px; margin: 0 0 44px; }
.mchx-main .mchx-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.mchx-main .mchx-head--center .mchx-lede { margin-left: auto; margin-right: auto; }
.mchx-main .mchx-small { font-size: 14px; line-height: 1.55; color: var(--mchx-muted); }
.mchx-main .mchx-sec--ink .mchx-small { color: var(--mchx-on-ink-2); }
.mchx-main .mchx .mchx-disclose { text-align: center; margin: 28px auto 0; max-width: 640px; }
.mchx-main .mchx .mchx-after-btn { margin: 14px 0 0; }

/* Text links: indigo with an underline, so colour is never the only cue (design/03). */
.mchx-main .mchx a.mchx-link,
.mchx-main .mchx a.mchx-link:visited {
    color: var(--mchx-link) !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1.5px !important;
    text-underline-offset: 3px;
    font-weight: 700;
}
.mchx-main .mchx a.mchx-link:hover,
.mchx-main .mchx a.mchx-link:focus-visible { color: var(--mchx-ink) !important; text-decoration-thickness: 2.5px !important; }
.mchx-main .mchx-sec--ink a.mchx-link,
.mchx-main .mchx-sec--ink a.mchx-link:visited,
.mchx-main .mchx-sec--ink a.mchx-link:hover { color: var(--mchx-on-ink) !important; }

/* The site's render-time autolinker (Internal Link Juicer) turns "Mind Clarity Hub" into an UNCLASSED link (4 on
   the homepage, measured 2026-10-30), and main a:not([class]) paints every unclassed link #5169A8 !important at
   0,1,2: 3.4:1 on the ink bands and 4.35:1 on the beige note panel. On ink they are white; everywhere they carry an underline. */
/* Measured after deploy: #5169A8 is 4.35:1 on the #efe7da note panel, so light sections use the layer's indigo (6.5:1 there, 8.0:1 on white). */
.mchx-main .mchx a:not([class]) { color: #3442b8 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.mchx-main .mchx-sec--ink a:not([class]),
.mchx-main .mchx-buycard a:not([class]),
.mchx-main .mchx-sec--ink a:not([class]):visited { color: #ffffff !important; }
.mchx-main .mchx-sec--ink a:not([class]):hover { color: #f2b13c !important; }
/* --- Buttons: two independently set tokens per pair; restated at 0,4,1 with !important ------------ */
.mchx-main .mchx a.mchx-btn.mchx-btn,
.mchx-main .mchx a.mchx-btn.mchx-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: var(--mchx-sans);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .005em;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    cursor: pointer;
}
.mchx-main .mchx a.mchx-btn.mchx-btn--primary,
.mchx-main .mchx a.mchx-btn.mchx-btn--primary:visited,
.mchx-main .mchx a.mchx-btn.mchx-btn--primary:hover,
.mchx-main .mchx a.mchx-btn.mchx-btn--primary:focus-visible {
    background: var(--mchx-amber) !important;
    color: var(--mchx-amber-ink) !important;
    -webkit-text-fill-color: var(--mchx-amber-ink);
    border-color: var(--mchx-amber) !important;
    box-shadow: 0 8px 22px rgba(242, 177, 60, .32);
}
.mchx-main .mchx a.mchx-btn.mchx-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(242, 177, 60, .42); }
.mchx-main .mchx a.mchx-btn.mchx-btn--solid,
.mchx-main .mchx a.mchx-btn.mchx-btn--solid:visited,
.mchx-main .mchx a.mchx-btn.mchx-btn--solid:hover,
.mchx-main .mchx a.mchx-btn.mchx-btn--solid:focus-visible {
    background: var(--mchx-ink) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    border-color: var(--mchx-ink) !important;
}
.mchx-main .mchx a.mchx-btn.mchx-btn--outline,
.mchx-main .mchx a.mchx-btn.mchx-btn--outline:visited,
.mchx-main .mchx a.mchx-btn.mchx-btn--outline:hover,
.mchx-main .mchx a.mchx-btn.mchx-btn--outline:focus-visible {
    background: #ffffff !important;
    color: var(--mchx-ink) !important;
    -webkit-text-fill-color: var(--mchx-ink);
    border-color: #c9c1b2 !important;
}
.mchx-main .mchx a.mchx-btn.mchx-btn--outline:hover { border-color: var(--mchx-ink) !important; }
.mchx-main .mchx-sec--ink a.mchx-btn.mchx-btn--ghost,
.mchx-main .mchx-sec--ink a.mchx-btn.mchx-btn--ghost:visited,
.mchx-main .mchx-sec--ink a.mchx-btn.mchx-btn--ghost:hover,
.mchx-main .mchx-sec--ink a.mchx-btn.mchx-btn--ghost:focus-visible {
    background: transparent !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    border-color: rgba(255, 255, 255, .55) !important;
}
.mchx-main .mchx-sec--ink a.mchx-btn.mchx-btn--ghost:hover { border-color: #ffffff !important; background: rgba(255, 255, 255, .06) !important; }
.mchx-main .mchx a.mchx-btn:focus-visible { outline: 3px solid var(--mchx-link) !important; outline-offset: 3px; }
.mchx-main .mchx-sec--ink a.mchx-btn:focus-visible { outline-color: var(--mchx-amber) !important; }
.mchx-main .mchx-btn__sub { display: block; font-size: 12.5px; font-weight: 700; opacity: .85; letter-spacing: .02em; }
.mchx-main .mchx-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0 0; }
.mchx-main .mchx-btn-row--center { justify-content: center; }

/* --- Hero (homepage and book pages) -------------------------------------------------------------- */
.mchx-main .mchx-hero {
    background: var(--mchx-ink);
    color: var(--mchx-on-ink-2);
    padding: 84px 0 96px;
    overflow: hidden;
    isolation: isolate;
}
.mchx-main .mchx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 480px at 85% 10%, rgba(91, 104, 255, .28), transparent 60%),
        radial-gradient(700px 420px at 10% 100%, rgba(242, 177, 60, .10), transparent 60%);
    pointer-events: none;
}
.mchx-main .mchx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.mchx-main .mchx h2.mchx-hero__title { color: #ffffff; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; margin-bottom: 22px; }

/* --- Title bar: the template's post-title is the page's ONLY H1 ------------------------------------
   Measured 2026-10-30: a filter on this site rewrites any h1 element inside rendered page content to h2 (the REST
   copy keeps it, the page does not), so the H1 has to come from the template. It sits on the hero's ink, so
   the title bar and the first section read as one block. Homepage: the SEO title as the hero's kicker line.
   Book pages (children of /books/, page 1244): the book title, large. */
html body .mchx-main .mchx-titlebar {
    background: #0f1733;
    margin: 0 !important;
    padding: 64px 0 0 !important;
    max-width: none !important;
    width: 100% !important;
}
html body .mchx-main .mchx-titlebar .wp-block-post-title.mchx-titlebar__title {
    box-sizing: border-box;
    max-width: 1160px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    text-align: left;
    font-family: "MCHX Literata", Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #ffffff !important;
    text-wrap: balance;
}
html body.home .mchx-main .mchx-titlebar .wp-block-post-title.mchx-titlebar__title {
    font-family: var(--wp--preset--font-family--manrope, "Manrope"), system-ui, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.5;
    text-transform: uppercase;
    color: #f2b13c !important;
}
html body .mchx-main .mchx-titlebar ~ .mchx-canvas div.mchx-hero:first-of-type { padding-top: 40px; }
html body.home .mchx-main .mchx-titlebar ~ .mchx-canvas div.mchx-hero:first-of-type { padding-top: 14px; }
/* The bridge prepends p.codex-affiliate-disclosure (inline: 0.9em, opacity .85, margin 0 0 1em) to pages that
   carry affiliate links, i.e. between the title bar and the hero. It is a legal line, so it stays visible; here it
   joins the ink band, aligned with the content column. #c9d0ea on #0f1733 is 11.5:1. */
html body .mchx-main .mchx-canvas p.codex-affiliate-disclosure {
    margin: 0 !important;
    padding: 14px max(24px, calc((100% - 1112px) / 2)) 0 !important;
    background: #0f1733 !important;
    color: #c9d0ea !important;
    opacity: 1 !important;
    font-family: var(--wp--preset--font-family--manrope, "Manrope"), system-ui, sans-serif;
    font-size: 13.5px !important;
    font-weight: 500;
    line-height: 1.5;
}
@media (max-width: 600px) {
    html body .mchx-main .mchx-canvas p.codex-affiliate-disclosure { padding: 12px 18px 0 !important; }
}
/* A disclosure paragraph stored INSIDE an older post's article (measured on /reclaiming-silence/) is not the band
   above the hero: it reads as a light note there, so its link is not indigo on ink (2.2:1). */
html body .mchx-main .mchx .mchx-article p.codex-affiliate-disclosure {
    background: var(--mchx-paper) !important;
    color: var(--mchx-muted) !important;
    padding: 12px 16px !important;
    margin: 0 0 20px !important;
    border-radius: 12px;
}
.mchx-main .mchx-hero .mchx-lede { color: var(--mchx-on-ink-2); font-size: clamp(18px, 1.7vw, 21px); }
.mchx-main .mchx-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.mchx-main .mchx .mchx-trust li { font-size: 14.5px; font-weight: 700; color: var(--mchx-on-ink-2); margin: 0; padding: 0 0 0 22px; position: relative; }
.mchx-main .mchx .mchx-trust li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--mchx-amber); }

/* A fan of real covers - the hero's imagery. */
/* width: 100% matters: every child is absolutely positioned, so an auto-margined grid item shrinks to 0 wide. */
.mchx-main .mchx-fan { position: relative; width: 100%; height: 470px; max-width: 460px; margin: 0 auto; }
.mchx-main .mchx-fan__book {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 216px;
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--mchx-shadow-lg);
    transition: transform .25s ease;
}
.mchx-main .mchx-fan__book img { display: block; width: 100%; height: auto; aspect-ratio: 1410 / 2250; object-fit: cover; }
.mchx-main .mchx-fan__book:nth-child(1) { transform: translate(-112%, -46%) rotate(-9deg); z-index: 1; }
.mchx-main .mchx-fan__book:nth-child(2) { transform: translate(-50%, -54%) rotate(0deg); z-index: 3; width: 240px; }
.mchx-main .mchx-fan__book:nth-child(3) { transform: translate(12%, -46%) rotate(9deg); z-index: 2; }

/* --- Pillars --------------------------------------------------------------------------------------- */
.mchx-main .mchx-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mchx-main .mchx-pillar {
    background: #ffffff;
    border: 1px solid var(--mchx-line);
    border-radius: var(--mchx-radius);
    padding: 30px 28px 28px;
    box-shadow: var(--mchx-shadow);
    display: flex;
    flex-direction: column;
}
.mchx-main .mchx-pillar__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--mchx-ink); color: var(--mchx-amber);
    font-family: var(--mchx-display); font-weight: 600; font-size: 20px; line-height: 1;
    margin: 0 0 18px;
}
.mchx-main .mchx .mchx-pillar h3 { margin-bottom: 10px; }
.mchx-main .mchx-pillar__problem { color: var(--mchx-muted); font-size: 16.5px; }
.mchx-main .mchx-pillar__books { display: grid; gap: 14px; margin-top: 8px; }
.mchx-main .mchx-mini {
    display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start;
    padding: 14px; border-radius: 14px; background: var(--mchx-paper);
}
.mchx-main .mchx-mini__cover { display: block; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 16px rgba(15, 23, 51, .22); }
.mchx-main .mchx-mini__cover img { display: block; width: 76px; height: auto; aspect-ratio: 1410 / 2250; object-fit: cover; }
.mchx-main .mchx .mchx-mini__title { font-family: var(--mchx-display); font-weight: 600; font-size: 18px; line-height: 1.25; margin: 0 0 4px; }
.mchx-main .mchx .mchx-mini__title a.mchx-mini__link,
.mchx-main .mchx .mchx-mini__title a.mchx-mini__link:visited { color: var(--mchx-ink) !important; text-decoration: none !important; }
.mchx-main .mchx .mchx-mini__title a.mchx-mini__link:hover { text-decoration: underline !important; }
.mchx-main .mchx .mchx-mini__text { font-size: 15px; line-height: 1.5; color: var(--mchx-muted); margin: 0 0 8px; }
.mchx-main .mchx .mchx-mini__actions { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 14.5px; }
.mchx-main .mchx a.mchx-mini__buy,
.mchx-main .mchx a.mchx-mini__buy:visited { color: var(--mchx-eyebrow) !important; font-weight: 800; text-decoration: underline !important; text-underline-offset: 3px; }

/* --- Spotlight (one featured book, large) ---------------------------------------------------------- */
.mchx-main .mchx-spot { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.mchx-main .mchx-spot__cover { margin: 0 auto; max-width: 340px; border-radius: 8px; overflow: hidden; box-shadow: var(--mchx-shadow-lg); transform: rotate(-2deg); }
.mchx-main .mchx-spot__cover img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 2560; object-fit: cover; }
.mchx-main .mchx-spot__sub { font-family: var(--mchx-display); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; color: var(--mchx-muted); margin: 0 0 20px; }
.mchx-main .mchx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.mchx-main .mchx .mchx-chips li {
    margin: 0; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 800; letter-spacing: .02em;
    background: #ffffff; color: var(--mchx-ink); border: 1px solid var(--mchx-line);
}
.mchx-main .mchx-sec--ink .mchx-chips li { background: rgba(255, 255, 255, .08); color: #ffffff; border-color: rgba(255, 255, 255, .22); }
.mchx-main .mchx-checks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.mchx-main .mchx .mchx-checks li { position: relative; padding-left: 34px; margin: 0; }
.mchx-main .mchx .mchx-checks li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
    background: var(--mchx-ink);
}
.mchx-main .mchx .mchx-checks li::after {
    content: ""; position: absolute; left: 7px; top: calc(.2em + 6px); width: 8px; height: 5px;
    border-left: 2.5px solid var(--mchx-amber); border-bottom: 2.5px solid var(--mchx-amber); transform: rotate(-45deg);
}

/* --- Author ------------------------------------------------------------------------------------- */
.mchx-main .mchx-author { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; }
.mchx-main .mchx-author__photo { margin: 0; width: 220px; height: 220px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px rgba(242, 177, 60, .9), var(--mchx-shadow-lg); }
.mchx-main .mchx-author__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mchx-main .mchx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.mchx-main .mchx .mchx-facts li { margin: 0; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: 15px; line-height: 1.45; color: var(--mchx-on-ink-2); }
.mchx-main .mchx .mchx-facts strong { display: block; font-family: var(--mchx-display); font-weight: 600; font-size: 22px; color: #ffffff; margin-bottom: 4px; }
.mchx-main .mchx-profiles { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; }
.mchx-main .mchx .mchx-profiles li { margin: 0; }

/* --- Panels: opt-in, transparency, cards ---------------------------------------------------------- */
.mchx-main .mchx-panel {
    background: #ffffff; border: 1px solid var(--mchx-line); border-radius: 24px;
    box-shadow: var(--mchx-shadow); padding: 40px;
}
/* Stacked, not side by side: the form's own header (thumbnail, headline) is part of the opt-in A/B test, so it
   is given the room it was designed for rather than hidden or squeezed. */
.mchx-main .mchx-optin { max-width: 860px; margin-left: auto; margin-right: auto; }
.mchx-main .mchx-optin__intro { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.mchx-main .mchx-optin__form { max-width: 720px; margin: 0 auto; }
.mchx-main .mchx-optin .codex-reach-optin { margin: 0 !important; }
/* body.home main.wp-block-group img { height: auto } (0,2,3) would stretch the form thumbnail on the homepage. */
.mchx-main .mchx .codex-reach-optin img.codex-reach-optin-thumb { width: 82px !important; height: 82px !important; max-width: none !important; margin: 0 !important; }
.mchx-main .mchx .mchx-note {
    margin: 36px 0 0; padding: 18px 22px; border-radius: 14px; background: var(--mchx-paper-2);
    font-size: 14.5px; line-height: 1.6; color: var(--mchx-muted);
}
.mchx-main .mchx .mchx-note strong { color: var(--mchx-ink); }

/* Library band. */
.mchx-main .mchx-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.mchx-main .mchx .mchx-band h2 { margin: 0 0 8px; }
.mchx-main .mchx .mchx-band p { margin: 0; }

/* --- Book page ------------------------------------------------------------------------------------ */
.mchx-main .mchx-bhero__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 64px; align-items: center; }
.mchx-main .mchx-bhero__cover { margin: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.mchx-main .mchx-bhero__cover img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 2560; object-fit: cover; }
.mchx-main .mchx .mchx-bhero__sub { font-family: var(--mchx-display); font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: #e3e7f6; margin: 0 0 18px; }
.mchx-main .mchx .mchx-bhero__hook { font-size: 18px; color: var(--mchx-on-ink-2); margin: 0 0 22px; max-width: 620px; }
.mchx-main .mchx-buyzone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.mchx-main .mchx-buyzone .codex-tldr {
    margin: 0 !important; background: #ffffff !important; border: 1px solid var(--mchx-line) !important;
    border-radius: var(--mchx-radius) !important; padding: 30px 32px !important; box-shadow: var(--mchx-shadow);
    font-size: 16.5px; color: var(--mchx-text);
}
.mchx-main .mchx-buyzone .codex-tldr p:first-child { font-family: var(--mchx-display); font-size: 20px; line-height: 1.4; color: var(--mchx-ink); }
.mchx-main .mchx-buyzone .codex-tldr ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.mchx-main .mchx-buyzone .codex-tldr li { position: relative; padding-left: 26px; margin: 0; }
.mchx-main .mchx-buyzone .codex-tldr li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--mchx-amber); transform: rotate(45deg); }
.mchx-main .mchx-buycard {
    background: var(--mchx-ink); color: var(--mchx-on-ink-2); border-radius: var(--mchx-radius);
    padding: 32px; box-shadow: var(--mchx-shadow-lg);
}
.mchx-main .mchx .mchx-buycard h2 { color: #ffffff; font-size: clamp(26px, 2.6vw, 32px); }
.mchx-main .mchx .mchx-buycard p { color: var(--mchx-on-ink-2); }
.mchx-main .mchx-buycard .mch-book-buy { display: grid; gap: 10px; margin: 18px 0 14px; }
.mchx-main .mchx-buycard a.mchx-btn { width: 100%; }
.mchx-main .mchx-buycard a.mchx-btn.mchx-btn--outline,
.mchx-main .mchx-buycard a.mchx-btn.mchx-btn--outline:visited,
.mchx-main .mchx-buycard a.mchx-btn.mchx-btn--outline:hover {
    background: transparent !important; color: #ffffff !important; -webkit-text-fill-color: #ffffff; border-color: rgba(255, 255, 255, .5) !important;
}
.mchx-main .mchx-buycard a.mchx-btn.mchx-btn--outline:hover { border-color: #ffffff !important; background: rgba(255, 255, 255, .06) !important; }
.mchx-main .mchx .mchx-buycard .mchx-small { color: var(--mchx-on-ink-2); }

.mchx-main .mchx-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.mchx-main .mchx-prose { font-size: 18px; }
.mchx-main .mchx-prose p { margin: 0 0 1.1em; }
.mchx-main .mchx p.mchx-dropcap::first-letter {
    font-family: var(--mchx-display); font-weight: 600; float: left; font-size: 3.4em; line-height: .9; padding: 6px 10px 0 0; color: var(--mchx-ink);
}
.mchx-main .mchx-card {
    background: #ffffff; border: 1px solid var(--mchx-line); border-radius: var(--mchx-radius);
    padding: 30px 32px; box-shadow: var(--mchx-shadow);
}
.mchx-main .mchx-sec--white .mchx-card { background: var(--mchx-paper); box-shadow: none; }
.mchx-main .mchx-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.mchx-main .mchx .mchx-stats li { margin: 0; padding: 12px 18px; border-radius: 14px; background: var(--mchx-ink); color: var(--mchx-on-ink-2); font-size: 14.5px; font-weight: 700; }
.mchx-main .mchx .mchx-stats strong { font-family: var(--mchx-display); font-weight: 600; font-size: 22px; color: var(--mchx-amber); margin-right: 6px; }
.mchx-main ol.mchx-toc {
    list-style: none; counter-reset: mchx-toc; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px;
}
.mchx-main .mchx ol.mchx-toc li {
    counter-increment: mchx-toc; position: relative; margin: 0; padding: 14px 16px 14px 62px;
    border-radius: 12px; background: #ffffff; border: 1px solid var(--mchx-line); font-size: 16.5px; font-weight: 600; color: var(--mchx-ink); line-height: 1.4;
}
.mchx-main .mchx ol.mchx-toc li::before {
    content: counter(mchx-toc, decimal-leading-zero); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    font-family: var(--mchx-display); font-weight: 600; font-size: 20px; color: var(--mchx-eyebrow);
}
.mchx-main blockquote.mchx-excerpt {
    position: relative; margin: 0; padding: 48px 52px 36px; border: 0 !important; border-radius: 24px;
    background: #fffdf8 !important; box-shadow: var(--mchx-shadow); font-style: normal;
}
.mchx-main blockquote.mchx-excerpt::before {
    content: "\201C"; position: absolute; left: 30px; top: -8px; font-family: var(--mchx-display); font-size: 120px; line-height: 1; color: var(--mchx-amber);
}
.mchx-main .mchx blockquote.mchx-excerpt p { font-family: var(--mchx-display); font-weight: 600; font-size: clamp(19px, 1.9vw, 22px); line-height: 1.6; color: var(--mchx-ink); }
.mchx-main .mchx blockquote.mchx-excerpt footer { font-family: var(--mchx-sans); font-size: 14.5px; font-weight: 700; color: var(--mchx-muted); margin-top: 14px; }
.mchx-main .mchx-faq { display: grid; gap: 14px; }
.mchx-main .mchx-faq__item { background: #ffffff; border: 1px solid var(--mchx-line); border-radius: 16px; padding: 22px 26px; }
.mchx-main .mchx .mchx-faq__item h3 { font-size: 20px; margin: 0 0 8px; }
.mchx-main .mchx .mchx-faq__item p { margin: 0; color: var(--mchx-muted); font-size: 16.5px; }
.mchx-main .mchx-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.mchx-main .mchx .mchx-related li { margin: 0; }
.mchx-main .mchx a.mchx-relcard,
.mchx-main .mchx a.mchx-relcard:visited {
    display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; height: 100%;
    padding: 16px; border-radius: 16px; background: #ffffff; border: 1px solid var(--mchx-line);
    color: var(--mchx-text) !important; text-decoration: none !important; box-shadow: var(--mchx-shadow);
    transition: transform .15s ease, box-shadow .15s ease;
}
.mchx-main .mchx a.mchx-relcard:hover { transform: translateY(-2px); box-shadow: var(--mchx-shadow-lg); }
.mchx-main .mchx-relcard img { display: block; width: 84px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 14px rgba(15, 23, 51, .2); }
.mchx-main .mchx-relcard__ph { display: flex; align-items: center; justify-content: center; width: 84px; aspect-ratio: 2 / 3; border-radius: 4px; background: var(--mchx-ink); color: var(--mchx-amber); font-family: var(--mchx-display); font-size: 30px; }
.mchx-main .mchx-relcard__title { display: block; font-family: var(--mchx-display); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--mchx-ink); margin-bottom: 4px; }
.mchx-main .mchx-relcard__desc { display: block; font-size: 14.5px; line-height: 1.45; color: var(--mchx-muted); }
.mchx-main .mchx-relcard__more { display: block; margin-top: 8px; font-size: 14px; font-weight: 800; color: var(--mchx-link); text-decoration: underline; text-underline-offset: 3px; }
.mchx-main .mchx .codex-transparency { margin: 0 !important; border: 0 !important; padding: 0 !important; }
.mchx-main .mchx .codex-transparency p { font-size: 14.5px; color: var(--mchx-muted); margin: 0; }

/* Book page: closing buy band, author without a photo. */
.mchx-main .mchx-endcta .mch-book-buy { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 8px 0 0; }
.mchx-main .mchx-author--text { grid-template-columns: minmax(0, 1fr); }
.mchx-main .mchx-bhero__body .mchx-chips { margin-top: 4px; }
.mchx-main .mchx-sec--ink .mchx-head--center .mchx-lede { color: var(--mchx-on-ink-2); }
/* Homepage, second pass (owner 2026-10-30: "more premium sections"): a verbatim pull quote from a book, three
   free guides chosen by Bing clicks, and common questions. */
.mchx-main .mchx-sec--quote { background: #efe7da; padding: 72px 0; }
.mchx-main .mchx-pullquote { margin: 0; text-align: center; position: relative; }
.mchx-main .mchx-pullquote blockquote { margin: 0; padding: 0; border: 0 !important; background: none !important; }
.mchx-main .mchx-pullquote blockquote::before { content: "\201C"; display: block; font-family: var(--mchx-display); font-size: 110px; line-height: .6; height: 52px; color: #b86e00; }
.mchx-main .mchx .mchx-pullquote blockquote p { font-family: var(--mchx-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45; color: var(--mchx-ink); margin: 0 0 18px; text-wrap: balance; }
.mchx-main .mchx-pullquote figcaption { font-size: 15px; font-weight: 700; color: var(--mchx-muted); }
.mchx-main .mchx-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mchx-main .mchx a.mchx-guide,
.mchx-main .mchx a.mchx-guide:visited {
    display: flex; flex-direction: column; background: #ffffff; border: 1px solid var(--mchx-line); border-radius: var(--mchx-radius);
    overflow: hidden; box-shadow: var(--mchx-shadow); color: var(--mchx-text) !important; text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
}
.mchx-main .mchx a.mchx-guide:hover { transform: translateY(-3px); box-shadow: var(--mchx-shadow-lg); }
.mchx-main .mchx-guide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.mchx-main .mchx-guide__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.mchx-main .mchx-guide__label { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mchx-eyebrow); }
.mchx-main .mchx-guide__title { font-family: var(--mchx-display); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--mchx-ink); }
.mchx-main .mchx-guide__text { font-size: 15.5px; line-height: 1.55; color: var(--mchx-muted); }
.mchx-main .mchx-guide__more { margin-top: auto; padding-top: 6px; font-size: 14.5px; font-weight: 800; color: var(--mchx-link); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .mchx-main .mchx-guides { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-left: auto; margin-right: auto; } }
/* 3D book mockups (scripts/build-book-mockup-v1.mjs; owner 2026-10-30: "add depth, spine ... anyplace on site there
   is image of book"). Transparent images that carry their own spine, page block and shadow, so the frame, the
   rounding, the clipping and the fake CSS rotation used for flat covers all come off. */
.mchx-main .mchx-bhero__cover.mchx-bhero__cover--3d { box-shadow: none; border-radius: 0; overflow: visible; max-width: 400px; margin: 0 auto; }
/* A DEFINITE ratio (the generator's books are about 595:1000; object-fit absorbs the difference). Measured live 2026-10-30: WordPress
   adds sizes="auto" to lazy images, Chrome then size-contains them at core's contain-intrinsic-size 3000px 1500px,
   and a bare "auto" here threw away the width/height ratio - every lazy 3D cover rendered 84 x 1500 px. "auto 595/1000"
   then let Seraphinite's 3:2 lazy placeholder set the hero's ratio (99 x 66 grew to 270 x 453 on load, CLS 0.23 on a phone). */
.mchx-main .mchx-bhero__cover--3d img,
.mchx-main .mchx-fan--3d .mchx-fan__book img,
.mchx-main .mchx-spot__cover--3d img,
.mchx-main .mchx-mini__cover--3d img { aspect-ratio: 595 / 1000; height: auto; object-fit: contain; }
.mchx-main .mchx-fan--3d .mchx-fan__book { box-shadow: none; border-radius: 0; overflow: visible; width: 220px; }
.mchx-main .mchx-fan--3d .mchx-fan__book:nth-child(1) { transform: translate(-112%, -47%); }
.mchx-main .mchx-fan--3d .mchx-fan__book:nth-child(2) { transform: translate(-50%, -53%); width: 250px; }
.mchx-main .mchx-fan--3d .mchx-fan__book:nth-child(3) { transform: translate(14%, -47%); }
.mchx-main .mchx-spot__cover.mchx-spot__cover--3d { transform: none; box-shadow: none; border-radius: 0; overflow: visible; max-width: 380px; }
.mchx-main .mchx-mini__cover.mchx-mini__cover--3d { box-shadow: none; border-radius: 0; overflow: visible; }
.mchx-main .mchx-mini__cover--3d img { width: 84px; }
.mchx-main .mchx-mini:has(.mchx-mini__cover--3d) { grid-template-columns: 84px minmax(0, 1fr); }
/* Older book posts re-presented in the premium layout (sites/mindclarity/content/premium-legacy-book.mjs): their
   own words, links and images, without the old inline styling, in one reading column. */
.mchx-main .mchx-article { font-size: 18px; }
.mchx-main .mchx .mchx-article p.mchx-legacy-lead { font-family: var(--mchx-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--mchx-ink); margin: 0 0 24px; }
.mchx-main .mchx .mchx-article h2 { font-size: clamp(26px, 3vw, 34px); margin: 48px 0 14px; }
.mchx-main .mchx .mchx-article h3 { font-size: clamp(20px, 2.1vw, 24px); margin: 32px 0 10px; }
.mchx-main .mchx .mchx-article h4,
.mchx-main .mchx .mchx-article h5 { font-family: var(--mchx-sans); font-weight: 800; font-size: 17px; color: var(--mchx-ink); margin: 24px 0 8px; }
.mchx-main .mchx .mchx-article p { margin: 0 0 1.1em; }
.mchx-main .mchx .mchx-article ul,
.mchx-main .mchx .mchx-article ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.mchx-main .mchx .mchx-article li { margin: 0 0 .5em; }
.mchx-main .mchx .mchx-article strong,
.mchx-main .mchx .mchx-article b { font-weight: 800; color: var(--mchx-ink); }
.mchx-main .mchx .mchx-article img { display: block; max-width: 100%; height: auto; margin: 26px auto; border-radius: 14px; }
.mchx-main .mchx .mchx-article img.mchx-avatar { border-radius: 50%; width: 96px; height: 96px; object-fit: cover; margin: 18px 0; }
/* An image with a width attribute keeps it (capped by max-width: 100%); one without fills the column up to 560 px. */
.mchx-main .mchx .mchx-article img:not([width]) { width: 100%; max-width: 560px; }
.mchx-main .mchx .mchx-article figure { margin: 26px 0; }
.mchx-main .mchx .mchx-article figcaption { font-size: 14px; color: var(--mchx-muted); text-align: center; margin-top: 8px; }
.mchx-main .mchx .mchx-article blockquote { margin: 24px 0; padding: 20px 24px; border: 0; border-left: 4px solid #b86e00; border-radius: 0 14px 14px 0; background: var(--mchx-paper); color: var(--mchx-text); font-style: normal; }
.mchx-main .mchx .mchx-article blockquote p { margin: 0 0 .5em; }
.mchx-main .mchx .mchx-article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 16px; background: #ffffff; }
.mchx-main .mchx .mchx-article th,
.mchx-main .mchx .mchx-article td { border: 1px solid var(--mchx-line); padding: 12px 14px; text-align: left; vertical-align: top; color: var(--mchx-text); background: #ffffff; }
.mchx-main .mchx .mchx-article th { background: var(--mchx-paper); font-weight: 800; color: var(--mchx-ink); }
.mchx-main .mchx .mchx-article details { margin: 0 0 12px; padding: 16px 20px; border: 1px solid var(--mchx-line); border-radius: 14px; background: #ffffff; }
.mchx-main .mchx .mchx-article summary { cursor: pointer; font-family: var(--mchx-display); font-weight: 600; font-size: 19px; color: var(--mchx-ink); }
.mchx-main .mchx .mchx-article details[open] summary { margin-bottom: 10px; }
.mchx-main .mchx .mchx-article hr { border: 0; border-top: 1px solid var(--mchx-line); margin: 36px 0; }
.mchx-main .mchx .mchx-article a.mchx-legacy-buy { margin: 6px 10px 6px 0; }
.mchx-main .mchx .mchx-article .mchx-optin__form { margin: 32px 0; }
/* The [mch_books_carousel] crops covers to 2:3 with object-fit: cover (bridge CSS). A 3D mockup is narrower and
   carries its own shadow, so cropping would cut the top of the book: those images are contained instead. */
.mchbc .mchbc-shot img[src*="3d-mockup"] { object-fit: contain !important; }
/* Reviews on Amazon (scripts/lib/mindclarity-amazon-reviews-v1.mjs): a link to the book's live reviews, and Amazon's
   own star rating only when its API supplied one under a day old. */
.mchx-main .mchx-reviews__card { text-align: center; background: #ffffff; border: 1px solid var(--mchx-line); border-radius: var(--mchx-radius); box-shadow: var(--mchx-shadow); padding: 34px 32px; }
.mchx-main .mchx .mchx-reviews__card h2 { margin-bottom: 12px; }
.mchx-main .mchx .mchx-reviews__card p { max-width: 560px; margin-left: auto; margin-right: auto; }
.mchx-main .mchx .mchx-reviews__rating { font-size: 20px; color: var(--mchx-ink); margin-bottom: 6px; }
.mchx-main .mchx .mchx-reviews__star { color: #b86e00; font-size: 24px; }
.mchx-main .mchx a.mchx-reviews__link { margin-top: 10px; }
/* --- Blog posts: the mch-premium-post layout (owner 2026-10-31: every post "very premium high quality") ---------
   Template sites/mindclarity/wordpress/templates/mch-premium-post.html: ink title band (category, H1, byline,
   updated date), the featured image at its own aspect, one reading column, an author card and a books band. The
   post bodies are NOT rewritten: 281 of 365 carry inline styles and 103 their own style blocks, so text colour is
   set once on the column and inherited (a colour forced on every p turned light text in dark inline boxes dark),
   while weight and size, which cannot hurt contrast, are set on the elements. */
html body .mchx-main.mchx-post .mchx-posthead { padding: 56px 0 52px !important; }
html body .mchx-main.mchx-post .mchx-posthead .wp-block-post-terms,
html body .mchx-main.mchx-post .mchx-posthead .mchx-posthead__meta { box-sizing: border-box; max-width: 1160px; margin: 0 auto !important; padding: 0 24px !important; }
html body .mchx-main.mchx-post .mchx-posthead .wp-block-post-terms { margin-bottom: 16px !important; font-family: var(--mchx-sans); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mchx-amber); }
html body .mchx-main.mchx-post .mchx-posthead .wp-block-post-terms a,
html body .mchx-main.mchx-post .mchx-posthead .wp-block-post-terms a:visited { color: #f2b13c !important; text-decoration: none; }
html body .mchx-main.mchx-post .mchx-posthead .wp-block-post-terms a:hover { text-decoration: underline; }
html body .mchx-main.mchx-post .mchx-posthead .wp-block-post-terms__separator { color: #c9d0ea; }
html body .mchx-main.mchx-post .mchx-posthead .wp-block-post-title.mchx-titlebar__title { max-width: 1112px !important; padding: 0 !important; margin: 0 auto !important; font-size: clamp(32px, 4.2vw, 54px); }
html body .mchx-main.mchx-post .mchx-posthead .mchx-posthead__meta { margin-top: 22px !important; gap: 6px 10px; align-items: center; }
html body .mchx-main.mchx-post .mchx-posthead .mchx-posthead__meta p,
html body .mchx-main.mchx-post .mchx-posthead .mchx-posthead__meta .wp-block-post-date { margin: 0 !important; font-family: var(--mchx-sans); font-size: 15px; font-weight: 600; color: #c9d0ea !important; }
html body .mchx-main.mchx-post .mchx-posthead .mchx-posthead__by a,
html body .mchx-main.mchx-post .mchx-posthead .mchx-posthead__by a:visited { color: #ffffff !important; text-decoration: underline; text-underline-offset: 3px; }
html body .mchx-main.mchx-post .mchx-posthead .mchx-posthead__upd { padding-left: 14px !important; border-left: 1px solid rgba(201, 208, 234, .45); }
html body .mchx-main.mchx-post .mchx-posthead .wp-block-post-date a { color: inherit !important; text-decoration: none; }
html body .mchx-main.mchx-post .mchx-postfeature { box-sizing: border-box; max-width: 1112px; margin: 44px auto 0 !important; padding: 0 24px; text-align: center; }
html body .mchx-main.mchx-post .mchx-postfeature img { width: auto !important; max-width: 100% !important; max-height: 620px; height: auto !important; object-fit: contain !important; border-radius: 18px; box-shadow: var(--mchx-shadow-lg); }
html body .mchx-main.mchx-post .mchx-postbody { box-sizing: border-box; max-width: 808px; margin: 48px auto 72px !important; padding: 0 24px !important; color: var(--mchx-text); font-family: var(--mchx-sans); font-size: 18.5px; line-height: 1.75; }
html body .mchx-main.mchx-post .mchx-postbody :is(p, li, dd, td, th, figcaption, blockquote, summary) { font-weight: 500; }
html body .mchx-main.mchx-post .mchx-postbody :is(p, li) { font-size: inherit; line-height: inherit; }
html body .mchx-main.mchx-post .mchx-postbody :is(strong, b) { font-weight: 800; }
/* Zero specificity: a post's own dark box colours its headings white with a class rule, and this must not win
   (at 0,3,0 it did: ink on black, 1.19:1, measured by the sweep). */
:where(.mchx-main.mchx-post .mchx-postbody) :where(h2, h3, h4) { color: var(--mchx-ink); }
html body .mchx-main.mchx-post .mchx-postbody h2 { font-family: var(--mchx-display); font-weight: 600; font-size: clamp(27px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.01em; margin: 56px 0 16px; }
html body .mchx-main.mchx-post .mchx-postbody h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--mchx-amber); margin-bottom: 18px; }
html body .mchx-main.mchx-post .mchx-postbody h3 { font-family: var(--mchx-display); font-weight: 600; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.3; margin: 36px 0 10px; }
html body .mchx-main.mchx-post .mchx-postbody h4 { font-family: var(--mchx-sans); font-weight: 800; font-size: 18px; margin: 26px 0 8px; }
html body .mchx-main.mchx-post .mchx-postbody p { margin: 0 0 1.15em; }
html body .mchx-main.mchx-post .mchx-postbody :is(ul, ol) { margin: 0 0 1.3em; padding-left: 1.4em; }
html body .mchx-main.mchx-post .mchx-postbody li { margin: 0 0 .5em; }
html body .mchx-main.mchx-post .mchx-postbody li::marker { color: #b86e00; }
html body .mchx-main.mchx-post .mchx-postbody img { max-width: 100%; height: auto; border-radius: 14px; }
html body .mchx-main.mchx-post .mchx-postbody figure { margin: 28px 0; }
html body .mchx-main.mchx-post .mchx-postbody figcaption { font-size: 14px; color: var(--mchx-muted); text-align: center; margin-top: 8px; }
html body .mchx-main.mchx-post .mchx-postbody blockquote { margin: 26px 0; padding: 20px 24px; border: 0; border-left: 4px solid #b86e00; border-radius: 0 14px 14px 0; background: var(--mchx-paper); font-style: normal; }
html body .mchx-main.mchx-post .mchx-postbody table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 16px; }
html body .mchx-main.mchx-post .mchx-postbody :is(th, td) { border: 1px solid var(--mchx-line); padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.55; }
html body .mchx-main.mchx-post .mchx-postbody thead th { font-weight: 800; }
/* Fixes from the first double-check sweep (scripts/premium-restyle-qa-sweep.mjs over all 365 posts, 2026-10-31):
   - Header cells keep their own colours: forcing white on ink met tables whose header carries an inline light
     background and put white on #f2f6ff (1.08:1).
   - The premium-blocks script copies the page's first link colour into --codex-pb-accent; in this layout that is
     the amber category label, so the affiliate CTA painted white text on amber (1.89:1). Pinned to the site value.
   - A FocusFix line stored in 65 bodies is #6b7590 on #f5f7fb (4.28:1), and a disclosure in 11 bodies is #777 on
     white (4.48:1): both darkened. A .btnGreen button in two bodies gets a green that white text clears. */
html body .mchx-main.mchx-post .mchx-postbody,
html body .mchx-main.mchx-post .mchx-postbody * { --codex-pb-accent: #4656D9 !important; }
html body .mchx-main.mchx-post .mchx-postbody [style*="color:#6b7590" i] { color: #4a5168 !important; }
html body .mchx-main.mchx-post .mchx-postbody [style*="color: #777;" i],
html body .mchx-main.mchx-post .mchx-postbody [style*="color:#777;" i] { color: #595959 !important; }
html body .mchx-main.mchx-post .mchx-postbody .btnGreen { background: #15803d !important; color: #ffffff !important; }
html body .mchx-main.mchx-post .mchx-postbody hr { border: 0; border-top: 1px solid var(--mchx-line); margin: 40px 0; }
html body .mchx-main.mchx-post .mchx-postbody p.codex-affiliate-disclosure { background: var(--mchx-paper) !important; color: var(--mchx-muted) !important; opacity: 1 !important; padding: 12px 16px !important; margin: 0 0 28px !important; border-radius: 12px; font-size: 14px !important; }
html body .mchx-main.mchx-post .mchx-postauthor { padding: 72px 0; }
html body .mchx-main.mchx-post .mchx-postauthor .mchx-author__photo { width: 180px; height: 180px; }
html body .mchx-main.mchx-post .mchx-postauthor .mchx-author { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
html body .mchx-main.mchx-post .mchx-postauthor h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 0 0 12px; }
html body .mchx-main.mchx-post .mchx-postauthor .mchx-postauthor__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-weight: 700; font-size: 15px; }
html body .mchx-main.mchx-post .mchx-postbooks { padding: 72px 0; }
html body .mchx-main.mchx-post .mchx-postbooks__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px; align-items: center; }
html body .mchx-main.mchx-post .mchx-postbooks h2 { color: #ffffff; font-size: clamp(28px, 3vw, 38px); margin: 0 0 12px; }
html body .mchx-main.mchx-post .mchx-postbooks__img img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 48px rgba(0, 0, 0, .35); }
@media (max-width: 900px) {
    html body .mchx-main.mchx-post .mchx-posthead { padding: 36px 0 34px !important; }
    html body .mchx-main.mchx-post .mchx-posthead .wp-block-post-title.mchx-titlebar__title { padding: 0 18px !important; }
    html body .mchx-main.mchx-post .mchx-posthead .wp-block-post-terms,
    html body .mchx-main.mchx-post .mchx-posthead .mchx-posthead__meta { padding: 0 18px !important; }
    html body .mchx-main.mchx-post .mchx-postfeature { margin-top: 28px !important; padding: 0 18px; }
    html body .mchx-main.mchx-post .mchx-postbody { margin: 32px auto 56px !important; padding: 0 18px !important; font-size: 17.5px; }
    html body .mchx-main.mchx-post .mchx-postbody table { display: block; overflow-x: auto; }
    html body .mchx-main.mchx-post .mchx-postauthor .mchx-author { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    html body .mchx-main.mchx-post .mchx-postauthor .mchx-author__photo { width: 130px; height: 130px; }
    html body .mchx-main.mchx-post .mchx-postbooks__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
/* GENERATED contrast patches - scripts/premium-restyle-contrast-patches.mjs - do not edit by hand */
html body .mchx-main.mchx-post .mchx-postbody :is(#attention-longevity-focus-as-you-age .btn-pill, #clarity-morning-executive-function .btn-inline, #focus-reset-7-habits .bottom-cta a.btn, #hidden-costs-screen-time .btn-pill, #hormone-balance-men-2025 .cta-btn, #leanbiome-user-reviews .hero-inner .hero-cta, #light-sound-architecture-cognitive-performance .btn-pill, #mch-global-featured-reviews .mch-btn, #mens-wellness-supplements-2025 .cta-button, #mental-clarity-for-creators .btn-inline, #neuroscience-single-tasking .btn-ghost, #quiet-crisis-unfocused-lost .btn-pill, #reduce-prostate-inflammation-2025 .faq-question, #sticky-cta, #stress-hormones-clarity-men-2025 .cta-bar, #why-you-cant-read-long-articles .btn-inline, .cta-button, .mch-arrow, .mchbc-shot, a.cta-large, a.cta, button.cta, a[class*="cta"], button[class*="cta"]) a:not([class]) { color: #ffffff !important; text-decoration: underline !important; }
html body .mchx-main.mchx-post .mchx-postbody :is(#attention-longevity-focus-as-you-age .btn-pill, #clarity-morning-executive-function .btn-inline, #focus-reset-7-habits .bottom-cta a.btn, #hidden-costs-screen-time .btn-pill, #hormone-balance-men-2025 .cta-btn, #leanbiome-user-reviews .hero-inner .hero-cta, #light-sound-architecture-cognitive-performance .btn-pill, #mch-global-featured-reviews .mch-btn, #mens-wellness-supplements-2025 .cta-button, #mental-clarity-for-creators .btn-inline, #neuroscience-single-tasking .btn-ghost, #quiet-crisis-unfocused-lost .btn-pill, #reduce-prostate-inflammation-2025 .faq-question, #sticky-cta, #stress-hormones-clarity-men-2025 .cta-bar, #why-you-cant-read-long-articles .btn-inline, .cta-button, .mch-arrow, .mchbc-shot, a.cta-large, a.cta, button.cta, a[class*="cta"], button[class*="cta"]) :is(h1, h2, h3, h4, h5, h6) { color: inherit !important; }
/* END GENERATED contrast patches */
/* --- Responsive ----------------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .mchx-main .mchx-pillars { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-left: auto; margin-right: auto; }
    .mchx-main .mchx-related { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
}
@media (max-width: 900px) {
    .mchx-main .mchx-sec { padding: 64px 0; }
    .mchx-main .mchx-hero { padding: 48px 0 64px; }
    html body .mchx-main .mchx-titlebar { padding-top: 40px !important; }
    .mchx-main .mchx-hero__grid,
    .mchx-main .mchx-spot,
    .mchx-main .mchx-optin,
    .mchx-main .mchx-buyzone,
    .mchx-main .mchx-cols { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .mchx-main .mchx-fan { height: 330px; max-width: 340px; }
    .mchx-main .mchx-fan__book { width: 150px; }
    .mchx-main .mchx-fan__book:nth-child(2) { width: 168px; }
    .mchx-main .mchx-fan--3d .mchx-fan__book { width: 150px; }
    .mchx-main .mchx-fan--3d .mchx-fan__book:nth-child(2) { width: 172px; }
    .mchx-main .mchx-bhero__cover.mchx-bhero__cover--3d { max-width: 270px; }
    .mchx-main .mchx-bhero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .mchx-main .mchx-bhero__cover { max-width: 240px; margin: 0 auto; }
    .mchx-main .mchx-author { grid-template-columns: minmax(0, 1fr); gap: 28px; text-align: left; }
    .mchx-main .mchx-author__photo { width: 150px; height: 150px; }
    .mchx-main .mchx-spot__cover { max-width: 240px; }
    .mchx-main ol.mchx-toc { grid-template-columns: minmax(0, 1fr); }
    .mchx-main .mchx-panel { padding: 28px 22px; }
}
@media (max-width: 600px) {
    html body .mchx-main.mchx-main .entry-content.mchx-canvas { font-size: 17px; }
    .mchx-main .mchx-wrap { padding-left: 18px; padding-right: 18px; }
    html body .mchx-main .mchx-titlebar .wp-block-post-title.mchx-titlebar__title { padding: 0 18px !important; }
    .mchx-main .mchx-facts { grid-template-columns: minmax(0, 1fr); }
    .mchx-main .mchx-btn-row a.mchx-btn { width: 100%; }
    .mchx-main blockquote.mchx-excerpt { padding: 44px 24px 28px; }
    .mchx-main .mchx-buyzone .codex-tldr,
    .mchx-main .mchx-buycard,
    .mchx-main .mchx-card { padding: 24px 22px !important; }
    .mchx-main .mchx p.mchx-dropcap::first-letter { font-size: 2.8em; }
}
@media (prefers-reduced-motion: reduce) {
    .mchx-main .mchx a.mchx-btn,
    .mchx-main .mchx a.mchx-relcard,
    .mchx-main .mchx-fan__book { transition: none !important; }
}
/* ================================= end MCHX premium layer ================================= */

.mchx-posthead__meta .mchx-posthead__upd:not(:has(+ .mchx-posthead__date time[datetime])) { display: none !important; }

/* Mind Clarity Hub: directory, editorial index, and reading navigation. */
body .mch-social-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .75rem;
  padding: 0;
  list-style: none;
  margin-block: 1.25rem 2.5rem;
}
body .mch-social-directory li { margin: 0; }
body .mch-social-directory li a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem 1rem;
  color: #2d326a;
  font-weight: 650;
  text-decoration: none;
  background: #f6f5fb;
  border: 1px solid #d6d5e5;
  border-radius: .6rem;
}
body .mch-social-directory li a:hover { background: #eeedf7; text-decoration: underline; }
body.page-id-3464 .wp-block-latest-posts.is-grid li {
  padding: clamp(.8rem, 1.6vw, 1.25rem);
  background: #fff;
  border: 1px solid #dcdeea;
  border-radius: .8rem;
  box-sizing: border-box;
}
body.page-id-3464 .wp-block-latest-posts__post-title { font-weight: 650; line-height: 1.3; }
body.page-id-3464 .wp-block-latest-posts__featured-image img { border-radius: .45rem; }
body .mch-social-directory li a:focus-visible,
body .wp-block-latest-posts a:focus-visible,
body .wp-block-navigation a:focus-visible,
body .mchx-page a:focus-visible { outline: 3px solid #6357a9; outline-offset: 3px; }
body.single-post h2[id] { scroll-margin-top: 5rem; }
.mch-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  margin: 1.25rem auto;
  padding: 1rem;
  border-block: 1px solid #dcdeea;
}
.mch-topic-nav a { color: #343477; text-underline-offset: .18em; }
.mch-topic-nav a:focus-visible { outline: 3px solid #6357a9; outline-offset: 3px; }
.mch-article-results li {
  padding: clamp(.8rem,1.6vw,1.25rem);
  background: #fff;
  border: 1px solid #dcdeea;
  border-radius: .8rem;
}
.mch-article-results img { border-radius: .45rem; }
.mch-article-results .wp-block-post-title { font-size: clamp(1.05rem,1.5vw,1.35rem); line-height: 1.3; }
.mch-article-results .wp-block-post-date { margin-top: .5rem; font-size: .9rem; }
.mch-article-archive a:focus-visible { outline: 3px solid #6357a9; outline-offset: 3px; }
@media (max-width: 45rem) { .mch-article-archive .mch-article-results { grid-template-columns: 1fr; } }

/* Reserve the measured proportions of repeated images while they load. */
:where(
  img:not([width]):not([height])[src$="/jeremy-jarvis-mind-clarity-hub-founder-profile.png"],
  img:not([width]):not([height])[src$="/mind-clarity-7-day-reset-A-20260826-074244-mockup.png"],
  img:not([width]):not([height])[src$="/mind-clarity-7-day-reset-A-20260902-074034-mockup.png"],
  img:not([width]):not([height])[src$="/ikaria-lean-belly-juice-bottle-fruit-counter.png"],
  img:not([width]):not([height])[src$="/prostavive-single-bottle-review.png"]
) { aspect-ratio: auto 1 / 1; }
:where(img:not([width]):not([height])[src$="/ChatGPT-Image-Sep-21-2025-09_17_09-PM.png"]) {
  aspect-ratio: auto 2 / 3;
}
:where(img:not([width]):not([height])[src$="/leanbiome-single-bottle-terracotta-label-2025.png"]) {
  aspect-ratio: auto 4 / 3;
}

/* Hide the affiliate plugin's unpublished editor link from signed-out readers. */
body:not(.logged-in) main a[href$="/wp-admin/post.php?post=3402&action=edit"] {
  display: none;
}

/* Make the site name readable in the homepage title bar. */
body.home .mchx-titlebar .mchx-titlebar__title {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.35;
  text-transform: none;
  letter-spacing: .015em;
}
