/* Language switcher (Waterfall Spot Core 1.0.21). The theme has no submenu
 * styles, so everything the dropdown needs lives here. */
.wfm-lang-switcher { position: relative; }
.wfm-lang-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 500; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.wfm-lang-toggle svg { width: 16px; height: 16px; flex: none; }
.wfm-lang-toggle .wfm-caret { width: 10px; height: 10px; transition: transform .2s var(--ease, ease); }
.wfm-lang-switcher.is-open .wfm-caret { transform: rotate(180deg); }
.wfm-lang-switcher .sub-menu { list-style: none; margin: 0; padding: 6px; position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md, 10px); box-shadow: var(--shadow); display: none; z-index: 30; }
.wfm-lang-switcher.is-open .sub-menu { display: block; }
.wfm-lang-switcher .sub-menu a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 400; }
.wfm-lang-switcher .sub-menu a::after { display: none; }
.wfm-lang-switcher .sub-menu a:hover { background: var(--surface-2); }
.wfm-lang-switcher .sub-menu a[aria-current="true"] { font-weight: 700; color: var(--pool); }
.wfm-lang-switcher .sub-menu a[aria-current="true"]::after { content: "\2713"; display: block; }
@media (min-width: 861px) {
	.wfm-lang-switcher:hover .sub-menu,
	.wfm-lang-switcher:focus-within .sub-menu { display: block; }
}
@media (max-width: 860px) {
	.wfm-lang-toggle { display: flex; width: 100%; padding: 10px 2px; border-bottom: 1px solid var(--line); }
	.wfm-lang-switcher .sub-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; min-width: 0; }
	.wfm-lang-switcher.is-open .sub-menu { display: block; }
	.nav .nav-list .wfm-lang-switcher .sub-menu a { padding: 10px 2px 10px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
