/* kinnect-phase1-v1_2 — Stories/search keep; partnerships keep; FOOTER force dark */

/* ===== BLOG (Stories + search) ===== */
.page-wrapper.background-color-moss .section_blog-header,
.page-wrapper.background-color-moss .blog-header_wrapper {
  background-color: #f6f1e8 !important;
}
.kn-blog-search {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  max-width: 520px;
}
.kn-blog-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(28,25,23,0.14);
  background: #fff;
  font-size: 15px;
  color: #1c1917;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.kn-blog-search input::placeholder { color: #a8a29e; }
.kn-blog-search button {
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: #1c1917;
  color: #fafaf9;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.kn-blog-search button:hover { background: #292524; }
.blog-bottom .divider_component,
.blog-bottom [class*="divider"],
.page-wrapper.background-color-moss .blog-bottom .section_divider {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
}
.blog-bottom_accent-blur { display: none !important; }

/* ===== FOOTER — beat moss page + how-footer olive hammers ===== */
html body .page-wrapper.background-color-moss footer.footer_component,
html body .page-wrapper footer.footer_component,
html body footer.footer_component,
html body .footer_component,
html body .footer_component.how-footer,
html body .footer_component.app,
html body .footer_component.how,
html body .footer_component.mem,
html body .footer_component.how-footer.app.how.mem,
html body .section_footerv2,
html body [class*="footer_component"] {
  background: #1c1917 !important;
  background-color: #1c1917 !important;
  background-image: none !important;
  color: #fafaf9 !important;
  border-top: none !important;
}
html body .footer_component .padding-global,
html body .footer_component .container-large,
html body .footer_component .padding-vertical,
html body .footer_component .padding-vertical.is-footer,
html body .footer_component .padding-xxlarge,
html body .footer_component .footer_top-wrapper,
html body .footer_component .footer_bottom-wrapper,
html body .footer_component .footer_bottom-wrapper.black,
html body .footer_component.how-footer.app.how.mem .footer_top-wrapper,
html body .footer_component.how-footer.app.how.mem .footer_bottom-wrapper {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #fafaf9 !important;
}
/* shrink giant empty olive void */
html body .footer_component .padding-vertical.padding-xxlarge.is-footer {
  padding-top: 2.5rem !important;
  padding-bottom: 1.5rem !important;
}
html body .footer_component .padding-bottom.padding-xxlarge {
  padding-bottom: 1rem !important;
}
html body .footer_component .line-divider {
  border-color: rgba(255,255,255,0.12) !important;
  background-color: rgba(255,255,255,0.12) !important;
  opacity: 0.4 !important;
}
html body .footer_component a,
html body .footer_component .caps,
html body .footer_component .bold,
html body .footer_component .text-size-medium,
html body .footer_component .footer_credit-text,
html body .footer_component .footer_legal-link,
html body .footer_component .footer_contact-wrapper,
html body .footer_component .underline-link_component {
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9 !important;
  opacity: 1 !important;
}
/* invert black wordmark SVG to cream */
html body .footer_component .footer_logo-link svg path[fill="black"],
html body .footer_component .footer_logo-link svg path[fill="#000"],
html body .footer_component .footer_logo-link svg path[fill="#000000"],
html body .footer_component .footer_logo-link svg path {
  fill: #fafaf9 !important;
}
html body .footer_component .footer_social-link svg path,
html body .footer_component .footer_social-link svg [stroke] {
  stroke: #fafaf9 !important;
  fill: none !important;
}
html body .footer_component .icon-embed-small svg path[fill],
html body .footer_component .icon-embed-small svg [fill]:not([fill="none"]) {
  fill: #fafaf9 !important;
}

/* kn-footer inject (sits after </footer> on blog — paint as continuation strip) */
.kn-footer-strip,
.w-embed:has(.kn-footer-links),
.w-embed:has(.kn-footer-offer) {
  display: block !important;
  background: #1c1917 !important;
  color: #fafaf9 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 2rem !important;
}
.kn-footer-offer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px 12px;
  font-size: 13px;
  color: #d6d3d1 !important;
  font-family: ui-sans-serif, system-ui, sans-serif;
  background: transparent !important;
}
.kn-footer-links {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 8px 24px 32px !important;
  font-family: ui-sans-serif, system-ui, sans-serif;
  background: transparent !important;
}
@media (max-width: 767px) {
  .kn-footer-links { grid-template-columns: 1fr 1fr !important; }
}
.kn-footer-links h4 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a8a29e !important;
  font-weight: 600;
}
.kn-footer-links a {
  display: block;
  color: #fafaf9 !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.7;
}
.kn-footer-links a:hover { text-decoration: underline !important; }

