/* Post-export overrides (loaded by includes/local-base.php). */

/* Show the full main menu from 1280px instead of 1536px (Next build used 2xl). */
@media (min-width: 1280px) and (max-width: 1535.98px) {
  header nav[aria-label="Main"] { display: flex !important; }
  header button[aria-controls="mobile-nav"],
  #mobile-nav { display: none !important; }
  /* Narrower side gutters + tighter links so all 10 items fit without scrolling. */
  header > div:first-child { padding-left: 32px !important; padding-right: 32px !important; }
  header nav[aria-label="Main"] { justify-content: flex-end; }
  header nav[aria-label="Main"] a { padding-left: 7px !important; padding-right: 7px !important; font-size: 13px !important; }
}

/* Number captcha on the contact forms. */
.ribs-captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ribs-captcha-q {
  min-width: 5.5rem; padding: 8px 12px; border-radius: 8px; text-align: center;
  background: #f1f5f9; border: 1px dashed #94a3b8; color: #0f172a;
  font-weight: 700; font-size: 1rem; letter-spacing: .06em; font-variant-numeric: tabular-nums;
  user-select: none;
}
.ribs-captcha-input { width: 6.5rem; }
.ribs-captcha-refresh {
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid #cbd5e1; background: #fff;
  color: #334155; font-size: 18px; line-height: 1; cursor: pointer;
}
.ribs-captcha-refresh:hover { background: #f8fafc; color: var(--brand, #0c4a6e); }
