/* Shared layout for the city guides and the Travel page.
   The pages come from design boards with inline styles; these rules make them fit a phone. */
.tg{min-height:0;overflow-wrap:break-word}
.tg [style*="margin-left: auto; color: #6A5A52"]{white-space:nowrap}
.tg img{max-width:100%}
.tg [style*="display: grid"]>*{min-width:0}
.hscroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.hscroll>[data-fixed]{flex:none}

@media (max-width:900px){
  .tg [style*="grid-template-columns: repeat(5"],
  .tg [style*="grid-template-columns: repeat(6"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tg [style*="grid-template-columns: repeat(4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tg [style*="grid-template-columns: minmax(0, 1fr) 360px"],
  .tg [style*="grid-template-columns: minmax(0, 1fr) 380px"],
  .tg [style*="grid-template-columns: minmax(0, 1fr) 460px"],
  .tg [style*="grid-template-columns: 300px minmax(0, 1fr)"],
  .tg [style*="grid-template-columns: 320px minmax(0, 1fr)"],
  .tg [style*="grid-template-columns: minmax(0, 2fr) minmax(0, 1fr)"]{grid-template-columns:1fr!important}
}
@media (max-width:640px){
  .tg [style*="grid-template-columns: repeat("]{grid-template-columns:1fr!important}
  .tg [style*="grid-template-columns: repeat(5"],
  .tg [style*="grid-template-columns: repeat(6"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tg [style*="justify-content: space-between"]{flex-wrap:wrap}
  .tg [style*="margin: 64px auto 0"],.tg [style*="margin: 56px auto 0"]{margin-top:40px!important}
  .tg [style*="padding: 32px"],.tg [style*="padding: 28px"]{padding:20px!important}
  .tg h1[style*="font-size: 80px"],.tg h1[style*="font-size: 72px"]{font-size:48px!important}
  .tg h2[style*="font-size: 32px"]{font-size:26px!important}
  .tg [style*="width: 300px; height: 300px"]{width:220px!important;height:220px!important}
  .tg [style*="width: 300px; height: 300px"] [style*="font-size: 52px"]{font-size:38px!important}
  .tg svg[width="320"]{width:100%;height:auto}
}
