/* Functional containment for legacy routes; existing visual design retained. */
.nporta-mobile-v2 img,.nporta-mobile-v2 video,.nporta-mobile-v2 iframe{max-width:100%}
.nporta-mobile-v2 main,.nporta-mobile-v2 .row>*{min-width:0}
.nporta-mobile-v2 :focus-visible{outline:3px solid #126d8b;outline-offset:3px}
.nporta-mobile-v2 .table-wrap{max-width:100%;overflow-x:auto}
.nporta-mobile-v2 .classifieds_desc p{overflow-wrap:anywhere}
.nporta-mobile-v2 .classifieds_desc p[style*="display: flex"]{flex-wrap:wrap}
.search-v3-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.search-v3-filters label{display:flex;flex-direction:column;min-width:0}
.search-v3-filters input,.search-v3-filters select{width:100%;min-height:44px;min-width:0;padding:8px;border:1px solid #767676;border-radius:4px;background:#fff}
.search-v3-views,.search-v3-pagination{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:16px 0}
.search-v3-map{margin:16px 0}.search-v3-map .btn{min-height:44px}
#search-map-canvas{height:480px;max-width:100%;border:1px solid #bbb}
.search-v3 .maplibregl-popup-content{max-width:min(280px,80vw);overflow-wrap:anywhere}
.search-v3 .maplibregl-popup-content a{display:block;margin-top:8px}
@media(max-width:768px){.search-v3-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.nporta-mobile-v2 input:not([type=checkbox]):not([type=radio]),.nporta-mobile-v2 select,.nporta-mobile-v2 textarea{max-width:100%;min-width:0;font-size:16px}.nporta-mobile-v2 button,.nporta-mobile-v2 .btn{min-height:44px;white-space:normal}.nporta-mobile-v2 main table{display:block;max-width:100%;overflow-x:auto}.nporta-mobile-v2 main pre{max-width:100%;overflow-x:auto}.nporta-mobile-v2 nav{flex-wrap:wrap;gap:8px}.nporta-mobile-v2 .navbar-brand{max-width:calc(100% - 65px)}.nporta-mobile-v2 .navbar-brand img{max-width:100%;height:auto}.nporta-mobile-v2 .gallery{max-width:100%}#search-map-canvas{height:360px}}
@media(max-width:430px){.search-v3-filters{grid-template-columns:minmax(0,1fr)}.nporta-mobile-v2 .container{max-width:100%}.nporta-mobile-v2 .classifieds_index_desc{overflow-wrap:anywhere}.nporta-mobile-v2 main form label{max-width:100%}.nporta-mobile-v2 .modal-dialog{max-width:calc(100vw - 16px);margin:8px}.nporta-mobile-v2 .modal-content{overflow-wrap:anywhere}.nporta-mobile-v2 input,.nporta-mobile-v2 textarea,.nporta-mobile-v2 select{box-sizing:border-box}#search-map-canvas{height:320px}}
@media(prefers-reduced-motion:reduce){.nporta-mobile-v2 *{scroll-behavior:auto!important}}
