/* ===============================
MENU PRINCIPAL - by Josekus
================================ */

/* ===== TRANSICIÓN GLOBAL ===== */
header[data-elementor-type="header"] > div {
    transition: all 0.6s ease !important;
}



/* ===== Estado CON SCROLL - Glassmorphism + Acento ===== */
.header-scrolled header[data-elementor-type="header"] > div {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.4),
        0 -2px 0 rgba(0, 212, 255, 0.3) inset !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3) !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    width: 100%;
}



/* Logo más pequeño al hacer scroll */
.header-scrolled header .xhelos-logo img {
      width: 80px !important;
      transition: width 0.7s ease !important;
}

/* Botones de iniciar sesión/crear cuenta */
.header-scrolled header .elementor-button {
    background-color: rgba(0, 212, 255, 0.15) !important;
    border: 1px solid rgba(0, 212, 255, 0.4) !important;
    color: #ffffff !important;
}

.header-scrolled header .elementor-button:hover {
    background-color: rgba(0, 212, 255, 0.25) !important;
    border-color: rgba(0, 212, 255, 0.6) !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3) !important;
}

@media screen and (max-width:1024px)
{
    .header-scrolled header .elementor-nav-menu__container.elementor-nav-menu--dropdown{
        top: 16px !important;
    }
}


/* ===============================
BLOG LISTING - by Josekus
================================ */
/* Grid básico */
.blog-equal-height .jet-listing-grid__items {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 1fr !important;
    gap: 20px !important;
}

@media (max-width: 1024px) {
    .blog-equal-height .jet-listing-grid__items {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .blog-equal-height .jet-listing-grid__items {
        grid-template-columns: 1fr !important;
    }
}

/* Todo dentro es flex y altura completa */
.blog-equal-height .jet-listing-grid__item,
.blog-equal-height .jet-listing-grid__item > *,
.blog-equal-height .jet-listing-grid__item > * > * {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: auto !important;
}

/* Resetear alturas mínimas de Elementor */
.blog-equal-height div[data-element_type] {
    min-height: auto !important;
}



/* ===== GRID DE 2 COLUMNAS CON ALTURAS IGUALES ===== */

/* Definir el grid con 2 columnas y altura uniforme */
.blog-2column-equal-height .jet-listing-grid__items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 1fr !important;
    gap: 20px !important;
    align-items: stretch !important;
}

/* Responsive - 1 columna en tablet y móvil */
@media (max-width: 768px) {
    .blog-2column-equal-height .jet-listing-grid__items {
        grid-template-columns: 1fr !important;
    }
}

/* Cada item del grid */
.blog-2column-equal-height .jet-listing-grid__item {
    display: flex !important;
    height: 100% !important;
}

/* El enlace o div directo hijo */
.blog-2column-equal-height .jet-listing-grid__item > a,
.blog-2column-equal-height .jet-listing-grid__item > div {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: auto !important;
}

/* Resetear alturas mínimas de Elementor */
.blog-2column-equal-height [data-element_type="container"] {
    min-height: auto !important;
    height: auto !important;
}


/* ===== TÍTULOS CON MÁXIMO 3 LÍNEAS ===== */

/* Para los títulos h3 dentro de las tarjetas del blog */
.blog-equal-height .elementor-heading-title,
.blog-2column-equal-height .elementor-heading-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important; /* Ajusta según tu diseño */
}


/* Títulos - 3 líneas */
.blog-equal-height .elementor-heading-title,
.blog-2column-equal-height .elementor-heading-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Descripciones - 3 líneas también */
.blog-equal-height .elementor-text-editor,
.blog-2column-equal-height .elementor-text-editor {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}



/* ===== HOVER PARA TARJETAS DEL BLOG ===== */
/* Estado normal */
.blog-equal-height .jet-listing-grid__item > div > a,
.blog-2column-equal-height .jet-listing-grid__item > div > a {
    background: #06101CEE !important;
    border: 1px solid black !important;
    transition: all 0.35s ease !important;
}

