/* Body / site background */
body,
.site,
.site-main,
.wp-site-blocks {
  background-color: #FAF9F4;
}

/* Content background fix */
article.content-bg {
  background-color: #FAF9F4 !important;
  box-shadow: none !important;
}

/* Hide page hero section */
.entry-hero.page-hero-section {
  display: none !important;
}

/* Footer middle section background */
.site-middle-footer-wrap {
  background-color: #1A1A1A !important;
}

/* Footer bottom section background */
.site-bottom-footer-wrap {
  background-color: #1A1A1A !important;
}

/* Footer copyright text color */
.site-bottom-footer-wrap .site-info,
.site-bottom-footer-wrap .footer-html {
  color: #FAF9F4 !important;
}

/* Hide WordPress/Kadence footer credits */
.site-info .powered-by-link,
.site-info a[href*="kadencewp"],
.site-info a[href*="wordpress.com"],
.footer-html a[href*="wordpress"],
.footer-html a[href*="kadence"],
.credit-text a[href*="kadence"],
.credit-text a[href*="wordpress"] {
  display: none !important;
}

/* === CENTERED MASTHEAD === */

/* Center the header rows */
.site-header .site-header-row,
.site-header .site-header-inner-wrap,
.site-header .header-main-inner-wrap,
.site-header .header-bottom-inner-wrap {
  text-align: center;
  justify-content: center !important;
}

/* Brand / site title block - centered */
.site-branding {
  display: block !important;
  text-align: center;
  width: 100%;
  padding: 20px 0 20px;
  justify-content: center !important;
}

.site-branding p.site-title,
.site-branding .site-title {
  text-align: center;
  width: 100%;
  display: block;
}

/* Custom masthead typography */
.custom-masthead {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -2.5px;
  font-size: 72px;
  color: #1A1A1A;
  white-space: nowrap;
  text-align: center;
}

.custom-masthead a {
  text-decoration: none;
  color: inherit;
}

.custom-masthead .brick {
  color: #7A2620;
}

/* Hide stacked mobile version on desktop */
.custom-masthead .mobile-masthead {
  display: none;
}

/* Navigation row - centered, single line */
.header-navigation,
.primary-navigation,
.site-header-section-center,
.site-header-section-end,
.site-header-section-start {
  justify-content: center !important;
}

.header-navigation .menu,
.primary-navigation ul {
  justify-content: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  border-top: 1px solid #CFCDC2;
  padding-top: 14px;
  margin-top: 8px;
}

.header-navigation .menu > li > a {
  letter-spacing: 0.5px !important;
  font-size: 12px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  white-space: nowrap !important;
}

.header-navigation .menu {
  flex-wrap: nowrap !important;
}

/* FL span color (fallback) */
.site-title a span,
p.site-title span.brick {
  color: #7A2620 !important;
}

/* Tablet sizing */
@media (max-width: 1140px) {
  .custom-masthead {
    font-size: 60px;
    letter-spacing: -2px;
  }
}

@media (max-width: 1024px) {
  .custom-masthead {
    font-size: 48px;
    letter-spacing: -1.5px;
  }
}

/* Mobile: stacked masthead replaces single-line */
@media (max-width: 600px) {
  .custom-masthead .desktop-masthead {
    display: none;
  }
  .custom-masthead .mobile-masthead {
    display: block;
    font-size: 24px;
    letter-spacing: -0.8px;
    line-height: 0.92;
  }
  .custom-masthead .mobile-masthead .line-1 {
    color: transparent;
    -webkit-text-stroke: 1.2px #1A1A1A;
    text-stroke: 1.2px #1A1A1A;
    display: block;
  }
  .custom-masthead .mobile-masthead .line-2 {
    color: #1A1A1A;
    display: block;
  }
  @supports not (-webkit-text-stroke: 1px black) {
    .custom-masthead .mobile-masthead .line-1 {
      color: #1A1A1A;
      opacity: 0.4;
      -webkit-text-stroke: initial;
    }
  }
}

/* Hide native Kadence site branding - replaced by custom masthead */
.site-branding a.brand {
  display: none !important;
}

/* Fix: Override WordPress block theme overflow:clip that hides page sections */
.wp-site-blocks { overflow: visible !important; }
.site.wp-site-blocks { overflow: visible !important; }

/* Fluent Forms — Field Notes Signup button */
#field-notes-signup .fluentform .ff-btn-submit,
#field-notes-signup .fluentform button[type="submit"],
#field-notes-signup .ff-el-group .ff-btn.ff-btn-submit {
  background-color: #1F5F5B !important;
  color: #FAF9F4 !important;
  font-family: Oswald, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}

