/* Hard overrides for rules the parent theme / Elementor kit set with higher specificity. */
header.fixed img,
footer.bg-white > div img {
  height: 3.5rem !important;
  width: auto !important;
  max-width: none;
}

/* Force Montserrat on body even if Elementor kit injects its own typography. */
body.montserrat_c8a2f84b-module__awjT3W__className {
  font-family: Montserrat, "Montserrat Fallback", system-ui, -apple-system, Segoe UI, Roboto, sans-serif !important;
}

/* Remove any global link underline/color Hello Elementor may still inject. */
header.fixed a,
footer.bg-white a { text-decoration: none; }

/* Ensure the fixed header sits above Elementor's z-index siblings. */
header.fixed { z-index: 9999; }

/* Single post content width + spacing inside our <main class="pt-24"> wrapper. */
main.pt-24 .entry-content,
main.pt-24 article { max-width: 100%; }

/* The Next.js footer uses <ul role="list"> expecting zero list styling — Tailwind v4
   preflight ships that, but WP's wp-block-library + Elementor frontend reintroduce
   default list padding/disc markers. Reset just inside our header/footer. */
header.fixed ul,
footer.bg-white ul,
header.fixed ol,
footer.bg-white ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer.bg-white li { margin: 0; }

/* Restore the Tailwind space-y-1.5 gap inside footer link columns — some Elementor kits
   inject line-height 1 on <a> which collapses it visually. */
footer.bg-white ul > li + li { margin-top: .375rem; }

/* Neutralise wp-block-library and Elementor list defaults that inflate footer column
   rhythm. On the Next.js homepage these rules never load, so the footer appears tight;
   on WP-native pages they bleed in and stretch each <li> to ~2rem of vertical gap. */
footer.bg-white ul, footer.bg-white ol { margin: 0; padding: 0; }
footer.bg-white li { margin: 0 !important; padding: 0 !important; line-height: 1.25 !important; }
footer.bg-white li a { display: inline; line-height: 1.25; padding: 0; margin: 0; }
footer.bg-white ul > li + li { margin-top: .375rem !important; }
footer.bg-white { line-height: 1.5; }
