/* Home only: place the existing editable Header above the Hero photograph. */
body.home .wp-site-blocks { position: relative; }

body.home .wp-site-blocks > header.wp-block-template-part {
  position: absolute;
  inset: 0 0 auto;
  z-index: 80;
  width: 100%;
  margin: 0 !important;
}

body.home .wp-site-blocks > header .tc-header-shell {
  width: min(1280px, calc(100% - 2 * clamp(24px, 3vw, 64px)));
  margin: 24px auto 0 !important;
  border-color: rgba(214, 219, 205, .9);
  background: rgba(255, 254, 251, .98);
  box-shadow: 0 10px 30px rgba(29, 43, 31, .10);
}

body.home .wp-site-blocks > header .tc-header-inner {
  min-height: 72px;
  padding-inline: 25px;
}

body.home .wp-site-blocks > header .tc-primary-nav .wp-block-navigation__container {
  column-gap: clamp(22px, 2vw, 28px);
}

body.home .wp-site-blocks > header .tc-header-cta .wp-block-button__link {
  min-height: 42px;
  padding-inline: 19px !important;
}

/* The heading starts below the pill without changing Hero text or imagery. */
body.home .tc-v2-hero-content { padding-top: 150px; }

@media (max-width: 1140px) {
  body.home .wp-site-blocks > header .tc-header-shell {
    width: calc(100% - 2 * clamp(18px, 3vw, 32px));
    margin-top: 18px !important;
  }
  body.home .wp-site-blocks > header .tc-header-inner { min-height: 64px; }
  body.home .tc-v2-hero-content { padding-top: 138px; }
}

@media (max-width: 768px) {
  body.home .tc-v2-hero-content { padding-top: 132px; }
}

@media (max-width: 600px) {
  body.home .wp-site-blocks > header .tc-header-shell {
    width: calc(100% - 24px);
    margin-top: 12px !important;
  }
  body.home .wp-site-blocks > header .tc-header-inner { min-height: 60px; }
  body.home .tc-v2-hero-content { padding-top: 108px; }
}