#field-notes-signup .fluentform .ff-btn-submit:hover,
#field-notes-signup .fluentform button[type="submit"]:hover,
#field-notes-signup .ff-el-group .ff-btn.ff-btn-submit:hover {
  background-color: #164541 !important;
}
.fluentform .ff-el-group {
  margin-bottom: 12px;
}
.fluentform input[type="email"],
.fluentform input[type="text"] {
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  padding: 12px 16px !important;
  border: 1px solid #CFCDC2 !important;
  border-radius: 0 !important;
  width: 100% !important;
  background: #FFFFFF !important;
  color: #1A1A1A !important;
}

/* Homepage: Remove Kadence default content-area top margin (sections have their own padding) */
.home .content-area { margin-top: 0 !important; }
.home .entry-content-wrap { padding-top: 0 !important; }
.home .entry { padding-top: 0 !important; }

/* ── Correction 1: Tighten letter-spacing on uppercase Oswald headings/buttons ── */

/* Headings on homepage */
.page-id-62 h1,
.page-id-62 h2,
.page-id-62 h3,
.page-id-62 .wp-block-heading,
.page-id-62 .kt-block-heading,
.page-id-62 .kadence-row-layout-wrap h2,
.page-id-62 .kadence-row-layout-wrap h3 {
  letter-spacing: -0.5px !important;
}

/* Buttons - tighten tracking */
.page-id-62 .wp-block-button__link,
.page-id-62 .kb-button,
.page-id-62 .kt-button,
.page-id-62 a[style*="letter-spacing:2px"],
.page-id-62 a[style*="letter-spacing: 2px"] {
  letter-spacing: 1px !important;
  padding: 14px 28px !important;
}

/* Eyebrows keep wide letter-spacing */
.page-id-62 p[style*="letter-spacing:3px"],
.page-id-62 p[style*="letter-spacing: 3px"] {
  letter-spacing: 3px !important;
}

/* Start Here card H3 - prevent narrow-column wrapping */
.page-id-62 section h3 {
  letter-spacing: -0.3px !important;
  word-spacing: -1px;
}

/* Neighborhood name labels - tight tracking */
.page-id-62 p[style*="letter-spacing:2px"],
.page-id-62 p[style*="letter-spacing: 2px"] {
  letter-spacing: 1px !important;
}

/* ── Correction 6: YouTube placeholder 16:9 aspect ratio ── */
.page-id-62 .watch-placeholder {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
}

/* ── Correction A: Neighborhood card typography hierarchy ── */

/* Neighborhood NAME (e.g., SUNBRIDGE) - dominant */
.page-id-62 div[style*="padding:20px 24px 24px"] > p:nth-child(1) {
  font-size: 22px !important;
  line-height: 1.1 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 4px !important;
}

/* Character NAME (e.g., THE EARLY ADOPTER) - subordinate */
.page-id-62 div[style*="padding:20px 24px 24px"] > p:nth-child(2) {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  line-height: 1.2 !important;
  margin-bottom: 0 !important;
  opacity: 0.85;
}

/* Description body text - breathing room */
.page-id-62 div[style*="padding:20px 24px 24px"] > p:nth-child(3) {
  margin-top: 12px !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

/* Fluent Forms: fix selector mismatch where label_placement: "hidden" stores
   .ff-el-form-hidden in the DOM but the plugin's stylesheet targets
   .ff-el-form-hide_label. This rule covers all forms site-wide. */
.fluentform div.ff-el-form-hidden > .ff-el-input--label {
  display: none;
}

/* Defensive rule: even when labels are hidden, suppress any asterisk
   pseudo-element that might attach via .ff-el-is-required when the
   parent group has label_placement: "hidden". */
.fluentform div.ff-el-form-hidden .ff-el-is-required::after,
.fluentform div.ff-el-form-hidden .asterisk-right::after {
  display: none !important;
  content: none !important;
}

/* H3 letter-spacing fix - tightens H3 subheads sitewide */
h3,
.entry-content h3,
.wp-block-heading.h3,
h3.wp-block-heading {
  letter-spacing: -0.5px !important;
}

/* Field Notes signup — soften form field backgrounds */
#field-notes-signup .ff-el-form-control,
#field-notes-signup input[type="text"],
#field-notes-signup input[type="email"] {
  background-color: #1A3E3A !important;
  border: 1px solid #2E6560 !important;
  color: #FAF9F4 !important;
}

#field-notes-signup input::placeholder {
  color: #8A8A8A !important;
}
/* Force nav font-weight — override Kadence */
#primary-menu > li > a,
#primary-menu > li > a span,
.main-navigation ul#primary-menu li a,
.header-menu-container ul li a {
  font-weight: 400 !important;
}
