/* Remove template promotions from every breakpoint, including after hydration. */
#main .framer-xkd1jv-container,
#__framer-badge-container {
  display: none !important;
}

/* Keep the rectangular footer logo fully visible inside its responsive frame.
   Override the inline object-fit: cover applied by Framer after hydration. */
#main footer .framer-xgs0fo-container video {
  object-fit: contain !important;
}

/* Hide the template author credit across all footer layouts. */
#main footer [data-framer-name="Made By Container"] {
  display: none !important;
}

/* Template vendor profiles are not AI-first social accounts. */
#main a[href*="instagram.com/Veloxthemes"],
#main a[href*="x.com/VeloxThemes"],
#main a[href*="2ddb0f50ddee91ef_Veloxthemes.html"],
#main a[href*="d637d0fd0dff4877_VeloxThemes.html"] {
  display: none !important;
}

/* Keep comparison columns legible and aligned on narrow screens. */
@media (max-width: 809.98px) {
  #main .framer-PrgG8 {
    width: 100% !important;
    min-width: 0;
  }
  #main .framer-PrgG8 > div {
    align-items: stretch !important;
    overflow: visible !important;
  }
  #main .framer-PrgG8 > div > div {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: 0 !important;
    height: auto !important;
    align-self: stretch !important;
  }
  #main .framer-PrgG8 .framer-p05Kw {
    box-sizing: border-box;
    width: 100% !important;
    height: 100% !important;
    min-height: 96px !important;
    padding: 14px 10px !important;
    justify-content: center !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  #main .framer-PrgG8 .framer-p05Kw > .framer-zrqw2r {
    display: none !important;
  }
  #main .framer-PrgG8 .framer-2ufxh {
    flex: none !important;
    width: 100% !important;
    min-width: 0;
  }
  #main .framer-PrgG8 .framer-text {
    font-size: 14px !important;
    line-height: 1.4 !important;
    letter-spacing: -0.02em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  #main .framer-PrgG8 > div:has(> div:only-child) .framer-p05Kw {
    min-height: 56px !important;
    padding: 14px 16px !important;
  }
  #main .framer-PrgG8 > div:has(> div:only-child) .framer-text {
    font-size: 16px !important;
    font-weight: 500 !important;
  }
  #main .framer-PrgG8 .framer-gjr5j5-container {
    width: 100% !important;
    flex: none !important;
  }
}

/* Use a branded URL so browsers do not reuse the template logo cache. */
#main .framer-PrgG8 .framer-gjr5j5-container img {
  content: url("./AI-first-horizontal.png");
  object-fit: contain !important;
}

/* Pricing: AI-first uses a fixed-price audit plus custom quotes, so hide the monthly/yearly switch and the guarantee row. */
[data-framer-name="Switch"], [data-framer-name="Guarantee"] { display: none !important; }

/* About: AI-first has no team yet, so hide the inherited team grid. */
[data-framer-name="Team"] { display: none !important; }

/* Home: no real clients, case studies, testimonials, or blog posts yet.
   Keep tools/seo.py in sync: the build also strips these from the static HTML. */
.framer-xbdevr, .framer-g1wevx, .framer-k4c47d, .framer-of9l8y { display: none !important; }

/* About: hide inherited metrics until there are real numbers. */
.framer-vue7yb, .framer-1k4p9ct { display: none !important; }

/* Navigation: only Services, About, and the contact button. Footer drops template pages. */
nav [class*="-container"]:has(> a[href$="/blog"]),
nav [class*="-container"]:has(> a[data-framer-name="Default"][href$="/contact"]),
nav [class*="-container"]:has(> a[data-framer-name="Big"][href$="/contact"]),
footer [class*="-container"]:has(> a[href$="/blog"]),
footer [class*="-container"]:has(> a[href$="/404"]) { display: none !important; }

/* Footer: remove placeholder phone, empty socials, the unwired newsletter form, and template credit. */
footer .framer-18t89fc, footer .framer-11g6orr, footer .framer-1kuo4u1, footer .framer-1vq5tll { display: none !important; }

/* Secondary pages reload the logo from the template CDN after hydration; pin the brand file. */
[data-framer-name="Replace this logo"] img {
  content: url("./AI-first-horizontal.png");
  object-fit: contain !important;
}

/* Footer: hiding the newsletter collapsed this column and clipped the email address. */
@media (min-width: 810px) {
  footer .framer-1ahjai9 { flex: none !important; min-width: 316px; }
}

/* FAQ: closed answers sit just below the row, so longer ones peek into view. */
[data-framer-name="Close"] [data-framer-name="Answer"] { visibility: hidden !important; }

/* Contact form result (assets/lead-form.js). */
.lead-note { width: 100%; box-sizing: border-box; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px; background: #1d1c20; color: #fff; font-family: "Inter", sans-serif; }
.lead-note p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.lead-note a { display: inline-block; margin-top: 8px; padding: 12px 20px; border-radius: 8px; background: #fff;
  color: #000; font-size: 14px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.lead-note-error { border-color: rgba(255, 120, 120, 0.6); }
