/* Forerunner Labs FR | EN switcher, just left of the sun/moon toggle (forerunner-theme.css).
   Same breakpoint as the toggle: desktop variant above 980 px, mobile variant at 980 px and below. */
.fr-lang{display:inline-flex;align-items:center;flex:none;margin:0;padding:0;font-family:"IBM Plex Mono",monospace;font-size:12px;font-weight:500;line-height:1;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
.fr-lang__item{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:40px;padding:0 4px;color:#8A8A8A;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:color .3s ease;}
a.fr-lang__item:hover{color:#FFFFFF;}
.fr-lang__item.is-current{color:#F2F2F2;cursor:default;}
.fr-lang__item:focus{outline:none;}
.fr-lang__item:focus-visible{outline:1px dashed currentColor;outline-offset:-6px;}
.fr-lang__sep{padding:0 1px;color:#4A4A4A;}
.fr-lang--desk{margin-right:-11px;}
.fr-lang--mob{display:none;}
@media (min-width:981px){
  /* The CONTACT column (switcher + toggle + CONTACT) never gets narrower than its content,
     otherwise it spills left over the menu on narrow desktops. */
  #fr-header > .et_pb_row > .et_pb_column_2_tb_header{min-width:max-content;}
}
@media (min-width:981px) and (max-width:1150px){
  /* Narrow desktops: menu entries tighten from 13.5px to 7px so the logo keeps its size. */
  #fr-header .et_pb_menu .et-menu > li{padding-left:clamp(7px,calc(7px + (100vw - 981px) * .0385),13.5px);padding-right:clamp(7px,calc(7px + (100vw - 981px) * .0385),13.5px);}
}
@media (max-width:980px){
  .fr-lang--desk{display:none;}
  /* 28px layout box like the mobile toggle, so the header panel keeps its height */
  .fr-lang--mob{display:inline-flex;align-self:center;margin:-6px 0 -6px 0;}
  .fr-lang--mob .fr-lang__item{height:40px;padding:0 3px;}
  /* switcher, toggle and burger always share one line */
  #fr-header .et_pb_menu .et_pb_menu__wrap{flex-wrap:nowrap;}
}
@media (max-width:767px){
  /* Phone: the menu column (8/24 by default) takes its content width and the logo column the
     rest, with a tighter gap, so the logo keeps its 210px at 390px wide. */
  #fr-header > .et_pb_row{column-gap:8px;--horizontal-gap:8px;}
  #fr-header > .et_pb_row > .et_pb_column_1_tb_header{width:auto!important;max-width:none;}
  /* EN sits over the toggle's empty left padding (the sun icon is 20px in a 40px box) */
  .fr-lang--mob{position:relative;z-index:1;margin-right:-5px;font-size:11px;}
  .fr-lang--mob .fr-lang__item{padding:0 2px;}
  .fr-lang--mob .fr-lang__sep{padding:0;}
}

/* Light mode */
html[data-theme="light"] .fr-lang__item{color:#6A6A70;}
html[data-theme="light"] a.fr-lang__item:hover{color:#000000;}
html[data-theme="light"] .fr-lang__item.is-current{color:#0B0B0B;}
html[data-theme="light"] .fr-lang__sep{color:#C4C4BE;}
