/* V39 — multilingual reading comfort. No changes to original English colours, font families, hero images or sections. */
body.gm-wordpress-theme .gm-main .isc-site{max-width:100%;min-width:0}
body.gm-wordpress-theme .gm-main .isc-site :is(h1,h2,h3,h4,p,a,button,span){overflow-wrap:break-word}
body.gm-wordpress-theme .gm-main .isc-site :is(.cards-three,.cards-four,.cards-two,.split,.text-grid,.headline-row,.contact-layout,.isc-package-overview-layout)>*{min-width:0}
body.gm-wordpress-theme .gm-main .isc-site img{max-width:100%}
body.gm-wordpress-theme .gm-main .isc-site .photo-wrap img{height:100%;max-width:100%;object-fit:cover}
/* Translation strings in German/French can be ~50% longer than English: keep the typeface and visual hierarchy, adapt only sizes. */
body.gm-lang-fr .gm-main .isc-site .section-title h2,
body.gm-lang-de .gm-main .isc-site .section-title h2,
body.gm-lang-es .gm-main .isc-site .section-title h2,
body.gm-lang-it .gm-main .isc-site .section-title h2{font-size:clamp(34px,4.05vw,56px)!important;line-height:1.12!important;text-wrap:balance}
body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site .split-copy h2{font-size:clamp(34px,3.8vw,54px)!important;line-height:1.13!important;text-wrap:balance}
body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site section.page-hero.photo h1{font-size:clamp(47px,4.4vw,72px)!important;max-width:min(920px,100%);line-height:1.03!important}
body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site section.hero .hero-inner h1{font-size:clamp(57px,6.2vw,88px)!important;line-height:1.03!important;text-wrap:balance;max-width:920px}
body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site .card-photo-body h3{font-size:clamp(19px,1.75vw,26px)!important;line-height:1.18!important}
body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site .btn{white-space:normal;text-align:center;line-height:1.3}
body.gm-wordpress-theme .gm-main .isc-site :is(.gm-owner-table-scroll,.isc-rates-list){max-width:100%;min-width:0}
body.gm-wordpress-theme .gm-main .isc-site table{max-width:100%}
@media (max-width:980px){
 body.gm-wordpress-theme .gm-main .isc-site .headline-row{gap:20px;flex-wrap:wrap}
 body.gm-wordpress-theme .gm-main .isc-site :is(.nav-actions,.mobile-menu){max-width:100%}
 body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site .section-title h2{font-size:clamp(30px,5.65vw,45px)!important}
}
@media (max-width:767px){
 html,body{max-width:100%;overflow-x:clip}
 body.gm-wordpress-theme .gm-main .isc-site{width:100%;max-width:100%;min-width:0}
 body.gm-wordpress-theme .gm-main .isc-site .container{max-width:100%;min-width:0}
 body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site section.hero .hero-inner h1{font-size:clamp(43px,10vw,68px)!important;line-height:1.02!important;overflow-wrap:normal;word-break:normal}
 body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site section.page-hero.photo h1{font-size:clamp(39px,9.6vw,59px)!important;line-height:1.04!important;overflow-wrap:normal;word-break:normal}
 body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site :is(.section-title h2,.split-copy h2){font-size:clamp(29px,7.2vw,42px)!important;line-height:1.14!important;letter-spacing:-.042em!important;hyphens:auto}
 body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site :is(.section-title p,.split-copy p){font-size:15px!important;line-height:1.7!important}
 body.gm-wordpress-theme .gm-main .isc-site :is(.cards-three,.cards-four,.cards-two,.split,.text-grid,.contact-layout){min-width:0;max-width:100%}
 body.gm-wordpress-theme .gm-main .isc-site :is(.card-photo,.card-photo-body,.split-copy,.split-media,.gm28-wizard){min-width:0;max-width:100%}
 body.gm-wordpress-theme .gm-main .isc-site .btn{max-width:100%;min-width:0;white-space:normal;line-height:1.3;text-align:center}
 body.gm-wordpress-theme .gm-main .isc-site .hero-meta{gap:10px 14px;overflow-wrap:break-word}
 body.gm-wordpress-theme .gm-main .isc-site .gm-owner-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
 body.gm-wordpress-theme .gm-main .isc-site .gm-pkg-track{min-width:0}
 body.gm-wordpress-theme .gm-main .isc-site .isc-package-booking :is(input,select,textarea){max-width:100%;min-width:0}
}
@media(max-width:400px){
 body:is(.gm-lang-fr,.gm-lang-de,.gm-lang-es,.gm-lang-it) .gm-main .isc-site section.hero .hero-inner h1{font-size:clamp(38px,9.4vw,45px)!important}
 body.gm-wordpress-theme .gm-main .isc-site .hero-kicker{font-size:clamp(18px,5.4vw,24px)!important}
}
/* Tablet room-price comparison: the original two-column price block made
   long translated table headers enlarge the page past the viewport. */
@media (min-width:761px) and (max-width:1150px) {
  body.gm-wordpress-theme .gm-main .isc-site .isc-package-room-prices .isc-room-rates {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px;
    max-width:100%;
  }
  body.gm-wordpress-theme .gm-main .isc-site .isc-package-room-prices .isc-room-rates > * {
    min-width:0!important;
    width:100%;
    max-width:100%;
  }
  body.gm-wordpress-theme .gm-main .isc-site .isc-package-room-prices .gm-owner-table-scroll {
    width:100%;
    max-width:100%;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
}
