/* Launch stability v2: readable content, predictable wrapping and resilient layouts. */
html,body{max-width:100%;overflow-x:hidden}
@supports (overflow:clip){html,body{overflow-x:clip}}
body{line-height:1.5}
img,svg,video,canvas{max-width:100%;height:auto}
#main{min-height:calc(100vh - 150px);min-width:0}
#main>.page,.page-title,.page-title>*{min-width:0}
.page-title h1,.page-title h2,.page-title h3,.section h1,.section h2,.section h3,.day-head h3{overflow-wrap:anywhere}
.page-title p,.page section p,.page section li,.section-head p{color:#49636f;line-height:1.65}
.page .muted,.page .muted-note,.page small{color:#58717c}
.trip-summary,.trip-summary p,.trip-summary small,.trip-summary .metric small{color:#d8e9ef}
.trip-summary .metric strong{color:#fff}
.field input::placeholder,.field textarea::placeholder{color:#6a818b;opacity:1}
.field input,.field select,.field textarea{min-width:0}
.page .actions,.section .actions{min-width:0}
.page .actions .btn,.section .actions .btn{max-width:100%}
.card-grid,.tools-grid,.place-row,.form-grid,.trip-layout,.quote-panel,.admin,.stat-grid,.country-profile-grid,.country-live-grid,.events-grid,.booking-grid{min-width:0}
.card-grid>*,.tools-grid>*,.place-row>*,.form-grid>*,.trip-layout>*,.quote-panel>*,.admin>*,.stat-grid>*,.country-profile-grid>*,.country-live-grid>*,.events-grid>*,.booking-grid>*{min-width:0}
.destination-card,.place-card,.guide-card,.content-card,.article-card,.tool-card,.event-card,.country-card,.food-card{overflow:hidden}
.destination-card h3,.place-card h3,.guide-card h2,.content-card h2,.article-card h2,.tool-card h3,.event-card h3,.country-card h3,.food-card h3{overflow-wrap:anywhere}
.table-wrap,.data-table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.data-table{min-width:620px}
.day-head{gap:1rem;min-width:0}
.day-head>*{min-width:0}
.activity{min-width:0}
.activity>div{min-width:0}
.activity h4,.activity p{overflow-wrap:anywhere}
.activity-actions{flex-wrap:wrap;align-items:flex-start}
.budget-panel{min-width:0}
.map{max-width:100%}
.site-header{min-width:0}
.site-header .brand{flex:0 0 auto;white-space:nowrap}
.site-header .site-nav{min-width:0;max-width:100%}
.site-header .nav-group,.site-header .nav-trigger,.site-header .nav-direct,.site-header .nav-account{min-width:0}
.site-header .nav-menu{z-index:220;max-width:calc(100vw - 2rem);overflow:auto}
.site-header .nav-menu a,.site-header .nav-menu small,.site-header .nav-menu span{overflow-wrap:anywhere}
.legal-page{max-width:980px;margin:0 auto;padding:clamp(2rem,6vw,5rem) 0 clamp(4rem,8vw,7rem)}
.legal-page .legal-lead{max-width:720px;font-size:1.08rem;color:#49636f;line-height:1.75}
.legal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:2rem}
.legal-card{background:#fff;border:1px solid var(--line,#dbe6eb);border-radius:20px;padding:1.25rem;min-width:0}
.legal-card h2{font-size:1.15rem;margin:.1rem 0 .55rem;overflow-wrap:anywhere}
.legal-card p,.legal-card li{color:#49636f;line-height:1.65}
.legal-card ul{padding-left:1.2rem}
.legal-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.5rem}
.home-world-feed{background:linear-gradient(180deg,#f3faf9,#fff)}
.home-world-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.home-world-card{min-height:260px;border-radius:22px;overflow:hidden;position:relative;background-size:cover;background-position:center;color:#fff;text-decoration:none;border:1px solid rgba(8,47,73,.08);box-shadow:0 14px 34px rgba(8,47,73,.1)}
.home-world-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,28,43,.9),rgba(3,28,43,.05) 75%);pointer-events:none}
.home-world-card-copy{position:absolute;z-index:1;inset:auto 1rem 1rem;min-width:0}
.home-world-card-copy h3{font-family:Georgia,serif;font-size:1.55rem;margin:.55rem 0 .2rem;overflow-wrap:anywhere}
.home-world-card-copy p{color:#dceaf0!important;font-size:.82rem;line-height:1.45;margin:.25rem 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-world-card-copy small{color:#dceaf0!important}
.home-world-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1.3rem;color:#58717c;font-size:.82rem}
.home-world-card[data-home-photo]{background-image:linear-gradient(145deg,#0f766e,#164e63)}
@media (max-width:1080px) and (min-width:901px){
  .site-header .site-nav{max-height:calc(100vh - 100px);overflow-y:auto}
  .page{padding-inline:clamp(1rem,3vw,2.5rem)}
}
@media (max-width:900px){
  #main{padding-inline:1rem}
  .page{padding-top:2rem;padding-bottom:4rem}
  .page-title{align-items:flex-start;flex-direction:column;gap:.75rem}
  .trip-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trip-summary>div:first-child{grid-column:1/-1}
  .quote-panel{grid-template-columns:1fr}
  .admin{grid-template-columns:1fr}
  .admin-main{padding:1rem}
  .home-world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .legal-page{padding-inline:0}
}
@media (max-width:620px){
  .legal-grid{grid-template-columns:1fr}
  .trip-summary{grid-template-columns:1fr}
  .trip-summary>div:first-child{grid-column:auto}
  .day-head{align-items:flex-start;flex-direction:column}
  .day-head .tiny{align-self:flex-start}
  .activity{grid-template-columns:54px minmax(0,1fr)}
  .activity-actions{grid-column:2}
  .page .actions .btn,.section .actions .btn{width:100%}
  .legal-actions .btn{width:100%}
  .home-world-grid{grid-template-columns:1fr}
  .home-world-actions{align-items:stretch;flex-direction:column}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}
