
:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--base: #FFFFFF;--wp--preset--color--contrast: #111111;--wp--preset--color--accent-1: #FFEE58;--wp--preset--color--accent-2: #F6CFF4;--wp--preset--color--accent-3: #503AA8;--wp--preset--color--accent-4: #686868;--wp--preset--color--accent-5: #FBFAF3;--wp--preset--color--accent-6: color-mix(in srgb, currentColor 20%, transparent);--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 0.875rem;--wp--preset--font-size--medium: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.25), 1.125rem);--wp--preset--font-size--large: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.5), 1.375rem);--wp--preset--font-size--x-large: clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 0.5), 2rem);--wp--preset--font-size--xx-large: clamp(2.15rem, 2.15rem + ((1vw - 0.2rem) * 1.7), 3rem);--wp--preset--font-family--manrope: Manrope, sans-serif;--wp--preset--font-family--fira-code: "Fira Code", monospace;--wp--preset--spacing--20: 10px;--wp--preset--spacing--30: 20px;--wp--preset--spacing--40: 30px;--wp--preset--spacing--50: clamp(30px, 5vw, 50px);--wp--preset--spacing--60: clamp(30px, 7vw, 70px);--wp--preset--spacing--70: clamp(50px, 7vw, 90px);--wp--preset--spacing--80: clamp(70px, 10vw, 140px);--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);}.wp-block-button{--wp--preset--dimension--25: 25%;--wp--preset--dimension--50: 50%;--wp--preset--dimension--75: 75%;--wp--preset--dimension--100: 100%;}:root { --wp--style--global--content-size: 850px;--wp--style--global--wide-size: 1120px; }:where(body) { margin: 0; }.wp-site-blocks { padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom); }.has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); }.has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); }.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) { padding-right: 0; padding-left: 0; }.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) > .alignfull { margin-left: 0; margin-right: 0; }.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }:where(.wp-site-blocks) > * { margin-block-start: 1.2rem; margin-block-end: 0; }:where(.wp-site-blocks) > :first-child { margin-block-start: 0; }:where(.wp-site-blocks) > :last-child { margin-block-end: 0; }:root { --wp--style--block-gap: 1.2rem; }:root :where(.is-layout-flow) > :first-child{margin-block-start: 0;}:root :where(.is-layout-flow) > :last-child{margin-block-end: 0;}:root :where(.is-layout-flow) > *{margin-block-start: 1.2rem;margin-block-end: 0;}:root :where(.is-layout-constrained) > :first-child{margin-block-start: 0;}:root :where(.is-layout-constrained) > :last-child{margin-block-end: 0;}:root :where(.is-layout-constrained) > *{margin-block-start: 1.2rem;margin-block-end: 0;}:root :where(.is-layout-flex){gap: 1.2rem;}:root :where(.is-layout-grid){gap: 1.2rem;}.is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}body{background-color: var(--wp--preset--color--base);color: var(--wp--preset--color--contrast);font-family: var(--wp--preset--font-family--manrope);font-size: var(--wp--preset--font-size--large);font-style: normal;font-weight: 300;letter-spacing: -0.1px;line-height: 1.4;--wp--style--root--padding-top: 0px;--wp--style--root--padding-right: var(--wp--preset--spacing--50);--wp--style--root--padding-bottom: 0px;--wp--style--root--padding-left: var(--wp--preset--spacing--50);}a:where(:not(.wp-element-button)){color: #7294ec;}:root :where(a:where(:not(.wp-element-button)):hover){text-decoration: none;}h1, h2, h3, h4, h5, h6{color: var(--wp--preset--color--contrast);font-style: normal;font-weight: 400;letter-spacing: -0.1px;line-height: 1.125;}h1{font-size: var(--wp--preset--font-size--xx-large);}h2{font-size: var(--wp--preset--font-size--x-large);}h3{font-size: var(--wp--preset--font-size--large);}h4{font-size: var(--wp--preset--font-size--medium);}h5{font-size: var(--wp--preset--font-size--small);letter-spacing: 0.5px;}h6{font-size: var(--wp--preset--font-size--small);font-weight: 700;letter-spacing: 1.4px;text-transform: uppercase;}:root :where(.wp-element-button, .wp-block-button__link){background-color: #0d47a1;border-width: 0;color: var(--wp--preset--color--base);font-family: inherit;font-size: var(--wp--preset--font-size--medium);font-style: inherit;font-weight: inherit;letter-spacing: inherit;line-height: inherit;padding-top: 1rem;padding-right: 2.25rem;padding-bottom: 1rem;padding-left: 2.25rem;text-decoration: none;text-transform: inherit;}:root :where(.wp-element-button:hover, .wp-block-button__link:hover){background-color: color-mix(in srgb, var(--wp--preset--color--contrast) 85%, transparent);border-color: transparent;color: var(--wp--preset--color--base);}:root :where(.wp-element-button:focus, .wp-block-button__link:focus){outline-color: var(--wp--preset--color--accent-4);outline-offset: 2px;}:root :where(.wp-element-caption, .wp-block-audio figcaption, .wp-block-embed figcaption, .wp-block-gallery figcaption, .wp-block-image figcaption, .wp-block-table figcaption, .wp-block-video figcaption){font-size: var(--wp--preset--font-size--small);line-height: 1.4;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-base-color{color: var(--wp--preset--color--base) !important;}.has-contrast-color{color: var(--wp--preset--color--contrast) !important;}.has-accent-1-color{color: var(--wp--preset--color--accent-1) !important;}.has-accent-2-color{color: var(--wp--preset--color--accent-2) !important;}.has-accent-3-color{color: var(--wp--preset--color--accent-3) !important;}.has-accent-4-color{color: var(--wp--preset--color--accent-4) !important;}.has-accent-5-color{color: var(--wp--preset--color--accent-5) !important;}.has-accent-6-color{color: var(--wp--preset--color--accent-6) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-base-background-color{background-color: var(--wp--preset--color--base) !important;}.has-contrast-background-color{background-color: var(--wp--preset--color--contrast) !important;}.has-accent-1-background-color{background-color: var(--wp--preset--color--accent-1) !important;}.has-accent-2-background-color{background-color: var(--wp--preset--color--accent-2) !important;}.has-accent-3-background-color{background-color: var(--wp--preset--color--accent-3) !important;}.has-accent-4-background-color{background-color: var(--wp--preset--color--accent-4) !important;}.has-accent-5-background-color{background-color: var(--wp--preset--color--accent-5) !important;}.has-accent-6-background-color{background-color: var(--wp--preset--color--accent-6) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-base-border-color{border-color: var(--wp--preset--color--base) !important;}.has-contrast-border-color{border-color: var(--wp--preset--color--contrast) !important;}.has-accent-1-border-color{border-color: var(--wp--preset--color--accent-1) !important;}.has-accent-2-border-color{border-color: var(--wp--preset--color--accent-2) !important;}.has-accent-3-border-color{border-color: var(--wp--preset--color--accent-3) !important;}.has-accent-4-border-color{border-color: var(--wp--preset--color--accent-4) !important;}.has-accent-5-border-color{border-color: var(--wp--preset--color--accent-5) !important;}.has-accent-6-border-color{border-color: var(--wp--preset--color--accent-6) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}.has-xx-large-font-size{font-size: var(--wp--preset--font-size--xx-large) !important;}.has-manrope-font-family{font-family: var(--wp--preset--font-family--manrope) !important;}.has-fira-code-font-family{font-family: var(--wp--preset--font-family--fira-code) !important;}/* Global content width for posts, pages, blog, archives */
body.single-post main.wp-block-group,
body.page main.wp-block-group,
body.blog main.wp-block-group,
body.archive main.wp-block-group {
  max-width: 760px;          /* normal reading width */
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* Make inner full-width groups respect the same width */
body.single-post .wp-block-group.alignfull,
body.page .wp-block-group.alignfull,
body.blog .wp-block-group.alignfull,
body.archive .wp-block-group.alignfull {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}/* =========================================
   BLOG INDEX — PAGE ID 3464
   Wider content + card-style post grid
========================================= */

/* Main content wrapper: slightly wider than default */
.page-id-3464 main.wp-block-group {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  box-sizing: border-box;
}

/* Page H1 */
.page-id-3464 h1.wp-block-heading {
  font-size: 2.3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
  color: #0f172a;
}

/* Constrain the query loop area so it doesn’t go full edge-to-edge */
.page-id-3464 .wp-block-query.alignfull {
  max-width: 1200px;
  margin: 0 auto;
}

/* Turn post list into a responsive grid */
.page-id-3464 .wp-block-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 cards per row */
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each post item becomes a card */
.page-id-3464 .wp-block-query .wp-block-post-template > * {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-id-3464 .wp-block-query .wp-block-post-template > *:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border-color: #dbeafe;
}

/* Featured image styling */
.page-id-3464 .wp-block-post-featured-image {
  margin-bottom: 14px;
}

.page-id-3464 .wp-block-post-featured-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Post title */
.page-id-3464 .wp-block-post-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 4px 0 8px;
  line-height: 1.4;
}

/* Post content or excerpt */
.page-id-3464 .wp-block-post-content,
.page-id-3464 .wp-block-post-excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #374151;
  margin-top: 4px;
}

/* Read-more link inside excerpt (if you add one later) */
.page-id-3464 .wp-block-post-excerpt__more-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-weight: 600;
  color: #2563eb;
}

/* Date pinned to bottom of card */
.page-id-3464 .wp-block-post-date {
  margin-top: auto;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Pagination styling under grid */
.page-id-3464 .wp-block-query-pagination {
  margin-top: 40px;
  font-size: 0.95rem;
}

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

/* 2 columns on tablet */
@media (max-width: 1024px) {
  .page-id-3464 main.wp-block-group {
    padding: 32px 16px 48px;
  }

  .page-id-3464 .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

/* 1 column on mobile */
@media (max-width: 640px) {
  .page-id-3464 main.wp-block-group {
    padding: 28px 14px 40px;
  }

  .page-id-3464 .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-id-3464 .wp-block-query .wp-block-post-template > * {
    border-radius: 14px;
    padding: 16px 14px 18px;
  }

  .page-id-3464 .wp-block-post-featured-image img {
    height: 200px;
  }
}


/* Keep all content images responsive, no oversize stretching */
.wp-block-post-content img,
.entry-content img,
.wp-block-image img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* Cap featured images so they don't dwarf the layout */
.single-post .wp-block-post-featured-image img,
.page .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
}

/* Cap author/profile images so they never fill the screen */
#mch-author-micro img,
#mch-author-hero img,
.author-box img,
.wp-block-post-author img {
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* Optional: keep homepage sections from going full-bleed */
.home .page-sandbox,
.home article[id^="mch-"],
.home .entry-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
/* =========================
1. SINGLE POST PAGES
   (keep post content at a comfortable reading width)
========================= */

body.single .entry-content,
body.single .wp-block-post-content {
  max-width: 760px;        /* same as before */
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* Make sure post images/embeds stay inside the column */
body.single .entry-content img,
body.single .entry-content figure,
body.single .entry-content table,
body.single .entry-content iframe {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* =========================
2. HOMEPAGE & BLOG LISTING
   (a little wider than posts)
========================= */

/* Main content wrapper on the homepage */
body.home main.wp-block-group {
  max-width: 900px;         /* a bit wider than single posts */
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* Blog "posts page" / archive (if used) */
body.blog main.wp-block-group,
body.archive main.wp-block-group {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* Keep homepage images/embeds from overflowing too */
body.home main.wp-block-group img,
body.home main.wp-block-group figure,
body.home main.wp-block-group table,
body.home main.wp-block-group iframe,
body.blog main.wp-block-group img,
body.blog main.wp-block-group figure,
body.blog main.wp-block-group table,
body.blog main.wp-block-group iframe {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
} 
/* Home page content width */
body.home .wp-block-group.alignfull {
  max-width: 1200px; /* Set a max width to allow for wider content */
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px; /* Optional: Add padding to the sides */
}

/* Adjust content for mobile */
@media screen and (max-width: 768px) {
  body.home .wp-block-group.alignfull {
    max-width: 100%; /* Allow full-width on smaller screens */
    padding: 0 15px; /* Add some padding on mobile */
  }
}
/* Book cards - Desktop layout */
@media screen and (min-width: 1024px) {
  .book-card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 20px; /* Space between cards */
  }
}

/* Book cards - Mobile layout */
@media screen and (max-width: 768px) {
  .book-card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 15px; /* Space between cards */
  }

  .book-card-container .cta-button {
    width: 100%; /* Make CTA buttons full-width on mobile */
    padding: 10px;
    font-size: 14px; /* Adjust button size for better visibility */
  }
}

/* If the CTA buttons are still too deformed, ensure buttons within each book card are centered */
.book-card-container .cta-button {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* Ensure book card images maintain a consistent size */
.book-card-container .book-card img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensures images don't stretch */
  max-width: 200px; /* Limit the width of images in cards */
  max-height: 300px; /* Limit the height of images */
}
/* Enforce CTA button size */
.book-card-container .cta-button {
  width: auto;
  padding: 12px 20px; /* Control button padding */
  font-size: 16px; /* Make the text size consistent */
  background-color: #007bff; /* Example color */
  color: #fff; /* Button text color */
  border: none;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.book-card-container .cta-button:hover {
  background-color: #0056b3; /* Hover effect */
}
/* ===== BOOKS PAGE HARD OVERRIDES ===== */
/* This assumes the books page uses .page-sandbox + .books-grid as in your HTML */

.page .page-sandbox {
  /* keep the books page at a nice wide content width, not ultra-narrow */
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box;
}

/* GRID: auto-fit so cards never get squeezed tiny */
.page .page-sandbox .books-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* Card width controlled by grid, not by max-widths */
.page .page-sandbox .book-card {
  width: 100% !important;
  max-width: none !important;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Cover image */
.page .page-sandbox .book-card .cover img {
  width: 100% !important;
  height: auto !important;
  max-height: 320px;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}

/* Card body */
.page .page-sandbox .book-card .body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* CTA button – prevent deformation */
.page .page-sandbox .book-card .btn {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: #2563eb;
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.25;
  white-space: normal;       /* allow 2 lines without crunching */
}

/* RESPONSIVE: tighten spacing on small screens */
@media (max-width: 900px) {
  .page .page-sandbox {
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .page .page-sandbox .books-grid {
    max-width: 100% !important;
    gap: 18px !important;
  }
}

@media (max-width: 600px) {
  .page .page-sandbox {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .page .page-sandbox .books-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 12px !important;
  }
  .page .page-sandbox .book-card .cover img {
    max-height: 260px;
  }
  .page .page-sandbox .book-card .btn {
    font-size: 0.85rem;
    padding: 9px 10px;
  }
}/* Force 4 columns on desktop, 2 on mobile — books page only */
@media (min-width: 901px) {
  .page .page-sandbox .books-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    max-width: 1400px !important;  /* nice desktop width */
    gap: 28px !important;
  }
}

@media (max-width: 900px) {
  .page .page-sandbox .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* Optional tiny-screen safety: 1 column under ~360px */
@media (max-width: 360px) {
  .page .page-sandbox .books-grid {
    grid-template-columns: 1fr !important;
  }
}
/* =======================================
   MIND CLARITY BOOKS PAGE — FINAL OVERRIDES
   (4 columns desktop, 2 columns mobile,
    wider layout, CTAs follow cleanly)
=======================================*/

/* 1. WIDEN THE WHOLE BOOKS PAGE AREA */
.page .page-sandbox {
  max-width: min(1400px, 96vw) !important;  /* wider than posts */
  margin: 0 auto !important;
  padding: 0 24px 40px !important;
  box-sizing: border-box;
}

/* 2. GRID: 4 COLUMNS ON DESKTOP */
.page .page-sandbox .books-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}

/* 3. CARDS: LET THEM FILL THE GRID, NO NARROW MAX-WIDTHS */
.page .page-sandbox .book-card {
  max-width: none !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Cover image – scales with wider card */
.page .page-sandbox .book-card .cover img {
  width: 100% !important;
  height: 340px !important;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}

/* Body */
.page .page-sandbox .book-card .body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Title & blurb */
.page .page-sandbox .book-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.page .page-sandbox .book-card .blurb {
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* CTA BUTTON: FULL WIDTH, FOLLOWS TEXT */
.page .page-sandbox .book-card .btn {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: #2563eb;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}
.page .page-sandbox .book-card .btn:hover {
  background: #1e40af;
}

/* 4. RESPONSIVE BEHAVIOR */

/* Tablet / small desktop – still 4 where possible, but flexible */
@media (max-width: 1100px) {
  .page .page-sandbox {
    max-width: 100% !important;
    padding: 16px 16px 32px !important;
  }
  .page .page-sandbox .books-grid {
    max-width: 100% !important;
    gap: 24px !important;
  }
}

/* Normal mobile – EXACTLY 2 columns, wider cards, CTAs ok */
@media (max-width: 768px) {
  .page .page-sandbox .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 0 8px !important;
  }

  .page .page-sandbox .book-card .cover img {
    height: 260px !important;
    padding: 10px;
  }

  .page .page-sandbox .book-card .body {
    padding: 12px 10px 14px;
  }

  .page .page-sandbox .book-card .btn {
    font-size: 0.9rem;
    padding: 9px 10px;
  }
}

/* Very small phones – 1 column for safety */
@media (max-width: 360px) {
  .page .page-sandbox .books-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ===================================================
   MIND CLARITY BOOKS PAGE — FORCE FULL-WIDTH + WIDER CARDS
   (Only affects the page that contains #books-collection)
===================================================*/

/* 1. Break the books section out of the narrow content width */
#books-collection {
  width: 100vw !important;                      /* span full viewport */
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;     /* pull it out of the constrained column */
  margin-right: calc(50% - 50vw) !important;
  padding: 24px 40px 40px !important;           /* side padding so cards don’t touch the edge */
  box-sizing: border-box;
}

/* 2. Grid: 4 columns on desktop, 2 on mobile */
#books-collection .books-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: 1400px !important;                /* nice wide content width */
  margin: 0 auto !important;
}

/* 3. Cards: let them expand with the grid */
#books-collection .book-card {
  width: 100% !important;
  max-width: none !important;                  /* remove previous 260px / 280px limits */
  display: flex !important;
  flex-direction: column !important;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Cover images scale with wider cards */
#books-collection .book-card .cover img {
  width: 100% !important;
  height: 340px !important;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}

/* Card body */
#books-collection .book-card .body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Button stays full width and follows text */
#books-collection .book-card .btn {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: #2563eb;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}
#books-collection .book-card .btn:hover {
  background: #1e40af;
}

/* ========== RESPONSIVE ========== */

/* Tablets and small desktops */
@media (max-width: 1100px) {
  #books-collection {
    padding: 20px 24px 32px !important;
  }
  #books-collection .books-grid {
    max-width: 100% !important;
    gap: 22px !important;
  }
}

/* Phones: 2 columns, wider cards */
@media (max-width: 600px) {
  #books-collection {
    padding: 16px 10px 28px !important;
  }

  #books-collection .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    max-width: 100% !important;
  }

  #books-collection .book-card .cover img {
    height: 260px !important;
    padding: 10px;
  }

  #books-collection .book-card .body {
    padding: 12px 10px 14px;
  }

  #books-collection .book-card .btn {
    font-size: 0.9rem;
    padding: 9px 10px;
  }
}

