@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

.lang-drop {
  display: inline-flex;
  align-items: stretch;
  position: relative;
  border-left: 1px solid rgba(255,255,255,0.06);
}

.lang-drop > a.iconews {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  height: 32px;
  text-decoration: none;
  transition: background 0.15s ease;
  background: transparent;
}

.lang-drop > a.iconews:hover {
  background: rgba(255,255,255,0.04);
  text-decoration: none;
}

.lang-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.15s ease;
  display: block;
}

.lang-drop > a.iconews:hover .lang-flag {
  opacity: 1;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 32px;
  right: 0;
  z-index: 9999;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid #c8141e;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.7);
  min-width: 260px;
  overflow: hidden;
}

.lang-menu.open {
  display: block;
}

.lang-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #0c0c0c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lang-title {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.3);
}

.lang-active {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: #c8141e;
  padding: 2px 8px;
  border-radius: 3px;
}

.lang-menu ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #111111;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.lang-menu ul li {
  margin: 0;
  padding: 0;
}

.lang-menu ul li a {
  display: block;
  padding: 7px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.12s ease, background 0.12s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-menu ul li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
  text-decoration: none;
}