/* VLS city information cards, 2026-11-16.
   Keep the existing two-row markup while giving every card the same column
   width, stretching cards within each row, and separating adjacent rows.
   FAQ/source columns and restaurant cards use other structures. */
html body .vls-platform-city :is(.vls-city-editorial,.vlsb[data-seo-extension]) > .vls-section > .vls-bottom:has(> article.vls-panel) {
    --vls-info-card-gap: 20px;
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    align-items: stretch !important;
    gap: var(--vls-info-card-gap) !important;
}

html body .vls-platform-city :is(.vls-city-editorial,.vlsb[data-seo-extension]) > .vls-section > .vls-bottom:has(> article.vls-panel) + .vls-bottom:has(> article.vls-panel) {
    margin-top: var(--vls-info-card-gap,20px) !important;
}

html body .vls-platform-city :is(.vls-city-editorial,.vlsb[data-seo-extension]) > .vls-section > .vls-bottom > article.vls-panel {
    box-sizing: border-box !important;
    align-self: stretch !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
}

html body .vls-platform-city :is(.vls-city-editorial,.vlsb[data-seo-extension]) > .vls-section > .vls-bottom > article.vls-panel > :last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    html body .vls-platform-city :is(.vls-city-editorial,.vlsb[data-seo-extension]) > .vls-section > .vls-bottom:has(> article.vls-panel) {
        grid-template-columns: minmax(0,1fr) !important;
    }
}

@media (max-width: 600px) {
    html body .vls-platform-city :is(.vls-city-editorial,.vlsb[data-seo-extension]) > .vls-section > .vls-bottom:has(> article.vls-panel) {
        --vls-info-card-gap: 18px;
    }
}

/* VLS responsive width correction, 2026-11-16. Scoped to city guides.
   Remove intrinsic grid/flex minimums rather than clipping the document.
   Map tile panes and unrelated site components are intentionally untouched. */
html body #vls-platform-main:has(.vls-platform-city),
html body #vls-platform-main .vls-platform-content:has(.vls-platform-city),
html body .vls-platform-city,
html body .vls-platform-city > .vls-platform-city-inner {
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
}
html body .vls-platform-city .vlsb {
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
}
html body .vls-platform-city .vlsb > *,
html body .vls-platform-city :is(.vls-hero,.vls-head,.vls-hero-meta,.vls-stats,.vls-search,.vls-explorer,.vls-occasion-grid,.vls-bottom,.vls-plans) > *,
html body .vls-platform-city :is(.vls-lead,.vls-hero-copy,.vls-toolbar,.vls-control,.vls-results,.vls-city-editorial,.vls-panel) {
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%;
}
html body .vls-platform-city :is(h1,h2,h3,p,.vls-eye,.vls-linkline,.vbtn,.vls-tags span,.vls-meta) {
  overflow-wrap:anywhere;
}
html body .vls-platform-city .vls-search :is(input,select) {
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
@media(max-width:1050px){
  html body .vls-platform-city .vls-hero{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:760px){
  html body .vls-platform-city :is(.vls-search,.vls-control,.vls-explorer){grid-template-columns:minmax(0,1fr)!important}
  html body .vls-platform-city .vls-hero-meta{display:flex;flex-direction:column;align-items:stretch}
  html body .vls-platform-city .vls-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px}
  html body .vls-platform-city .vls-stat{min-width:0!important;overflow-wrap:anywhere}
  html body .vls-platform-city .vls-head{display:grid;grid-template-columns:minmax(0,1fr)!important}
  html body .vls-platform-city :is(.vls-actions,.vls-card-actions,.vls-scope){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .vls-platform-city :is(.vls-actions,.vls-card-actions,.vls-scope) > *{min-width:0;max-width:100%;white-space:normal}
  html body .vls-platform-city .vls-place{grid-template-columns:68px minmax(0,1fr)}
}
@media(max-width:420px){
  html body .vls-platform-city .vls-place{grid-template-columns:58px minmax(0,1fr)}
}
