/* Page-level only: lift the theme 1440px entry-content cap for full-bleed sections. */
body.page-id-5959 .entry-content.wp-block-post-content{max-width:none!important;}
body.page-id-5959 .entry-content > .elementor{max-width:none!important;}

/* ==================================================================
   v-unify (2026-07) — bring this page onto the BBIN hub / new homepage
   type spec so the three 2026 pages read as one system.
   Hub-measured: eyebrows and buttons = Bebas Neue 25px / 700 / 1.5px.
   !important is required because these widgets carry per-element
   typography settings that outrank a plain class body.page-id-5959.
   ================================================================== */
.hug-lp-eyebrow .elementor-heading-title {
  font-family: "Bebas Neue", Arial, sans-serif !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  line-height: .95 !important;
  text-transform: none !important;
}
.hug-btn .elementor-button {
  font-family: "Bebas Neue", Arial, sans-serif !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: none !important;
  border-radius: 4px !important;
  padding: 12px 26px !important;
  line-height: 1 !important;
}
/* body copy: 18px to match the homepage */
.hug-lp-body, .hug-lp-body p { font-size: 18px !important; }


/* The theme hides the page title with visibility:hidden, which still
   reserves ~37px of empty space above the hero. Collapse it. */
.hug-lp-page .entry-content > .wp-block-post-title,
body .wp-block-post-title[style], .wp-block-post-title { display: none !important; }


/* ===== v2.9 (Aug 4, 2026) - mobile: sticky section nav + portfolio filter tabs ===== */
@media (max-width: 767px) {

  /* Sticky section nav: one non-clipping scroll row instead of a ragged wrap.
     Covers the landing-page legacy section (0c68141) and the homepage /
     library-template container (.hug-home-nav-row). */
  body.elementor-page .elementor-element.elementor-element-0c68141 > .elementor-container,
  body.elementor-page .elementor-element.hug-home-nav-row > .e-con-inner {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  body.elementor-page .elementor-element.elementor-element-0c68141 > .elementor-container::-webkit-scrollbar,
  body.elementor-page .elementor-element.hug-home-nav-row > .e-con-inner::-webkit-scrollbar {
    width: 0 !important; height: 0 !important; display: none !important;
  }

  body.elementor-page .elementor-element.elementor-element-0c68141 > .elementor-container > .elementor-column,
  body.elementor-page .elementor-element.hug-home-nav-row > .e-con-inner > .elementor-element {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
  }

  body.elementor-page .elementor-element.elementor-element-0c68141 .elementor-button,
  body.elementor-page .elementor-element.hug-home-nav-row .elementor-button {
    white-space: nowrap !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    padding: 13px 14px !important;
  }

  /* Portfolio filter tabs: centered on mobile */
  body.elementor-page .pc-filters > .e-con-inner {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}


/* ===== v3.3 (Aug 4, 2026) - slide-in menu must outrank the sticky section nav ===== */
.rmp-container,
.rmp-container.rmp-menu-open { z-index: 999999 !important; }
.rmp_menu_trigger { z-index: 999998 !important; }
.hug-home-nav,
.hug-home-nav-row,
.hug-section-nav,
.elementor-element-0c68141 { z-index: 99990 !important; }


/* ===== v3.5 (Aug 5, 2026) - sticky section nav typography -> HUG pattern ===== */
.hug-home-nav .elementor-button,
.hug-home-nav .elementor-button-text,
.hug-section-nav .elementor-button,
.hug-section-nav .elementor-button-text,
.elementor-element-0c68141 .elementor-button,
.elementor-element-0c68141 .elementor-button-text {
  font-family: "Bebas Neue", Impact, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
}
