/* Site overrides: loaded last so these win over theme styles */

/* 1. Reduce the gap between the "View exhibitors list / Register" buttons and the product sectors */
.fl-node-acs40vklyg83 .two_col_section {
  padding-bottom: 30px !important;
}
.fl-node-9zib3wj85tny .product-buyers {
  padding-top: 45px !important;
}

/* 2. Hide the "Construction portfolio of events" bar and its pop-up */
section.portfolio_bar,
section.portfolio_bar .fixed-popup {
  display: none !important;
}

/* 3. Hide the menu bar (desktop nav, sticky nav and mobile hamburger) */
.wrap-main-nav,
.mob-btn.menu-icon,
.overlay-menu {
  display: none !important;
}

/* 4. Hero menu: Agenda and Why visit tiles were removed from index.html (hiding broke the tile borders) */

/* 5. Hide the VIEW AGENDA / VIEW SPEAKERS button row */
.fl-node-ez45lkoqhm63 {
  display: none !important;
}

/* 6. "Access Kenya's leading marketplace" image: keep its native 640x470 proportion */
.two_col_media_inner img[src$="day1-highlights.jpg"] {
  width: 100%;
  height: auto !important;
  aspect-ratio: 640 / 470;
  object-fit: contain;
}

/* 7. YouTube popup (replaces the theme's GLightbox/Plyr player for the Day 1 highlights video) */
.yt-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; }
.yt-modal.is-open { display: flex; }
.yt-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.85); cursor: pointer; }
.yt-modal__box { position: relative; width: min(960px, 92vw); aspect-ratio: 16 / 9; background: #000; }
.yt-modal__frame, .yt-modal__frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.yt-modal__close { position: absolute; top: -44px; right: 0; width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }

/* 8. Hide the mobile splash page: show the full desktop homepage on phones too */
@media (max-width: 767px) {
  .mobile-home-template,
  .slash-header {
    display: none !important;
  }
  .splash-hide {
    display: block !important;
  }
  .dmg-footer,
  footer {
    display: block !important;
  }
}

/* 9. Hide "See the headlines building Kenya's construction industry" section */
.fl-node-hylzteaj8bfg {
  display: none !important;
}
