/* polish2-4 (11 Oct 2026): fixes for the translated pages only.
   Linked from every page in /fr/ /de/ /es/ /it/ /pt/ /ja/ /ko/ /zh-hans/
   /zh-hant/ /hi/ /ne/ after the other stylesheets. */

/* Booking: "By the day / By the week" toggle. Long German/Portuguese words
   ("Premium-EMTB", "Tageweise") forced the 1fr columns wider than a 320px
   phone and caused sideways scrolling. Let the columns shrink and words wrap. */
.bk-mode{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.bk-mode-btn>span{min-width:0}
.bk-mode-btn b,.bk-mode-btn small{overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}

/* Long compound words in cards and buttons (de, pt, fr, it, es). */
html:is([lang="de"],[lang="pt-BR"],[lang="pt"],[lang="fr"],[lang="it"],[lang="es"]) :is(.btn,.pick-card h3,.card h3,.bk-plan,.price-card h3){overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}

/* Devanagari (hi, ne): letter-spacing breaks conjuncts and Latin uppercase
   styling does nothing useful; matras need more line height than the
   tight values used for Latin chips, plan buttons and stat lines. */
html[lang="ne"] *{letter-spacing:0 !important}
html[lang="ne"] .eyebrow,html[lang="ne"] .breadcrumb,html[lang="ne"] .footer h2,html[lang="ne"] .kicker,html[lang="ne"] .offer-tag{text-transform:none}
html:is([lang="hi"],[lang="ne"]) :is(.wa-rent-eq,.hc-chip,.bk-plan,.hero-new-text,.bk-trust li,.pick-price,.wa-sub){line-height:1.45}

/* CJK: keep short headings and buttons from breaking mid-word on narrow phones. */
html[lang="ko"] :is(.btn,.bk-plan,.pick-card h3){word-break:keep-all}
html:is([lang="ja"],[lang="zh-Hans"],[lang="zh-Hant"]) .btn{line-break:strict}
