/* Site overrides, loaded last for every (site) page.
   -------------------------------------------------------------------------
   Hero titles follow the Corporate Programmes display-4 type scale. */
.page-hero-title,
.home2-banner-section .banner-content :is(h1, h2),
.breadcrumb-section .banner-content h1 {
  font-family: var(--font-poppins);
  font-weight: 700 !important;
  line-height: 1.25 !important;
  font-size: calc(1.475rem + 2.7vw) !important;
  overflow-wrap: anywhere;
}
@media (min-width: 1200px) {
  .page-hero-title,
  .home2-banner-section .banner-content :is(h1, h2),
  .breadcrumb-section .banner-content h1 {
    font-size: 3.5rem !important;
  }
}

/* Partner "trusted by" strip — text treatment (swap each .partner-name
   <span> for an <img> logo when the client provides files). Keeps the
   existing marquee scroll. */
.partner-wrap-text .marquee__group { align-items: center; }
.partner-wrap-text .partner-name {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin: 0 8px;
  padding: 11px 24px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  color: #5b6670;
  background: #fff;
  border: 1px solid #e6e2db;
  border-radius: 999px;
  transition: color .15s, border-color .15s;
}
.partner-wrap-text .partner-name:hover {
  color: #c23d00;
  border-color: #fe5100;
}

/* ------------------------------------------------------------------
   Mobile homepage hero fix. The home2 banner has a fixed height
   (470px ≤576), absolutely-positioned content, and the search card
   (.filter-wrapper) pulled up -110px over it. On narrow phones the
   heading wrapped to the screen edges and the subtext fell under the
   card. Keep the content inset and ease the search form overlap.
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
  .home2-banner-section .banner-wrapper .banner-content-wrap {
    padding: 70px 0;
  }
  .home2-banner-section .banner-wrapper .banner-content-wrap .banner-content {
    padding-left: 18px;
    padding-right: 18px;
  }
  .home2-banner-section .banner-wrapper .banner-content-wrap .banner-content h1,
  .home2-banner-section .banner-wrapper .banner-content-wrap .banner-content h2 {
    margin-bottom: 12px;
  }
  .filter-wrapper { margin-top: -56px; }
}

@media (max-width: 576px) {
  .home2-banner-section .banner-wrapper .banner-content-wrap {
    padding: 60px 0;
  }
  .home2-banner-section .banner-wrapper .banner-content-wrap .banner-content p {
    font-size: 15px;
    line-height: 23px;
  }
  .filter-wrapper { margin-top: -44px; }
}

/* Section-title highlight links (e.g. "Popular Treks in <a>Upcoming Treks</a>")
   carry white-space:nowrap from style.css, so on narrow screens the link can't
   break and pushes the page into horizontal scroll. Let it wrap; desktop still
   fits on one line so the look is unchanged. */
.section-title h2 a,
.section-title h1 a { white-space: normal; overflow-wrap: break-word; }

.footer-section .footer-contact-wrap .contact-area {
  gap: 24px;
}

@media (max-width: 1399px) {
  .footer-section .footer-contact-wrap .contact-area .single-contact .content a {
    font-size: clamp(12px, 3.8vw, 17px);
  }
}
