/* User-requested compact header, inspired by the Big Jim's mobile arrangement. */
@media (max-width: 1239px) {
  .capture-mobile-header #Top_bar,
  .capture-mobile-header #Top_bar.is-sticky {
    height: auto !important;
    background: #fff;
  }
  .capture-mobile-header #Top_bar .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .capture-mobile-header #Top_bar .column.one {
    position: relative;
    display: block !important;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    align-items: center;
    gap: 8px;
    width: 100% !important;
    min-height: 66px;
    margin: 0 !important;
    padding: 10px 14px !important;
    box-sizing: border-box;
  }
  .capture-mobile-header #Top_bar .top_bar_left,
  .capture-mobile-header #Top_bar .menu_wrapper {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
  }
  .capture-mobile-header #Top_bar .top_bar_left::before,
  .capture-mobile-header #Top_bar .top_bar_left::after,
  .capture-mobile-header #Top_bar .column.one::before,
  .capture-mobile-header #Top_bar .column.one::after {
    content: none !important;
    display: none !important;
  }
  .capture-mobile-header #Top_bar .logo {
    grid-column: 1;
    grid-row: 1;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
  }
  .capture-mobile-header #Top_bar #logo,
  .capture-mobile-header #Top_bar.is-sticky #logo {
    display: flex !important;
    align-items: center;
    height: 46px !important;
    line-height: 46px !important;
    max-width: 114px;
    padding: 0 !important;
    margin: 0 !important;
  }
  .capture-mobile-header #Top_bar #logo img,
  .capture-mobile-header #Top_bar.is-sticky #logo img {
    width: 114px !important;
    max-width: 114px !important;
    height: auto !important;
    max-height: 46px !important;
    object-fit: contain;
  }
  .capture-mobile-header #Top_bar .top_bar_right {
    grid-column: 2;
    grid-row: 1;
    position: absolute !important;
    right: 66px;
    top: 11px;
    float: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }
  .capture-mobile-header #Top_bar .top_bar_right_wrapper {
    position: static !important;
    display: block;
    top: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }
  .capture-mobile-header #Top_bar .action_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px !important;
    margin: 0 !important;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .capture-mobile-header #Top_bar .responsive-menu-toggle {
    grid-column: 3;
    grid-row: 1;
    position: absolute !important;
    right: 14px !important;
    top: 11px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1;
  }
  .capture-mobile-header #Top_bar .responsive-menu-toggle i {
    font-size: 28px;
    line-height: 1;
  }
  .capture-mobile-header #Top_bar #menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: calc(100dvh - 66px);
    overflow-y: auto;
    margin: 0 !important;
    border-top: 1px solid #e6edf2;
    background: #fff;
    box-shadow: 0 12px 24px rgb(31 68 92 / 12%);
    z-index: 100;
  }
  .capture-mobile-header #Top_bar .secondary_menu_wrapper {
    display: none !important;
  }
}
/* Tighter phone CTA, vertically centered within the existing header. */
@media (max-width: 767px) {
  .capture-mobile-header #Top_bar .action_button {
    min-height: 36px;
    padding: 6px 8px !important;
  }
  .capture-mobile-header #Top_bar .top_bar_right {
    top: 15px;
  }
}
@media (max-width: 359px) {
  .capture-mobile-header #Top_bar .column.one {
    grid-template-columns: minmax(0, 1fr) auto 44px;
    padding-right: 10px !important;
    padding-left: 10px !important;
    gap: 6px;
  }
  .capture-mobile-header #Top_bar #logo,
  .capture-mobile-header #Top_bar #logo img {
    max-width: 96px !important;
    width: 96px !important;
  }
  .capture-mobile-header #Top_bar .action_button {
    font-size: 11px;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }
  .capture-mobile-header #Top_bar .responsive-menu-toggle {
    width: 44px !important;
    right: 10px !important;
  }
  .capture-mobile-header #Top_bar .top_bar_right { right: 60px; }
}
