/* Habitat beta layout corrections (free, ours) — TT25 chrome around Divi markup */
.page .wp-block-post-title,
.single-product .wp-block-post-title { display: none; }
.page main.wp-block-group,
.page .entry-content,
.page .wp-block-post-content { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
.page main.wp-block-group { margin-top: 0 !important; margin-bottom: 0 !important; }
/* TT25 constrains entry-content children to content-size: release our Divi wrappers */
.page .entry-content > *,
.page main > *,
.page #page-container,
.page #et-boc,
.page #et-main-area { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
/* keep Woo functional pages readable */
.page.woocommerce-page .entry-content { max-width: var(--wp--style--global--content-size, 1200px) !important; margin-left: auto !important; margin-right: auto !important; }
/* Divi slider framework (absent from some split critical files): one slide visible */
.et_pb_slider .et_pb_slide { display: none; float: left; margin-right: -100%; position: relative; width: 100%; }
.et_pb_slider .et_pb_slide:first-child { display: list-item; }
/* fullwidth sections carry no padding in Divi (framework rule missing from splits) */
.et_pb_fullwidth_section { padding-top: 0 !important; padding-bottom: 0 !important; }
/* mobile-menu duplicates: hide mobile nav chrome on desktop (their responsive CSS wasn't captured) */
@media (min-width: 981px) {
  #et_mobile_nav_menu, .et_mobile_nav_menu, .et_pb_menu--style-left_aligned.et_pb_menu--mobile { display: none !important; }
}
/* scroll-triggered entrance animations never fire without full Divi init: keep content visible */
.et_animated { opacity: 1 !important; transform: none !important; }
/* mobile: static hero + single-line top bar */
@media (max-width: 767px) {
  .habitat-hero { min-height: 340px !important; }
  .habitat-hero-box { padding: 22px 18px !important; margin: 0 14px !important; }
  .habitat-hero-title { font-size: 30px !important; }
  header .et_pb_column_empty { display: none !important; }
  header .et_pb_row_0_tb_header { display: flex !important; flex-wrap: nowrap !important; justify-content: flex-end !important; }
  header .et_pb_row_0_tb_header .et_pb_column { width: auto !important; flex: 0 0 auto !important; margin-bottom: 0 !important; }
  header .et_pb_text_0_tb_header, header .et_pb_text_1_tb_header { font-size: 12px !important; white-space: nowrap !important; }
  header .et_pb_text_0_tb_header a, header .et_pb_text_1_tb_header a { white-space: nowrap !important; }
  /* mobile top-bar instance (row_1): same single-line treatment */
  header .et_pb_row_1_tb_header { display: flex !important; flex-wrap: nowrap !important; }
  header .et_pb_row_1_tb_header .et_pb_column { width: auto !important; flex: 1 0 auto !important; margin-bottom: 0 !important; }
  header .et_pb_text_2_tb_header, header .et_pb_text_3_tb_header { font-size: 12px !important; white-space: nowrap !important; }
  header .et_pb_text_2_tb_header a, header .et_pb_text_3_tb_header a { white-space: nowrap !important; }
  /* mobile dark top bar: ensure it holds its links (kill overlap pull-up) */
  header .et_pb_section_1_tb_header { display: block !important; background: #000 !important; padding: 8px 0 !important; margin: 0 !important; }
  header .et_pb_section_2_tb_header { margin-top: 0 !important; }
}
