/* .trp-language-switcher .trp-ls-shortcode-current-language{
    width: 100px !important;
}

.trp-language-switcher:hover .trp-ls-shortcode-language{
    width: 80px !important;
    height: 110px !important;
} */

/* Ajusta el contenedor del botón actual */
.trp-ls-shortcode-current-language {
  min-width: 30px !important;  /* fuerza tamaño mínimo */
  width: 30px !important;      /* fuerza ancho fijo */
  height: 30px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  background-image: none;
}

.trp-language-switcher{
  height: 34px !important;
}

/* Ajusta el enlace que contiene la bandera */
.trp-ls-shortcode-current-language a {
  display: block;
  width: 40px !important;
  height: 30px !important;
  padding: 0px 0px !important;
}

/* Haz la imagen redonda y ajusta su tamaño */
.trp-ls-shortcode-current-language img {
  width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  object-fit: cover;
}

/* Opcional: efecto hover */
.trp-ls-shortcode-current-language:hover img {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.trp-language-switcher:hover .trp-ls-shortcode-language {
    width: 160px !important;
    border-radius: 7px;
    transform: translateY(35px) translateX(-130px);
    border: none;
    z-index: 10;
}


/* imagenes */
.trp-language-switcher > div > a > img{
    width: 100%;
    max-width: 20px;
    height: 20px;
    /* max-height: 20px; */
    object-fit: cover;
    border-radius: 50%;
}

.trp-ls-shortcode-current-language > a:first-child {
  color: transparent;
  padding: 0px 0px !important;
}

.trp-ls-shortcode-current-language > a:first-child img{
    width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    max-height: 30px !important;
    pointer-events: none;
}

.trp-ls-shortcode-current-language > a:first-child img{
  visibility: visible !important;
}

.trp-language-switcher > div{
  background-image: none;
}

.trp-language-switcher > div > a{
  padding: 7px 5px;
}

@media (max-width: 1023px){
  .trp-language-switcher{
    width: 50px;
    display: flex;
    align-items: center;
    height: 35px !important;
  }
  .trp-language-switcher:hover .trp-ls-shortcode-language{
    transform: translateY(35px) translateX(-130px);
  }
}
