/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ===== LOGOS EN MENU (Elementor + Unlimited Elements) ===== */
div#cmplz-document {
    max-width: none !important;
}
/* Base (sirve para escritorio + dropdown Elementor + móvil fullscreen) */
li.menu-logo-livan > a,
li.menu-logo-baic > a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 90px;      /* ajusta tamaño */
  height: 28px;     /* ajusta tamaño */

  padding: 0 !important;
  margin: 0px;

  /* ocultar texto, pero mantener accesibilidad */
  font-size: 0 !important;
  line-height: 0 !important;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Asignar imágenes */
li.menu-logo-livan > a{

	background-image: url("../../uploads/2026/02/livan-logo.png");
}
li.menu-logo-baic > a{
  background-image: url("../../uploads/2026/02/baic-logo-2026.webp");
}

/* Evitar subrayados/efectos típicos de Elementor en estos items */
li.menu-logo-livan > a.elementor-item:before,
li.menu-logo-livan > a.elementor-item:after,
li.menu-logo-baic > a.elementor-item:before,
li.menu-logo-baic > a.elementor-item:after{
  display: none !important;
}

/* Si quieres que en móvil (fullscreen) queden más grandes */
@media (max-width: 1024px){
  ul.uc-list-menu li.menu-logo-livan > a,
  ul.uc-list-menu li.menu-logo-baic > a{
    width: 140px;
    height: 40px;
    margin: 10px 0;
  }
}
/* transición suave */
li.menu-logo-livan > a,
li.menu-logo-baic > a{
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}

/* hover + teclado */
li.menu-logo-livan > a:hover,
li.menu-logo-livan > a:focus-visible,
li.menu-logo-baic > a:hover,
li.menu-logo-baic > a:focus-visible{
  opacity: .85;
  transform: scale(1.06);
  filter: brightness(1.08);
}



li.menu-item a {
    font-weight: 500 !important;
}











img.swiper-slide-image {
    max-height: 500px;
    object-fit: cover;
    width: 100% !important;
}
ul.lista-vehiculo {
    list-style: disc;
  
    column-count: 2;
    column-gap: 2.4rem;
}

ul.lista-vehiculo > li{
  break-inside: avoid;      /* evita que un li se parta entre columnas */
  -webkit-column-break-inside: avoid;
  margin: 0 0 .6rem 0;      /* ajusta el espacio entre items */
}

@media (max-width: 768px){
  ul.lista-vehiculo{
    column-count: 1;
  }
}



.equip-toggle{ position:relative; }

.equip-toggle__check{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

/* bloque cerrado */
.equip-toggle__content{
  max-height:240px;
  overflow:hidden;
  position:relative;
  padding-bottom:3rem; /* hueco para el botón */
  transition:max-height .35s ease;
}

/* degradado opcional */
.equip-toggle__content:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:56px;
  background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  opacity:1;
  transition:opacity .25s ease;
  pointer-events:none;
}

/* botón abajo derecha */
.equip-toggle__btn {
    position: absolute;
    right: 0;
    bottom: -2.5rem;
    cursor: pointer;
    text-decoration: underline;
    padding: .25rem .5rem;
    background: rgba(255,255,255,.9);
    border-radius: .25rem;
   
}

/* abrir (NO uses max-height:none si quieres animación) */
.equip-toggle__check:checked + .equip-toggle__content{
  max-height:2000px;  /* pon un valor grande que cubra tu lista */
  padding-bottom:0;
}
.equip-toggle__check:checked + .equip-toggle__content:after{
  opacity:0;
}

/* cambiar “Leer más” por “Leer menos” (selector robusto) */
/* por defecto */
.equip-toggle__less{ display:none; }
.equip-toggle__more{ display:inline; }

.equip-toggle:has(.equip-toggle__check:checked) .equip-toggle__more{ display:none; }
.equip-toggle:has(.equip-toggle__check:checked) .equip-toggle__less{ display:inline; }
/* FIX Elementor: forzar cambio de texto */
.equip-toggle .equip-toggle__btn .equip-toggle__more{ display:inline !important; }
.equip-toggle .equip-toggle__btn .equip-toggle__less{ display:none !important; }

.equip-toggle:has(.equip-toggle__check:checked) .equip-toggle__btn .equip-toggle__more{ display:none !important; }
.equip-toggle:has(.equip-toggle__check:checked) .equip-toggle__btn .equip-toggle__less{ display:inline !important; }

.e-n-tabs-content strong {
    display: block;
}
.bucle-home .elementor-widget-theme-post-excerpt .ficha-linea{
  margin: 0 0 8px;
}

.bucle-home .elementor-widget-theme-post-excerpt .ficha-linea strong{
  display: inline-block;
  min-width: 140px;
}
.bucle-home .elementor-widget-image a {
    width: 100%;
}