.post-lang-switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  max-width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(60, 72, 88, 0.12);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.post-lang-switch__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--font-color);
  white-space: nowrap;
}

.post-lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.25rem;
  padding: 0.48rem 1rem;
  border: 1px solid rgba(38, 103, 216, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #2667d8, #5d8eff);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(38, 103, 216, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.post-lang-switch__link:hover {
  color: #fff !important;
  transform: translateY(-1px);
  filter: saturate(1.02);
  box-shadow: 0 12px 24px rgba(38, 103, 216, 0.28);
}

[data-theme='dark'] .post-lang-switch {
  background: rgba(20, 24, 31, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.28);
}

@media (max-width: 768px) {
  .post-lang-switch {
    display: flex;
    border-radius: 22px;
  }

  .post-lang-switch__link {
    width: 100%;
  }
}
