/* Mobile layout polish — shared across Bohol Whale Shark pages */
@media(max-width:950px){
  html,body{max-width:100%;overflow-x:clip}
  img,video,iframe{max-width:100%}
  .container,.ticket-wrap,.wrap{width:calc(100% - 36px)!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
  .site-header,.site-header.scrolled,.inner-page .site-header,.inner-page .site-header.scrolled{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:8px!important;box-sizing:border-box!important
  }
  .site-header .brand,.inner-page .site-header .brand{width:auto!important;min-width:0!important;flex:0 1 auto!important}
  .site-header .site-logo,.inner-page .site-header .site-logo{display:block!important;width:clamp(112px,38vw,148px)!important;height:auto!important;max-height:36px!important;object-fit:contain!important}
  .site-header .header-actions,.inner-page .site-header .header-actions{
    display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;
    min-width:0!important;margin-left:auto!important;flex:0 0 auto!important
  }
  .site-header .menu-toggle,.inner-page .site-header .menu-toggle{flex:0 0 34px!important;width:34px!important;height:36px!important;padding:6px!important}
  .site-header .menu-toggle span,.inner-page .site-header .menu-toggle span{width:21px!important;margin:5px auto!important}
  .site-header .mobile-menu,.inner-page .site-header .mobile-menu{
    box-sizing:border-box!important;max-height:calc(100dvh - 90px)!important;overflow-y:auto!important;
    padding:12px 18px 18px!important;border-radius:15px!important
  }
  .site-header .mobile-menu a,.inner-page .site-header .mobile-menu a{font-size:13px!important;padding:13px 2px!important}
  .site-header .mobile-menu .mobile-book,.inner-page .site-header .mobile-menu .mobile-book{padding:13px 16px!important}
  .hero{min-height: min(820px,100svh)!important}
  .hero-inner{width:100%!important;max-width:100%!important}
  .hero-copy h1{overflow-wrap:normal!important;word-break:normal!important}
  .tour-compare-scroll,.table-scroll,.comparison-scroll{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  .tour-compare-scroll table,.table-scroll table,.comparison-scroll table{min-width:680px}
  .ticket-hero{background-position:center!important}
  .ticket-hero-inner{width:calc(100% - 36px)!important}
  .ticket-cta{box-sizing:border-box!important}
  .bw-mobile-actions{left:12px!important;right:12px!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;gap:8px!important}
  .bw-mobile-actions a{min-height:46px!important;font-size:10px!important}
  body{padding-bottom:82px!important}
}
@media(max-width:600px){
  .container,.ticket-wrap,.wrap{width:calc(100% - 32px)!important}
  .site-header,.site-header.scrolled,.inner-page .site-header,.inner-page .site-header.scrolled{
    top:8px!important;left:8px!important;width:calc(100% - 16px)!important;height:58px!important;
    min-height:58px!important;padding:0 11px!important;border-radius:14px!important
  }
  .site-header .site-logo,.inner-page .site-header .site-logo{width:clamp(108px,34vw,132px)!important;max-height:34px!important}
  .site-header .bw-language-switcher{margin:0 2px 0 0!important}
  .site-header .bw-language-trigger{min-width:94px!important;height:33px!important;padding:0 8px!important;gap:6px!important}
  .site-header .bw-language-flag{font-size:14px!important}
  .site-header .bw-language-current{font-size:9px!important}
  .site-header .bw-language-chevron{width:6px!important;height:6px!important}
  .site-header .menu-toggle,.inner-page .site-header .menu-toggle{width:30px!important;flex-basis:30px!important}
  .site-header .mobile-menu,.inner-page .site-header .mobile-menu{top:72px!important;left:8px!important;right:8px!important}
  .hero{min-height: min(780px,100svh)!important}
  .hero-inner{padding-top:116px!important;padding-bottom:35px!important}
  .hero-copy{width:calc(100% - 28px)!important;max-width:100%!important}
  .hero-copy h1,.hero h1{font-size:clamp(40px,12vw,58px)!important;line-height:.94!important;letter-spacing:-.055em!important}
  .hero-copy .script-line,.script-line{font-size:clamp(26px,8vw,34px)!important;line-height:1.15!important}
  .section-heading h2,.onepage-section-heading h2{font-size:clamp(30px,9vw,42px)!important;line-height:1.02!important}
  .tour-card{max-width:calc(100vw - 42px)!important}
  .tour-card.is-active{width:min(310px,calc(100vw - 42px))!important;flex-basis:min(310px,calc(100vw - 42px))!important}
  .tour-compare-section{overflow:hidden!important}
  .tour-compare-scroll{margin-right:-16px!important}
  .ticket-hero{min-height:360px!important}
  .ticket-hero-inner{padding:92px 0 34px!important}
  .ticket-hero h1{font-size:clamp(34px,10vw,48px)!important;line-height:.98!important}
  .ticket-wrap{padding-top:36px!important}
  .ticket-grid,.recommend-grid,.steps{grid-template-columns:1fr!important}
  .ticket-cta{padding:22px!important}
  .ticket-button{width:100%!important}
  .grid{grid-template-columns:1fr!important}
  .wide{grid-column:auto!important}
  .card{padding:20px!important;border-radius:15px!important}
  .intro{margin-bottom:22px!important}
  .intro h1{font-size:clamp(30px,9vw,42px)!important}
  .page{padding:108px 0 42px!important}
  .update-metrics,.history-metrics{grid-template-columns:1fr 1fr!important}
  .today-video-grid{grid-template-columns:1fr!important}
  .bw-mobile-actions{grid-template-columns:1fr 1fr!important;padding:6px!important;border-radius:14px!important}
  .bw-mobile-actions a{min-height:44px!important;font-size:9px!important;letter-spacing:.025em!important}
  .bw-mobile-actions svg{width:15px!important;height:15px!important}
}
@media(max-width:370px){
  .site-header .site-logo,.inner-page .site-header .site-logo{width:104px!important}
  .site-header .bw-language-trigger{min-width:86px!important}
  .site-header .bw-language-current{font-size:8px!important}
  .site-header .menu-toggle,.inner-page .site-header .menu-toggle{width:27px!important;flex-basis:27px!important}
  .site-header,.site-header.scrolled,.inner-page .site-header,.inner-page .site-header.scrolled{padding:0 8px!important;gap:4px!important}
  .hero-copy h1,.hero h1{font-size:40px!important}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* Homepage mobile hero image scale + complete field report card */
@media(max-width:600px){
  .home-page .hero{min-height: min(760px,100svh)!important;height:auto!important;overflow:hidden!important}
  .home-page .hero-visual{
    background-size:auto 88%!important;
    background-position:center 47%!important;
    background-repeat:no-repeat!important;
  }
  .home-page .hero-inner{min-height:min(760px,100svh)!important;padding-top:112px!important;padding-bottom:40px!important}
  .home-page .hero-copy{transform:translateY(-8px)!important}
  .home-page .today-section{padding-top:58px!important;padding-bottom:64px!important}
  .home-page .today-heading{gap:16px!important}
  .home-page .today-heading .live-status{width:100%!important;min-height:44px!important;padding:10px 13px!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important}
  .home-page .today-update-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
  .home-page .today-video-wrap{aspect-ratio:16/9!important;height:auto!important;min-height:0!important;overflow:hidden!important}
  .home-page .today-info-panel{
    aspect-ratio:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;
    display:flex!important;flex-direction:column!important;padding:17px!important;border-radius:14px!important
  }
  .home-page .today-info-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;padding-bottom:13px!important}
  .home-page .today-info-head .live-status{width:auto!important;max-width:100%!important;min-height:32px!important;padding:6px 10px!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important}
  .home-page .today-info-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;flex:initial!important;margin-top:12px!important}
  .home-page .today-info-item{min-width:0!important;min-height:92px!important;padding:12px 9px!important;overflow:visible!important}
  .home-page .today-info-item strong{display:block!important;max-width:100%!important;overflow-wrap:anywhere!important;margin-top:7px!important}
  .home-page .today-info-item strong .condition-value,
  .home-page .today-info-item strong .weather-value{max-width:100%!important;white-space:normal!important;font-size:12px!important;padding:7px 9px!important;gap:7px!important}
  .home-page .today-info-item small{display:block!important;line-height:1.35!important;margin-top:5px!important}
  .home-page .today-info-note{display:block!important;line-height:1.55!important;margin-top:12px!important;padding-top:11px!important}
  .home-page .home-history-link{min-width:0!important;width:100%!important;box-sizing:border-box!important}
}
@media(max-width:390px){
  .home-page .hero-visual{background-size:auto 82%!important;background-position:center 46%!important}
  .home-page .today-info-item{min-height:100px!important}
}
