/* 
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 */


h2
{
	
    font-family: "Quicksand", Sans-serif;
    font-size: 25px;
    font-weight: 600;
    text-transform: uppercase;
    color: #004080;

}

h3
{
	font-family: "Quicksand", Sans-serif;
    font-size: 23px;
    font-weight: 600;
    color: #000000;
}

h4
{
	font-family: "Quicksand", Sans-serif;
    font-size: 20px;
    font-weight: 600;

}


/* --- B. MANZANERO Estilos para Shortcode [cpt_categories_modern taxonomy="categorias-de-opciones"] --- */

/* Contenedor principal de la lista */
.cpt-modern-categories {
    list-style: none;
    padding-left: 0;
}

/* Estilo general para todos los elementos de la lista */
.cpt-modern-categories li {
    position: relative;
    padding-left: 20px; /* Espacio para las líneas guía */
    margin-bottom: 8px;
}

/* Líneas guía verticales para la jerarquía*/
.cpt-modern-categories li::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 4px;
    width: 1px;
    height: 100%;
    background-color: #8d8c8c;
} 

/* Líneas guía horizontales */
.cpt-modern-categories li::after {
    content: '';
    position: absolute;
    top: 13px;
    left: 5px;
    width: 10px;
    height: 1px;
    background-color: #8d8c8c;
}

/* Ocultar la línea vertical del primer elemento padre */
.cpt-modern-categories > li::before {
    display: none;
}

/* Estilo para los nombres de las categorías (enlaces y spans) */
.cpt-modern-categories a,
.cpt-modern-categories span {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 14px; /* Tamaño de fuente base */
    color: #333;
    text-decoration: none;
}

/* ESTILO PARA CATEGORÍAS PADRE */
.cpt-modern-categories > li > a,
.cpt-modern-categories > li > span {
    font-weight: 600; /* Negrita para destacar */
    font-size: 15px;  /* Ligeramente más grande */
    color: #004080;   /* Color distintivo para padres */

}

/* Estilo para categorías con enlace al pasar el ratón */
.cpt-modern-categories a:hover {
    background-color: #f0f0f0;
    color: #000;
}

/* Estilo para categorías vacías (sin enlace) */
.cpt-modern-categories span {
    color: #888; /* Color gris para indicar inactividad */
    cursor: default;
}

/* Contenedor de las subcategorías */
.cpt-modern-categories ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}