/* Ultra-small phones safety */
@media (max-width: 360px) {
  #books-collection .books-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ===================================================
   MIND CLARITY HUB — BOOKS PAGE ONLY (ID 1244)
   Wider content + 4-column grid desktop, 2-column mobile
=================================================== */

/* 1. Widen the content area only on the Books page */
.page-id-1244 .entry-content,
.postid-1244 .entry-content {
  max-width: 1200px !important;   /* wider than normal posts */
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 2. Books wrapper uses that full width */
.page-id-1244 #books-collection,
.postid-1244 #books-collection {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 20px 20px 40px !important;
  box-sizing: border-box;
}

/* 3. Grid: 4 columns on desktop, 2 on mobile */
.page-id-1244 #books-collection .books-grid,
.postid-1244 #books-collection .books-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* 4. Cards expand with the grid */
.page-id-1244 #books-collection .book-card,
.postid-1244 #books-collection .book-card {
  width: 100% !important;
  max-width: none !important;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-id-1244 #books-collection .book-card:hover,
.postid-1244 #books-collection .book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

/* Cover image scales to wider card */
.page-id-1244 #books-collection .book-card .cover img,
.postid-1244 #books-collection .book-card .cover img {
  width: 100% !important;
  height: 340px !important;
  object-fit: contain;
  padding: 14px;
  box-sizing: border-box;
}

/* Body + CTA follow width naturally */
.page-id-1244 #books-collection .book-card .body,
.postid-1244 #books-collection .book-card .body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-id-1244 #books-collection .book-card .btn,
.postid-1244 #books-collection .book-card .btn {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: #2563eb;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}
.page-id-1244 #books-collection .book-card .btn:hover,
.postid-1244 #books-collection .book-card .btn:hover {
  background: #1e40af;
}

/* ===========================
   Responsive
=========================== */

/* Tablets / small desktop */
@media (max-width: 1100px) {
  .page-id-1244 .entry-content,
  .postid-1244 .entry-content {
    max-width: 100% !important;
  }

  .page-id-1244 #books-collection,
  .postid-1244 #books-collection {
    padding: 20px 16px 32px !important;
  }

  .page-id-1244 #books-collection .books-grid,
  .postid-1244 #books-collection .books-grid {
    gap: 22px !important;
  }
}

/* Phones: 2 columns */
@media (max-width: 600px) {
  .page-id-1244 #books-collection,
  .postid-1244 #books-collection {
    padding: 16px 10px 28px !important;
  }

  .page-id-1244 #books-collection .books-grid,
  .postid-1244 #books-collection .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .page-id-1244 #books-collection .book-card .cover img,
  .postid-1244 #books-collection .book-card .cover img {
    height: 260px !important;
    padding: 10px;
  }

  .page-id-1244 #books-collection .book-card .body,
  .postid-1244 #books-collection .book-card .body {
    padding: 12px 10px 14px;
  }

  .page-id-1244 #books-collection .book-card .btn,
  .postid-1244 #books-collection .book-card .btn {
    font-size: 0.9rem;
    padding: 9px 10px;
  }
}
/* ============================================
   CENTER BOOKS PAGE CONTENT (POST ID 1244)
============================================ */

/* 1. Center the sandbox wrapper inside the theme layout */
.page-id-1244 .entry-content > .page-sandbox,
.postid-1244 .entry-content > .page-sandbox {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* 2. Make #books-collection fill that centered sandbox */
.page-id-1244 #books-collection,
.postid-1244 #books-collection {
  width: 100%;
  max-width: 100%;
  margin: 0 auto !important;
  padding: 20px 0 40px !important;  /* remove extra side padding that pulled it right */
}

/* 3. Keep the grid centered inside the wrapper */
.page-id-1244 #books-collection .books-grid,
.postid-1244 #books-collection .books-grid {
  margin-left: auto !important;
  margin-right: auto !important;
}
/* ============================================
   BOOKS PAGE (POST ID 1244) – HARD RESET
   Center content + keep 4 desktop / 2 mobile grid
============================================ */

/* 1) Reset and center the main content container */
.page-id-1244 .entry-content,
.postid-1244 .entry-content {
  width: 100%;
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  text-align: left;
}

/* 2) Reset the inner sandbox wrapper */
.page-id-1244 .entry-content .page-sandbox,
.postid-1244 .entry-content .page-sandbox {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

/* 3) Center the books collection block inside that */
.page-id-1244 #books-collection,
.postid-1244 #books-collection {
  width: 100%;
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* 4) Define the grid: 4 columns desktop */
.page-id-1244 #books-collection .books-grid,
.postid-1244 #books-collection .books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* 5) Tablet / mobile: 2 columns */
@media (max-width: 900px) {
  .page-id-1244 #books-collection .books-grid,
  .postid-1244 #books-collection .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* 6) Very small phones: 1 column (safety only) */
@media (max-width: 360px) {
  .page-id-1244 #books-collection .books-grid,
  .postid-1244 #books-collection .books-grid {
    grid-template-columns: 1fr;
  }
}/* ============================================
   MIND CLARITY BOOKS PAGE – ID 1244
   Force everything back to centered content
============================================ */

/* 1) Center the main content area on this page only */
.page-id-1244 main,
.page-id-1244 .entry-content {
  width: 100%;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* 2) Neutralize any "full width" shifts on this page */
.page-id-1244 .alignfull,
.page-id-1244 .wp-block-group.alignfull,
.page-id-1244 .wp-block-query.alignfull {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 3) The sandbox wrapper and books container stay centered */
.page-id-1244 .entry-content .page-sandbox {
  width: 100%;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.page-id-1244 #books-collection {
  width: 100%;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* 4) Books grid – 4 columns desktop, centered */
.page-id-1244 #books-collection .books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  box-sizing: border-box;
}

