/* --- CONFIGURACIÓN GENERAL Y CONTENEDOR --- */
main.ley-transparencia {
    margin-top: 100px;
}

/* Aplicar Montserrat a todo el bloque */
.transparency-section, 
.transparency-section *, 
.transparency-section button {
    font-family: 'Montserrat', sans-serif !important;
}

/* --- 1. ESTADO BASE DE LOS TABS (BOTONES) --- */
.nav-pills .nav-link {
    border-radius: 20px;
    color: white !important; /* Letra blanca siempre */
    font-weight: bold;
    margin: 0 5px;
    padding: 15px 30px;
    opacity: 1 !important;
    transition: all 0.3s ease;
    border: none;

    font-size: 18px;
}

/* Colores Cíclicos para Tabs Inactivos */
.nav-pills .nav-item:nth-child(3n+1) .nav-link { background-color: var(--fen-rose) !important; }
.nav-pills .nav-item:nth-child(3n+2) .nav-link { background-color: var(--fen-yellow) !important; }
.nav-pills .nav-item:nth-child(3n+3) .nav-link { background-color: var(--fen-orange) !important; }

/* --- 2. ESTADO ACTIVO (TABS) --- */
.nav-pills .nav-link.active {
    background-color: var(--fen-azul) !important; /* Cambia a azul */
    color: white !important;
    transform: scale(1.1); /* Se agranda */
    z-index: 10;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    opacity: 1 !important;
}

/* --- 3. ESTILOS DE LOS ACORDEONES --- */
.accordion-item {
    border: none;
    margin-bottom: 10px;
    background-color: transparent;
}

.accordion-button {
    font-weight: bold;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: var(--fen-azul) !important; /* Letra azul siempre */
    font-size: 12px;
    transition: all 0.3s ease;
}
/* --- FORZAR MONTSERRAT EN LOS BOTONES DEL ACORDEÓN --- */
.accordion-button {
    font-family: 'Montserrat', sans-serif !important;
}

/* Y por si acaso, para los títulos dentro del acordeón (h2, h5, h6) */
.accordion-header, 
.accordion-header button {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20px;
}

/* Colores de Fondo cuando el acordeón está ABIERTO (not .collapsed) */

/* Fondo 1 (Cereales) - YELLOW */
.tab-content .tab-pane:nth-child(3n+1) .accordion-button:not(.collapsed) {
    background-color: var(--fen-rose) !important;

}
.tab-content .tab-pane:nth-child(3n+1) .accordion-button {
    border-left: 5px solid var(--fen-rose);
}

/* Fondo 2 (Leguminosas) - ROSE */
.tab-content .tab-pane:nth-child(3n+2) .accordion-button:not(.collapsed) {
    background-color: var(--fen-yellow) !important;

}
.tab-content .tab-pane:nth-child(3n+2) .accordion-button {
    border-left: 5px solid var(--fen-yellow);
}

/* Fondo 3 (Soya) - ORANGE */
.tab-content .tab-pane:nth-child(3n+3) .accordion-button:not(.collapsed) {
    background-color: var(--fen-orange) !important;

}
.tab-content .tab-pane:nth-child(3n+3) .accordion-button {
    border-left: 5px solid var(--fen-orange);
}

/* --- 4. CUERPO DEL ACORDEÓN Y LISTAS --- */
.accordion-body {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 10px 10px;
    padding: 20px;
    color: #333;
}

.accordion-body h2, h3, h4{
       font-family: 'Montserrat', sans-serif !important;
    
}

.accordion-body h2{
    font-size: 25px;
    margin-bottom: 40px;   font-weight: 900!important;
}

.accordion-body h3{font-size: 17px;  font-weight:700!important;

}

ul.clean-list {
    list-style-type: disc;
    padding-left: 20px;
}

ul.clean-list li {
    margin-bottom: 8px;
}