/* pinnaclehotels.ca language switcher, same look and behaviour as hotel-core/tools/i18n/switcher.css, in this site's gold. */
.ph-lang{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-sans);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;line-height:1}
.ph-lang a{color:var(--fg-2,#4a4440);text-decoration:none;text-underline-offset:3px;transition:color 150ms}
.ph-lang a:hover{color:var(--ph-gold-deep,#8F7548);text-decoration:underline}
.ph-lang a.is-current{color:var(--ph-gold-deep,#8F7548);text-decoration:underline}
.ph-lang__sep{color:var(--fg-3,#999);opacity:.6;font-weight:400}
.ph-lang__dd{position:relative}
.ph-lang__btn{list-style:none;display:inline-flex;align-items:center;gap:6px;cursor:pointer;color:var(--fg-2,#4a4440)}
.ph-lang__btn::-webkit-details-marker{display:none}
.ph-lang__btn:hover,.ph-lang__dd[open] .ph-lang__btn{color:var(--ph-gold-deep,#8F7548)}
.ph-lang__btn.is-current span{color:var(--ph-gold-deep,#8F7548);text-decoration:underline;text-underline-offset:3px}
.ph-lang__dd[open] .ph-lang__btn svg:last-child{transform:rotate(180deg)}
.ph-lang__menu{position:absolute;right:0;top:calc(100% + 12px);z-index:200;min-width:170px;padding:8px 0;background:var(--ph-paper,#fff);border:1px solid var(--ph-gold-soft,#DCCBA8);border-radius:var(--r-card,10px);box-shadow:0 12px 28px rgba(31,26,38,.14);display:flex;flex-direction:column;text-transform:none;letter-spacing:0;font-weight:500;font-size:14px}
.ph-lang__menu--left{right:auto;left:0}
.ph-lang__item{display:block;padding:9px 18px}
.ph-lang__item:hover{background:var(--ph-sand,#f3ede4);text-decoration:none!important}
.ph-lang__item.is-current{font-weight:700;text-decoration:none!important}
.phc-lang-desk{position:absolute;right:40px;top:50%;transform:translateY(-50%)}
.phc-lang-mob{display:none}
.phc-lang-drawer{display:none}
@media (max-width:1019px){
  .phc-lang-desk{display:none}
  .phc-lang-mob{display:flex;position:absolute;left:12px;top:50%;transform:translateY(-50%);z-index:5}
  .phc-lang-mob .ph-lang__btn{width:44px;height:44px;justify-content:center;color:var(--ph-gold-deep,#8F7548)}
  .phc-lang-mob .ph-lang__btn span,.phc-lang-mob .ph-lang__btn svg:last-child{display:none}
  .phc-lang-mob .ph-lang__btn svg:first-child{width:28px;height:28px;stroke-width:1.6}
  .phc-lang-mob .ph-lang__menu{top:calc(100% + 4px)}
  .phc-lang-drawer{display:flex;flex-wrap:wrap;gap:10px 14px;padding:22px 28px 0;font-size:12px;white-space:normal}
}
/* Translated pages: longer words may wrap instead of widening the phone layout (same as the hotels). */
html[lang^="ko"] body{word-break:keep-all}
@media (max-width:760px){html:not([lang^="en"]) h1,html:not([lang^="en"]) h2,html:not([lang^="en"]) h3{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
html:not([lang^="en"]) a,html:not([lang^="en"]) button{overflow-wrap:break-word}}
/* Translated pages: the closed menu drawer sits just off the right edge; longer labels made it reach into the page
   width on phones (fr/de/es/nl/pt +20-39px of sideways scroll, 2026-12-01). Clip, never a scroll container. */
html:not([lang^="en"]),html:not([lang^="en"]) body{overflow-x:clip}
/* Japanese headings: break between phrases, not inside a katakana word (Chrome/Edge; others ignore it). */
html[lang="ja"] h1,html[lang="ja"] h2,html[lang="ja"] h3{word-break:auto-phrase}
/* QA pass 2 (2026-12-01): translated labels are longer. Footer link columns and buttons wrap instead of being cut off. */
html:not([lang^="en"]) footer a,html:not([lang^="en"]) footer li,html:not([lang^="en"]) footer p{white-space:normal!important;overflow-wrap:anywhere}
html:not([lang^="en"]) footer [style*="grid"] > *{min-width:0}
html:not([lang^="en"]) a[class*="btn"],html:not([lang^="en"]) button[class*="btn"],html:not([lang^="en"]) .phc-nw{white-space:normal!important;height:auto!important;min-height:44px;text-align:center;line-height:1.35;overflow-wrap:anywhere}
