/* Homepage mobile header: keep the logo and menu trigger on one stable row. */
@media (max-width: 991.98px) {
  .tp-header-area#header-sticky {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
  }

  .tp-header-area#header-sticky .container-wide {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .tp-header-area#header-sticky .tp-header-border-white {
    border: 0;
  }

  .tp-header-area#header-sticky .tp-header-spacing {
    padding: 18px 0;
  }

  .tp-header-area#header-sticky .tp-header-wrap > .row.tp-align-center {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin: 0;
  }

  .tp-header-area#header-sticky .col-xl-3,
  .tp-header-area#header-sticky .col-xl-4 {
    width: auto !important;
    max-width: none;
    flex: 0 0 auto;
  }

  .tp-header-area#header-sticky .col-xl-5 {
    display: none;
  }

  .tp-header-area#header-sticky .tp-header-logo img {
    display: block;
    width: 138px !important;
    max-width: 138px;
  }

  .tp-header-area#header-sticky .tp-header-cta {
    width: auto;
    margin: 0;
  }

  .tp-header-area#header-sticky .tp-header-bar {
    display: block;
  }

  .tp-header-area#header-sticky .tp-header-bar .header-sidebar-btn {
    width: 46px;
    height: 46px;
    margin: 0 !important;
    padding: 0;
  }

  .tp-header-area#header-sticky.header-sticky {
    position: fixed;
  }
}

@media (max-width: 479.98px) {
  .tp-header-area#header-sticky .container-wide {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .tp-header-area#header-sticky .tp-header-logo img {
    width: 126px !important;
    max-width: 126px;
  }
}
