/* Country visibility rules and the no-JS default are generated by WordPress. */
html:not([data-cm-ready="1"]) .cm-switcher,
html:not([data-cm-ready="1"]) .cm-country-reset { display: none !important; }
.cm-switcher {
  --cm-accent: #126c87;
  --cm-border: #d3dde2;
  --cm-flag: url("flags/lb.svg");
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  vertical-align: middle;
  color-scheme: light;
  font: inherit;
  font-size: 13px;
  line-height: 1;
}
html[data-cm-country="AE"] .cm-switcher { --cm-flag: url("flags/ae.svg"); }
html[data-cm-country="KW"] .cm-switcher { --cm-flag: url("flags/kw.svg"); }
.cm-switcher__field { position: relative; display: inline-flex; max-width: 100%; }
.cm-switcher__field::before,
.cm-switcher__flag {
  width: 18px;
  height: 13.5px;
  flex: 0 0 18px;
  border-radius: 1px;
  background: var(--cm-flag) center / cover no-repeat;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 7%);
}
.cm-switcher__field::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.cm-switcher__flag--lb { --cm-flag: url("flags/lb.svg"); }
.cm-switcher__flag--ae { --cm-flag: url("flags/ae.svg"); }
.cm-switcher__flag--kw { --cm-flag: url("flags/kw.svg"); }
.cm-switcher .cm-switcher__select {
  display: inline-block;
  box-sizing: border-box;
  width: 128px;
  max-width: 100%;
  min-width: 0;
  height: 34px;
  min-height: 0;
  margin: 0;
  padding: 0 25px 0 36px;
  border: 1px solid var(--cm-border);
  border-radius: 5px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%235b7079' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 9px center / 10px 6px no-repeat;
  color: #173744;
  font: inherit;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  direction: ltr;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.cm-switcher__buttons { display: inline-flex; flex-wrap: wrap; gap: .35rem; }
.cm-switcher .cm-switcher__button,
.cm-country-reset {
  min-height: 34px;
  margin: 0;
  padding: .45rem .75rem;
  border: 1px solid var(--cm-border, #c8d5dc);
  border-radius: 6px;
  background: #fff;
  color: #173744;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
.cm-switcher .cm-switcher__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font-size: 13px;
}
.cm-switcher .cm-switcher__button[aria-pressed="true"] {
  background: var(--cm-accent);
  border-color: var(--cm-accent);
  color: #fff;
}
/* Override theme focus shadows, retaining a thin keyboard-only focus indicator. */
.cm-switcher :is(button, select),
.cm-switcher :is(button, select):focus {
  outline: none !important;
  box-shadow: none !important;
}
.cm-switcher :is(button, select):focus-visible,
.cm-country-reset:focus-visible {
  outline: 1px solid #506c78 !important;
  outline-offset: 2px;
}
.cm-country-content { width: 100%; }
.cm-editor-notice { padding: .75rem; border: 1px solid #c8d5dc; }
.cm-country-status {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
