padding: 0 17px;
  margin-top: auto;
}

/* Tablet - 2 columns */

@media (max-width: 1024px) {
  body.blog .site-main,
  body.archive .site-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile - 1 column */

@media (max-width: 600px) {
  body.blog .site-main,
  body.archive .site-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.blog article.post .post-image img,
  body.archive article.post .post-image img {
    height: 190px;
  }
}

/* =============================================================
   OCT 2026 REPAIR — NAV RIGHT, FULL-WIDTH HOMEPAGE, GOLD CTA ONLY
   Preserves all earlier user-supplied CSS rules unmodified.
   ============================================================= */

/* A. Restore a right-aligned desktop header menu.
   The logo stays left; the menu fills and aligns to the right. */
@media (min-width: 769px) {
  html body #masthead .inside-header {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  html body #masthead #site-navigation,
  html body #masthead .main-navigation {
    order: 99 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  html body #masthead #site-navigation .inside-navigation,
  html body #masthead .main-navigation .inside-navigation {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body #masthead #site-navigation [id^="mega-menu-wrap-"] {
    margin-left: auto !important;
  }

  html body #masthead #site-navigation [id^="mega-menu-wrap-"] > ul.mega-menu,
  html body #masthead #site-navigation .main-nav > ul,
  html body #masthead .main-navigation .main-nav > ul {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin-left: auto !important;
  }
}

/* B. Remove GeneratePress article padding responsible for the
   approximately 40px white side gutters on the homepage only.
   Leave internal hero text containers untouched. */
body.home #page,
body.home .site-content,
body.home .content-area,
body.home .site-main,
body.home .inside-article,
body.home .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* C. Gold background ONLY on the final top-level navigation item,
   BOOK A FREE CALL; supports both GeneratePress and Max Mega Menu.
   No sizing or positioning changes to the other menu items. */
html body #masthead #site-navigation .main-nav > ul > li:last-child > a,
html body #masthead .main-navigation .main-nav > ul > li:last-child > a,
html body #masthead #site-navigation ul.mega-menu > li.mega-menu-item:last-child > a.mega-menu-link,
html body #masthead #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:last-child > a.mega-menu-link,
html body #masthead #mega-menu-wrap-primary-navigation #mega-menu-primary-navigation > li.mega-menu-item:last-child > a.mega-menu-link {
  background: #B79B67 !important;
  background-color: #B79B67 !important;
  background-image: none !important;
  color: #101A2B !important;
  text-shadow: none !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

html body #masthead #site-navigation .main-nav > ul > li:last-child > a:hover,
html body #masthead .main-navigation .main-nav > ul > li:last-child > a:hover,
html body #masthead #site-navigation ul.mega-menu > li.mega-menu-item:last-child > a.mega-menu-link:hover,
html body #masthead #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:last-child > a.mega-menu-link:hover,
html body #masthead #mega-menu-wrap-primary-navigation #mega-menu-primary-navigation > li.mega-menu-item:last-child > a.mega-menu-link:hover {
  background: #D4BF94 !important;
  background-color: #D4BF94 !important;
  color: #101A2B !important;
  opacity: 1 !important;
}

/* End of layout repair */

/* TRUTH PROPERTY — FIX WHITE GAP ABOVE HOMEPAGE HERO */

/* Remove GeneratePress spacing above homepage content */
body.home .site-main .inside-article {
    padding-top: 0 !important;
}

body.home .site-main .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home .entry-content > :first-child {
    margin-top: 0 !important;
}

/* Restore thin gold line under desktop header */
@media (min-width: 769px) {
    html body #masthead.site-header {
        border-bottom: 2px solid #C9A65C !important;
    }
}

/* Keep gold line on mobile */
@media (max-width: 768px) {
    html body #masthead.site-header .inside-header {
        border-bottom: 2px solid #C9A65C !important;
    }
}

/* ==============================================
   TRUTH PROPERTY — HOMEPAGE WHITE GAP REPAIR
   Desktop only
   Does not change navigation or booking button
   ============================================== */

@media (min-width: 769px) {

  /* Remove GeneratePress outer content spacing */
  body.home #content.site-content,
  body.home #primary.content-area,
  body.home #main.site-main,
  body.home .inside-article,
  body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Remove separate-container margins */
  body.home.separate-containers #main.site-main {
    margin: 0 !important;
  }

  /* Remove first Gutenberg block spacing */
  body.home .entry-content > :first-child {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
  }

  /* Keep the original gold header divider */
  html body.home #masthead.site-header {
    border-bottom: 2px solid #C9A65C !important;
  }

}

/* =====================================================
   TRUTH PROPERTY — FULL-WIDTH INNER PAGE FIX
   Removes unwanted white gaps and side margins
   Does NOT modify homepage, navigation or blog posts
   ===================================================== */

/* All standard WordPress pages except homepage */

body.page:not(.home) #page,
body.page:not(.home) .site,
body.page:not(.home) .site-content,
body.page:not(.home) .content-area,
body.page:not(.home) .site-main,
body.page:not(.home) .inside-article,
body.page:not(.home) .entry-content {

    width: 100% !important;
    max-width: none !important;

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

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

    box-sizing: border-box !important;
}

/* Remove GeneratePress spacing above page content */

body.page:not(.home) .site-content,
body.page:not(.home) .site-main,
body.page:not(.home) .inside-article,
body.page:not(.home) .entry-content {

    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove separate-container outer gaps */

body.page:not(.home).separate-containers .site-main,
body.page:not(.home).separate-containers .inside-article {

    margin: 0 !important;
}

/* Remove first block spacing */

body.page:not(.home) .entry-content > :first-child {

    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

/* Keep inner page content full width */

body.page:not(.home) .site-content .grid-container,
body.page:not(.home) .content-area .grid-container {

    max-width: none !important;
}

/* END INNER PAGE FULL-WIDTH FIX */

/* ==============================================
   TRUTH PROPERTY — LEFT ALIGN HERO HEADINGS
   Homepage and all standard service pages
   ============================================== */

/* Main page headings */
body.page .entry-content h1,

/* Hero section secondary headings */
body.page .entry-content .hero h2,
body.page .entry-content [class*="-hero"] h2,
body.page .entry-content .wp-block-cover h2 {

    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Keep headings aligned on mobile */
@media (max-width: 768px) {

    body.page .entry-content h1,
    body.page .entry-content .hero h2,
    body.page .entry-content [class*="-hero"] h2,
    body.page .entry-content .wp-block-cover h2 {

        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
}

/* ==============================================
   TRUTH PROPERTY — MOBILE HOMEPAGE WHITE GAP FIX
   Homepage only — does not affect other pages
   ============================================== */

@media (max-width: 768px) {

  /* Remove unwanted space above homepage hero */
  body.home #content.site-content,
  body.home #primary.content-area,
  body.home #main.site-main,
  body.home .inside-article,
  body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Remove GeneratePress container gap */
  body.home.separate-containers #main.site-main {
    margin-top: 0 !important;
  }

  /* Remove first block spacing */
  body.home .entry-content > :first-child {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
  }

  /* Keep the gold divider on the mobile header */
  body.home #masthead.site-header .inside-header {
    border-bottom: 2px solid #C9A65C !important;
  }

}