/* Hover - sutil pero impactante */
.blog-equal-height .jet-listing-grid__item > div > a:hover,
.blog-2column-equal-height .jet-listing-grid__item > div > a:hover {
    background: #0b1a2e !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(0, 212, 255, 0.1) !important;
    /*transform: translateY(-3px) !important;*/
}

/* Suavizar el movimiento del contenido interno */
.blog-equal-height .jet-listing-grid__item > div > a *,
.blog-2column-equal-height .jet-listing-grid__item > div > a * {
    transition: all 0.35s ease !important;
}



/* ===== PAGINADOR - ESTILOS BASE ===== */

/* Botones del paginador */
.paginador .jet-filters-pagination__item {
    background: #06101CEE !important;
    border: 1px solid black !important;
    transition: all 0.35s ease !important;
    border-radius: 4px !important; /* Opcional: esquinas redondeadas */
    cursor: pointer !important;
}

/* Hover en los botones */
.paginador .jet-filters-pagination__item:hover {
    background: #0b1a2e !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(0, 212, 255, 0.1) !important;
    /*transform: translateY(-3px) !important;*/
}

/* Página actual (activa) - estilo diferente */
.paginador .jet-filters-pagination__item.jet-filters-pagination__current {
    background: rgba(0, 212, 255, 0.2) !important;
    border-color: rgba(0, 212, 255, 0.6) !important;
    box-shadow: 
        0 4px 15px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(0, 212, 255, 0.3) !important;
}

/* Hover en página actual - efecto más sutil */
.paginador .jet-filters-pagination__item.jet-filters-pagination__current:hover {
    background: rgba(0, 212, 255, 0.3) !important;
    border-color: rgba(0, 212, 255, 0.8) !important;
    /*transform: translateY(-2px) !important;*/
}

/* Texto dentro del botón */
.paginador .jet-filters-pagination__link {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

/* Texto en hover más brillante */
.paginador .jet-filters-pagination__item:hover .jet-filters-pagination__link {
    color: #00d4ff !important;
}


/* ===== BOTON CTA ===== */
/* Botón base mejorado */
/* Estado base con brillo constante */
#bigcta {
  background: linear-gradient(135deg, #00FFDB 0%, #5EFF00 100%) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  animation: breathing 2s ease-in-out infinite !important;
}

/* Animación de respiración sutil */
@keyframes breathing {
    0%, 100% {
        box-shadow: 
            0 0 25px rgba(68, 250, 89, 0.6),
            0 0 50px rgba(68, 250, 89, 0.4),
            0 5px 20px rgba(0, 0, 0, 0.3),
            inset 0 1px 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(68, 250, 89, 0.8),
            0 0 70px rgba(68, 250, 89, 0.6),
            0 5px 20px rgba(0, 0, 0, 0.3),
            inset 0 1px 15px rgba(255, 255, 255, 0.3);
    }
}

/* Hover explosivo */
#bigcta:hover {
    background: linear-gradient(135deg, #5FFF75 0%, #44FA59 100%) !important;
    border-color: #70FF86 !important;
    box-shadow: 
        0 0 40px rgba(68, 250, 89, 1),
        0 0 80px rgba(68, 250, 89, 0.8),
        0 0 120px rgba(68, 250, 89, 0.6),
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-8px) scale(1.05) !important;
    filter: brightness(1.3) saturate(1.2) !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1) !important;
    animation: none !important;
}

/* Icono animado en hover */
#bigcta:hover svg {
    animation: shake 0.5s ease-in-out !important;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)) !important;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/*MENU*/
.gt-lang-code{
    font-size:24px !important;
}


/*BODY FIX*/
  body {
    background-attachment: unset !important;
  }
  
  ul.uc-breadcrumbs-list.default {
    display: none !important;
}



/* ===== BLOG CONTAINER ===== */
.blogcontainer h1,
.blogcontainer h2,
.blogcontainer h3,
.blogcontainer h4,
.blogcontainer h5{
    color:white !important;
}