.ttg-main-nav .wp-block-navigation__container > li:nth-child(2) > a::after { content: none !important; }
/* Body + html bg = brand off-white so scrollbar gutter is invisible */
html,body{background:#FAFAF7 !important;}
/* Nav: breathing room between menu and CTA buttons */
.ttg-main-nav .wp-block-navigation__container > li:last-child{margin-right:18px;}
.wp-block-navigation .wp-block-navigation-item__content{padding-left:6px;padding-right:6px;}
/* Custom HTML pages: kill entry padding so sections go edge-to-edge */
body.page-id-30 .entry-content,
body.page-id-32 .entry-content,
body.page-id-398 .entry-content,
body.page-id-27 .entry-content{padding-left:0 !important;padding-right:0 !important;max-width:none !important;}
/* And make their full-bleed wrappers reset margin so they fill body */
body.page-id-30 .tt-fc,body.page-id-32 .tt-ft,body.page-id-398 .tt-ty{max-width:none !important;width:100% !important;margin-left:0 !important;margin-right:0 !important;}


/* === Slim mobile nav === */
@media (max-width: 781px) {
  /* Tighten vertical padding on the nav row */
  header.wp-block-template-part .wp-block-group.is-content-justification-space-between {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  /* Shrink wordmark font size */
  header.wp-block-template-part a.ttg-wordmark {
    font-size: 18px !important;
  }
  /* Shrink custom logo image */
  header.wp-block-template-part img.custom-logo {
    max-height: 26px !important;
    width: auto !important;
  }
  /* Compact Get Started CTA */
  header.wp-block-template-part a.ttg-getstarted {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    font-size: 13px !important;
  }
}

/* === Remove beige band below nav (applies all breakpoints) === */
.ttg-root {
  margin-top: 0 !important;
}

/* === Mobile: center copy + reorder Get Started to far right === */
@media (max-width: 781px) {
  /* Center-justify all page copy */
  .ttg-root p,
  .ttg-root h1,
  .ttg-root h2,
  .ttg-root h3,
  .ttg-root h4,
  .ttg-root .wp-block-paragraph,
  .ttg-root .wp-block-heading {
    text-align: center !important;
  }

  
  
  
}

/* === Mobile nav: Get Started to far right, remove person circle === */
@media (max-width: 781px) {
  /* Move ttg-header-cta (signin + getstarted) AFTER the hamburger */
  header.wp-block-template-part .wp-block-group.is-nowrap.is-layout-flex > nav {
    order: 1 !important;
  }
  header.wp-block-template-part .wp-block-group.is-nowrap.is-layout-flex > .ttg-header-cta {
    order: 2 !important;
  }
  /* Within CTA: person icon first, Get Started last (far right) */
  header.wp-block-template-part .ttg-header-cta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }
  header.wp-block-template-part .ttg-signin {
    order: 1 !important;
  }
  header.wp-block-template-part .ttg-getstarted {
    order: 2 !important;
  }
  /* Remove circle / border from person icon */
  header.wp-block-template-part .ttg-signin {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    outline: none !important;
  }
}