/* Keep the imported Divi header consistent across per-page cached styles. */
@media (max-width: 980px) {
  header.et-l--header .et_pb_section_0_tb_header.et_pb_section {
    padding: 0 !important;
  }

  header.et-l--header .hdr-row.et_pb_row {
    width: calc(100% - 32px) !important;
    max-width: 1240px;
    padding: 12px 0 !important;
    margin: 0 auto !important;
    display: block;
  }

  header.et-l--header .et_pb_column_0_tb_header {
    width: 100% !important;
    margin: 0 !important;
    float: none;
  }

  header.et-l--header .et_pb_column_1_tb_header,
  header.et-l--header .et_pb_column_2_tb_header {
    display: none !important;
  }

  header.et-l--header .et_pb_code_0_tb_header,
  header.et-l--header .mt-menu {
    margin: 0 !important;
    padding: 0 !important;
  }

  header.et-l--header .mt-menu .et_pb_menu_inner_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
  }

  header.et-l--header .mt-menu .et_pb_menu__logo-wrap,
  header.et-l--header .mt-menu .et_pb_menu__logo {
    flex: 0 0 140px;
    width: 140px !important;
    max-width: 140px !important;
    margin: 0;
  }

  header.et-l--header .mt-menu .et_pb_menu__logo img {
    display: block;
    width: 140px !important;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
  }

  header.et-l--header .mt-menu .et_pb_menu__wrap {
    display: flex !important;
    flex: 1;
    justify-content: flex-end;
    margin: 0;
  }

  header.et-l--header .mt-menu .et_pb_menu__menu {
    display: none !important;
  }

  header.et-l--header .mt-menu .mobile_menu_bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  header.et-l--header .mt-menu .mobile_menu_bar::before,
  header.et-l--header .mt-menu .mobile_nav.opened .mobile_menu_bar::before {
    top: 0;
    color: #373f2f !important;
  }

  header.et-l--header .mt-menu .et_mobile_menu {
    top: 100%;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }
}
