/* Networn global mobile-first usability layer.
   Additive only: retain Bootstrap and existing route-specific design systems.
   This file normalizes touch targets, forms, media and common legacy layouts. */
:root {
  color-scheme: light;
  --nw-mobile-ink: #14253d;
  --nw-mobile-muted: #627188;
  --nw-mobile-brand: #087f8c;
  --nw-mobile-line: #e3eaf0;
  --nw-mobile-radius: 12px;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-width: 320px; overflow-wrap: break-word; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, [role="button"], .btn, a.btn {
  touch-action: manipulation;
}
.form-control, .custom-select, select.form-control {
  min-height: 44px;
  border-radius: 9px;
}
textarea.form-control { min-height: 112px; }
.btn, button.btn {
  min-height: 40px;
  border-radius: 9px;
}
a { -webkit-tap-highlight-color: rgba(8,127,140,.12); }
:focus-visible {
  outline: 3px solid rgba(8,127,140,.55);
  outline-offset: 2px;
}
.table-responsive { -webkit-overflow-scrolling: touch; }
.card, .modal-content, .dropdown-menu { overflow-wrap: anywhere; }
iframe { border: 0; }
@media (max-width: 767.98px) {
  body { font-size: 15px; }
  .container, .container-fluid { padding-right: 16px; padding-left: 16px; }
  .row { margin-right: -8px; margin-left: -8px; }
  .row > [class*="col-"] { padding-right: 8px; padding-left: 8px; }
  h1 { font-size: clamp(1.65rem, 7vw, 2.25rem); line-height: 1.18; }
  h2 { font-size: clamp(1.35rem, 5.5vw, 1.85rem); line-height: 1.25; }
  h3 { font-size: 1.2rem; line-height: 1.3; }
  .btn, button.btn, input.form-control, select.form-control,
  .custom-select { min-height: 44px; }
  .form-row { margin-right: -6px; margin-left: -6px; }
  .form-row > [class*="col-"] { padding-right: 6px; padding-left: 6px; }
  .navbar { padding: .55rem .75rem; }
  .navbar-brand { max-width: calc(100% - 64px); }
  .navbar-brand img { max-width: 180px; max-height: 42px; object-fit: contain; }
  .navbar-toggler { min-width: 44px; min-height: 44px; }
  .dropdown-menu { max-width: calc(100vw - 24px); }
  .modal-dialog { margin: .5rem; }
  .modal-content { border-radius: 14px; }
  .table { font-size: .88rem; }
  .table td, .table th { padding: .55rem .6rem; vertical-align: middle; }
  #public-listings { padding-right: 8px; padding-left: 8px; }
  #business-header { margin-bottom: 1.5rem !important; }
  .breadcrumbs { overflow-wrap: anywhere; line-height: 1.7; }
  .pagination { flex-wrap: wrap; gap: .2rem; }
  .pagination .page-link { min-width: 40px; min-height: 40px; text-align: center; }
  .select2-container { max-width: 100%; }
  .select2-container .select2-selection--single { min-height: 44px; display: flex; align-items: center; }
  .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
  .owl-carousel .owl-stage { display: flex; }
  .owl-carousel .owl-item { display: flex; }
  .owl-carousel .owl-item > * { width: 100%; }
  .sidebar { max-width: min(88vw, 380px); }
  .container > .row > [class*="col-"] { margin-bottom: .35rem; }
  .table-responsive { margin-bottom: 1rem; }
  input[type="file"] { max-width: 100%; }
}
@media (max-width: 575.98px) {
  .container, .container-fluid { padding-right: 12px; padding-left: 12px; }
  .btn-block + .btn-block { margin-top: .5rem; }
  .form-group { margin-bottom: 1rem; }
  .alert { padding: .8rem .9rem; }
  .card-body { padding: 1rem; }
  .jumbotron { padding: 2rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