/* kill residual FAQ/feature olive footer hammer when present */
html body .section_faq3.how.mem + .footer_component,
html body .section_faq3.how + .footer_component {
  background-color: #1c1917 !important;
}

/* ===== PARTNERSHIPS contrast ===== */
.main-wrapper.is-partnership,
.main-wrapper.is-partnership p,
.main-wrapper.is-partnership h1,
.main-wrapper.is-partnership h2,
.main-wrapper.is-partnership h3,
.main-wrapper.is-partnership h5 {
  color: #1c1917 !important;
}
.heading-style-h1.is-partnership-header {
  color: #1c1917 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #1c1917 !important;
}
.partnership-support-card-heading3,
.partnership-role_column-horiztonal-text,
.partnership-role_column-vertical-text,
.section_partnership-who h2,
.section_partnership-who h3,
.section_partnership-who p {
  color: #1c1917 !important;
  -webkit-text-fill-color: #1c1917 !important;
  opacity: 1 !important;
}
.main-wrapper.is-partnership .w-button,
.main-wrapper.is-partnership a[href*="demo"],
.main-wrapper.is-partnership a[href*="membership"] {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.kn-partner-fix {
  font-family: ui-sans-serif, system-ui, sans-serif;
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 24px 40px;
  color: #1c1917;
}
.kn-partner-fix h2 {
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 12px;
  color: #1c1917 !important;
  letter-spacing: -0.02em;
}
.kn-partner-fix p.lead {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #44403c !important;
  max-width: 40rem;
  margin: 0 0 24px;
}
.kn-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 700px) { .kn-partner-grid { grid-template-columns: 1fr; } }
.kn-partner-card {
  background: #fff;
  border: 1px solid rgba(28,25,23,0.1);
  border-radius: 16px;
  padding: 22px 22px 20px;
  box-shadow: 0 8px 24px rgba(28,25,23,0.04);
}
.kn-partner-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #1c1917 !important;
  font-family: Georgia, serif;
}
.kn-partner-card p {
  margin: 0;
  color: #57534e !important;
  line-height: 1.45;
  font-size: 15px;
}
.kn-partner-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1c1917;
  color: #fafaf9 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
}
.kn-partner-cta:hover { background: #292524; }
.kn-partner-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
}
@media (max-width: 700px) { .kn-partner-products { grid-template-columns: 1fr; } }
.kn-partner-products a {
  display: block;
  padding: 16px;
  border-radius: 14px;
  background: #f5f0e6;
  border: 1px solid rgba(28,25,23,0.08);
  color: #1c1917 !important;
  text-decoration: none !important;
  font-weight: 600;
}
.kn-partner-products a span {
  display: block;
  font-weight: 400;
  color: #57534e !important;
  font-size: 13px;
  margin-top: 4px;
}
.page-wrapper:has(.section_partnershipv2-header) .heading-style-h1,
.page-wrapper:has(.section_partnership-who) h1,
.page-wrapper:has(.section_partnership-who) h2,
.page-wrapper:has(.section_partnership-who) h3,
.page-wrapper:has(.section_partnership-who) p {
  color: #1c1917 !important;
  -webkit-text-fill-color: #1c1917 !important;
  opacity: 1 !important;
}
