/*
Theme Name: Mi Tema Child
Template: astra
Version: 1.0
*/


@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

body {
    background-color: #f3f4f6 !important;
}

.ast-primary-header-bar {
    background-color: #ffffff !important;
    border-bottom: none !important;
    /* Sombra elegante solo en la parte inferior */
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.15) !important;
    padding: 15px 0 !important;
}

/* 2. ESTILO DE BOTONES DE NAVEGACIÓN (Items Principales) */
#ast-hf-menu-1 > .menu-item > .menu-link {
    background-color: #ffffff !important; /* Fondo blanco para igualar el logo */
    color: #1e293b !important;           /* Texto gris oscuro profesional */
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 10px !important;
    margin: 3px !important;
    border-radius: 8px !important;        /* Bordes redondeados modernos */
    transition: all 0.3s ease !important;
    border: 1px solid #f1f5f9 !important; /* Borde sutil para definir el botón */
    /* Sombra suave inferior en cada botón */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

/* 3. EFECTO AL PASAR EL MOUSE (Hover) */
#ast-hf-menu-1 > .menu-item:hover > .menu-link {
    background-color: #ffffff !important;
    color: #6366f1 !important;           /* Cambia el texto a violeta moderno */
    transform: translateY(-3px);          /* El botón "salta" hacia arriba */
    border-color: #6366f1 !important;     /* El borde se ilumina */
    /* Sombra más profunda al hover */
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2) !important;
}

/* 4. ESTILO PARA LOS SUBMENÚS (Dropdowns) */
.sub-menu {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 10px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
    margin-top: 15px !important;
}

.sub-menu .menu-link {
    padding: 10px 15px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.sub-menu .menu-item:hover > .menu-link {
    background-color: #f8fafc !important; /* Fondo gris muy claro al pasar el mouse */
    padding-left: 20px !important;        /* Desplazamiento sutil a la derecha */
    color: #6366f1 !important;
}

/* 5. ICONOS DE FLECHA */
.ast-header-navigation-arrow {
    margin-left: 8px !important;
}

.ast-arrow-svg {
    fill: #94a3b8 !important; /* Color neutro para las flechas */
    width: 10px !important;
}

/* 6. AJUSTE DEL LOGO */
.site-logo-img img {
    transition: transform 0.3s ease;
}

.site-logo-img:hover img {
    transform: scale(1.05); /* El logo crece un poquito al tocarlo */
}

/* --- FOOTER PROFESIONAL CADENA DE VOCES --- */

/* 1. CONTENEDOR PRINCIPAL DEL FOOTER */
.site-below-footer-inner-wrap {
    background-color: #0f172a !important; /* Azul noche profundo y elegante */
    padding: 40px 0 !important;           /* Más espacio para que respire */
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Línea divisoria casi invisible */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. ESTILO DEL TEXTO (COPYRIGHT) */
.ast-footer-copyright, 
.ast-footer-copyright p {
    color: #94a3b8 !important;            /* Gris azulado suave (fácil de leer) */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.8px !important;     /* Espaciado entre letras moderno */
    text-transform: uppercase;            /* Todo en mayúsculas para un look premium */
    margin: 0 !important;
    text-align: center;
}

/* 3. ENLACES DEL FOOTER (CRÉDITOS) */
.ast-footer-copyright a {
    color: #6366f1 !important;            /* Violeta eléctrico para el enlace */
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative;
    padding-bottom: 2px;
}

/* Línea decorativa bajo el enlace */
.ast-footer-copyright a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #6366f1;
    transition: width 0.3s ease;
}

.ast-footer-copyright a:hover {
    color: #ffffff !important;            /* El enlace brilla al pasar el mouse */
}

.ast-footer-copyright a:hover::after {
    width: 100%;                          /* La línea se expande suavemente */
}

/* 4. SOMBRA INFERIOR (Opcional: Si quieres que el footer se sienta profundo) */
.ast-builder-footer-grid-columns {
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 5. SEPARADOR VISUAL PARA EL NOMBRE DE LA MARCA */
.ast-footer-copyright p::before {
    content: "—";
    margin-right: 15px;
    color: #334155;
}

.ast-footer-copyright p::after {
    content: "—";
    margin-left: 15px;
    color: #334155;
}

.site-below-footer-wrap {
    padding: 0;
}

.ast-builder-grid-row-container-inner {
    background-color: #f3f4f6;
    border: none;
}

























/* === TARJETA ELEGANTE PARA POSTS BLOG === */

.ast-article-inner {
    background: #ffffff !important;
    padding: 35px !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
    margin-bottom: 40px !important;
}

/* Hover elegante */
.ast-article-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12) !important;
}

/* Categoría */
.ast-taxonomy-container a {
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

/* Título */
.entry-title a {
    color: #0f172a !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}

.entry-title a:hover {
    color: #1e40af !important;
}

/* Meta información */
.entry-meta {
    color: #64748b !important;
    font-size: 14px !important;
    margin-top: 10px !important;
    margin-bottom: 15px !important;
}

/* Extracto */
.ast-excerpt-container p {
    color: #334155 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin-top: 10px !important;
}

/* Quitar fondo gris global si existe */
.blog-layout-4 {
    background: transparent !important;
}




























/* === FONDO GENERAL DEL CONTENEDOR BLOG === */
.ast-container,
.site-content,
.ast-archive-description,
.blog-layout-4 {
     /* gris muy suave profesional */
    background: #f3f4f6 ;
}

/* === TARJETA BLANCA REAL === */
.blog-layout-4 .ast-article-inner {
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 18px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08) !important;
    border: none !important;
}

/* Separación entre tarjetas */
.blog-layout-4 article {
    margin-bottom: 50px !important;
}

/* Título más elegante */
.entry-title a {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

/* Texto profesional */
.ast-excerpt-container p {
    color: #475569 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

.ast-primary-header-bar .site-primary-header-wrap {
    min-height: 30px;
    background: white;
}

.ast-separate-container .ast-blog-layout-4-grid .ast-article-inner {
     height: auto !important; 
}


/* DE LA PAGINA DE INICIO*/

.elementor-56 .elementor-element.elementor-element-22ee375 {
    --display: flex;
    margin-top: 40px;
}

.site-title a {
    color: #170c19 !important;
}

h1 {
        font-size: xxx-large !important;
}

h2 {
        font-size: xx-large !important;
}