/* The new locale routes use compact text flags so the menu works without
   downloading another flag pack. Existing site styles provide the menu shell. */
.head-tool-map-on li a.flex {
  display: flex;
  align-items: center;
  min-width: 86px;
  box-sizing: border-box;
}

.locale-menu-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 20px;
  margin-right: 10px;
  color: transparent;
  font-size: 0;
  line-height: 1;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .55);
  box-sizing: border-box;
  background-color: #444;
  background-size: 100% 100%;
}

.locale-de { background: linear-gradient(#1b1b1b 0 33.33%, #d00 33.33% 66.66%, #ffce00 66.66%); }
.locale-fr { background: linear-gradient(90deg, #1d3f91 0 33.33%, #fff 33.33% 66.66%, #ed2939 66.66%); }
.locale-es { background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.locale-it { background: linear-gradient(90deg, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66%); }
.locale-pt { background: linear-gradient(90deg, #046a38 0 42%, #da291c 42%); }
.locale-pl { background: linear-gradient(#fff 0 50%, #dc143c 50%); }
.locale-tr {
  background:
    radial-gradient(circle at 18px 10px, #fff 0 6px, transparent 6.4px),
    radial-gradient(circle at 21px 10px, #e30a17 0 5px, transparent 5.4px),
    #e30a17;
}
.locale-tr::after {
  content: '★';
  position: absolute;
  left: 25px;
  top: 2px;
  color: #fff;
  font-size: 10px;
  line-height: 14px;
}
.locale-ru { background: linear-gradient(#fff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66%); }
.locale-en { background: linear-gradient(90deg, #012169 0 33%, #fff 33% 66%, #c8102e 66%); }
