
/* Mobile fix: footer social links were rendering at a fixed 60px font-size with no responsive override, causing text to overflow/cut off on phones. */
@media (max-width: 767px) {
  .footer-social span {
    font-size: 20px !important;
  }
  .footer-social a {
    gap: 10px !important;
  }
  .footer-social i {
    font-size: 20px !important;
  }
}


/* Mobile fix: logo image rendered at fixed desktop width (~403px), overflowing the header and getting clipped on phones. */
@media (max-width: 767px) {
  .navbar-brand.logo img.img-fluid {
    max-width: 160px !important;
    width: auto !important;
    height: auto !important;
  }
}

/* Mobile fix: "What I Do" service titles used a fixed 64px desktop font-size, causing giant cramped headlines and excessive page length on phones. */
@media (max-width: 767px) {
  .service-title h4 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
}
@media (max-width: 480px) {
  .service-title h4 {
    font-size: 22px !important;
  }
}

/* Mobile fix: stat counters (25 / 200 / 10) used a fixed 80px desktop font-size, way too large for mobile screens. */
@media (max-width: 767px) {
  .counter-num .count-number {
    font-size: 44px !important;
    line-height: 44px !important;
  }
}
@media (max-width: 480px) {
  .counter-num .count-number {
    font-size: 36px !important;
    line-height: 36px !important;
  }
}

/* Mobile fix: "Let's Work Together" CTA heading used a fixed 80px desktop font-size, overwhelming mobile screens. */
@media (max-width: 767px) {
  .textwidget.custom-html-widget h2 {
    font-size: 34px !important;
    line-height: 1.3 !important;
  }
}
@media (max-width: 480px) {
  .textwidget.custom-html-widget h2 {
    font-size: 28px !important;
  }
}

/* Mobile fix: scrolling marquee ticker text used a fixed 76px desktop font-size, too large/cramped for phones. */
@media (max-width: 767px) {
  .marquee-text span {
    font-size: 34px !important;
  }
}
@media (max-width: 480px) {
  .marquee-text span {
    font-size: 26px !important;
  }
}


/* Mobile fix: odometer count-up widget (Years/Businesses stats) calculates its sliding-digit animation based on desktop font metrics, so shrinking font-size alone caused overlapping/garbled digits on phones. Hide the animated ribbon on mobile and show a clean static number instead. */
@media (max-width: 767px) {
  .counter-num .count-number.odometer {
    position: relative !important;
  }
  .counter-num .count-number.odometer .odometer-inside {
    display: none !important;
  }
  .counter-num .count-number.odometer::before {
    content: attr(data-count);
    font-size: 44px;
    line-height: 44px;
    display: inline-block;
  }
}
@media (max-width: 480px) {
  .counter-num .count-number.odometer::before {
    font-size: 36px;
    line-height: 36px;
  }
}


/* Mobile fix: the "BreakThru Brand" page-transition loader text used a fixed 34px font-size with 6px letter-spacing, which was too wide for phone screens and caused a single letter (like the "u" in Thru) to wrap onto its own line. Force it to stay on one line and shrink to fit. */
@media (max-width: 767px) {
  .loader-wrap-heading {
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    max-width: 100vw !important;
  }
  .loader-wrap-heading .load-text {
    font-size: 22px !important;
    letter-spacing: 2px !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 480px) {
  .loader-wrap-heading .load-text {
    font-size: 17px !important;
    letter-spacing: 1px !important;
  }
}


/* Mobile fix: "Get My Free Marketing Audit" (and other themeht-btn CTAs) were wrapping onto two lines on phones because the inner .btn-text span allowed text wrapping even though the button had room to fit it on one line. */
@media (max-width: 767px) {
  .themeht-btn .btn-text {
    white-space: nowrap !important;
  }
}
@media (max-width: 400px) {
  .themeht-btn .btn-text {
    font-size: 14px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


/* Fix: footer logo was pointing to an old leftover file (2025/01/logo.svg) instead of the current Social Intel logo used in the header. Swap it via background-image so no template edit is needed. */
.footer-logo img.img-fluid {
  display: none !important;
}
.footer-logo { display: inline-block !important; width: 380px; max-width: 100%; height: 69px; background-image: url('https://socialintelai.com/wp-content/uploads/2026/10/social-intel-footer-logo.png'); background-repeat: no-repeat; background-position: left center; background-size: contain; }

/* Fix: "Subscribe to Social Intel" newsletter button was left-aligned with no breathing room. Center it and add spacing. */
.footer-newsletter-promo {
  text-align: center !important;
}
.footer-newsletter-promo .libutton {
  margin: 18px auto 0 !important;
  padding: 12px 28px !important;
  width: auto !important;
  min-width: 220px;
  height: auto !important;
}


/* Fix: header logo swap (BreakThru Brand -> Social Intel with Kelly Stark) */
.navbar-brand.logo img.img-fluid { display: none !important; }
.navbar-brand.logo {
  display: inline-block !important;
  width:230px; height:96px;
  background-image: url('https://socialintelai.com/wp-content/uploads/2026/10/social-intel-signature-logo.png');
  background-repeat: no-repeat; background-position: left center; background-size: contain;
}

/* Home hero: stretch Kelly's featured photo full width + close the gap above "Your Marketing Isn't Broken" */
.home .page-content .post-thumbnail { width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; margin-bottom: 0 !important; }
.home .page-content .post-thumbnail img { display: block; width: 100%; max-width: none; height: clamp(420px, 38vw, 720px); object-fit: cover; object-position: center 25%; }
.home .elementor-section.banner2-video { padding-top: 50px !important; }
@media (max-width: 767px) {
  .home .page-content .post-thumbnail img { height: 115vw; object-position: 50% 20%; }
  .home .elementor-section.banner2-video { padding-top: 28px !important; }
}