/* 5) Tablet / mobile – 2 columns, still centered */
@media (max-width: 900px) {
  .page-id-1244 #books-collection .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* 6) Very small phones – 1 column (safety only) */
@media (max-width: 360px) {
  .page-id-1244 #books-collection .books-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FINAL CENTERING FIX — BOOKS PAGE (ID 1244)
   Align content dead-center and keep 4 / 2 grid
=============================================== */

/* Center the whole content column using theme content width */
.page-id-1244 .entry-content,
.page-id-1244 .page-sandbox,
.page-id-1244 #books-collection {
  width: 100%;
  max-width: var(--wp--style--global--content-size, 1200px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;

  /* Kill any prior shifting */
  position: relative;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
}

/* Books grid – 4 columns on desktop, centered inside content width */
.page-id-1244 .books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  margin: 0 auto;
}

/* Tablet / mobile – 2 columns */
@media (max-width: 900px) {
  .page-id-1244 .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* Very small phones – optional single column safety */
@media (max-width: 360px) {
  .page-id-1244 .books-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   BOOKS PAGE (ID 1244)
   1) Center all CTA buttons inside cards
   2) Prevent any text/links from spilling outside cards
=============================================== */

/* Make sure book cards themselves never overflow horizontally */
.page-id-1244 .book-card,
.page-id-1244 .card,
.page-id-1244 .review-card {
  box-sizing: border-box;
  max-width: 100%;
}

/* Keep everything inside cards safely wrapped */
.page-id-1244 .book-card *,
.page-id-1244 .card *,
.page-id-1244 .review-card * {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;   /* modern */
  word-break: break-word;      /* fallback */
}

/* Center ALL "View Book →" CTAs inside book cards */
.page-id-1244 .book-card .btn {
  display: inline-flex !important;       /* override older flex rules */
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  white-space: normal;                   /* allow 2 lines without squashing */
}

/* If there are any other CTA-style anchors, center those too */
.page-id-1244 a.cta-animate {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Extra safety so grid items stretch evenly */
.page-id-1244 .books-grid {
  align-items: stretch;
}

/* ================================
   BOOKS PAGE (post ID 1244)
   Center all CTA buttons in cards
   + keep text/links inside cards
===================================*/

/* Make sure card content never overflows */
.page-id-1244 .book-card,
.page-id-1244 .book-card * ,
.page-id-1244 .wellness-card,
.page-id-1244 .wellness-card *,
.page-id-1244 .card,
.page-id-1244 .card * {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Center CTA-style buttons/links inside ALL cards on this page */
.page-id-1244 .book-card .btn,
.page-id-1244 .book-card a.cta-animate,
.page-id-1244 .wellness-card .btn,
.page-id-1244 .wellness-card a.cta-animate,
.page-id-1244 .card .btn,
.page-id-1244 .card a.cta-animate {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
/* =========================================
   POST 1244 — CENTER ALL CTA BUTTONS
   AND PREVENT TEXT/LINK OVERFLOW IN CARDS
=========================================*/

/* 1) Safety: no text or links escape cards */
.postid-1244 .book-card,
.postid-1244 .book-card *,
.postid-1244 .wellness-card,
.postid-1244 .wellness-card *,
.postid-1244 .card,
.postid-1244 .card * {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

/* 2) Center all CTA-style buttons/links inside any card on this page */
.postid-1244 .book-card .btn,
.postid-1244 .book-card a.cta-animate,
.postid-1244 .wellness-card .btn,
.postid-1244 .wellness-card a.cta-animate,
.postid-1244 .card .btn,
.postid-1244 .card a.cta-animate {
  display: block;               /* block so margins work */
  width: auto;
  max-width: 100%;
  margin: 12px auto 0;          /* centers horizontally */
  text-align: center;
  white-space: normal;          /* allow 2-line labels */
}

/* If the page is a PAGE instead of POST, also cover page-id-1244 */
.page-id-1244 .book-card,
.page-id-1244 .book-card *,
.page-id-1244 .wellness-card,
.page-id-1244 .wellness-card *,
.page-id-1244 .card,
.page-id-1244 .card * {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.page-id-1244 .book-card .btn,
.page-id-1244 .book-card a.cta-animate,
.page-id-1244 .wellness-card .btn,
.page-id-1244 .wellness-card a.cta-animate,
.page-id-1244 .card .btn,
.page-id-1244 .card a.cta-animate {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 12px auto 0;
  text-align: center;
  white-space: normal;
}
/* =========================================
   BLOG INDEX — PAGE ID 3464
   Wider content + larger images + card grid
========================================= */

/* Main content wrapper: wider than before */
.page-id-3464 main.wp-block-group {
  max-width: 1320px; /* was 1200px */
  margin: 0 auto;
  padding: 40px 24px 60px;
  box-sizing: border-box;
}

/* Page H1 */
.page-id-3464 h1.wp-block-heading {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 36px;
  color: #0f172a;
}

/* Constrain the query loop area so it doesn’t go edge-to-edge */
.page-id-3464 .wp-block-query.alignfull {
  max-width: 1320px;
  margin: 0 auto;
}

/* Turn post list into a responsive grid */
.page-id-3464 .wp-block-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 cards per row */
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each post item becomes a card */
.page-id-3464 .wp-block-query .wp-block-post-template > * {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 20px 20px 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-id-3464 .wp-block-query .wp-block-post-template > *:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  border-color: #dbeafe;
}

/* Featured image styling — LARGER */
.page-id-3464 .wp-block-post-featured-image {
  margin-bottom: 16px;
}

.page-id-3464 .wp-block-post-featured-image img {
  width: 100%;
  height: 260px;           /* was 220px */
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* Post title */
.page-id-3464 .wp-block-post-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2px 0 8px;
  line-height: 1.45;
}

.page-id-3464 .wp-block-post-title a {
  color: #0f172a;
  text-decoration: none;
}

.page-id-3464 .wp-block-post-title a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Post content or excerpt */
.page-id-3464 .wp-block-post-content,
.page-id-3464 .wp-block-post-excerpt {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #374151;
  margin-top: 4px;
}

/* Date pinned to bottom of card */
.page-id-3464 .wp-block-post-date {
  margin-top: auto;
  font-size: 0.82rem;
  color: #6b7280;
}

/* Pagination styling under grid */
.page-id-3464 .wp-block-query-pagination {
  margin-top: 44px;
  font-size: 0.95rem;
}

.page-id-3464 .wp-block-query-pagination a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.page-id-3464 .wp-block-query-pagination a:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

/* 2 columns on tablet */
@media (max-width: 1100px) {
  .page-id-3464 main.wp-block-group {
    max-width: 100%;
    padding: 32px 18px 50px;
  }

  .page-id-3464 .wp-block-query.alignfull {
    max-width: 100%;
  }

  .page-id-3464 .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

/* 1 column on mobile + slightly smaller images but still larger than default */
@media (max-width: 640px) {
  .page-id-3464 main.wp-block-group {
    padding: 28px 14px 42px;
  }

  .page-id-3464 .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .page-id-3464 .wp-block-query .wp-block-post-template > * {
    border-radius: 14px;
    padding: 16px 14px 18px;
  }

  .page-id-3464 .wp-block-post-featured-image img {
    height: 220px;  /* larger than before, but balanced on small screens */
  }
}
/* =========================================================
   Global blog typography (WordPress)
   - Paste into: Appearance > Customize > Additional CSS
   - Adjust the two variables below to match your preference
========================================================= */
:root{
  --blog-font: system-ui,-apple-system,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  --blog-size: 18px;     /* base paragraph size */
  --blog-line: 1.75;     /* paragraph line-height */
}

/* Scope to posts + pages */
body.single-post .entry-content,
body.blog .entry-content,
body.archive .entry-content,
body.single .entry-content,
body.page .entry-content{
  font-family: var(--blog-font);
  font-size: var(--blog-size);
  line-height: var(--blog-line);
  color: #0f172a;
}

/* Paragraphs + lists */
.entry-content p,
.entry-content li{
  font-size: inherit;
  line-height: inherit;
}

/* Headings (consistent scale) */
.entry-content h1{ font-size: clamp(30px, 3vw, 42px); line-height: 1.15; }
.entry-content h2{ font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; margin-top: 1.4em; }
.entry-content h3{ font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; margin-top: 1.2em; }
.entry-content h4{ font-size: 18px; line-height: 1.3; margin-top: 1.1em; }

/* Links */
.entry-content a{
  color: #0b5fff;
  text-decoration: none;
}
.entry-content a:hover{ text-decoration: underline; }

/* Quotes */
.entry-content blockquote{
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid #0b5fff;
  background: #f6f9ff;
  border-radius: 12px;
}

/* Tables */
.entry-content table{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98em;
}
.entry-content th,
.entry-content td{
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  vertical-align: top;
}
.entry-content thead th{
  background: #f6f9ff;
  font-weight: 700;
}

/* Mobile fine-tune */
@media (max-width: 768px){
  :root{ --blog-size: 17px; }
}
/* Improve readability: line length + spacing rhythm */
.entry-content{
  max-width: 72ch;
  margin-inline: auto;
}

.entry-content p{
  margin: 0 0 1em;
}

.entry-content ul,
.entry-content ol{
  margin: 0 0 1em;
  padding-left: 1.25em;
}
/* =========================================================
   Post-only restyle (post ID 3464)
   Paste into: Appearance > Customize > Additional CSS
   Targets ONLY: ?post=3464  (single post view)
========================================================= */

body.single-post.postid-3464{
  background: radial-gradient(1200px 600px at 50% -200px, #eaf2ff 0%, #ffffff 55%);
}

/* Make the overall content area feel like a clean “card” */
body.single-post.postid-3464 .site-main,
body.single-post.postid-3464 #primary{
  padding-top: 18px;
  padding-bottom: 48px;
}

body.single-post.postid-3464 article{
  max-width: 1180px;            /* overall page width cap */
  margin: 0 auto;
  padding: 0 18px;
}

/* Wider reading column + nicer rhythm */
body.single-post.postid-3464 .entry-content{
  max-width: 86ch;              /* wider than your global 72ch */
  margin-inline: auto;
  background: #ffffff;
  border: 1px solid #e6eefc;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: clamp(18px, 2.2vw, 34px);
}

/* Title + meta polish */
body.single-post.postid-3464 .entry-title{
  max-width: 86ch;
  margin: 8px auto 8px;
  letter-spacing: -0.02em;
}

body.single-post.postid-3464 .entry-header{
  max-width: 86ch;
  margin-inline: auto;
  padding: 10px 0 12px;
}

body.single-post.postid-3464 .entry-header p,
body.single-post.postid-3464 .entry-header .post-meta,
body.single-post.postid-3464 .entry-header .meta,
body.single-post.postid-3464 .entry-header .wp-block-post-date{
  color: #475569;
  font-size: 0.95em;
}

/* Featured image / first large image: cleaner, modern */
body.single-post.postid-3464 .post-thumbnail img,
body.single-post.postid-3464 .wp-block-image.size-large img,
body.single-post.postid-3464 .wp-block-image img{
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(2, 6, 23, .14);
}

/* Headings: stronger hierarchy */
body.single-post.postid-3464 .entry-content h2{
  margin-top: 1.6em;
  padding-top: .2em;
  border-top: 1px solid #eef2ff;
}

body.single-post.postid-3464 .entry-content h3{
  margin-top: 1.3em;
}

/* Paragraph spacing + readability */
body.single-post.postid-3464 .entry-content p{
  margin: 0 0 1.05em;
}

/* Lists: a bit more breathable */
body.single-post.postid-3464 .entry-content ul,
body.single-post.postid-3464 .entry-content ol{
  margin: 0 0 1.1em;
  padding-left: 1.3em;
}
body.single-post.postid-3464 .entry-content li{
  margin: .35em 0;
}

/* Quotes: “callout” feel */
body.single-post.postid-3464 .entry-content blockquote{
  border-left-width: 5px;
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

/* Tables: nicer header + responsive safety */
body.single-post.postid-3464 .wp-block-table{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid #e6eefc;
}
body.single-post.postid-3464 .wp-block-table table{
  min-width: 620px; /* prevents cramped columns on mobile */
}
body.single-post.postid-3464 .wp-block-table thead th{
  background: #eef5ff;
}

/* Buttons / CTA links inside content */
body.single-post.postid-3464 .entry-content a.wp-block-button__link,
body.single-post.postid-3464 .entry-content .wp-element-button{
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(11, 95, 255, .18);
}

/* Make inline images not feel cramped */
body.single-post.postid-3464 .entry-content figure{
  margin: 18px 0;
}

/* Mobile tuning */
@media (max-width: 768px){
  body.single-post.postid-3464 article{ padding: 0 14px; }
  body.single-post.postid-3464 .entry-content{
    max-width: 100%;
    padding: 16px;
    border-radius: 16px;
  }
}
/* Post-only fix: make content wider + add breathing room (post ID 3464) */
body.single-post.postid-3464 .entry-content{
  max-width: 100ch;                 /* wider reading column */
  padding: clamp(22px, 3vw, 44px);  /* more inner spacing */
}

body.single-post.postid-3464 article{
  max-width: 1320px;                /* wider overall container */
}

/* Increase vertical spacing so nothing feels “tight” */
body.single-post.postid-3464 .entry-content p{
  margin: 0 0 1.25em;
}

body.single-post.postid-3464 .entry-content h2{
  margin-top: 2em;
  margin-bottom: .75em;
  padding-top: .4em;
}

body.single-post.postid-3464 .entry-content h3{
  margin-top: 1.6em;
  margin-bottom: .6em;
}

body.single-post.postid-3464 .entry-content ul,
body.single-post.postid-3464 .entry-content ol{
  margin: 0 0 1.25em;
  padding-left: 1.4em;
}

body.single-post.postid-3464 .entry-content li{
  margin: .5em 0;
}

/* Slightly increase body text size only on this post */
body.single-post.postid-3464 .entry-content{
  font-size: 19px;
  line-height: 1.85;
}

@media (max-width: 768px){
  body.single-post.postid-3464 .entry-content{
    max-width: 100%;
    font-size: 18px;
    padding: 18px;
  }
}
/* Target either postid-3464 or page-id-3464 (covers both cases) */
body.postid-3464,
body.page-id-3464{
  /* widen the readable column + add breathing room */
}

body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content,.elementor-widget-theme-post-content),
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content,.elementor-widget-theme-post-content){
  max-width: 100ch !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(18px, 2.5vw, 34px) !important;
  padding-right: clamp(18px, 2.5vw, 34px) !important;

  font-size: 19px !important;
  line-height: 1.85 !important;
}

/* If the THEME container is constraining width, force it wider */
body.postid-3464 :is(#primary,.content-area,.site-main,.site-content,.container,.wrap,.content-wrap,.content-container,.inner,.row),
body.page-id-3464 :is(#primary,.content-area,.site-main,.site-content,.container,.wrap,.content-wrap,.content-container,.inner,.row){
  max-width: 1320px !important;
}

/* Add spacing so it doesn’t feel “scrunched” */
body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) p,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) p{
  margin: 0 0 1.25em !important;
}

body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) h2,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) h2{
  margin: 1.9em 0 .75em !important;
}

body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) h3,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) h3{
  margin: 1.5em 0 .6em !important;
}

@media (max-width: 768px){
  body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content,.elementor-widget-theme-post-content),
  body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content,.elementor-widget-theme-post-content){
    max-width: 100% !important;
    font-size: 18px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
/* ===========================
   Post 3464 — wider + standout polish
   (append below your current rules)
=========================== */

/* 1) Wider reading column + slightly larger type */
body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content,.elementor-widget-theme-post-content),
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content,.elementor-widget-theme-post-content){
  max-width: 110ch !important;          /* was 100ch */
  font-size: 20px !important;           /* was 19px */
  line-height: 1.9 !important;
}

/* If the theme container is still limiting, widen it more */
body.postid-3464 :is(#primary,.content-area,.site-main,.site-content,.container,.wrap,.content-wrap,.content-container,.inner,.row),
body.page-id-3464 :is(#primary,.content-area,.site-main,.site-content,.container,.wrap,.content-wrap,.content-container,.inner,.row){
  max-width: 1440px !important;         /* was ~1320 */
}

/* 2) Make it feel premium: soft “card” around the article */
body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content),
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content){
  background: #ffffff !important;
  border: 1px solid #e6edf7 !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08) !important;
  padding: clamp(18px, 2.6vw, 42px) !important;
}

/* 3) Better “section rhythm” */
body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) h2,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) h2{
  margin: 2.1em 0 .8em !important;
  padding-top: .2em !important;
  border-top: 1px solid #eef2ff !important;
}

body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) h3,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) h3{
  margin: 1.6em 0 .7em !important;
}

/* 4) Nicer paragraphs and lists */
body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) p,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) p{
  margin: 0 0 1.3em !important;
}

body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) ul,
body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) ol,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) ul,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) ol{
  margin: 0 0 1.2em !important;
  padding-left: 1.25em !important;
}

/* 5) Blockquotes look like “callout cards” */
body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) blockquote,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) blockquote{
  border-left: 4px solid #0b5fff !important;
  background: linear-gradient(180deg,#f6f9ff 0%, #ffffff 100%) !important;
  box-shadow: 0 10px 24px rgba(11,95,255,.10) !important;
  margin: 22px 0 !important;
}

/* 6) Tables: more modern + easier scanning */
body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) table,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) table{
  border: 1px solid #e6edf7 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) thead th,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) thead th{
  background: #f3f7ff !important;
  font-weight: 800 !important;
}

body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) tbody tr:nth-child(even) td,
body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) tbody tr:nth-child(even) td{
  background: #fbfdff !important;
}

/* 7) Optional: style WordPress buttons/CTA links if present */
body.postid-3464 :is(.wp-block-button__link, a.wp-element-button, .button, .btn),
body.page-id-3464 :is(.wp-block-button__link, a.wp-element-button, .button, .btn){
  border-radius: 999px !important;
  padding: 12px 18px !important;
  box-shadow: 0 12px 26px rgba(11,95,255,.18) !important;
  transform: translateY(0);
}
body.postid-3464 :is(.wp-block-button__link, a.wp-element-button, .button, .btn):hover,
body.page-id-3464 :is(.wp-block-button__link, a.wp-element-button, .button, .btn):hover{
  transform: translateY(-1px);
}

