/* 2026-10-08: overseas mobile cleanup.
   Keep the Google Maps/search/partner functions but reduce duplicated sections
   and avoid endless vertical country-preview cards. Desktop remains unchanged. */
@media (max-width:650px){
  body.overseas-page,
  body.world-travel-page{overflow-x:clip}

  /* Global navigation already offers globe, domestic travel and preparation.
     No need to repeat a second, tall navigation bar on narrow screens. */
  body.overseas-page>.travel-nav-hub,
  body.world-travel-page>.travel-nav-hub{display:none!important}
  body.overseas-page .overseas-hero .travel-section-nav{display:none!important}

  body.overseas-page .wrap{box-sizing:border-box;width:calc(100% - 20px)!important;max-width:none;min-width:0}
  body.overseas-page .overseas-hero{
    margin-top:8px!important;padding:12px!important;border-radius:15px!important;
    box-shadow:none!important;
  }
  body.overseas-page .overseas-hero .eyebrow{display:none!important}
  body.overseas-page .overseas-hero h1{font-size:clamp(22px,6vw,26px)!important;line-height:1.24!important;letter-spacing:-.04em}
  body.overseas-page .overseas-hero>p{margin:5px 0!important;font-size:12px!important;line-height:1.45!important}
  body.overseas-page .country-region-groups{margin-top:9px!important;gap:7px!important}
  body.overseas-page .country-region-group summary{min-height:39px!important;padding:7px 10px!important}
  body.overseas-page .country-region-group .country-grid{margin-top:0!important}
  body.overseas-page .golf-travel-quick{
    padding:8px 10px!important;margin:0 0 9px!important;
    border-radius:11px!important;box-shadow:none!important;
  }
  body.overseas-page .golf-travel-quick strong{font-size:13px!important}
  body.overseas-page .golf-travel-quick>div:first-child>span{display:none!important}
  body.overseas-page .golf-travel-actions{
    display:flex!important;gap:5px!important;margin-top:5px!important;
  }
  body.overseas-page .golf-travel-actions a{
    display:flex!important;flex:1 1 100%;min-width:0;min-height:36px!important;
    padding:6px 10px!important;font-size:11px!important;line-height:1.35!important;
  }
  /* Search and AI trip-planning remain available elsewhere on the page/header. */
  body.overseas-page .golf-travel-actions a:not(:first-child){display:none!important}

  body.overseas-page main.wrap{padding-top:13px!important}
  body.overseas-page .explorer-heading{margin-bottom:6px!important;gap:4px!important}
  body.overseas-page .explorer-heading .eyebrow{font-size:10px!important;margin-bottom:2px!important}
  body.overseas-page .explorer-heading h2{font-size:20px!important;line-height:1.3!important}
  body.overseas-page .overseas-search{
    margin:7px 0 9px!important;padding:10px!important;border-radius:13px!important;
    box-shadow:none!important;
  }
  body.overseas-page .overseas-search>label{font-size:12px!important;margin-bottom:6px!important}
  body.overseas-page .overseas-search .search-row{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;gap:7px!important;align-items:stretch!important;
  }
  body.overseas-page .overseas-search .search-row>*{box-sizing:border-box;min-width:0!important;max-width:100%!important}
  body.overseas-page .overseas-search #overseas-query{
    grid-column:1/-1!important;width:100%!important;min-height:44px!important;
    padding:8px 10px!important;font-size:16px!important;
  }
  body.overseas-page .overseas-search #overseas-type,
  body.overseas-page .overseas-search #overseas-lodging-type{
    grid-column:auto!important;min-height:42px!important;
    width:100%!important;max-width:none!important;padding:6px!important;font-size:12px!important;
  }
  body.overseas-page .overseas-search .rating-filter-wrap{grid-column:1/-1!important}
  body.overseas-page .overseas-search .rating-filter-wrap select{max-width:none!important;width:100%!important;font-size:12px!important}
  body.overseas-page .overseas-search .search-row>button{
    grid-column:1/-1!important;width:100%!important;min-height:42px!important;
    padding:7px 10px!important;font-size:13px!important;
  }
  body.overseas-page .overseas-search-help{margin-top:5px!important;font-size:11px!important;line-height:1.45!important}
  body.overseas-page .local-tools{padding:10px!important;margin:8px 0!important;border-radius:12px!important}
  body.overseas-page .local-tools-copy h2{font-size:15px!important}
  body.overseas-page .local-tools-grid{gap:6px!important}

  body.overseas-page .google-map-handoff{
    min-width:0;margin:8px 0!important;padding:11px!important;
    border-radius:13px!important;gap:8px!important;box-shadow:none!important;
  }
  body.overseas-page .google-map-handoff .google-map-kicker,
  body.overseas-page .google-map-handoff-copy p{display:none!important}
  body.overseas-page .google-map-handoff-copy strong{font-size:16px!important}
  body.overseas-page .google-map-open{min-height:40px!important;padding:7px 11px!important;font-size:12px!important;overflow-wrap:anywhere}
  body.overseas-page .google-live-search{min-width:0}
  body.overseas-page .google-live-search>strong{font-size:12px!important;margin-bottom:5px!important}
  body.overseas-page .google-live-search-links{
    display:flex!important;flex-wrap:nowrap!important;gap:6px!important;
    overflow-x:auto!important;scrollbar-width:thin;padding:1px 0 4px;
    overscroll-behavior-inline:contain;
  }
  body.overseas-page .google-live-search-links>a{
    display:inline-flex;flex:0 0 auto!important;min-width:0!important;
    padding:7px 10px!important;min-height:39px!important;
    font-size:11px!important;white-space:nowrap!important;
  }

  body.overseas-page .country-discovery{min-width:0;margin:9px 0!important;padding:10px!important;border-radius:14px!important}
  body.overseas-page .country-discovery-head{margin-bottom:8px!important}
  body.overseas-page .country-discovery-head h3{font-size:18px!important}
  body.overseas-page .country-discovery-head p,
  body.overseas-page .country-view-note{display:none!important}
  body.overseas-page .country-city-grid{
    gap:8px!important;padding:0 0 5px!important;
    overflow-x:auto!important;scroll-snap-type:x proximity;
  }
  body.overseas-page .country-city-grid>.country-city-card{
    flex:0 0 min(77vw,280px)!important;max-width:280px!important;min-width:0!important;
    scroll-snap-align:start;
  }
  body.overseas-page .country-city-card .country-city-body{min-width:0;padding:10px!important}
  body.overseas-page .country-city-title strong{font-size:14px!important;overflow-wrap:anywhere}
  body.overseas-page .country-city-counts{gap:4px!important}
  body.overseas-page .country-city-counts a{font-size:11px!important;padding:4px 6px!important}

  body.overseas-page #overseas-places .content-head{margin-top:12px!important;gap:3px!important}
  body.overseas-page #overseas-places .content-head h2{font-size:20px!important;line-height:1.3!important}
  body.overseas-page #overseas-places .content-head .eyebrow{font-size:11px!important}
  body.overseas-page #overseas-places .prep-shortcut,
  body.overseas-page #overseas-places>.map-note{display:none!important}
  body.overseas-page #overseas-places .result-line{margin:8px 0!important;gap:7px!important;font-size:11px!important}
  body.overseas-page #overseas-places .result-line p{min-width:0;margin:0;line-height:1.45!important}
  body.overseas-page #overseas-places .result-line a{flex:0 0 auto;white-space:nowrap}

  /* All overseas place lists stay accessible on mobile by
     swiping sideways, instead of stacking 30+ full-height cards vertically. */
  body.overseas-page .overseas-place-grid{
    display:flex!important;grid-template-columns:none!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    gap:9px!important;padding:3px 2px 9px!important;
    align-items:stretch!important;scroll-snap-type:x proximity;
    overscroll-behavior-x:contain;scrollbar-width:thin;min-width:0;max-width:100%;
  }
  body.overseas-page .overseas-place-grid>.place-category-heading{
    position:absolute!important;width:1px!important;height:1px!important;
    margin:0!important;padding:0!important;clip-path:inset(50%)!important;overflow:hidden!important;
  }
  body.overseas-page .overseas-place-grid>.overseas-place-card{
    flex:0 0 min(80vw,295px)!important;min-width:0!important;max-width:295px!important;
    align-self:stretch!important;scroll-snap-align:start;margin:0!important;
  }
  body.overseas-page .overseas-place-card .photo{height:120px!important}
  body.overseas-page .overseas-place-card .body{padding:10px!important}
  body.overseas-page .overseas-place-card h3{font-size:15px!important;margin:6px 0!important}
  body.overseas-page .overseas-place-card .address,
  body.overseas-page .overseas-place-card .hours{font-size:11px!important;line-height:1.45!important}
  body.overseas-page .overseas-place-card .verified-date{font-size:10px!important}
  body.overseas-page .overseas-place-card .actions{gap:5px!important}
  body.overseas-page .overseas-place-card .actions a{min-height:40px!important;padding:7px 5px!important;font-size:11px!important}

  /* Keep the actual globe, not a redundant 'home globe' return button. */
  body.world-travel-page .wt-wrap{width:calc(100% - 20px)!important}
  body.world-travel-page .wt-breadcrumb{padding:7px 0 5px!important;font-size:11px!important}
  body.world-travel-page .wt-section{margin-top:11px!important}
  body.world-travel-page .wt-head{margin-bottom:6px!important}
  body.world-travel-page .wt-head h2{font-size:19px!important}
  body.world-travel-page .wt-head p{font-size:11px!important;line-height:1.4!important}
  body.world-travel-page .wt-globe .we-visual{min-height:210px!important}
  body.world-travel-page .wt-globe .we-visual canvas{height:210px!important;min-height:210px!important}
  body.world-travel-page .wt-globe .we-copy{padding:12px!important}
  body.world-travel-page .wt-globe .we-copy h1,
  body.world-travel-page .wt-globe .we-copy h2{font-size:22px!important;line-height:1.14!important}
  body.world-travel-page .wt-globe .we-copy>p{font-size:11px!important;line-height:1.4!important;margin:0 0 8px!important}
  body.world-travel-page .wt-globe .we-country{margin:0 0 7px!important}
  body.world-travel-page .wt-globe .we-actions a{min-height:40px!important;font-size:11px!important;padding:5px 9px!important}
  body.world-travel-page .wt-hero{border-radius:15px!important}
  body.world-travel-page .wt-copy{padding:13px!important}
  body.world-travel-page .wt-copy h1{font-size:26px!important}
  body.world-travel-page .wt-copy>p{font-size:12px!important;line-height:1.45!important;margin:0 0 9px!important}
}
@media(prefers-reduced-motion:reduce){
  body.overseas-page .overseas-place-grid{scroll-behavior:auto!important}
}
