/* ============================================================
   TravelHub Global — shared responsive fixes
   Loaded on every page (added automatically before </head>).
   ============================================================ */

/* Never let media or embeds push the page sideways */
img, video, iframe, svg { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
input[type="date"], input[type="time"] { min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-wrap: break-word; }

/* ── Mobile menu button (added by site-responsive.js when a page's
      menu is hidden or doesn't fit) ───────────────────────────── */
.th-burger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; margin-left: 6px; padding: 0;
  background: transparent; border: 0; border-radius: 8px; cursor: pointer; flex-shrink: 0;
}
.th-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.th-burger:focus-visible { outline: 2px solid #e8973a; outline-offset: 2px; }
.th-need .th-burger { display: flex; }
.th-need.th-open .th-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.th-need.th-open .th-burger span:nth-child(2) { opacity: 0; }
.th-need.th-open .th-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.th-need .nav-links { display: none !important; }
.th-need.th-open .nav-links {
  display: flex !important; flex-direction: column; align-items: stretch; gap: 0 !important;
  position: absolute; top: 100%; left: 0; right: 0; z-index: 400;
  background: #0f2044; padding: 6px 5% 18px; max-height: calc(100vh - 70px); overflow-y: auto;
  box-shadow: 0 14px 28px rgba(0,0,0,.28); border-top: 1px solid rgba(255,255,255,.08);
}
.th-need.th-open .nav-links a {
  display: flex !important; align-items: center; gap: 8px;
  padding: 13px 4px; font-size: 15px; color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.th-need.th-open .nav-links a.nav-cta,
.th-need.th-open .nav-links a.btn-nav,
.th-need.th-open .nav-links a[class*="cta"] { justify-content: center; margin-top: 12px; border-bottom: 0; padding: 12px; border-radius: 9px; }

/* ── Phones ───────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Comfortable tap targets and no iOS zoom-on-focus */
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; }
}