/* Mobile: keep it comfortable */
@media (max-width: 768px){
  body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content,.elementor-widget-theme-post-content),
  body.page-id-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content,.elementor-widget-theme-post-content){
    font-size: 18px !important;
    max-width: 100% !important;
    padding: 16px !important;
    border-radius: 16px !important;
  }
}
/* Post 3464 — mobile centering fix */
@media (max-width: 768px){

  /* Center the content wrapper and kill any left offset */
  body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content,.elementor-widget-theme-post-content){
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  /* If the theme grid/container is causing the shift, neutralize it */
  body.postid-3464 :is(#primary,.content-area,.site-main,.site-content,.container,.wrap,.content-wrap,.content-container,.inner,.row){
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Prevent any child blocks from exceeding the viewport */
  body.postid-3464 :is(.entry-content,.wp-block-post-content,.post-content,.post__content,.content) > *{
    max-width: 100% !important;
  }
}
/* Post 3464 — HARD reset for mobile image blocks (fix “shifted right”) */
@media (max-width: 782px){

  /* Kill any Gutenberg/theme “full/bleed” math that can push images off-center */
  body.postid-3464 .entry-content .wp-block-image,
  body.postid-3464 .entry-content figure.wp-block-image,
  body.postid-3464 .entry-content figure,
  body.postid-3464 .entry-content .wp-caption{
    width: 100% !important;
    max-width: 100% !important;

    /* This is the key: remove any forced/calc margins that shove it right */
    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Also neutralize “wide/full” alignment classes on this post */
  body.postid-3464 .entry-content .alignwide,
  body.postid-3464 .entry-content .alignfull{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  /* Center the actual image element and prevent inherited offsets */
  body.postid-3464 .entry-content img{
    display: block !important;
    max-width: 100% !important;
    height: auto !important;

    margin-left: auto !important;
    margin-right: auto !important;

    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
}
/* Fix mobile horizontal overflow + re-center images on page 3464 only */
body.page-id-3464{
  overflow-x: hidden;
}

@media (max-width: 782px){

  /* Make your big intro/FAQ sections never exceed viewport width */
  body.page-id-3464 #mch-blog-seo-intro,
  body.page-id-3464 #mch-blog-faq{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Prevent long URLs/text from forcing the layout wider */
  body.page-id-3464 #mch-blog-seo-intro,
  body.page-id-3464 #mch-blog-faq,
  body.page-id-3464 #mch-blog-seo-intro a,
  body.page-id-3464 #mch-blog-faq a{
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Hard center all images/figures inside the page content */
  body.page-id-3464 .entry-content figure,
  body.page-id-3464 .entry-content .wp-block-image,
  body.page-id-3464 .entry-content img{
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }
}
/* =========================================================
   Page 3464: hard reset for mobile centering + overflow
   (front-end only)
========================================================= */
body.page-id-3464 .entry-content,
body.page-id-3464 .entry-content *{
  box-sizing: border-box;
}

/* Kill “alignwide/full” negative margins that often shift mobile */
@media (max-width: 782px){
  body.page-id-3464 .entry-content .alignwide,
  body.page-id-3464 .entry-content .alignfull,
  body.page-id-3464 .entry-content .wp-block-group.alignwide,
  body.page-id-3464 .entry-content .wp-block-group.alignfull{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Make ALL media behave */
  body.page-id-3464 .entry-content img,
  body.page-id-3464 .entry-content figure,
  body.page-id-3464 .entry-content video,
  body.page-id-3464 .entry-content iframe{
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Stop text/excerpts from running off screen */
  body.page-id-3464 .entry-content p,
  body.page-id-3464 .entry-content li,
  body.page-id-3464 .entry-content a,
  body.page-id-3464 .entry-content .wp-block-latest-posts__post-excerpt,
  body.page-id-3464 .entry-content .wp-block-latest-posts__post-excerpt p{
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Latest Posts block: equal side padding + centered cards */
  body.page-id-3464 .wp-block-latest-posts__list.is-grid{
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.page-id-3464 .wp-block-latest-posts__list.is-grid > li{
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto 18px !important;
  }
}
/* =========================================================
   Page 3464: Desktop-only widen + larger typography
   (keeps your mobile fixes unchanged)
========================================================= */
@media (min-width: 783px){

  /* Wider content area on this page only */
  body.page-id-3464 .entry-content{
    max-width: 1180px !important;   /* try 1240px if you want even wider */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Slightly larger base text */
  body.page-id-3464 .entry-content{
    font-size: 19px;        /* was 18px global */
    line-height: 1.8;
  }

  /* Keep paragraphs/lists consistent */
  body.page-id-3464 .entry-content p,
  body.page-id-3464 .entry-content li{
    font-size: inherit;
    line-height: inherit;
  }

  /* Headings a bit larger */
  body.page-id-3464 .entry-content h1{ font-size: clamp(34px, 3vw, 48px); line-height: 1.15; }
  body.page-id-3464 .entry-content h2{ font-size: clamp(26px, 2.1vw, 36px); line-height: 1.2; }
  body.page-id-3464 .entry-content h3{ font-size: clamp(22px, 1.7vw, 30px); line-height: 1.25; }

  /* Latest Posts grid: make cards wider and text bigger on desktop */
  body.page-id-3464 .wp-block-latest-posts__list.is-grid{
    gap: 24px !important;
  }
  body.page-id-3464 .wp-block-latest-posts__post-title{
    font-size: 1.05em;
    line-height: 1.25;
  }
  body.page-id-3464 .wp-block-latest-posts__post-excerpt,
  body.page-id-3464 .wp-block-latest-posts__post-excerpt p{
    font-size: 0.98em;
    line-height: 1.7;
  }

  /* Featured images: make them fill the card cleanly */
  body.page-id-3464 .wp-block-latest-posts__featured-image img{
    width: 100%;
    height: auto;
    display: block;
  }
}
/* =========================================================
   Page 3464: Desktop-only wider content + bigger featured images
========================================================= */
@media (min-width: 783px){

  /* Wider page content */
  body.page-id-3464 .entry-content{
    max-width: 1280px !important;   /* bump up from 1180 */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Make Latest Posts grid cards/image areas feel larger */
  body.page-id-3464 .wp-block-latest-posts__list.is-grid{
    gap: 28px !important;
  }

  /* Bigger + taller featured images (cropped nicely) */
  body.page-id-3464 .wp-block-latest-posts__featured-image{
    width: 100%;
    margin: 0 0 14px !important;
  }

  body.page-id-3464 .wp-block-latest-posts__featured-image img{
    width: 100% !important;
    height: 240px !important;        /* taller thumbnails (try 220–300) */
    object-fit: cover !important;    /* crop instead of stretching */
    display: block;
    border-radius: 14px;
  }

  /* Optional: slightly larger titles/excerpts under images */
  body.page-id-3464 .wp-block-latest-posts__post-title{
    font-size: 1.1em;
    line-height: 1.25;
  }
  body.page-id-3464 .wp-block-latest-posts__post-excerpt,
  body.page-id-3464 .wp-block-latest-posts__post-excerpt p{
    font-size: 1.0em;
    line-height: 1.75;
  }
}
/* =========================================================
   Page 3464: Desktop-only — make the grid/cards + images bigger
   (keeps rounded corners)
========================================================= */
@media (min-width: 783px){

  /* Wider content area */
  body.page-id-3464 .entry-content{
    max-width: 1400px !important;   /* was 1280 */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 28px;
    padding-right: 28px;
  }

  /* Make Latest Posts “feel” less scrunched: fewer/wider columns automatically */
  body.page-id-3464 .wp-block-latest-posts__list.is-grid{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
    gap: 34px !important;
    align-items: start;
  }

  /* Ensure list items can grow */
  body.page-id-3464 .wp-block-latest-posts__list.is-grid > li{
    width: auto !important;
    max-width: none !important;
  }

  /* Bigger + taller featured images */
  body.page-id-3464 .wp-block-latest-posts__featured-image img{
    width: 100% !important;
    height: 320px !important;        /* try 300–380 */
    object-fit: cover !important;
    display: block;
    border-radius: 16px;             /* keep rounded edges */
  }

  /* Optional: slightly larger text so it matches the bigger cards */
  body.page-id-3464 .wp-block-latest-posts__post-title{
    font-size: 1.15em;
    line-height: 1.25;
  }
  body.page-id-3464 .wp-block-latest-posts__post-excerpt,
  body.page-id-3464 .wp-block-latest-posts__post-excerpt p{
    font-size: 1.02em;
    line-height: 1.75;
  }
}

/* OPTIONAL: on very large screens, allow 4 columns while staying roomy */
@media (min-width: 1400px){
  body.page-id-3464 .wp-block-latest-posts__list.is-grid{
    grid-template-columns: repeat(4, minmax(320px, 1fr)) !important;
  }
}
/* =========================================================
   Page 3464: Desktop widen + bigger Latest Posts cards/images
========================================================= */
@media (min-width: 783px){

  /* 1) Break out of the theme’s “constrained” content width */
  body.page-id-3464 .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
    max-width: 1400px !important;   /* increase/decrease as needed */
  }

  /* If your theme uses the classic wrapper too */
  body.page-id-3464 .entry-content{
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  /* 2) Latest Posts grid: force bigger cards */
  body.page-id-3464 ul.wp-block-latest-posts__list.wp-block-latest-posts.is-grid{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)) !important;
    gap: 34px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.page-id-3464 ul.wp-block-latest-posts__list.wp-block-latest-posts.is-grid > li{
    width: auto !important;
    max-width: none !important;
  }

  /* 3) Featured images: bigger + taller (keeps rounded edges) */
  body.page-id-3464 .wp-block-latest-posts__featured-image a{
    display: block;
  }
  body.page-id-3464 .wp-block-latest-posts__featured-image img{
    width: 100% !important;
    height: 340px !important;       /* try 320–420 */
    object-fit: cover !important;
    border-radius: 16px !important;
    display: block !important;
  }
}
/* =========================================================
   Page 3464: Desktop = wider container + 4-column grid (not huge)
========================================================= */
@media (min-width: 783px){

  /* Wider page, but not full-width */
  body.page-id-3464 .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
    max-width: 1240px !important;   /* adjust: 1180–1320 */
  }
  body.page-id-3464 .entry-content{
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* Force 4 columns */
  body.page-id-3464 ul.wp-block-latest-posts__list.wp-block-latest-posts.is-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;           /* space between cards */
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Make sure theme widths don’t collapse columns */
  body.page-id-3464 ul.wp-block-latest-posts__list.wp-block-latest-posts.is-grid > li{
    width: auto !important;
    max-width: none !important;
  }

  /* Bigger images, but not massive */
  body.page-id-3464 .wp-block-latest-posts__featured-image img{
    width: 100% !important;
    height: 220px !important;       /* adjust: 200–260 */
    object-fit: cover !important;
    border-radius: 16px !important;
    display: block !important;
  }

  /* Optional: tighten excerpt so cards don’t get too tall */
  body.page-id-3464 .wp-block-latest-posts__post-excerpt{
    margin-top: 10px !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
}
/* =========================================================
   Page 3464: Desktop = larger “cards” while keeping 4 columns
========================================================= */
@media (min-width: 783px){

  /* Slightly wider container so 4 bigger cards fit */
  body.page-id-3464 .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
    max-width: 1360px !important;   /* adjust: 1280–1440 */
  }
  body.page-id-3464 .entry-content{
    max-width: 1360px !important;
    margin: 0 auto !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  /* 4-column grid with a bit more breathing room */
  body.page-id-3464 ul.wp-block-latest-posts__list.wp-block-latest-posts.is-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 26px !important;
  }

  /* Card padding + subtle border/shadow (bigger feel) */
  body.page-id-3464 ul.wp-block-latest-posts__list.is-grid > li{
    padding: 14px !important;
    border-radius: 18px !important;
    border: 1px solid #e5e7eb !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  }

  /* Bigger featured images */
  body.page-id-3464 .wp-block-latest-posts__featured-image img{
    width: 100% !important;
    height: 260px !important;       /* adjust: 240–320 */
    object-fit: cover !important;
    border-radius: 16px !important;
    display: block !important;
  }

  /* Make text feel larger (title + excerpt) */
  body.page-id-3464 .wp-block-latest-posts__post-title{
    font-size: 1.05rem !important;  /* adjust: 1.0–1.15 */
    line-height: 1.25 !important;
    margin-top: 12px !important;
  }
  body.page-id-3464 .wp-block-latest-posts__post-excerpt,
  body.page-id-3464 .wp-block-latest-posts__post-excerpt p{
    font-size: 0.98rem !important;  /* adjust: 0.95–1.05 */
    line-height: 1.55 !important;
    margin-top: 10px !important;
  }
}
/* =========================================================
   Page 3464: Desktop grid = wider area + bigger cards (4 cols)
========================================================= */
@media (min-width: 783px){

  /* Widen ONLY the Latest Posts grid area (not the whole site) */
  body.page-id-3464 .wp-block-latest-posts.is-grid{
    max-width: 1680px !important;     /* try 1500–1800 */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* Keep 4 columns, but prevent “tiny” columns */
  body.page-id-3464 ul.wp-block-latest-posts__list.is-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(260px, 1fr)) !important;
    gap: 18px !important;            /* smaller gap = less scrunched */
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Bigger-feel cards without stealing width */
  body.page-id-3464 ul.wp-block-latest-posts__list.is-grid > li{
    padding: 16px !important;
    border-radius: 18px !important;
  }

  /* Make images bigger WITHOUT forcing a small fixed height */
  body.page-id-3464 .wp-block-latest-posts__featured-image a,
  body.page-id-3464 .wp-block-latest-posts__featured-image img{
    display: block !important;
    width: 100% !important;
  }

  body.page-id-3464 .wp-block-latest-posts__featured-image img{
    aspect-ratio: 4 / 3 !important;  /* makes them “taller” */
    height: auto !important;
    object-fit: cover !important;
    border-radius: 16px !important;
  }

  /* Title + excerpt larger */
  body.page-id-3464 .wp-block-latest-posts__post-title{
    font-size: 1.12rem !important;
    line-height: 1.25 !important;
    margin-top: 12px !important;
  }
  body.page-id-3464 .wp-block-latest-posts__post-excerpt,
  body.page-id-3464 .wp-block-latest-posts__post-excerpt p{
    font-size: 1.0rem !important;
    line-height: 1.6 !important;
  }
}
/* =========================================================
   Page 3464: Blog grid (Latest Posts) — clean, wider, larger cards
   Front-end only
========================================================= */
body:not(.wp-admin).page-id-3464{
  --mch-wide: 1480px;     /* overall grid max width on desktop */
  --mch-gap: 26px;
  --mch-radius: 16px;
  --mch-border: #e5e7eb;
  --mch-ink: #0f172a;
  --mch-muted: #6b7280;
}

/* Safety: prevent overflow from long strings */
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-title,
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt,
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt p{
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

/* Remove UL indentation + bullets */
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list{
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* ---------- Desktop: wider grid + bigger cards ---------- */
@media (min-width: 783px){

  /* Make the grid use real width even if parent is constrained */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid{
    width: 100% !important;
    max-width: none !important;
  }

  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: var(--mch-gap) !important;

    /* this is the “actual” max width you want */
    max-width: var(--mch-wide) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* Responsive step-down */
  @media (max-width: 1280px){
    body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid{
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
  }
  @media (max-width: 980px){
    body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid{
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  }

  /* Card styling */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid > li{
    min-width: 0 !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid var(--mch-border);
    border-radius: var(--mch-radius);
    overflow: hidden;                 /* keeps rounded corners on image */
    box-shadow: 0 10px 26px rgba(15,23,42,.08);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid > li:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15,23,42,.12);
  }

  /* Image: larger + taller feel */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image{
    margin: 0 !important;
  }
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image img{
    width: 100% !important;
    display: block !important;
    height: auto !important;
    aspect-ratio: 16 / 10;           /* makes thumbnails feel bigger */
    object-fit: cover !important;
  }

  /* Inner spacing for text */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-title,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-author,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-date,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Typography */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-title{
    margin: 12px 0 6px !important;
  }
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-title a{
    color: var(--mch-ink);
    text-decoration: none;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    display: block;
  }
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-date,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-author{
    color: var(--mch-muted);
    font-size: 13px;
    margin: 0 0 8px !important;
  }
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt{
    color: #374151;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 14px !important;
  }
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt p{
    margin: 0 !important;
  }
}

/* =========================================================
   Page 3464: FIX the real cause (constrained layout width)
   + keep 4 columns + bigger card media on desktop
   FRONT-END ONLY
========================================================= */
body:not(.wp-admin).page-id-3464{
  --p3464-wide: 1480px;   /* change to 1320–1600 */
}

/* 1) Override your global 72ch clamp on this page */
body:not(.wp-admin).page-id-3464 .entry-content{
  max-width: var(--p3464-wide) !important;
  width: min(var(--p3464-wide), 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* 2) OVERRIDE block-theme "constrained layout" that keeps everything skinny */
body:not(.wp-admin).page-id-3464 .is-layout-constrained{
  max-width: none !important;
}
body:not(.wp-admin).page-id-3464 .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width: var(--p3464-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 3) Desktop grid: keep 4 columns but prevent skinny cards */
@media (min-width: 783px){
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(260px, 1fr)) !important; /* prevents narrow cards */
    gap: 26px !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none !important;
  }

  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid > li{
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Bigger featured images without making them "full width single column" */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image img{
    width: 100% !important;
    height: clamp(170px, 12vw, 240px) !important; /* bigger/taller */
    object-fit: cover !important;
    display: block !important;
    border-radius: 14px;
  }
}

/* 4) Mobile: keep your centered padding behavior + prevent overflow */
@media (max-width: 782px){
  body:not(.wp-admin).page-id-3464 .entry-content{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-title,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt p{
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}
/* =========================================================
   Page 3464: HARD unlock theme wrapper width (FRONT-END ONLY)
========================================================= */
body:not(.wp-admin).page-id-3464{
  --p3464-wide: 1480px; /* 1320–1600 */
}

/* 1) Nuke common theme/container max-widths on this page */
body:not(.wp-admin).page-id-3464 :is(
  .wp-site-blocks,
  .site,
  .site-content,
  .content-area,
  .site-main,
  .main,
  .container,
  .container-fluid,
  .content-container,
  .site-container,
  .wrap,
  .wrapper,
  .inner-wrap,
  .row,
  .col,
  .ast-container,          /* Astra */
  .container-grid,         /* GeneratePress-ish */
  .inside-article,         /* GeneratePress-ish */
  .entry-content,
  .wp-block-group,
  .wp-block-group__inner-container,
  .is-layout-constrained
){
  max-width: none !important;
  width: 100% !important;
}

/* 2) Set the “real” readable width for the page content */
body:not(.wp-admin).page-id-3464 .entry-content{
  max-width: var(--p3464-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* 3) Keep Latest Posts grid 4 cols on desktop, responsive down */
@media (min-width: 783px){
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(260px, 1fr)) !important;
    gap: 26px !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none !important;
  }
}

/* 4) Bigger featured images on desktop (without making 1-column) */
@media (min-width: 783px){
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image img{
    width: 100% !important;
    height: clamp(170px, 12vw, 240px) !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 14px;
  }
}

/* 5) Mobile safety: centered padding + no text overflow */
@media (max-width: 782px){
  body:not(.wp-admin).page-id-3464 .entry-content{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt p,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-title{
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }
}
/* =========================================================
   Page 3464: equal-height cards (desktop) + clamp excerpt
========================================================= */
@media (min-width: 783px){

  /* Make each LI a “card” that stretches evenly */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid > li{
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  /* Keep image consistent (your existing sizing) */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image{
    margin-bottom: 10px;
  }

  /* Title/excerpt area grows, footer bits stick to bottom */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-title,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt{
    width: 100%;
  }

  /* Clamp excerpt so long text doesn’t make tall cards */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;   /* change to 2–4 */
    overflow: hidden !important;
    margin-top: 8px !important;
  }

  /* Push meta (date/author) to the bottom for uniform cards */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-date,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-author{
    margin-top: auto !important;
    padding-top: 10px;
  }
}
/* =========================================================
   Page 3464: stop featured images from cutting off text
   Option A (recommended): NO-CROP (contain) inside a fixed frame
========================================================= */
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image a{
  display:block;
  width:100%;
  aspect-ratio: 16 / 10;         /* keep cards consistent */
  overflow:hidden;
  border-radius: 16px;           /* keep your rounded edges */
  background:#f1f5f9;            /* subtle letterbox bg */
}

body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image img{
  width:100% !important;
  height:100% !important;
  object-fit: contain !important; /* FIX: no more chopping text */
  object-position: center !important;
  display:block;
}

/* ---------------------------------------------------------
   Option B (if you insist on cropping, but want top text safe):
   Uncomment this block and comment out object-fit:contain above.
--------------------------------------------------------- */
/*
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image img{
  object-fit: cover !important;
  object-position: 50% 20% !important; // bias toward top
}
/* =========================================================
   Page 3464: featured image fills the top of each card
   (no blank space above, no top cropping)
   front-end only
========================================================= */

/* Make each card a flex column so the image stays at the top */
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid > li{
  display: flex !important;
  flex-direction: column !important;
}

/* Remove any theme spacing that pushes the image down */
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image{
  margin: 0 0 12px !important;
  padding: 0 !important;
  order: -1 !important;                 /* force image first */
}

/* Remove extra top spacing on the link wrapper */
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image a{
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;            /* kills stray inline spacing */
}

/* No crop, but also no “blank top” */
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image img{
  width: 100% !important;
  height: auto !important;              /* keeps full image */
  display: block !important;
  object-fit: contain !important;       /* never crop */
  object-position: center !important;
  border-radius: 16px !important;
}

/* In case the theme sets a fixed height somewhere */
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image,
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image a,
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image img{
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}/* ==========================================
   Force header to be true full-width on desktop
   (Twenty Twenty-Five + block themes friendly)
========================================== */
@media (min-width: 783px){

  /* Make the header area ignore constrained wrappers */
  header.wp-block-template-part,
  header.wp-block-template-part > .wp-block-group,
  header.wp-block-template-part .wp-block-group.alignfull,
  header.wp-block-template-part .wp-site-blocks > header,
  header.wp-block-template-part .wp-site-blocks > header > .wp-block-group{
    width: 100% !important;
    max-width: 100% !important;
  }

  /* If the theme constrains via the main container, remove that constraint */
  body .wp-site-blocks > header,
  body .wp-site-blocks > header > *{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* True full-bleed for any header group marked alignfull */
  header.wp-block-template-part .alignfull{
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
}
/* =========================================================
   Page 1244: Header Guard (front-end only)
   Prevents any page CSS from pushing header past viewport
========================================================= */
body:not(.wp-admin).page-id-1244{
  overflow-x: clip;
}

body:not(.wp-admin).page-id-1244 .wp-site-blocks > header,
body:not(.wp-admin).page-id-1244 header,
body:not(.wp-admin).page-id-1244 .wp-block-template-part{
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Neutralize alignwide/alignfull negative margins INSIDE header only */
body:not(.wp-admin).page-id-1244 header .alignwide,
body:not(.wp-admin).page-id-1244 header .alignfull{
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Keep a small side padding so it doesn't touch edges */
body:not(.wp-admin).page-id-1244 header .is-layout-constrained{
  padding-left: clamp(14px, 2vw, 22px) !important;
  padding-right: clamp(14px, 2vw, 22px) !important;
  box-sizing: border-box;
}
/* Page 1244: prevent page content from shifting the header */
body.page-id-1244 { overflow-x: hidden; }
body.page-id-1244 .wp-site-blocks { overflow-x: hidden; }

/* Hard reset header positioning ONLY on this page */
body.page-id-1244 header.wp-block-template-part,
body.page-id-1244 .wp-site-blocks > header {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* Stop common “full/wide” offsets from affecting layout on this page */
body.page-id-1244 .entry-content .alignfull,
body.page-id-1244 .entry-content .alignwide,
body.page-id-1244 .entry-content .wp-block-group.alignfull,
body.page-id-1244 .entry-content .wp-block-group.alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* =========================================================
   Page 1244 — HARD CLAMP viewport width (fix header drifting)
   Front-end only
========================================================= */
body:not(.wp-admin).page-id-1244,
body:not(.wp-admin).page-id-1244 .wp-site-blocks,
body:not(.wp-admin).page-id-1244 main,
body:not(.wp-admin).page-id-1244 header.wp-block-template-part,
body:not(.wp-admin).page-id-1244 .wp-block-template-part{
  width: 100% !important;
  max-width: 100vw !important;
}

body:not(.wp-admin).page-id-1244{
  overflow-x: hidden !important; /* stop the page from becoming wider than the screen */
}

/* Neutralize alignfull/alignwide math that can create sideways overflow when nested */
body:not(.wp-admin).page-id-1244 .alignfull,
body:not(.wp-admin).page-id-1244 .alignwide{
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100vw !important;
}

/* Safety: any media/blocks can’t exceed the viewport */
body:not(.wp-admin).page-id-1244 img,
body:not(.wp-admin).page-id-1244 video,
body:not(.wp-admin).page-id-1244 iframe,
body:not(.wp-admin).page-id-1244 .wp-block-group,
body:not(.wp-admin).page-id-1244 .entry-content > *{
  max-width: 100% !important;
  box-sizing: border-box;
}
/* Page 1244 — add inner padding so header CONTENT isn’t on the edges (desktop) */
@media (min-width: 783px){
  body:not(.wp-admin).page-id-1244 header.wp-block-template-part > *,
  body:not(.wp-admin).page-id-1244 .wp-block-template-part > *{
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
  }
}

/* Optional: slightly more on large screens */
@media (min-width: 1200px){
  body:not(.wp-admin).page-id-1244 header.wp-block-template-part > *,
  body:not(.wp-admin).page-id-1244 .wp-block-template-part > *{
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
/* =========================================================
   Page 3464: HARD unlock theme wrapper width (FRONT-END ONLY)
========================================================= */
body:not(.wp-admin).page-id-3464{
  --p3464-wide: 1480px; /* 1320–1600 */
}

/* 1) Nuke common theme/container max-widths on this page */
body:not(.wp-admin).page-id-3464 :is(
  .wp-site-blocks,
  .site,
  .site-content,
  .content-area,
  .site-main,
  .main,
  .container,
  .container-fluid,
  .content-container,
  .site-container,
  .wrap,
  .wrapper,
  .inner-wrap,
  .row,
  .col,
  .ast-container,          /* Astra */
  .container-grid,         /* GeneratePress-ish */
  .inside-article,         /* GeneratePress-ish */
  .entry-content,
  .wp-block-group,
  .wp-block-group__inner-container,
  .is-layout-constrained
){
  max-width: none !important;
  width: 100% !important;
}

/* 2) Set the “real” readable width for the page content */
body:not(.wp-admin).page-id-3464 .entry-content{
  max-width: var(--p3464-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* 3) Keep Latest Posts grid 4 cols on desktop, responsive down */
@media (min-width: 783px){
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(260px, 1fr)) !important;
    gap: 26px !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none !important;
  }
}

/* 4) Bigger featured images on desktop (without making 1-column) */
@media (min-width: 783px){
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image img{
    width: 100% !important;
    height: clamp(170px, 12vw, 240px) !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 14px;
  }
}

/* 5) Mobile safety: centered padding + no text overflow */
@media (max-width: 782px){
  body:not(.wp-admin).page-id-3464 .entry-content{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt p,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-title{
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }
}
/* =========================================================
   Page 3464: equal-height cards (desktop) + clamp excerpt
========================================================= */
@media (min-width: 783px){

  /* Make each LI a “card” that stretches evenly */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__list.is-grid > li{
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  /* Keep image consistent (your existing sizing) */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image{
    margin-bottom: 10px;
  }

  /* Title/excerpt area grows, footer bits stick to bottom */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-title,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt{
    width: 100%;
  }

  /* Clamp excerpt so long text doesn’t make tall cards */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-excerpt{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;   /* change to 2–4 */
    overflow: hidden !important;
    margin-top: 8px !important;
  }

  /* Push meta (date/author) to the bottom for uniform cards */
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-date,
  body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__post-author{
    margin-top: auto !important;
    padding-top: 10px;
  }
}
/* Site-wide: add inner padding so header CONTENT isn’t on the edges (front-end only) */
@media (min-width: 783px){
  body:not(.wp-admin) header.wp-block-template-part > *,
  body:not(.wp-admin) .wp-block-template-part > *{
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
  }
}

/* Optional: slightly more on large screens */
@media (min-width: 1200px){
  body:not(.wp-admin) header.wp-block-template-part > *,
  body:not(.wp-admin) .wp-block-template-part > *{
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
/* Page 3464: remove the grey “frame” so only the image shows */
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image a{
  background: transparent !important;
  padding: 0 !important;
  aspect-ratio: auto !important;   /* stop forcing a fixed frame */
  display: block !important;
  border-radius: 0 !important;     /* no wrapper rounding */
  overflow: visible !important;
}

/* Put rounding back on the image itself (optional) */
body:not(.wp-admin).page-id-3464 .wp-block-latest-posts__featured-image img{
  border-radius: 16px !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;  /* keeps full image, no crop */
}
/* =========================================================
   SITE-WIDE CTA BUTTONS (front-end only)
   - Strong blue, bold white text, subtle lift animation
   - Hardens against theme/plugin overrides
========================================================= */

/* Base tokens (optional) */
:root{
  --cta-blue: #2563eb;
  --cta-blue-hover:#1e40af;
  --cta-radius: 12px;
  --cta-shadow: 0 10px 22px rgba(37,99,235,.22);
  --cta-shadow-hover: 0 14px 28px rgba(30,64,175,.28);
}

/* Target common CTA patterns */
body:not(.wp-admin) .wp-block-button__link,
body:not(.wp-admin) a.cta,
body:not(.wp-admin) a.cta-animate,
body:not(.wp-admin) .cta a,
body:not(.wp-admin) a.is-style-button,
body:not(.wp-admin) a.button,
body:not(.wp-admin) .button > a{
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .5rem !important;

  background: var(--cta-blue) !important;
  color: #fff !important;

  font-weight: 800 !important;
  text-decoration: none !important;
  border: 0 !important;
  border-radius: var(--cta-radius) !important;

  padding: 12px 18px !important;
  line-height: 1.15 !important;
  letter-spacing: .2px !important;

  box-shadow: var(--cta-shadow) !important;
  transform: translateZ(0) !important;

  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, filter .18s ease !important;
  cursor: pointer !important;
  white-space: normal !important;
  text-align: center !important;

  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Hover/focus */
body:not(.wp-admin) .wp-block-button__link:hover,
body:not(.wp-admin) a.cta:hover,
body:not(.wp-admin) a.cta-animate:hover,
body:not(.wp-admin) .cta a:hover,
body:not(.wp-admin) a.is-style-button:hover,
body:not(.wp-admin) a.button:hover,
body:not(.wp-admin) .button > a:hover{
  background: var(--cta-blue-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--cta-shadow-hover) !important;
}

body:not(.wp-admin) .wp-block-button__link:focus-visible,
body:not(.wp-admin) a.cta:focus-visible,
body:not(.wp-admin) a.cta-animate:focus-visible,
body:not(.wp-admin) .cta a:focus-visible,
body:not(.wp-admin) a.is-style-button:focus-visible,
body:not(.wp-admin) a.button:focus-visible,
body:not(.wp-admin) .button > a:focus-visible{
  outline: 3px solid rgba(37,99,235,.35) !important;
  outline-offset: 3px !important;
}

/* Active press */
body:not(.wp-admin) .wp-block-button__link:active,
body:not(.wp-admin) a.cta:active,
body:not(.wp-admin) a.cta-animate:active,
body:not(.wp-admin) .cta a:active,
body:not(.wp-admin) a.is-style-button:active,
body:not(.wp-admin) a.button:active,
body:not(.wp-admin) .button > a:active{
  transform: translateY(0px) scale(.99) !important;
  filter: brightness(.98) !important;
}

/* Ensure inner text/spans don’t recolor */
body:not(.wp-admin) .wp-block-button__link *,
body:not(.wp-admin) a.cta *,
body:not(.wp-admin) a.cta-animate *,
body:not(.wp-admin) .cta a *,
body:not(.wp-admin) a.is-style-button *,
body:not(.wp-admin) a.button *,
body:not(.wp-admin) .button > a *{
  color: #fff !important;
  text-decoration: none !important;
  font-weight: inherit !important;
}

/* Optional: full-width CTA utility (add class "is-full" to link/button if desired) */
body:not(.wp-admin) .wp-block-button__link.is-full,
body:not(.wp-admin) a.cta.is-full,
body:not(.wp-admin) a.cta-animate.is-full{
  width: 100% !important;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  body:not(.wp-admin) .wp-block-button__link,
  body:not(.wp-admin) a.cta,
  body:not(.wp-admin) a.cta-animate,
  body:not(.wp-admin) .cta a,
  body:not(.wp-admin) a.is-style-button,
  body:not(.wp-admin) a.button,
  body:not(.wp-admin) .button > a{
    transition: none !important;
  }
}
/* =========================================================
   SITE-WIDE: Force ALL CTA buttons to stay single-line
   (adds ellipsis if too long instead of wrapping)
========================================================= */

body:not(.wp-admin) .wp-block-button__link,
body:not(.wp-admin) a.cta,
body:not(.wp-admin) a.cta-animate,
body:not(.wp-admin) .cta a,
body:not(.wp-admin) a.is-style-button,
body:not(.wp-admin) a.button,
body:not(.wp-admin) .button > a{
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

/* Ensure inner spans/icons don’t force wrapping */
body:not(.wp-admin) .wp-block-button__link *,
body:not(.wp-admin) a.cta *,
body:not(.wp-admin) a.cta-animate *,
body:not(.wp-admin) .cta a *,
body:not(.wp-admin) a.is-style-button *,
body:not(.wp-admin) a.button *,
body:not(.wp-admin) .button > a *{
  white-space: nowrap !important;
}

/* Optional: if any CTA is display:block somewhere, keep it from stretching oddly */
body:not(.wp-admin) .wp-block-button,
body:not(.wp-admin) .wp-block-buttons{
  max-width: 100% !important;
}
/* =========================================================
   SITE-WIDE: safer responsive fixes (front-end only)
   - does NOT clip the whole page (keeps mobile menu working)
   - only normalizes "wide/full" blocks INSIDE post content
   - excludes page 1244 from the aggressive mobile resets
========================================================= */

body:not(.wp-admin) *,
body:not(.wp-admin) *::before,
body:not(.wp-admin) *::after{
  box-sizing: border-box;
}

/* Media always scales down */
body:not(.wp-admin) img,
body:not(.wp-admin) svg,
body:not(.wp-admin) video,
body:not(.wp-admin) iframe,
body:not(.wp-admin) embed,
body:not(.wp-admin) object{
  max-width: 100% !important;
  height: auto !important;
}

/* Keep long URLs from blowing out layout (content only) */
body:not(.wp-admin) :is(.entry-content, .wp-block-post-content) :is(p, li, a, h1, h2, h3, h4, h5, h6){
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Prevent horizontal scroll WITHOUT breaking mobile menus:
   clip ONLY inside content areas, not the whole body */
body:not(.wp-admin) :is(.entry-content, .wp-block-post-content){
  overflow-x: clip;
}

/* MOBILE: normalize wide/full blocks inside content only (NOT header) */
@media (max-width: 782px){

  /* Exclude page 1244 from the “hard reset” so your custom grid stays intact */
  body:not(.wp-admin):not(.page-id-1244) :is(.entry-content, .wp-block-post-content)
  :is(.alignwide, .alignfull, .wp-block-group.alignwide, .wp-block-group.alignfull){
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  /* Consistent mobile side padding for normal posts/pages (exclude 1244) */
  body:not(.wp-admin):not(.page-id-1244) :is(.entry-content, .wp-block-post-content){
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* =========================================================
   HEADER: make it a bit "longer" + add inner breathing room (site-wide)
   (does not change width rules—just padding)
========================================================= */

body:not(.wp-admin) .wp-site-blocks > :is(header, .wp-block-template-part){
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 14px;  /* “hair” of space */
  padding-right: 14px; /* “hair” of space */
}

@media (max-width: 782px){
  body:not(.wp-admin) .wp-site-blocks > :is(header, .wp-block-template-part){
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* =========================================================
   SITE-WIDE (mobile): pull logo + menu in from header edges
   Works for Twenty Twenty-Five header patterns.
========================================================= */

@media (max-width: 782px){

  /* Add a little inner gutter to the header container */
  body:not(.wp-admin) .wp-site-blocks > :is(header, .wp-block-template-part) :is(.wp-block-group, .wp-block-columns){
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box;
  }

  /* Logo block */
  body:not(.wp-admin) .wp-site-blocks > :is(header, .wp-block-template-part) .wp-block-site-logo{
    margin-left: 6px !important;
  }

  /* Site title (if used instead of logo) */
  body:not(.wp-admin) .wp-site-blocks > :is(header, .wp-block-template-part) .wp-block-site-title{
    margin-left: 6px !important;
  }

  /* Navigation (keeps hamburger/menu from touching the edge) */
  body:not(.wp-admin) .wp-site-blocks > :is(header, .wp-block-template-part) .wp-block-navigation{
    margin-right: 6px !important;
  }

  /* Navigation button (hamburger) */
  body:not(.wp-admin) .wp-site-blocks > :is(header, .wp-block-template-part) .wp-block-navigation__responsive-container-open{
    margin-right: 6px !important;
  }
}
/* =========================================================
   MIND CLARITY HUB — UNIFIED WIDTH + CONSISTENT SECTION STYLES
   Scope: only content inside .page-sandbox
========================================================= */
:root{
  --mch-content: 1000px;   /* normal readable width */
  --mch-wide: 1400px;      /* grids/cards width */
  --mch-pad: clamp(12px, 2.2vw, 24px);
  --mch-ink: #0f172a;
  --mch-muted: #475569;
  --mch-blue: #2563eb;
  --mch-blue-dark: #1e40af;
  --mch-line: #e5e7eb;
  --mch-band: #f8fafc;
  --mch-card: #ffffff;
}

/* 1) Outer sandbox always centered, never overflows */
.page-sandbox{
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: var(--mch-pad);
  padding-right: var(--mch-pad);
  box-sizing: border-box;
  overflow-x: clip;
}

/* 2) Everything inside uses border-box + wraps long strings */
.page-sandbox,
.page-sandbox *{
  box-sizing: border-box;
}
.page-sandbox :where(p, li, a, h1, h2, h3, h4, h5, h6, div, span){
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 3) “Readable” sections use one consistent width */
.page-sandbox :where(
  #books-page-intro,
  .books-seo-section,
  .mch-text,
  .faq-wrap
){
  width: min(100%, var(--mch-content)) !important;
  max-width: var(--mch-content) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Ensure the SEO sections look consistent */
.page-sandbox .books-seo-section{
  margin-top: 44px;
  padding: 28px 22px;
  border-top: 2px solid var(--mch-line);
  background: var(--mch-card);
  border-radius: 14px;
}
.page-sandbox .books-seo-section h2{
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 1.2rem + .6vw, 1.6rem);
  line-height: 1.25;
  color: #1d4ed8;
  font-weight: 850;
  text-align: left;
}
.page-sandbox .books-seo-section p,
.page-sandbox .books-seo-section li{
  color: var(--mch-muted);
  line-height: 1.8;
  font-size: 1.02rem;
}
.page-sandbox .books-seo-section ul{
  margin: 10px 0 0 18px;
}

/* 4) Wide sections (grids/tables) use the same “wide” width */
.page-sandbox :where(
  .books-grid,
  .resources-grid,
  .reviews-grid,
  .mch-table,
  #mch-more-wellness-guides .wellness-grid,
  .mch-wrap
){
  width: min(100%, var(--mch-wide)) !important;
  max-width: var(--mch-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 5) Books grid: stable columns, no overflow */
.page-sandbox .books-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

/* Card consistency */
.page-sandbox .book-card{
  background: var(--mch-card);
  border: 1px solid var(--mch-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.page-sandbox .book-card .cover img{
  width: 100%;
  height: 360px;
  object-fit: contain;
  display: block;
  padding: 14px;
  background: #fff;
}
.page-sandbox .book-card .body{
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.page-sandbox .book-card .blurb{
  flex: 1 1 auto; /* keeps CTA aligned */
  color: var(--mch-muted);
  line-height: 1.55;
}

/* CTA buttons (site-wide within sandbox) */
.page-sandbox a.btn,
.page-sandbox a.cta-animate{
  background: var(--mch-blue) !important;
  color: #fff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border-radius: 10px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;           /* prevents 2 lines */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;       /* if too long, it truncates */
  box-shadow: 0 10px 22px rgba(37,99,235,.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.page-sandbox a.btn:hover,
.page-sandbox a.cta-animate:hover{
  background: var(--mch-blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37,99,235,.24);
}

/* 6) Mobile: 2-up cards, readable padding, no text off sides */
@media (max-width: 600px){
  .page-sandbox{
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-sandbox .books-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-sandbox .book-card .cover img{
    height: 260px;
    padding: 10px;
  }

  .page-sandbox .books-seo-section{
    padding: 22px 16px;
  }
}
/* Apply to the specific block ID that is getting cut */
#YOUR-BLOCK-ID{
  width: 100dvw !important;
  max-width: 100dvw !important;

  margin-left: calc(50% - 50dvw) !important;
  margin-right: calc(50% - 50dvw) !important;

  overflow: visible !important;          /* IMPORTANT: do not use clip/hidden */
  position: relative;
}

/* Re-center readable content inside */
#YOUR-BLOCK-ID .wrap{
  max-width: 1400px;                     /* choose your desired width */
  margin: 0 auto;
  padding: 0 clamp(14px, 2.2vw, 26px);
}
/* Prevent theme wrappers from cutting off full-width sections */
.site, #page, .site-content, .content-area, .entry-content{
  overflow-x: visible !important;
}
 /* GLOBAL: centered header content with equal side spacing */
  :root{ --site-gutter: clamp(14px, 3vw, 28px); --site-max: 1180px; }

  header, .site-header, #masthead{
    width: 100% !important;
  }

  /* Common header inner containers (covers most WordPress themes) */
  header .container,
  header .wrap,
  header .inner,
  header .site-header-inner,
  .site-header .container,
  .site-header .wrap,
  .site-header .inner,
  .site-header .site-header-inner,
  #masthead .container,
  #masthead .wrap,
  #masthead .inner{
    max-width: var(--site-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box !important;
  }

  /* If the theme uses a full-width header but inner is missing, this still enforces gutters */
  header, .site-header, #masthead{
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box !important;
  }/* GLOBAL header centering fix (prevents left-shift / extra right whitespace) */
  :root{ --header-max: 1180px; --header-pad: clamp(14px, 3vw, 28px); }

  *, *::before, *::after{ box-sizing:border-box; }

  /* 1) Ensure the header bar itself spans the viewport and is not offset */
  header, .site-header, #masthead{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important; /* fixes some sticky header “shift” bugs */
    padding-left: 0 !important;  /* IMPORTANT: remove outer padding that can cause shift */
    padding-right: 0 !important;
  }

  /* 2) Center the header’s *inner* container (most WP themes) */
  header .container,
  header .wrap,
  header .inner,
  header .site-header-inner,
  .site-header .container,
  .site-header .wrap,
  .site-header .inner,
  .site-header .site-header-inner,
  #masthead .container,
  #masthead .wrap,
  #masthead .inner,
  /* Common theme containers */
  #masthead .ast-container,
  #masthead .elementor-container,
  #masthead .wp-block-group__inner-container,
  .site-header .ast-container,
  .site-header .elementor-container,
  .site-header .wp-block-group__inner-container{
    width: 100% !important;
    max-width: var(--header-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--header-pad) !important;
    padding-right: var(--header-pad) !important;
  }/* Force the WP post title (H1) to display on single posts */
body.single-post .entry-header,
body.single-post h1.entry-title,
body.single-post .wp-block-post-title,
body.single-post .post-title,
body.single-post .page-title{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  clip: auto !important;
  overflow: visible !important;
}

/* Spacing so it doesn't look jammed */
body.single-post .entry-header{
  margin: 0 0 16px !important;
}
body.single-post .entry-content,
body.single-post .content-area,
body.single-post main{
  overflow: visible !important;
}
/* =========================
   Single posts: widen content
   ========================= */
body.single-post .entry-content,
body.single-post .wp-block-post-content,
body.single-post .post-content,
body.single-post .post_content,
body.single-post .single-content,
body.single-post .content-area .site-main,
body.single-post main article .entry-content{
  max-width: 1000px !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* If your theme wraps content in a container, widen that container (single posts only) */
body.single-post .container,
body.single-post .content-container,
body.single-post .site-content,
body.single-post .site-main,
body.single-post .content-inner{
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Gutenberg “wide/full” blocks inside posts */
body.single-post .entry-content > .alignwide,
body.single-post .wp-block-post-content > .alignwide{
  max-width: 1100px !important; /* slightly wider than content */
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-post .entry-content > .alignfull,
body.single-post .wp-block-post-content > .alignfull{
  max-width: none !important;
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
body.single-post #primary,
body.single-post #content,
body.single-post .site-content .content-area,
body.single-post .site-content .site-main{
  max-width: 11000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Optional: mobile-friendly width */
@media (max-width: 600px){
  body.single-post .entry-content,
  body.single-post .wp-block-post-content{
    max-width: 100% !important;
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ================================
WIDEN SINGLE POSTS (content only)
Does NOT touch header/nav containers
================================ */

/* Block themes / Gutenberg: set sizes ONLY inside the post article */
body.single-post article.post,
body.single-post article.type-post,
body.single-post .wp-block-post{
  --wp--style--global--content-size: 1100px !important; /* change to 900px if you want */
  --wp--style--global--wide-size: 1400px !important;
}

/* Constrained layouts INSIDE the post only */
body.single-post article :where(.is-layout-constrained) > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width: var(--wp--style--global--content-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Classic themes: widen ONLY the actual post content */
body.single-post article .entry-content,
body.single-post article .wp-block-post-content{
  max-width: 1100px !important; /* change to 900px if you want */
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile padding */
@media (max-width: 700px){
  body.single-post article .entry-content,
  body.single-post article .wp-block-post-content{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
/* ================================
WIDEN SINGLE POSTS (content only)
Does NOT touch header/nav containers
================================ */

/* Block themes / Gutenberg: set sizes ONLY inside the post article */
body.single-post article.post,
body.single-post article.type-post,
body.single-post .wp-block-post{
  --wp--style--global--content-size: 1100px !important; /* change to 900px if you want */
  --wp--style--global--wide-size: 1400px !important;
}

/* Constrained layouts INSIDE the post only */
body.single-post article :where(.is-layout-constrained) > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width: var(--wp--style--global--content-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.single-post article :where(.is-layout-constrained) > .alignwide{
  max-width: var(--wp--style--global--wide-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.single-post article :where(.is-layout-constrained) > .alignfull{
  max-width: none !important;
  width: 100% !important;
}

/* Classic themes: widen ONLY the actual post content */
body.single-post article .entry-content,
body.single-post article .wp-block-post-content{
  max-width: 1100px !important; /* change to 900px if you want */
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile padding */
@media (max-width: 700px){
  body.single-post article .entry-content,
  body.single-post article .wp-block-post-content{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}@media (min-width: 1024px){
  body.single-post .site-content .container,
  body.page .site-content .container{
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
}
@media (min-width: 1024px){
  body main[style*="max-width"]{
    max-width: 1240px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }
}
/* Sitewide: readable text + comfortable container */
:root{
  --content-max: 1240px;   /* overall page content width */
  --text-max: 74ch;        /* ideal reading line length */
}

/* Overall content container (only affects the main content area) */
@media (min-width: 1024px){
  .site-content,
  .content-area,
  main,
  .entry-content{
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
  }
}

/* Paragraph readability: keep text from stretching too wide */
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote{
  max-width: var(--text-max);
}

/* Center the text column within wider sections */
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote{
  margin-left: auto;
  margin-right: auto;
}

/* Reasonable padding on all screens */
.site-content,
.content-area,
main{
  padding-left: 18px;
  padding-right: 18px;
}
@media (min-width: 1024px){
  .site-content,
  .content-area,
  main{
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Twenty Twenty-Five: sitewide readable content width */
:root{
  --wp--style--global--content-size: 740px; /* main text column */
  --wp--style--global--wide-size: 1200px;   /* alignwide blocks */
}

/* Optional: keep post content centered and consistent */
.wp-site-blocks{
  overflow-x: hidden;
}
/* TT5 / Block themes: widen SINGLE POSTS only (does not affect header/site layout) */
body.single-post{
  --wp--style--global--content-size: 760px; /* ideal readable text width */
  --wp--style--global--wide-size: 1280px;  /* wide sections (tables/featured blocks) */
}

/* Force constrained layouts to respect the vars above */
body.single-post .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull)){
  max-width: var(--wp--style--global--content-size) !important;
}

body.single-post .is-layout-constrained > :where(.alignwide){
  max-width: var(--wp--style--global--wide-size) !important;
}

/* Make sure the actual post content wrapper isn’t capped by another rule */
body.single-post .wp-block-post-content,
body.single-post .entry-content{
  max-width: var(--wp--style--global--content-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--site-gutter, 24px);
  padding-right: var(--site-gutter, 24px);
}
body.single-post{ --wp--style--global--wide-size: 1320px; }
/* ==========================================
   EXPAND CONTENT WIDTH — ONLY Page ID 827
   Safe (no full-bleed shifting)
   ========================================== */

body.page-id-827{
  /* Block-theme global widths (Twenty Twenty-Five honors these) */
  --wp--style--global--content-size: 980px;
  --wp--style--global--wide-size: 1320px;
}

/* Fallback: force constrained blocks to use the new sizes */
body.page-id-827 .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
  max-width: var(--wp--style--global--content-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* DO NOT touch .alignfull on this page */
/* ==========================================
   EXPAND CONTENT WIDTH — ONLY Page ID 827
   Wider (safe, no shifting)
   ========================================== */

body.page-id-827{
  --wp--style--global--content-size: 1120px;  /* was 980 */
  --wp--style--global--wide-size: 1480px;     /* was 1320 */
}

/* Fallback if theme ignores the vars */
body.page-id-827 .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
  max-width: var(--wp--style--global--content-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-827 .is-layout-constrained > .alignwide{
  max-width: var(--wp--style--global--wide-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep .alignfull untouched to avoid left-shift */
/* ==========================================
   PAGE 827 — WIDEN THE ACTUAL THEME CONTAINER
   (targets common Twenty Twenty-Five / block theme wrappers)
   ========================================== */

body.page-id-827{
  --mch-page-max: 1120px;   /* main content width (try 1080–1200) */
  --mch-wide-max: 1480px;   /* alignwide width (try 1360–1600) */
  --mch-gutter: clamp(16px, 3vw, 28px);
}

/* 1) Widen the main “container” wrappers (most themes) */
body.page-id-827 :is(main, .site-main, .wp-block-post-content, .entry-content){
  max-width: var(--mch-page-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--mch-gutter) !important;
  padding-right: var(--mch-gutter) !important;
  box-sizing: border-box !important;
}

/* 2) If your theme uses constrained layout, widen that constraint too */
body.page-id-827 .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
  max-width: var(--mch-page-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 3) Alignwide blocks (optional, keeps “wide” sections wider than body) */
body.page-id-827 .is-layout-constrained > .alignwide{
  max-width: min(var(--mch-wide-max), calc(100% - (var(--mch-gutter) * 2))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Do NOT touch .alignfull (prevents the “pushed left” problem) */
/* Page 827: widen a bit more */
body.page-id-827{
  --mch-page-max: 1200px;   /* was 1120px */
  --mch-wide-max: 1600px;   /* was 1480px */
  --mch-gutter: clamp(16px, 3vw, 30px);
}
/* Site-wide: widen ALL single blog posts (posts only) */
body.single-post{
  --mch-page-max: 1200px;   /* main content width */
  --mch-wide-max: 1600px;   /* alignwide blocks */
  --mch-gutter: clamp(16px, 3vw, 30px);
}

/* Default constrained blocks (normal content) */
body.single-post .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
  max-width: var(--mch-page-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--mch-gutter) !important;
  padding-right: var(--mch-gutter) !important;
  box-sizing: border-box !important;
}

/* Wide blocks */
body.single-post .is-layout-constrained > .alignwide{
  max-width: min(var(--mch-wide-max), calc(100% - (var(--mch-gutter) * 2))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--mch-gutter) !important;
  padding-right: var(--mch-gutter) !important;
  box-sizing: border-box !important;
}

/* Full-bleed blocks */
body.single-post .is-layout-constrained > .alignfull{
  max-width: none !important;
  width: 100% !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
/* Site-wide: widen ALL single posts (Twenty Twenty-Five / block themes) */
body.single-post{
  --wp--style--global--content-size: 1200px; /* main column */
  --wp--style--global--wide-size: 1600px;    /* alignwide */
}

/* Fallback (if some template parts ignore the variables) */
body.single-post .wp-block-post-content,
body.single-post main{
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(16px, 3vw, 30px) !important;
  padding-right: clamp(16px, 3vw, 30px) !important;
  box-sizing: border-box !important;
}

/* Keep wide blocks actually wider */
body.single-post .alignwide{
  max-width: 1600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* =========================================================
   FIX: Global Books Slider gets squeezed by the post container
   Break ONLY the slider out of the narrow column (single posts)
   ========================================================= */

body.single-post { overflow-x: hidden; } /* safety on big screens */

/* 1) Break the slider section out of the constrained column */
body.single-post #books-block{
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* 2) Re-center the slider content to a “wide” readable width */
body.single-post #books-block .wrap,
body.single-post #books-block #books-slider.wrap{
  width: min(1240px, calc(100vw - 32px)) !important; /* change 1240 -> 1280 if desired */
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
}

/* 3) Prevent swiper clipping shadows/arrows */
body.single-post #books-block .mySwiperBooksAll,
body.single-post #books-block .swiper,
body.single-post #books-block .swiper-wrapper{
  overflow: visible !important;
}
/* Full-bleed breakout ONLY for this slider */
#mch-books-neon{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  overflow: hidden; /* prevents page-level horizontal scroll */
}

/* Inner wrap aligns to your site’s “wide” width */
#mch-books-neon .mch-wrap{
  width: min(1240px, calc(100vw - 32px)); /* adjust 1240 -> 1280 if desired */
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Don’t let Swiper clip shadows/arrows */
#mch-books-neon .swiper,
#mch-books-neon .swiper-wrapper{
  overflow: visible !important;
}
/* ONLY this section breaks out safely */
#mch-books-neon{
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
#mch-books-neon .mch-wrap{
  width: min(1520px, calc(100vw - 32px));
  margin: 0 auto;
}
/* Page ID 1244 — slightly wider container (targeted) */
.page-id-1244{
  --mch-content: 1100px;   /* main readable width (try 940–1040) */
  --mch-wide: 1320px;     /* alignwide blocks */
  --mch-gutter: clamp(16px, 3vw, 28px);
}
/* =========================
Page 1244 — WIDE desktop, SAFE mobile
(Use ONE sizing system: WP global vars)
========================= */

body.page-id-1244{
  --wp--style--global--content-size: 980px !important; /* main readable width */
  --wp--style--global--wide-size: 1320px !important;  /* alignwide width */
}

/* Ensure constrained blocks follow the updated sizes */
body.page-id-1244 .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
  max-width: var(--wp--style--global--content-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile: make the “content-size” a viewport-based value so nothing can clip */
@media (max-width: 768px){
  body.page-id-1244{
    --wp--style--global--content-size: calc(100vw - 24px) !important;
    --wp--style--global--wide-size: calc(100vw - 24px) !important;
  }

  /* Kill any leftover full-bleed hacks that cause horizontal overflow on mobile */
  body.page-id-1244 .hero-fullbleed,
  body.page-id-1244 .fullbleed,
  body.page-id-1244 [class*="fullbleed"],
  body.page-id-1244 [style*="100vw"]{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }
}

/* Optional: if you still see a tiny horizontal scroll, keep this.
   If you see “content clipping”, REMOVE these two lines. */
body.page-id-1244{ overflow-x: hidden; }
body.page-id-1244 .site{ overflow-x: clip; }
/* =========================
SITEWIDE: Wide desktop, NOT-narrow mobile
========================= */

/* Desktop/tablet defaults */
:root{
  --site-gutter: clamp(14px, 3.6vw, 28px);

  /* your desktop widths */
  --wp--style--global--content-size: 980px;
  --wp--style--global--wide-size: 1320px;
}

/* Mobile: make the “content-size” track the viewport */
@media (max-width: 782px){
  :root{
    /* full usable width on phones, with comfortable padding */
    --wp--style--global--content-size: calc(100vw - (var(--site-gutter) * 2));
    --wp--style--global--wide-size: calc(100vw - (var(--site-gutter) * 2));
  }

  /* If your theme adds extra padding inside constrained blocks, normalize it */
  body .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box !important;
  }
}

/* =========================
MOBILE: force full-width readable column (fix “too narrow”)
========================= */
@media (max-width: 782px){

  /* 1) Override WP theme.json sizing on the element the theme actually uses */
  body,
  body .wp-site-blocks{
    --wp--style--global--content-size: calc(100vw - 32px) !important;
    --wp--style--global--wide-size:    calc(100vw - 32px) !important;
  }

  /* 2) Remove common “container” max-width limits */
  body .site,
  body .site-content,
  body .content-area,
  body .site-main,
  body .container,
  body .wrap,
  body .entry-content{
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* 3) Gutenberg constrained layout: make children actually expand */
  body .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
    max-width: calc(100vw - 32px) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body .is-layout-constrained > .alignwide{
    max-width: calc(100vw - 32px) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* 4) If you have any “readable width” rule like 60ch/72ch, neutralize it on mobile */
  body .entry-content{
    max-width: 100% !important;
  }

  /* Safety */
  html, body{ overflow-x: hidden !important; }
}
/* ===== Make single blog posts wider on mobile (no header) ===== */
@media (max-width: 802px){
  body.single-post{
    --post-gutter: 8px;  /* LOWER = wider (try 4px, 6px, 8px) */
    --post-bleed: 16px; /* HIGHER = wider (try 0px, 8px, 12px, 16px) */
  }

  /* Only the MAIN area gets small gutters (header untouched) */
  body.single-post main{
    padding-left: var(--post-gutter) !important;
    padding-right: var(--post-gutter) !important;
    box-sizing: border-box !important;
  }

  /* Widen the post content beyond the theme container (mobile only) */
  body.single-post main .entry-content,
  body.single-post main .wp-block-post-content{
    max-width: none !important;
    width: calc(100% + (var(--post-bleed) * 2)) !important;
    margin-left: calc(var(--post-bleed) * -1) !important;
    margin-right: calc(var(--post-bleed) * -1) !important;
    box-sizing: border-box !important;
  }

  /* Prevent right-side cut-off from any wide elements */
  body.single-post{
    overflow-x: hidden;
  }
  body.single-post main .entry-content *{
    max-width: 100% !important;
  }
}
/* ===== SINGLE BLOG POSTS: wider on mobile (does NOT touch header) ===== */
@media (max-width: 782px){

  /* 1) Reduce the theme’s side padding in the post CONTENT area */
  body.single-post .site-content,
  body.single-post .site-main,
  body.single-post .content-area,
  body.single-post .primary,
  body.single-post article{
    padding-left: 2px !important;   /* change this: 4px = widest */
    padding-right: 2px !important;  /* change this: 4px = widest */
    box-sizing: border-box !important;
  }

  /* 2) Kill any max-width caps on the post body */
  body.single-post .entry-content,
  body.single-post .wp-block-post-content{
    max-width: none !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* 3) If Gutenberg constrained layout is shrinking things, override it (content only) */
  body.single-post .site-main .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)),
  body.single-post .site-main .is-layout-constrained > .alignwide{
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 4) Safety */
  body.single-post{ overflow-x: hidden; }
}
/* ===== Single BLOG POSTS only: force wider content on mobile ===== */
@media (max-width: 900px){

  /* Only the post content area (not header) */
  html body.single-post main .entry-content,
  html body.single-post main .wp-block-post-content,
  html body.single-post main .wp-site-blocks .wp-block-post-content,
  html body.single-post main article .entry-content{
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 6px !important;   /* set to 4px to make it wider */
    padding-right: 6px !important;  /* set to 4px to make it wider */
    box-sizing: border-box !important;
  }

  /* Kill Gutenberg “constrained” max-width inside the post ONLY */
  html body.single-post main .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Safety: prevent right-edge clipping */
  html body.single-post{ overflow-x: hidden !important; }
}
/* ===== Single BLOG POSTS only: near full-width content on mobile ===== */
@media (max-width: 900px){

  /* make the post content almost edge-to-edge */
  html body.single-post main .entry-content,
  html body.single-post main .wp-block-post-content,
  html body.single-post main .wp-site-blocks .wp-block-post-content,
  html body.single-post main article .entry-content{
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding-left: 0 !important;   /* <- change to 2px / 4px if you want tiny gutters */
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* remove Gutenberg constrained paddings/widths inside the post */
  html body.single-post main .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* if your theme adds padding on the post container, zero it (content-area only) */
  html body.single-post main article,
  html body.single-post main .wp-block-group,
  html body.single-post main .wp-block-post{
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* prevent any right-edge cut-off */
  html body.single-post{ overflow-x: hidden !important; }
}
/* === BLOG POSTS (single-post) — make MOBILE content near full width (no header impact) === */
@media (max-width: 900px){

  /* 1) Give the MAIN area small gutters, not the header */
  html body.single-post main{
    padding-left: 10px !important;   /* set 0px for true full-bleed */
    padding-right: 10px !important;  /* set 0px for true full-bleed */
    box-sizing: border-box !important;
  }

  /* 2) Remove theme “container” max-widths inside MAIN only */
  html body.single-post main :is(
    .site-content, .content-area, #primary,
    .container, .wrap, .entry-content,
    .wp-site-blocks, .wp-block-post-content,
    article, .wp-block-group
  ){
    max-width: none !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* 3) Block themes: neutralize Gutenberg constrained layout inside MAIN only */
  html body.single-post main .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 4) Block themes: “global padding” wrappers often create the narrow feel */
  html body.single-post main :is(.has-global-padding, .wp-block-group.has-global-padding){
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 5) Safety: stop any tiny horizontal overflow from cutting the right edge */
  html body.single-post{ overflow-x: hidden !important; }
}
/* =========================
Page 1244 — wide desktop, full-ish mobile WITHOUT vw rounding
========================= */

/* Desktop widths (keep) */
body.page-id-1244{
  --wp--style--global--content-size: 980px !important;
  --wp--style--global--wide-size: 1320px !important;
}

/* Constrained blocks follow vars (keep) */
body.page-id-1244 .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
  max-width: var(--wp--style--global--content-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile: stop using vw; use 100% + padding gutters */
@media (max-width: 768px){

  /* Make the column basically full width */
  body.page-id-1244{
    --wp--style--global--content-size: 100% !important;
    --wp--style--global--wide-size: 100% !important;
  }

  /* Add safe gutters on the *constrained layout wrapper* */
  body.page-id-1244 .entry-content .is-layout-constrained{
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  /* Ensure children can’t exceed the padded wrapper */
  body.page-id-1244 .entry-content .is-layout-constrained > :where(:not(.alignfull)){
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Neutralize 100vw/fullbleed inside content only */
  body.page-id-1244 .entry-content .hero-fullbleed,
  body.page-id-1244 .entry-content .fullbleed,
  body.page-id-1244 .entry-content [class*="fullbleed"],
  body.page-id-1244 .entry-content [style*="100vw"]{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }
}

/* IMPORTANT: remove overflow clipping while testing (it hides the last pixels) */
/* body.page-id-1244{ overflow-x: hidden; } */
/* body.page-id-1244 .site{ overflow-x: clip; } */
@media (max-width:768px){
  body.page-id-1244 .swiper,
  body.page-id-1244 .swiper-wrapper{
    max-width: 100% !important;
    overflow: hidden !important;
  }
}
/* ==========================================
Page 1244 — MOBILE: stop right-edge clipping + near full-width
Put this LAST in your CSS.
========================================== */
@media (max-width: 768px){

  /* 1) Remove clipping that hides the last pixels */
  html, body,
  body.page-id-1244,
  body.page-id-1244 .site,
  body.page-id-1244 .wp-site-blocks,
  body.page-id-1244 .site-content,
  body.page-id-1244 main,
  body.page-id-1244 .entry-content{
    overflow-x: visible !important;
    max-width: 100% !important;
  }

  /* 2) Make the page “almost full width” with a safe gutter */
  body.page-id-1244 .wp-site-blocks,
  body.page-id-1244 .site-content,
  body.page-id-1244 main{
    width: 100% !important;
    margin: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  /* 3) Ensure inner content doesn’t keep a max-width that causes clipping/offset */
  body.page-id-1244 .entry-content,
  body.page-id-1244 .entry-content .is-layout-constrained{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;   /* gutter already applied above */
    padding-right: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  /* 4) Kill any 100vw/fullbleed elements that push layout */
  body.page-id-1244 [style*="100vw"],
  body.page-id-1244 .hero-fullbleed,
  body.page-id-1244 .fullbleed,
  body.page-id-1244 [class*="fullbleed"]{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }
}
@media (max-width: 768px){
  body.page-id-1244 .swiper{
    max-width: 100% !important;
    overflow: hidden !important;
  }
}
/* Page 1244 — mobile: nudge content LEFT a few px (tune the number) */
@media (max-width: 768px){

  body.page-id-1244{
    --mch-mobile-nudge: -8px; /* try -4px, -6px, -10px */
  }

  /* target content only (avoid header) */
  body.page-id-1244 main,
  body.page-id-1244 .site-main,
  body.page-id-1244 article,
  body.page-id-1244 .entry-content,
  body.page-id-1244 .is-layout-constrained{
    position: relative !important;
    left: var(--mch-mobile-nudge) !important;
  }

  /* give a touch more breathing room on the right edge */
  body.page-id-1244 .entry-content,
  body.page-id-1244 .is-layout-constrained{
    padding-right: 18px !important;
    padding-left: 12px !important;
    box-sizing: border-box !important;
  }
}
/* =========================
Page 1244 — WIDE desktop, FULL (near) width mobile, NO CLIPPING
Paste as ONE block
========================= */

/* Desktop widths */
body.page-id-1244{
  --wp--style--global--content-size: 980px !important; /* main readable width */
  --wp--style--global--wide-size: 1320px !important;  /* alignwide width */

  /* IMPORTANT: do NOT clip/hidden on this page (prevents “cut off” look) */
  overflow-x: visible !important;
}
body.page-id-1244 .site{
  overflow-x: visible !important;
}

/* Ensure constrained blocks follow the updated sizes */
body.page-id-1244 .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
  max-width: var(--wp--style--global--content-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.page-id-1244 .is-layout-constrained > .alignwide{
  max-width: var(--wp--style--global--wide-size) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* =========================================
   Page 1244 — MOBILE CENTER FIX (NO HEADER IMPACT)
   Put this at the VERY END
========================================= */

/* IMPORTANT:
   Delete/disable any earlier rules like:
   body.page-id-1244 .wp-site-blocks { ... }
   because that wrapper includes the header.
*/

@media (max-width: 768px){

  /* Keep horizontal clipping ONLY in the content area */
  body.page-id-1244 main,
  body.page-id-1244 main .entry-content{
    overflow-x: clip !important;
  }

  /* Stop 100vw-based sizing from shifting layout */
  body.page-id-1244{
    --wp--style--global--content-size: 100% !important;
    --wp--style--global--wide-size: 100% !important;
  }

  /* Re-center + give consistent gutters ONLY inside main content */
  body.page-id-1244 main .is-layout-constrained > :where(:not(.alignwide):not(.alignfull)){
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  body.page-id-1244 main .is-layout-constrained > .alignwide{
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  /* Your custom wrapper: ensure it stays centered */
  body.page-id-1244 main .page-sandbox{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }
}
/* =========================================
   Page 1244 — MOBILE: stop right-edge clipping
   Put this at the VERY END of your CSS
========================================= */
@media (max-width: 768px){

  /* Don’t clip content on mobile (clipping = “cut off”) */
  body.page-id-1244,
  body.page-id-1244 .wp-site-blocks,
  body.page-id-1244 main,
  body.page-id-1244 .entry-content,
  body.page-id-1244 .page-sandbox{
    overflow-x: visible !important;
  }

  /* Make sandbox nearly full-width but with safe padding */
  body.page-id-1244 .page-sandbox{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Hard guardrails: nothing inside can exceed the viewport */
  body.page-id-1244 .page-sandbox :where(
    section, div, article, figure, img, video, iframe, table, pre
  ){
    max-width: 100% !important;
  }

  /* Grids should be true 100% width on mobile */
  body.page-id-1244 .page-sandbox :where(
    .books-grid, .resources-grid, .reviews-grid, .wellness-grid
  ){
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Any “100vw” inside content = common overflow culprit */
  body.page-id-1244 .page-sandbox [style*="100vw"]{
    width: 100% !important;
  }
}

@media (max-width: 820px){
  body.page-id-1244 { outline: 3px solid red !important; }
}
/* STOP RIGHT-SIDE CLIPPING (theme/global overflow hidden) */
html, body,
#page, #site, .site, .site-content, .content-area,
main, .entry-content, .wp-site-blocks,
#primary, #content, .container, .wrap {
  overflow-x: visible !important;
  overflow: visible !important;
}

/* Safety: prevent wrappers from using 100vw (can cause edge issues with scrollbars) */
#page, #site, .site, .wp-site-blocks, .site-content, main, .entry-content {
  width: 100% !important;
  max-width: 100% !important;
}
/* FIX: Right-side clipping caused by theme overflow-x:hidden/clip on WP wrappers */
#wp--skip-link--target,
#wp--skip-link--target > .wp-block-group,
#wp--skip-link--target .entry-content,
#wp--skip-link--target .wp-block-post-content,
#wp--skip-link--target .has-global-padding,
#wp--skip-link--target .is-layout-constrained,
#wp--skip-link--target .is-layout-flow {
  overflow-x: visible !important;
  overflow: visible !important;
}

/* Prevent alignfull containers from doing 100vw math that causes edge issues */
#wp--skip-link--target .alignfull {
  width: 100% !important;
  max-width: 100% !important;
}

/* Ensure your sandbox never exceeds the viewport */
#mch-books-collection-page {
  width: 100% !important;
  max-width: 100% !important;
}
/* MOBILE: remove off-center shift on Books page */
@media (max-width: 768px){

  /* Stop WP global padding wrappers from double-padding */
  #wp--skip-link--target .has-global-padding{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Ensure the main content wrappers are truly centered */
  #wp--skip-link--target,
  #wp--skip-link--target .entry-content,
  #wp--skip-link--target .wp-block-post-content,
  #wp--skip-link--target .alignfull,
  #wp--skip-link--target .alignwide{
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Your sandbox: use symmetric gutter + no layout drift */
  #mch-books-collection-page{
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* If any inner sections inherit offsets, force center */
  #mch-books-collection-page .wrap,
  #mch-books-collection-page .content{
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* MOBILE: stop tiny horizontal overflow that makes the page look off-center */
@media (max-width: 768px){
  html, body{
    overflow-x: clip !important; /* use hidden if clip isn’t supported on your theme */
  }
}

/* MOBILE: only adjust full/wide alignment INSIDE the post content (not header/footer) */
@media (max-width: 768px){

  /* target the actual content area only */
  body .site-main .entry-content .alignfull,
  body .site-main .entry-content .wp-block-group.alignfull,
  body .site-main .entry-content .wp-block-post-content .alignfull{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  body .site-main .entry-content .alignwide{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
}
/* =========================================================
   MOBILE OFF-CENTER FIX (header/footer affected)
   Targets your real wrapper: #wp--skip-link--target
========================================================= */
@media (max-width: 782px){

  /* 1) Stop the tiny horizontal overflow that shifts the entire page */
  html, body{
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* Some themes use this wrapper for the whole site */
  .wp-site-blocks{
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* Your actual page content wrapper */
  #wp--skip-link--target{
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* 2) Prevent Gutenberg full/wide blocks from using 100vw math (common overflow cause) */
  #wp--skip-link--target .alignfull,
  #wp--skip-link--target .wp-block-group.alignfull,
  #wp--skip-link--target .wp-block-post-content.alignfull{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  #wp--skip-link--target .alignwide{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  /* 3) Remove double-padding inside your custom page container (keeps it visually centered) */
  #mch-books-collection-page{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* =========================================
PAGE 3464 ONLY — fix full-width text + grid shift
(works whether WP outputs page-id-3464 or postid-3464)
========================================= */
body.page-id-3464,
body.postid-3464{
  overflow-x: hidden; /* prevents 100vw/negative-margin blocks from shifting layout */
}

/* 1) Force the blog grid/query-loop area back into a centered container */
body.page-id-3464 .wp-block-query,
body.postid-3464 .wp-block-query,
body.page-id-3464 .wp-block-post-template,
body.postid-3464 .wp-block-post-template{
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
}

/* 2) Center the grid itself (prevents “pushed left” look) */
body.page-id-3464 .wp-block-post-template,
body.postid-3464 .wp-block-post-template{
  justify-content: center !important;
}

/* 3) Constrain the “top text” and “bottom text” blocks around the grid */
body.page-id-3464 .entry-content > :where(p,h1,h2,h3,.wp-block-heading,.wp-block-group,.wp-block-columns),
body.postid-3464 .entry-content > :where(p,h1,h2,h3,.wp-block-heading,.wp-block-group,.wp-block-columns){
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* 4) Neutralize any accidental “full-bleed breakout” rules on this page */
body.page-id-3464 .entry-content :where(.alignfull,.hero-fullbleed,.fullbleed),
body.postid-3464 .entry-content :where(.alignfull,.hero-fullbleed,.fullbleed){
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}
/* =========================================================
PAGE 3464 — HARD OVERRIDE (stops full-bleed/100vw breakout)
Use this when it “fixes for a split second” then snaps back.
Works for body.page-id-3464 OR body.postid-3464.
========================================================= */

/* 0) Safety: no horizontal layout shift on this page */
html body.page-id-3464,
html body.postid-3464{
  overflow-x: hidden !important;
}

/* 1) Constrain ONLY the main content column (not header/footer) */
html body.page-id-3464 :is(main, #primary, #content, .site-content, .content-area),
html body.postid-3464 :is(main, #primary, #content, .site-content, .content-area){
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
}

/* 2) Neutralize “full bleed” rules inside the content that cause the push-left */
html body.page-id-3464 .entry-content :is(.alignfull,[data-align="full"],.hero-fullbleed,.fullbleed),
html body.postid-3464 .entry-content :is(.alignfull,[data-align="full"],.hero-fullbleed,.fullbleed){
  width: auto !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* 3) Catch inline-style breakouts that JS/themes inject after load (100vw/50vw tricks) */
html body.page-id-3464 .entry-content :is([style*="100vw"],[style*="50vw"],[style*="translateX"],[style*="calc(50% - 50vw)"]),
html body.postid-3464 .entry-content :is([style*="100vw"],[style*="50vw"],[style*="translateX"],[style*="calc(50% - 50vw)"]){
  width: auto !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

/* 4) Force the Query Loop / blog grid back to centered */
html body.page-id-3464 :is(.wp-block-query,.wp-block-post-template,.wp-block-query-pagination),
html body.postid-3464 :is(.wp-block-query,.wp-block-post-template,.wp-block-query-pagination){
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

html body.page-id-3464 .wp-block-post-template,
html body.postid-3464 .wp-block-post-template{
  justify-content: center !important;
}

/* 5) The “top text” and “bottom text” around the grid: keep them in the same centered column */
html body.page-id-3464 .entry-content > :is(p,.wp-block-heading,.wp-block-group,.wp-block-columns,.wp-block-paragraph),
html body.postid-3464 .entry-content > :is(p,.wp-block-heading,.wp-block-group,.wp-block-columns,.wp-block-paragraph){
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
/* FIX: BULLET LISTS TOO CLOSE TO EDGE (mobile, single posts only) */
@media (max-width: 768px){

  body.single-post :is(
    .entry-content,
    .wp-block-post-content,
    .elementor-widget-theme-post-content .elementor-widget-container,
    .elementor-text-editor
  ) :is(ul, ol, .wp-block-list){
    /* left indent for bullets + RIGHT breathing room */
    padding-left: 1.35rem !important;
    padding-right: 1rem !important;

    /* stop any weird theme offsets */
    margin-left: 0 !important;
    margin-right: 0 !important;

    /* prevents long words/URLs inside lists from pushing to the edge */
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  body.single-post :is(
    .entry-content,
    .wp-block-post-content,
    .elementor-widget-theme-post-content .elementor-widget-container,
    .elementor-text-editor
  ) li{
    padding-right: 1rem !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }
}
/* Basic mobile text sizing + wrapping (safe) */
@media (max-width: 768px){
  .entry-content,
  .wp-block-post-content,
  .elementor-widget-theme-post-content,
  .elementor-text-editor{
    font-size: 17px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .entry-content h1, .wp-block-post-content h1{ font-size: 1.9rem; line-height: 1.2; }
  .entry-content h2, .wp-block-post-content h2{ font-size: 1.5rem; line-height: 1.25; }
  .entry-content h3, .wp-block-post-content h3{ font-size: 1.25rem; line-height: 1.3; }

  /* Lists: basic indent so bullets don’t sit on the edge */
  .entry-content ul, .entry-content ol,
  .wp-block-post-content ul, .wp-block-post-content ol{
    padding-left: 1.35rem;
    margin-left: 0;
  }
}
/* =========================
POSTS: mobile safe insets for text + bullet lists
Fixes lists touching/clipping at the edges (often caused by .alignfull / 100vw blocks)
========================= */

@media (max-width: 768px){

  /* 1) Give full-bleed blocks a safe inner padding on mobile */
  body.single-post .entry-content .alignfull,
  body.single-post .wp-block-post-content .alignfull{
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  /* 2) Ensure normal content never runs flush to the edge */
  body.single-post .entry-content,
  body.single-post .wp-block-post-content{
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* 3) Lists: consistent indent + right padding so text doesn’t hit edge */
  body.single-post .entry-content ul,
  body.single-post .entry-content ol,
  body.single-post .wp-block-post-content ul,
  body.single-post .wp-block-post-content ol{
    padding-left: 1.35rem !important;  /* bullet indent */
    padding-right: 12px !important;    /* keeps list text off right edge */
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  /* 4) List items: allow wrapping without overflow */
  body.single-post .entry-content li,
  body.single-post .wp-block-post-content li{
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }
}
/* Center + improve spacing for the main H1 title */
body.single .wp-block-post-title,
body.page .wp-block-post-title {
  text-align: center;
  margin: 18px auto 18px;
  line-height: 1.15;
}
/* Hard fix for “half video showing” caused by theme/builder clipping */
.yt-fix{
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  overflow: visible !important; /* key: stop cropping */
}

.yt-fix iframe{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
  max-width: 100% !important;
  max-height: none !important;  /* key: stop “half height” caps */
}.wp-block-embed__wrapper{
  overflow: visible !important;
}
.wp-block-embed iframe{
  width: 100% !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;
}
.mch-article-results > li {
  padding: clamp(.8rem,1.6vw,1.25rem);
  background: #fff;
  border: 1px solid #dcdeea;
  border-radius: .8rem;
}
@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;
}

/* 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; } }

/* 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;
}
:root :where(.wp-block-post-date){color: var(--wp--preset--color--accent-4);font-size: var(--wp--preset--font-size--small);}
:root :where(.wp-block-post-date a:where(:not(.wp-element-button))){color: var(--wp--preset--color--accent-4);text-decoration: none;}
:root :where(.wp-block-post-date a:where(:not(.wp-element-button)):hover){text-decoration: underline;}
:root :where(.wp-block-post-title a:where(:not(.wp-element-button))){text-decoration: none;}
:root :where(.wp-block-post-title a:where(:not(.wp-element-button)):hover){text-decoration: underline;}
:root :where(.wp-block-query-pagination){font-size: var(--wp--preset--font-size--medium);font-weight: 500;}
:root :where(.wp-block-site-title){font-weight: 700;letter-spacing: -.5px;}
:root :where(.wp-block-site-title a:where(:not(.wp-element-button))){text-decoration: none;}
:root :where(.wp-block-site-title a:where(:not(.wp-element-button)):hover){text-decoration: underline;}
:root :where(.wp-block-navigation){font-size: var(--wp--preset--font-size--medium);}
:root :where(.wp-block-navigation a:where(:not(.wp-element-button))){text-decoration: none;}
:root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover){text-decoration: underline;}
/*# sourceURL=global-styles-inline-css */
