/* =========================================================
   benniethompson.com: responsive fixes (2026-11-18)
   Linked from every page AFTER the inline styles.
   ========================================================= */

/* 1) Header: use the mobile menu from 901px to 1199px.
   The site switches to the menu button only at 900px; between
   901px and ~1180px the full nav doesn't fit, labels wrap and
   Donate is pushed off-screen. These rules repeat the site's
   own <=900px header rules. The existing menu script already
   toggles .is-open on <header>. */
@media (min-width: 901px) and (max-width: 1199px) {
  .bt-header .bt-header-bar { flex-wrap: wrap; gap: 12px; }
  .bt-header .bt-menu-btn { display: block; }
  .bt-header .bt-header-cta { order: 2; }
  .bt-header .bt-header-bar .bt-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 16px;
  }
  .bt-header.is-open .bt-header-bar .bt-nav { display: flex; }
  .bt-header .bt-nav .bt-subnav {
    display: block;
    position: static;
    padding: 0 0 0 16px;
    border-top: 0;
    background: transparent;
    box-shadow: none;
  }
  .bt-header .bt-nav .bt-subnav a { color: #c9d2e3; }
}

/* Full desktop nav (1200px+): never let a label wrap */
@media (min-width: 1200px) {
  .bt-header .bt-nav > li > a { white-space: nowrap; }
}

/* 2) Join column: the text inputs' built-in minimum width kept the
   two-across sign-up fields from shrinking, forcing #join to 538px
   and pushing the form, share bar and .vote-extra off-screen. */
.vote-col { min-width: 0; }
#join { grid-template-columns: minmax(0, 1fr); }
.bt-signup .bt-field,
.bt-signup .bt-input { min-width: 0; }
.bt-signup .bt-input { width: 100%; }
